henrygarner.com
Node.js Bowling Scorecard
http://henrygarner.com/nodejs/recursion/bowling/2015/02/04/nodejs-bowling.html
04 Feb 2015 henrygarner.com. Is an implementation of a linearly recursive bowling scorer following the rules from Wikipedia. It does not use mutable state. Once created values dont change. The main entrypoint is the. Function which accepts rolls from one player as a sequence of arguments. The. Function delegates work to the recursive. This iterates over all provided rolls keeping track of any bonuses which are due. Function is implemented using the. For more information on recursion, consult the Factorial.
henrygarner.com
Chef cookbook for Java on Ubuntu
http://henrygarner.com/chef/2012/06/11/chef-cookbook-for-java-ubuntu.html
Chef cookbook for Java on Ubuntu. 11 Jun 2012 henrygarner.com. When Oracle revoked Ubuntus partner licence. Last year, installing Oracle Java on Ubuntu became a hassle. Instead of simply running. To grab the packages from Ubuntus partner repository, sysadmins either had to migrate to OpenJDK or set up their own private repositories from Oracles website. Neither alternative was particularly attractive to me. Has developed a great script for setting up a local Java apt repository on Ubuntu. Instead, set the.
henrygarner.com
Ducklink
http://henrygarner.com/ruby/2012/02/08/ducklink.html
08 Feb 2012 henrygarner.com. Is a ruby gem. I created to manipulate URLs according to a set of rules. Rules are expressed in a custom DSL which aims to make the intention very clear. In the example above, a template is provided to a fictional affiliate provider,. Function defines three custom variables,. The only privileged parameter is. Which corresponds to the original url supplied to Ducklink. Other parameters are simply tokens which correspond to symbols passed to. Host blocks accept a.
henrygarner.com
Cupcake
http://henrygarner.com/cupcake/3d-printing/ruby/2012/02/09/cupcake.html
09 Feb 2012 henrygarner.com. Script the Makerbot 3D printer. Cupcake is a work in progress, a gem. For interacting with the Cupcake 3D printer from Makerbot. In real time. You can see the code on Github. I love my Cupcake. I love watching it do its thing. It seems like magic. Part of that magic is to do with turning a virtual reality into a physical reality. The tangible objects my Cupcake creates are a good approximation of the original digital models. This is novel. Its cool, and its. In October 2011&#...
henrygarner.com
Likely Awarded a Dreamy
http://henrygarner.com/likely/2012/08/08/likely-awarded-a-dreamy.html
Likely Awarded a Dreamy. 08 Aug 2012 henrygarner.com. Im thrilled to report that Likely has been awarded a Dreamy. Technology) for our contribution to Big Data analytics. Last night I was proud to represent the team as I collected the award on stage with my co-founder Daniel Shore. Since the awards are pan-industry I was asked to say a few words about contemporary data analytics that would contextualise our work. Ive included them below for posterity. Theyre horizontally distributed, designed to run acro...
henrygarner.com
Redstone
http://henrygarner.com/minecraft/clojure/2014/05/05/redstone.html
05 May 2014 henrygarner.com. Is a Clojure interface to Minecraft: Pi Edition. Once you have a running Minecraft server, connecting to it is simple. For lots more examples, including some project ideas, take a look at the Redstone readme.
henrygarner.com
Biscuit
http://henrygarner.com/biscuit/ruby/2012/11/25/biscuit.html
25 Nov 2012 henrygarner.com. Is a Clojure library for creating message digest(ive)s. The digest algorithms implemented in biscuit are all variations of CRCs. And are designed to verify the integrity of messages sent over noisy channels. Biscuit is extremely simple. Each digest algorithm is implemented as a function which accepts a single message argument and returns the digest value. Special thanks go to the digest-crc. Ruby gem which strongly influenced this library.
henrygarner.com
ClojureScript and Three.js
http://henrygarner.com/clojure/clojurescript/threejs/2013/11/05/clojurescript-threejs.html
ClojureScript and Three.js. 05 Nov 2013 henrygarner.com. I gave a talk at the London Clojurians. Skills Matter meetup November 2013 on combining ClojureScript and Three.js to create a multiplayer game of Snake. The video is here. And the slides are here. If you dont want to view the slides through the Reveal.js viewer Im using in the talk, you can just read the org document. They were generated from.
henrygarner.com
Turtle Rosettes
http://henrygarner.com/learning/python/drawing/2014/05/05/turtle-rosettes.html
05 May 2014 henrygarner.com. An introduction to Python for new programmers. I was recently asked to run a programming taster session for a friends 7 year old son. Having been a relative latecomer to programming myself, and entirely self-taught, I was really happy for the opportunity to share my knowledge with someone so young. I wanted to choose a language and project that would give us instant feedback. I opted for Python 2.7. These instructions assume an Apple latop running OS X. At the terminal window.
SOCIAL ENGAGEMENT