<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Jed Laundry</title> <atom:link href="http://www.jlaundry.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.jlaundry.com</link> <description></description> <lastBuildDate>Mon, 20 Aug 2012 21:41:18 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.5</generator> <item><title>OCR a scanned PDF with Tesseract</title><link>http://www.jlaundry.com/2012/ocr-a-scanned-pdf-with-tesseract/</link> <comments>http://www.jlaundry.com/2012/ocr-a-scanned-pdf-with-tesseract/#comments</comments> <pubDate>Mon, 20 Aug 2012 21:41:18 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[ocr]]></category> <category><![CDATA[pdf]]></category> <category><![CDATA[tesseract]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=236</guid> <description><![CDATA[Simple really: I wanted to OCR a scanned PDF, then embed the output text back into the PDF so that I can search. Surprisingly, an application for this doesn&#8217;t already exist, so here&#8217;s my script:]]></description> <content:encoded><![CDATA[<p>Simple really: I wanted to OCR a scanned PDF, then embed the output text back into the PDF so that I can search. Surprisingly, an application for this doesn&#8217;t already exist, so here&#8217;s my script:</p><pre class="brush: bash; title: ; notranslate">
#!/bin/sh
cp $1 $1.bak
pages=$(pdftk $1 dump_data output | grep NumberOfPages | sed -E 's/(.*): (\d*)/\2/g')
for i in `seq 1 $pages`;
do
        convert -monochrome -density 600 $1\[$(($i - 1 ))\] page$i.tif
        tesseract page$i.tif output -l eng
        pdftk $1 attach_files output.txt to_page $i output $1.new
        mv $1.new $1
        rm output.txt
