Better HN
topnewbestaskshowjobs
Log inSign up

softwarewright

21 karma · joined Sep 2, 2026 (2mo ago) · 65 submissions

Submissions

comment 2mo ago · link · parent

Claude Code, Codex, opencode (Z.ai GLM-5.x), sometimes Gemini -- most of my work is at Mac iTerm2 CLI or Arch Linux terminal. I sometimes use emacs as the coding agent, but rarely JetBrains IDE or vscode (more for reading/debugging code).

I supplement this with my own vibe-coded tools that help agents plan, perform sagas/steps, stay on track, tools that check the code produced, tools that check the produced documentation, tools/process to limit AI coding agent write access to files outside their assigned project, and tools that allow coding agents to collaborate (shared wiki, mailboxes, gh cli issues, etc.). I have written test frameworks that my AI agents use to detect functional regressions.

On top of this I used web-based or Desktop: Claude, ChatGPT, and/or Gemini to do research, architecture, requirements, planning, design, and later review; to suggest improvements, answer questions, etc.

And I am trying to switch to opencode using local LLMs, served by llama.cpp, Freetoken, or vLLM, on 12G, 16G, and 24G VRAM GPUs. So far the cloud LLMs are faster/better, but recent qwen3.x MoE models look very promising.

comment 2mo ago · link · parent

This IBM Research looks very promising: https://research.ibm.com/blog/northpole-llm-inference-result...

which I found after watching this video: https://www.youtube.com/watch?v=G4nEpY1LYzM - The AI Chip With No Ram (and still 22x Faster)

comment 2mo ago · link · parent

I am curious about what Rust-based extensions I can add next to my custom machine learning programming language.

> https://github.com/sw-ml-study/demo-extensions shows my first attempt at an extension, desktop graphics. README shows a Conway's Life "Glider" on an interactive view of a 3D torus (and other desktop examples).

The underlying language is implemented in Rust, and supports running in a browser via WASM, but the language itself is an array programming language I created to help me visualize my study of ML. (This is my non-Python response to Jupyter notebooks and Google Colab)

Then I wanted to visualize ML-related Math concepts so I added some demo repos.

And then I added language features to make it a more general purpose application development language, with libraries as a way to share code. So I added I/O, functional programming features, etc. and related demos. Dogfooding!

And more recently the dynamic Rust extension mechanism to add things that cannot be written easily in the array language itself (or for features that would clutter the language).

Maybe I can add a networking extension or an infinite precision math library.

So my curiosity is around what belongs in the base language and what belongs in optional dynamic extensions.

comment 2mo ago · link · parent

I am a single person LLC so my "production" is just me using AI to build things.

I use MCP for some things, like Playwright; for web UI development, but I also use CLIs, especially custom CLIs I create that have built-in help for the AI coding agent to use. I just to run my command (in the path) with --help and it figures out how to use. This seems more straightforward and efficient than MCP.

I have written MCP servers for all sorts of things, like monitoring remote systems, operating a PvP game as PvAI, others but lately I just create a new CLI with help. I use this with Claude, Codex, Gemini, and opencode (z.ai GLM) instead of dealing with how each agent registers MCPs.

comment 2mo ago · link · parent

I am trying to make it easier to use LLMs on older, cheaper, smaller GPUs. I'm taking a similar approach (move MoE expert weights to disk, avoid wasting VRAM on these). My goal is also to run models that do not fit. My work also suffers from AI documentation issues. Where my approach differs is that instead of running an LLM that doesn't fit slowly, run many agents in parallel sharing the streams of MoE experts weights, to increase throughput. I envision a team of AI agents sharing a pretty-good-at-coding LLM that does not fit to collaborate on a set of related features, being developed in parallel.

My work is showing promising results (if you can get past the way the AI tries to describe what I am doing). https://sw-ml-study.github.io/emufpga/index.html

I am doing this work initially on a 6-Xeon-cores Linux workstation with an RTX5060-16G to run MoE models larger than that. Then I will be moving this to a server with a lot more cores (Dual 32-cores) and a mix of SAS HD and SSD drives, using older GPUs.

Ultimately, I hope to build some FPGA/MCU "accelerators" that process the expert weights on systems with not enough CPU cores to offload the experts. If I can enable large capable models to run on older hardware, keeping the limited GPU VRAM for context and things that must be in VRAM, I can get useful work out of my old refurbished systems without paying today's RAM and VRAM/GPU prices.

comment 2mo ago · link · parent

I think AI is more of a radial arm saw. Very flexible, adaptable, capable, but very dangerous in untrained hands.

comment 2mo ago · link · parent

I tried nono to limit commands an agent can run but that proved to be cumbersome.

