HTTP verbs and Rails

At the meeting yesterday evening, Jesper whipped out the largest PostIt I ever saw, and made an agenda for the next meeting.

I said I was interested in talking a bit about Rails’ new direction wrt HTTP verbs: it seems [Casper Fabricius](http://casperfabricius.com/blog/) and the web has most of the information at hand: so enjoy [Casper's introduction to the new concepts](http://casperfabricius.com/blog/2006/06/25/railsconf-dhh/).

In short: getting the PUT and DELETE verbs supported everywhere will take some hackery, and the ASP.NET-like viewstate hidden input field is fielded for this role.

Read [DHH about Resources](http://www.loudthinking.com/arc/000593.html). Read the slides PDF, there. Quite the concept-chunk to bite off. Many new things are to come.

And, as DHH said, the extractions from his company’s products arrive way before the products do, so this is already in Edge Rails. Interesting times.

Oh, and don’t miss [Ryan's list of what is new in Edge Rails](http://www.ryandaigle.com/articles/category/whats-new-in-rails). I’m subscribing to [Ryan's feed](http://feeds.feedburner.com/RyansScraps)!

*Update*: [Josh Susser on the Relationship Model](http://blog.hasmanythrough.com/articles/2006/06/30/working-with-the-relationship-model), which this new CRUDdy world has brought on. Also, his [post about CRUDdy searches](http://blog.hasmanythrough.com/articles/2006/06/30/cruddy-searches) has great comments. (That’s blogging for you.)

Live report from the meetup (like a true geek)

**Update:** spelling, adding details, names, URLs.

Sitting at the Copenhagen meetup, like some kind of backchannel geek. Typing. (There were five wireless networks around me, so I didn’t need the password to the bar where we sit. Quite a nice location, a quiet, loungy upstairs. I guess this post will be updated more than once. Sorry for that, in advance.)

[Jesper](http://www.justaddwater.dk/)’s here. He said: “Our first 60 beers are on Our Kind Sponsor.”

Thomas introduces his interest in, and his work with, Rails. He’s Jesper’s colleague, and he began using Ruby on Rails around New Year’s in 2006. “We began mocking stuff up for customers using Rails.” One small-project customer said: “Drop that ASP track, and write it in Rails, it seems much cheaper.”

Personal reflection: We are finding out the magnitude of The problem of Taking Stuff Over (after the initial consultant who built the magic has left for other challenges). Meetups make it possible to reduce this problem.

Corporate challenge: Convince not the boss, but the customers.

Small-business challenge: Convince boss to change business.

One-man challenge: Create, and make a business of the creation?

Re: Prototype with Rails. _A pitch can be worked out over about 1000 man-hours._ Quite interesting data point. (Someone said: “Using Rails you’d be at Version 4.0 after 1000 hours.”)

[Casper Weibel](http://www.weibelmedia.dk/)’s here. His stint in London’s ending, and he’ll come home to Copenhagen. Praise of Rails, and his meeting with Rails.

Morten (who had come over from Aarhus), who were at the PragProg’s workshop. “We got to implement PragProg bookshop, selling _their books_.” [Laughs.]

(There was some amount of bashing one’s “home environment” for web development. People very consistently talk about trying to find alternatives to their current tools. “Re-tooling” said one guy.)

Jesper: “Instead of doing HTML mockups, I was able to do a working Rails app.” Note about the enormity of documentation to go with static HTML mockups.

Jakob Skjerning: “Trying to bash Rails, getting it to fall over, and as yet, it wins over ASP, even when running on a weaker machine.” Jakob’s been blogging about his research into moving an ASP 3.0 application to Rails.

(Now, a big fan started behind me. Fsck. People need to talk louder, more “bullet-point-like”. Pelle’s taking pictures. I wonder what he’s tagging them with?)

(Some guy I missed the name of, after Jakob S.): “PHP kind of sucked, and I have few customers to convince, so moving to Rails was swift.”

Next guy: “I live off of Java, but I like Rails.” And: “I can concentrate less on the framework, and using AJAX was just much less painful than in Java. And fun, even.” Praise of Webrick. Here to meet Rails folks.

Svante, from Fyn tells about his day job: “Maintenance of ASP 3.0.” And about “my Hobby Projects, which are not ASP.”

Rails has The Name-dropping Problem: “The customers ask ‘Why is no one else doing it?’ and you don’t have the Long List of Big Names to show them.” (said Jakob.)

“You can send loads of Word documents of screenshots before actually getting to the core of What This is About.” Using Rails to prototype is… just Faster.

Back channel is: irc.freenode.net and #railsmeetupcph. (Note: It had about 5 users.)

Guy with moustache (his name was Mads, and he works with Jesper): “Rails as a frontend, Action Web Service as talk-to-others.”

Lars of [Nordija](http://www.nordija.dk/): “[Watir](http://wtr.rubyforge.org/): that is how I found Ruby. Ain’t yet used Rails.” A sales guy. Pushes Rails inside his company, to the developers of his company.

[Pelle](http://www.stakeventures.com/): “Ruby, I’ve been using it a long while. My micro-conglomerate is paid by Java consulting. Perl still rocks, nice to hear. The stuff we used to do in ’95, it’s now done using Ruby and Rails. Thanks for doing the corporate pushing of Rails, Jesper & co.” Then he railed about Culture. Then about How To Work. He is bloody incisive.

Then we got onto the subject of Insurgency!

**Update:** Yes, here the live reporting was cut off, as [Peter got me to broadcast the meetup in Skype](http://ruk.ca/article/3741). He posted a screenshot to prove that he “was there.”

**SOME NUMBERS**: I asked for a show of hands about how the congregated people paid their bills:

* Java: 7
* .NET: 7
* PHP: 4 (Peter Rukavina raised his hand in the IRC, but I didn’t count that)
* Other: 2 (mainframe & Perl)

I guess I should not be surprised at this turnout of Java and dotnetters, but 3 other PHP folks?

Peter Brodersen was one of the other PHPers. “Is that the Peter at [Findvej.dk](http://findvej.dk/)?” asked Jakob. I think it was nice to hear the words “at Findvej.dk” – it sounds so established. [tags]events, rubyonrails, rails, copenhagen[/tags]

Rails meetup, tomorrow (29 July)!

Wow, wow, wow. We’ll talk about Rails, we’ll do high-fives, and go to that café. It’ll be fun.

[Jesper](http://justaddwater.dk) raises a few questions in his blog post about Rails thoughts, and in the comments section [Casper Fabricius](http://www.kraftvaerk.net/index.php?id=298) points to stuff he picked up at [RailsConf](http://www.railsconf.org/).

The little, fast Ruby web server [Mongrel](http://mongrel.rubyforge.org/)’s bigger than before. South American Windows hero Luis Lavena’s making huge strides in supporting Win32 with Mongrel every week, it seems. Lurking on the Mongrel email list makes me feel good about Ruby’s deployment future. And, Mongrel lead developer [Zed Shaw](http://www.zedshaw.com/) diligently sat down during this year’s RailsDay and just wrote up [documentation for his work](http://mongrel.rubyforge.org/docs/index.html). Splendid. (You can tell he didn’t update his personal website, but concentrated on the pet project instead.)

Got to get me a server where I can serve with Mongrel. (Added to mental note list.)

On another note: Textmate == my emacs. The twiddle function is Ctrl-t. Harness its p0wer, kids! Makes you a better typist. I installed a full TeX installation, and Lispbox (a working Lisp, pre-configured, for use with [Practical Common Lisp](http://www.gigamonkeys.com/book/)), too, on the Mac.

Update: Still having an encoding wrinkle to sort out with Textmate’s Blogging bundle and my blog. That é in café came out garbled. I’ll keep you informed.

Another upcoming geekdinner

Yeah, please do attend, Copenhagen geeks. It’ll be interesting. July 28.

The wiki page for [Geekdinner 4](http://irl.toothlesstiger.net/pmwiki.php?n=Main.Copenhagengeekdinner4) tacitly asks for ideas for places to eat.

There is going to be a theme for the dinner, I think it was something about finding one’s peers, how bloggers can strike up continuous “conversations of action”. Or somesuch. It’ll be interesting to hear about it.

Made me think: Without blogging, I wouldn’t have met [Peter Rukavina](http://ruk.ca/), or even known about Prince Edward Island. Thanks, blogging. Thanks, internet.

Textmate’s becoming my emacs

I am now typing this from [Textmate](http://macromates.com/), the Mac-only text-editing tool. I’m mighty pleased with Textmate, and now that [Tobias](http://blog.wrigstad.com/) pointed me to its Blogging bundle, more of my blogging will be done like this, from my favorite editor.

*Update:* Trouble hit me with the tagging part. Perhaps the Ultimate Tag Warrior plugin and the Bundle are as yet incompatible. Perhaps I bet on the wrong tagging library horse for WordPress? Perhaps I should contact the Blogging Bundle author, and ask for the feature?

Copenhagen garden houses

I have recently been to two parties at “koloni-haver” here in Copenhagen. This is my account of the local colour these visits provided. Also, this is where I try to describe the Scandinavian idea of tending a garden in a club.

A koloni-have (“colony garden”, a garden lot with a wee house, organized in a sort of garden club, or association) is golden in these parts. The house on it can be made into a little summer house, with bed and bathroom, and they seem a little less restricted than the Swedish ones I have seen.

[Bonus link](http://www.kolonihaveportal.dk/historie.shtml) with historical photos. And Danish text. Should you like to buy a Copenhagen garden lot like this, you need to shell out something like 400000-900000 DKK ($65000-$150000!) for a fully developed garden plot (aka modernized to madness, with “all mod cons”).

These lots are bunched up in huge clusters, each lot a little garden unto its own. Most lots are walled in by high vegetation, for increased privacy. Some of these garden associations — they are organized structures, you need membership — are very orderly, while others are more rustic.

Me and Luisa were invited down to our friend Mads’s “done with studies party” in his home in the garden-association-like area called Nokken, which in Luisa’s words is “kind of like Klondyke.” And it is: gold-rush look.

Mads got his hands on a small parcel of land with multiple houses on it. All of these buildings and out-buildings were jam-packed with junk. First he tried to sell off some of the junk, but as time wore him down he has become more inclined to throw it out, and get some space. The junk came in all forms: fire-fighting equipment, all kinds of wood-working tools, house-building details, old tools, rusty enamel signs, assorted nautica, garden implements, general misc materials for building… stuff. The works. And a good selection of uniform hats.

During the year, Mads invites his friends to come to a work-day out at the house. All work done at his place improves the place enormously. There was no toilet installed when he arrived, and now there is both kitchen, bread-making corner, and an indoor toilet. The most recent victory was the existence of a lawn: the ground had been made flat, the soil had been tilled, and the grass had carefully been planted and watered. Very homely.

The evening of the party, the garden contained some 40 revelers, and a coal grill was spreading barbecue smells, while a raging fire (courtesy of yours truly) spread warmth. Mads ripped open a small sack of onions and threw them into the fire. “They’ll be done in twenty minutes. Should be black on the outside. The skins keep the water compartmentalized, and the core’ll be sweet!”

I met Peter, a philosopher friend of Mads’s, who told stories of Finland, and of philosophy. (Mads, like me, is quite the theory-geek, and we’ve made a pact about reading [Bruno Latour](http://en.wikipedia.org/wiki/Bruno_Latour), some French sociology of science guy.) Peter was a great chap.

Today, me and Luisa congratulated Fiona, now 2 years old. We had been to a toy store, and bought little wooden vegetables. They came in a wooden crate, and at the store I saw a bag, which looked crotcheted. “Could you make one of those?” I asked, and Luisa caught that idea, and was done with a finished product in 2 hours. She has super-powers of execution.

The garden with the party was spacious, and held throngs of kids, and their parents. Barbecue, salad with potatoes, lager: the Scandinavian idea of summer food. I was especially proud of Fiona’s saying “Hej, Olle!”, remembering my name like that.

There was also some ruminations on an upcoming Copenhagen roleplaying game about James Ellroy’s *American Tabloid* world. Hoover’s FBI, Bay of Pigs, nasty media, and so forth. The concept of a roleplaying series as an HBO production was discussed, and liked. Fun was had.

Hm. It seems my initial notes on getting to the soul of gardening-in-a-club won’t be forthcoming in this post. ‘Til next time.

Public[er] data! Amateur loves public data

After typing this into a closed forum window in a section for Reboot visitors, I noted that “Many of my people’ll never read this. Better blog it.” So here I go!

After experiencing the near-mythical Pecha Kucha session (aka Guy’s 20×20 talks), I was stoked about almost every subject that had been touched.

Somehow they were all connected: the impact of the talks melded and made a lasting impression — we were just overwhelmed with ideas.

Peter Rukavina’s lightning drive through the landscape of the “data that we, the public, paid for” made me start thinking of Danish public data. I’m a Swedish person, living and working in Denmark. I began sniffing at public statistics.

[Dst.dk](http://www.dst.dk) is the Danish statistics bureau (freely translated). I noted that there was an RSS feed publishing the titles of statistics tables that had had a recent change. Like a post with a title of “Farms and area with selected crops by region (County), area with the crop and unit” with the body: “AFG2″. The title is linked to the table’s website at [Statbank.dk](http://www.statbank.dk/).

Pretty cool and abstract use of RSS – machine-friendly. “Releases” is the simple title: [http://rss.dst.dk/statbankupdates](http://rss.dst.dk/statbankupdates).

When you search the data table, you come to a result page, where you have **13 export formats to choose from**.

I’ll look into what kinds of use I can put this data to. Most of it seems to be mostly for journalists & social scientists, but there just has to be some use-value to the people in there. It’s raw numbers.

Anyway, how is the public data in your country? Any hurdles to using it? Is it hard to get to? What data would you like?

[tags]reboot, reboot8, pechakucha, publicdata, syndication[/tags]

Word of the day: caltrop

I’m a word guy. Today I name my first Word of the day: [Caltrop](http://en.wikipedia.org/wiki/Caltrop). There.

In Swedish: fotangel (foot-anglers?). Luisa told me the Danish word: partisansøm (partisan nail). Danes get cooler words.

Oh, my home country gets a shoutout in the Wikipedia article above:

> Caltrops have been used by criminals in some countries to hinder pursuing police cars, especially in Sweden where they have become “standard procedure” at robberies of valuable transports.

And, my role-playing subculture, too:

> In role-playing games, some players refer to tetrahedral 4-sided dice as “caltrops” because the corners are arranged in a similar manner to a caltrop’s spikes. When stepped on with bare feet, plenty of pain will result.

The exactness! Yes, this truly is the wisdom of crowds.

We also get to know about the discourse of American students’ practical jokes: “seat tacks” are called “ass scorpions” over there.

Also: I marvel at the category name “Area denial weapons”. The word has an interesting mixture of active and passive.

Rob’s childhood food description: Future of roleplaying texts?

[Robert Paterson](http://smartpei.typepad.com/) writes about [the food of his just-post-war British childhood](http://smartpei.typepad.com/robert_patersons_weblog/2006/06/recalled_to_lif.html), in a lovely voice.

*This* is how roleplaying game texts should read.

And, at the end of it, a simple axiom for how to play.

(Is it < 800 words? Danish rpg convention Fastaval had a “daily magazine” this year, with a less-than-800-words scenario in each issue. This reduced form called for Other Techniques of cramming in 2-3 hours entertainment. Some of the techniques could be called **axiomatic**.)

Ruby on Rails meetup in Copenhagen

At Reboot, I was at a Ruby on Rails session called “Railways”, hosted by Jarkko Laine. A pleasant talky session which had the ostensible goal of introducing newcomers to old hands, to generate conversation.

Danish Railser [Jesper](http://justaddwater.dk/2006/06/06/reboot8-roundup/) summed it up, and he and [Jakob Skjerning](http://mentalized.net/) (“aka Mentalized”, as the Danes will say, not believing you’ll understand the name) invite **you** to a Rails meetup in Copenhagen (an unspecified bar, as of now: you’ll know when it’s time).

[Go over to Jesper's blog and sign up](http://justaddwater.dk/2006/05/31/ruby-on-rails-copenhagen-meetup/) – just post a comment, baby, and you’re golden.

Update: **Café Selina (top floor), Skindergade 43 (Copenhagen) Thursday, June 29, 2006 at 20.30.**