Readit News logoReadit News
ammmir commented on It's not always DNS   notes.pault.ag/its-not-al... · Posted by u/todsacerdoti
inopinatus · 2 months ago
The full maxim I was taught being, “it’s either DNS or permissions”.

The fatal design flaw for the Domain Name System was failure to learn from SCSI, viz. that it should always be possible to sacrifice a goat to whatever gods are necessary to receive a blessing of stability. It hardly remains to observe that animal sacrifice is non-normative for IETF standards-track documents and the consequences for distributed systems everywhere are plainly evident.

Goats notwithstanding, I think it is splitting hairs to suggest that the phrase “it’s always DNS” is erroneously reductive, merely because it does not explicitly convey that an adjacent control-plane mechanism updating the records may also be implicated. I don’t believe this aphorism drives a misconception that DNS itself is an inherently unreliable design. We’re not laughing it off to the extent of terminating further investigation, root-cause analysis, or subsequent reliability and consistency improvement.

More constructively, also observe that the industry standard joke book has another one covering us for this circumstance, viz. “There are only two hard problems in distributed systems: 2. Exactly-once delivery 1. Guaranteed order of processing 2. Exactly-once delivery”

ammmir · 2 months ago
what is the connection with SCSI?
ammmir commented on Ask HN: Freelancer? Seeking freelancer? (July 2025)    · Posted by u/whoishiring
ammmir · 5 months ago
SEEKING WORK | Bangkok, Thailand | REMOTE (APAC timezone)

Hi, I'm a seasoned software professional with 15+ years of experience across the stack, from low-level systems and protocols to web and mobile apps to DevOps CI/CD pipeline engineering to modern AI/LLM/agentic workflows. I like solving real business problems using stable and proven tools, as well as prototyping ideas, so whether you're looking to build a v1 of your product, a DevOps engineer, or looking for a CTO for a more established org, please reach out!

Technologies: TypeScript, Python, Go, JavaScript, Rust, Lua, Next.js, OpenResty, Nginx, PHP, Docker, Podman, CRIU, Linux namespaces, Firecracker, Express, Deno, Bun, Node.js, HTTP, X.509, TLS/SSL, SMTP, OAuth, OIDC, JWT, PostgreSQL, SQLite, Redis, MySQL, AI agents, LLM, RAG, vector databases, FastAPI, MCP, Streamlit, ELK, Terraform, OpenTelemetry

Résumé/CV: https://amirmalik.net/resume

Email: amir@amirmalik.net

ammmir commented on Ask HN: Who wants to be hired? (June 2025)    · Posted by u/whoishiring
ammmir · 6 months ago
Location: Bangkok, Thailand

Remote: Yes

Willing to relocate: No

Technologies: TypeScript, Python, Go, Rust, Lua, JavaScript, Next.js, OpenResty, Nginx, PHP, Docker, Podman, CRIU, Linux namespaces, Firecracker, Express, Deno, Bun, Node.js, HTTP, X.509, TLS/SSL, SMTP, OAuth, OIDC, JWT, PostgreSQL, SQLite, Redis, MySQL, AI agents, LLM, RAG, vector databases, FastAPI, MCP, Streamlit, ELK, Terraform, OpenTelemetry, DevOps

Résumé/CV: https://amirmalik.net/resume

Email: amir@amirmalik.net

Hey HN! I'm a seasoned software professional with 15+ years of experience across the stack, from low- level systems and protocols to web and mobile apps to modern AI/LLM/agentic workflows. I like solving real business problems using stable and proven tools, as well as prototyping ideas, so whether you're looking to build a v1 of your product or looking for a CTO for a more established org, please reach out!

P.S. If you want a taste of how I think/work, check out this blog post I wrote on building secure code sandboxes for LLM agents: https://amirmalik.net/2025/03/07/code-sandboxes-for-llm-ai-a... -- also, a I open-sourced a more advanced sandbox server: https://github.com/ammmir/sandboxer

ammmir commented on Zed: High-performance AI Code Editor   zed.dev/blog/fastest-ai-c... · Posted by u/vquemener
ammmir · 7 months ago
I was using Zed up until a few months ago. I got fed up with the entire AI panel being an editable area, so sometimes I ended up clobbering it. I switched to Cursor, but now I don't "trust" the the editor and its undo stack, I've lost code as a result of it, particularly when you're in mid-review of an agentic edit, but decide to edit the edit. The undo/redo gets difficult to track, I wish there was some heirarchical tree view of history.

The restore checkpoint/redo is too linear for my lizard brain. Am I wrong to want a tree-based agentic IDE? Why has nobody built it?

