Posts

chidley: XML to JSON converter, written in Go

I have just this morning released chidley , a code generator that reads XML and generates a Go program that can convert the given XML into JSON. Please see the github site for more details. I will be doing a series of chidley examples in this blog over the coming weeks.

rpmout: Go (golang) tools for listing installed RPMs in HTML,. LaTeX, json

rpmout is a utility for creating user facing rpm information written in Go. It extracts the rpm tag info (using the rpm command) and produces an HTML list fragment (default), JSON, simple text, and LaTeX. It can be restricted to the rpms that are implicated in a particular set of directories. My use is to produce a list of bioinformatics applications installed as RPMS on a Rocks cluster http://en.wikipedia.org/wiki/Rocks_Cluster_Distribution For example: users want to know what is installed in the bioinformatics install dir /opt/bioinformatics, and 'rpmout' generates (by default) an HTML fragment made up of a list of rpms and their useful attributes. This fragment is meant to be embedded into a static HTML page that wraps it with the appropriate local style, titles it, etc. Here is an example HTML output file: https://github.com/AAFC-MBB/rpmout/blob/master/sample.html.gz?raw=true (~1.4MB compressed) rpmout is my first real Go program, and I learned a lot about ...

Visualizing Canadian Energy Flows with d3.js Sankey diagrams

I have been working with processing.js but wanted to learn a little about d3js for visualizations, so took a look at Mike Bostock 's d3.js plugin for making Sankey diagrams . So I pulled down two documents that had energy flow diagrams for Canada: 2006. Powerful Connections: Priorities and Directions in Energy Science and Technology in Canada. The Report of the National Advisor Panel on Sustainable Energy Science and Technology , Natural Resources Canada, p76. 2008. Report on Energy Supply and Demand in Canada Catalogue no. 57-003-X, Statistics Canada, p121. I extracted the data from these diagrams and built these interactive Sankey energy flows: 2003 Canadian Energy Flows 2007 Canadian Energy Flows Note that these two documents are looking at slightly different views of energy flows (and 2007 does not include Uranium ), so can't be compared directly. If you have any (preferably Canadian) datasets that could be presented in this fashion, let...

My Google Scholar Citations page

I just took advantage of the opening-up of Google Scholar Citations and got my own page up . It is pretty cool to see your citations, etc. all pulled together.

IEEE Software on Software Business Models

The July/August IEEE Software [paywall warning] is a special issue on software as business, which includes one article that is Open Source oriented, and one that is "code sharing" oriented. Here are the articles: Guest Editors' Introduction: Software as a Business Software Industry Business Models Matching Open Source Software Licenses with Corresponding Business Models Sharing Source Code with Clients: A Hybrid Business and Development Model Developing Cloud Business Models: A Case Study on Cloud Gaming

Canada not involved in Aid transparency

The Aid Revolution begins with XML / The Aid Revolution Begins Here Publish What You Fund: The Global Campaign for Aid Transparency International Aid Transparency Initiative (IATI) Very oddly, Canada ( correction: Canadian government : see below) is NOT involved in this initiative , but the following countries and organizations are:    World Bank    Asian Development Bank    The European Commission (EC)    United Nations Development Programme (UNDP)    Global Alliance for Vaccines and Immunisation (GAVI)    Hewlett Foundation    Australia - AusAID    Denmark - Ministry of Foreign Affairs    Finland - Ministry for Foreign Affairs    Germany - Federal Ministry for Economic Cooperation and Development (BMZ)   Ireland - Irish Aid   Netherlands – Dutch Ministry of Foreign Affairs – Development Cooperation   New Zealand – NZAID ...

Comparative E-Government: Canada

Comparative E-Government Integrated Series in Information Systems Volume 25, 2010, DOI: 10.1007/978-1-4419-6536-3 Chapters involving Canada: Digital Government in North America: A Comparative Analysis of Policy and Program Priorities in Canada, Mexico, and the United States E-government Maturity over 10 Years: A Comparative Analysis of E-government Maturity in Select Countries Around the World  E-government and Federalism in Italy and Canada—A Comparative Assessment Adoption of Web 2.0 by Canadian and US Governments