atlas news
    
Peterbe
12  décembre     02h07
Benchmarking oxlint vs biome
   oxlint is as fast as biome and oxlint --type-aware a bit slower but they accomplish slightly different things.
11  décembre     12h10
Elasticsearch memory usage
   I have a virtual server, run by Digital Ocean, that runs my various side projects including this blog that you’re reading right now. Of all the things running, Elasticsearch uses up over 60% of the total RAM memory. Here is the raw report: MEMORY 1 54.9 (61.8%) usr share elasticsearch jdk...
08  décembre     16h11
gg2 is now installable with Homebrew
   gg2 can now be installed with brew install.
06  décembre     01h38
Testing out vite 8 on SPA: Vite 8 is 5x faster
   Vite 8 came out this week. Great I have a single page app (the admin app for this blog) that is built on Vite, Mantine, TypeScript, and react-router. I tried upgrading to vite 8.0.0-beta.0 to see if it’s any faster. tl;dr; it’s 5 times faster. From 3.8 seconds to build, down to 0.8 seconds. The app...
12  novembre     12h42
Using AI to rewrite blog post comments
   Using AI to correct and edit blog post comments as part of the moderation process.
03  novembre     16h40
Hosting your static web site with Firebase Hosting
   Firebase Hosting is a part of Firebase platform, the integrated real-time database, cloud functions, app auth, etc. But you can use just the Hosting feature. Suppose you have a single-page app that builds a complete site with index.html and index-63gsxn38.css etc. All the files you need for static...
24  octobre     01h23
Bun vs. Go for a basic web server benchmark
   tl;dr; Bun is plenty fast to serve as a basic web server that does no I O. It’s even faster than Go using fasthttp. Doing a Hello World benchmark comparison is rather contrived because it’s so unrealistic. No server does no I O. However, it’s good to know that if you do need something as simple as...
15  octobre     23h23
hylite as an executable
   github.com peterbe hylite is now available as downloadable single-file executables
10  octobre     13h07
In Python, you have to specify the type and not rely on inference
   Unlike TypeScript, if you give a variable a default, which has a type, that variable is implied to always have the type of the default. That’s not the case with mypy and ty.
29  septembre     19h04
Find the source of an alias in bash
   This is borderline embarrassing but by blogging about it, at least there’s hope that I will not forget this. If you have an executable, you can type which to find out its full path. For example: which fdfind usr bin fdfind then you can do something with that. But if the executable is an alias? E.g....