Sweet Child of Mine
Why I love to be a nerd
I love my "nerdy" condition, because I can find this example in a Node.JS lib and laugh:
sdb.createDomain('domain',function(err,res,meta){
if( !err ) {
console.log('Mul-ti-pass!')
}
}Taking a Dump
I'm still laughing after reading this:
Vince the PM burst into Rick's office like a blister. "Have you replied to ticket 178843 yet? No? Why not? How could you not! This is urgent! It's a failure at the customer site!"
Rick calmly checked the ticket manager. The ticket had arrived only 45 seconds ago, so no, he had not replied to the ticket yet. Rick calmly and silently read the ticket while Vince hyperventilated over his shoulder. The customer reported that the database client failed with the error "Segmentation Fault - Core Dumped".
"Someone probably screwed up a decimal point," Rick said. "It's always some little thing like that. I'll have them email me the core file so I can tell where the application crashed."
"We can't do that," Vince said.
"Sure we can," Rick said. In small words, he began to explain how
adband the symbol file would let him interpret the core dump, but Vince cut him off."Don't treat me like an idiot," Vince said. "I was reading cores before you were in diapers. But that core is a binary file."
There was a long gap in the conversation as Vince was sure his point was clear, and Rick was sure that Vince had no intention of actually making sense. With a huff, Vince warned, "We might get a virus from a binary file!"
Rick rolled his eyes and explained why this was an extremely unlikely possibility. For a half hour, each one of his attempts seemed only to make Vince dumber. "You cannot have them send us a binary file through email!"
"Fine," Rick said. "We can have them take a hex dump of the core file, and send that. I can convert it back and extract the data-"
"Data? We can't have them send us data!" Vince shrieked. He gave Rick a deep look of betrayal, as if to accuse Rick of wanting their network to get destroyed. "We could get-"
"-a virus?" Rick finished. "No, we won't."
Vince was having none of it. Rick, obviously, did not have the faintest idea how network security worked. "You really need to read more trade magazines," Vince said.
Rick focused instead on proposing new ideas. FTP? Virus. SFTP? HTTP Upload? Morse code? Virus. Overnight the file on a thumb drive? Too slow and still, virus.
"Look, we don't have time for all these foolish ideas," Vince said. "Just have them fax it to us. They can take that hex dump, print it out, and fax it to us. We'll use the interns to type it back in, and then you can load it up in the debugger, and then there's no way we could possibly catch a virus. Call the customer and tell them to do that."
The fact that Vince left the conversation with his skull still attached to his neck was either a testament to Rick's restraint or Vince's exceedingly high dodge bonus to armor class. Rick called the customer, and over the sound of his teeth grinding together, he explained the situation.
There was an extremely long pause at the other end of the line. Eventually the customer said, "You work for a group of morons."
"The customer is always right," Rick said, "but I'm still going to need you to fax that over."
They used enough paper to deforest a small South American country. The first few faxes didn't come across as fully legible. Then one of the interns dropped the stack of un-numbered pages. After getting the pages distributed the interns miskeyed a few characters. A careful page-by-page check found all of the mistakes, and Rick was finally able to use the debugger to analyze the core file. The problem was an unitialized variable.
Source: http://thedailywtf.com/Articles/Taking-a-Dump.aspx
How physicists think
Sent by my friend Nelson, a real Skype chat log (translated from Portuguese):
[14:47:23] Physicist 1: how long it takes to 380 mls of water go from 22ºC to 90 in my eletrolux microwave oven?
[14:47:28] Physicist 1: you, as physicist
[14:47:42] Physicist 1: lol
[14:47:43] Physicist 2: depends if it's a tall glass or a bowl
[14:48:07] Physicist 1: godfather mug
[14:48:10] Physicist 2: and also depends on the material of the recipient
[14:48:19] Physicist 1: with a picture of dom corleone
[14:48:28] Physicist 1: ohh
[14:48:35] Physicist 1: there's a red rose on the lapel
[14:50:23] Physicist 2: marlon brando or de niro?
Why Goggle isn’t perfect
Considering Google's age, I thought it should be hard to find bugs. I was wrong. Check this screen:
I was trying to remember 102.11b/g frequency. Googling it, nothing useful appeared. Searching "102.11b/g wiki" dropped "102.11" and "b/g" got "Bee Gees". Wow. And, the "show more results from wikipedia.org", when clicked shows... Nothing! Nice.
Webdesign is now simpler
Back in 1999, I worked as a webdesigner, and the job was hard. Dreamweaver helped a lot, but Netscape and IE made my work impossible with their little market share war. It was an impossible mission to create a site compatible with both browsers. Solution usually was an "IE-only" icon.
In 2004, as a junior programmer, the HTML-compatibility problem morphed into JS/CSS-compatibility. No more ugly "blinks" or "marquees", but IE, Mozilla and the brand-new Firefox still didn't match.
Now, with Safari, Opera, Chrome, Firefox, IE and dozens of minor browsers, I could feel like Dante myself, but thanks God because "compliance is law" now. After twelve f***ing years, I only need a couple of workaround to achieve full cross-browser compliance using a Zen-like technique!
Together with Wicket and JS frameworks (jQuery), it got really easy to make a Java website in my spare time!
iPad 2 – My opinion
I bought an iPad 2 couple weeks ago and I'm really enjoying it. All my basic Internet needs are fulfilled by it. Not all iOS applications are designed for iPad, but some of them are really cool, with more details when you run them on iPad.
I'm deleting my daily spam and playing OGame on it, among other things. It's integrated with my iPod Touch and my MacBook, all data synchronized. I can't wait for iOS 5, with its WiFi sync.
Using the moon as a power source
Best idea ever: using the moon as our main (and only) power source. If it receives 13 petawatts of energy, why not send 1% of that to our Earth? Perfect! And seems like Shimizu Corporation has the plans. It will be great to not depend on oil, coal, nuke and fellows. All clean and available.
My only concern is: how will it cost to me? Or: will it suffice? I'm afraid that, with more power, we will need more energy. We currently need something with planetary proportions. What will come next?

