- Polar Clock — Beautiful.
Tagged as: clock visualisation flash infographic information design - Shorpy | The 100-Year-Old Photo Blog —
Tagged as: photography history blog archive - Boomshine — Zen Missile Command: one interaction to solve the level. Nice music, too; casual/calm gaming. Calm gaming – that’s an idae…
Tagged as: games flash browser simple oneclick
- Windows XP Wireless User Guide — that thing I need…
Tagged as: system:unfiled - Screenshot Gallery – Carcassonne // Xbox 360 /// Eurogamer — Carcassonne’s a lovely boardgame, and it looks like Sierra’s online Live Arcade version could really do it justice. Can’t wait! (Also: hurry up with that Catan port you promised, while you’re at it).
Tagged as: games boardgames xbla livearcade german carcassonne
- Snak – IRC for Mac — Interesting-looking IRC client for OSX.
Tagged as: irc client osx - Refining Data Tables :: UXmatters — Luke Wroblewski examines and illustrates ways to architect tabular display of data. Some clear thinking, and good illustration.
Tagged as: data tables design usability navigation web development interaction for:dotcode for:milestdavies - Sorry you’re leaving! — Armando Ianucci imagines Tony Blair’s farewell card. Very, very good.
Tagged as: politics humour armandoianucci
- Adobe Forums – A little problem with color profiles — Some really good explanations of the Lightroom colour-space issues.
Tagged as: colourspace lightroom colour management
- » 101 Essential Freelancing Resources — A few things in here I’ve not seen before; worth a bookmark.
Tagged as: tools business freelance tips utilities web management software - oscilloscope clock — A kit to output a digital clock face to any two-axis oscilloscope.
Tagged as: electronics oscilloscope clock project - Chmox – a Mac OS X CHM viewer — CHM files – compiled HTML – are basically Windows Help files. You need something like this to view them on a Mac.
Tagged as: mac osx application chm documentation reader
- Book Reviews – read, review, share at Revish! — Revish: a site for "reading and sharing your reading experiences". Social, shared, API\d up. Looks interesting.
Tagged as: books web2.0 reviews social software reading - Introducing the Shoulda Testing Plugin — The Thoughbot gang bring another testing solution to the Rails table.
Tagged as: ruby rubyonrails testing pluging mocking - Design Observer: writings about design & culture — "I hope Helvetica is a smash. It deserves to be. But part of me still misses the days when it was just our little secret." – Michael Bierut on the magic that was typesetting.
Tagged as: design typography typesetting skill history culture helvetica film - Magnetbox — Beautfiul, invigorating design for a website/blog.
Tagged as: blog design layout ingenious - Microsoft is Dead — "I’m glad Microsoft is dead. They were like Nero or Commodus—evil in the way only inherited power can make you. Because remember, the Microsoft monopoly didn’t begin with Microsoft."
Tagged as: microsoft web20 business essay paulgraham internet software - Alternatives to Basecamp for Project Management — Sometimes, you need things Basecamp can’t give you – or workflow it’s not capable of.
Tagged as: basecamp software projectmanagement collaboration project tools - Writers’ rooms | Special Reports | Guardian Unlimited Books — Photographs of the rooms writers work in, accompanied with short editorials.
Tagged as: writing howwework process writers work desk office study photography - Pearls Before Breakfast – washingtonpost.com — "On Tuesday, he will be accepting the Avery Fisher prize, recognizing the Flop of L’Enfant Plaza as the best classical musician in America." Joshua Bell busks for the Washington Post.
Tagged as: music culture violin society busking joshuabell journalism art
- SCI-FI-LONDON – the UK’s only dedicated science fiction and fantastic film festival — Lots of good stuff in this year’s Sci-Fi London festival – Things To Come in HD, and a Quatermass double bill, for starters…
Tagged as: film festival london scifi - Macworld: News: Free Battlestar Galactica game hits the Mac — Homebrew Galactica Viper/Raptor fighter-combat sim, based on the excellent (and now free) Freespace 2 engine. As a huge BG _and_ FS2 fan, I’ll be checking this out.
Tagged as: games homebrew mod freespace battlestargalactica galactica mac osx free
- Example 2, .ready() vs. load — When you’re manipulating image sizes, you need the image to be fully loaded – so it’s worth waiting for the document (rather than just the DOM) to be loaded
Tagged as: jquery dom scripting javascript - Flash Slitherlink — An online version of Slitherlink. Wonderful puzzle game; very addictive.
Tagged as: slitherlink game puzzle flash online
(I wasted about half an hour on this last night, and am now kicking myself about how simple it was. Given that… definitely worth documenting the problem, so that no-one else gets held up on it.)
I’m currently working on some forum software (before you yawn: it’s not your average forum, it’s not worth the effort forking Beast, and besides, it’s a learning exercise). In this forum, when you create a topic, you also create the first post in the topic at the same time. Here’s how that happens (I don’t think I need to show the form view – the controller will suffice):
@topic = Topic.new params[:topic].merge(:user => current_user, :forum => Forum.find(params[:id])) post = @topic.posts.build(params[:post].merge(:user => current_user))
Unfortunately, I was running into all sorts of problems – in that even though the forms were filled out and being passed to the controller, the topic wasn’t being created. This was because the post wasn’t validating. Turns out the problem was that in my post.rb
, I’d said that a Post validates_presence_of :topic_id
. This validation was clearly being run before the topic was created; given we’re using build
to make sure the post is attached to the topic, I don’t think we need that validation. Once I stripped that out, everything worked fine.
A pretty trivial error, I know, but once my tests started failing, I had to take the application apart a little to find out what was going on. In a nutshell: I don’t think you always need to validate relationships that have to exist for the model to make any sense.
Of course, if there’s a way I can keep the validation of topic present but still build
the topic/post combination as above… comments are very welcome.
- graeme nelson: Dirty Views? Clean them up! — (By yielding default content to a view).
Tagged as: ruby rails rubyonrails views templating