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 29 November 2020
      Bread machines are great. I haven't bought a loaf of bread in about three years. If #sonTwo's bread machine has custom settings, I recommend 20 min knead time, changing the rise times (1hr, 1.5hrs, 1.5hrs) and at least 60-70 min bake time. A good recipe is 1 cup water, 2.5 cups all-purpose flour, 2 tbsp […]
    • bobjonkman repeated a notice by lnxw48a1 29 November 2020
      RT @lnxw48a1 #sonTwo texted to tell me that his in-laws bought them a bread machine. Me: Oh, cool! I was thinking the same thing, but it's beyond my current budget. They can sometimes be competitive, but I'm more of *good, you're helping take care of our kids and grandkids*
    • New note by bobjonkman 28 November 2020
      I'm near the Great Lakes (about an hour's drive from either Lake Ontario or Lake Huron, depending whether I go South or West). It was 5C for most of the day, about 40F for your USians. Apparently that's normal for this time of year...
    • bobjonkman repeated a notice by lnxw48a1 28 November 2020
      RT @lnxw48a1 About halfway through today's #YoCo ( #yogurt and #coffee ). Indoor temperature is 60°F, outdoor temperature is 30°F. Outdoor cats' water dish has about 0.5in / 1cm of ice on top. Very glad I'm not near the Great Lakes right now.
    • Favorite 24 November 2020
      bobjonkman favorited something by lnxw48a1: @vegos I agree. To most organizations, their primary concern is reach. So they congregate on big #corpocentric #socnets, even when the central corporation running things is actively hostile to their point of view. Then they're butthurt when their accounts are shadowbanned. Years ago, I tried to persuade some local Black […]
    • bobjonkman repeated a notice by lnxw48a1 24 November 2020
      RT @lnxw48a1 @vegos I agree. To most organizations, their primary concern is reach. So they congregate on big #corpocentric #socnets, even when the central corporation running things is actively hostile to their point of view. Then they're butthurt when their accounts are shadowbanned. Years ago, I tried to persuade some local Black churches and ethic-focused […]
    • bobjonkman repeated a notice by lnxw48a1 24 November 2020
      RT @lnxw48a1 https://techcrunch.com/2020/11/24/australia-spy-agencies-covid-19-app-data/ [techcrunch com] #Australia spy agencies caught collecting #COVID-19 app data #surveillance Source: https://mastodon.social/@glynmoody/105266051824700682
    • New note by bobjonkman 3 October 2020
      There's also Megablocks, the precursor to Duplo. And there are also Micro Megablocks, the same size as LEGO. The kits for Micro Megablocks were much better than the LEGO kits, making slightly larger models but using only standard bricks. The LEGO models were smaller, depending on many custom pieces specific to the kit, which were […]
    • Favorite 3 October 2020
      bobjonkman favorited something by clacke: Not only are Duplo blocks *like* Lego blocks, they *are* Lego blocks, and I don't just mean that Duplo is a Lego brand and produced in the same factory, the two systems are actually compatible.A Lego 2x2 block fits and sticks to the underside of a Duplo block, and the […]
    • bobjonkman repeated a notice by clacke 3 October 2020
      RT @clacke Not only are Duplo blocks *like* Lego blocks, they *are* Lego blocks, and I don't just mean that Duplo is a Lego brand and produced in the same factory, the two systems are actually compatible. A Lego 2x2 block fits and sticks to the underside of a Duplo block, and the nob on […]

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