ammmir commented on Show HN: Sandboxer – Forkable code execution server for LLMs, agents, and devs   github.com/ammmir/sandbox... · Posted by u/ammmir
ammmir · 7 months ago
Two months ago, I started exploring how LLMs can securely run arbitrary code. Since then, we've seen Manus and others build code inside sandboxes and I believe there are some YC startups in this space, too! I wrote a blog post [1] about building a simplistic version of this using Jupyter Notebook, but since then I've built a fully open source sandboxing server with more ergonomic HTTP endpoints (MCP should be next I guess?) and a half-decent UI for humans (see the demo video in the README).

A novel concept that I haven't seen implemented properly yet, perhaps useful for AI coding agents, is that a sandbox can be forked at any point. Similar to how you can fork a PostgreSQL database, you can fork a sandbox, which creates an independent sandbox with all of the changes in it. Technically, I tried to implement this with checkpoint/restore using CRIU, but ran into some issues with nesting beyond 2 levels deep and custom user namespaces for security. And it was difficult to use get CRIU to work with Linux programs that use shared memory segments, and other Unixy things. I ended up switching to file system diffs and using reflinks on XFS to get some Copy-on-Write semantics.

Features:

* Automatic HTTPS with unique URL per sandbox (no need to deal with ingresses or exposing ports)

* Static token auth or GitHub app auth

* Built-in UI

* Multi-tenant ready: each user gets their own network

* List, download, and upload files into sandboxes

* Fork sandboxes to create arbitrary depths of clones

It's still in early stages, but it should be usable. I'd love your feedback and ideas on where to take this :) Personally, I want to use this as a code execution backend for local AI agents.

[1] https://amirmalik.net/2025/03/07/code-sandboxes-for-llm-ai-a...

ammmir commented on Ask HN: Who wants to be hired? (May 2025)    · Posted by u/whoishiring
ammmir · 8 months ago
Location: Bangkok, Thailand

Remote: Yes (unless local to BKK, or somewhere nearby like Singapore)

Willing to relocate: No

Technologies: TypeScript, Python, Go, Rust, Lua, JavaScript, Next.js, OpenResty, Nginx, PHP, Docker, Podman, CRIU, Linux namespaces, Firecracker, Express, Deno, Bun, Node.js, HTTP, X.509, TLS/SSL, SMTP, OAuth, OIDC, JWT, PostgreSQL, SQLite, Redis, MySQL, AI agents, LLM, RAG, vector databases, FastAPI, MCP, Streamlit, ELK, Terraform, OpenTelemetry, DevOps

Résumé/CV: https://amirmalik.net/resume

Email: amir@amirmalik.net

Hey HN! I'm a seasoned software professional with 15+ years of experience across the stack, from low-level systems and protocols to web and mobile apps to modern AI/LLM/agentic workflows. I like solving real business problems using the latest tools, without introducing too many shiny new toys.

If you want a taste of how I think and work, check out this blog post I wrote on building secure code sandboxes for LLM agents: https://amirmalik.net/2025/03/07/code-sandboxes-for-llm-ai-a... -- also, I'm building a self-hostable, open-source sandboxing server based: https://github.com/ammmir/sandboxer -- Show HN coming soon!

I'm looking for short-term consulting gigs (open to long-term), so whether you're looking to prototype something new in order to catch the AI hype train, or something more traditional, please reach out ASAP!

ammmir commented on Ask HN: What are you working on? (April 2025)    · Posted by u/david927
ammmir · 8 months ago
Last month, I started playing around with code sandboxes and how LLMs might interface with them and wrote a little blog post about it [1]. I then took the code and vibe coded my way to a multi-tenant (untested!) sandboxing server that lets you run arbitrary Docker containers and provides a simple HTTP interface and UI. A cute, novel idea is that you can fork containers easily, as seen in the video in my repo:

https://github.com/ammmir/sandboxer

It may not be useful, but it's been fun, and I've honed my gut-level experience in Docker, Podman, Linux namespaces, Checkpoint/Restore, CRIU, and more. The ultimate goal is to hand each AI agent iteration a sandbox of its own (forked from the previous iteration), and have it build apps in private sandboxes. You'll be able to view intermediate progress as the app is being built (or failed rabbit holes), since each sandbox gets a unique URL automatically. Like, imagine if each commit of your git repo had its own URL to preview the app!

[1] https://amirmalik.net/2025/03/07/code-sandboxes-for-llm-ai-a...

u/ammmir

KarmaCake day470September 23, 2010
About
business problem solver, product engineer, systems architect.

available for hire.

email: amir@amirmalik.net

web: https://amirmalik.net / https://www.pilvy.com

View Original