I ended up creating multiple logins on a Linux system. I used my developer account to clone git repos and then create local bare repos in a read only dir. The new linux user accounts can clone from these bare repos but not push. This way, each coding agent (installed per linux account) can only work within the file system for that user on the repo assigned to that user.

Each of these user has no github permissions (cannot clone from github, cannot create pull requests, etc.). They can run tools (that I have installed) but cannot generally install software or push changes (no sudo access, no github credentials). So I can ask each coding agent to make local changes, and when they are done they create a pull request branch and wait for it to be accepted.

Then my single authorized user can take that pull request branch and merge it and push it (or create a pull request). This prevents any agent from working on a repo other than the one it has access to.

Doing this allows me to run several agents at once, one per repo, and not interfere with each other. Before I did this the agents would overreach and start modifying other repos while the correct agent was also making changes. Now, each agent creates a document requesting changes from other agents in their respective repo.

So these low privilege users have no credentials (other than to use a coding agent). This setup works for me.

38.

Ask HN: Anyone using AI agents with SCPI equipment?

1 points · by softwarewright · 2mo ago · discuss

comment 2mo ago · link · parent

This looks extremely helpful, thanks!

40.

Show HN: Learn/Practice Sudoku strategies web app(sw-fun.github.io ↗)

2 points · by softwarewright · 2mo ago · discuss

comment 2mo ago · link · parent

Have you considered providing APIs (possibly MCP) to a Wiki for agents. I've done this, and after solving some timing issues with concurrent page updates, I was able to get agents to cooperate on tasks and share info (and I could view/edit the pages via a browser too).

I ended up providing more of a mailboxes and message channels tools for agents,

I've also just set up shared folders for AI coding agents to communicate blocking issues (I have a graph of github repos with an agent per repo (r/w access) and r/o access to the upstream and downstream repos. This way when an agent needs a new feature or fix upstream, it can communicate what it needs. When an agent adds a feature or a fix, it can communicate it downstream.

I found that my time would end up being poking agents to read each others requests or responses. So I ended up using PTYs to detect when an agent was blocked and use another agent to poke other agent(s) for me. Still kind of experimental but does run some demos that require agents to cooperate.

The reason I asked about the Engram paper is that a colleague implemented it in Python (adding a quick look up mechanism to optimize-out recomputing known results). I also implemented this in Rust (or so I thought). It turns out I trained the LLM to simulate this mechanism. Then I started over and combined the Python work with my Rust work to actually increment this. Anyway, engram seems to be an overloaded term.

comment 2mo ago · link · parent

Understood, and I like a challenge. I've also solved some tough engineering problems in the past (before AI). With AI it seems (and I emphasize seems) that I can tackle much harder problems. That's why I am proceeding to measurable experiments and not just taking AI chats as accurate.

I have a homelab, electronics lab, and software dev experience (electronics is a hobby, and an early career before I pivoted to O/S development). Before the recent RAM/GPU price jumps I had invested in a lot of used ECC RAM and many older GPUs (and some new GPUs) on many older servers that I refurbished and upgraded. It is hard to justify the prices of new GPUs/RAM going forward. It is cheaper to upgrade my CPUs (and I have) to have more cores.

Yes, my older hardware is slow by today's standards, but it is at least affordable. Yes, old hardware is power inefficient, but I justify that by using solar panels. I cannot do anything about the current supply/demand problems, but I can perhaps help with reuse and upcycling. Maybe my work will help students and junior programmers learn on old/used hardware.

comment 2mo ago · link · parent

The value proposition I am pursuing is not faster speed, but increased throughput (and possibly reduced kWh).

I'm trying to understand the benefits of streaming expert weights through hardware that offloads the math and avoids storing all of the weights in RAM at once.

But that's not the only thing that can be streamed and offloaded. '

Finally, I'm trying to come up with approaches to reuse old hardware, old GPUs, old RAM instead of paying today's prices for GPU VRAM or unified memory. Even if I do not end up showing any particular FPGA benefit, I might be able to better run very large models on systems without GPUs or without unified RAM.

comment 2mo ago · link · parent

In my fork, I've added ./experiments where I hacked together a shell wrapper for a no_std Rust app to implement head -<n>.

help > help.txt <script path>/head -2 help.txt

works. This shows how I can cross-compile code to run in the MesaOS shell. This is a workaround until I have better libraries/APIs for argc/argv handling, file I/O, etc. Fun!

comment 2mo ago · link · parent

Sorry, this was supposed to be a Show HN: post. Too late for me to edit the title. Maybe I will resubmit correctly in the future.

comment 2mo ago · link · parent

Can you suggest what circuits? examples?

comment 2mo ago · link · parent

But I can afford my already purchased drawer full of cheap FPGAs for experiments.

