Porting/reimplementing a Tcl interpreter from C to Zig, based on the design of Jimtcl. This is one of those sub-projects that started due to another project (folk.computer in this case). The biggest difference is thread-safe value sharing, and (soon to be) lexical variable capture. But why? Right now folk.computer has about a 20% overhead of serializing and deserializing values as they get sent between threads, and it's also meant we can't sent large amounts of data around. I previously attempted to make the Jimtcl interpreter thread-safe, but it ended up being slower than the status quo. So, I started hacking on a new interpreter. Commands evaluate, basic object operations are in place, but there's still a ton of work to do in order to implement core commands. It may even be good enough to swap in some day!
I'm working on an experimental display server, for educational purposes and fun:
https://terminal.pink/bgce/index.html Or https://github.com/blmayer/bgce The idea is to have the minimum needed for a usable graphical experience. So drawing to drm buffer and handling inputs basically. It's been fun to do. I am build a toolkit for it too: https://terminal.pink/bgtk/index.html Or https://github.com/blmayer/bgtk I think it is nice that we can just write to a buffer and it appears on the screen. Very little abstraction is needed. Hope you like it. I also made some progress on my hardware projects, but I'll keep a low profile for now.
I'm working on a tool in golang to handle requesting access to private and sensitive databases in Postgres. The goal is to help orgs reduce handing out long-lived postgres creds with broad permissions.
The flow is you declare the databases and tables you want to access and the specific permissions you want, an operator reviews it, if accepted it generates a temporary postgres user with those permissions you need. Also, all the connections to the database are proxied through the app, so the domain name and port are random and short-lived, so you don't expose internal database hosts. As an extra, all SQL statements during the user sessions are logged if you want to see that. It's available at https://github.com/yungwarlock/pam_postgres My primary goal of this is to drill myself as a product engineer working on a technical product.
I just put something similar together but then on top of Openbao which generates temporary credentials/roles for Postgres. I created a website where people can request access and a specific group of people can approve the approve. After being approved, the database users can request temporary credentials in OpenBao for a specific number of hours.
I’ve been working on a terminal-native AI coding tool called Aye Chat.
The idea is to remove the copy/paste/review loop entirely. Instead of asking an AI for code and then manually approving and applying it, the tool writes directly to files in your folder and automatically snapshots everything so you can diff or instantly undo if it gets something wrong. It lives entirely in the terminal, so you can prompt the AI, run tests, open vim, refactor, restore changes, all in one flow. The bet is that with current models, the main bottleneck is the human, not LLM. It’s open source and still very early, but we already have a steady cohort of users - as the flow is sticky after the "aha" moment. Repo is here if anyone’s curious, give it a star if you like the idea: https://github.com/acrotron/aye-chat Happy to answer questions or hear skepticism :)
Comments (1,468) 897 threads
Earlier commentsPorting/reimplementing a Tcl interpreter from C to Zig, based on the design of Jimtcl. This is one of those sub-projects that started due to another project (folk.computer in this case). The biggest difference is thread-safe value sharing, and (soon to be) lexical variable capture.
But why? Right now folk.computer has about a 20% overhead of serializing and deserializing values as they get sent between threads, and it's also meant we can't sent large amounts of data around. I previously attempted to make the Jimtcl interpreter thread-safe, but it ended up being slower than the status quo. So, I started hacking on a new interpreter.
Commands evaluate, basic object operations are in place, but there's still a ton of work to do in order to implement core commands. It may even be good enough to swap in some day!
https://terminal.pink/bgce/index.html
Or https://github.com/blmayer/bgce
The idea is to have the minimum needed for a usable graphical experience. So drawing to drm buffer and handling inputs basically. It's been fun to do.
I am build a toolkit for it too:
https://terminal.pink/bgtk/index.html
Or https://github.com/blmayer/bgtk
I think it is nice that we can just write to a buffer and it appears on the screen. Very little abstraction is needed. Hope you like it.
I also made some progress on my hardware projects, but I'll keep a low profile for now.
The flow is you declare the databases and tables you want to access and the specific permissions you want, an operator reviews it, if accepted it generates a temporary postgres user with those permissions you need. Also, all the connections to the database are proxied through the app, so the domain name and port are random and short-lived, so you don't expose internal database hosts. As an extra, all SQL statements during the user sessions are logged if you want to see that.
It's available at https://github.com/yungwarlock/pam_postgres
My primary goal of this is to drill myself as a product engineer working on a technical product.
The idea is to remove the copy/paste/review loop entirely. Instead of asking an AI for code and then manually approving and applying it, the tool writes directly to files in your folder and automatically snapshots everything so you can diff or instantly undo if it gets something wrong.
It lives entirely in the terminal, so you can prompt the AI, run tests, open vim, refactor, restore changes, all in one flow. The bet is that with current models, the main bottleneck is the human, not LLM.
It’s open source and still very early, but we already have a steady cohort of users - as the flow is sticky after the "aha" moment. Repo is here if anyone’s curious, give it a star if you like the idea: https://github.com/acrotron/aye-chat
Happy to answer questions or hear skepticism :)
All comments shown.
Couldn't load more comments. Check your connection and try again.