Sun 26 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlSat 25 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
“ So is tumbling the next big thing, or has it already peaked? ”
Telegraph newspaper
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
The fantastic team at Rails Envy is back with their Apple-style commercials comparing Ruby on Rails to a variety of competing environments. This time they have a one-two punch first striking .NET and then doing PHP/CakePHP. As always, it’s funny stuff and really nicely done. Keep it up, boys!
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlFri 24 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
起因是要到印度参加培训。ThoughtWorks通常会对入司的新员工进行一些培训,使其更加了解公司的文化和做事的风格,其中很著名的是TWU。不过,TWU是给毕业生预备的,所以,我没有机会参加。我去参加的是另外一个课程。不同于TWU固定在印度,这个课程的培训地点是变化的,这次刚好在印度的班加罗尔。
要去印度,我却出现在阿联酋,是的,我是来转机的。只要有些地理常识都会发现这条路线极其诡异。据Jessie的blog记载,她是这条诡异路线的始作俑者。早几天去TWU的几位同事是通过新加坡转机,至少从常识和心理上来说,更容易接受一些。
这次坐飞机让我见识了一些新鲜的东西。我乘坐的是A340-300,很大的飞机,一排有八个人。每个面前都有一个小电视,配有一个遥控器,居然这个遥控器还是个游戏手柄,所以,在路上,我还自行娱乐了一下。一上飞机,就可以发现,每个人的座位上,都预备好了一些东西,比如小枕头,毯子和一些小东西。我以为大夏天的可以不用毯子,结果充足的空调还是让我决定把自己盖上,以免感冒。这次旅行是我第一次在飞机上过夜,因为起飞的时间就是23:55。个人而言,我不是特别喜欢长途旅行,尤其需要过夜的,身体会很疲劳。飞机会比火车舒服一些,但要在飞机上过夜,还真的不如火车的卧铺,无论我怎样调整姿势,总是不如躺着的感觉舒服。当然,比火车硬座要好得多。同机的有一群要到塞浦路斯去表演的小朋友,有他们在,飞机上热闹了许多。人家航空公司想得还真周全,每个人送了一个小玩具,孩子们很高兴的给周围的人展示着自己的玩具。
到迪拜的时候是当地时间早上五点多,一下飞机却让我感到了桑拿天气,长期生活在这里的人真的要有很好的耐热能力才成。从我下飞机到再次上飞机,之间的间隔有六个小时。所以,我和同行的同事在机场可以活动的区间里转了一大圈,了解周边的环境。在一个免税的店里,他拿起一个Sony的耳机,我居然看到了中文,仔细一看,Made in China。在这里,中国人(至少是中国人面孔的)很多,让人误以为只是在国内的机场,经常可以听见有人在用中文聊天。当我们在一个地方喝水聊天的时候,竟然还有人用中文来向我们问路。就在写这篇blog的时候,后边过去的两个人在议论大连如何如何。迪拜的机场地上铺有地毯,这让我想起了我们公司的办公室。在办公室时,我时不时的就会坐在地上办公。在这里,可以看到很多人席地而卧,悠然入梦。
就在刚刚,同事奇迹般的发现,居然有无线网可用,于是,赶紧打开机器,在迪拜机场发一篇blog,作为纪念。
还有一段时间我才能再度起飞,若干小时之后,我会出现在印度。
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
“ Any time you try to impose a hierarchy onto the world you are bound to be disappointed. ”
Dave Thomas
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlThu 23 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
Having been poking around on Facebook for bit, I’ve started a few groups, largely of interest to people in the Phoenix area.
If you’re on Facebook, take a gander at Refreshing Cities, Refactor Phoenix , BarCamp Phoenix , and The Phoenix Ruby Users Group
add to del.icio.us. look up in del.icio.us.
add to furlWed 22 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
“ I have my own taste, and I make stories to my taste. ”
Ira Glass
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
Not me, it seems:
“We’re sorry, your operating system is incompatible. To provide the best download experience, we can no longer support Windows 98, ME or NT. Please visit again after you upgrade to Windows 2000 or XP. Visit our Help section for complete system requirements information.”
I’m using Firefox on Kubuntu.
add to del.icio.us. look up in del.icio.us.
add to furl
SXSW is perhaps the preeminent Web-related gathering of the year. I really don’t know how many past events have featured any Ruby content, though I’ll guess that it was only in passing. SXSW is a rather largish assembly, and the quality of the talks varies greatly. The real gold at any such event are those rare talks that give you concrete, tangible, working code. Even better is when you get it from a master of the craft.
The proposals for the 2008 edition of SXSW are now up for a public vote. Yes, that means YOU get to sway the future of Web and interactive development. And if you have any interest at all in Ruby, Java, JRuby, or game development, hustle over to David Koontz’ Railgun entry and vote at least once, and at least five stars.
Yes, Rising Tide’s very own Mr. Koontz will be spilling the beans and exposing the innards of what has to be the sweetest, most kick-ass development tool in quite some time. Railgun will make game development more fun than life-sized helium balloon animals. It’s not Rails; it’s Ruby and JRuby. It uses many of the better ideas that, while not original to Rails, have come to recent attention because of it. MVC, convention over configuration, useful defaults to avoid tedious boilerplate code, and more developer goodness.
Even if you don’t know if you’ll be attending, up-votes for Ruby talks (and, more broadly, technical talks over Yet More Pundit Anecdotes) can help promote higher quality presentations down the line. It’s possible that various topics never get proposed for SXSW because people feel it’s strictly for the CSS and Flash crowd. You can help change that.
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlTue 21 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
最近想写的一些内容,也要慢慢来。我先列出来,省得自己到时候找借口不写:
1)mercurial,一个分布式的源码管理系统
2)css的关键3要素,框模型、浮动、定位是理解css的基础
3)javascript dom与jquery的简化
我只是随兴而发,先记录这些,找时间要写写。...
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlMon 20 August, 2007

