Rails 2.0 Scaffolding

I’m learning Ruby on Rails starting with 2.0. This is occasionally problematic, as it was only released a few days ago, and the tutorials are still all for 1.2. So, to help others, something not mentioned in the release notes, which causes errors if you’re following the official tutorial. Scaffolding has changed. The 1.2 way …

Python whitespace doesn’t matter

If you have some programming experience then there is one particular feature of Python that is likely to turn you off. Whitespace matters. Indentation is significant. This comes as a shock to many people who are used to it being meaningless. Most languages in common use designate code blocks with braces ({ … }), or …

Yahoo! Pipes is awesome

I like Dan Savage’s column in the Seattle newspaper The Stranger. He also writes a blog for them. However, his entries are all mixed in with a great many other people’s entries, and there’s only an RSS feed for the amalgam. This wasn’t a problem, because his entries were output at the bottom of the …