Disclaimer: I am publishing the following article on behalf of a friend who recently wrote it. I found the piece engaging and worth preserving, which is why I decided to share it here. The article reflects the author’s personal views and style; all opinions, interpretations, and conclusions expressed are solely those of the original author and do not represent my own.
Celery pipelines often work fine until one task brings everything to a halt. For us, the root cause was simple: when Kubernetes OOM-killed a Celery worker during execution, RabbitMQ would redeliver the unacknowledged task. In practice, this meant the same poison task (often memory-intensive) would bounce from worker to worker, gradually stalling the entire pipeline.
Chromecast does only support a selection of audio and video codecs. I have used the following a lot to convert almost any video for streaming on the Chromecast:
Checking whitespace with Git Ionic: Make source maps for android work A tool to generate binary polyglots Firejail with Tor HOWTO xchg rax,rax Awesome Hacking: A collection of awesome lists for hackers, pentesters & security researchers GTFOBins is a curated list of Unix binaries that can be exploited by an attacker to bypass local security restrictions Reverse Shell Cheat Sheet Capture and…
During COVID-19 times it is vital that we don’t gather in big groups. That puts the burden of tracking people in enclosed spaces onto the ones in charge. Counting is a lot of work with not much reward.
evkill is a silencer for evdev input devices. Run a single command and make your /dev/input/ devices go “psst!”. In this post we will use evkill on a reMarkable e-ink writing tablet to disable the capacitive display while writing.
pandas.DataFrame.to_csv does not support writing to binary file objects 1. This causes confusion 2345 and makes the function difficult to work with. In this article I will first illustrate the problem with an example. Then, I will present a monkey patch for pandas.DataFrame.to_csv which mitigates the known pitfall. pandas.__version__ == "1.0.3" [to_csv and bytes on Python 3][pandas-issue-9712]…
Unicode is Awesome Git - Mental models and Cheatsheet Git from the inside out Nixpkgs/Create and debug packages Ein nicht nur astronomischer Blick auf den Stern von Bethlehem Flightera.net is a young project that collects flight data and tracking information to generate statistics around aviation A community-driven effort to make web accessibility easier A CUPS driver which sends documents to the…
plantuml-parser 0.0.12 introduces TypeScript declarations. Now you can parse PlantUML and get a fully typed result. PlantUML diagrams are awesome! In this post I first give a brief introduction into PlantUML. Then I will show how you can use plantuml-parser with TypeScript to make the most out of your diagrams.
I got my reMarkable recently and writing a few words about it will possibly not hurt anyone. This is not a product review, I much rather try to focus on technical aspects. Such as packaging the software and analyzing some of its features.
Find the Ideal time to post on reddit Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint Bash One-Liners Explained, Part III: All about redirections Online Meme Generator How to Fake Dynamic Binding in Nix npm trends: Compare package download counts over time A Huge Collection of MS-DOS Games Quick IPython shells with nix-shell Migrate to travis-ci.com…
With git-sync-mirror migrating or mirroring a git repository is a piece of cake. But when the migrated repository contains submodules additional steps are required.
Big List of Naughty Strings Gardens as Crypto-Water-Computers SCRIPT-8 is a fantasy computer for making, sharing, and playing tiny retro-looking games Google Books - Ngram Viewer AIweirdness - Training neural networks to write unintentional humor as they struggle to imitate human datasets Has the Large Hadron Collider Destroyed the World yet? How the Boeing 737 Max Disaster Looks to a Software…
Running containers behind a HTTPS scanning proxy can be tricky. The proxy will send a certificate which is not trusted by the container with the effect of breaking the internet.
A prime number whose binary representation looks like a giraffe Can’t install RMagick 2.16.0. Can’t find MagickWand.h asciinema: Record and share your terminal sessions Pyre: Fast Type Checking for Python GNU parallel: A shell tool for executing jobs in parallel using one or more computers dobi: A build automation tool for Docker applications BuildKit: A toolkit for converting source code to build…
Syntactical sugar for your bash parallelism. :for calls a function for each argument in parallel. If at lest one call exits with a non zero exit code, :for retains this code and kills all running instances.