I guess I am too risk adverse to bet $10,000 on an ASIC run (having no experience doing that and no desire to go that route).

If I can demonstrate a proof-of-concept in a reproducible research way, others can then advance to the ASIC level.

This is just a hobbyist experiment looking for other hobbyists who can afford a cheap FPGA and have some free time and interest.

comment 2mo ago · link · parent

I am doing the initial work on many core dual CPUs. I already have systems with large system RAM and older GPUs with less VRAM, and large SAS HDs, fast SSDs running large open weight LLMs that do not really fit any GPU I own (they offload and/or run on CPU and system RAM, but slowly).

I have the MCUs and FPGAs (in a drawer) and I am retired, and this is my idea of fun.

I am trying to generalize an approach to use large MoE models (with possibly small quants) to run many agents in parallel without spending more on more or bigger GPUs.

I am also doing some edge ML (bird species recognition near the camera) using NPUs (in design phase, yet untested). I have an electronics lab, and I've emulated soft CPUs and built software that runs on FPGAs and in my emulators.

Instead of assuming my approach won't work or is too expensive, I choose to be optimistic. Also, failures are educational. I'm trying to gain more FPGA experience.

comment 2mo ago · link · parent

Tang nano FPGAs are around $10, the idea being to couple with a $25 ARM or RISC-V dev board and offload the math from a streaming store. Coupling this with an older 8GB VRAM board can theoretically run a model whose weights do not fit. The weights get repeatedly run through the MCU/FPGA and the VRAM is used for KV Cache and context. If you connected several via USB and streamed a MoE model expert per FPGA, you could achieve parallelism. Won't be fast, but, many requests could be processed in parallel, as each request shares the large static weights.

The reason for this is, model weights do not need to be randomly accessed. So why store them in expensive RAM.

Cerebras and Qrok seem to be using a very different approach than NVIDIA to get orders of magnitudes speed ups. I'm trying to explore other alternative approaches.

50.

Ask HN: Who is using FPGA for ML inference?

11 points · by softwarewright · 2mo ago · 16 comments

comment 2mo ago · link · parent

nice. I like the metaprogramming and the error handling.

comment 2mo ago · link · parent

so the built-in nano helps a lot, since the help output scrolled off the screen. I tried to use head, less, and more. I could redirect help output to a file (but until I found nano, could not page that). I also looked for dd.

The VNC UI seems generally stable, I was able to log in as all three users, and issue many commands.

Is there a bundled assembler or compiler. How can I write apps for this? Do you have a way to cross-compile and mount a shared folder or scp binaries in?

comment 2mo ago · link · parent

My AI wrote scripts to launch and attach. I was able to do a lot login in as root. One bug: when I run the ring3 demo, the shell stops accepting input.

comment 2mo ago · link · parent

I have forked, cloned, and built (had to pin a specific nightly Rust for it to build). When I run it, it crashed at login; I reran it with VNC, was able to login as root, issue ls and uptime, but then it crashed. My AI is debugging...

comment 2mo ago · link · parent

yes, works now, thanks

comment 2mo ago · link · parent

I have also developed a preemtive-multitasking O/S (and some programming languages to build this and apps) targeted for embedded soft cpu (not x86).

I build tools in Rust, too. I joined your discord but cannot comment anywhere yet (lack of permissions).

Do you use AI coding agents?

comment 2mo ago · link · parent

I've been playing with makerlisp.com's COR24-TB 24-bit RISC soft CPU development board. I developed a Rust emulator for this ISA. The Rust emulator can run inside of a Yew/WASM app in the browser. The TUI is an ncurses-inspired variable tiled window panes. The O/S supports preemptive multitasking. There are cpu-hogs that do not yield that are force preempted. You can run interactive apps and background apps. It has a shell, monitor, debugger, and a few bundled apps.

I plan to add an SPI SD card to load programs. It currently supports up to 16 processes (sharing 1M RAM, no MMU, no internal clock, and I2C clock to be added). Right now, the modified terminal emulator (and WASM demo) send clocks to the O/S which drives the UART ISR to do the cooperative (and when needed, the preemptive) dispatching.

I developed this using a language I built that was inspired by PL/M and IBM's PL/I (PL/AS, PL/X) languages (because I wanted metaprogramming via executable macros).

I've developed many compilers and interpreters that run on COR24 ISA (not yet in this demo; they have their own demos). I plan to port a lot of this work to ARM and RISC dev boards with NPUs to explore edge ML.

58.

Interactive demo of MINIX1-like O/S on emulated CPU(swtos.softwarewrighter.com ↗)

11 points · by softwarewright · 2mo ago · 2 comments

comment 2mo ago · link · parent

How does your Engram compare to the Engram in this paper? https://arxiv.org/abs/2601.07372
123