tl;dr: In which I attempt to montage jpeg which comprises areas of differing internal jpeg quality, for fun and, er… artistic geeky interest.
Continue reading
Tag Archives: computer
my experiment in custom iPhone ringtones via linux
thanks to recent nautilus (I assume is responsible – as seen in Ubuntu Lucid Lynx) ability to view the iPhones file paths, we can try this (typing this as I go, so this is draft on-the-fly quality notes) Continue reading
building a better atq
I was frustrated at the poor information available by atq (what’s that? You’ll tell me WHEN you’re running stuff, but not WHAT you’re running? This seems a little out of order!)
In fact, atq is literally out of order – I guess the idea is that you pipe it through sort. very very old-school thinking
At the other end of the scale, at -c
provides an information overload of EVERYTHING about the job. (60+ lines of env? yikes. I don’t need to know that most of the time!)
So where is the simple and useful summary that I’d genuinely expect of atq?
ie, not only the queued command times, but WHAT those commands are – one per line.
As a result, here is my simple “batq” – a better atq
#!/bin/bash # a better atq # # returns the original atq output in bold # AND IN ADDITION, ALSO: # * returns items sorted # * the intended working directory # * the command to be run # # TODO: # $command is not robust - will fail on multiple lines function do_extraqinfo() { while read job ; do jobid=$(echo $job | awk '{print $1}') detail=$(at -c $jobid) dir=$(echo "$detail" | egrep ^cd | sed -e 's/cd \(.*\) || {/\1/g') command=$(echo "$detail" | tail -1) # alter the following line if the bold offends you tput bold ; echo -n "$job" ; tput sgr0 echo " $dir $command" done } atq | sort | do_extraqinfo
as hot as… summer of ’10
So once again, my quarterly report on the temperature range outside my rack at knee level, and inside my rack at shoulder level – above two machines. Continue reading
augmented thinking
Now this, I am sure you will agree, is a damn cool presentation of some excellent ideas.
http://www.ted.com/talks/blaise_aguera.html
If you haven’t seen it, then do so now.
If you have, proceed… Continue reading
as hot as, end of spring edition
Previously I posted winter temperature ranges in the ThorxBlog post: as hot as…
Here are the spring results
So in 3 months of spring, the ‘indoor’ (outside the rack) temperatures: 14.4 – 33.8C
And the “outdoor” (inside the rack) for the same winter season: 22.6 – 45C
So in short – not too different from winter… a couple of degrees warmer all around… though I bet a bellcurve plot of common temperatures would show a slightly different bias to the story too.
Thermometer reset, and into summer… hello summer!