-
Not a bad list, especially for sites needing hardcore, tight, front-end work, and that are going to face load.
-
Mitu makes a series of interesting connections here, though the conclusion she came to isn't quite the same as mine – which is in the comments. But there's a mass of starting points here as to notions of the "abstract", and what it might mean for games. Something I shall be returning to, for sure.
-
"Egmont Press and Penguin Publishing will launch a range of children's books onto the Nintendo DS in a licensing deal with entertainment software company Electronic Arts (EA). It is the first time that children's books have been developed specifically for the Nintendo DS platform in the UK." Ooh, that's kind of awesome.
-
"Gemcutter is the next generation of gem hosting for the Ruby community. Instantly publish your gems and install them. Use the API to interact and find out more information about available gems. Become a contributor and enhance the site with your own changes." Apparently this is the next big thing, post-github not serving gems. Let's chase this trend for a bit.
-
"…it’s been a week and we’ve decided to not bring back the gem builder. It was a fun experiment but Jeweler and Gemcutter combined make it ridiculously simple to publish a gem. The gem builder use case (fork a project, make a change, publish a gem, install it) is now easier than ever using these tools." Which is all very nice, but a bit of a PITA for anyone who'd been depending on this. Still: gems.github.com will serve for another year.
-
"In Nokogiri 's are converted to whitespace, but they are not a normal space and aren't removed with the standard String#strip and friends." Needless to say, this is somewhat annoying. Thanks for fixing it, internet!
-
Jones has the keys to the helicarrier: "in summary: Schulze is spending the week in zero-g combat training, Tom is playing with an orangutan genome that he got from some guy in Zurich and I’m building a laser-harp."
-
Really rather good, from what I've read so far, especially for prototyping.
-
Really excellent presentation on the basics of SPARQL – lots of good examples, lots of hands-on stuff, and clear. Worth going back to.
-
"Designed by London architect Julian Hakes, the Mojito shoe is made of carbon fiber—to give it strength and spring—and laminated with rubber on the bottom and leather—from furniture manufacturers in High Wycombe, England—on top." Gorgeous.
-
"Here is a needlework sampler I’ve made based on the tradition of needlework samplers and the processes used by producers to create contemporary musical compositions."
-
"All yeahs in a baby are always the same height." Crazy markup preprocessor of the day, with suitably entertaining documentation.
-
"It seems to me that Transgaming have done more to hurt the Mac gaming world than anyone else. The idea that you can turn your product into a Mac game OVERNIGHT, without employing ANYONE WHO SEEMS TO CARE ABOUT THE PLATFORM is an absurd thing to peddle."
-
"Tig provides a simple command-line yet visual interface to Git." An explanation of what Tig does, and why you might find it useful.
-
"Tig is a git repository browser that additionally can act as a pager for output from various git commands."
-
Marvellous – case study of all the packaging concepts for the bonkers House Of The Dead: Overkill. Lots of gnarly, grindhouse-inspired graphic design going on here, and many things that are as good as the final version.
-
I am not an expert in these matters, but that is rather lovely.
-
That performance of Billie Jean. But with a Giant White Glove. Brilliant.
-
"On May 4th, 2007, we asked internet users to help isolate Michael Jackson's white glove in all 10,060 frames of his nationally televised landmark performance of Billy Jean. 72 hours later 125,000 gloves had been located. wgt_data_v1.txt (listed below) is the culmination of data collected. It is released here for all to download and use as an input into any digital system. Just as the data was gathered collectively it is our hope that it will be visualized collectively." This is amazing. And what it leads to is even better.
-
Thoughtbot discover their RFID door-lock system has an API. A short bash at some code later, and they now have theme songs when they enter the office.
-
"From 30th June to 25th August, I'll be following a route across Scotland from the south western tip of Mull to the outskirts of Edinburgh, as charted in Chapters 14–27 of Robert Louis Stevenson’s ‘Kidnapped’." I remember talking to Tim about this at BookCamp; it's great to see it in-the-world.
-
"Peter Newman's Skystation is a circular sculpture inspired by the form of Le Corbusier's LC4 chaise longue which encourages the user to lie down and contemplate the vast expanse of space above and beyond." I rather like that. Doesn't look comfortable, but I agree with the sentiment.
-
"After years of observation and reverse engineering I am proud to say I have been able to reproduce the IE6 algorithm to break even the most standards-compliant websites." Hur hur hur.
-
"Red dot fever enforces a precision into your design that the rest must meet to feel coherent. There’s no room for the hereish, nowish, thenish and soonish. The ‘good enough’." Dingdingding. +5 points to Taylor, as usual. Place, not location.
-
"TinkerKit is an Arduino-compatible physical computing prototyping toolkit aimed at design professionals. The interest in physical computing as an area in development within the creative industries has been increasing rapidly. In response to this Tinker.it! is developing the TinkerKit to introduce fast iterative physical computing methodologies to newcomers, and particularly design professionals." Standardised modules, standardised connectors, Arduino-compatible. I remember Massimo showing me his keyboard-emulating board ages ago. Nice to see Tinker productising the platform, too.
-
"The buttons are designed to look very similar to basic HTML input buttons. But they can handle multiple interactions with one basic design. The buttons we’re using are imageless, and they’re created entirely using HTML and CSS, plus some JavaScript to manage the behavior." Dark, dark voodoo, but very impressive – and excellently explained by Doug Bowman. It's nice to see Doug blogging again.
-
"If 2009 is going to see the emergence of high-quality browser-based games, then 2009 is going to be the year of Unity. It has: lots of powerful features; iPhone support; Wii publishing; a developing community; quality developers using it; and an upcoming upcoming PC version. In short, it is about to make a major splash. I feel compelled to jump in with it — the indie license is cheaper than the Flash IDE."
-
"bash completion support for core Git." Ooh. This looks really, really nice.
-
"nanoc is a tool that runs on your local computer and compiles Markdown, Textile, Haml, etc. documents into static web pages, ready for uploading to any web host." Easily build static sites with a teeny bit of templating.
-
"This library implements the Software serial Arduino library to establish a serial connection to a Mobile phone. The methods methods hides the AT+ commands from the user allowing messages to be sent by passing the method on a phone number or email and the message." Oh, now that is interesting.
-
"Late last year, my family found a line-a-day diary maintained by my great-aunt from 1937 to 1941. She was in her early teens, living on a small farm in rural Illinois with her two brothers, one of which was my grandfather." Now it's being syndicated, one line per day, on Twitter.
-
"This is the real line-a-day diary of a young farmgirl in 1937. It is maintained by @griner."
-
"We should be an embodied person in the world rather than a disembodied finger tickling a screen walking down the street. We need to unfold and unpack the screen into the world." Wonderfully put. I love Jones.
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.
The CSS Redundancy Checker
06 July 2007
There comes a point in every developer’s life when your realise the problem isn’t your work, but the tools you’ve got to hand. Toolsmithery is an important part of the job, and so I spent a few hours yesterday crafting a tool useful to any front-end developer.
The result is the CSS Redundancy Checker.
When you’re writing HTML, over time, your CSS files begin to fill up a lot. If you’re working on a large project, you might even end up with several people contributing to the CSS file, not to mention refactoring each other’s work. The result is a directory full of HTML files, and a very large CSS file.
What tends to happen is that not ever selector in the CSS file actually applies to your HTML; many are rendered redundant by refactoring, or by changes in HTML. But when you’ve got a 70k+ CSS file, it’s not easy to check precisely which selectors aren’t in use any more.
Enter the CSS Redundancy Checker. It’s a very simple tool, really. You pass in a single css file, and either a directory of HTML files, or a .txt file listing URLs (one to a line). It then proceeds to look at each file in turn, and at the end, list all the selectors in your css file that aren’t used by any of the HTML files.
That’s it. I’m pretty sure it’s accurate, and it should work with most CSS files. Most of the magic isn’t down to me, but down to _why the lucky stiff‘s marvelous Hpricot HTML parser. The script itself is about 50 lines of reasonably tidy Ruby. You’ll need Ruby, and Hpricot, in order to run it. There’s more full documentation over at the Google Code site where I’m hosting it. Please add any issues there, or get in touch if you want to contribute.
Things it doesn’t do: listing line numbers of where the selectors are. I wrote that functionality on the train this morning, but I can’t find a way to make it 100% accurate, so thought it best to leave it out – inaccurate line numbers are of no use to anyone. If you can come up with a way that works, let me know. Also, at some point I might turn it into a Textmate command. All in good time, though.
The need for the tool came out of a large project we’re working on at NPG, but I felt it would be useful to pretty much any HTML developer. So I’ve released it to the world. Let me know what you think, and do spread the word. You can get it via svn checkout, for now:
svn checkout http://css-redundancy-checker.googlecode.com/svn/trunk/ css-redundancy-checker