water on grass (at flickr)
water on grass (at flickr)
Zendegi: Amazon.co.uk: Greg Egan: Books: Remember the rules: If it's written by Egan, it's worth reading.
I know where you are (at flickr)
After watching the frequency of collected posts and the subscriber list for a couple of weeks, I've decided to turn off Planet Solaris.
As before, this has nothing to do with any request from Oracle.
OpenSolaris news can be had from Planet OpenSolaris.
Thanks for reading over the last few years, it was fun.
Update: Stoyan Angelov decided to resurrect and curate things, so it's back.
Cognitive Surplus: Creativity and Generosity in a Connected Age: Amazon.co.uk: Clay Shirky: Books: Better use of our otherwise idle brain power?
emacs, convert dos to unix and vice versa « /home/edivad: Saving a file with different line endings in emacs.
Today's Guardian (Phil Gyford’s website): Excellent interface for reading today's Guardian content.
St. Ives harbour (at flickr)
testing ON changes with OpenSolaris installers - Liane Praza's Weblog: Using the distro constructor to generate ISO and USB install images for OpenSolaris.
The Early Days of a Better Nation: Red Plenty: Enthusiastic review of Red Plenty.
eucalyptus (at flickr)
How to Manage the Automatic ZFS Snapshot Service - OpenSolaris
2009.06 Information Resources -
wikis.sun.com:
Managing the automatic snapshot service in OpenSolaris. If installing
using the text-mode installer, the package to add is
service/storage/zfs-auto-snapshot.
RFC 3156 - MIME Security with
OpenPGP: Information on how to
generate and parse multipart/signed containing PGP.
twin stars (at flickr)
General Reference Filing with Org Mode: Details of an interesting approach to collecting reference material - particularly the part about how to reference scanned documents.
Now that Sun Microsystems is a wholly owned subsidiary of Oracle, I've decided to shut down Planet Sun.
To forestall any questions, this decision is not the result of any pressure or request from Oracle (or Sun) - no-one from the company has contacted me at all about Planet Sun.
Thanks for reading over the last five or six years, it was fun.
Today I have a new employer, Oracle. How much effect this has on my day-to-day life remains to be seen - I'm not anticipating great changes. It does mean that I should re-iterate something that I haven't mentioned for a few years:
All views expressed on this blog are those of David Edmondson and do not necessarily reflect the views of any other entity, including Sun Microsystems and Oracle.
git ready » squashing commits with
rebase:
Merging multiple commits into a single commit using git rebase -i.
How to delete a remote branch - Gitorious | Google Groups: Cleaning up remote repositories that include now-defunct branches.
GuruPlug Server: Second generation SheevaPlug looks interesting - adds WiFi, Bluetooth, eSATA and (optionally) two gigabit ethernet interfaces.
DebianExperimental - Debian Wiki: How to use the occasional experimental package.
ResourceSpace: Open Source Digital Asset Management (DAM): PHP/MySQL based digital resource management solution originally developed for Oxfam.
iSCSI: Opensolaris target, Fedora initiator, with CHAP - For the good of all of us: Configuring CHAP authentication for a Fedora iSCSI initiator.
Alasdair on Everything » Solaris as an iSCSI Server with ZFS: Configuring CHAP authentication for a Windows iSCSI initiator.
stevenf.com - I need to talk to you about computers. I’ve been...: Nice contrast between New World and Old World computing.
Tim says:
For creative people, this device is nothing.
Which seems like a very odd statement. By the same token, would art galleries, museums, theatre performances, music concerts, etc. all be classed as "nothing" for creative people?
Using OpenSolaris extras & support repositories : frontline: How to acquire a certificate for access to the OpenSolaris extra repository.
Sustainable Energy - Without the Hot Air: Amazon.co.uk: David J.C. MacKay: Books: United Kingdom focussed book on sustainable (rather than renewable) energy sources.
Like many other people, I work with others who are spread around the globe. Figuring out when is a good time to call, what would be a sensible meeting time, etc. is always awkward - especially when the daylight savings rules keep changing.
Here's a small script called wwt that I use to help understand what
the time is:
#!/bin/sh
# Which timezones to report
zones="UTC \
Europe/London Europe/Paris \
US/Eastern US/Central US/Mountain US/Pacific \
Asia/Shanghai"
local="${TZ}"
if [ "${TZ}" = "" ]; then
local=`cat /etc/timezone`
fi
a="$*"
# If no time is specified, use now.
if [ "${a}" = "" ]; then
a=`date`
fi
# Determine if the specified time makes sense and determine the 'fully
# qualified' version of the specified time, i.e. including the date.
o="--date=TZ=\"${local}\" ${a}"
d=`date "${o}"`
if [ "$?" -ne 0 ]; then
echo "\"${a}\" makes no sense."
exit 1
fi
o="--date=TZ=\"${local}\" ${d}"
for i in ${zones}; do
t=`TZ=${i} date "${o}" +"%l:%M%p" | tr '[A-Z]' '[a-z]'`
d=`TZ=${i} date "${o}" +"%A %e %B %Y (%Z, %:::z)"`
s="${i}#${t}#${d}"
echo ${s}
done | awk -F\# '{printf("%16s: %s %s\n", $1, $2, $3);}'
I use it in three ways: to find out what time it is now in various places (my local timezone is set to Europe/London, where it's now 11:54pm):
$ wwt
UTC: 11:54pm Tuesday 19 January 2010 (UTC, +00)
Europe/London: 11:54pm Tuesday 19 January 2010 (GMT, +00)
Europe/Paris: 12:54am Wednesday 20 January 2010 (CET, +01)
US/Eastern: 6:54pm Tuesday 19 January 2010 (EST, -05)
US/Central: 5:54pm Tuesday 19 January 2010 (CST, -06)
US/Mountain: 4:54pm Tuesday 19 January 2010 (MST, -07)
US/Pacific: 3:54pm Tuesday 19 January 2010 (PST, -08)
Asia/Shanghai: 7:54am Wednesday 20 January 2010 (CST, +08)
$
To find out what time it would be when it's 8am here:
$ wwt 8am
UTC: 8:00am Tuesday 19 January 2010 (UTC, +00)
Europe/London: 8:00am Tuesday 19 January 2010 (GMT, +00)
Europe/Paris: 9:00am Tuesday 19 January 2010 (CET, +01)
US/Eastern: 3:00am Tuesday 19 January 2010 (EST, -05)
US/Central: 2:00am Tuesday 19 January 2010 (CST, -06)
US/Mountain: 1:00am Tuesday 19 January 2010 (MST, -07)
US/Pacific: 12:00am Tuesday 19 January 2010 (PST, -08)
Asia/Shanghai: 4:00pm Wednesday 20 January 2010 (CST, +08)
$
To find out what time it would be when it's 8am in US/Pacific:
$ TZ=US/Pacific wwt 8am
UTC: 4:00pm Tuesday 19 January 2010 (UTC, +00)
Europe/London: 4:00pm Tuesday 19 January 2010 (GMT, +00)
Europe/Paris: 5:00pm Tuesday 19 January 2010 (CET, +01)
US/Eastern: 11:00am Tuesday 19 January 2010 (EST, -05)
US/Central: 10:00am Tuesday 19 January 2010 (CST, -06)
US/Mountain: 9:00am Tuesday 19 January 2010 (MST, -07)
US/Pacific: 8:00am Tuesday 19 January 2010 (PST, -08)
Asia/Shanghai: 12:00am Thursday 21 January 2010 (CST, +08)
$
It would still be nice if Google Calendar had decent timezone support, of course.
Update: Steve pointed out that the date for Europe/Paris was incorrect in the second two examples. Given that he was right, I fixed the script.
Always Innovating: Introducing the Touch Book: Interesting ARM based laptop/touchpad device. The keyboard is optional and can be detached, though it includes a big extra battery. USB attachment internally is novel, if a little Heath Robinson.
pvaneynd - java studdenly started
failing: Java uses
PF_INET6 sockets even for IPv4 addresses. This began failing when
some stack defaults were changed. Here's the incantation to revert the
behaviour: sysctl net.ipv6.bindv6only=0.
git-config(1):
Useful for lots of things, but in this case for the (recently updated)
rules about whitespace (see core.whitespace).
SoftwareTime - Home: Microsoft Windows software to restrict the amount of time someone spends on the computer.
Disable Safari's ability to handle PDF files - Mac OS X Hints: I almost never want this, so it's nice to be able to turn it off.
Panasonic Lumix GF1 Field Test — 16 Days in the Himalayas: Beautifully written and presented review of the GF1 (via Tom Armitage).
Learn You a Haskell for Great Good!: Colourful introduction to Haskell, soon to appear in paper form.
Five cscope tips: Nice tips from meem.
It's always been the case that small shell scripts are one of the
things that makes using Unix a joy. Here's last week's invention,
called num:
#!/bin/sh
#
# ln -s num 2
# ln -s num 3
# ln -s num 4
count=`basename $0`
loop=0
while [ $loop -lt $count ]; do
eval $*
loop=`expr $loop + 1`
done
Dnsmasq: Using the same IP for the wired and wireless interface of a laptop: Convenient when a machine is occasionally connected via a wired interface (good when doing large backups!).
Captain Jack's Back (at flickr)
sub-urban (at flickr)
Ubuntu 9.10: Karmic Koala:
Workarounds for Karmic, including how to have ~/.xsession read when
logging in via gdm.
Real World Haskell: If I'm going to have to learn a configuration language for a window manager, then I might as well make it something more interesting than Lua.
Dreaming in Code: Still haven't got around to this.
As part of an effort to reduce the number of applications I need to remember to start, learn, look at and keep up to date, I starting using Adium for IRC. Annoyingly, all of the message styles are more oriented towards instant messaging, where conversations typically have only a couple of active participants. For a higher volume conversation the styles waste a lot of screen space and/or look very garish. Anyway, here's my solution - a more minimal and muted style:

It would be useful to add a little highlighting (of messages in which one is mentioned, for example), but I'm reasonably happy with this so far.
xVM Dependencies on Installer/LiveCD layouts (Community Group xen.install-depedencies) - XWiki:
Includes details of some extra options when using AI. In particular,
livessh=enable is very useful.
Rubénerd Blog / Notes on using NetBSD’s pkgsrc on Mac OS X: Potted instructions, including details on upgrading.