diff options
| -rw-r--r-- | gemfeed/2024-07-05-random-weird-things.md | 1 | ||||
| -rw-r--r-- | gemfeed/2025-02-08-random-weird-things-ii.md | 1 | ||||
| -rw-r--r-- | gemfeed/2025-08-15-random-weird-things-iii.md | 1 | ||||
| -rw-r--r-- | gemfeed/2026-06-06-random-weird-things-iv.md (renamed from gemfeed/DRAFT-random-weird-things-vi.md) | 48 | ||||
| -rw-r--r-- | gemfeed/index.md | 1 | ||||
| -rw-r--r-- | index.md | 3 | ||||
| -rw-r--r-- | uptime-stats.md | 70 |
7 files changed, 85 insertions, 40 deletions
diff --git a/gemfeed/2024-07-05-random-weird-things.md b/gemfeed/2024-07-05-random-weird-things.md index 5c836e31..258b9e49 100644 --- a/gemfeed/2024-07-05-random-weird-things.md +++ b/gemfeed/2024-07-05-random-weird-things.md @@ -7,6 +7,7 @@ Every so often, I come across random, weird, and unexpected things on the intern [2024-07-05 Random Weird Things - Part Ⅰ (You are currently reading this)](./2024-07-05-random-weird-things.md) [2025-02-08 Random Weird Things - Part Ⅱ](./2025-02-08-random-weird-things-ii.md) [2025-08-15 Random Weird Things - Part Ⅲ](./2025-08-15-random-weird-things-iii.md) +[2026-06-06 Random Weird Things - Part Ⅳ](./2026-06-06-random-weird-things-iv.md) ``` /\_/\ diff --git a/gemfeed/2025-02-08-random-weird-things-ii.md b/gemfeed/2025-02-08-random-weird-things-ii.md index 37bf1c43..a0919b36 100644 --- a/gemfeed/2025-02-08-random-weird-things-ii.md +++ b/gemfeed/2025-02-08-random-weird-things-ii.md @@ -7,6 +7,7 @@ Every so often, I come across random, weird, and unexpected things on the intern [2024-07-05 Random Weird Things - Part Ⅰ](./2024-07-05-random-weird-things.md) [2025-02-08 Random Weird Things - Part Ⅱ (You are currently reading this)](./2025-02-08-random-weird-things-ii.md) [2025-08-15 Random Weird Things - Part Ⅲ](./2025-08-15-random-weird-things-iii.md) +[2026-06-06 Random Weird Things - Part Ⅳ](./2026-06-06-random-weird-things-iv.md) ``` /\_/\ /\_/\ diff --git a/gemfeed/2025-08-15-random-weird-things-iii.md b/gemfeed/2025-08-15-random-weird-things-iii.md index 85c19afc..92d0d1a7 100644 --- a/gemfeed/2025-08-15-random-weird-things-iii.md +++ b/gemfeed/2025-08-15-random-weird-things-iii.md @@ -7,6 +7,7 @@ Every so often, I come across random, weird, and unexpected things on the intern [2024-07-05 Random Weird Things - Part Ⅰ](./2024-07-05-random-weird-things.md) [2025-02-08 Random Weird Things - Part Ⅱ](./2025-02-08-random-weird-things-ii.md) [2025-08-15 Random Weird Things - Part Ⅲ (You are currently reading this)](./2025-08-15-random-weird-things-iii.md) +[2026-06-06 Random Weird Things - Part Ⅳ](./2026-06-06-random-weird-things-iv.md) ``` /\_/\ /\_/\ /\_/\ diff --git a/gemfeed/DRAFT-random-weird-things-vi.md b/gemfeed/2026-06-06-random-weird-things-iv.md index 29c2dc19..476012b5 100644 --- a/gemfeed/DRAFT-random-weird-things-vi.md +++ b/gemfeed/2026-06-06-random-weird-things-iv.md @@ -1,11 +1,14 @@ # Random Weird Things - Part Ⅳ +> Published at 2026-06-06T08:54:00+03:00 + Every so often I stumble upon random, weird, and completely unexpected things on the internet. I thought it would be neat to share them here from time to time. This is the fourth run. ``` /\_/\ /\_/\ /\_/\ ( o.o ) ( o.o ) ( o.o ) - > ^ < > ^ < > ^ < + > ^ < > ^ < > ^ < + /\_/\ Miaaauuuu.... ( o.o ) > ^ < @@ -14,6 +17,7 @@ Every so often I stumble upon random, weird, and completely unexpected things on [2024-07-05 Random Weird Things - Part Ⅰ](./2024-07-05-random-weird-things.md) [2025-02-08 Random Weird Things - Part Ⅱ](./2025-02-08-random-weird-things-ii.md) [2025-08-15 Random Weird Things - Part Ⅲ](./2025-08-15-random-weird-things-iii.md) +[2026-06-06 Random Weird Things - Part Ⅳ (You are currently reading this)](./2026-06-06-random-weird-things-iv.md) ## Table of Contents @@ -45,7 +49,7 @@ Terry A. Davis spent years single-handedly building a complete 64-bit operating ## 33. LLM via DNS -You can query an LLM using nothing but DNS. Just run `dig @ch.at "what is golang" TXT +short` and you get back an answer in the TXT records. No browser, no API key. It even works over SSH tunnels. I tried it on a server with zero internet tools installed and it just worked. +You can query an LLM using nothing but DNS. Just run `dig @ch.at "what is golang" TXT +short` and you get back an answer in the TXT records. No browser, no API key. It even works over SSH tunnels. ```sh $ dig @ch.at "what is golang" TXT +short @@ -60,7 +64,7 @@ to its efficiency and ease of deployme..." ## 34. Black Hole in ~125 Bytes -This tiny HTML/JS snippet (under 125 bytes) renders a swirling black hole in your browser tab. No frameworks, no libraries, just code-golf magic. I stared at it way longer than I care to admit. +Thi le in your browser tab. No frameworks, no libraries, just code-golf magic. I stared at it way longer than I care to admit. [Black Hole](https://aem1k.com/blackhole/) @@ -73,7 +77,15 @@ loss32 is a Linux distro where the entire desktop is classic Win32 apps running ## 36. LLM Rescuer 🤖💰 -LLM Rescuer is a tiny Ruby wrapper that retries, sanitizes outputs, handles errors, and has some token-saving logic so you don't burn through your budget. It interprets nil references automatically based on the context. Examples: +LLM Rescuer is a tiny Ruby gem that hooks into Ruby's method dispatch so that calling a method on `nil` doesn't crash — it asks an LLM what the return value should be instead. When a `NoMethodError` would normally explode, the gem catches it, packages up the context (what method was called, what the variable name suggests, maybe the surrounding code), fires that off to an actual LLM API, and returns whatever the model hallucinates as sensible. + +So `user.email` on a nil `user` doesn't die. It asks the LLM "someone called `.email` on a `user` that turned out to be nil, what should I return?" and the model says "probably `'no-reply@example.com'`". The gem swallows the error and hands you that string. + +It tries to keep API costs down by sending only minimal context — just the method name and variable name rather than your whole codebase — but every nil-hit still costs tokens and adds latency. + +This is runtime monkey-patching powered by a remote AI. Your nil bugs don't crash, they silently return AI-guessed values. In production this would be a debugging nightmare. + +Examples: ```ruby # Classic nil safety @@ -98,7 +110,33 @@ answer = meaning_of_life.to_i ## 37. Filesystem Backed by an LLM -Mount a folder, and every time you read or write a file, an LLM decides what the contents should be. Want a config file? Ask the LLM. Need a todo list that rewrites itself when you look at it? There you go. There's a working FUSE implementation. Equal parts brilliant and terrifying. +Mount a folder via FUSE, and every time you read or write a file, an LLM decides what the contents should be. There's a real working implementation. You literally `cat` a file and the LLM generates the output on the fly. + +Example usage: + +```sh +$ echo "a nginx config for a reverse proxy to localhost:8080" > /mnt/llmfs/nginx.conf +$ cat /mnt/llmfs/nginx.conf +server { + listen 80; + location / { + proxy_pass http://localhost:8080; + } +} + +$ echo "my todo list for today" > /mnt/llmfs/todo.txt +$ cat /mnt/llmfs/todo.txt +- Write blog post +- Fix that bug in prod +- Drink coffee + +$ cat /mnt/llmfs/todo.txt +- Write blog post (done?) +- Fix that bug in prod +- Drink more coffee +``` + +The LLM hallucinates the file contents every single read. Your todo list literally mutates when you look at it. Want a config file? Just describe it in the filename or write a prompt into it. Equal parts brilliant and terrifying. [Filesystem Backed by an LLM](https://healeycodes.com/filesystem-backed-by-an-llm) diff --git a/gemfeed/index.md b/gemfeed/index.md index a4db4584..69780196 100644 --- a/gemfeed/index.md +++ b/gemfeed/index.md @@ -2,6 +2,7 @@ ## To be in the .zone! +[2026-06-06 - Random Weird Things - Part Ⅳ](./2026-06-06-random-weird-things-iv.md) [2026-06-01 - `gt` calculator - a calculator built with local LLMs](./2026-06-01-gt-calculator.md) [2026-05-17 - Unveiling I/O Riot NG — Part 3: under the hood](./2026-05-17-unveiling-ior-ng-part-3.md) [2026-05-11 - Unveiling I/O Riot NG — Part 2: install and compile once, run everywhere](./2026-05-11-unveiling-ior-ng-part-2.md) @@ -1,6 +1,6 @@ # Hello! -> This site was generated at 2026-06-03T23:34:46+03:00 by `Gemtexter` +> This site was generated at 2026-06-06T08:54:46+03:00 by `Gemtexter` Welcome to the foo.zone! @@ -20,6 +20,7 @@ Everything you read on this site is my personal opinion and experience. You can ### Posts +[2026-06-06 - Random Weird Things - Part Ⅳ](./gemfeed/2026-06-06-random-weird-things-iv.md) [2026-06-01 - `gt` calculator - a calculator built with local LLMs](./gemfeed/2026-06-01-gt-calculator.md) [2026-05-17 - Unveiling I/O Riot NG — Part 3: under the hood](./gemfeed/2026-05-17-unveiling-ior-ng-part-3.md) [2026-05-11 - Unveiling I/O Riot NG — Part 2: install and compile once, run everywhere](./gemfeed/2026-05-11-unveiling-ior-ng-part-2.md) diff --git a/uptime-stats.md b/uptime-stats.md index 2e341d5f..4bd8ba6f 100644 --- a/uptime-stats.md +++ b/uptime-stats.md @@ -1,6 +1,6 @@ # My machine uptime stats -> This site was last updated at 2026-06-03T23:34:46+03:00 +> This site was last updated at 2026-06-06T08:54:45+03:00 The following stats were collected via `uptimed` on all of my personal computers over many years and the output was generated by `goprecords`, the global uptime records stats analyser of mine. @@ -13,6 +13,8 @@ Also check out my blog post: [Unveiling `guprecords.raku`: Uptime records with Raku (and also there is a version in Go now)](./gemfeed/2023-05-01-unveiling-guprecords:-uptime-records-with-raku.md) +> Uptime stats were last updated Sat 6 Jun 08:54:46 EEST 2026 + ## Top 20 Uptime's by Host Uptime is the total uptime of a host over the entire lifespan. @@ -21,10 +23,10 @@ Uptime is the total uptime of a host over the entire lifespan. +-----+----------------+-----------------------------+-----------------------------------+ | Pos | Host | Uptime | Last Kernel | +-----+----------------+-----------------------------+-----------------------------------+ -| 1. | *blowfish | 4 years, 6 months, 2 days | OpenBSD 7.8 | +| 1. | *blowfish | 4 years, 6 months, 10 days | OpenBSD 7.8 | | 2. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 | | 3. | *earth | 4 years, 3 months, 24 days | Linux 6.19.10-200.fc43.x86_64 | -| 4. | *fishfinger | 3 years, 9 months, 27 days | OpenBSD 7.8 | +| 4. | *fishfinger | 3 years, 10 months, 5 days | OpenBSD 7.8 | | 5. | sun | 3 years, 9 months, 26 days | FreeBSD 10.3-RELEASE-p24 | | 6. | uranus | 3 years, 9 months, 5 days | NetBSD 10.1 | | 7. | uugrn | 3 years, 5 months, 5 days | FreeBSD 11.2-RELEASE-p4 | @@ -57,10 +59,10 @@ Lifespan is the total uptime + the total downtime of a host. | 3. | alphacentauri | 6 years, 9 months, 13 days | FreeBSD 11.4-RELEASE-p7 | | 4. | makemake | 4 years, 10 months, 16 days | Linux 6.9.9-200.fc40.x86_64 | | 5. | *earth | 4 years, 9 months, 21 days | Linux 6.19.10-200.fc43.x86_64 | -| 6. | *blowfish | 4 years, 6 months, 2 days | OpenBSD 7.8 | +| 6. | *blowfish | 4 years, 6 months, 10 days | OpenBSD 7.8 | | 7. | vulcan | 4 years, 5 months, 6 days | Linux 3.10.0-1160.81.1.el7.x86_64 | -| 8. | sun | 3 years, 10 months, 2 days | FreeBSD 10.3-RELEASE-p24 | -| 9. | *fishfinger | 3 years, 9 months, 29 days | OpenBSD 7.8 | +| 8. | *fishfinger | 3 years, 10 months, 7 days | OpenBSD 7.8 | +| 9. | sun | 3 years, 10 months, 2 days | FreeBSD 10.3-RELEASE-p24 | | 10. | uugrn | 3 years, 5 months, 5 days | FreeBSD 11.2-RELEASE-p4 | | 11. | mega15289 | 3 years, 4 months, 9 days | Darwin 23.4.0 | | 12. | t450 | 3 years, 1 months, 29 days | FreeBSD 14.2-RELEASE | @@ -93,9 +95,9 @@ Downtime is the total downtime of a host over the entire lifespan. | 8. | mega15289 | 1 years, 4 months, 24 days | Darwin 23.4.0 | | 9. | mars | 1 years, 2 months, 10 days | Linux 3.2.0-4-amd64 | | 10. | tauceti-e | 0 years, 12 months, 9 days | Linux 3.2.0-4-amd64 | -| 11. | *f0 | 0 years, 11 months, 11 days | FreeBSD 15.0-RELEASE-p4 | -| 12. | *f1 | 0 years, 11 months, 10 days | FreeBSD 15.0-RELEASE-p4 | -| 13. | *f2 | 0 years, 11 months, 10 days | FreeBSD 15.0-RELEASE-p4 | +| 11. | *f0 | 0 years, 11 months, 13 days | FreeBSD 15.0-RELEASE-p4 | +| 12. | *f1 | 0 years, 11 months, 12 days | FreeBSD 15.0-RELEASE-p4 | +| 13. | *f2 | 0 years, 11 months, 12 days | FreeBSD 15.0-RELEASE-p4 | | 14. | sirius | 0 years, 8 months, 20 days | Linux 2.6.32-042stab111.12 | | 15. | *earth | 0 years, 7 months, 1 days | Linux 6.19.10-200.fc43.x86_64 | | 16. | deimos | 0 years, 5 months, 15 days | Linux 4.4.5-300.fc23.x86_64 | @@ -115,9 +117,9 @@ Boots is the total number of host boots over the entire lifespan. | Pos | Host | Boots | Last Kernel | +-----+----------------+-------+-------------------------------+ | 1. | alphacentauri | 671 | FreeBSD 11.4-RELEASE-p7 | -| 2. | *f1 | 267 | FreeBSD 15.0-RELEASE-p4 | -| 3. | *f2 | 267 | FreeBSD 15.0-RELEASE-p4 | -| 4. | *f0 | 264 | FreeBSD 15.0-RELEASE-p4 | +| 2. | *f2 | 269 | FreeBSD 15.0-RELEASE-p4 | +| 3. | *f1 | 269 | FreeBSD 15.0-RELEASE-p4 | +| 4. | *f0 | 266 | FreeBSD 15.0-RELEASE-p4 | | 5. | *earth | 240 | Linux 6.19.10-200.fc43.x86_64 | | 6. | mars | 207 | Linux 3.2.0-4-amd64 | | 7. | callisto | 153 | Linux 4.0.4-303.fc22.x86_64 | @@ -127,9 +129,9 @@ Boots is the total number of host boots over the entire lifespan. | 11. | uranus | 59 | NetBSD 10.1 | | 12. | pluto | 51 | Linux 3.2.0-4-amd64 | | 13. | *fishfinger | 50 | OpenBSD 7.8 | -| 14. | *blowfish | 50 | OpenBSD 7.8 | -| 15. | mega15289 | 50 | Darwin 23.4.0 | -| 16. | *mega-m3-pro | 50 | Darwin 25.3.0 | +| 14. | mega15289 | 50 | Darwin 23.4.0 | +| 15. | *mega-m3-pro | 50 | Darwin 25.3.0 | +| 16. | *blowfish | 50 | OpenBSD 7.8 | | 17. | t450 | 46 | FreeBSD 14.2-RELEASE | | 18. | mega8477 | 40 | Darwin 13.4.0 | | 19. | phobos | 40 | Linux 3.4.0-CM-g1dd7cdf | @@ -147,9 +149,9 @@ Score is calculated by combining all other metrics. +-----+----------------+-------+-----------------------------------+ | 1. | uranus | 340 | NetBSD 10.1 | | 2. | *earth | 297 | Linux 6.19.10-200.fc43.x86_64 | -| 3. | *blowfish | 285 | OpenBSD 7.8 | +| 3. | *blowfish | 287 | OpenBSD 7.8 | | 4. | vulcan | 275 | Linux 3.10.0-1160.81.1.el7.x86_64 | -| 5. | *fishfinger | 242 | OpenBSD 7.8 | +| 5. | *fishfinger | 244 | OpenBSD 7.8 | | 6. | sun | 238 | FreeBSD 10.3-RELEASE-p24 | | 7. | uugrn | 211 | FreeBSD 11.2-RELEASE-p4 | | 8. | alphacentauri | 201 | FreeBSD 11.4-RELEASE-p7 | @@ -180,7 +182,7 @@ Boots is the total number of host boots over the entire lifespan. | 2. | FreeBSD 10... | 551 | | 3. | Linux 3... | 550 | | 4. | *Linux 6... | 294 | -| 5. | *FreeBSD 15... | 272 | +| 5. | *FreeBSD 15... | 278 | | 6. | Linux 5... | 162 | | 7. | Linux 4... | 161 | | 8. | FreeBSD 11... | 153 | @@ -188,14 +190,14 @@ Boots is the total number of host boots over the entire lifespan. | 10. | *OpenBSD 7... | 110 | | 11. | Darwin 13... | 40 | | 12. | Darwin 24... | 27 | -| 13. | FreeBSD 5... | 25 | -| 14. | Darwin 23... | 25 | +| 13. | Darwin 23... | 25 | +| 14. | FreeBSD 5... | 25 | | 15. | Linux 2... | 22 | | 16. | Darwin 21... | 17 | | 17. | Darwin 15... | 15 | | 18. | Darwin 22... | 12 | | 19. | Darwin 18... | 11 | -| 20. | FreeBSD 7... | 10 | +| 20. | OpenBSD 4... | 10 | +-----+----------------+-------+ ``` @@ -208,10 +210,10 @@ Uptime is the total uptime of a host over the entire lifespan. | Pos | KernelMajor | Uptime | +-----+----------------+------------------------------+ | 1. | Linux 3... | 15 years, 10 months, 25 days | -| 2. | *OpenBSD 7... | 8 years, 10 months, 26 days | +| 2. | *OpenBSD 7... | 8 years, 11 months, 11 days | | 3. | FreeBSD 10... | 5 years, 9 months, 9 days | | 4. | Linux 5... | 4 years, 10 months, 21 days | -| 5. | *Linux 6... | 3 years, 9 months, 20 days | +| 5. | *Linux 6... | 3 years, 10 months, 4 days | | 6. | *FreeBSD 14... | 3 years, 2 months, 12 days | | 7. | Linux 4... | 2 years, 7 months, 22 days | | 8. | FreeBSD 11... | 2 years, 4 months, 28 days | @@ -226,7 +228,7 @@ Uptime is the total uptime of a host over the entire lifespan. | 17. | Darwin 22... | 0 years, 6 months, 22 days | | 18. | Darwin 15... | 0 years, 6 months, 15 days | | 19. | FreeBSD 5... | 0 years, 5 months, 18 days | -| 20. | *FreeBSD 15... | 0 years, 4 months, 27 days | +| 20. | *FreeBSD 15... | 0 years, 5 months, 5 days | +-----+----------------+------------------------------+ ``` @@ -239,10 +241,10 @@ Score is calculated by combining all other metrics. | Pos | KernelMajor | Score | +-----+----------------+-------+ | 1. | Linux 3... | 1045 | -| 2. | *OpenBSD 7... | 568 | +| 2. | *OpenBSD 7... | 571 | | 3. | FreeBSD 10... | 406 | | 4. | Linux 5... | 317 | -| 5. | *Linux 6... | 262 | +| 5. | *Linux 6... | 265 | | 6. | *FreeBSD 14... | 248 | | 7. | Linux 4... | 175 | | 8. | FreeBSD 11... | 159 | @@ -251,7 +253,7 @@ Score is calculated by combining all other metrics. | 11. | FreeBSD 6... | 75 | | 12. | Darwin 24... | 65 | | 13. | Darwin 23... | 54 | -| 14. | *FreeBSD 15... | 46 | +| 14. | *FreeBSD 15... | 48 | | 15. | OpenBSD 4... | 39 | | 16. | Darwin 21... | 38 | | 17. | Darwin 18... | 32 | @@ -269,7 +271,7 @@ Boots is the total number of host boots over the entire lifespan. +-----+------------+-------+ | Pos | KernelName | Boots | +-----+------------+-------+ -| 1. | *FreeBSD | 1702 | +| 1. | *FreeBSD | 1708 | | 2. | *Linux | 1190 | | 3. | *Darwin | 155 | | 4. | *OpenBSD | 120 | @@ -285,9 +287,9 @@ Uptime is the total uptime of a host over the entire lifespan. +-----+------------+------------------------------+ | Pos | KernelName | Uptime | +-----+------------+------------------------------+ -| 1. | *Linux | 28 years, 10 months, 13 days | -| 2. | *FreeBSD | 13 years, 5 months, 12 days | -| 3. | *OpenBSD | 9 years, 6 months, 6 days | +| 1. | *Linux | 28 years, 10 months, 26 days | +| 2. | *FreeBSD | 13 years, 5 months, 19 days | +| 3. | *OpenBSD | 9 years, 6 months, 22 days | | 4. | *Darwin | 5 years, 5 months, 16 days | | 5. | NetBSD | 0 years, 1 months, 1 days | +-----+------------+------------------------------+ @@ -301,9 +303,9 @@ Score is calculated by combining all other metrics. +-----+------------+-------+ | Pos | KernelName | Score | +-----+------------+-------+ -| 1. | *Linux | 1922 | -| 2. | *FreeBSD | 992 | -| 3. | *OpenBSD | 608 | +| 1. | *Linux | 1924 | +| 2. | *FreeBSD | 994 | +| 3. | *OpenBSD | 610 | | 4. | *Darwin | 354 | | 5. | NetBSD | 0 | +-----+------------+-------+ |
