Today must be a joke day, I come across this one and just can't stop laughing:

Founder of Gearbox Software, a small scale software solutions provider in Hong Kong. Interested in everything from technology, geekiest gadgets, Microsoft and Open Source Programming. Develop stuffs on Ruby and C#.
Today must be a joke day, I come across this one and just can't stop laughing:

Posted by
William
at
11:10 AM
permalink
0
comments
Labels: apple, just for fun
These guys are really creative. I will let you read yourself.
Posted by
William
at
10:30 AM
permalink
0
comments
Labels: chinese, just for fun
MS Acquired a great product called Expression from Creature House as a vector drawing tool, which later becomes Expression Design. However one of the worst decision from MS is they decided to discontinue the mac version. Please, revive it, MS.
If you wanna get the last version, MS is generous enough to let you download here for free.
Posted by
William
at
12:37 AM
permalink
0
comments
Labels: adobe, point of view, vector drawing
While I really like the way how unobstructive jQuery is, there are some issues I kinda feel its complicating things, particularly when you try to do an AJAX app that renders some new links into your page and you need them to be binded again to events. For example, if you have an in-line edit form, you would have to do:
var bindRowEdit=function(scope) {$('link',scope).click()...}
var bindFormEdit=function(scope) {$('form').ajaxSubmit...}
Then each time when your new controls being rendered, you have to call this binding thing again. Looking at the obstructive way of using onclick or the url, while that might make your HTML looks a bit messy and longer, the result is kinda straightforward and easy to understand. I just hope there is something can have the best of both worlds.
Update: Ca Phun Ung, a great jQuery/PHP programmer I met in Barcamp HK, has written a post about event bubbling and also pointed me to the great jQuery livequery plugin, both are great solutions. I personally chosen livequery for my project and it works great.
Posted by
William
at
11:58 AM
permalink
3
comments
Labels: jquery
I just bought it at 0.99 USD, freaking fun, you shouldn't miss it.
Posted by
William
at
10:24 AM
permalink
1 comments
Labels: iphone, just for fun
Adobe sucks. Their software is one of the most horribly priced stuff, and they acquire all their competitors to retain their monopoly position (US should not be allowing Adobe to buy Macromedia indeed... in their anti-trust spirit)
What is even most horrible is the lack of ability to create any compatible vector graphics file. A friend created my company logo's SVG file for me and it becomes like this in Lineform:
![]()
Basically that's completely useless.
Inkscape opens the file slightly better, but the fonts are all messed up (could be related to my Mac X11), and they cant manage to get their hotkey functioning in both Mac X11 implementation nor Gnome so far. (Ok I might be dump not able to figure that out, but if Inkscape targets for designers, I would really wonder which designer has such ability to figure that out)
So, I guess the current situation is- blow to the evil of Adobe, or die. I wish that could be changed. Again charged software is acceptable, but priced at 1699 USD for a Web Development Kit- Adobe you must be kidding me.
Posted by
William
at
10:25 AM
permalink
0
comments
Labels: adobe, open source, wtf
Today I realize this wont work in ERB:
<% case controller.controller_name %>
<% when 'home' %>
HTML 1
<% when 'somewhere' %>
HTML 2
<% end %>
But this one works fine:
<% case controller.controller_name
when 'home' %>
HTML 1
<% when 'somewhere' %>
HTML 2
<% end %>
Try to guess why? :) I would announce the answer after a week.
Posted by
William
at
6:22 PM
permalink
0
comments
Labels: ruby, ruby on rails
To support my friend's decision on changing to mac, here I would like to welcome every reader to drop me any mac questions and I shall try my best to come up with answers.
And then the first tip: You can create a very secured volume protection for the files you need extra security. To do so:
1. Open Disk Utility
2. On toolbar, click 'New Image'
3. On Encryption, choose 'AES-128' or 'AES-256', the later one is more secure but slower.
4. Save the image.
5. When you are asked for a password, assign one, and make sure you uncheck Remember password in my keychain as otherwise people would just be able to open your file if you have logged on and authenticated the keychain.
From now on you can mount that disk image and everytime you would be asked for the password. You can drop all files you need securities in it.
Posted by
William
at
11:04 AM
permalink
0
comments