On Users and Innovation

I always believe customers/users are always right, but what if the truth is they’re most of the time wrong? What if we all failed to innovate all because we are haunted with the vague functional spec and their vision of a far flung unknown universe? Does it make sense to perfect a product that no one uses? Or should we justify creating something ‘magical’ and redefine their experience by using our pragmatic thoughts as curators?

Let’s see.

SVN Ignore

Chance is if you’re working on a source controlled project, you’ll have this annoying garbage files somewhere. Its no big deal at first but over time, it can kill your productivity, especially when you’re isolating some changes whenever you commit. In my case since I’m working on a CakePHP application, that would be the tmp folder.

So here’s what I did:

  • Set VIM as editor for svn property files by running export SVN_EDITOR=vim on the terminal
  • then run svn propedit svn:ignore ./tmp
  • Insert * (asterisk) in the VIM editor, to “Ignore everything insider the tmp folder”
  • Save it, Commit and that’s it!

I think VIM is really a handy editor for cases like this, I actually failed to set Coda, TextEdit, and TextMate as my SVN editor. So it really saved me a lot of time.

Update: It seems I still have to manually ignore each directory inside tmp for it to work.

Facebook is into Hiphop, PHP just got pimped!

Now calling all PHP fanboys to rejoice finally.

Facebook’s new toy is not a new compiler nor an engine, according to its creator it is a “source code transformer“, really funky right? After all its a crank from their previous hackaton around 2 years ago.

So how does it work?

The main challenge of the project was bridging the gap between PHP and C++. PHP is a scripting language with dynamic, weak typing. C++ is a compiled language with static typing. While PHP allows you to write magical dynamic features, most PHP is relatively straightforward. It’s more likely that you see if (...) {...} else {..} than it is to see function foo($x) { include $x; }. This is where we gain in performance. Whenever possible our generated code uses static binding for functions and variables. We also use type inference to pick the most specific type possible for our variables and thus save memory…

And what does it mean to web developers?

I think it’s pretty exciting! 50% performance increase is too good to be true! (90% of Facebook is running on Hiphop now) and for such a large scale deployment in just 6 months its really amazing.  Now you can forget purchasing that Zend Server and instead create a github account and consider following Facebook’s Official GitHub Account where they commit their open source projects.

You can read more about the Official Announcement from the geek who made it.

Update: While it is indeed exciting, there are a few caveats that every web developer should know before diving into HipHop. Here’s an in depth explanation by Terry Chay, He was invited by Facebook along with the biggest names on the PHP world to attend a super-secret conference a week before HPHP was announced.

If you’re interested, you might want to check the official developer mailing list of the project on Google Groups.

Jog

Hello heart month. I just wanna let you know that I want to be fit and healthy as possible. Early today me and my younger brother sprint at roughly 10km/hr at the boulevard. Fun conversation, crappy shoe laces, to vain athletic careers, and finally a fantastic breakfast.

Simple Desktops

Do you want less, but not boring? Then you want Simple Desktops. Finally my submission “Focus” is already available for download. What are you waiting for? Grab it! :D Here’s a direct link

Big thanks to Tom

Out there in the Wild

Some of the stuffs I found today.

Oops, Hello!

New projects, and other exciting stuffs to try,  this year is really exciting! Goodbye procrastination!

Chrome Beta for Mac is out!

Picture 5

Finally after months of waiting. Here’s the public beta for Mac.

Whois google.com?

A quick whois from my terminal tells me:
Picture 2
It has less porn :D

Hello ChromeOS

I’ve been up all night for the official announcement of ChromeOS from Google which is scheduled to be released next year.

YouTube Preview Image

Demo:

YouTube Preview Image

Here’s are some of the details:

- instant boot
- every app is a web app
- all data is in the cloud

- browser security model- reference hardware
- you can’t download Chrome OS and install it on your machine
- the only way to install the OS is to buy a Chrome OS machine (*)
- the target launch time: the end of next year

Even though I’m skeptical about (*) I’m still excited about the year ahead.  For more details, you can visit the the Official Blog Entry from Google.