Quantcast
Channel: Mark Needham
Browsing latest articles
Browse All 988 View Live

Image may be NSFW.
Clik here to view.

Ethereum Hello World Example using solc and web3

I’ve been trying to find an Ethereum Hello World example and came across Thomas Conté’s excellent post that shows how to compile and deploy an Ethereum smart contract with solc and web3. In the latest...

View Article


Image may be NSFW.
Clik here to view.

Leaflet: Fit polyline in view

I’ve been playing with the Leaflet.js library over the Christmas holidays to visualise running routes drawn onto the map using a Polyline and I wanted to zoom the map the right amount to see all the...

View Article


Image may be NSFW.
Clik here to view.

Strava: Calculating the similarity of two runs

I go running several times a week and wanted to compare my runs against each other to see how similar they are. I record my runs with the Strava app and it has an API that returns lat/long coordinates...

View Article

Image may be NSFW.
Clik here to view.

Asciidoc to Asciidoc: Exploding includes

One of my favourite features in AsciiDoc is the ability to include other files, but when using lots of includes is that it becomes difficult to read the whole document unless you convert it to one of...

View Article

Image may be NSFW.
Clik here to view.

Tensorflow: Kaggle Spooky Authors Bag of Words Model

I’ve been playing around with some Tensorflow tutorials recently and wanted to see if I could create a submission for Kaggle’s Spooky Author Identification competition that I’ve written about...

View Article


Image may be NSFW.
Clik here to view.

Asciidoctor: Creating a macro

I’ve been writing the TWIN4j blog for almost a year now and during that time I’ve written a few different asciidoc macros to avoid repetition. The most recent one I wrote does the formatting around...

View Article

Image may be NSFW.
Clik here to view.

Neo4j Import: java.lang.IllegalStateException: Mixing specified and...

I’ve been working with the Neo4j Import Tool recently after a bit of a break and ran into an interesting error message that I initially didn’t understand. I had some CSV files containing nodes that I...

View Article

Image may be NSFW.
Clik here to view.

Running asciidoctor-pdf on TeamCity

I’ve been using asciidoctor-pdf to generate PDF and while I was initially running the tool locally I eventually decided to setup a build on TeamCity. It was a bit trickier than I expected, mostly...

View Article


Image may be NSFW.
Clik here to view.

Yelp: Reverse geocoding businesses to extract detailed location information

I’ve been playing around with the Yelp Open Dataset and wanted to extract more detailed location information for each business. This is an example of the JSON representation of one business: $ cat...

View Article


Image may be NSFW.
Clik here to view.

Neo4j: Cypher – Neo.ClientError.Statement.TypeError: Don’t know how to add...

I recently upgraded a Neo4j backed application from Neo4j 3.2 to Neo4j 3.3 and came across an interesting change in behaviour around type coercion which led to my application throwing a bunch of...

View Article
Browsing latest articles
Browse All 988 View Live