avatar

Mauri870's dev blog

Software engineering, AI, web and devops stuff

Writing Redis Scripts with JavaScript

Redis already supports Lua as a scripting language, allowing users to extend the functionality of Redis commands with custom scripts. However, JavaScript is a far more popular language overall, so how about writing Redis scripts in JS instead?

Redis and LuaJIT

Redis is a very popular in-memory store and has support for Lua scripts. But how about throwing LuaJIT into the mix?

Why Time Differences Can't Be Trusted

Time granularity on Windows is much lower than you’d expect, and that can cause surprising bugs when measuring elapsed time.

The Low-Background Web

We are generating more content than ever — but how much of it is still truly human? And how do we even know what’s real anymore? Let’s talk about the Low-Background Web.

AMD 2.0

We finished the full rollout of a new version of our AMD project, let’s find out the improvements made alongside some implementation notes!

O(n^2) Redis memory usage with Laravel Horizon

O(n^2) again, now with Laravel Horizon memory usage.

Plan9 br-abnt2 keyboard map

This is a quick post about a new Plan9 keyboard map, supporting the brazilian ABNT2 layout.

Writing an Asterisk PBX module in Rust and C

Asterisk modules are commonly written in C, but what about writing an Asterisk module in Rust? Let’s find out.

Asterisk leaking resources? No, it's gsutil :'(

This week we solved a resource leak in our asterisk images reserved for call handling. Here’s the path we follow to mitigate the issue, which we find out to be related with the gsutil command line tool.

Plan9 on raspberry pi 3

Plan9 is a research operating system from the same group who created UNIX at Bell Labs Computing Sciences Research Center (CSRC). It emerged in the 80s, and its early development coincided with continuing development of the later versions of Research UNIX. Let’s install it in the raspberry pi 3!