July 1st

Posted by Jerry Wed, Jul 01 '09

Reposted from Tomboy Notes on 16 October 2009.

So. I've just decided to maintain a diary in Tomboy, as a sort of desktop blogging engine (actually, 'blog' without the 'b'). Plan for now is:

  • Re-enable the Note of the Day plugin
  • Write an entry every day after work
  • I suppose this may change after Snowy comes out, or if I actually bother to sit down and finish build Nii, but we'll see.

At this point, I'm starting to get rather annoyed by the annoyingly thick squiggly red lines from Tomboy/GTK's dictionary, however. But I digress.

Read an e-magazine, PragPub July 2009, written by the Pragmatic Programmers, with some articles on layoff prevention in the IT industry, as well as several tips on job-hunting/resume-building. Feeling HT is slowly wearing out my patience; guess it is precisely this branch in the fates where I start seeking greener pastures?

Tasks today:

  • Discussion on CVS to Subversion migration with Jim and Chee Hong. Don't look very good, damn bureaucracy. One can only blame the college factories churning out regular quality graduates.
  • Playing around with organizing and deploying Panton with Galileo/Glassfish v2. Failed, so gave up and just used Netbeans 6.7.
# Posted in 10 years ago comments
 

Thesis code completed

Posted by Jerry Sat, Oct 27 '07

... Or so I hope?! Squashed a ton of bugs, stabilized API being used haphazardly between the RrdTool and Simulation sinks, sort of prettified Weathermap a bit more. Now I'm just left with churning out the rest of the thesis and getting it onto the NICTA testbed...

aesir:~/Projects/meshmon$ svn commit
svn commit:
Sending        html/index.html
Adding         html/overlib.js
Sending        html/weathermap.html
Sending        icons/Safemesh1.png
Sending        src/aodv.py
Sending        src/config.py
Sending        src/gatherers/rrdsink.py
Sending        src/gatherers/simulatesink.py
Sending        src/meshmon.py
Sending        src/nodes.py
Sending        src/plugins/RrdTool.py
Sending        src/plugins/Simulation.py
Sending        src/rendering/rrd.py
Sending        src/rendering/weathermap.py
Sending        src/threads.py
Sending        src/topology.py
Sending        src/webserver.py
Adding         src/wifi.py
Sending        weathermap/Weathermap.class.php
Sending        weathermap/weathermap
Sending        weathermap.conf.template
Transmitting file data .....................
Committed revision 61.
# Posted in 12 years ago comments
 

End of semester anxiety

Posted by Jerry Sun, Oct 14 '07

Simplest way to describe my thoughts on not so far off future: .... (mind-numbing coding) !!#$%#@ (thesis is due) ???? (Future? What future?)

The advanced security project and report is due on Friday. The report shouldn't be that big a problem as the minimum word count is just 5000 words / 20 pages. spent an unproductive day poking around with PyGTK, got a basic GUI up and running with Glade and Python, wired together some signals, and still need to test them in Scratchbox. Left the labs half way while trying to implement the Kismet core, which hopefully I can finish by tomorrow. Afterwards need to work on GPS tracking and some minimum Bluetooth scanning... Guh, it's scary. Thesis? Let's not even go there. NICTA is probably getting ready to outsource the project to prospective summer scholarship students. :P

At least life has been mostly uneventful. A moment of Zen = figuring out how to compose a beautiful lambda construct in Python, while nibbling on a salty pretzel.

# Posted in 12 years ago comments
 

Rails refreshed

Posted by Jerry Sat, Oct 13 '07

I’ve noticed that my Typo blog has been slowing to a crawl these days, simply publishing a post or changing sidebar settings for the template took almost forever; Kexin noticed it when he was testing out comments too. A quick investigation turned out Typo has been hoarding a huge (and I mean almost a gigabyte huge) cache of every single GET/POST to the site, with 99.9% being things like this: (URLs censored to protect the guilty)

/var/www/typo/tmp/cache/META/META/ACTION_PARAM/ www.libcoffee.net/articles/permalink/blog_name=some_random_drug&day=27 &excerpt=http./www.xyz.com/pharmacy_stuff /var/www/typo/tmp/cache/META/META/ACTION_PARAM/ www.libcoffee.net/articles/permalink/blog_name=another_random_drug&day=27 &excerpt=http./www.xyz.com/drugs_and_more_drugs&month=06 &title=untitled#trackbacks ...

Repeated ad naseum for little blue pills, kitchen floor tiles and various unspeakables… no wonder Typo seemed so slow. Anyway, a quick purge of /tmp/cache seems to do the trick. Rails is fast now! (Sort of.) :P

# Posted in 12 years ago comments
 

GPS on Maemo

Posted by Jerry Sun, Sep 30 '07

Received my Holux M-1000B Bluetooth GPS module on Friday, and have been playing around over the weekend. I bought it on an eBay store for AUD$80 last week, took some time for it to get here but it was pretty well worth the wait! Turned it on after a good recharge and brief look at the user manual (only a few relevant pages in the manual, the rest of the documentation is in PDF form on the driver CD), and fiddled with Maemo Mapper to use it for positioning.

After pairing the N800 with the GPS module it took a while to locate enough available satellites and confirm the current coordinates:


Using Microsoft’s Virtual Earth hybrid maps (Google Maps and OpenStreet is available as well) and leaving the GPS running while on Chad’s car (we were leaving the labs and I was hitching a ride home) plotted this route (red lines) on Mapper:


The positioning isn’t entirely accurate though – when left on my table for some time, as you can see the coordinates start jumping all over the place. Probably due to weather and satellite communication strength, or by the fact that using it indoors affects the line of sight. The green lines were from me searching a route from my house to the Brisbane CBD, which is another feature I haven’t played with much, but one I can foresee will be insanely useful when I’m heading down to Melbourne in December.

Also tried setting up Geoclue, a geographical information framework, and osso-gpsd. Geoclue sits on the Maemo status bar, and there’s a number of backend servers from which context data can be collected (See screenshot). Unfortunately it doesn’t feel quite finished yet… Plazes.com is a hassle to set up, Hostip doesn’t provide quite enough information, and the GPSd backend took some hacking to get working. GPSd refused to run at first, and I had to dig around for some documentation on GPS/Bluetooth support on the N800. After playing around with the “rfcomm” commands, I made some changes to libgpsbt to recognize my Holux (it does a string comparison against a hard-coded list of Bluetooth device names… horrors!), and then get it to run as normal user. Once I got that out of the way, python-gpsbt worked beautifully! I’m already chalking up plans for some future projects after this semester ends… but that’ll be a different story. :)

Overall, GPS on the N800 is pretty good, although lack of maturity is still leaving much to be desired. If the tablet’s next successor is really integrated with GPS as the FCC filings show, geographical/context-aware software could really be Nokia’s killer app. Here’s to hoping!

# Posted in 12 years ago comments