<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for sune</title>
    <link>http://www.advogato.org/person/sune/</link>
    <description>Advogato blog for sune</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Fri, 24 May 2013 10:12:43 GMT</pubDate>
    <item>
      <pubDate>Wed, 2 Jul 2003 20:46:50 GMT</pubDate>
      <title>2 Jul 2003</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=6</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=6</guid>
      <description>&lt;strong&gt;Jup, that's me&lt;/strong&gt;

&lt;p&gt; From &lt;em&gt;The Collaborative International Dictionary of English
v.0.44:&lt;/em&gt;

&lt;p&gt; &lt;pre&gt;
  Procrastinator \Pro*cras"ti*na`tor\, n.
       One who procrastinates, or defers the performance of
            anything.
                 [1913 Webster]
&lt;/pre&gt;

&lt;p&gt; &lt;strong&gt;Vanity blog&lt;/strong&gt;

&lt;p&gt; As a consequence of the above mentioned feature of mine I am depressingly bad at keeping vanity blogs updated. This is clearly evident from my diary here.

&lt;p&gt; &lt;strong&gt;Reading&lt;/strong&gt;

&lt;p&gt; &lt;em&gt;Bugs in Writing&lt;/em&gt; by Lyn Dupr\'e and &lt;em&gt;G\:odel, Escher, Bach&lt;/em&gt; by Douglas R. Hofstadter. The former is part of my mission to become a better writer; the latter is good philosophical reading.

&lt;p&gt; &lt;strong&gt;Hacking&lt;/strong&gt;

&lt;p&gt; I got tired of Twisted some time ago. So, in a fit of Hybris, I wrote a network-programming library using stackless tasklets, and built a web server on top of it. Also, I implemented most of Zope Page Templates. Put those two together, and you get a web server that you can easily hack, along with nice separation of logic and presentation. And you get it without the icky frameworks that the Twisted (and Zope, I suppose) crowd like so much. I like it. A lot.</description>
    </item>
    <item>
      <pubDate>Wed, 7 Mar 2001 10:34:02 GMT</pubDate>
      <title>7 Mar 2001</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=5</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=5</guid>
      <description>&lt;a href="http://www.advogato.org/person/olandgren/" &gt;olandgren&lt;/a&gt;: The problem with composing 
addlist and pairwiseMult is that pairwiseMult needs to have 
signature &lt;tt&gt;int list -&amp;gt; int list&lt;/tt&gt; not &lt;tt&gt;int list -&amp;gt; 
int list -&amp;gt; int list&lt;/tt&gt;.  By wrapping it all up in a 
function you can fix things just nicely: &lt;tt&gt;val dothigh = 
fn l =&amp;gt; addlist o (pairwiseMult l);&lt;/tt&gt;.</description>
    </item>
    <item>
      <pubDate>Sat, 27 Jan 2001 12:59:23 GMT</pubDate>
      <title>27 Jan 2001</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=4</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=4</guid>
      <description>&lt;a href="http://www.advogato.org/person/olandgren/" &gt;olandgren&lt;/a&gt;: About
continuations, there is a
undergrad course in Programming Language (Theory) at &lt;a
href='http://www.diku.dk/'&gt;DIKU&lt;/a&gt; which have some &lt;a
href='http://www.diku.dk/teaching/2000e/dat2-progsprog/exmess.html#exercises'&gt;on-line
lecture notes&lt;/a&gt; on continuations, among other things.

&lt;p&gt; [ Correction: I s/CORBA/ORBit/'ed in various places. ]

&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;strong&gt;Hacking:&lt;/strong&gt; [Beware: ugly-ish picturesque
langauge] Blech -- I thought I was going to have some Good
Wholesome Fun(tm) fiddling with CORBA in Python.  Then I
discovered that PyORBit is (1) completely undocumented and
(2) sucks goats nuts. orbit-python OTOH needs me to patch
automake before I can build it, could they at the least not
have include pre-autogenned files?

&lt;p&gt; &lt;p&gt; &lt;p&gt; I better see go see if a patched automake will make
orbit-python (and hopefully me) Happy.

</description>
    </item>
    <item>
      <pubDate>Thu, 25 Jan 2001 21:29:11 GMT</pubDate>
      <title>25 Jan 2001</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=3</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=3</guid>
      <description>&lt;strong&gt;Hacking:&lt;/strong&gt; I've finally gotten around to
doing some hacking; for the two past nights I've been doing
the grunt-work of a freeciv-protcol library in Python. I'm
not sure if I want to take it much further, though, or if
grokking the protocol (my original goal) is enough. . .

&lt;p&gt; Having a freeciv client (oh no, not another freeciv
client!) in Python might be the entire exercise worth,
though.  Should make scripting a fairly easing thing to
integrate.  Mmm. . .

&lt;p&gt; &lt;p&gt;
&lt;strong&gt;Work:&lt;/strong&gt;  Greatness abounds at work.  Almost
all of today was spent writing a custom, RAID-capable,
company-specific Debian installer; just having to enter
hostname, etc. and have a Debian base-system on RAID when
you come back from the coffee-machine is going to rule.  Oh,
and the best thing ofcourse is that's it's fun doing :-).</description>
    </item>
    <item>
      <pubDate>Tue, 23 Jan 2001 13:15:05 GMT</pubDate>
      <title>23 Jan 2001</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=2</guid>
      <description>&lt;strong&gt;Scheme:&lt;/strong&gt; What better way to spend the time
