Using coroutines in Neovim Lua
In this blog post I describe the use of Lua coroutines in the context of Lua programming for Neovim and provide converters for callback-based code for easy interaction with existing, non-coroutine ...
In this blog post I describe the use of Lua coroutines in the context of Lua programming for Neovim and provide converters for callback-based code for easy interaction with existing, non-coroutine ...
This note introduces the parsing recipe pattern. This Haskell parsing pattern addresses the newtype proliferation problem that arises with typeclass-based generic parsers like Cassava or Aeson. At ...
This note is about my complete setup for building Rummikub Solver on Windows for Windows. Rummikub Solver is a Haskell application that depends on external C libraries. As a Unix-native, I found i...
Neovim Plenary’s async.run seems to be doing an impossible trick. It starts a concurrent computation that runs even after the main script has finished and calls the provided callback once it’s done...
This note is about principles guiding function parameter order. As the object of study, let’s take the following function: // Hardcodes stylesheet styles into HTML. function applyStylesInline(css:...
How do I enable a function to read and write to just one file? This post explores some options I’ve considered. I was writing a program that needed to read and write a timestamp from a file in ord...
Last March I’ve discovered and reported a vulnerability on Coop’s websites (Coop is a major grocery store chain in Switzerland). I found out that the chains’ receipts are publicly visible. Coop had...
There’s a practice exercise on Kaggle that gives Titanic passenger data and asks us to find the best predictor of survival. The exercise seems exciting, so, in this post, I will dive into Titanic d...
“Blockchain” is my candidate for the word of 2017. Almost every week, I read news about new blockchain-based business ventures that are to disrupt or at least significantly improve an area of busin...
“A Random Walk Down Wall Street” is a long-running bestseller that promises to explain in lay terms how the security market works, and how to invest for retirement for maximum benefit. The book doe...