Hide
Home
RSS

Clojures persistent vectors in Nim27th July 2017

One of the things about functional languages which makes them so easy to work with are their immutable data structures. Immutable means that you can't change them, which is why many people prefer the term persistent as it refers to how each pointer to the data structure would always yield the same view of the data. But instead of simply copying large amounts of data each time you want to do an operation most functional…


Interesting new cross-platform GUI toolkit written in Nim2nd July 2017

While working with the wxWidgets mapping for Nim we discussed the possibility for creating a cross-platform GUI toolkit in pure Nim using the bindings for the various platforms' toolkits. But apparently somebody beat us to it! Haven't done much more than running all the examples but I must say it really looks good so far. File sizes are very small (dynamically linking on Linux at least) and the results look good. Very interested in seeing where this…


Zero-rating and Norway23rd June 2017

Recently two of our major cell-carriers have introduced versions of what they refer to as "Music Freedom". These services work on the premise that data from music streaming services (a rather short list of authorized services) does not count against your monthly quota of data. Obviously these are marketed as a great feature, and heavily advertised towards younger audiences. However services like these have a dark side to them. Consider 5 years ago when Spotify…


Internet of Things with Digisparks10th April 2017

Some time ago I bought a set of Nexa wireless sockets. They come with a remote and communicate over a 433Mhz custom protocol. However since I kept misplacing the remote I wanted to make the solution better. So I got a couple 433Mhz chips from AliExpress and connected them to a WeMos D1 mini ESP8266 chip. The ESP8266 is an Arduino compatible chip with built in WiFi and it's commonly used in home automation and…


New scraps feature10th April 2017

When I created this development log I intended for the entries here to serve a two-fold purpose. Part of it was to share my projects and show some of the interesting things I come upon while creating them. The other part was to remind myself of how I did some of the more challenging or confusing parts. In both of these regards I feel the log has fallen a bit short. Sure, I've managed to…