Showing posts with label Other. Show all posts
Showing posts with label Other. Show all posts

Thursday, October 22, 2015

Different encoding systems for "Hello" example:


ANSI
48 65 6C 6C 6F

Unicode (little-endian) encoding with no BOM.
48 00 65 00 6C 00 6C 00 6F 00

Unicode (little-endian) encoding with BOM
FF FE 48 00 65 00 6C 00 6C 00 6F 00

Unicode (big-endian) encoding with no BOM
00 48 00 65 00 6C 00 6C 00 6F

Unicode (big-endian) encoding with BOM
FE FF 00 48 00 65 00 6C 00 6C 00 6F

UTF-8 encoding
EF BB BF 48 65 6C 6C 6F

UTF-7 encoding
2B 2F 76 38 2D 48 65 6C 6C 6F



Reference:
http://blogs.msdn.com/b/oldnewthing/archive/2004/03/24/95235.aspx

Monday, September 21, 2015

bitbucket

Free for small teams + Unlimited private repositories
https://bitbucket.org/

Tuesday, August 4, 2015

How to solve log4net not writing into database problem

log4net not writing into database problem
Turn on debug, no problem found. At last, change bufferSize from 400 to 1
<bufferSize value="1" />
Everything is working fine.


References:
http://stackoverflow.com/questions/756125/how-to-track-down-log4net-problems

Monday, July 27, 2015

Secondary skills for software engineers

Secondary skills for software engineers
http://radek.io/2015/07/27/secondary-skills-for-software-engineers/

What are the most important skills?
1. Language(s)
2. Problem
3. Naming
4. Communication
??

Monday, June 15, 2015

Long sentence


http://yarchive.net/blog/long_sentences.html

Long sentence =>
complicated sentence =>
- Need to remember context
- Not to extend and repeat previsoue idea

Monday, February 23, 2015

How to enable intellisense in Visual Studio after remove reSharper?

My Visual Studio inellisense stopped working after removed ReSharper(ReSharper is so slow).

The solution:
Tools->Options->Text Editor->All Languages->General
Turn off "Auto list members", and "Parameter information"
And turn on again.

Thursday, January 15, 2015

How to solve problem: Installed Windows service by installutil not showing up in MMC services windows

Although installutil tells you everything is fine, the new service will not show up in MMC services windows.
Solution: use sc
sc create servicename binPath= servicebin.exe

Monday, December 22, 2014