Quantcast
Channel: Crafting software» mrdavidlaing
Browsing all 13 articles
Browse latest View live

Learning functional Javascript through Koans

Given how Javascript interpreters are improving in leaps and bounds; and that it seems to be the only language that will be supported by all web devices; its time to for me to revive my Javascript...

View Article



Image may be NSFW.
Clik here to view.

A Defect Exception

Occasionally one comes across a idea that is just brilliant. How often have you been writing a bit of code, and got to a point where you think “gee, if the program ever gets into this state, then...

View Article

Everyday functional programming – part 1 of ??

This is the first of a series of blog posts where I will be exploring how functional programming techniques are useful in the daily life of a working “enterprise software” developer. If you, like me,...

View Article

Higher order functions – simplifying loops – part 2 of ??

This is the 2nd part of my series on everyday functional programming. Filtering Suppose you have a collection of items and need to grab just a subset that match a certain criteria. Programming C# in an...

View Article

Implementing the strategy pattern without an explosion of classes – part 3 of ??

I feel uncomfortable when I see large switch statements. I appreciate how they break the Open Closed Principle. I have enough experience to know that they seem to attract extra conditions &...

View Article


Functional programming in Javascript and F#

During June 2011 I presented a session at the SPA2011 conference in London, UK. My session was a hands on introduction to functional programming techniques with code samples in Javascript and F#. The...

View Article

Image may be NSFW.
Clik here to view.

Googlewack!

Hurrah! My first googlewack, discovered by complete accident.

View Article

Image may be NSFW.
Clik here to view.

AMEE in Excel

The AMEEConnect API gives access to a vast amount of climate related data. It also exposes standardise methodologies and to perform calculations based on that data. As part of the London Green...

View Article


HOWTO – configure Netbeans PHP debugging for a remote server, over a SSH tunnel

Having tripped myself up on multiple occasions setting this up, I’m recording these config steps here for future-me. Scenario:  You have a PHP site running on a remote [Ubuntu 12.04] server, and want...

View Article


Image may be NSFW.
Clik here to view.

Customise your .gitattributes to become a Git Ninja

One of the things I love about Git is that your .gitignore file travels with the repo, so ignore rules remain consistent no matter which machine you are working on. In the same vein, adding a...

View Article

Image may be NSFW.
Clik here to view.

WordPress Development Workflow using Stackato, HipHop, and Jenkins

A recent project of mine to host WordPress using HipHop-PHP on the Stackato/CloudFoundry PAAS recently got profiled by Stackato Developing like this enables: Consistent environments for development and...

View Article

Image may be NSFW.
Clik here to view.

How to debug the CF/PAAS deploy process

The new breed of PAAS systems are all converging on a common deployment model. A CLI tool uploads your code / executables to the PAAS. The PAAS launches a clean “LXC based” staging container VM and...

View Article

Logsearch for Cloud Foundry presentation

Logsearch is the opensource project I lead as part of my day job at City Index Ltd.  Based on the Elasticsearch ELK stack; and packaged as a BOSH release, it builds you a log processing cluster...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images