of your lunch-break at work than solving
&lt;a href="http://www.advogato.org/person/mbp/" &gt;mbp&lt;/a&gt;'s Scheme-challenge?  I can't think of
any, so here's my stab:

&lt;p&gt; &lt;pre&gt;-- (define (f s)
  (lambda (g)
    (if (equal? s "")
	(let ((t (g (lambda (h) ""))))
	  (if (equal? t "")
	      ""
	      (g (f ""))))
	(string-append
	 (string-head s 1)
	 (g (f (string-tail s 1)))))))
f
-- ((f "Js nte ceeWnae")(f "utAohrShm anbe"))
"Just Another Scheme Wannabee"
&lt;/pre&gt;

&lt;p&gt; Wonder if not there's a nicer way of doing that
&lt;tt&gt;then&lt;/tt&gt;-branch?

&lt;p&gt; &lt;p&gt;
And, now back to my regularly scheduled work.</description>
    </item>
    <item>
      <pubDate>Thu, 18 Jan 2001 18:50:39 GMT</pubDate>
      <title>18 Jan 2001</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=1</guid>
      <description>&lt;strong&gt;work:&lt;/strong&gt; I have not been to work in something
like two weeks time, exams taking their toll.  So, not much
to say but that I'll be going back in-to the trenches
tomorrow, yay!

&lt;p&gt; &lt;p&gt;
&lt;strong&gt;comp.sci.:&lt;/strong&gt; My one exam is finally over;
hopefully I'll never again have to hand-craft SLR-parse
tables, or convert IEEE floats from binary to decimal.

&lt;p&gt; &lt;p&gt;
&lt;strong&gt;comp.lang.python:&lt;/strong&gt; Sadly a lonely post to
comp.lang.python is the only hackish thing I've done in a
while; it seems I learned something from my first-year
comp.sci. programming-and-data-structures course, though,
since I cooked up a &lt;a
href='http://mel.interspace.dk/~sune/examples/binary_search.py
'&gt;binary search of a list of numbers&lt;/a&gt; in no time (as is only
fitting :-).

&lt;p&gt; &lt;p&gt;
&lt;strong&gt;real programming(tm):&lt;/strong&gt; I have been thinking
about getting back into freeciv-hacking, as I recall it was
actually not so bad.  I probably spent more time hacking the
sources than playing the game :-).  &amp;lt;rant&amp;gt; This was
probably brough on by my getting pissed with Activision
after buying CtpII. CtpII is probably the suckiest
Civilization-clone out there. For one thing the AI is so bad
it probably could not beat my old, computer-illiterate
grand-mother.  And don't get me started on the UI, makes me
want to cry :-/ &amp;lt;/rant&amp;gt;</description>
    </item>
    <item>
      <pubDate>Tue, 9 Jan 2001 19:44:57 GMT</pubDate>
      <title>9 Jan 2001</title>
      <link>http://www.advogato.org/person/sune/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/sune/diary.html?start=0</guid>
      <description>&lt;b&gt;att. conservation notice:&lt;/b&gt; first diary, c.s. student,
unix sys.adm.

&lt;p&gt; &lt;p&gt;
&lt;b&gt;work:&lt;/b&gt; nothing much interesting to say here, I work
as (part-time) system administrator for a small web-enabled
company, where I am the local *nix guru, Perl hacker and
geek in general.  Good job, nice people and good perks, and
I just got green light to move our servers to Debian
(they are being reorganized).

&lt;p&gt; &lt;p&gt;
&lt;b&gt;edu:&lt;/b&gt; computer science major, with a minor in math.,
trying to prepare for exam (T-7days and counting). C.S. is
generally a full of cool things for me to learn, but there
are some really boring things too, for example creating
SLR-parse tables by hand :-(.

&lt;p&gt; &lt;p&gt;
&lt;b&gt;programming:&lt;/b&gt; hmm. . .  I did some Windows programming
yesterday, needed to somehow get a list of existing drives.
It seems one cannot do this, so you have to do something
like,
&lt;pre&gt;  for(int i=1; i&amp;lt;26; ++i)
    if(_cdrive(i))
      printf("%c exists, whee!\n", 'A' + i - 1);&lt;/pre&gt;
hackish, to say the least, imho.</description>
    </item>
  </channel>
</rss>
