This Blog Is Not For Reading

A blog, just like any blog, only more so

  • Subscribe

  • Categories

  • RSS Bob Jonkman’s Microblog

    • bobjonkman repeated a notice by steve 16 September 2021
      RT @steve @bobjonkman I really appreciate it, Bob!
    • Favorite 16 September 2021
      bobjonkman favorited something by steve: @bobjonkman I really appreciate it, Bob!
    • New note by bobjonkman 12 September 2021
      #Stroopwafels FTW! https://en.wikipedia.org/wiki/Stroopwafel
    • Favorite 12 September 2021
      bobjonkman favorited something by guizzy: Today @mitsu and I went to a Spanish specialty grocery store, got sobressada and menorcan cheese. Then we went to an european specialty store and got stroopwaffels. And we went to Bagel St-Viateur, and got freshly made bagels (the real stuff, not New York pretenders) to enjoy with some smoked […]
    • New note by bobjonkman 12 September 2021
      Hang in there, Dr. Sekula. Your summer somewhat mirrors mine: Conflicted about working in a Covid environment; trying to stay engaged in politics (not physics research); the loss of my father and admitting my mom to a long-term care facility where Covid mortality is high. We'll pull through, and if the future looks different from […]
    • bobjonkman repeated a notice by steve 12 September 2021
      RT @steve "End of Summer, 2021" Ive gone silent in this blog. Take it as a sign of everything else that has been going on. Writing in this blog is the first thing to be sacrificed when life intervenes. Its been many months since I wrote here. Truth be told, I think I need to […]
    • Favorite 12 September 2021
      bobjonkman favorited something by steve: "End of Summer, 2021" Ive gone silent in this blog. Take it as a sign of everything else that has been going on. Writing in this blog is the first thing to be sacrificed when life intervenes. Its been many months since I wrote here. Truth be told, I think […]
    • Favorite 9 June 2021
      bobjonkman favorited something by lnxw48a1: Last year, while visiting #sonTwo and meeting #GS3 in person for the first time, I asked my daughter-in-law about smoke and carbon monoxide detectors. She said they had one of each, but she wanted more. So I ordered a few of each and they put them up. Tonight, the gas […]
    • New note by bobjonkman 2 May 2021
      But human labour only produces surplus value when it's being exploited. If humans are paid a fair value for their labour then there is no "surplus", ie. no profit for the corporate owners. This is why I favour worker-owned co-operatives instead of capitalist-owned corporations.
    • bobjonkman repeated a notice by lxo 2 May 2021
      RT @lxo the greatest challenge of automation for a capitalist economy is that machines don't produce surplus value, only human labor does

OpenDataDay Hackathon at Kwartzlab

Posted by Bob Jonkman on February 27th, 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.

 
Better Tag Cloud