Posts

Postscript coding resources

Image
Postscript is one of my favourite programming languages. Resources for postscript programming are not too common, and are always popping up and then disappearing, as things tend to do on the Web. Here is a snapshot of links that work: I will do my best to keep them up-to-date.

VPN Down? Fill your time (and brain) with free cloud training Part 2 of 2: Azure

  Part 2: Azure Free Azure educational material. Ordered (oddly enough) by time length. Non-exhaustive, personally selected for my team and peer teams , but I hope useful for you too.  :-) [Link to Part 1: AWS ] And full disclosure: I have no affiliation with either of these companies. 25 min: Core Cloud Services - Azure data storage options 25 min: Get started with Azure DevOps 28 min: Core Cloud Services - Azure networking options 30 min: Choose a data storage approach in Azure 34 min: Analyze your Azure infrastructure by using Azure Monitor logs 34 min: Control Azure services with the CLI 35 min: Align requirements with cloud types and service models in Azure 36 min: Add and size disks in Azure virtual machines 36 min: Core Cloud Services - Introduction to Azure 36 min: Create serverless logic with Azure Functions 37 min: Design an IP addressing schema for your Azure deployment 37 min: Monitor and troubleshoot your end-to-end Azure network infrastructure...

VPN Down? Fill your time (and brain) with free cloud training Part 1 of 2: Amazon Web Services

 In this difficult time, many of us are at home, teleworking, (and worrying about the world around us), waiting for someone else to get off the #*%#!$@# VPN so we can get on it, quickly read emails and copy files to work offline. But there is a limit in what you can do not connected to the Borg collective. In order to fill the remaining hours of the day, I've collected free AWS and Azure training material that you can use to make productive use of the time when you are not able to have a full pipeline of tasks on your plate. And perhaps to distract a little from the events of the day.  Part 1 AWS: About 75 hours of training material, ordered (oddly enough) by time length. Non-exhaustive, personally selected for my team and peer teams , but I hope useful for you too.  :-) [ Part 2 Azure : About 50 hours of training material. Sorry, less than AWS: I got tired of collecting it all!] And full disclosure: I have no affiliation with either of these companies. And plea...

Learning TikZ: Re-creating article diagrams with LaTeX / TikZ: #1

Image
I am trying to improve my LaTeX/TikZ skills, so I am re-creating on request scientific article diagrams. The first is here that I've made for a friend of mine: Original diagram (Note this diagram is copyright(c) Academy of Management; used here in a Fair Use fashion): TikZ diagram: The LaTeX code and instructions can be found at github . Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License If you have a diagram you'd like re-created, just add a comment to this blog post and we can talk. Expect a turn-around time of >1 week. I reserve the write to decline diagrams.  :-) ------------------------------------------ The paper the original diagram (Figure 1, p532) is from: An Organizational Learning Framework: From Intuition to Institution Mary M. Crossan, Henry W. Lane and Roderick E. White The Academy of Management Review Vol. 24, No. 3 (Jul., 1999) , pp. 522-537 Published by: Academy of Management   http:/...

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...