Various coding &c. stuff · Sat Nov 19, 12:08 PM
Handy Enhanced DataTips Debugger Tip (VS2005): you can follow a variable declaration with a comment indicating the preferred formatting for the debugger to use to show that variable’s data. Example:
HRESULT result = S_OK; // result,hr
(Courtesy of Jeff Stong.)
Visual Studio 2005 does not officially support developing for Windows 95 or Windows NT 4 (since those are past End of Life, presumably), and there are some things that can break on NT 4. However, there is apparently a workaround for the unavailability of GetLongPathName, to wit:
#define COMPILE_NEWAPIS_STUBS
#define WANT_GETLONGPATHNAME_WRAPPER
#include "NewAPIs.h"
You may need to edit the header file slightly.
Len Holgate has posted some useful-looking tools for measuring TCP/IP server performance.
W L Weller Antique is a very tasty bourbon.
There’s an excellent article called Teach Yourself Programming in Ten Years by Peter Norvig. A quote:
bq. Researchers (Hayes, Bloom) have shown it takes about ten years to develop expertise in any of a wide variety of areas, including chess playing, music composition, painting, piano playing, swimming, tennis, and research in neuropsychology and topology. There appear to be no real shortcuts: even Mozart, who was a musical prodigy at age 4, took 13 more years before he began to produce world-class music.
Len Holgate posted an article on sensible use of TDD, making several good points on using it “in the real world.”
Jason Yip has an interesting post about speaking up when things are wrong. I occasionally discuss with people why I bother taking a stand on issues involving doing the right thing, even if it doesn’t really matter in the particular case, or even if I can’t actually make a difference. This helps explain why I do it.
-- David --
...
Fixed archive by date... Hilarious quote from Aaron Skonnard
Archive by Date
- Administrative (51)
- Art (3)
- Books (14)
- Business (1)
- Clocks (8)
- Dating (1)
- Events (7)
- Flickr (1)
- Fonts (8)
- Human-Nature (1)
- Humor (5)
- Military (4)
- Misc (121)
- Movies (5)
- Music (68)
- OLE-DB (1)
- Poetry (4)
- Quotes (5)
- Relationships (1)
- Security (1)
- Shoes (2)
- Software (115)
- Spirits (11)
- Surveys (1)
- Tequila (6)
- Virtualization (9)
- Web (9)
- Website (20)
- Wood-Related (2)
- Writing (7)

