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 23 October 2018
      If you get the chance, come to #Kitchener to hear Sailesh Rao, one of the original proponents of #ClimateVegan speak: http://kwpeace.ca/event/faith-and-climate-transformation-a-presentation-with-dr-sailesh-rao/?instance_id=6408 /cc @me @avolkov
    • New note by bobjonkman 18 October 2018
      I have no idea what I'm looking at or listening to. #LudditesAreWe
    • bobjonkman repeated a notice by bobjonkmangreen 15 October 2018
      RT @bobjonkmangreen I'm going out to our MPP's office this afternoon to protest the cut of the $15/hr legislation, and all the other rollbacks such as paid sick days, equal pay rules and laws to make it easier to join a union. https://bobjonkman.ca/event/waterloo-action-to-defend-15-min-wage-decent-work-laws/?instance_id=402 #ONpoli #Ontario
    • New note by bobjonkman 15 October 2018
      That's pretty much what's happening in #Ontario right now... #ONpoli
    • bobjonkman repeated a notice by inkslinger 15 October 2018
      RT @inkslinger The UCP is just blatantly admitting they don't care about public opinion and that they'll deliberately try to move legislation at a pace that's too quick for people to organize and oppose. Disgusting.https://edmontonjournal.com/news/local-news/quick-laws-and-freezing-wages-jason-kenney-outlines-plans-for-power#alberta #canada #politics #cdnpoli
    • Favorite 14 October 2018
      bobjonkman favorited something by modernindustrial: @ink_slinger I'm not sure liberalism has necessarily failed, but our governmental structures have.Proportional representation would go a long way to fixing it, but I still haven't figured out how to stop the corrosive effects of concentrated capital over long timespans.
    • Favorite 14 October 2018
      bobjonkman favorited something by modernindustrial: @ink_slinger I lean toward basic income, high marginal tax rates on large incomes, and strict white collar crime enforcement. Capitalism is really good at finding clever ways to do things in ways central planning isnt - the question for me is how to maintain sufficient containment so that the power […]
    • bobjonkman repeated a notice by gwmngilfen 13 October 2018
      RT @gwmngilfen OK, I can kinda put a bit of weight on it now. Probably will be fine by morning...While I was sitting around with little yo do, I decided to make a small thing. Definitely not rigorous, but maybe interesting? You tell me :)https://gwmngilfen.shinyapps.io/ScotlandClimate/#rstats #climate #weather #shiny
    • Favorite 13 October 2018
      bobjonkman favorited something by gwmngilfen: OK, I can kinda put a bit of weight on it now. Probably will be fine by morning...While I was sitting around with little yo do, I decided to make a small thing. Definitely not rigorous, but maybe interesting? You tell me :)https://gwmngilfen.shinyapps.io/ScotlandClimate/#rstats #climate #weather #shiny
    • New note by bobjonkman 13 October 2018
      And, of course, you'll need @pixley's explanation of how it all works: https://knzk.me/users/Pixley/statuses/100883510935121910

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