Logiciel Libre

October 30, 2006

Dilbert Creator’s Voice

Filed under: Default — Tags: — adam @ 10:31 pm

Scott Adams is the creator of the Dilbert comic strip. The story of his voice is pretty incredible–a definite “must read”.

I caught wind of this on Slashdot.

October 27, 2006

Endearing Ads

Filed under: Default — Tags: — adam @ 6:50 pm

Advertising brought Classmates.com into infamy. But a recent article in the Seattle Times reminded me of the fun side of ads: when people you know show up. The two featured in the article were bosses, coworkers, and are good friends of mine. Here’s to Bryce and L.A.!

Ah yes, and I also wanted to take this opportunity to revive a related hilarious photoshop challenge (possibly NFSW).

October 19, 2006

Golden …wha-a-a-t?

Filed under: Default — Tags: — adam @ 9:54 pm

I’d do anything to see the episodes of The Golden Girls with Quentin Tarantino.

October 16, 2006

Batching with at

Filed under: Default — Tags: — adam @ 10:26 pm

Batch processing is a term that mainframe programmers used to use to refer to scheduled jobs. Batch processing is a form of automation, since the scheduled jobs must be able to execute without human interaction. Automation is fun, and is quite useful even in today’s post-mainframe world. While setting up automated tasks is time-consuming, the goal is to save time in the long run since you can reuse the commands you told the computer to perform.

at(1) is a program useful for scheduling a single job for execution. It is incredibly simple and can be quite useful in a pinch.

Say I wanted to run a one-time build of some software overnight.

$ at 10pm today
at> cd ~/my_source && ./make
at> <CTRL-D>
job 22 at 2006-10-14 17:00

Voila! The output will be collected by at and emailed to me.

What I actually typed in was:

at 10pm today<ENTER>
cd ~/my_source && ./make<ENTER>
<CTRL-D>

If I screw up typing in the job command(s), I use atrm <JOB_ID> to remove it. atq lists jobs ids and scheduled date/time and at -c <JOB_ID> prints out the actual shell script that makes up a job.

batch(1) lets me run a job whenever system load permits. On my Fedora Core 5 desktop, the computer is usually just sitting idle so I never schedule jobs with batch(1).

According to the man page, Thomas Koenig wrote most of at. Thanks, Thomas!

Powered by WordPress