Some differences between PHP and Python

I was just searching for differences between PHP and Python to get an overview on the state of both languages and how to convert some work from PHP to Python. I didn’t get much answers to the latter but I found a rather amusing article on PHP vs Python.

This page compares the differences and there’re some retorts and counter retorts.

PHP has schizophrenic tableau of function names. The builtin library has a wide variety of naming conventions. There are no namespaces, so functions often have prefixes to denote their source (but often not). Functions are often placed into classes to simulate namespaces.

To the above someone retorts that PHP 5.3 offers namespaces only to be countered by someone else to highlighted that PHP 5.3 has not been released.

But the funniest is still this:

Python has excellent introspection

Someone retorted that PHP 5 has got reflections already. And a Python supporter came in to highlight, “We said excellent introspection”. Continue reading “Some differences between PHP and Python”

What does ‘P’ in P9500 mean

I just realized what does those short codes that Intel have mean. They have things like P9500, T9400 and SP9400. Never understood what they meant. These generally apply for the Montevina chip sets to arrive this May.

  • QX: Mobile or desktop quad-core extreme performance (Over 40W)
  • X: Mobile or desktop dual-core extreme performance (Over 40W)
  • T: Mobile highly energy efficient (30-39W)
  • P: Mobile power optimized energy efficient higher performance (20-29W)
  • L: Mobile highly energy efficient (12-19W)
  • U: Mobile ultra high energy efficient (Less or equal to 11.9W)
  • SP: Mobile small package power optimized energy efficient higher performance (20-29W)
  • SL: Mobile small package highly energy efficient (12-19W)
  • SU: Mobile small package ultra high energy efficient (Lessor equal to 11.9W)

I think this is helpful for me for my September shopping trip – to buy a new notebook. (Source: DarkVision Hardware)

I’m probably going for the medium voltage Penryns maybe P9500. I’m looking forward to Centrino 2 (Montevina) coming this June too. I procrastinated for a year to buy a notebook, it’s about time…

It’s Labor Day!

It’s 1:38 AM in the morning. I am doing some work but since it’s Labor Day. I should stop and rest right?

Right. Okay, I’m going to bed already.

Today is a special individual’s birthday by the way. It’s almost like this Labor Day is made for him. Happy Birthday friend! And to the rest – have a good rest. It’s this day of the year that everyone has an excuse not to work even as work – both school work and work work – piles up. Happy holidays.