In this post, I’ll describe a quick setup to start hacking on a TypeScript project on Node.js
, using yarn
as package manager instead of npm. I’ll use an app called readnext as example.
Designing Data-Intensive Applications, by Martin Kleppmann (5/10)
[507 words]This book is a survey of the staggering amount of pieces of technology that can be used to build data-intensive applications, defined (in my rough interpretation) as user-facing systems that treat significant amounts of data and are expected to do it quickly. Contains reflections on trade-offs to take into account when choosing one solution over the other.
Notes on Amazon ECS
[378 words]Here are some notes I’ve taken while reading Building Blocks of Amazon ECS.
Generating gergel.im using Hexo
[571 words]I’ve changed the static site generator that powers www.gergel.im
. In this post, I explain the motivation behind this change, describe a few issue I had during the setup, and finally spend a word about my new workflow for content creation.
Switching gergel.im to https
[271 words]Write a CGI program
[459 words]Today I wanted to make some experiments with CGI on my newly-installed Ubuntu 16.04. There are a few steps to take before starting to experiment, and I’m writing them down here in case anyone else wants to try something similar.
Destructors are not always called in case of exceptions!
[325 words]Wrong assumption: when an exception occurs, a stack unwinding occurs, which means that the relevant destructors of objects are called in the appropriate order.
Writing a simple calculator in Racket
[1064 words]Frustrated by several attempts at creating GUI-based programs that I’ve tried in the past, I decided to try how differently the story could end when using a language that promises enlightenment to its users. I ended up writing Calculon, a simple calculator, and in the process learned a couple of things about Racket and the racket/gui
module (and paid homage to one of the best cartoons in history).
Twelve weeks of Racket and CS:APP
[1269 words]As promised, this is a wrap up of my experience concentrating for (slightly more than) 12 weeks on only 2 subjects. For this first stint, I chose to learn Racket and to read Computer Systems: A Programmer’s Perspective. Not long ago I have lost interest in providing ultimate motivations for what I do in my free time; I’ll just stick to what happened. (I can’t promise I won’t motivate everything else, which is not ultimate.)
Track the lifetime of std classes' instances
[346 words]I remembered a simple trick I used to know, but that could not remember on the spot, to solve a problem in understanding the exact lifetime of C++ objects.