Posts tagged: FUN

99-byte Python quicksort

Update: Browsing through my Python Cookbook this evening I discovered entry 5.11, “Showing off quicksort in Three Lines”, which includes some code very much like mine below. The entry does a good job of emphasizing that these bits of code are perhaps to be savored but not to be actually used. It also includes an insanely (impressively?) convoluted version that uses three lambdas in a single line and weighs in at 105 bytes.

STFU

E-Scribe is not, strictly speaking, a standards organization. However, I think the time is right to release this draft document on an important Internet standard. The document is presented inline here for convenience; however, the preferred permanent reference is: http://e-scribe.com/stfu Recent trends in internet-based application development have fostered the rapid spread of asynchronous, Javascript-based techniques known by the umbrella term "Ajax" and by related terms such as "AHAH", "POX", and so on.

Reverse game: Codegolf edition

I suggested to Carl over at Codegolf that the old reverse game would make an interesting challenge. He agreed, and after making some changes to his site’s back-end (to accommodate multiple correct solutions) he unveiled the challenge today: http://codegolf.com/reverse I can’t wait to give it a try!

Blog flair backlash

It’s now official: right-minded people hate those little “Blog me, digg me, add me to your feed baby!” icons attached to blog posts. References: http://www.37signals.com/svn/posts/93-its-the-content-not-the-icons http://mezzoblue.com/archives/2006/10/10/mooching_20/ http://www.codinghorror.com/blog/archives/000587.html Maybe I’m part of the problem. I avoid the Nascar-style decorations, but I do have text links at the bottom of each post that cover three such sites. My links are tasteful, of course – no icons, just gray text. Faster than a bookmarklet, even, since you can use them right from the front page of the blog.

Alpha Romeo Romeo Romeo

Today is Talk Like a Pirate Day, but when is Talk Like a Pilot Day? “This is chrome-plated stove-pipe triple-nickel eight ball, angels eight, five in the slot, boots on and laced, I wanna bounce and blow…”

Software for determining image similarity?

This is a lazyweb request – I’m looking for something but I don’t even know if it exists. I have about 200 photos (headshots) and I’d like to make an animation that runs through them in order of, for lack of a better term, visual similarity. I’m not talking about morphing or just fading between the images in arbitrary order. Is there software out there that, given a reference image and a set of images to select from, can choose the most similar image?
Obsolescence

Obsolescence

With the help of Flagrant Disregard’s “Motivator” maker and a photo from Wikipedia, I’ve produced this little poster to get you pumped up for your next big computer purchase. (Here’s the full-size version.) Ian Blackman commented : Please may I use yoour obsolescence “motivator” image for a press article I am writing. If you are ok with that would you want us to reference you in anyway? Thanks in anticipation.