Thursday, February 4th, 2010
Despite Linus’ assertion that the concept of SCSI Ids is “f*cking idiotic”, sometimes they’re necessary. For example, sometimes the following will work to recover an Offlined device:
echo “scsi remove-single-device 99 0 3 0″ > /proc/scsi/scsi
echo “scsi add-single-device 99 0 3 0″ > /proc/scsi/scsi
There’s a script named lsscsi [...]
Sunday, October 12th, 2008
My previous post is a video I made using my Canon S2’s Intervalometer. Essentially it lets you set the camera to take up to 100 photos at a given interval, from 1…N minutes (I forget N at the moment.) Unfortunately, a couple limitations of Canon’s implementation screwed me in that video:
The Canon Intervalomer takes [...]
CSS starts out being a pain for everyone. Don’t worry. You’re not stupid, CSS is.
The Only Ten Things To Know About CSS
Part 2 of our code snippets series takes a look at more handy pieces of html, ajax and css that you can incorporate into your web designs. If you missed part 1 you can [...]
Monday, October 23rd, 2006
Not only are there no silver bullets now in view, the very nature of software makes it unlikely that there will be any–no inventions that will do for software productivity, reliability, and simplicity what electronics, transistors, and large-scale integration did for computer hardware. We cannot expect ever to see twofold gains every two years.
First, one [...]
Thursday, September 14th, 2006
Abstract
Data is sent to browser as either XML embedded within HTML, or XML over AJAX request.
Javascript runs XSL rules on the XML to transform it into HTML.
Newly generated HTML is inserted into DOM.
This allows sorting, paging, etc.
Tools
xstream to do java object -> XML conversion
sarissa to do XML transform in the browser; uses the [...]
This is a great piece of programming – I guess they’ve associated photos with color values, thus allowing you to browse infinitely by zooming. Check it out.
Link
Wednesday, April 12th, 2006
He moves along to show you how to make cookies (Mmmmm), and you’ll learn fancy string handling and associative arrays along the way. Give your JavaScript a sense of history and time (by setting timelines on your pages so that different events occur at different times), and then learn how to sense which browser your [...]
Wednesday, March 29th, 2006
Here’s a great way to do Duck Typing in Java. I’m using the same technique in some software that I’m currently writing.
This is exactly what Duck Typing allows us to do—to implement an interface at runtime. So all that remains is to figure out a way to implement this in Java…
Link
Thursday, March 23rd, 2006
Covers the basics well.
Link
Thursday, January 12th, 2006
Are mozilla insane? I would have assumed that crack teams of developers were being actively funded in integrating Sunbird and MS Exchange. In fact, the bug tracking this integration has been open since 2002, and assigned to only one developer for the past two years. What’s worse: his most recent comment on the bug (six [...]