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 seanl 25 May 2018
      RT @seanl Chrome isn't a web browser. It's a tentacle of Google that takes over your computer, spies on you, and controls everything you see.
    • New note by bobjonkman 25 May 2018
      Must have been someone else. The only static website generator I've used is a text editor :-) There's a bunch of #WordPress installations I maintain, and I run a MediaWiki instance. Neither qualifies as "static"... / @mcscx2 @steckhalter
    • New note by bobjonkman 22 May 2018
      In addition to SMTP there's !XMPP and #IRC, but you're right, they don't have mainstream adoption (unless you consider the bastardized versions produced by Cisco and Slack)
    • Favorite 22 May 2018
      bobjonkman favorited something by wolf480pl: @jerry @rysiek @Aaron I have a feeling that right now, SMTP has the biggest adoption of all federated messagning protocols, and the second place is far far behind. Of all the new communication protocols I've seen recently, they're either popular, or federated, not both. And trying to get your new […]
    • bobjonkman repeated a notice by arx 21 May 2018
      RT @arx I don't get it... this #efail / #gpg / #pgp / #smime thing is all over German media (e.g. here: http://www.tagesschau.de/inland/e-mail-verschluesselung-101.html) even though it is totally irrelevant for 99% of people, as almost no one is using PGP encryption for his/her mails anyways and the few that do will most likely have disabled […]
    • Favorite 21 May 2018
      bobjonkman favorited something by arx: I don't get it... this #efail / #gpg / #pgp / #smime thing is all over German media (e.g. here: http://www.tagesschau.de/inland/e-mail-verschluesselung-101.html) even though it is totally irrelevant for 99% of people, as almost no one is using PGP encryption for his/her mails anyways and the few that do will most […]
    • Favorite 21 May 2018
      bobjonkman favorited something by fdroidorg: There is now a beta version of #OsmAnd 3.0 on #fdroid. Please test if you feel up to it.
    • bobjonkman repeated a notice by fdroidorg 21 May 2018
      RT @fdroidorg There is now a beta version of #OsmAnd 3.0 on #fdroid. Please test if you feel up to it.
    • Favorite 20 May 2018
      bobjonkman favorited something by beni: @lohang I always tried to get people to stop using html in email. Never worked with Outlook users. I don't think deactivating encryption is much of a solution. It's like getting rid of your car because you just learned that it could be stolen.
    • Favorite 20 May 2018
      bobjonkman favorited something by beni: @lohang how about "don't use html email".

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