<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for carey</title>
    <link>http://www.advogato.org/person/carey/</link>
    <description>Advogato blog for carey</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Fri, 5 Sep 2008 12:53:01 GMT</pubDate>
    <item>
      <pubDate>Sat, 30 Sep 2000 03:03:00 GMT</pubDate>
      <title>30 Sep 2000</title>
      <link>http://www.advogato.org/person/carey/diary.html?start=5</link>
      <guid>http://www.advogato.org/person/carey/diary.html?start=5</guid>
      <description>&lt;p&gt;&lt;a href="http://www.advogato.org/person/rillian/" &gt;rillian&lt;/a&gt;: Are you thinking of editline,
perhaps?  I don't know if there's an `official' location,
but the BSDs seem to use it.  See &lt;a
href="http://www.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libedit/"&gt;FreeBSD's
CVS for libedit&lt;/a&gt; for example.

&lt;p&gt; &lt;p&gt;&lt;b&gt;4Suite&lt;/b&gt;: A new version of &lt;a
href="http://fourthought.com/4Suite/"&gt;4Suite&lt;/a&gt; is out, and
it seems considerably faster when rendering &lt;a
href="http://home.clear.net.nz/pages/c.evans/"&gt;my web
pages&lt;/a&gt;.  Very nice.  I've also simplified the process a
little, which may have something to do with it.  Although I
haven't worked out how to pass anything more that a string
as an XSLT parameter to 4XSLT, so I'm pickling an array of
tuples, then unpickling the array in an extension function
and returning a node list.  This is not at all simple.

&lt;p&gt; &lt;p&gt;&lt;b&gt;Shell scripting&lt;/b&gt;: I've got myself a dynamic DNS
name set up at
&lt;a
href="//www.dyndns.org/"&gt;dyndns.org&lt;/a&gt;.  Unfortunately, my
ADSL modem/router uses NAT, and my ISP uses a transparent
HTTP proxy, so there's no automatic way to get the current
IP
address.  I've been working on using SNMP to get the address
from the router,
and I've ended up with a demonstration of the power of the
Unix shell.

&lt;p&gt; &lt;pre&gt;snmpentry () {
  snmpwalk -O qs "$1" "$2" "$3" | while read -r INDEX VALUE
  do
    if [ "$VALUE" = "$4" ]; then
      echo $INDEX | cut -d '.' -f 2-
    fi
  done
}
&lt;/pre&gt;

&lt;p&gt; &lt;p&gt;The idea of this is that I call it as:

&lt;p&gt; &lt;pre&gt;  entry=$(snmpentry m11 public ifDescr \
    "Nokia Telecommunications, M11, PPP")&lt;/pre&gt;

&lt;p&gt; &lt;p&gt;to get the number of the PPP interface.  Then I use
snmpget to get the ifIndex:

&lt;p&gt; &lt;pre&gt;  ifIndex=$(snmpget -O qs m11 public ifIndex.$entry) \
    | cut -d ' ' -f 2-)&lt;/pre&gt;

&lt;p&gt; &lt;p&gt;and look up the IP address of that interface, using the
snmpentry function again:

&lt;p&gt; &lt;pre&gt;  IP=$(snmpentry m11 public ipAdEntIfIndex $ifIndex)
&lt;/pre&gt;

&lt;p&gt; &lt;p&gt;Now I've got an IP address that I can hand off to &lt;a
href="http://burry.dyndns.org/ddclient/"&gt;ddclient&lt;/a&gt; or
whatever, without using any C, Perl, Python, sed or awk.

&lt;p&gt; &lt;p&gt;Don't ever say shell scripting is dead.</description>
    </item>
    <item>
      <pubDate>Thu, 14 Sep 2000 12:20:18 GMT</pubDate>
      <title>14 Sep 2000</title>
      <link>http://www.advogato.org/person/carey/diary.html?start=4</link>
      <guid>http://www.advogato.org/person/carey/diary.html?start=4</guid>
      <description>Nothing much is happening right now.  A &lt;a
href="http://lists.fourthought.com/pipermail/4suite/2000-September/thread.html#423"&gt;thread
I started&lt;/a&gt; on
the &lt;a href="http://fourthought.com/4Suite/" &gt;4Suite&lt;/a&gt;
mailing list has spread to a few other &lt;a
href="http://www.pythonlabs.com/"&gt;Python&lt;/a&gt;
lists, discussing how to output Unicode in various 8-bit
encodings.  The issue is that &lt;em&gt;any&lt;/em&gt; Unicode character
can be encoded (as &amp;amp;#321; for example) but that in some
character sets it can be represented as an 8-bit character
('\xa3' in ISO-8859-2), and should be when possible.
&lt;p&gt;
The big project at work is going well - the right
people seem properly impressed, although I need to make a
few big changes.  Unfortunately (?) I can't transfer the
code from development and testing with &lt;a
href="http://java.apache.org/jserv/"&gt;Apache
JServ&lt;/a&gt; to &lt;a
href="http://www.as400.ibm.com/websphere/"&gt;IBM Websphere on
AS/400&lt;/a&gt; yet due to an
apparent bug in the OS/400 JRE.
&lt;p&gt;
From there we segue to &lt;a
href="http://www.mozilla.org/"&gt;Mozilla&lt;/a&gt;, which I'm using
to make sure
the project's web pages will look OK on Windows.  Recent
builds don't work at all for me since the project uses Basic
authentication, and so does the firewall proxy.  Given the
number of people who've noticed, I'm hoping this will get
fixed
soon. My own contribution to Mozilla is &lt;a
href="http://bugzilla.mozilla.org/show_bug.cgi?id=43260"&gt;bug
id 43260&lt;/a&gt;.  I'm
not really sure it's Mozilla's fault, but I don't see IBM
fixing their software.  Maybe I'll report a software fault
and see.
&lt;p&gt;
&lt;b&gt;Personal:&lt;/b&gt; I've been looking through the older CD's in
my collection and playing a few that I bought when my taste
in music was a bit different.  Some of them have lasted well
and been played many times, like &lt;a
href="http://www.garbage.net/disc/garbage.htm"&gt;Garbage&lt;/a&gt;,
but I just pulled
out &lt;i&gt;This Is Your Night&lt;/i&gt; by &lt;a
href="http://au.music.yahoo.com/muze/performer/Amber.html"&gt;Amber&lt;/a&gt;,
which hasn't been
played recently. I still quite like
it, actually, though it's not what I buy now.</description>
    </item>
    <item>
      <pubDate>Thu, 7 Sep 2000 11:51:22 GMT</pubDate>
      <title>7 Sep 2000</title>
      <link>http://www.advogato.org/person/carey/diary.html?start=3</link>
      <guid>http://www.advogato.org/person/carey/diary.html?start=3</guid>
      <description>&lt;b&gt;&lt;a href="http://www.advogato.org/person/mutende/" &gt;mutende&lt;/a&gt;:&lt;/b&gt; Whoa! Nostalgia!
&lt;p&gt;I've just apt-get installed gopherd, and spent a bit of
time browsing gopher for the first time in four or five
years.  There's not a lot left, is there?  Once I sort out a
static IP address, I'll see about putting some stuff up on
gopher myself, just because I can.
&lt;p&gt;I'll need some kind of content though.  I wonder how hard
it would be to write XSLT to convert my web pages' XML
source into text as well as HTML.  (The &lt;A
href="http://home.clear.net.nz/pages/c.evans/gen/"&gt;current
source code&lt;/a&gt; is all Free, of course, but not really
suitable for release.)
&lt;p&gt;&lt;b&gt;&lt;a href="http://www.prf.co.nz/" &gt;Work&lt;/a&gt;:&lt;/b&gt; My boss
made excuses for my big project
being late by saying I was working on some really
complicated features.  Unfortunately, I wasn't working on
that particular bit, and I've got a demo due on Monday.
&lt;p&gt;&lt;b&gt;Home:&lt;/b&gt; I decided a while ago to do up the kitchen
in my
apartment first, and leave my student-flat-bathroom until
later.  I've been convinced that a gas (LPG) hob will be
really good for cooking, but right at the moment it looks
like it's the dishwasher
that will make the most difference.
&lt;p&gt;&lt;b&gt;Phwoarr:&lt;/b&gt;
&lt;blockquote&gt;&lt;em&gt;... I would kill to be near you,&lt;br&gt;So that
we can sin again...&lt;/em&gt;&lt;/blockquote&gt;
&lt;p&gt;- &lt;a
href="http://flyingnun.co.nz/bands/FionaMcD/fionamcdonald.htm"&gt;Fiona
McDonald&lt;/a&gt;, &lt;i&gt;A Different Hunger&lt;/i&gt;, "Sin Again"</description>
    </item>
    <item>
      <pubDate>Sun, 3 Sep 2000 12:24:02 GMT</pubDate>
      <title>3 Sep 2000</title>
      <link>http://www.advogato.org/person/carey/diary.html?start=2</link>
      <guid>http://www.advogato.org/person/carey/diary.html?start=2</guid>
      <description>&lt;p&gt;I haven't really got much done since the last entry. 
Mitigating circumstances (i.e. lame excuse) this weekend is
that it's Father's Day today and I was shopping for that
yesterday.

&lt;p&gt; &lt;p&gt;I also went to see X-Men yesterday with my brother. 
Great movie, with some great lines ("What would you prefer?
Yellow spandex?"), though Storm's line to Toad a little
later sounded a bit forced.

&lt;p&gt; &lt;p&gt;Did I actually manage some &lt;em&gt;subtle&lt;/em&gt; humour?  I
posted a comment to &lt;a
href="news:comp.lang.python"&gt;comp.lang.python&lt;/a&gt; on Friday
about &lt;a
href="http://www.deja.com/=dnc/getdoc.xp?AN=664727593"&gt;pronouncing
the new "print &amp;gt;&amp;gt;" statement&lt;/a&gt; in Python 2.0, and it
looks like some people took it more seriously than I
intended. I definitely didn't want anyone to continue the
"discussion" about it any further.

&lt;p&gt; &lt;p&gt;(Now playing: Garbage, &lt;em&gt;Version 2.0&lt;/em&gt;, "You look so
fine".)</description>
    </item>
    <item>
      <pubDate>Wed, 30 Aug 2000 10:34:34 GMT</pubDate>
      <title>30 Aug 2000</title>
      <link>http://www.advogato.org/person/carey/diary.html?start=1</link>
      <guid>http://www.advogato.org/person/carey/diary.html?start=1</guid>
      <description>&lt;p&gt;&lt;a
href="http://www.geocities.com/SiliconValley/Peaks/7814/"&gt;X3270&lt;/a&gt;
is definitely non-free.  Bummer.  I'm not even
sure if Debian can keep it in non-free.

&lt;p&gt; &lt;p&gt;According to Kevin Wozniak at GTRC:

&lt;p&gt; &lt;blockquote&gt;The source code that you inquired about may not
be incorporated, bundled,
packaged, or accompany any other product that is sold,
licensed, or provided
to another user for commercial purposes....&lt;/blockquote&gt;

&lt;p&gt; &lt;p&gt;I do feel a little guilty about not really looking into
this until there was a Free (GPL/LGPL) program available to
do 5250 emulation.  It may be a little pointless getting
this worried about a product that is only used to access the
very proprietary &lt;a href="http://www.as400.ibm.com/" &gt;IBM
AS/400&lt;/a&gt; system.

&lt;p&gt; &lt;p&gt;More cool stuff:

&lt;p&gt; &lt;ul&gt;
&lt;li&gt;Dairy free chocolate
&lt;li&gt;&lt;a
href="http://www.cs.indiana.edu/elisp/gui-xemacs/"&gt;XEmacs/GTK&lt;/a&gt;
&lt;li&gt;&lt;a href="http://www.tadpole.co.nz/" &gt;Tadpole&lt;/a&gt;
&lt;/ul&gt;

&lt;p&gt; &lt;blockquote&gt;&lt;em&gt;It's a definite sensation that I've done all
this before...&lt;/em&gt;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 28 Aug 2000 10:31:46 GMT</pubDate>
      <title>28 Aug 2000</title>
      <link>http://www.advogato.org/person/carey/diary.html?start=0</link>
      <guid>http://www.advogato.org/person/carey/diary.html?start=0</guid>
      <description>&lt;p&gt;I should probably have signed up with Advogato a while
ago, but I've been a bit busy recently.  Now that I've got a
bit of spare time (gained partly from staying up too late)
I'm going to try to dedicate a bit more time to free
software work.

&lt;p&gt; &lt;p&gt;Current projects are:

&lt;p&gt; &lt;ul&gt;
&lt;li&gt;Work out what to do about &lt;a
href="http://www.iro.umontreal.ca/contrib/recode/HTML/"&gt;recode&lt;/a&gt;'s
IBM870 character set, which doesn't have the same definition
as IBM's &lt;a
href="http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/QB3AQ500/F.40"&gt;CCSID
870&lt;/a&gt;.  This means that &lt;a
href="http://www.linux-sna.org/software/5250/"&gt;tn5250&lt;/a&gt;
does the wrong character translations between Polish EBCDIC
and ISO-8859-2.

&lt;p&gt; &lt;li&gt;Update my &lt;a
href="http://packages.debian.org/tn5250"&gt;Debian tn5250
package&lt;/a&gt;.  Given the time since the last release, I think
I'm going to have to package a CVS snapshot, and I also want
to separate out lib5250 as a separate package.  This will
take some time and work, which is why I've been putting it
off.

&lt;p&gt; &lt;li&gt;Bug &lt;a href="http://www.gtrc.gatech.edu/" &gt;GTRC&lt;/a&gt; about
the &lt;a
href="http://www.geocities.com/SiliconValley/Peaks/7814/Lineage.html"&gt;x3270
license&lt;/a&gt; again.  Does anyone have any contacts
there?

&lt;p&gt; &lt;li&gt;See if I can handle any more Debian packages, or helping
out in other areas.  tn5250 uses &lt;a
href="http://www.xs4all.nl/~rfsber/Robo/robodoc.html"&gt;Robodoc
&lt;/a&gt;to generate some of the documentation, and it's not
packaged...

&lt;p&gt; &lt;li&gt;Buy more RAM so that I can run Gnome, XEmacs and Mozilla
all at the same time.  *g*
&lt;/ul&gt;

&lt;p&gt; &lt;p&gt;No doubt I'll think of more as time goes by.  Feel free
to bug me if nothing seems to be happening with these
ones.

&lt;p&gt; &lt;p&gt;Cool things:

&lt;p&gt; &lt;ul&gt;
&lt;li&gt;ADSL
&lt;li&gt;Advogato *g*
&lt;li&gt;&lt;a
href="http://www.debian.org/News/2000/20000815"&gt;Debian 2.2
release&lt;/a&gt;
&lt;li&gt;&lt;a href="http://www.xiph.org/ogg/vorbis/" &gt;Ogg Vorbis&lt;/a&gt;
and &lt;a href="http://www.xmms.org/" &gt;XMMS&lt;/a&gt;
&lt;li&gt;&lt;a href="http://www.w3.org/TR/xslt" &gt;XSLT&lt;/a&gt;
&lt;li&gt;&lt;a href="http://sinfest.net/" &gt;Sinfest&lt;/a&gt;
&lt;li&gt;Filter
&lt;/ul&gt;</description>
    </item>
  </channel>
</rss>