add to del.icio.us. look up in del.icio.us.
add to furl
Time is running out. Get your talk proposals in.
RubyConf Talk Proposal: Submitted!
I just sent in my RubyConf talk proposal.
Better Hurry!
If you’ve got a good idea for a proposal, you can submit it at http://proposals.rubycentral.org/.
The deadline for the proposals is August 20. However, I have it on good authority that the deadline will be extended to Aug 23, 5:00 pm EST. (Ahh … I see the announcement made it to Ruby-Talk) So you still have some time.
Some Hints
RubyCentral has been having some problems with getting their registration responses delivered (I found my registration confirmation in GMail’s spam box). I would recommend that you go ahead and register a proposal now, even if you don’t have all the details ready. By the time you are ready to submit the final version, you won’t have to worry about any last minite registration hassles.
Good luck with your proposals. I hope to see you at RubyConf!
add to del.icio.us. look up in del.icio.us.
add to furl
“ Nothing can pass this line unless it is well defined. ”
Pete Townshend
add to del.icio.us. look up in del.icio.us.
add to furl
2. The process by which such a meaning is conveyed, implied, or suggested. In saying “Some dogs are mammals,” the speaker conveys by implicature that not all dogs are mammals.
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furlSun 19 August, 2007

This one mystifies me.
The Raw HTML
This is on my MacBook Pro. How in the world to you go from this HTML:

As Rendered in the Browser
To this in the browser?

Look carefully at the sequence of digits for the default font.
This happens in both safari and firefox. Javascript is disabled. Disabling CSS will cause all 7s to look like 9s (because everything is then in the defaualt font).
Huh?
Any clues on how to fix this would be welcome.
Update
Several people have reported they can’t reproduce it. Here is additional information:
Mac OS 10.4.10
Firefox 2.0.0.6
Safari 3.0.3
Also, copying and pasting what looks to be “0123456979” into a text editor will give “0123456789”. Perhaps a font is corrupted so the “7” is displaying as a “9” glyph?
Update 2—Problem Fixed
John Guenin suggests: Try resetting your font caches: http://www.jamapi.com/pr/fn
Thanks John. I downloaded FontNuke from the link provided and although the program itself was a bit flaky, I finally got a clean run from it and after rebooting the problem has been fixed. So the verdict is that it was probably a bad font cache that was displaying the “7” glyph incorrectly.
Whew.
Thanks to everyone who made suggestions.
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl