This Blog Is Not For Reading

A blog, just like any blog, only more so

  • Subscribe

  • Categories

  • RSS Bob Jonkman’s Microblog

    • Favorite 31 May 2020
      bobjonkman favorited something by atarifrosch: @bobjonkman: Das habe ich heute bekommen, wiederum 2 Monate später …
    • bobjonkman repeated a notice by fsf 24 May 2020
      RT @fsf Remote education has provided an unfortunate opportunity for privacy-invading proprietary software to invade students' lives. Learn how many people are fighting back: https://u.fsf.org/32h
    • Favorite 24 May 2020
      bobjonkman favorited something by fsf: Remote education has provided an unfortunate opportunity for privacy-invading proprietary software to invade students' lives. Learn how many people are fighting back: https://u.fsf.org/32h
    • Favorite 20 May 2020
      bobjonkman favorited something by matrix: RT @numbleroot@twitter.comThank you Facebook, for buying giphy. This aquisition alone has spawned three new @matrixdotorg@twitter.com homeservers for decentralized, end-to-end-encrypted communication in my friendsphere over the past couple days alone.🐦🔗: https://twitter.com/numbleroot/status/1263064307220254720
    • Favorite 20 May 2020
      bobjonkman favorited something by invaderxan: The highest mountain on Earth is known as Sagarmatha (सगरमाथा) in Nepali, meaning “goddess of the sky” and Qomolangma (ཇོ་མོ་གླང་མ) in Tibetan, meaning “holy mother”. The name “Everest” wasn’t given until 1865. Even the guy it was named after objected, and wanted them to keep a local name for it. […]
    • New note by bobjonkman 2 April 2020
      oh, hang on. That was a ReTweet from @wilkieii@twitter.com But you're still invited to make that presentation!
    • New note by bobjonkman 2 April 2020
      ...and you'll make a presentation at an upcoming @KWLUG meeting, right? On the very platform you're presenting about!
    • bobjonkman repeated a notice by hubert 2 April 2020
      RT @hubert ♲ @matrix: RT @wilkieii@twitter.com Successfully using entirely self-hosted+federated Riot/Matrix/Jitsi/Etherpad/PeerTube to host lectures, teleconference with students, answer questions in chat, and collaboratively edit their code. Write-up is incoming. Once I take a nap. 🐦🔗: twitter.com/wilkieii/status/12…
    • Favorite 2 April 2020
      bobjonkman favorited something by hubert: ♲ @matrix@mastodon.matrix.org: RT @wilkieii@twitter.comSuccessfully using entirely self-hosted+federated Riot/Matrix/Jitsi/Etherpad/PeerTube to host lectures, teleconference with students, answer questions in chat, and collaboratively edit their code. Write-up is incoming. Once I take a nap.🐦🔗: twitter.com/wilkieii/status/12…
    • New note by bobjonkman 22 March 2020
      He'll never find it again. But you get a tree!

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