Home
Alan De Smet [entries|archive|friends|userinfo]
Alan De Smet

[ website | High Programmer ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

I love GNU units [Jun. 17th, 2008|05:45 pm]
[Tags|, ]

GNU units is a simple command line tool for doing units conversions. You know, inches to centimeters and the like. The sort of thing you can also do in Google. But GNU units is even smarter and more insane than Google. Here are a few of my favorite conversions:

First, how to read units output. Here is a typical invocation:

% units
2438 units, 71 prefixes, 32 nonlinear units

You have: inch 
You want: cm  
        * 2.54
        / 0.39370079

The "*" line is the answer. It's phrased that way because if you have any number of inches, you can multiply it by 2.54 and get centimeters. The "/" line is if you want to go the other way. This is all needlessly clever for our purposes, so I'll just quote the "*" line, which is almost always what you want anyway.

In a Simpsons episode, Grandpa Simpson mentions that "My car gets forty rods to the hogshead, and that's the way I likes it!" So what's that in miles per gallon?

You have: 40 rods per hogshead
You want: miles per gallon
        * 0.001984131

Not so impressive, since even Google can figure that one out; although a few years ago it couldn't.

How about the novelty unit "attoparsecs per microfortnight?" Google doesn't even try.

You have: 1 attoparsec per microfortnight
You want: inches per second
        * 1.0043268

Finally, and my favorite, how big of an explosion would you get if you smacked a kilogram of matter into a kilogram of antimatter? Google offers 1.79751036 × 10^17 joules, but that's not real helpful. Google can't convert into a useful comparison. So let's ask units:

You have: 2 kilograms*c*c
You want: megatons tnt
        * 42.961529

There you go!

LinkLeave a comment

Chrontron: awesome time traveling robot game [May. 6th, 2008|10:59 pm]
[Tags|, ]

Go play Chronotron!

It's a cool platformer/puzzle hybrid where you control a time traveling robot. All of the levels require traveling back in time, sometimes repeatedly, to work with yourself to retrieve the missing part for your time ship.

Video walkthroughs are available. It doesn't look like all of the levels have walkthroughs yet, but I expect he'll be adding more.

Disclosure: The creator is a friend of mine, and I helped playtest it. But it's still a cool game and I highly recommend it.

(2008-05-07 edit: spelling.)

Link2 comments|Leave a comment

Giant images made of people [Nov. 9th, 2007|11:17 pm]
[Tags|]

Apparently from roughly 1915 to 1920, people experimented with making large designs from people and photographing them. Since the photographs weren't taken from terribly high up, in the front you used relatively small numbers of people, but in the background you need many times more. Some of these photographs are of 25,000 people. Check out a bunch here. (If that link goes bad, try here.)
LinkLeave a comment

What does Marsellus Wallace Look Like? [Mar. 10th, 2007|10:54 pm]
[Tags|, ]

A neat textual interpretation of the "What does Marsellus Wallace Look Like" scene from Pulp Fiction. (Flash video with audio at YouTube.) Not safe for work.
LinkLeave a comment

Maps of War - interactive maps [Feb. 17th, 2007|10:24 pm]
[Tags|]

Something for the cartophiles: Maps of War does interactive maps using Flash. Here's cool satellite photos showing one of Saddam's palaces before and after our occupation.
LinkLeave a comment

The Secret Life of Machines free online [Feb. 17th, 2007|04:13 pm]
[Tags|, , ]

The cool old BBC series The Secret Life of Machines is available online, free and legal. In it Tim Hunkin and Rex Garrod explain how machines work. It's low budget and really, really geeky. The technology is sometimes out of date, but it's still fascinating. That particular site tends to be really slow, so I recommend The Secret Life of Machines at Google Video.
LinkLeave a comment

Animated puberty. [Jan. 9th, 2007|09:10 pm]
[Tags|]

A Dutch animation (dubbed into English) showing male and female puberty in a minute or so. Yup, that seems about right. (Probably not safe for work.)
LinkLeave a comment

Cool angelic photo of a gunship [Jan. 9th, 2007|09:09 pm]
[Tags|]

The lead photo in this article is rather striking. It looks almost angelic.

(Via Pete Keller.)

LinkLeave a comment

1983 Dungeons & Dragons commercial [Dec. 19th, 2006|10:45 pm]
[Tags|, , ]

Hey, this Dungeons & Dragons thing looks pretty neat. Maybe I should check it out.

(Via Workbench.)

LinkLeave a comment

Lasse Gjertsen's "Amateur" [Dec. 13th, 2006|11:35 pm]
[Tags|, , ]

Lasse Gjertsen's "Amateur." Apparently being able to play the drums and piano is unnecessary to making music with them. Apparently being skilled with a video editing suite is plenty. Lasse, you're totally insane. I love it!
LinkLeave a comment

Sticking unusual things in blenders. [Nov. 9th, 2006|10:50 pm]
[Tags|]

People with lesser blenders pour the Coke out of the into the blender. If you've got a Blendtec blender, the kind you see in most coffee shops, you don't need to. Check out a bunch of other deeply inappropriate things being put into Blendtec blenders. It may be an advertising campaign, but it's a really amusing advertising campaign.
LinkLeave a comment

Best license plate ever [Oct. 31st, 2006|08:22 pm]
[Tags|, ]

Best personalized license plates ever. Even better than "dev car".

(Via Chuck4's blog.)

LinkLeave a comment

Board Games with Scott: Great reviews of board games in video form [Aug. 21st, 2006|05:44 pm]
[Tags|, , ]

At Board Games with Scott, Scott reviews board games. Instead of just a written review, Scott puts together video reviews. Scott makes good use of the medium, showing off the game's parts and showing live examples of play. He's also taking the time to edit his review down so the result is reasonably tight; too many podcasters just dump huge chunks of content online without bothering to edit out the boring parts. As an added bonus Scott is clearly a gamer geek that I could get along with. He brings a great sense of humor to the reviews. He clearly loves gaming and is seeking out great board game experiences. If you're into board games (and card games and party games) Board Games with Scott is a great place to see some reviews.
LinkLeave a comment

Optical illusion: illusionary color [Jun. 9th, 2006|07:23 pm]
[Tags|]

A cool optical illusion creating color where there is none. It's just a variation on the "stare at the image for a white, then suddenly look at a white wall" trick, but it's still cool. Via a co-worker.
LinkLeave a comment

Yay! Medical science! [Apr. 4th, 2006|05:57 pm]
[Tags|, , ]

Apparently medical science is further ahead than I'd thought. Scientists are growing simple synthetic organs (is this case helping a 16-year-old girl live a more normal life). Gene therapy is being used in people (is this case to cure a previously incurable genetic condition that left two men with immune systems unable to deal with bacterial infections).

Hooray for science!

(Via Pete.)

LinkLeave a comment

There's No Such Website! [Mar. 28th, 2006|07:43 pm]
[Tags|, , ]

Mark Evanier created and runs the game "There's No Such Website" off his blog news from me. Here's Mark's description:

Yes, it's time for a great new game which we just invented. It's called There's No Such Website! and your mission, should you choose to accept, is to spot the fib. Below are links and descriptions for five websites. Four of them actually exist on the Internet. One is a phony that we made up. Study all five and see if you can guess which link won't lead you to the website in question. There is no prize for this except that you get to visit four weird websites and to feel smug if it doesn't take you five clicks to find the phony. Enjoy.

Now I think Mark's blog is great reading anyway and recommend it. Mark's a writer of just about anything. His work includes comic books, television shows, material for stand-up comedians. It seems like Mark's met everyone in the movie and television industries and his blog is full of amusing anecdotes about people he's met. He's also taken it upon himself to write obituaries for various celebraties that Mark feels are important, but won't get much coverage elsewhere. Add on top some healthy, open minded political discussion and you've got a great blog.

But if you're not tempted to read his blog, or you just missed a few games, I now maintain an index to all of the There's No Such Website! games Mark has run. Go play a few!

LinkLeave a comment

Blue Rapper is about to die [Mar. 15th, 2006|09:39 pm]
[Tags|, , ]

Thanks to mc chris, I now know that the music from the original Gauntlet video game makes a pretty fly backing track for rap. Check out The Tussin (free MP3).
LinkLeave a comment

Donut burgers! [Mar. 14th, 2006|08:04 pm]
[Tags|, ]

As Colbert said when he covered it in The Colbert Report, "like all great ideas it's both surprising and inevitable."
The Grizzlies and Krispy Kreme Doughnuts have teamed up to create "Baseball's Best Burger." The burger, which was debuted at the Grizzlies' December 10th sale, consists of a thick and juicy burger topped with sharp cheddar cheese and two slices of bacon. The burger is then placed in between each side of a Krispy Kreme Original Glazed doughnut.

It was apparently so inevitable that such a burger was a key plot element in one of this season's The Boondocks.

LinkLeave a comment

Police and Profiling [Feb. 7th, 2006|09:31 pm]
[Tags|, , ]

"Troublemakers: What pit bulls can teach us about profiling" is a fascinating article. It spends lots of time showing why profiling as most people understand it ("Let's just search the middle-eastern young men at airports") is a bad idea. That by itself is worth the read, but I found a snippit about New York City's crime reduction fascinating. New York's crime continues to go down, the article gives a compelling reason why:

he N.Y.P.D. has a computerized map showing, in real time, precisely where serious crimes are being reported, and at any moment the map typically shows a few dozen constantly shifting high-crime hot spots, some as small as two or three blocks square. What the N.Y.P.D. has done, under Commissioner Kelly, is to use the map to establish "impact zones," and to direct newly graduated officers—who used to be distributed proportionally to precincts across the city—to these zones, in some cases doubling the number of officers in the immediate neighborhood

That's just cool. It's a smart use of technology. I'm strongly in favor of increased police presence as a way to reduce crime. This system does exactly that while being more efficient at the same time.

(Via Schneier on Security, who focused on the profiling aspect.)

LinkLeave a comment

Fun with perspective and chalk [Feb. 7th, 2006|09:28 pm]
[Tags|]

Check out some neat sidewalk chalk drawings by Julian Beever and Kurt Wenner.

(Via Mark Evanier's news from me 1 and 2)

LinkLeave a comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]

Advertisement