done
</pre>]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2012/ocr-a-scanned-pdf-with-tesseract/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Aladdin eToken on Ubuntu 11.10 (oneiric ocelot) amd64</title><link>http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-10-oneiric-ocelot-amd64/</link> <comments>http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-10-oneiric-ocelot-amd64/#comments</comments> <pubDate>Mon, 10 Oct 2011 02:03:45 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[etoken]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[safenet]]></category> <category><![CDATA[smartcard]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=223</guid> <description><![CDATA[Update: In my mad rush to get everything working, I completely missed that 8.1 was released, which adds native 64-bitness. Apart from linking /usr/lib64/libeToken.so to /usr/lib/libeToken.so.8, there are no hacks required anymore! Yay! I&#8217;ve just installed the oneiric release candidate. And I like the changes. And I like that with a little tweaking, my eToken [...]]]></description> <content:encoded><![CDATA[<p><strong>Update: In my mad rush to get everything working, I completely missed that 8.1 was released, which adds native 64-bitness. Apart from linking /usr/lib64/libeToken.so to /usr/lib/libeToken.so.8, there are no hacks required anymore! Yay!</strong></p><p>I&#8217;ve just installed the oneiric release candidate. And I like the changes. And I like that with a little tweaking, my eToken still works!</p><p>I did a bare-metal install, as I&#8217;ve now upgraded to SSD. So, I&#8217;ve updated my tutorial to match.</p><ol><li>Install 11.10 amd64. Now, even though SAC amd64 is supposed to be amd64, they lied, and it ships with i386 binaries that just happen to work on amd64. So you&#8217;ll need to prep your x86_64 system with i386 goodness, by using:<pre class="brush: plain; title: ; notranslate">sudo apt-get install ia32-libs libhal1 opensc pcscd</pre><p></p><ul><li>Note that I said libhal1, in DIRECT CONTRADICTION to SafeNet&#8217;s user guide. if you don&#8217;t, you&#8217;ll see things pop up in /var/log/syslog like<pre class="brush: plain; title: ; notranslate">pcscd: dyn_unix.c:37:DYN_LoadLibrary() /usr/lib/pcsc/drivers/aks-ifdh.bundle/Contents/Linux/libAksIfdh.so: libhal.so.1: cannot open shared object file: No such file or directory</pre></li></ul></li><li>You&#8217;ll need the 32-bit libpcsclite1 and libhal1. Simply run:<pre class="brush: plain; title: ; notranslate">
wget http://archive.ubuntu.com/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.7.2-2ubuntu2_i386.deb
wget http://archive.ubuntu.com/ubuntu/pool/main/h/hal/libhal1_0.5.14-0ubuntu6_i386.deb
dpkg -x libpcsclite1_1.7.2-2ubuntu2_i386.deb libpcsclite1-i386
dpkg -x libhal1_0.5.14-0ubuntu6_i386.deb libhal1-i386
sudo cp libpcsclite1-i386/lib/libpcsclite.so.1.0.0 /lib32
sudo cp libhal1-i386/usr/lib/libhal.so.1.0.0 /usr/lib32
sudo ln -s /usr/lib32/libhal.so.1.0.0 /usr/lib32/libhal.so.1
sudo ln -s /lib32/libpcsclite.so.1.0.0 /lib32/libpcsclite.so.1
</pre></li><li>Download the SafeNet Authentication Client for Linux 8.0. <em>In theory</em> you should have a support agreement with SafeNet to download this, but you CAN find it on Google, including from SafeNet themselves (hint: try SAC instead of the full spelling). Install it with<pre class="brush: plain; title: ; notranslate">dpkg -i SafenetAuthenticationClient-8.0.5-0_amd64.deb</pre></li></ol><p><strong>Note: if you&#8217;ve got this working before, you&#8217;ll notice that in 11.10 they&#8217;ve moved from /usr/lib being a link of /usr/lib64 to being it&#8217;s own directory; the result being the new location of /usr/lib64/libeTPkcs11.so for your PKCS11 applications.</strong></p><p>So there you go. If you add the /usr/lib64/libeTPkcs11.so to Firefox and Thunderbird, you should see your certificates. If you run PKIMonitor, you should be able to modify your eToken.</p><p>For a quick verification, run<pre class="brush: plain; title: ; notranslate">pkcs11-tool --module /usr/lib64/libeTPkcs11.so -L</pre><p>, and you should see your eToken.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-10-oneiric-ocelot-amd64/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Aladdin eToken on Ubuntu 11.04 (natty narwhal) amd64</title><link>http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-04-natty-narwhal-amd64/</link> <comments>http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-04-natty-narwhal-amd64/#comments</comments> <pubDate>Fri, 08 Jul 2011 04:53:30 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[etoken]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[safenet]]></category> <category><![CDATA[smartcard]]></category> <category><![CDATA[ubuntu]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=212</guid> <description><![CDATA[Update: this has been updated for 11.10, check it out here. This is more complicated than it should be, for no real reason. I like my eToken, and have been trying for a good year to get it working on 64-bit Linux. Today, I sat down, started from scratch, and nutted it out. The following [...]]]></description> <content:encoded><![CDATA[<p><strong>Update: this has been updated for 11.10, check it out <a
href="http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-10-oneiric-ocelot-amd64/">here</a>.</strong></p><p>This is more complicated than it should be, for no real reason. I like my eToken, and have been trying for a good year to get it working on 64-bit Linux. Today, I sat down, started from scratch, and nutted it out. The following 3-step procedure should be all that&#8217;s needed to get it working.</p><ol><li>Install 11.04 amd64. Now, even though SAC amd64 is supposed to be amd64, they lied, and it ships with i386 binaries that just happen to work on amd64. So you&#8217;ll need to prep your x86_64 system with i386 goodness, by using:<pre class="brush: plain; title: ; notranslate">sudo apt-get install ia32-libs libhal1 opensc pcscd</pre><p></p><ul><li>Note that I said libhal1, in DIRECT CONTRADICTION to SafeNet&#8217;s user guide. if you don&#8217;t, you&#8217;ll see things pop up in /var/log/syslog like<pre class="brush: plain; title: ; notranslate">pcscd: dyn_unix.c:37:DYN_LoadLibrary() /usr/lib/pcsc/drivers/aks-ifdh.bundle/Contents/Linux/libAksIfdh.so: libhal.so.1: cannot open shared object file: No such file or directory</pre></li></ul></li><li>Download the SafeNet Authentication Client for Linux 8.0. <em>In theory</em> you should have a support agreement with SafeNet to download this, but you CAN find it on Google, including from SafeNet themselves (hint: try SAC instead of the full spelling). Install it with<pre class="brush: plain; title: ; notranslate">dpkg -i SafenetAuthenticationClient-8.0.5-0_amd64.deb</pre></li><li>Finally, you&#8217;ll need the 32-bit libpcsclite1. Simply run:<pre class="brush: plain; title: ; notranslate">
wget http://archive.ubuntu.com/ubuntu/pool/main/p/pcsc-lite/libpcsclite1_1.7.2-2ubuntu2_i386.deb
dpkg -x libpcsclite1_1.7.2-2ubuntu2_i386.deb libpcsclite1-i386
sudo cp libpcsclite1-i386/lib/* /lib32
</pre></li></ol><p>So there you go. If you add the /usr/lib/libeTPkcs11.so to Firefox and Thunderbird, you should see your certificates. If you run PKIMonitor, you should be able to modify your eToken.</p><p>For a quick verification, run<pre class="brush: plain; title: ; notranslate">pkcs11-tool --module /usr/lib/libeTPkcs11.so -L</pre><p>, and you should see your eToken.</p><p>Also, good-bye Windows XP. This was the last thing preventing me from using Ubuntu on a daily basis, and now you&#8217;ve been completely replaced.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2011/aladdin-etoken-on-ubuntu-11-04-natty-narwhal-amd64/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>KVM virtual console to physical TTY</title><link>http://www.jlaundry.com/2011/kvm-virtual-console-to-physical-tty/</link> <comments>http://www.jlaundry.com/2011/kvm-virtual-console-to-physical-tty/#comments</comments> <pubDate>Tue, 21 Jun 2011 01:19:17 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[kvm]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[sysadmin]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=207</guid> <description><![CDATA[This took me longer than it should&#8217;ve to figure out&#8230; I wanted to take the virtual console (pts) from a KVM virtual machine, and map it to a physical tty, so that I could login to my virtual machine from the physical keyboard, without having to login to the virtual host itself. This can be [...]]]></description> <content:encoded><![CDATA[<p>This took me longer than it should&#8217;ve to figure out&#8230; I wanted to take the virtual console (pts) from a KVM virtual machine, and map it to a physical tty, so that I could login to my virtual machine from the physical keyboard, without having to login to the virtual host itself. This can be done with a simple one-liner:</p><p><code>screen /dev/pts/1 > /dev/tty9 < /dev/tty9 &#038;</code></p><p>Add that to /etc/rc.d/rc.local to start on system startup (hopefully after the VM has started), and I'm all set!</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2011/kvm-virtual-console-to-physical-tty/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Surprise!</title><link>http://www.jlaundry.com/2011/surprise/</link> <comments>http://www.jlaundry.com/2011/surprise/#comments</comments> <pubDate>Sun, 16 Jan 2011 00:39:30 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Personal]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=200</guid> <description><![CDATA[Here be the official spilling of the beans to the internet. Apologies to anyone we didn’t manage to tell in person who feels they should have been told before this, we did our best. Here goes: Beverley and I are trying our hand at growing a human child. We’re at the 12 week mark as [...]]]></description> <content:encoded><![CDATA[<p>Here be the official spilling of the beans to the internet. Apologies to anyone we didn’t manage to tell in person who feels they should have been told before this, we did our best.</p><p>Here goes: Beverley and I are trying our hand at growing a human child.</p><p>We’re at the 12 week mark as of today, and preliminary results are promising. The Junior Laundry is exhibiting signs of being indeed human. YUS! Here&#8217;s the first official baby photo:</p><p><a
href="http://www.jlaundry.com/wp-content/uploads/FaceUp.jpg"><img
src="http://www.jlaundry.com/wp-content/uploads/FaceUp-300x199.jpg" alt="" title="Baby Laundry" width="300" height="199" class="alignnone size-medium wp-image-202" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2011/surprise/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>pfSense IPv6 HowTo (PPTP with Thomson ST536v6 in NZ)</title><link>http://www.jlaundry.com/2010/pfsense-ipv6-howto-pptp/</link> <comments>http://www.jlaundry.com/2010/pfsense-ipv6-howto-pptp/#comments</comments> <pubDate>Mon, 23 Aug 2010 07:04:24 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[ipv6]]></category> <category><![CDATA[pfsense]]></category> <category><![CDATA[st536v6]]></category> <category><![CDATA[telecomnz]]></category> <category><![CDATA[thomson]]></category> <category><![CDATA[virtualbox]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=186</guid> <description><![CDATA[I&#8217;ve just spent a few hours getting this going, and so I thought I&#8217;d write up a quick howto. Install VirtualBox. Windows Virtual PC doesn&#8217;t support starting machines as services, and I never really liked VMWare Server due to it&#8217;s high overhead. Created a virtual machine and install pfSense 1.2.3. Accept VirtualBox&#8217;s default FreeBSD settings, except [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve just spent a few hours getting this going, and so I thought I&#8217;d write up a quick howto.</p><ol><li>Install VirtualBox. Windows Virtual PC doesn&#8217;t support starting machines as services, and I never really liked VMWare Server due to it&#8217;s high overhead.</li><li>Created a virtual machine and install <a
href="http://www.pfsense.org/">pfSense</a> 1.2.3. Accept VirtualBox&#8217;s default FreeBSD settings, except create 2 network cards (pfSense won&#8217;t work without at least 2), both bridged to the physical network interface. Remember that the modem will run on a different IP address range (10.0.0.138), and so while using VLANs and actually separating the networks is an option, having everything on the same network won&#8217;t do anything bad.</li><li>Now that pfSense is running, setup the Thomson ST536v6 to act as a PPTP server. This is so that pfSense will get the real, public internet connection with real-world IP address. Much nicer than having to use NAT or DMZ, and the Thomson does a nice job of this. Telnet into the modem (remember the default username is Administrator and password is blank) and run the following commands (which WILL destroy your current config). Note: <a
href="http://forums.whirlpool.net.au/archive/595905">this</a> forum post is mostly correct, but I kept getting an &#8220;Invalid phonebook destination name, phonebook is in use.&#8221; error when trying to flush the ATM interface without first detaching it.<pre class="brush: plain; title: ; notranslate">:system reset
:ppp relay flush
:eth flush
:atm ifdetach intf=atm_0_100
:atm flush
:ppp flush
:atm phonebook flush
:saveall
:atm phonebook add name=BrPPPoE_ph addr=0.100
:service system modify name=PPTP state=enabled
:saveall
:system reboot</pre></li><li>After power cycling the modem, time to configure pfSense. Bind LAN to em0 and WAN to em1 (or vice-versa, doesn&#8217;t matter). pfSense will take forever bringing up the WAN interface, because it&#8217;s expecting a DHCP lease which isn&#8217;t available. The LAN interface will start acting as a DHCP server, which is good, given you&#8217;ve just told your modem to stop doing that.</li><li>Login to the pfSense web UI. Under Interfaces, select WAN. Change the Type to PPTP. The Username and Password won&#8217;t have any effect for Telecom ADSL connections (user@xtrabb.co.nz and telecom work fine), but for UBS or LLU connections you&#8217;ll need to use something specific. Set the Local IP address to 10.0.0.139/24 and the Remote IP address to 10.0.0.138 (which the modem should be listening on, as well as 192.168.1.254).</li><li>Not quite sure what causes the PPTP connection to stand up (I think I just waited and it came up automatically), but at this point you could probably power cycle the virtual pfSense and it should all liven up. If you&#8217;ve done it right, you should have an internet connection on your clients (you may need to refresh the DHCP lease). Step one complete!</li><li>Now for tunnelled IPv6, to go <a
href="http://tunnelbroker.net">http://tunnelbroker.net</a> and sign up for a tunnel. Don&#8217;t forget to tick the IPv6 enable box (under Advanced in pfSense&#8217;s System menu)</li><li>There&#8217;s a great shell script <a
href="http://tuts4tech.net/2010/07/18/ipv6-tunnel-on-pfsense/">here</a> which takes care of creating the tunnel on pfSense. You&#8217;ll need to run this on each restart, but each time you restart your public IP address is likely to change anyway. I may get bored and update the script to handle this automatically at some point&#8230;</li><li>Anyway, if you can get to <a
href="http://ipv6.google.com">http://ipv6.google.com</a>, step two complete!</li></ol> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2010/pfsense-ipv6-howto-pptp/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>jQuery qtip &amp; fullcalendar</title><link>http://www.jlaundry.com/2010/jquery-qtip-fullcalendar/</link> <comments>http://www.jlaundry.com/2010/jquery-qtip-fullcalendar/#comments</comments> <pubDate>Fri, 02 Jul 2010 01:43:23 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=180</guid> <description><![CDATA[Was having a really strange problem today; getting qtip (1.0.0-rc3) and fullcalendar (1.4.5) to play nice. No matter what, it was erroring on line 139: Thankfully the intertubes had a very helpful post; changing line 134: to: made it all happy. Good coding practice FTW&#8230;]]></description> <content:encoded><![CDATA[<p>Was having a really strange problem today; getting qtip (1.0.0-rc3) and fullcalendar (1.4.5) to play nice. No matter what, it was erroring on line 139:</p><pre class="brush: jscript; title: ; notranslate">$(this).data('qtip').current = $(this).data('qtip').interfaces.length</pre><p>Thankfully the intertubes had <a
href="http://craigsworks.com/projects/forums/thread-intergrating-qtip-with-fullcalendar">a very helpful post</a>; changing line 134:</p><pre class="brush: jscript; title: ; notranslate">if(typeof $(this).data('qtip') == 'object')</pre><p>to:</p><pre class="brush: jscript; title: ; notranslate">if(typeof $(this).data('qtip') == 'object' &amp;&amp; $(this).data('qtip') !== null)</pre><p>made it all happy. Good coding practice FTW&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2010/jquery-qtip-fullcalendar/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Signs of life</title><link>http://www.jlaundry.com/2010/signs-of-life/</link> <comments>http://www.jlaundry.com/2010/signs-of-life/#comments</comments> <pubDate>Sun, 06 Jun 2010 12:04:46 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=173</guid> <description><![CDATA[Ya, it&#8217;s been a while since adding content to this site, I know. It&#8217;s on the todo list. While helping my lovely wife and my grandfather-in-law get their blogs online, I realised I&#8217;ve mostly neglected mine. It&#8217;s not because I don&#8217;t love you, sweet internets, but because I&#8217;ve found that the free time I once [...]]]></description> <content:encoded><![CDATA[<p>Ya, it&#8217;s been a while since adding content to this site, I know. It&#8217;s on the todo list.</p><p>While helping my lovely wife and my grandfather-in-law get their blogs online, I realised I&#8217;ve mostly neglected mine. It&#8217;s not because I don&#8217;t love you, sweet internets, but because I&#8217;ve found that the free time I once had for ranting online has almost vanished. It&#8217;s honours project time, my final year of uni, my victory lap. Although I don&#8217;t have exams, it feels like I&#8217;m being tested every day. It feels like it&#8217;s no longer fun whimsical nonsense, at uni and at work. And as much as I thought it never would, I want it to be over quickly.</p><p>I gave up writing for Nexus; not because I didn&#8217;t enjoy it, but because I felt my writing was getting to the stage of interestingness. Throughout all the articles of The Nerdery, you&#8217;ll notice a certain &#8220;shit, gotta get this done before Monday&#8221; feel to them. They were forced. And then, something happened at the start of the year; I felt like I had something to say. I felt like I had to educate the masses. Unfortunately, this came at a time where the new editor felt that Nexus had evolved too much over Josh&#8217;s tenure, and decided to take it back a notch. I felt like I no longer belonged.</p><p>It&#8217;s the sort of feeling I&#8217;m starting to find from places where I thought I had permanent membership.</p><p>Anywho, that&#8217;s enough emo for one night.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2010/signs-of-life/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>A simple Twisted PubSub Server</title><link>http://www.jlaundry.com/2009/a-simple-twisted-pubsub-server/</link> <comments>http://www.jlaundry.com/2009/a-simple-twisted-pubsub-server/#comments</comments> <pubDate>Thu, 26 Nov 2009 01:59:06 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[pubsub]]></category> <category><![CDATA[python]]></category> <category><![CDATA[twisted]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=170</guid> <description><![CDATA[I&#8217;ve been looking all day for this, and almost gave up and went back to Java. If you&#8217;re like me and want a simple PubSub server for Twisted, go here. Why did this take all day to find? Why can&#8217;t common things like this be explained in the Twisted documentation, the book, or even linked [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been looking all day for this, and almost gave up and went back to Java. If you&#8217;re like me and want a simple PubSub server for Twisted, go <a
href="http://www.olivepeak.com/blog/posts/read/simple-http-pubsub-server-with-twisted">here</a>.</p><p>Why did this take all day to find? Why can&#8217;t common things like this be explained in the Twisted documentation, the book, or even linked as example code? Something has to really frustrate me to make me want to use Java&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/a-simple-twisted-pubsub-server/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Safari Crashes, PubSubAgent has issues, everything dies, oh my!</title><link>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/</link> <comments>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/#comments</comments> <pubDate>Tue, 13 Oct 2009 03:59:25 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[bad apple]]></category> <category><![CDATA[Fail]]></category> <category><![CDATA[safari]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=165</guid> <description><![CDATA[Ever had one of those days, where everything just seems to be going wrong? Over the last 6 hours, I&#8217;ve been trying to debug why Safari, Mail.app, iTunes and Adium crash without ANY explanation, after any of said applications tried to load a webpage. It started randomly (haven&#8217;t made major changes in the last few [...]]]></description> <content:encoded><![CDATA[<p>Ever had one of those days, where everything just seems to be going wrong? Over the last 6 hours, I&#8217;ve been trying to debug why Safari, Mail.app, iTunes and Adium crash without ANY explanation, after any of said applications tried to load a webpage.</p><p>It started randomly (haven&#8217;t made major changes in the last few days), so I assumed it was something corrupted. The only hint was that after Safari, Mail, iTunes or Adium crashed, PubSubAgent would use 100% CPU time. So, I fire up Instruments and look at the trace for PubSubAgent. It seems to be calling CFHTTPCookieStorageFlushCookieStores many times, which is odd, because a quick Google doesn&#8217;t return anything useful about this system call, obviously related to CFHTTP.</p><p>Fast forward 4 hours later when I&#8217;ve cleared caches, nuked my Safari config, tried removing PubSubAgent (which just made it worse). The fix? Removing <strong>~/Library/Cookies/Cookies.plist</strong>. Oddly enough, it has a companion &#8211; <strong>~/Library/Cookies/Cookies.plist &#8211; corrupt</strong>.</p><p>So, just a recap; somewhere the system knew my Cookies file was corrupted. But instead of spitting this out to the Console, throwing a Dialog, or ANY form of useful information, I had to trudge through my Library looking for something which could be causing the problem, and manually removing it. It was by chance that I noticed the Cookies folder, which is strangely not in the Safari folder where one would normally expect it.</p><p>And just to make matters worse; Safari&#8217;s &#8220;Reset Safari&#8221; did nothing to solve the problem. That&#8217;s right, checking the &#8220;Remove all cookies&#8221; checkbox did NOT remove the cookies!</p><p>Good user interaction FTW!</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/safari-crashes-pubsubagent-has-issues-everything-dies-oh-my/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Snow Leopard: Outdated-software-R-us!</title><link>http://www.jlaundry.com/2009/snow-leopard-outdated-software-r-us/</link> <comments>http://www.jlaundry.com/2009/snow-leopard-outdated-software-r-us/#comments</comments> <pubDate>Fri, 18 Sep 2009 12:17:31 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[10.6]]></category> <category><![CDATA[apple security]]></category> <category><![CDATA[bad apple]]></category> <category><![CDATA[outdated software]]></category> <category><![CDATA[snow leopard]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=143</guid> <description><![CDATA[I apologize in advance for the lack of coherency in this post; it&#8217;s late, and I&#8217;m tired. So, I have a custom backup script (mostly because I know I can do it better for my workflow than some off the shelf solution). It uses tar&#8217;s listed-incremental function to do, as you can guess, incremental backups [...]]]></description> <content:encoded><![CDATA[<p><strong>I apologize in advance for the lack of coherency in this post; it&#8217;s late, and I&#8217;m tired.</strong></p><p>So, I have a custom backup script (mostly because I know I can do it better for my workflow than some off the shelf solution). It uses tar&#8217;s listed-incremental function to do, as you can guess, incremental backups over a monthly cycle. It&#8217;s been working well since I made it on Tiger, except today, the first time I&#8217;ve tried to take a backup since upgrading to Snow Leopard.Â It straight off failed, claiming it doesn&#8217;t understand listed-incrementals.</p><p>I&#8217;m scratching my head as to why (it&#8217;s really not a complex script), before I realise it&#8217;s using an older version of tar than what shipped with Tiger and Leopard (or it&#8217;s using BSD tar as opposed to GNU tar&#8230; but I can&#8217;t verify what Tiger/Leopard had, all I know is it worked previously). Hmmm&#8230; ok. So I open Macports, install the latest version of gnutar, removed the crappy Snow Leopard tar and all keps going happily&#8230; except I now have a wiggling suspicion in the back of my mind that there is another disturbance in the force&#8230;</p><p>I dig a little, and it&#8217;s not long before I discover that Apple also decided to ship bzip2 1.0.4, which has a <a
href="https://www.cert.fi/haavoittuvuudet/joint-advisory-archive-formats.html">security exploit</a> that was fixed 1 year 6 months before 10.6 was released&#8230;</p><p>WTF Apple? Is anyone paying attention to software releases over there? It makes me wonder, what other outdated, exploitable software is installed on my laptop?</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/snow-leopard-outdated-software-r-us/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Spam for Coffee&#8230;</title><link>http://www.jlaundry.com/2009/spam-for-coffee/</link> <comments>http://www.jlaundry.com/2009/spam-for-coffee/#comments</comments> <pubDate>Fri, 11 Sep 2009 09:29:03 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[BP]]></category> <category><![CDATA[coffee]]></category> <category><![CDATA[spam]]></category> <category><![CDATA[wild bean]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=141</guid> <description><![CDATA[So, me and Bev like coffee. In the morning, in the afternoon, in the evening. We also like sleep, and so our coffee time in the morning often results in getting 2 to go. Which is fine, because BP&#8217;s Wild Bean coffee is actually pretty good, and as we have travel mugs, quite reasonably priced. [...]]]></description> <content:encoded><![CDATA[<p>So, me and Bev like coffee. In the morning, in the afternoon, in the evening. We also like sleep, and so our coffee time in the morning often results in getting 2 to go. Which is fine, because BP&#8217;s Wild Bean coffee is actually pretty good, and as we have travel mugs, quite reasonably priced.</p><p>We collect the free coffee cards, and enjoy it. Except this morning, we notice that they&#8217;re phasing out the paper system in favor for a keyfob barcode. It&#8217;s ok though, if you register your keyfob <a
href="https://cafekeytag.co.nz/main">online</a>, you still get 6 for the price of 5, contradictory to the way Subway did it when they introduced their Subcard, when Subway sneakily increased the cost of a free lunch.</p><p>But the BP offer isn&#8217;t without a catch. To get the 6 for the price of 5 deal, you have to not only give them your email address, but also opt-in to their&#8230; well, it doesn&#8217;t actually say what I&#8217;m opting-into. For all I know I&#8217;m opting into daily advertising, or perhaps a free coffee on my birthday, or perhaps they&#8217;ll forget about it entirely and we&#8217;ll all just go about our days.</p><p>Will people accept Spam for slightly cheaper Coffee? It&#8217;s an interesting concept, I wonder how effective it will be&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/spam-for-coffee/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>ACM Code Poetry + Pizza Night&#8230;</title><link>http://www.jlaundry.com/2009/acm-code-poetry-pizza-night/</link> <comments>http://www.jlaundry.com/2009/acm-code-poetry-pizza-night/#comments</comments> <pubDate>Thu, 10 Sep 2009 08:15:07 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[waikato university]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/2009/acm-code-poetry-pizza-night/</guid> <description><![CDATA[&#8230; has been postponed. However, do not loose faith, it is happening. Unfortunately we just couldn&#8217;t do it in the first week back. Watch this space!]]></description> <content:encoded><![CDATA[<p>&#8230; has been postponed.</p><p>However, do not loose faith, it is happening. Unfortunately we just couldn&#8217;t do it in the first week back.</p><p>Watch this space!</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/acm-code-poetry-pizza-night/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Soundflower + 10.6 == &#8230;. Works (now anyway)</title><link>http://www.jlaundry.com/2009/soundflower-10-6-works-now-anyway/</link> <comments>http://www.jlaundry.com/2009/soundflower-10-6-works-now-anyway/#comments</comments> <pubDate>Mon, 31 Aug 2009 02:30:45 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[snow leopard]]></category> <category><![CDATA[soundflower]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=129</guid> <description><![CDATA[So, I&#8217;m procrastinating from writing my Java app. And when procrastinating, I like to listen to music. Except my laptop speakers suck, and as I&#8217;m home alone I would like to listen comfortably without headphones. Long story short; I need to hijack music form my laptop&#8217;s iTunes, and stream it to my desktop&#8217;s VLC or [...]]]></description> <content:encoded><![CDATA[<p>So, I&#8217;m procrastinating from writing my Java app. And when procrastinating, I like to listen to music. Except my laptop speakers suck, and as I&#8217;m home alone I would like to listen comfortably without headphones. Long story short; I need to hijack music form my laptop&#8217;s iTunes, and stream it to my desktop&#8217;s VLC or Windows Media Player.</p><p>Instantly I turn to an old favorite; <a
href="http://code.google.com/p/soundflower/">Soundflower</a>, which provides virtual inputs and outputs for MacOS. Except, it stopped working in Snow Leopard, the dialog:Â <strong>System extension cannot be used The system extension &#8220;/System/Library/Extensions/Soundflower.kext&#8221; was installed improperly and cannot be used.</strong> appears.<strong> </strong>Thankfully, it&#8217;s actually a simple problem and a simpler fix.</p><p>If you go:</p><pre class="brush: plain; title: ; notranslate">$ sudo kextutil /System/Library/Extensions/Soundflower.kext
/System/Library/Extensions/Soundflower.kext has problems:
Authentication Failures:
    File owner/permissions are incorrect (must be root:wheel, nonwritable by group/other):
        /System/Library/Extensions/Soundflower.kext/Contents/Info.plist
        /System/Library/Extensions/Soundflower.kext/Contents/MacOS/Soundflower
       /System/Library/Extensions/Soundflower.kext/Contents/Resources/Soundflower.xcconfig</pre><p>See, simple permissions problem! Running <strong>chown</strong> and <strong>chgrp</strong> cleans it up nicely. I&#8217;ve submitted <a
href="http://code.google.com/p/soundflower/issues/detail?id=27&#038;sort=-id#c7">the fix in the bug report</a>, and hopefully soon a fix will be officially released.</p><p>Now, back to streaming my music&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/soundflower-10-6-works-now-anyway/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>iPhone 3GS WiFi Speed Issues</title><link>http://www.jlaundry.com/2009/iphone-3gs-wifi-speed-issues/</link> <comments>http://www.jlaundry.com/2009/iphone-3gs-wifi-speed-issues/#comments</comments> <pubDate>Sat, 29 Aug 2009 21:04:13 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[bad apple]]></category> <category><![CDATA[iPhone]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/?p=126</guid> <description><![CDATA[So, since buying my iPhone 3GS, it&#8217;s been plauged with speed issues over WiFi. Not the awesome Lightwire service on campus, but my home, with my Cisco Aironet 123AG access point, the last place in the world I expect to have problems. For those lucky enough not to experience slack WiFi, the problem is that [...]]]></description> <content:encoded><![CDATA[<p>So, since buying my iPhone 3GS, it&#8217;s been plauged with speed issues over WiFi. Not the awesome <a
href="http://www.lightwire.co.nz">Lightwire</a> service on campus, but my home, with my Cisco Aironet 123AG access point, the <em>last</em> place in the world I expect to have problems.</p><p>For those lucky enough not to experience slack WiFi, the problem is that is some applications are completely unusable. Using the <a
href="http://i.dslr.net/tinyspeedtest.html">http://i.dslr.net/tinyspeedtest.html</a> website, my iPhone (on good days) gets ~4000ms pings and I~50kbps. But there should be no reason for this; The speedtest.net app works fine, showing speeds of ~14Mbps&#8230; Curious&#8230;</p><p>So, I did some packet captures (the capture point being on wired ethernet, directly after the AP); the iPhone takes seconds to ACK the TCP packets when running Mail or Safari (didn&#8217;t bother testing any other applications).</p><p>My logic may be failed, but if I run the test and get 256ms and 3500kbps on my MacBook, there should be no reason why this isn&#8217;t possible on my iPhone. My MacBook uses .11a, while the iPhone 3GS seems to only use .11b/g (which is very odd, because <a
href="http://www.phonewreck.com/2009/06/19/iphone-3gs-teardown-and-analysis/">the chipset is there to support 802.11a</a>), so each device isn&#8217;t sharing radio space with the other.</p><p>So I tried screwing with the settings, and the thing which had the most profound effect was the Beacon Interval. By changing it from 4000 Kusec to 40 Kusec, instantly I went from having ~4000ms pings to ~330ms pings, and a usable data rate of 864kbps! I then lowered it to the absolutely lowest time possible, 20 Kusec, and now have ~285ms pings and ~1500kbps to <a
href="http://i.dslr.net/tinyspeedtest.html">http://i.dslr.net/tinyspeedtest.html</a>.</p><p>This does, however, bring one very pressing question;Â Why does this only affect my 3GS? Beverley&#8217;s original iPhone worked fine before changing the settings, as well as our 2 laptops, and various visitor&#8217;s laptops. In fact, I used this and 4 other identical APs at the <a
href="http://www.xlan.co.nz">NZ WCG</a>, providing internets to ~25 different laptops and PDAs of various descriptions, all roaming around the event, with the exact same configuration I started with, <strong>and not a single complaint</strong>. It obviously can&#8217;t be the fault of the AP&#8230; can it?</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/iphone-3gs-wifi-speed-issues/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>jlaundry.com 6.0!</title><link>http://www.jlaundry.com/2009/jlaundry-com-6-0/</link> <comments>http://www.jlaundry.com/2009/jlaundry-com-6-0/#comments</comments> <pubDate>Sun, 23 Aug 2009 10:48:09 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[CodeIgniter]]></category> <category><![CDATA[WordPress]]></category> <guid
isPermaLink="false">http://dev.jlaundry.com/2009/jlaundry-com-6-0/</guid> <description><![CDATA[Oops, I did it again. So, I bought an iThing 3GS. I went app crazy, and found out about the WordPress app. I realised I hadnt posted to my blog in months, mostly because theres too much work involved in posting. So, I decided it was time for a freshup. So, bye bye custom CodeIgniter [...]]]></description> <content:encoded><![CDATA[<p>Oops, I did it again.</p><p>So, I bought an iThing 3GS. I went app crazy, and found out about the WordPress app. I realised I hadnt posted to my blog in months, mostly because theres too much work involved in posting. So, I decided it was time for a freshup.</p><p>So, bye bye custom CodeIgniter blog engine, hello (again) WordPress (and all the other social media integrations I have to integrate).</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/jlaundry-com-6-0/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Now a Red Hat Certified Engineer!</title><link>http://www.jlaundry.com/2009/now-a-red-hat-certified-engineer/</link> <comments>http://www.jlaundry.com/2009/now-a-red-hat-certified-engineer/#comments</comments> <pubDate>Sun, 25 Jan 2009 20:11:24 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/52</guid> <description><![CDATA[So I was in Melbourne last week (I was going to blog about it, I swear) doing the RH300 rapid track course. I learnt a lot, especially to do with troubleshooting. The instructor, Rohan Sathe, was excellent. And now, I&#8217;m a Red Hat Certified Engineer! I strongly recommend the course to anyone who wants to [...]]]></description> <content:encoded><![CDATA[<p>So I was in Melbourne last week (I was going to blog about it, I swear) doing the RH300 rapid track course. I learnt a lot, especially to do with troubleshooting. The instructor, Rohan Sathe, was excellent. And now, I&#8217;m a Red Hat Certified Engineer!</p><p>I strongly recommend the course to anyone who wants to take the exam; there are things in the exam that you simply won&#8217;t have experienced. If you do the course, provided you pay attention and complete all the lab work, there should be no reason why you can&#8217;t pass the exam. Which is important, if your employer is paying a lot of money to fly you from New Zealand to Australia, and repeating the journey might take a bit of convincing.</p><p>Just on a side note, when did the Australian government start requiring ID to purchase prepaid SIM cards? The form I had to sign appeared more concerned with how many prepaid services I already had, and not at all with the actual phone number (I could have missed something though).</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2009/now-a-red-hat-certified-engineer/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Australia: Day 7</title><link>http://www.jlaundry.com/2008/australia-day-7/</link> <comments>http://www.jlaundry.com/2008/australia-day-7/#comments</comments> <pubDate>Wed, 10 Dec 2008 22:29:45 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[Australia]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/51</guid> <description><![CDATA[Ok, so given as how I haven&#8217;t actually posted these as of writing, I don&#8217;t think anyone can blame me for skipping out a few days, yes? I&#8217;ve come to the conclusion that Australians, at least [Melbourneites,Melbourneians]? are the worst drivers in the world. They drive recklessly and never slow down, I swear most would [...]]]></description> <content:encoded><![CDATA[<p>Ok, so given as how I haven&#8217;t actually posted these as of writing, I don&#8217;t think anyone can blame me for skipping out a few days, yes?</p><p>I&#8217;ve come to the conclusion that Australians, at least [Melbourneites,Melbourneians]? are the worst drivers in the world. They drive recklessly and never slow down, I swear most would rather crash then give you a break. I compare them to driving in Auckland, which is reality is pseudo-chaotic. Everyone thinks it&#8217;s this giant disorganised mess, but in reality, if you have confidence driving you&#8217;ll love Auckland drivers. They will hold up 3 lanes of rush-hour traffic just to let you turn right down a small side street! In can even compare them to Seoul drivers, who are far more reckless, but everyone will let everyone in and will slow down when necessary.</p><p>Rant out of the way, I&#8217;ve finally bitten the bullet and bought an Elgato eyeTV DTT. After purchasing it I immediately tried it out in the car, and it picked up SBS no problem. However, reception in the suburb I&#8217;m staying in is very poor; at most I&#8217;ve been able to get 40% signal strength with a proper UHF antenna, although the small one that comes with it isn&#8217;t far off. Once back in NZ, I plan to get myself a Mac Mini (preferably a used one off TradeMe) and set up a recording system / file share / backup server.</p><p>On a final note, don&#8217;t forget to check out <a
href="http://www.globalgamejam.org.nz">Global Game Jam</a>, which will be happening all over the world (and in particular at Waikato University) very shortly. The idea? 48 hours to create a game based on a predefined theme. I&#8217;m not talking super 3d immersive graphics level, just something fun and playable.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/australia-day-7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Australia: Day 3</title><link>http://www.jlaundry.com/2008/australia-day-3/</link> <comments>http://www.jlaundry.com/2008/australia-day-3/#comments</comments> <pubDate>Sat, 06 Dec 2008 20:46:10 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[Australia]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/50</guid> <description><![CDATA[Yesterday was full of driving. Sam rented us a car, he doesn&#8217;t drive, and I can clearly see why. Traffic isn&#8217;t as chaotic as Seoul, but I keep thinking we&#8217;re going to have a crash every 30 odd min. Completely different to traffic back home. Now, being the geek I am, before we left I [...]]]></description> <content:encoded><![CDATA[<p>Yesterday was full of driving. Sam rented us a car, he doesn&#8217;t drive, and I can clearly see why. Traffic isn&#8217;t as chaotic as Seoul, but I keep thinking we&#8217;re going to have a crash every 30 odd min. Completely different to traffic back home.</p><p>Now, being the geek I am, before we left I upgraded my Okta Touch to Windows Mobile 6.1, and hence unlocked the GPS. I then proceeded to load it with some software, and a map of Australia. <strong>This is probably the best thing I brought on holiday.</strong> Unless you&#8217;ve had a GPS, you hae no idea just how much stress it alleviates. When Telecom turns off it&#8217;s CDMA network or I get an iPhone (whichever comes first), I plan to mount it in my car for those times that I can&#8217;t avoid Auckland.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/australia-day-3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Australia: Day 2</title><link>http://www.jlaundry.com/2008/australia-day-2/</link> <comments>http://www.jlaundry.com/2008/australia-day-2/#comments</comments> <pubDate>Fri, 05 Dec 2008 20:36:03 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[Australia]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/49</guid> <description><![CDATA[What, so I didn&#8217;t tell anyone I was going to Australia? Sorry, between work, sleep and play, I forget to update things on the internets, such as my blog, Facebook etc. Anyway, I&#8217;m in Melbourne on holiday from the 5th till the 13th (next Saturday)! Myself, Beverley and her family are visiting Beverley&#8217;s brother Sam. [...]]]></description> <content:encoded><![CDATA[<p>What, so I didn&#8217;t tell anyone I was going to Australia?</p><p>Sorry, between work, sleep and play, I forget to update things on the internets, such as my blog, Facebook etc. Anyway, I&#8217;m in Melbourne on holiday from the 5th till the 13th (next Saturday)!</p><p>Myself, Beverley and her family are visiting Beverley&#8217;s brother Sam. Beverley&#8217;s parents Bill and Louise are attending a conference in Cairns on Tuesday, and so will be leaving for that early. Beverley&#8217;s sisters Jenny and Nicky have things on, and so will be joining us Monday.</p><p>Pacific Blue is a really good airline. Sure, you don&#8217;t get any of the niceties that Air New Zealand gives you like&#8230; &#8230; a blanket. It is a nice, cheap flight, and the cabin crew is friendly and energetic. Kinda reminds me of Mile High. The only thing that concerns me was the lack of water handouts. Yes, they offered for you to buy some, but I thought they were required by some air safety something?</p><p>Landed in Melbourne safely, where we encountered new ePassport booths, a &#8220;quicker&#8221; way of clearing customs. Being the digital natives we are, we had to try them. Insert your passport and answer 4 questions; have you had tuberculosis, are you a criminal, have you been to a place with yellow fever, and have you lied. Afterwards, it prints out a little ticket. You then take this ticket to a gate, look into a camera (facial recognition stuff), and proceed. Now that we know what we&#8217;re doing (it took a second to figure out the order of operations), I reckon it&#8217;ll be much quicker. One disadvantage though:</p><p><strong>I don&#8217;t have an Australian stamp in my passport!</strong></p><p>Upon leaving the airport, the heat struck us. Not as bad as entering Seoul, but still very noticeable. Also, Australians seem to have an interesting sense of art, as the &#8220;artworks&#8221; along the motorway just seemed to be rectangular pillars arranged in some weird fashion. Except the huge concrete ones on the bridge, which didn&#8217;t actually support the bridge&#8230;</p><p>Was mostly uninteresting after that. Went to TGI Fridays, went to Borders, went home and slept. More as I encounter it.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/australia-day-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Nerdery: s02e23: On 2009</title><link>http://www.jlaundry.com/2008/the-nerdery-s02e23-on-2009/</link> <comments>http://www.jlaundry.com/2008/the-nerdery-s02e23-on-2009/#comments</comments> <pubDate>Thu, 16 Oct 2008 08:06:52 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[The Nerdery]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/48</guid> <description><![CDATA[First, a public service announcement. The SCMS Pub Crawl will be happening on the 17th of October. A splendid time is guaranteed for all, as has been the case year after year. Free/cheap drinks and lots of free food, and of course the always popular pub crawl t-shirt (which will NOT feature Comic Sans MS [...]]]></description> <content:encoded><![CDATA[<p>First, a public service announcement. The SCMS Pub Crawl will be happening on the 17th of October. A splendid time is guaranteed for all, as has been the case year after year. Free/cheap drinks and lots of free food, and of course the always popular pub crawl t-shirt (which will NOT feature Comic Sans MS this year, graphic designer types can wear it without shame). Being part of the SCMS is not a requirement, we always welcome our Science / Engineering counterparts, or anyone else who has a geeky tendency. We need to know numbers by the 13th. $18 with t-shirt or $3 without, collect your tickets from Bronwyn Poki in R.G.22.</p><p>The year is quickly pulling to a close, like it does year after year, and so begins my plans to move between lovely air-conditioned rooms, ensuring that I&#8217;m not at all exposed to the harmful UV rays of summer. It always surprises me that it happens, in the same way most nerds were surprised when 01/01/2000 happened. It&#8217;s not as if it&#8217;s something you can count down to or anything. And so if I&#8217;ve done my math correctly, this is the last ever time you&#8217;ll be able to read The Nerdery this year. I should end with a reflection into all that&#8217;s happened this year, unfortunately I still haven&#8217;t learned how to program reflections correctly (The Earth language is worse than Java), and I can just barely do them with Algebra. So instead, here&#8217;s a short list of what I&#8217;m looking forward to in revision 2009;</p><p>I&#8217;m looking forward to getting rid of the horrible Windows thing in my pocket and getting a Google Android-based thingy. No, not iPhone. The iPhone, although pretty, sucks when compared to what the Android is going to be able to do. I&#8217;m looking forward to Internet Explorer 8, how much better the web will be (standards-wise), but not how slowly it will be adoped by users. I&#8217;m looking forward to the end of people&#8217;s hatred for Vista as Windows Mojave hits the shelves. And finally, I&#8217;m greatly anticipating playing Duke Nukem Forever.</p><p>I look forward to spending another year hunched over the keyboard with your, dear reader. So long, and thanks for all the fish.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/the-nerdery-s02e23-on-2009/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Nerdery: s02e22: On Internet Explorer 6</title><link>http://www.jlaundry.com/2008/the-nerdery-s02e22-on-internet-explorer-6/</link> <comments>http://www.jlaundry.com/2008/the-nerdery-s02e22-on-internet-explorer-6/#comments</comments> <pubDate>Thu, 16 Oct 2008 08:05:04 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[The Nerdery]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/47</guid> <description><![CDATA[First and foremost, theÂ people at WAND are gauging interest for running a JNCIA course over a week of the summer holidays. For those who don&#8217;t know what JNCIA is, it&#8217;s an entry level networking qualification from Juniper Networks (comparableÂ to the CCNA from Cisco). This is a great way to get hands-on networking experience from people [...]]]></description> <content:encoded><![CDATA[<p>First and foremost, theÂ people at WAND are gauging interest for running a JNCIA course over a week of the summer holidays. For those who don&#8217;t know what JNCIA is, it&#8217;s an entry level networking qualification from Juniper Networks (comparableÂ to the CCNA from Cisco). This is a great way to get hands-on networking experience from people who really know their stuff, and if you have any aspirations of getting a technical job with Telecom, Alcatel-Lucent, Kordia, or some other telco/service provider, I strongly recommend you take this course.Â Email ben@staz.net.nz if you&#8217;re interested.</p><p>Now, onto the ASPAs. It rocked. Except for me the next morning, when I realised oh too late that me + Chardonnay == bad. Hangovers aside, I really enjoyed it, and I hope that it&#8217;ll be equally awesome next year. Being the photography geek I am, I had my camera. And despite beingÂ incrediblyÂ intoxicated, I managed to take some decent photos with it, which you can find on this week&#8217;s classy busted page, or atÂ <a
href="http://www.jlaundry.com/photos/aspa08">http://www.jlaundry.com/photos/aspa08</a>, which will not work properly in IE 6.</p><p>And so here is where I venture to nerdiness. I&#8217;m one of those people who won&#8217;t release something until it&#8217;s exactly how IÂ envisioned, or at least decent to the point where I like it. Which is exactly why it&#8217;s now months since I started writing code for my photo gallery. In designing my website, I&#8217;ve always upheld the concept that it should be easy enough for my mother to use. Design-wise this isn&#8217;t hard, just use decent (bigger than small) sizes and everything else somehow falls into place. But technically, making something consistent under all circumstances is incredibly difficult.</p><p>I write in valid XHTML. I use compliant CSS. I use the most rudimentary of JavaScript, and use libraries (which are designed to be cross-compatible) wherever possible. So why is it that even the &#8220;better&#8221; browsers aren&#8217;t compatible with each other? I&#8217;m puzzled why Safari, Firefox and Opera all render things differently, when all three (3) are supposed to be a better, more standards-based web experience compared to Internet Explorer.</p><p>The only explanation I have for it is the fact that users of said alternative browsers are more likely to run a newer, less bug-ridden version, and hence the kinks will be worked out in time. Firefox almost forces updates upon users, Apple tricks them into downloading it, and users of Opera are mostly developers, who love new software. And yet here&#8217;s big Microsoft, who won&#8217;t even put IE 7 into the last XP service pack, despite IE 6 being more than 7 years old. People like to drive new cars, they&#8217;re safer and have more features. So why is it 40% of the world is still driving a shitty old commodore?</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/the-nerdery-s02e22-on-internet-explorer-6/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Time for some updates</title><link>http://www.jlaundry.com/2008/time-for-some-updates/</link> <comments>http://www.jlaundry.com/2008/time-for-some-updates/#comments</comments> <pubDate>Thu, 25 Sep 2008 03:02:36 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[Uncategorized]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/46</guid> <description><![CDATA[For those of you out there disappointed at the lack of content lately, don&#8217;t worry, I haven&#8217;t forgotten about my little site. I&#8217;ve just been busy with work (seriously cool stuff which I hope to share soon) and getting the backend working. Now that it is, you&#8217;ll start to see some changes around here. For [...]]]></description> <content:encoded><![CDATA[<p>For those of you out there disappointed at the lack of content lately, don&#8217;t worry, I haven&#8217;t forgotten about my little site. I&#8217;ve just been busy with work (seriously cool stuff which I hope to share soon) and getting the backend working. Now that it is, you&#8217;ll start to see some changes around here.</p><p>For example, you can now see my latest Twitter up at the top of the main page. Nifty eh? Next up, I&#8217;m almost done my admin interface, so I&#8217;ll be able to tell if people are writing comments, and actually respond to them in a reasonable timeframe. You know, like I should have done in the first place, instead of relying on phpMyAdmin.</p><p>Watch this space.</p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/time-for-some-updates/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Nerdery: s02e21: On Zealots</title><link>http://www.jlaundry.com/2008/the-nerdery-s02e21-on-zealots/</link> <comments>http://www.jlaundry.com/2008/the-nerdery-s02e21-on-zealots/#comments</comments> <pubDate>Thu, 25 Sep 2008 01:25:05 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[The Nerdery]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/45</guid> <description><![CDATA[It&#8217;s time I sat down and explained to the general public why, despite the contradictory evidence, they shouldn&#8217;t take anything on the internet seriously. &#8220;Zealots&#8221;. Zealots are everywhere, and they propagate their thoughts throughout the internet like a sex joke propagates though a middle school. Slow at first, but by the end of the week [...]]]></description> <content:encoded><![CDATA[<p>It&#8217;s time I sat down and explained to the general public why, despite the contradictory evidence, they shouldn&#8217;t take anything on the internet seriously. &#8220;Zealots&#8221;. Zealots are everywhere, and they propagate their thoughts throughout the internet like a sex joke propagates though a middle school. Slow at first, but by the end of the week everyone knows the tale of the 3 (three) sticks that get shoved into a dark hole and made to puke.</p><p>While the more commonly found zealots should be obvious to those who&#8217;ve been to more than one (1) forum, such as <strong>the gaming console zealots</strong> (nerds who still think their god-given console is better than a computer) or <strong>the Mac/PC/Linux zealots</strong> (nerds who still haven&#8217;t heard of interoperability), I figured I&#8217;d better start informing everyone about the lesser-known types&#8230;</p><p><strong>The fads-never-die zealots</strong>. As much as it pains me to lump them all into this category, I really can&#8217;t be bothered explaining how forums about every single frame of Tool Time is analyzed and personalized, or those still stuck arguing wether or not the earth is flat. These are the more specialized type of zealots, and are either very hard or not hard enough to find with a few keywords typed into a search engine.</p><p><strong>The &#8216;simple concept&#8217; zealots</strong>. &#8220;Imagine a 747 is sitting on a conveyor belt, as wide and long as a runway. The conveyor belt is designed to exactly match the speed of the wheels, moving in the opposite direction. Can the plane take off?&#8221; Simple eh? It&#8217;s too bad that, provided you have a group of 3 people, everyone will come up with a different answer. Thankfully, these arguments are mostly confined to 4chan boards, and the occasional Bongo sushi session.</p><p><strong>The n00bs</strong>. Not so much zealots as-per-se, but still as annoying as, or even more so in some cases. These are the people who refuse to learn before diving head in, and once their in, still refuse to learn. It&#8217;s like someone who refuses to learn how to tell time using an analog clock, so instead of learning just complains whenever a digital one isn&#8217;t avaiable.</p><p>And finally, there&#8217;s <strong>the mindless attention-seeking zealots</strong>. The worst kind, they&#8217;ll infect the &#8220;off-topic&#8221; boards of any forum with crap, and will advocate for whatever dumb-fuck idea pops into their head. These people will fight on the internet for the sake of boredom [1], and seek out new places to drain the life of.</p><p><sub>[1] And I don&#8217;t mean that in the good, Uncyclopedia Flame Warriors way.</sub></p> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/the-nerdery-s02e21-on-zealots/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Nerdery: s02e20: On FOSS</title><link>http://www.jlaundry.com/2008/the-nerdery-s02e20-on-foss/</link> <comments>http://www.jlaundry.com/2008/the-nerdery-s02e20-on-foss/#comments</comments> <pubDate>Thu, 25 Sep 2008 01:18:47 +0000</pubDate> <dc:creator>jlaundry</dc:creator> <category><![CDATA[The Nerdery]]></category> <guid
isPermaLink="false">http://www.jlaundry.com/article/44</guid> <description><![CDATA[I hate getting my calendar mixed up. I sat down this weekend to realize that next Saturday is software freedom day, and so this column misses out being read before then by a mere two (2) days. Oh well, better luck next year. Let me begin by declaring my stance on the FOSS (Free, open [...]]]></description> <content:encoded><![CDATA[<p>I hate getting my calendar mixed up. I sat down this weekend to realize that next Saturday is software freedom day, and so this column misses out being read before then by a mere two (2) days. Oh well, better luck next year.</p><p>Let me begin by declaring my stance on the FOSS (Free, open source software) issue. I&#8217;m the uni&#8217;s Microsoft student partner. My personal servers run Windows Server 2003 and FreeBSD (using VMware). At work, I manage software projects that utilise php, Perl, MySQL and Oracle, and servers that run Linux (with Xen). I have a Mac laptop, and being the photography nut I am, I use Adobe software. Who says you can&#8217;t mix milk with orange juice?</p><p>Most people don&#8217;t care what tool they&#8217;re using, so long as the tool best suits their needs. This is where a lot of conflicting ideas between free software advocates and the non-free-software types occur. If someone were to say &#8220;you can have as many spoons as you like, so long as you give up your knives&#8221;, most people would laugh it off and walk away. But, in my opinion, It really comes down to that.</p><p>There are many types of zealots in the computer &#8216;verse, as i&#8217;ll get to in my next article, but the hardcore FOSS advocates seem to be the most aggressive of them all. These are the type that take the &#8220;all-or-nothing&#8221; approach, which by today&#8217;s standards just isn&#8217;t feasible. Imagine if Adobe adopted the FOSS business model; gave away their software but charged for support. Raise your hands if you regularly use Photoshop and have ever contacted Adobe for support. How about if they gave away a feature limited version, but allowed you to pay for advanced features. Well, isn&#8217;t that what we&#8217;re currently doing?</p><p>I know quite a few people here at waiKato who would like to think the world can and should adopt to certain ways of thinking. But one solution will never be able to gracefully meet all needs, a solution that tries to is obviously not a good solution.</p><p>On a more upbeat note, I&#8217;ll leave you with a quote to mull on, by one of my former lectures:</p><blockquote><p>I&#8217;ve been insulted by Richard Stallman three times and I&#8217;ve only just met him.</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://www.jlaundry.com/2008/the-nerdery-s02e20-on-foss/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>