Home
heviosso
22 February 2008 @ 03:59 pm
we have a dust problem!
 
 
Mood: bored
Now listening: in flames -- borders and shading
 
 
heviosso
09 January 2008 @ 03:06 am
Just found out that one of our (slind) recent night builds failed to the point of destroying the repository on the main server (that is, rsyncing up an empty repository). Which in itself is not much of a problem, but still sets it several days back and not to mention the bandwidth. This, however is not why we're here.

Investigation of the problem that caused said failure was much shorter than I dreaded and the problem itself turned out to be pretty simple. Each time the build starts, one of the scripts involved downloads a database file, which is most important for the build infrastructure. It used to do so by issuing 'curl $URL'. Pretty simple, but not safe against network and/or server failures. Then, one of our engineers decided to make it safer by patching it like this (these snippets are simplified, see below for original code):

- curl $URL
+ curl $URL || die "Failed to download a very important file!"


...which is a nice try, except that curl will always exit with 0 code regardless of HTTP response code, unless given -f/--fail option. IOW, we still have incorrect code, but this one gives us false sense of security.
And of course, if -f was there the night before, the repository wouldn't have been destroyed at all.

P.S. And the commit in question is here.
 
 
Mood: sleepy
Now listening: amorphis -- the white swan
 
 
heviosso
21 December 2007 @ 10:04 pm
It turns out so that in OSS projects of small to medium size (in terms of contributors involved), a developer working alone in a certain area might feel abandoned and lonely and sometimes might even resort to using bugzilla to attract others' attention.
Slind bug #62. Note the 'reporter', 'assignee' and me in carbon list.
 
 
Mood: bitchy
 
 
heviosso
08 November 2007 @ 09:02 pm
is absolutely awesome
 
 
Now listening: diane arkenstone -- adrift
 
 
heviosso
19 September 2007 @ 02:52 pm
QotD  
ACE can be obtained electronically via the WWW and ftp.
Building and installing ACE
 
 
heviosso
22 July 2007 @ 12:18 am
 
 
heviosso
10 July 2007 @ 04:15 pm
MotD  
A colleague of mine just made up
arp who-cares (request).
 
 
heviosso
06 July 2007 @ 02:56 pm
IceWhistle
 
 
heviosso
06 June 2007 @ 10:20 pm
QotD  
Democracy means that anyone can grow up to be president, and anyone who doesn't grow up can be vice president.
© Johnny Carson
 
 
Now listening: opeth -- reverie - harlequin forest
 
 
heviosso
20 November 2006 @ 05:21 pm
Brand new IT position: Projector Manager.
Inspired by sigabrt [info]siglost running in circles in search for a projector.
 
 
Mood: lazy
 
 
heviosso
29 August 2006 @ 08:50 pm

via sloganizer.net
 
 
Mood: accomplished
Now listening: Nazareth -- Dressed to Kill