Monthly Archives: May, 2009

links for 2009-05-31

Mac Buyer's Guide: Know When to Buy Your Mac, iPod or iPhone
This page provides a product summary for each Apple model. The intent is to provide our best recommendations regarding current product cycles, and to provide a summary of currently available rumors for each model.
(tags: geek shopping utilities gadget ipodtouch ipod guide buy)

Lifehacker – Turn [...]

links for 2009-05-30

Paper Craft – Canon CREATIVE PARK
(tags: design diy art fun papercraft paper graphics origami toys craft kids crafts download free papermodels papertoys ideas hobby papel)

links for 2009-05-28

Testing three pan-tilt gimbals – DIY Drones
In my quest for the perfect pan-tilt gimbal assembly for a small UAV, I've made one out of Lego and have some clumsy ones out of aluminum. Most commercial pan-tilt assemblies are made for much larger cameras than the ones we fly, or they're incredibly expensive turrets meant for [...]

internet robot zombies

If you run a website that has a contacts form or any other input from users. sooner or later you will start getting attacked by internet robot zombies.
What is a “internet robot zombies” you ask? Well lets break it up a little bit.
A robot is a program that someone has written, that searches [...]

links for 2009-05-23

Kushaura : Blog : Installing CakePHP in a Subdirectory
I've tried installing CakePHP several times on different web hosts, and on each I usually hit a snag when configuring an installation of cake in a subdirectory. There are several reasons for installing in a subdirectory–the primary being that I want to access certain types of resources [...]

links for 2009-05-14

GigaTweet – Counting the number of twitter messages
(tags: stats tools web2.0 statistics Web fun geek tech)

How to find the text column header of a CListCtrl in MFC

 
How to find the text column header of a CListCtrl in MFC
CString GetColumnName( CListCtrl * list, int nCol ) {     CString strNome;     CHeaderCtrl* pHdr = list->GetHeaderCtrl();     if ( pHdr ) [...]

links for 2009-05-12

snopes.com: Debt Payment in Pennies
This is one of the pieces of Pennies misinformation that makes me wish web sites like this one had been around when I was a kid so I have could pointed my father toward it and told him to shut up already. I can't recall how many times he solemnly intoned [...]

Add/Remove operation is impossible, the code element ‘Cxxx’ is read only

 
When attempting to add a Control Event Handler to a control on a dialog, we are encountering the message: Add/Remove operation is impossible, the code element ‘Cxxx’ is read only.
After an hour of trying to solve it my self, a quick Google search turned up the following solutions.

Add random charters to the .h/.cpp [...]

Dump a CListCtrl

This snippet dumps the content of a CListCtrl in to a file. It also gets the number of columns in the list.  

int GetColumnsCount( CListCtrl * list ) {     if( list != NULL )     { [...]

links for 2009-05-05

What is the best comment in source code you have ever encountered? – Stack Overflow
(tags: humor programming code funny development geek stackoverflow comments fun)

How to create a menu and submenu on right click in MFC

 
void ::OnNMRClickBacnetTree(NMHDR *pNMHDR, LRESULT *pResult) {     CPoint ptScreen;     SendMessage(WM_CONTEXTMENU, (WPARAM) m_hWnd, GetMessagePos() );     if (! GetCursorPos(&ptScreen))     { [...]

links for 2009-05-01

[adult swim] : Music – The Venture Bros. – The Music of JG Thirlwell
(tags: music todo album cartoons)