Name: Toby Thain
Member since: 2002-01-24 11:10:04
Last Login: 2012-02-26 19:30:27



More info at

GPL (and non-free) software I have written

A modest wish: that our doings and dealings may be of a little more significance to life than a man's dinner-jacket is to his digestion. Yet not a little of what we describe as our achievement is, in fact, no more than a garment in which, on festive occasions, we seek to hide our nakedness.

Dag Hammarskjöld, Markings, translated by W.H. Auden and Leif Sjöberg

Recent blog entries by haruspex

11 Nov 2010 (updated 11 Nov 2010 at 17:25 UTC) »
fozbaca You should take that "Grammar Cheat Sheet" with a grain of salt. Some of it is dubious or plain wrong. To top it off, the cutesy labels on the comment form are excruciatingly poorly worded - so the post is not a very good advertisement for the guide.
ncm: Amen to that
1 Mar 2009 (updated 1 Mar 2009 at 06:27 UTC) »
nconway, I don't see why people try to solve races like the Doctors problem through transactions and isolation levels. Row level locking in InnoDB prevents the race regardless of the isolation level in use.

SELECT COUNT(*) INTO @n FROM Duties WHERE Shift=@s AND Status='on 
if @n > 1 then
    UPDATE Duties SET Status='reserve' WHERE DoctorId=@d AND Shift=@s;

If you're not familiar with InnoDB, the SELECT establishes a critical section covering the on duty doctors. This same sequence executing concurrently will block until the connection with the lock has checked the count. The COMMIT (or ROLLBACK) will unblock the other connection waiting for the lock. In case the first connection committed an UPDATE which reduced the count to 1, the second connection, when unblocked, will see the new count of 1 and not make any update.

lkcl: The buyout has been off the table for a considerable time. You may relax, it won't happen.

@ marnanel: Sounds like you are best finding another country.

Come to Canada, at least we respect and are knowledgeable about other countries and cultures. The condescension of your child's teacher and your bank is not worth tolerating.

270 older entries...


haruspex certified others as follows:

  • haruspex certified rms as Master
  • haruspex certified novelli as Journeyer
  • haruspex certified karlberry as Journeyer
  • haruspex certified timbl as Master

Others have certified haruspex as follows:

  • neurogato certified haruspex as Journeyer
  • juancpaz certified haruspex as Journeyer
  • lerdsuwa certified haruspex as Journeyer
  • snim2 certified haruspex as Journeyer
  • nixnut certified haruspex as Journeyer
  • mentifex certified haruspex as Apprentice
  • mpr certified haruspex as Journeyer
  • badvogato certified haruspex as Master
  • novelli certified haruspex as Master
  • fxn certified haruspex as Journeyer
  • himitsuheiki certified haruspex as Journeyer
  • fzort certified haruspex as Apprentice

[ Certification disabled because you're not logged in. ]

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!

Share this page