Skip to main content

Posts

Showing posts from August, 2006

I learned something new!

I learned something new today. It is extremely rare for me to learn something that I either don't completely know already or have a general idea about. Today I received a HP LaserJet 1020 black&white laser printer. I did my homework on this printer in advance of getting it and so far it is everything I've read about. I've generally been dismayed with printers, mostly because they are inkjets and modern inkjets take forever and a day to warm up the ink to print the first page. My favorite inkjet was the HP DeskJet 500. If you ever wanted a rock-solid printer, that thing simply refused to die. A good, solid piece of engineering. The only reason we got rid of it was because no one carried ink cartridges for it 10 years after HP stopped making them. Until today, I've never actually owned a printer. Fixed plenty of other people's printer problems and used their printers to print stuff off. You'd be surprised what people will let you mooch :) I'm probably the

esnips.com: We ruin Google search results!

First, visit here: http://www.esnips.com/web/MyCPrograms And view the source code to the two programs that were uploaded by the creator Parul Goyal - or is it Goyal Parul? Whoever it is, they clearly don't know how to write code. Everyone who doesn't know how to write code should not be allowed to post their source code to any place but private, unsearchable forums until they get halfway decent. That way, people like me aren't annoyed. I suspect that websites such as these are the reason MSDN Library search results are dropping off the map. The first program (reversing a string) simply doesn't work. Well, it displays a string in reverse, but it doesn't actually reverse it. If he gets hired by Cisco, be afraid...very afraid. Here's how I would reverse a string: 1) Not use C. C is such a weak language. I would use C++ instead. 2) Not use C++'s basic stuff. ANSI Standard C++ is such a weak language. I would use Safe C++ instead. 3) To reverse a s