HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ammmir

no profile record

comments

ammmir
·2 ay önce·discuss
It's trivial to build a wrapper script to emulate `claude -p` with full PTY without Claude knowing. Good old screen scraping to the rescue.

This new cat and mouse game is perhaps a sign of the times...
ammmir
·3 ay önce·discuss
staring at a wall is basically the zen practice of shikantaza [1], except you’re not staring, it’s more of an eyes half closed yet alert gaze. you don’t do anything, not even counting the breath. you just sit, that’s the entire practice. in my experience, the more you intellectualize it, the more difficult it becomes!

[1] https://en.wikipedia.org/wiki/Shikantaza
ammmir
·3 ay önce·discuss
[dead]
ammmir
·3 ay önce·discuss
> Securely runs root-level commands via a dedicated macOS Launch Daemon

lovely.
ammmir
·3 ay önce·discuss
you know how we have the showdead? how about adding a couple of new ones:

hidekarma: hide accounts below certain karma threshold

hideage: hide accounts newer than 1 week/1 month/6 months

these should be opt-in. people that care can turn them on.
ammmir
·3 ay önce·discuss
honest question: what use case requires cold starts below 100ms, considering TTFT of major LLMs are in the 300+ms range? presumably sandbox will be driven by an agentic loop, so.. you’re still bottlenecked by what essentially amounts to network I/O.
ammmir
·4 ay önce·discuss
I don't get it. You mention being able to choose your own JS engine, so it's not using Wasmer's WebAssembly implementation but that of the chosen JS engine's? In other words, can Edge.js use Wasmer? Or have you managed to compile V8/JSC into WebAssembly and are executing it with Wasmer? If so, amazing!
ammmir
·4 ay önce·discuss
> I'm also finding it difficult to think of things to do

Why do you need things to do?

Meditate on this. Everything else is noise.
ammmir
·5 ay önce·discuss
> # WRONG: Elixir has no elsif

How much context is eaten up by skills that rehash what a SOTA model should already know?

Maybe token-wise, it's a wash: Elixir/OTP does a lot without third-party libs, which would require massive npm dependencies to achieve the same thing.
ammmir
·6 ay önce·discuss
When you have a hammer, everything looks like a nail. Ad nauseam.

AI has made it possible for me to build several one-off personal tools in the matter of a couple of hours and has improved my non-tech life as a result. Before, I wouldn't even have considered such small projects because of the effort needed. It's been relieving not to have to even look at code, assuming you can describe your needs in a good prompt. On the other hand, I've seen vibe coded codebases with excessive layers of abstraction and performance issues that came from a possibly lax engineering culture of not doing enough design work upfront before jumping into implementation. It's a classic mistake, that is amplified by AI.

Yes, average code itself has become cheap, but good code still costs, and amazing code, well, you might still have an edge there for now, but eventually, accept that you will have to move up the abstraction stack to remain valuable when pitted against an AI.

What does this mean? Focus on core software engineering principles, design patterns, and understanding what computer is doing at a low level. Just because you're writing TypeScript doesn't mean you shouldn't know what's happening at the CPU level.

I predict the rise in AI slop cleanup consultancies, but they'll be competing with smarter AIs who will clean up after themselves.
ammmir
·6 ay önce·discuss
https://amirmalik.net - I haven't blogged in a while, but have been experimenting with single-file build-step-free HTML tools (inspired by simonw's tool catalog) at https://amirmalik.net/tools -- I'm hoping to add more "bring your own API key" local-first mini tools that store their data in IndexedDB or OPFS and sync. I should probably write a post about it :)
ammmir
·6 ay önce·discuss
I've built the same thing twice, first with Firecracker microVM, and second time using containers (gVisor).

While the microVM route is more secure, it's more complicated and ops are tricky, but you can do some cool things to optimize startup time like when I was working on a function as a service platform, and to reduce TTFB, I trapped the `listen()` call, sent a VSOCK message to the VMM to trigger a freeze, snapshot the VM and save it as a "template". Then for every request, the snapshot was cloned (with some file system tricks like CoW) and resumed to handle the request. It "just" worked, but the orchestration was kludgy.

In the second incarnation of this, I decided to use Linux containers with the gVisor sandbox. You can take a look at my project https://github.com/ammmir/sandboxer which uses Podman and gVisor underneath; it's good enough for a prototype. Later on, you can swap it out with Firecracker microVM, if necessary. In fact, I'm thinking of adding microVM support to sandboxer itself. If you wanted to do it yourself, swap out ContainerEngine() with a new implementation based on calling out to Firecracker. You'll need some way to do disk volume management (grow, clone, shared, cross-machine? good luck!), snapshots, etc.
ammmir
·9 ay önce·discuss
what is the connection with SCSI?
ammmir
·geçen yıl·discuss
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: [email protected]

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