This Blog Is Not For Reading

A blog, just like any blog, only more so

  • Subscribe

  • Categories

  • RSS Bob Jonkman’s Microblog

    • New note by bobjonkman 11 December 2019
      Did you get the job?
    • bobjonkman repeated a notice by silverwizard 11 December 2019
      RT @silverwizard ♲ @anthonyvclark20@twitter.com: I am 100% against private Prisons Schools Utilities Healthcare Law enforcement Military Waste collection Water Internet Transportation systems Etc. Privatization continues to fail the public interest
    • Favorite 11 December 2019
      bobjonkman favorited something by silverwizard: ♲ @anthonyvclark20@twitter.com: I am 100% against private PrisonsSchoolsUtilities Healthcare Law enforcement Military Waste collection WaterInternet Transportation systems Etc.Privatization continues to fail the public interest
    • New note by bobjonkman 11 December 2019
      My computer already holds my coffee. Usually in a mug. Sometimes in the keyboard.
    • New note by bobjonkman 2 December 2019
      Don't worry about it. I know that's not really helpful advice, but I've had experiences like this too. I think of it as "the wheels falling off". I suspect everyone has these times, but most people won't admit it. An uplifting aphorism I heard in a movie: "It will all be alright in the end. […]
    • New note by bobjonkman 2 December 2019
      These all need illustrations for the box covers.
    • bobjonkman repeated a notice by nev 30 November 2019
      RT @nev i'm well aware canada's healthcare system is vastly inadequate, but just imagine if the housing system were anywhere near what the healthcare system was like. for-profit housing should be as obscene as for-profit healthcare. flipping houses should be seen as as unethical as hiking up insulin prices.
    • Favorite 30 November 2019
      bobjonkman favorited something by nev: i'm well aware canada's healthcare system is vastly inadequate, but just imagine if the housing system were anywhere near what the healthcare system was like. for-profit housing should be as obscene as for-profit healthcare. flipping houses should be seen as as unethical as hiking up insulin prices.
    • New note by bobjonkman 8 November 2019
      Elois and Morlocks, from another work of fiction co-opted into a user manual for the 1%
    • Favorite 8 November 2019
      bobjonkman favorited something by inkslinger: The fan theory that the Jetsons and the Flintstones are actually contemporaneous to one another -- the Jetsons' sky cities being the land of the wealthy (or formerly wealthy, perhaps, since capitalist wage relations still exist, even in a world with literal robot servants) and the Flintstones being the descendants […]

OpenDataDay Hackathon at Kwartzlab

Posted by Bob Jonkman on 27th February 2013

Open Data Waterloo Region

 

On International OpenDataDay four teams of hackers from OpenDataWR gathered at Kwartzlab to work on Food Premise Inspection Data, modelling new transit routes and route changes with GTFS data, improving the server for the Catchr transit app, a proof-of-concept pushbutton app for Android, and creating a Get Map button for OpenStreetMap in the Thunderbird Lightning add-in.


Hackers at Kwartzlab OpenDataDay Hackathon at Kwartzlab. Clockwise: Koo (back to camera), Ralph, Michael, Mike, Brett, Jonathan. Missing: Darcy, William, Katherine, Bob.

 

William and I worked on the Get Map button. Although we had hoped to create some working code, we got only as far as making a mock-up of Lightning’s Edit Event screen:

Screenshot of Thunderbird Lightning Edit Event screen
Lightning “Edit Event” screen, showing the new “Get Map” button

 

The first hurdle we ran into is that Lightning source code is kept in a Mercurial repository. Although William was familiar with Perforce (another code revision system), I haven’t used Mercurial until now. And the repository contained all of Thunderbird, Firefox, SeaMonkey, and the Mozilla addins. We certainly didn’t want to clone the entire Mozilla code base! So William found the Lightning tarball, which I unpacked in a new folder. This let us poke around the source files to find where our new code should go.

Then we found that Lightning isn’t straight Javascript, it’s mostly XUL. XUL is close enough to XHTML, CSS and DTD files that we could figure out what needed to be done. But we had a limited amount of time, and I didn’t want to spend it waiting for source code to build. So I created a new profile in Thunderbird, installed a fresh copy of the Lightning add-in, and we hacked at the installed files directly. This gave us instant feedback on the changes we made, just by restarting Thunderbird and running Lightning. Some of the changes were in plain text files, but others needed to be made to files in JAR format. One of those was the localized language file. We weren’t sure which language file we were using, en-GB or en-US. Of course, we picked the wrong one to start with, and spend maybe two hours trying to debug a misleading error message about a missing entity definition while we were working on the wrong file.

But it all turned out OK in the end. Now we need to take the work we did on the installed files and replicate it on the source files from the Mercurial repository, properly build Lightning from source, and offer our changes to the Mozilla Calendar project. And, once we’ve got it working, we’ll make the changes available on this site too.

–Bob and William.

Tags: , , , , , , , , , , , , , , , , , , , ,
Posted in code, FLOSS, Open Data, Software | Comments Off on OpenDataDay Hackathon at Kwartzlab

 
Better Tag Cloud