April 2011
1 post
Apr 5th
2,539 notes
March 2011
1 post
Anonymous asked: sup? why u not post anything anymore?

http://27.media.tumblr.com/tumblr_lbtkif7cBt1qapo92o1_500.jpg ?
Mar 27th
November 2010
10 posts
Listenayapot: Superhuman - Chris Brown ft. Keri Hilson
Nov 15th
6 notes
Nov 13th
Nov 12th
180 notes
Nov 11th
112 notes
Nov 8th
56 notes
2 tags
Why does the Win32 Time service require the date...
Andy points out that if you attempt to synchronize your clock when the date is set incorrectly, the operation fails with the error message “An error occurred while Windows was synchronizing with time.windows.com. For security reasons, Windows cannot synchronize with the server because your date does not match. Please fix the date and try again.” He wonders what the security risk is. ...
Nov 7th
farflungfriend asked: You asked about inserting Wordpress posts into Tumblr... If you click on "Customize" in the Tumblr Dashboard, one of the menus at the top lets you suck in RSS feeds automatically into your Tumblr.
Nov 4th
Nov 3rd
34,340 notes
Nov 2nd
Saying that your case is different doesn't make it...
A customer wanted to do one of those user-hostile things that Windows doesn’t make easy to do (the sort of thing I tend to call out on this Web site). After receiving an explanation that Windows doesn’t provide a way of doing what they want because it abuses the component in question and goes against user expectations, the customer countered, “Yes, we understand that, but our...
Nov 2nd
1 note
October 2010
1 post
Oct 6th
13,758 notes
September 2010
117 posts
Sep 29th
1 note
Sep 27th
316 notes
2 tags
Why not just require each application to declare...
Actually, programs already declare that, sort of. Each module has a subsystem field in the header that specifies the earliest version of Windows the program will run on. There isn’t a corresponding way to declare the maximum version of Windows you want to run on, however, so the manifesty thing could be done there. (There is a new manifesty way of saying what version of Windows you would...
Sep 27th
Sep 25th
9,815 notes
Sep 25th
Magic Number 7
One of the first things I like to do when working a new contract is dive into the code and work my way around to understand it,” Emil wrote, “one line of code that looked like a good start was this.” private ISelecteVariableProperties[] Iselecvariablelst = new ISelecteVariableProperties[ 7 ]; “The ‘7’ didn’t make a lot of sense, but I figured...
Sep 22nd
megglywinks asked: thanks for the follow :) you were my 300th. feel special lol
Sep 21st
Sep 21st
Time together isn't ever quite enough.
When you and I are alone, I’ve never felt so at home.
Sep 21st
Sep 21st
860 notes
Sep 21st
793 notes
Sep 21st
955 notes
Can anybody guess what this is?
(\A([0-9a-f]{1,4}:){1,1}(:[0-9a-f]{1,4}){1,6}\Z)| (\A([0-9a-f]{1,4}:){1,2}(:[0-9a-f]{1,4}){1,5}\Z)| (\A([0-9a-f]{1,4}:){1,3}(:[0-9a-f]{1,4}){1,4}\Z)| (\A([0-9a-f]{1,4}:){1,4}(:[0-9a-f]{1,4}){1,3}\Z)| (\A([0-9a-f]{1,4}:){1,5}(:[0-9a-f]{1,4}){1,2}\Z)| (\A([0-9a-f]{1,4}:){1,6}(:[0-9a-f]{1,4}){1,1}\Z)| (\A(([0-9a-f]{1,4}:){1,7}|:):\Z)| (\A:(:[0-9a-f]{1,4}){1,7}\Z)| (\A((([0-9a-f]{1,4}:){6})(25[0-5]|2[0...
Sep 21st
1 note
“Dear Mr. Vernon, we accept the fact that we had to sacrifice a whole Saturday in...”
– The Breakfast Club (via jonbeckett)
Sep 20th
“// no comments for you // it was hard to write // so it should be hard to read”
– top funny source code comments (via fuckyeahcomputerscience)
Sep 20th
104 notes
3 tags
How do I get the dropped height of a combo box?
By using the deviously-named CB_GETDROPPEDCONTROLRECT message, which the windowsx.h header file wraps inside the ComboBox_GetDroppedControlRect macro. Start with the scratch program and make these changes: BOOL OnCreate(HWND hwnd, LPCREATESTRUCT lpcs) { g_hwndChild = CreateWindow( TEXT("combobox"), NULL, WS_CHILD | WS_VISIBLE | WS_TABSTOP | CBS_DROPDOWN, 0, 0, 500, 500, hwnd,...
Sep 20th
Sep 20th
396 notes
Sep 19th
Sep 19th
Sep 19th
Sep 18th
“APIs are the sex organs of software. Data is the DNA.” If this is true, then...”
– Love, Music & API’s SXSW panel proposal (via david-noel) (via eaviewer)
Sep 17th
6 notes
Sep 16th
5 notes
4 tags
How is the CommandLineToArgvW function intended to...
The CommandLineToArgvW function does some basic command line parsing. A customer reported that it was producing strange results when you passed an empty string as the first parameter: LPWSTR argv = CommandLineToArgvW(L"", &argc); Well, okay, yeah, but huh? The first parameter to CommandLineToArgvW is supposed to be the value returned by GetCommandLineW. That’s the command line, and...
Sep 16th
Sep 16th
6 tags
PHP ArrayAccess
Three new interfaces that PHP 5 has added is those of ArrayAccess, IteratorAggregate and the Countable interface. Combined, these interfaces allow you to manage a PHP object as if it were an array, opening up a world of opportunities. Here is the full code sample: class arrayAccessObject implements ArrayAccess, IteratorAggregate, Countable { /** * Registry Storage * * @access protected *...
Sep 15th
Sep 15th
4,300 notes
Sep 15th
Sep 15th
215 notes
1 tag
How do I create a UNC to an IPv6 address?
Windows UNC notation permits you to use a raw IPv4 address in dotted notation as a server name: For example, net view \\127.0.0.1 will show you the shared resources on the computer whose IP address is 127.0.0.1. But what about IPv6 addresses? IPv6 notation contains colons, which tend to mess up file name parsing since a colon is not a valid character in a path component. Enter the...
Sep 15th
Sep 15th
5,094 notes
Sep 14th
50 notes
Sep 14th
Sep 14th
71 notes
Goodness of Language
La notte scivola sul mondo Che si addormenterà E la luna vestirà d’argento Il mare e le città E tu mi mancherai Più ancora Quanto non lo sai Continuerò a credere che Siamo un’anima, io e te E ti amerò comunque, lo so Anche se non sei con me Io ti amerò Ti porterò con me nel sole Nei sogni che farò Ruberò i colori del mattino E un cielo limpido Su cui dipingerò il tuo viso E sorriderò...
Sep 14th
Sep 14th
Dear Microsoft...
Please take your desktop heap allocation failure and shove it where the sun does not shine.
Sep 14th