HNHacker News
TopNewBestAskShowJobs

SftwareRenderer

16 karma · joined July 16, 2023

submissionscomments
SftwareRenderer··on DeepInfer: High-performance inference framework for DeepSeek models
Napkin math comparing a cluster with a single latest gaming GPU at a generous ~200t/s shows that the cluster pushes about 9 million times more tokens per day. And the cluster runs a more powerful model.

Truly, "the more you buy, the more you save".

SftwareRenderer··on Ask HN: How to deal with shipping AI-written code you don't understand?
Both provide first-hand perspective though, which is hard to gain unless practiced.

Advice about a homelab might be more more common since it's more practical. I'd also value the opportunities it presents for general experience. For example when running a homelab you're organizing and putting together systems, or maybe balancing resource management and budgeting to find the right hardware.

The specific details probably won't matter in the long run (except maybe during a certain flavor of trivia night). But I think having some knowledge about what came before helps build intuition about how new things are put together, which makes a lot of tech look less like magic and more personally achievable.

SftwareRenderer··on Ask HN: How to deal with shipping AI-written code you don't understand?
While everyone gets to act like a PE, I'd encourage junior engineers to build a pet project manually. Primarily to develop the skill to know "where to ask for the details".

Or maybe keep manual coding to build confidence, so that one can say "I've done that before..." and be able defend or take apart a particular strategy.

SftwareRenderer··on Show HN: Cosplay as a tech lead, using gVisor to sandbox agents
By default, you'd be the reviewer. This project does not attempt to automate any reviews, and instead tries to make it easier for a human to review via easy access to diffs and terminal within the agent's workspace. Personally I ask the agent questions and look at the code diffs, similar to what I'd normally do in a code review.

If you wanted to be more thorough, you could scroll up in the chat and see the output of the test runs. Or to help ensure that the agent doesn't cheat, the test suite could be mounted as read-only. A custom extension could also be set up to run tests independently, and set up as a pre-review gate. However in practice (with recent models), a simple "run e2e tests" instruction in AGENTS.md would make the agent do this reliably, and I don't think I've ever seen a situation where the agent requests review without having run tests (again, with recent models). Specifying that you want to use a Test-Driven Development approach seriously goes a long way too.

SftwareRenderer··on Show HN: Cosplay as a tech lead, using gVisor to sandbox agents
It depends on the operating mode you choose and your prompt/AGENTS.md file.

The "Act" operating mode has strict guardrails, and a card only moves into review if the agent explicitly asks for your review (via tool call) or has a question. It's less prone to unnecessary interruptions. For example agents often decide to pause during a multi-phase plan even though no human input is needed. If an agent decides to pause in this mode, the harness automatically nudges it forward.

The "Explore" operating mode works more like most other harnesses: if the agent decides it's done then it lands in review.

Most recent models (pretty much anything released within the past year) will automatically run tests before it thinks it's done, but you can define this for example by specifying a TDD approach in AGENTS.md. In practice when a task is sitting in review, the agent typically provides a summary about test status; and this is without any special guidance.

I also implemented a "Plan" operating mode, but nowadays models are good enough at following instructions that it might be a bit overkill. This mode mounts the workspace as read-only. I originally made this out of frustration when I used to use Cline (the agent would make changes even when their plan mode was enabled). Another reason why it's overkill is because each task in MIKE already has an isolated workspace. This mode still has some advantages though, especially if you have independent subtasks that can run in parallel.

SftwareRenderer··on Show HN: Cosplay as a tech lead, using gVisor to sandbox agents
And thank you and the team for making it easier to secure services!

I read MAGI right around the time I was looking for existing solutions earlier this year, also enjoyed the Eva vibes.

SftwareRenderer··on Show HN: Cosplay as a tech lead, using gVisor to sandbox agents
Hah, yeah apparently there's just a few of us.

I'll have to explore reference clones, I'm not familiar with it. Looks like it fundamentally provides better isolation, but not sure how of an advantage it is compared to worktrees with a secured .git. Thanks for highlighting it.

Fun easter egg on your homepage btw!

SftwareRenderer··on Show HN: Cosplay as a tech lead, using gVisor to sandbox agents
The primary use case for this is actually to push work to LLMs and handle its lifecycle (including failures). Each card on the board is a different task, and pressing start on the task triggers the LLM loop. So "task push from the board" is its raison d'etre.

In working with local models, the main issues I've seen are failed tool calls, getting stuck in loops, or some other upstream issue with the inference server. Auto-retry logic helps keep things going, and tasks will sit in review for your action if they get stuck. In those situations, you can either adjust the instructions or change to a more... obedient model and put it back in the work queue.

I've experimented with a few inference services too, which tend to have other issues like how they handle rate limits. I added configurable client side limits (concurrency and reqs per minute) to make this run more smoothly.

For programmatic access: this features a RESTful Web API using a Bearer token for authorization. After generating a token (via Settings -> About), you could them have a cronjob run basic curl with a payload to start tasks. I haven't spent much time on the documentation for this yet; the current docs were generated by agents so they're a bit painful to read. I only reviewed them for accuracy.

Thanks for checking it out!

SftwareRenderer··on I Love Software Rendering
I love Software Rendering too! I'd add Unreal Tournament to the list of "Games worth trying", though not sure what the multiplayer scene is like nowadays.
SftwareRenderer··on What I self-host
At least RPi stock has stabilized a bit... I first started hosting on secondhand hardware, but switched over to RPis since they drew less power.

Then I think more importantly in the event of a hardware issue: it's much easier to simply swap out the SD card into a replacement.