chuyeow's pings
Sort By:
You wouldn’t think that Konata Izumi (a character from the anime, Lucky Star) and Ruby on Rails (a web MVC framework) would somehow be associated, but they are!I took the opportunity to fill in the missing ActiveRecord::Base#to_json documentation with examples using Konata Izumi and it got committed unchanged in revision 7905. Cute. I hope no ...
Rails 2.0.2 was tagged not too long ago and will hit the gem servers soon I expect. Being a minor point release there aren’t many changes, but here’re the ones I feel are worth mentioning:ActionPack changesConfigurable asset hosts: You can now pass a proc to ActionController::Base.asset_host. This allows you to get by the hard-coded assumption ...
No mind-blowing changes in Rails this week prior to RailsConf - as Gregg mentioned last week in the Rails Envy podcast, it’s pre-2.1 days (Rails 2.1 will probably be released at RailsConf) so it’s pretty easy to see why. Oh and all Rails tests now pass in Ruby 1.9 after a long-standing #module_eval bug got ...
You may have heard of it, but just in case, Living on the Edge is now going to be published on the official Ruby on Rails weblog. Big thanks to Gregg Pollack for getting me the “new” gig and more importantly, for reviving and freshening up the content on the official Rails blog.Catch the new ...
Songza’s quite nice, especially after us non-US users lost access to Pandora. Now I can finally listen to some boy band music when I feel like it (because I don’t have any in my library).
I am not certain whether the ability to retry a code block when encountering exceptions was a feature available in Ruby, but I certainly couldn’t find anything on that topic (what I did find were mostly about the retry keyword for iterator loops).Before you ask why I need this, the motivation for this was because ...
It’s time again for your weekly dose of what’s new in edge Rails. This weeks’ report covers changes from 14 Jan 2008 to 20 Jan 2008 (the day the Rails Envy podcast was recorded).Route recognition is fasterRails’ route recognition has been optimized and is significantly faster especially for applications using many resources (i.e. via map.resources ...
Gregg Pollack of Rails Envy (the guys behind your favorite Ruby on Rails vs everything commercials) asked me recently whether I could provide them with weekly updates of changes on edge Rails for the Rails Envy Podcast (which is often hilarious besides being informative), seeing as I am already keeping up with developments on the ...
A few days ago I noticed that some of the pages on the Hotels app on wego.com were completely unstyled. They turned out looking rather Jakob Nielsen-istic:But we were attached to our ugly shade of green to leave those pages in their naked glory. Preliminary CSI work told me that some cached stylesheets generated by ...
Edge Rails saw a barrage of refinements and enhancements this week and there’s even talk about Rails 2.1 being just a little around the corner. There’s also been a flurry of contributions to making Rails more thread-safe and performance optimizations (all still work in progress at the moment) - it’s really nice to see how ...
It’s about 9 days too late, but I figure it’d be fun to just throw these out and see if anyone else enjoyed the same things I did in 2007.PC Game of the YearThis has definitely got to go to Call of Duty 4: Modern Warfare. The single-player campaign was short but visually impressive and ...
Setting up svnsync-ed (mirrored) SVN repositories on Ubuntu (part 1 of 2)This is a 2-part journal on setting up migrating and upgrading a Subversion repository, and then using svnsync to mirror the newly created repository. (Part 2 hasn’t been written yet!)Initial setupEver since Subversion 1.4 was released, I’d been eying the new svnsync tool because we had a …
I’ve never much blogged about anime before so it’s probably a little known fact around here that I’m a huge anime fan. One of the anime series I’m watching now is Lucky Star, an anime adaptation of a 4-panel comic strip by from Kyoto Animation. This being the same studio that produced the excellent The Melancholy of Haruhi Suzumiya, I knew I had to …
Following my previous post on SSIDs, I saw this today when I fired up my MacBook on the bus:Some of the ones I liked from the comments are:brokenyouneedbettersecurityINTERNETS THROUGH THE AIRHave you seen any amusing SSIDs today?
One of my favorite foodie moments from my trip to Tokyo was at Harajuku where I had a crepe with cheese cake and ice cream from Angel’s Heart (need to dig that photo out). It was THE best crepe I’ve ever had. I’d even thrown around the idea of bringing it back to Singapore as ...
That’s right, Don’t Repeat Yourself in your functional and ActionMailer tests. If you’re a Test::Unit user, this will probably look familiar to you when writing Rails functional tests (for your controllers):class PostsControllerTest < Test::Unit::TestCase def setup @controller = PostsController.new @request = ActionController::TestRequest.new …
The last time I blogged about Firefox’s “Open in Tabs” behavior was 3 years ago in September 2004. Open in Tabs is quite a cool bookmark feature where you can open a folder of bookmarks.Unfortunately, some of us felt that there it had a flawed implementation. Here’s how you can see it for yourself:Here, try ...
Found a forwarded email with this image of a receipt from a local restaurant in Raffles Hotel sitting around in my inbox while clearing my inbox (trying to achieve the state of “Inbox Zero”):Yeah I’d like some nachos with my slut.
This is not exactly a new change to Firefox 3’s nightly builds since the bugs have been setting in my browser tab bar for about a week but I figured I’d write about them anyway since it’s quite a nice improvement.What’s new? Download Resume - now you can pause and resume your downloads in the ...



…