I've been using a password manager for years now, and from time to time this leads to strange discoveries with password validation. They've ranged from crashing the server to simply ignoring valid passwords. I might write this out as a proper article some time in the future, but my latest discovery has me puzzled as to what is actually going on and I wanted to share it.
The discovery was made while signing up for a…
Recently I've been playing around with some web-development things in Nim. This was prompted by having to create some simple servers/websites at work, and using both Nim with Jester + Karax and .NET + Angular I noticed that both had their pros and cons. I also of course maintain this website which uses PHP, and that prompted me to try out an idea I had in my webexperiment repo, which allows you to edit the files…
Recently I had to set up a cross-compile build for a project that had to run on Windows (32 and 64 bit) and Linux. The process included getting a couple of dependencies, configuring and compiling with rather long commands (at least on Windows), and then copying all the things into the right places and bundling it all up in an installer. This quickly turned into a rather long README file documenting all the different steps that needed…
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…
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…