PHP to use backslash as namespace separator

PHP is going to have backslashes for namespace separator.

Thx to the initiative of Scott and Steph we had an IRC discussion with several code developers. The result is that we have decided to go with backslash as new separator for namespaces.

As the patch is still under development it is yet unclear how this will affect the scheduling PHP 5.3. (Source: PHP internals)

Criterions

  • (1) type-ability (how easy is it to type the separator)
  • (2) typo-vulnerability (how easy is it to make a typo and get an unwanted behavior without a error/warning)
  • (3) parse-ability (how easy is it to read the code and figure out whats going on without getting confused with similar syntax that means another thing)
  • (4) IDE compatibility
  • (5) number of chars

Ratings

  1. +1 means the separator is not affected negatively by the criteria
  2. +-0 means that the separator is only moderately affected by the criteria
  3. -1 means the criteria is severely affected by the criteria
critieria
(1) +-0 +-0 -1 -1 +-0 +-0 +-0
(2) +1 -1 -1 -1 -1 -1 -1
(3) +-0 +-0 +-0 +-0 -1 -1 -1
(4) +1 +1 +1 +1 -1 -1 +1
(5) +1 -1 -1 -1 -1 -1 -1

(Excerpt from PHP RFC)

[ad#highlight]

I would much prefer the :> smiley but I would suppose the other developers not having as much favor to that. Backslashes are okay I guess. I am more used to periods though.

backslashbackslashbackslashkaboom.

Sun Microsystems swings to big quarterly loss

Sun Microsystems isn’t going to perform well this season. The first thing that comes to my mind about Sun is Java. (Darn they even rename their stock ticker to JAVA.) While Java as a language is still thriving the JAVA just got its outlook revised to negative by Fitch.

Sun Microsystems swings to big quarterly loss

SAN FRANCISCO (AP) — Battered by competition and slowing demand, Sun Microsystems Inc. swung to a big loss in its fiscal first quarter, dragging the server and software maker’s results below Wall Street’s forecast.

Sun also plans to write down the value of its business, a sign of the company’s deteriorating competitive position and vulnerability to the economic meltdown. Shares fell more than 8 percent in after-hours trading.

The Santa Clara, Calif.-based company is scheduled to release its earnings Oct. 30, but it offered an early peek Monday. Sun said its loss will be between 25 cents and 35 cents per share for the three months ended Sept. 28. Excluding one-time charges, the falls between 2 cents and 12 cents per share. (Source: Associated Press)

And just hours ago, Forbes reported that Sun Microsystems’ co-founder Andy Bechtolsheim is leaving the company to concentrate on his startup, Arista Networks. But it’s not the first time Bechtolsheim left Sun. Back in 1995, Bechtolsheim left Sun for networking startup Granite Systems. Granite was acquired the following year by Cisco System and Bechtolsheim went with the group. Bechtolsheim then left Cisco for startup Kealia in 2003, which was acquired the following year by Sun, where Bechtolsheim was named chief architect and senior vice president for Sun’s systems group. (Source: Forbes)

[ad#highlight]

But worry not on the programming language Java, Java is simply too big to fail. It always feels good to be too big to fail.

My brother loves the Calcutta (Taxi Taxi Taxi) song

He’s actually listen to the song that plagued the airwaves back when I was secondary school. The same song that got me irritated for reasons too personal to name. How the hell did that surface again. It should’ve been dead and still six feet under.

Dr. Bombay – Calcutta (Taxi Taxi Taxi)

The (ever) infectious song is recorded by Jonny Jakobsen who churn out hits like: Rice and Curry; Calcutta (Taxi Taxi Taxi); and SOS (The Tiger Took My Family). Throughout his europop career, he tried to be Indian (Dr. Bombay), Scottish (Dr. MacDoo) and a Mexican (Carlito).

Slicehost got acquired by Rackspace

My web host, Slicehost, has been acquired by Rackspace.

Big news – Rackspace and Slicehost

What an amazing day for Slicehost and our customers! Our acquistion by Rackspace has been announced and we couldn’t be more excited. Jason and I started Slicehost two years ago and it grew beyond our wildest dreams.

We believe that Slicehost and Rackspace are fantastic complements to each other. Our technology strengthens their position in the cloud hosting world. Their expertise, experience and resources enable us to improve our product and continue meeting our customers’ needs. Fear not loyal Slicehosters, we promise to keep doing what we’ve always done – listening to you and building a product that solves your problems. (Source: Slicehost)

Who is Rackspace Hosting?

Rackspace, now 10 years old, is one of the most respected companies in our industry and are now on the New York Stock Exchange (NYSE: RAX) after recently going public. Rackspace delivers computing-as-service, striving to make it reliable and affordable. One of the reasons we like Rackspace is because they think like we do… they value their customers above everything else.

I think it’s good news. I’m happy for Slicehost. Rackspace has been reputable in server offerings. Acquiring Slicehost betters Rackspace’s developer relationship and is inline with their cloud hosting ambitions which would compete directly with mights such as Amazon.

[ad#highlight]

Slicehost will be a subsidiary of Rackspace. At the upcoming Rackspace Cloud Hosting event, Slicehost would be announcing larger slices and a price reduction.

Microsoft translates Barack Obama to Rudy Giuliani

Try translating Barack Obama from English to German in Windows Live Translator and you get this:

Microsoft translates Barack Obama to Rudy Giuliani

Windows Live Translator is powered by Microsoft Translate.

It appears that Microsoft don’t do a basic dictionary translate and perform a more contextual-based translation and matches information available online to aid the translation. It’s an interesting approach; it fails interestingly too.

Obama campaign introduces Al the shoesalesman

This is a brilliant ad by the Obama campaign. For those of you who ain’t familiar with what’s going on, American politics is really interesting. McCain-Palin (Republicans) brought in phrases into American newspapers such as “hockey moms”, “Joe Six Pack” and “Joe the plumber”. These phrases are used to stereotype the typical American.

The thing that got me interested in politics is not the results the politicians are going to deliver. After all, staying thousands of miles away from the USA makes little difference on who’s elected anyway. What made me look at politics is the speeches, or more precisely, the ingenious use of the English language to reach people emotionally.

Introducing characters is just one way of doing so. As stupid as these phrases sound, people actually remember them. You can laugh at time but as long as you talk about it (even in a negative way), you are spreading the point of the politicians indirectly.

I think of these characters as stock characters (in the theater arts way) as they’re recycled time and again for every election. And politicians would just rebrand them in some little ways to make them sound new again.

McCain-Palin campaign has numerous such characters. I’m sick of them but I still laugh at them (alone, since no one bothers about US in Singapore). Anyway, here’s one endorsed by the Obama campaign:

Obama campaign introduces Al the shoesalesman

Find out your tax cut under Barack’s plan at http://taxcut.barackobama.com whether you’re single or married with children.

[ad#highlight]

Previously John McCain repeated mentioned Joe the Plumber during his speeches, claiming he is a concern citizen who prefers the McCain tax plans.

Just to digress

For those people who knows the location of my other blog, it’s a tough decision if I want to put this post in this blog or that which is rather US. In the end I figured I should put it here since I want this blog to have more of my opinion. The other blog is visited by McCain supporters and they blast me even when I post a video that’s pro-Obama. That’s freedom of expression for me I guess.

And speaking of “plumber”, Uzyn corrected me on my pronunciation. I had always been pronouncing it as “plumb-ber”. Read it wrong for many years. “Plum-er,” he corrected me.

I go Gmail to look for quotations

I like looking at quotations and it’s so hard to find a good one that suits my current situation. Gmail is a great with their little feed thing on the top. I’m too lazy to screenshot it but it’s there unless you had yours disabled.

The feed thingy syndicate a couple of quote-of-the-day RSS files. I found several good quotes there. A pretty good way to discover quotations.

Android is now open source

Like Borat would say, VERY NICE!

Android is the first free, open source, and fully customizable mobile platform. Android offers a full stack: an operating system, middleware, and key mobile applications. It also contains a rich set of APIs that allows third-party developers to develop great applications. (Source: Andriod)

Actually I was just thinking about Android being the first free, open source, and fully customizable mobile platform. Are they really the first free, open source, and fully customizable mobile platform?

[EDIT: Changed titled, change URI, changed everything. Sorry.]

Funny error messages in Unix

You could try these unix commands if you’re really bored. It probably works on Ubuntu too.

[code lang=”bash”]% “How poorly would you rate the Unix (so-called) user interface?
Unmatched “.

% rm congressional-ethics
rm: congressional-ethics nonexistent

% ar m God
ar: God does not exist

% [Where is Jimmy Hoffa?
Missing ].

% ^How did the sex change^ operation go?
Modifier failed.

% If I had a ( for every $ Congress spent, what would I have?
Too many (‘s.

%make love
Make: Don’t know how to make love. Stop.

% sleep with me
bad character

% got a light?
No match.

% man: why did you get a divorce?
man:: Too many arguments.

% ^What is saccharine?
Bad substitute.

% (-
(-: Command not found.

% sh

$ PATH=pretending! /usr/ucb/which sense
no sense in pretending

$ drink <bottle; opener
bottle: cannot open
opener: not found

$ mkdir matter; cat >matter
matter: cannot create[/code]

(via GNU.org)

My favorite is:

[code lang=”bash”]% man: why did you get a divorce?
man:: Too many arguments.[/code]