Recent submissions

Comment · 9 months ago
this is cute but i imagined prompting the ai for a loop-di-loop roller coaster. If this could build complex ride it would be a game changer.
Comment · 2 years ago
"So I deployed that hasty fix on friday..."
Comment · 2 years ago
just my two cents that netfilter (for which iptables is a frontend) is a kernel subsystem and therefore global to all containers on host.
Comment · 2 years ago
Comment · 2 years ago
Well here I tunneled multiple TCP connections traffic over a single input/output streams (the SSH shell IO stream).

Basically when you got a single communication channel and it's expensive to create more channels to tunnel multiple TCP streams where each connection get's its on channel, this is when you reach for the muxer.

i.e. here I probably could make it without yamux if instead I used SSH control port(socket? master?) and created many shell IO streams. but using yamux makes it cleaner. Also the server I'm working on is very buggy and you really get like 50% success rate logging in.

I suggest you download this `yamux` utility and play around with it really :)

Comment · 2 years ago
reminds me how the other day I circumvented disabled SSH port forwarding by using https://github.com/nwtgck/yamux-cli + ncat already on the machine to do something like: yamux -l lport | ssh server -- <script: ncat --proxy-type=http -klp proxyport & and yamux localhost proxyport>.sh

good thing I needed HTTP access or else i had to find that socks5 server that's actually working again.

Comment · 2 years ago
I also need elaboration on this. I presumed calling lua from c can be used to implement user-defined callbacks. Launching a thread for lua + locking seems even slower?
Comment · 2 years ago
pretty fun though.
Comment · 2 years ago
I didn't finish yet but I was thinking he's talking about memorizing the algorithm to calculate sines in your head.
Comment · 2 years ago
obviously, but i'm not so keen to turn it into a pre-emptive scheduler either lol.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton