Benchmarking a pi calculation for fun
Wednesday, May 22, 2019
Dotnet Core, Golang, Node, C, Java, Python. This is what I felt like doing on a Tuesday night after seeing yet another article discussing the performance of dotnet core over node.js. As is typical when things like these arise, our team’s slack channel went into the lightest of debates about C# vs Node, compiled speeds vs interpreted languages, and finally back to what we were originally discussing - “Do you think cypress would be faster than selenium?…
nodejsgolangjavapythoncprogrammingpialgorithmsnodejsgolangjavapythoncprogrammingpialgorithms
Brainteasers - they're important!
Tuesday, November 13, 2018
48 days ago I signed up for https://www.dailycodingproblem.com/ I haven’t completed all 48 problems however the ones that I have completed, I’ve had a blast with. It bring back a challenge that’s been missing - not that my work and personal life don’t have their own challenges. It brings me back to basics and gets me thinking again on algorithm design and optimization of code. Much of my development work (which is less and less these days) is done using a framework of some sort which puts a layer of ‘magic’ on top of the coding experience.…
Go - Micro-services and Embedded Databases [Part 2]
Monday, September 24, 2018
If you haven’t already, check out Part 1[!] First things first - let’s make these responses something machine readable instead of just some plain text! That’s a nice and easy way to dive back into the code! We are going to create 2 new structs in the router.go file to declare how the app is going to return Errors and Standard responses. package main // ... type ApiErrorResponse struct { Error string `json:"error"` } type ApiStandardResponse struct { Payload interface{} `json:"payload"` } This is menial, but it helps our responses have a bit more structure.…
Go - Micro-services and Embedded Databases [Part 1]
Wednesday, September 19, 2018
This is fun! FYI - If you’re looking for Part 2, it’s here[.] I’ve been meaning to learn a few of the things I’m going to go over in this post. Firstly, I want to make an actual useful application using Go. I want it to be run as a microservice with it’s own database. Instead of putting it in a docker container, I want to just use an embedded database that the executable can use.…
Learning Go - Morse Code!
Wednesday, August 15, 2018
I was watching Churchill’s secret agents on Netflix the other day When all of a sudden I got a hit of nostalgia when they got to the portion on morse code. Such an ingenious little method of communcation that I still, to this day, couldn’t follow for the life of me! I took a class on encryption and one of the first concepts they spoke of was morse code. Taking language and transcribing it into a not-so-easy to decipher combination of beeps and blips to send messages over a wire.…