This is nice for people who come to Io from Ruby: Io, the language, now has… a C implementation of interpolate (by trevor with help from jer) Just to give people a heads-up on this point. There is a slight change in behaviour. Instead of using #io{…} to interpolate your code, you now use #{…}. …
Author Archives: olleolleolle
CakePHP: grab only the data you need
When dealing with an abstraction that outputs dynamic SQL “behind your back”, it’s often easy to forget that some of the queries are… too greedy and grab unneeded data. Here is how to ask for less data, using CakePHP. Today, I listed only name and id fields of a Model, and to restrict the findAll() …
Reading Ruby on Rails
Things I want to do, in Ruby-land: Read Ruby’s source code. (Self-study guide here) Read Ruby on Rails. You have the sources on your computer, don’t you? Follow Rails HEAD (RSS of changesets)
David Black on Ruby and Rails, in Malmo: a post-game
I will try to summarize my Malmo experience in the company of 20 new and old Railsers and presenter David Black. Our kind host Polar Rose had got a very central location for the event, a short hike from the train station. David did a good job of telling an understandable story about Ruby on …
Continue reading “David Black on Ruby and Rails, in Malmo: a post-game”
Calling an XML-RPC method (PHP, Ruby)
Calling web services. Great fun when it works. Thanks to XML-RPC’s simplicity, it’s quite easy to cobble together a working client. Here is me using the Technorati “ping” service, which tells them about the Copenhagen Ruby Brigade’s weblog being updated. And then, prints the result. My PHP take on this looks klutzy. But the request …
List of local geek communities (work-in-progress)
I talked with a local PHP developer today, who’d seen my blog, and we talked some CakePHP, frameworks, servers, the general state of scripting languages, and so forth. And then we came to the subject of local communities, where developers meet up and talk shop. And, as a Copenhagener, I don’t know very much about …
Continue reading “List of local geek communities (work-in-progress)”
Rails talk, free: David A. Black to Malmoe, Sweden
Get your Ruby butt to Malmo, Sweden! Workshop with David Black at kind host Polar Rose (a funky image search startup business). Time: Sunday, September 17 from 10:00-18:00, and is free to attend. Map on above link. [tags]rails,rubyonrails,event[/tags]
LiveHTTPHeaders Firefox extension alive again
For those of you who did not get the memo: the excellent LiveHTTPHeaders Firefox extension is up and running again, on Firefox 1.5. It is an extension that monitors what goes in and out of your browser. Helpful, helpful. Mr Savard, maker of the thing, says on the site “I hope this will be useful …
Continue reading “LiveHTTPHeaders Firefox extension alive again”
My buddy Dennis releasing new novel
All ye readers who yearn to learn Danish, here is the novel you could read: Brøndjætten by Dennis Gade Kofod. I’ll hook you up with a copy, if needed. Danish paper Politiken’s book section is happy about Dennis’ new book — his second novel — and the text concludes: Dennis Gade Kofod er født i …
Dave Clarke quote
Computer scientist/bikeist Dave Clarke (05 Sep 2006) says (about Ruby on Rails being taught in colleges: I think there are many important computer science concepts to be learned from studying RoR. Typically, one should consider the language, be it Java, Ruby or C, to be the vehicle which helps one to learn concepts, rather than …