DistractionRectangle's recent activity
-
Comment on What programming/technical projects have you been working on? in ~comp
-
Comment on Google’s AI overviews can scam you. Here’s how to stay safe. in ~tech
DistractionRectangle LinkIf want to remove AI overview for yourself or relatives: https://tenbluelinks.org/ It uses the OpenSearch specification to announce the Google search engine with the Url param udm=14 appended...If want to remove AI overview for yourself or relatives: https://tenbluelinks.org/
It uses the OpenSearch specification to announce the Google search engine with the Url param udm=14 appended (which opts out of AI overview). You can do this directly on Desktop browsers + Firefox for Android, but Chrome for Android doesn't allow you to add/edit custom search engines except via OpenSearch
-
Comment on What programming/technical projects have you been working on? in ~comp
DistractionRectangle LinkSo I've resisted using AI for anything major for a while now. I mostly treat it like a pseudo sentient rubber duck that forces me to articulate my problems and helps me explore domains/problem...So I've resisted using AI for anything major for a while now. I mostly treat it like a pseudo sentient rubber duck that forces me to articulate my problems and helps me explore domains/problem spaces (the you don't know what you don't know problem). Chat basically. I ask questions, it spits out something answer shaped, I extract value (e.g. learning domain specific jargon and using that to make better web queries//ai queries).
I've been sticking to local models for a few reasons. Privacy for one. Consistency in abilities/cost/availability. But probably the biggest one is smaller models aren't that capable. It's a tool, but not a crutch. I still have to think critically, grow. I'm not outsourcing my ability to do, to think. What good is a highly capable model if I'm not skilled enough to steer it?
Which leads me to today. Agentic programming is on the rise, and at some point I'm going to have to adapt. Enter oh my pi. Those that trawl HN probably already know what I'm talking about. I just spent a few minutes patching it to work with self hosted providers that use an openai compatible API (it supports ollama's /api/tags endpoint, but not /v1/models like llamacpp and friends). What better way to test my patch than ask the agent to review my work? I gotta say, I was impressed. It's a little slow using qwen3-coder-next w/ 64GB ram + 12GB vram, but ~30 tokens per second is usable.
Code Review Request
Mode
Reviewing uncommitted changes (staged + unstaged)
Changed Files (2 files, +9/-9 lines)
┌────────────────────────────────────────────────────┬───────┬──────┐
│ File │ +/- │ Type │
├────────────────────────────────────────────────────┼───────┼──────┤
│ packages/coding-agent/src/config/model-registry.ts │ +5/-5 │ ts │
├────────────────────────────────────────────────────┼───────┼──────┤
│ packages/coding-agent/test/model-registry.test.ts │ +4/-4 │ ts │
└────────────────────────────────────────────────────┴───────┴──────┘Distribution Guidelines
Use 1 reviewer agent.
Reviewer Instructions
Reviewer MUST:
- Focus ONLY on assigned files
- MUST use diff hunks below (MUST NOT re-run git diff)
- MAY read full file context as needed via read
- Call report_finding per issue
- Call submit_result with verdict when done
Diff
-- I'm held back the diff because formatting it was a PITA
⏳ Task: reviewer
├─ Context
│ ## Goal
│ Review changes to Ollama model discovery inmodel-registry.tsand corresponding test updates. The changes update the endpoint from/api/tagsto/v1/modelsand adjust the JSON payload structure.
│
│ ## Non-goals
│ Do not review unrelated files or changes not in the diff. Do not run tests or build the project.
│
│ ## Acceptance
│ Identify any correctness, compatibility, or safety issues with the API endpoint and payload parsing changes.
└─ Tasks: 1 agents
└─ ✔ 0-ReviewOllamaChanges: Review Ollama API endpoint and payload changes ⟦done⟧ · 334K tokens · 3m7s
Patch is correct ✔ (95% confidence)
The changes correctly update the Ollama model discovery endpoint from /api/tags to /v1/models and a…
Findings: ✘ P0:0 · ⚠ P1:0 · ⚠ P2:2 · ⓘ P3:1
├─ [P2] Model name now set to id, losing human-readable display names model-registry.ts:850
├─ [P2] No fallback for model entries missing id field model-registry.ts:848
└─ [P3] Test mocks use simplified data structure without additional fields present in real API model-registry.test.ts:557
Total: 1 succeeded · 3m7s✔ Read /workspaces/scratch/oh-my-pi/packages/coding-agent/src/config/model-registry.ts:827-861
Error: EXA_API_KEY not found. Set it in environment or .env file.
Deep Search Ollama API v1 models response structure data array id field object created owne… results:5
ⓘ Raw response⟦(Ctrl+O for more)⟧
├─ {
├─ "content": [
├─ {
└─ … 5 more linesCode Search Ollama /v1/models GET response example data array id object created owned_by
ⓘ Raw response⟦(Ctrl+O for more)⟧
├─ {
├─ "content": [
├─ {
└─ … 5 more lines✔ Read /workspaces/scratch/oh-my-pi/packages/coding-agent/test/model-registry.test.ts:550-609
✔ Todo Write 3 tasks
├─ ☑ Review Ollama API endpoint change /api/tags → /v1/models
├─ ☑ Review payload structure changes models→data, name/model→id
└─ ☑ Identify issues with name field reduction✔ Todo Write 3 tasks
├─ ☑ Review Ollama API endpoint change /api/tags → /v1/models
├─ ☑ Review payload structure changes models→data, name/model→id
└─ ☑ Identify issues with name field reduction✔ Todo Write 3 tasks
├─ ☑ Review Ollama API endpoint change /api/tags → /v1/models
├─ ☑ Review payload structure changes models→data, name/model→id
└─ ☑ Identify issues with name field reduction✔ Todo Write 3 tasks
├─ ☑ Review Ollama API endpoint change /api/tags → /v1/models
├─ ☑ Review payload structure changes models→data, name/model→id
└─ ☑ Identify issues with name field reductionReview Complete
Verdict: APPROVED with findings
Summary
The changes correctly update Ollama model discovery from /api/tags to /v1/models and adjust the payload structure accordingly.
Findings
[P2] Model name now set to id, losing human-readable display names
- Body: The change replaces name: item.name || id with name: id. The Ollama /v1/models endpoint returns id in format like phi3-128k:Q8_0, x/llama3.2-vision:11b-instruct-q8_0, or
mannix/llama3.1-8b-lexi:q8_0. Previously, Ollama's /api/tags endpoint returned both name and model fields where name could be a human-friendly alias. The new code discards this potential human-readable name
and uses the raw model ID as both id and name, reducing user experience. - File: packages/coding-agent/src/config/model-registry.ts, line 850
[P2] No fallback for model entries missing id field
- Body: The old code had const id = item.model || item.name which provided fallback if one field was missing. The new code uses const id = item.id with no fallback. If an Ollama /v1/models response contains
a model entry with a malformed or missing id field (e.g., due to API version mismatch or server bug), the entry is silently skipped. While the existing if (!id) continue handles this, the previous
dual-field fallback was more resilient to partial data corruption or API variations. - File: packages/coding-agent/src/config/model-registry.ts, line 848
[P3] Test mocks use simplified data structure without additional fields present in real API
- Body: The test mocks use { data: [{ id: "phi4-mini" }] } but the actual Ollama /v1/models endpoint returns additional fields per the Reddit example: { object: "list", data: [{ id, object: "model",
created, owned_by }] }. While these extra fields are not used by the current code, if Ollama later changes the response format (e.g., removes data wrapper or renames id), tests will not catch the breakage.
Tests should mirror the actual API contract to provide early warning of upstream changes. - File: packages/coding-agent/test/model-registry.test.ts, lines 557-558
Recommendation
The core functionality is correct. Consider adding a fallback for the name field (e.g., name: item.name || item.id) to preserve potential human-readable aliases, and update test mocks to include additional
fields (object, created, owned_by) to better match the real API contract.
Todos
└ Review Ollama API changes
└ ☑ Review Ollama API endpoint change /api/tags → /v1/models
☑ Review payload structure changes models→data, name/model→id
☑ Identify issues with name field reduction -
Comment on Popcorn lung: how vaping could scar your lungs for life in ~health
DistractionRectangle Link ParentAFAIK, EVALI wasn't just limited to THC (weed) vaping. It was predominant, but about a sixth of users just reported vaping just nicotine. It was proposed that Vitamin E acetate was a contributor,...As far as I know, the only lung injuries that have been reported and have investigations on the source have been from bootleg weed cartridges that have ingredients that no legitimate manufacturer would include.
AFAIK, EVALI wasn't just limited to THC (weed) vaping. It was predominant, but about a sixth of users just reported vaping just nicotine. It was proposed that Vitamin E acetate was a contributor, but I think Covid eclipsed EVALI and the CDC stopped collecting data.
https://archive.cdc.gov/www_cdc_gov/tobacco/basic_information/e-cigarettes/severe-lung-disease.html
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
DistractionRectangle Link ParentWeirdly, some people experience motion sickness with higher refresh rates or variable refresh rates. Maybe try setting a 60 fps cap and see if that solves it (on top of all the other things you've...Weirdly, some people experience motion sickness with higher refresh rates or variable refresh rates. Maybe try setting a 60 fps cap and see if that solves it (on top of all the other things you've tried)?
-
Comment on CGA-2026-01 🕹️⛵🛡️ INSERT CARTRIDGE 🟢 The Legend of Zelda: The Wind Waker in ~games
DistractionRectangle (edited )Link ParentYou should compare how both look and choose what you like best. From YouTube, I personally like the look of the gamecube version (which works out as it's the version I own). I just can't stand the...You should compare how both look and choose what you like best. From YouTube, I personally like the look of the gamecube version (which works out as it's the version I own). I just can't stand the bloom and saturation of WW HD.
-
Comment on CGA-2026-01 🕹️⛵🛡️ INSERT CARTRIDGE 🟢 The Legend of Zelda: The Wind Waker in ~games
DistractionRectangle Link ParentI loved the tingle tuner as it allowed for a semblance of co-op and friendly fire :) Bombing your sibling (and wasting their money) was a delight. Less so when they got to do it to you... The QoL...I loved the tingle tuner as it allowed for a semblance of co-op and friendly fire :)
Bombing your sibling (and wasting their money) was a delight. Less so when they got to do it to you...
The QoL mod is something I was unaware of. I set this up a while ago in anticipation of this months CGA, and I also found the default controls... clunky. So I reached for my hammer, Steam Input.
I couldn't get steam input overlay (big picture overlay) working with the dolphin launcher, so added Wind Waker as a non steam game using
/usr/bin/dolphin-emu-noguias the target with this command:%command% -e /home/drect/Documents/dumps/gc/GZLE01.iso --config Dolphin.Display.Fullscreen=True --config Dolphin.Interface.CursorVisibility=0-e is the absolute path to the game iso and the config options force fullscreen and hide the mouse
And now I can play with my steam controller and tweak the control scheme to my liking on the fly!
-
Comment on Save Point: A game deal roundup for the week of December 28 in ~games
DistractionRectangle Link ParentFree game #15 Chivalry 2 Next in 22 hours (two mystery games tomorrow!)Free game #15
Chivalry 2
Next in 22 hours (two mystery games tomorrow!) -
Comment on Save Point: A game deal roundup for the week of December 28 in ~games
DistractionRectangle (edited )Link ParentFree game #14 Trine Classic Collection Next in 11 hours This is actually four games Trine Enhanced Edition Trine 2: Complete Story Trine 3: Artifacts of Power Trine 4: Definitive Edition They are...Free game #14
Next in 11 hours
This is actually four games
-
Trine Enhanced Edition
-
Trine 2: Complete Story
-
Trine 3: Artifacts of Power
-
Trine 4: Definitive Edition
They are 2.5D physics platformers with characters you switch between at will to overcome various environmental puzzles/challenges. Kinda neat and allows for co-op play
Viewfinder on Linux
Ironically, umu launcher actually causes problems. You have to disable this if you're using Heroic or have previously setup another launcher to use UMU. You can also bypass Epic by launching the game directly with the argument
-EpicPortal -
-
Comment on Save Point: A game deal roundup for the week of December 28 in ~games
DistractionRectangle Link ParentHappy to do it, best wishes on your new venture! That's quite a way to start off the new year :)Happy to do it, best wishes on your new venture! That's quite a way to start off the new year :)
-
Comment on Save Point: A game deal roundup for the week of December 28 in ~games
DistractionRectangle Link ParentFree game #12 SKALD: Against the Black Priory Next in 17 hoursFree game #12
SKALD: Against the Black Priory
Next in 17 hours -
Comment on Save Point: A game deal roundup for the week of December 28 in ~games
DistractionRectangle LinkContinuing @cfabbro's Epic Freebies chronicle Free game #11 Cassette Beasts Next in 12 hoursContinuing @cfabbro's Epic Freebies chronicle
Free game #11
Cassette Beasts
Next in 12 hours -
Comment on Gift recommendations in ~life
DistractionRectangle Link ParentIn a similar vein, I've had great success with yeti stackable rambler mugs (12-14oz, $20-$40 + customizable). For the people that carry a cup around everywhere, are spill prone, etc. It's one of...In a similar vein, I've had great success with yeti stackable rambler mugs (12-14oz, $20-$40 + customizable). For the people that carry a cup around everywhere, are spill prone, etc. It's one of those things that's just a step up from a normal cup, and if it clicks for that person, it's cheap enough that they'll buy more (multiple for the home, one or two for the office, etc). Generally cheaper on amazon/local outlets, but you can pay the premium (and if you want customize it) directly from yeti.
-
Comment on A faster-than-light spaceship would actually look a lot like Star Trek's Enterprise in ~space
DistractionRectangle Link Parenthttps://archive.is/saM6PAccording to White and his colleagues, the original mathematical model for a warp drive envisioned a spacecraft encased in a continuous, donut-shaped ring of negative energy, a bizarre form of matter that works like gravity in reverse, pushing space apart rather than pulling it together.
Physicist Miguel Alcubierre proposed this model in 1994 after watching Star Trek episodes and wondering if the science could actually work. This theoretical geometry could effectively move an object faster than light by deforming the space around it, but his idea came with headache-inducing problems for any engineer trying to build it.
White’s breakthrough was simpler. Instead of trying to make Alcubierre’s donut-shaped design work, he asked a different question: What if you broke the energy ring into separate tubes, like engine pods, arranged around the ship? That small geometric shift—from one continuous ring to multiple discrete cylinders—changes everything about how the physics plays out inside the bubbles. The math suddenly became manageable. The interior could remain flat and safe. The dangerous forces could be confined to the nacelles, away from the crew.
White’s math dictates that to keep the ship’s internal clock synchronized with the outside world and avoid ripping the pilot apart, the most efficient structure involves arranging these energy tubes around the craft—exactly like the twin nacelles of the USS Enterprise.
-
Comment on Advice with my Nextcloud + Kodi set-up in ~tech
DistractionRectangle Link ParentTo add, different Pis have different support for hardware accelerated decoding of video formats. It's very likely that the media files are in a format that the pi has to use CPU decoding for,...To add, different Pis have different support for hardware accelerated decoding of video formats. It's very likely that the media files are in a format that the pi has to use CPU decoding for, which strains an already anemic system.
-
Comment on Offbeat Fridays – The thread where offbeat headlines become front page news in ~news
DistractionRectangle Link ParentThis "external SSD will only complete the data wiping when it's connected to a PC." Good luck, Jim.This "external SSD will only complete the data wiping when it's connected to a PC." Good luck, Jim.
-
Comment on Save Point: A game deal roundup for the week of November 16 in ~games
DistractionRectangle Link ParentThere's some curious modifiers on the page. Instead of "Ends In... " in reads "Exclusive Access Ends In... " and there also "Limited Keys" which together lead me to believe this is supposed to be...Also, I'm not sure why, but the bundle is only available by direct link and isn't showing up if you navigate through the site. Maybe it's not fully launched yet?
There's some curious modifiers on the page. Instead of "Ends In... " in reads "Exclusive Access Ends In... " and there also "Limited Keys" which together lead me to believe this is supposed to be exclusive to some in-group (news letter or current subs or something).
-
Comment on [SOLVED] USB hub with a detachable cable? in ~tech
DistractionRectangle Link ParentI clamp mine to my monitor, but only because it has a large and substantial feeling bottom bezel. It's nice to have them affixed to something. The one I use has card readers, a mix of usb A and c...I clamp mine to my monitor, but only because it has a large and substantial feeling bottom bezel. It's nice to have them affixed to something. The one I use has card readers, a mix of usb A and c ports, and an aux port, so it's nice supplement for cases with inconvenient or anemic front panel options.
-
Comment on [SOLVED] USB hub with a detachable cable? in ~tech
DistractionRectangle LinkI've been using a clamp hub. Not specifically this one, but one like it: https://a.co/d/hPAwNB8 Seems to hit your requirements. You can just search for "clamp hub" and there's many variations.I've been using a clamp hub. Not specifically this one, but one like it: https://a.co/d/hPAwNB8
Seems to hit your requirements. You can just search for "clamp hub" and there's many variations.
-
Comment on Rediscovering “Columbo” in 2020 in ~comics
DistractionRectangle LinkObliquely related: Columbo x Fraiser They still air regularly on antenna TV (at least in my local segment) and I'll watch it once in a while. They're neat in that they don't hit the usually...Obliquely related: Columbo x Fraiser
They still air regularly on antenna TV (at least in my local segment) and I'll watch it once in a while. They're neat in that they don't hit the usually cliches and humanize the murderer. Sometimes you actually hope they'd get away with it. Alongside Columbo, you learn about their corner of the world; things about their profession, their passions, customs, etc which usually tie back to solving the crime.
It's all very accessible, unlike CSI style shows where they found the killer by looking through the database of all flower shops in New York that carry orchids and cross referenced it with buildings made in the 1800's based on a picture containing an old radiator.
Pcie does deliver power through the slot, so low power cards (75W, or maybe it's 50W, you'll have to check for your pcie generation) can actually be powered straight from the motherboard slot without additional PSU cables.
Beware some arc cards have an annoying fan curve, with mixed reports after a firmware update.