h4ck3r+=boiRandomness HappensPython and Ruby Differences: 0 ==- May 29, 2008 So I've been learning Ruby and Ruby On Rails over the last few weeks for a new project. Today I ran across something, well, different: if 0 then puts "0 == true!" end Returns "0 == true". A "Gotcha!" moment for this old C hacker. Now Python: if 0: print "0 == true" else: print "0 == false" Returns "0 == false". Investigating this a bit more: $ irb 0 == false = false 0 == true = false $ py Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) GCC 4.0.1 (Apple Inc. build 5465) on.http://radio.weblogs.com/0100544/2008/05/29.html#a1273 Different Types of programming personalities and how productive they are- May 13, 2008 So I go back and forth on the idea that a programmer can be 10 times as productive as other programmers. Part of me says, "No, that level of productivity difference just isn't possible". The other part of me has been there when the better programmer solved the junior's problem in 2 minutes flat, where the junior had been dealing with this for hours. (I've been on both sides of this) However, TiWebDevTopics has an interesting article out: Programmer Productivity and the Teninfinity factor,...http://www.devtopics.com/programmer-productivity-the-tenfinity-factor/ Wait just a cotton-pickin' minute.....- May 2, 2008 So I read the news. Thanks to RSS, I read lots of different sources of news, relatively quickly. So today I can across something very... different: Layoffs rise 68% in April vs May Planned job cuts in U.S. companies totaled 90,015 last month, up from 53,579 in March and up 27 percent from a year earlier, employment consulting firm Challenger, Gray & Christmas Inc. reported. The April layoffs were the steepest since the 100,315 cuts announced in September 2006. Later on in my reading I...http://radio.weblogs.com/0100544/2008/05/02.html#a1271 |