Think our world is all SOA and web-service-enabled?
Think again. I just got an e-mail from a major travel industry vendor (one you’ve probably heard of), detailing changes to the procedure for manually downloading and unzipping the monthly data file they send us. This is the third vendor in the past year to pull something like this. (Actually the biggest one can’t seem to send us the same format month to month.)
“The future is already here - it is just unevenly distributed.” –William Gibson
Read more...No parking ticket. (whew!) But this was amusing, since I was wearing my “Do Not Want!” shirt:
Read more...More experiments with objects that do weird crap when placed in ordinary situations…
This one lets you wrap an object so that its apparent value changes over time.
Then we subclass it to do various things with @value
…
And ordinary calls like this suddenly get weird.
Output:
raboof raboofbaz 3 2 1Read more...
A before_filter equivalent for general Ruby...
I’ve been able to wrap individual methods in other calls via alias_method for a while now, but I’ve always done it by hand; been meaning to write something up to do it generically… Well, I came across an ugly but effective bit of code from Tadayoshi Funaba in Programming Ruby that was easily adapted to do just what I need.
Outputs:
$ ruby test.rb I, [2008-09-10T09:44:07.371000 #3292] INFO -- : [1, 2] 1/2
…Thanks to that “before :bar, :log”, log() automatically got called before bar() with the same arguments.
Here’s the alteration to Module that does it:
Module#after() should work similarly.
Read more...Well, it sounds like Google Chrome could offer a substantial speed increase to AJAX apps. The Javascript VM that compiles down to native instructions is interesting if nothing else is. And hey, if Ben Goodger is on board, it can’t be any worse than Firefox, right?
Update 2008-09-02 13:20:21: No noticeable speed increase on GMail or Reader in Google Chrome over Firefox 3 on XP. Rest of experience is different but decent.
Read more...