RSSAmplifier

Blog

(untitled)

dimtion.frRSS feed ↗16 posts

Latest posts

Logit soft-capping

Logit From google : the vector of raw (non-normalized) predictions that a classification model generates, which is ordinarily then passed to a normalization function. If the model is solving a multi-class classification problem, logits typically become an input to the softmax function. The softmax function then generates a vector of (normalized) probabilities with one value for each possible…

Calcification of Technology

One thing to notice when studying the history of tech or the internet is the winner takes all trend that results in slowly making tech a higher and higher tower of complexity. Here, I call tech calcification the observed principle that once a technology is sufficiently widespread, new capabilities of a technology are built on top of it instead of next to it. Here are a few examples: Everything is…

Optimizing GutterMarks.nvim

A few weeks ago, I shared GutterMarks.nvim ( blog , GitHub ) a Neovim plugin to allow displaying the nvim marks in the gutter of a buffer. It got positive feedback, and since then I added a couple of convenient actions, and fixed a couple of minor bugs that the community had found. One thing I spent more time recently is optimizing the performances of the plugin. In the README I mention that the…

Fast comment toggle in Neovim

I didn&#x27;t see this mapping anywhere else in the community yet, so hear me out. A modern Neovim key mapping I see often these days is the use of <space> as a <leader> key. I believe this is coming from the need to use a lot of indirect mappings behind the leader namespace, and provide efficient access. I don&#x27;t use this mapping, I feel the default leader key \ is close enough to the home…

GutterMarks.nvim

GutterMarks.nvim I love Neovim marks , this weekend, I got tired by existing neovim marks plugins. They are often complex, impose new workflows and sometimes don&#x27;t provide the basics very well out of the box: display the Marks in the buffer gutter. For example, marks.nvim runs a scheduled function every 150 milliseconds to refresh the existing marks, both not great for performances and slow.…

LLM agents as a new automation level

In high load teams, there is this common thread that appears again and again: "we don&#x27;t have time to fully automate this SOP". This happens for problems that are rare (a few time a year), are low impact (only 0.0x% of clients&#x2F;requests&#x2F;$ impacted) or high engineering cost to fix. Usually, if your organization is effective, you&#x27;ll take note of the recurring problem, add it to a…

Zellij

Cache location in macos: ~ &#x2F;Library&#x2F;Caches&#x2F;org.Zellij-Contributors.Zellij Bug with session dissapearing after an update See: zellij#3371 # kill all running process ps aux | grep -i "[z]ellij --server" | awk {'print $2'} | xargs kill # Copy the old version to the new version cache: cp -r ~&#x2F;Library&#x2F;Caches&#x2F;org.Zellij-Contributors.Zellij&#x2F;{0.41.2&#x2F;,0.42.1} # List…

Pytorch

Pytorch for M series mac (Metal accelerated) Using bare pip From Apple documentation , using simple pip: pip3 install --pre torch torchvision torchaudio --extra-index-url https:&#x2F;&#x2F;download.pytorch.org&#x2F;whl&#x2F;nightly&#x2F;cpu For a uv project For a Python project using uv as a project and package manager do the following: Add to the uv pyproject.toml file: [ tool.uv.sources ] torch…

ComfyUI RAW Image Loader

This weekend I was trying a bit ComfyUI to see what is happening on the stable diffusion domain. Even though it looks like stable diffusion is no longer the best and greatest , it is still clearly an impressive tool to generate images. Most users seem to focus on using it to either create image from text , do style transfer , or plenty of uses cases that are trendy on Twitter and other social…

Metonymies in software engineering

Properly communicating in engineering is often a tradeoff between being concise and being accurate. A common tool to remain concise while remaining specific is to use metonymies . A metonymy is a figure of speech in which a specific concept is referred by another very close word. A common type of metonymy used is to designate a concept by a specific implementation it. For example, when one means…

Falsehoods Software Developers Believe About Event-Driven Systems

When building a distributed system, a common design pattern is to follow the event-driven approach. Event-driven systems can range from a simple in-memory queue to a serverless AWS Lambda with a preceding queue, or even connected Kafka clusters. when reviewing code implementing an even driven architecture, I see common mistakes that cause toil or even operational incidents once deployed to…

Trying out lazy.nvim

During the few months, following the news that packer.nvim is deprecated, I wanted to try out the new cool package manager in town lazy.nvim . I spent a bit of time migrating over my personal and work configurations over to lazy. Here are some thoughts I had during the migration. To give a bit of context, my journey on &#x2F;n?vim&#x2F; package managers is the following: Vim no package manager Vim…

The magic of no maintenance

Recently, I&#x27;ve been revisiting some of my old side projects. I&#x27;m in the process of consolidating all those projects onto a single server. This would help with cost of managing all of them, and also merge all the Apache2, nginx, Traefik, uwsgi, actix-web, and whatnot web servers configurations I tried over the last 10 years. This project is quite satisfying and feels like a form of…

Why Large Language Models Won&#x27;t Fix Google

It is a common meme that Google Search results quality has declined through the years. Despite being sold by many as such, Large Language Models (LLMs) such as ChatGPT, Bing Chat and Bard are not on a course to improve search engines. This is not just a technical issue, but a fundamental misunderstanding of the environment in which search engines operate. Let&#x27;s tackle the obvious technical…

Hold your left

Error handling is hard . When writing throwable code , and requirements are unmet, developers generally glance over error handling and let the script crash. However, when writing production-ready code, error handling oftentimes makes up the bulk of the source code. This has a non-trivial impact on readability, maintainability, and debugging. In this article, we&#x27;ll explore two very simple…

Using Git Efficiently

Introduction There was a debate a few months back on Twitter about 10x developers , if they exist, what is the definition of such unicorn, or even if 10x developers are only bad developers who simply look good to management. The truth is, without any prior knowledge, if we assume that effectiveness can be measured (whatever definition you want to put in that word), this distribution will most…