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 19 March 2023
      A very thoughtful analysis. I've been on the side of "peace from both sides", but I can see the progression that you lay out.
    • bobjonkman repeated a notice by lnxw48a1 19 March 2023
      RT @lnxw48a1 https://www.bbc.co.uk/news/world-europe-64986744 [www bbc co uk] #Turkiye leader Erdogan signals approval of #Finland joining #NATO ... still hesitant on #Sweden's application After the fall of the USSR, I was in favor of abolishing NATO. Frankly, I was too idealistic. I imagined Europe becoming a sort of demilitarized zone but without conflicting armies on each […]
    • Favorite 19 March 2023
      bobjonkman favorited something by lnxw48a1: https://www.bbc.co.uk/news/world-europe-64986744 [www bbc co uk] #Turkiye leader Erdogan signals approval of #Finland joining #NATO ... still hesitant on #Sweden's application After the fall of the USSR, I was in favor of abolishing NATO. Frankly, I was too idealistic. I imagined Europe becoming a sort of demilitarized zone but without conflicting […]
    • New note by bobjonkman 19 March 2023
      There's a natural spring just a short distance from here. Sometime about 30 years ago some kind of piping was added to it, so now the water comes out of a pipe a distance above the ground. People would fill their water cooler bottles there. About 10 years ago a sign was put up "This […]
    • bobjonkman repeated a notice by lnxw48a1 19 March 2023
      RT @lnxw48a1 Behind this laundromat there is a pipe that continuaously spews water. People drive up and fill bottles, then leave. Trusting. I naturally assume that there is some contaminant and I therefore avoid drinking water from mystery pipes.
    • New note by bobjonkman 19 March 2023
      Why we need elastomeric clothing.
    • New note by bobjonkman 19 March 2023
      The only reason I have a Github account is to provide bug reports and feature requests to projects I want to support. I don't code much, but anything I want to be publicly available is on my own website. Although not in a code repository, which is probably a good idea.
    • bobjonkman repeated a notice by steve 18 March 2023
      RT @steve From https://t.co/Ljk2FwSC2I on Mastodon: In the spirit of deepening the open federated social web, this blog is now powered by ActivityPub, the open federated social standard. This is thanks to the WordPress plugin “activitypub”. You c... https://mastodon.cooleysekula.net/users/steve/statuses/110044125471741899/activity
    • Favorite 18 March 2023
      bobjonkman favorited something by steve: From https://t.co/Ljk2FwSC2I on Mastodon: In the spirit of deepening the open federated social web, this blog is now powered by ActivityPub, the open federated social standard. This is thanks to the WordPress plugin “activitypub”. You c... https://mastodon.cooleysekula.net/users/steve/statuses/110044125471741899/activity
    • Favorite 3 March 2023
      bobjonkman favorited something by clacke: Re: nu.federati.net/notice/3422215@LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} A lot of people move to Fedi from Twitter, in Fedi numbers.Not a lot of people move to Fedi from Twitter in Twitter numbers.

Archive for February, 2013

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