-
Some beautiful close-up photography of watches and chronometers. The lighting-work is particularly impressive.
-
‘The technology is called “tactile response,” and it allows you to do things like dial a phone number without staring at your screen like a shit-chucking ape.’ This is funny. It may also be true.
-
Plugin for WordPress to embed slideshows of your Flickr sets.
-
“Toread represents the idea that we can be the sum of the knowledge of everyone who’s ever preceded us, that given enough time we can absorb the cumulative learnings of humanity.”
-
A nicely-written guide to the way engineers classify problems – and a reminder to us of how other people hear the words we use.
-
Bunnie Huang’s experiences on mass-producing a product (Chumby) in China. Lots of video, lots of great insights into what modern manufacturing looks like.
-
Russell writes up his take on this year’s “we love technology” in Huddersfield.
-
“In 1947 Life Magazine asked some famous comic strip artists to to draw their famous characters while wearing a blindfold.” The results are, in equal parts, strange and wonderful.
-
“I’ve found instead that there is a formulaic way to produce excellent Controller code–the Controller Formula”.
-
Online magazine mainly about pro advertising photographers. Looks like it could be interesting.
-
“He is regarded as one of the most important session musicians in rock history, playing on countless hit recordings by leading British and American acts.” He is also my new hero.
-
“Don’t take work only for the money. You get what you do, so work than makes you unhappy is not progressive.” S&W in the Telegraph.
-
Matt’s reading list from his Interesting 2007 talkk
-
Jack’s marvellous presentation from Interesting2007. A must-read. The transcription is a very accurate rendition of what he said.
-
Actually knew a few of these already, but there are some great ones in there.
-
Linked everywhere, but what the hell: it’s a cracking nine-minutes Shirkyblast. Listen to what he says; it is good.
-
Oh gosh, this looks good: dynamic merging/caching of js/css files in Rails, but in production only; your development environment continues to use the original files. Lovely. Now: does it work?
CSS Redundancy Checker: jQuery edition
11 July 2007
So the CSS Redundnacy Checker has done a fair bit of traffic recently. Wow, etc. I hope it’s turning out to be useful. I’ve committed a few minor fixes, and there could be more improvements to come thanks to some useful feedback. I’ll be getting in touch with people about it over the next few days, I hope.
When I sat down to write the tool, I knew it would only be possible with a decent CSS parser (because you need a proper parser, and can’t do this with regex magic). The two that leaped to mind immediately were Hpricot and jQuery. In the end, I went with the former, because a commandline script seemed a good starting point, and something that could be built open in many ways.
In the comments thread, Tom at WorkingIdea alerted me to his jQuery-powered CSS Redundancy checker. It’s a Greasemonkey script with built-in jQuery that dumps redundant classes either to the Firebug console or to a Javascript console if you don’t have Firebug. Sounds like it might not be quite as fast as the Ruby one – or as flexible – but if you don’t have Ruby installed or just want to run something from your browser, it’s a great idea. And it’s the same principle as my script – harnessing somebody else’s CSS parser in a really simple way.
So now there are two ways into the same usefulness. It only seemed fair to link this up, given what a neat solution it is – and how close I came to doing it myself.
(Incidentally, the reason there’s not an online version of my script is because it is a slow process, and I’d have to write some kind of queueing solution on the frontend, and it could all get messy fast. It’s not for that. Get it yourself, run it locally; there are instructions on setting it up for people who don’t have Ruby in the README).
-
“Using information design principles and graphical techniques, the 85+ recorded covers of Joy Division’s “Love Will Tear Us Apart” is mapped in relation to the original recordings by the band.” Lovely.
-
“this is probably a bit naughty” – maybe, but a nice hack nontheless.
-
Beautiful new series with some lovely covers – the cover for The Man Who Was Thursday makes me want to buy it all over again. It’s just perfect.
-
Long, detailed article explaining the new sharpening controls in Lightroom 1.1. Looks like a must-read.
-
Nice database front-end that’s not a full ORM, but useful for boring db maintenance, that’s for sure.
-
Template maker is “a Python library for extracting data from similarly formatted text strings.” Looks super-useful.
-
jQuery plugins, really, but probably worth a look.
-
Modular form componentry; at a first glance, it looks good, but I want to go over it in a bit more detail…
I’ve just had my first patch accepted on an open source project. Quite chuffed with that! As of this weekend, the Rails calendar_helper
plugin is now at version 0.21. My changes are very minimal, and only really to do with the markup.
Firstly, the default table markup’s had an overhaul. The date now goes into a %lt;caption>
tag, outside the <thead>
, as is appropriate. The <th>
‘s in the thead
now have scope="col"
applied to them, again, as is appropriate.
The only other change is optional. If you pass in an option of :accessible => true
, any dates in the grid which fall outside the current month will have <span> class="hidden"> monthName</span>
appended to them. It could be reasonably inferred that plain numbers are dates that relate to the caption of the table, but the numbers outside the current month should probably be clarified.
You can come up with your own method of hiding content marked as .hidden
; at NPG, we use the following:
.hidden {
position:absolute;
left:0px;
top:-500px;
width:1px;
height:1px;
overflow:hidden;
}
but really, use whatever you’re most comfortable with.
You can get the plugin from Geoffrey Grosenbach’s subversion:
http://topfunky.net/svn/plugins/calendar_helper/
via the usual Rails plugin installation method.
-
“…at which step in this narrative would my 1977-era audience first say “you’ve got to be shitting me!” … and when would they start moaning and holding their head in their hands?”
-
“The number of lines of code in the application is a common measure of the importance of the application, and the number of lines a programmer can produce in a day, week, or month is a useful metric for project planning and resource allocation.”
-
“Journalists are always asking us if we actually want to be successful. I am successful. I get to make records and do all that stuff, and if it goes tits-up I have a decent job.” Broken Family Band are adamant on keeping the day job.
-
Rather good, free Rails screencasts. Short, sweet, accurate. Lots of good stuff in them.
-
How to customize the templates in Billable. They’re just XHTML, you know.
-
The project.ioni.st archives are very, very beautiful