HackerTrans
TopNewTrendsCommentsPastAskShowJobs

kzemek

no profile record

Submissions

Final Version Perfected (FVP) Instructions

markforster.squarespace.com
2 points·by kzemek·el año pasado·0 comments

Show HN: es6_maps v1.0.0, new Elixir syntax feature via runtime compiler hacking

github.com
4 points·by kzemek·el año pasado·0 comments

SSHd and AuthorizedKeysCommand

jpmens.net
4 points·by kzemek·el año pasado·1 comments

comments

kzemek
·hace 4 meses·discuss
Fair enough! My comment is about agentic-focused libraries in general, it’s inaccurate of me to call all such libraries “LLM-focused”

Speaking of inaccuracies, BEAM does provide pretty good location transparency - but resource migration between nodes in particular is not part of the built-in goodies that OTP brings
kzemek
·hace 4 meses·discuss
I really like the focus on “data and pure functions” from the beginning of the post.

I’ve read a lot on HN about how BEAM execution model is perfect for AI. I think a crucial part that’s usually missing in LLM-focused libraries is the robustness story in the face of node failures, rolling deployments, etc. There’s a misconception about Elixir (demonstrated in one of the claw comments below) that it provides location transparency - it ain’t so. You can have the most robust OTP node, but if you commit to an agent inside a long running process, it will go down when the node does.

Having clear, pure agent state between every API call step goes a long way towards solving that - put it in Mnesia or Redis, pick up on another node when the original is decommissioned. Checkpointing is the solution
kzemek
·hace 5 meses·discuss
We also had a similar use case, so I built Snex[0] - specifically for Elixir-Python interop. Elixir-side spawns interpreters with Ports managed by GenServers, Python-side has a thin asyncio runtime to run arbitrary user code. Declarative environments (uv), optimized serde with language-specific objects (like `%MapSet{}` <-> `set`), etc. Interpreters are meant to be long lived, so you pay for initialization once.

It's a very different approach than ex_cmd, as it's not really focused on the "streaming data" use case. Mine is a very command/reply oriented approach, though the commands can flow both ways (calling BEAM modules from Python). The assumption is that big data is passed around out of band; I may have to revisit that.

[0]: https://github.com/kzemek/snex
kzemek
·hace 8 meses·discuss
There’s a setting for that:

Cursor Settings -> Agents -> Applying Changes -> Auto-Accept on Commit
kzemek
·hace 8 meses·discuss
These are spoofed packets for SYNACK reflection attacks. Your response traffic goes to the victim, and since network stacks are usually configured to retry SYNACK a few times, they also get amplification out of it
kzemek
·el año pasado·discuss
It might be from me being so used to it, but I do like Elixir’s `def`/`defp` second best to Rust’s `pub`
kzemek
·hace 4 años·discuss
Except when that's an alarm clock time, and the user takes a trip on Friday that moves him -4h worth of timezones.

Or if their local legislature suddenly decides to cancel the DST change that was supposed to happen Friday night.