News for hackers. Stuff that matters.

rvitorper

Re:Show HN: Go-Bt: Minimalist Behavior Trees for Go on Thursday April 09, 2026 @10:34AM (#47704307)
Nice. Do you have any resources on the latter? I'd really like to see how much easier is a data driver state machine
Re:Show HN: Go-Bt: Minimalist Behavior Trees for Go on Thursday April 09, 2026 @10:33AM (#47704288)
Hey, thanks a lot for the comment! The supervisor I added - which is a super simple one - ticks using the time.Ticker, which I assume only works with regular intervals. I think adding the built-in exponential backoff would be a nice thing to add, maybe making it go back to the node in a subtick manner. I haven't tested a super large tree or a combination thereof, but I think if the nodes can behave properly with respect to waiting some IO, it can definitely handle quite a large tree. It would be nice to add the capability to handle several trees, though. What do you think?
Re:Show HN: Go-Bt: Minimalist Behavior Trees for Go on Wednesday April 08, 2026 @04:39PM (#47695957)
Hey, thanks a lot for commenting. That seems like a nice way to encode state. Did you ever have issues with multiple states being activated at the same time? I'll take some time to explore the hierarchical state machine, as I haven't seen an example of this short of HTN. Making it data-driven seems a nice and easy way to tackle the complexity. I like that
Re:Show HN: Go-Bt: Minimalist Behavior Trees for Go on Wednesday April 08, 2026 @04:36PM (#47695919)
Hey, thanks a lot for the comment. I'd love to see some code about the "express state machines as data". I always had a hard time with state machines, because every time I needed to add a new node, I had to reason about too many transitions, especially when the number of states was enormous. I like the BT structure because of the modularity, but it would be nice to see some other way to implement things - always a welcome addition. Regarding the BTs with channels, I'm very curious about it. Will check the article, for sure
Re:Show HN: Go-Bt: Minimalist Behavior Trees for Go on Wednesday April 08, 2026 @04:32PM (#47695875)
Hey, thanks a lot for the comment. I was thinking about the parallel composite nodes and I was wondering what would make good additions to the project. What do you think? I was going to start implementing something like RequireAny and RequireAll. I was also wondering about the "parallel" side of these nodes. Does it mean they tick all children nodes or does it mean that I spawn one goroutine for each child in a wait group and wait? Would like to hear your thoughts
Re:Major AWS Outage Happening on Monday October 20, 2025 @06:14AM (#45642191)
Somebody, somewhere tried to rollback something and it failed
Re:Major AWS Outage Happening on Monday October 20, 2025 @06:04AM (#45642100)
Exactly
Re:Bible and Quran apps flagged NSFW by F-Droid on Sunday October 19, 2025 @06:26PM (#45638592)
Amen, brother
Re:Replacement.ai on Sunday October 19, 2025 @12:21PM (#45635410)
It’s a bot responding. That much I can tell
Re:Replacement.ai on Sunday October 19, 2025 @12:17PM (#45635363)
Yes

Ask HN: Why put a HAProxy in front of Nginx?

Hey, thanks for your time in advance.I saw in a few comments people talking about having a HAProxy in front of a Nginx, which in turn acts as the reverse proxy to the app instances.I wanted to understand what use-cases is this architecture viable and recommended, if you could just remove the HAProxy and have Nginx as the public facing server or maybe remove the Nginx altogether, and if there...

( Read More... | 2 comments | 2 points | on HN )
Re:Ruby Blocks on Saturday October 18, 2025 @10:47AM (#45627809)
I can’t unsee it either. Will try it later
Re:Second Chances on YouTube on Saturday October 18, 2025 @10:35AM (#45627717)
Right?? Omg, I felt the same way!
Re:Second Chances on YouTube on Saturday October 18, 2025 @10:33AM (#45627699)
They are still high on their power trip. They say creators will have an “opportunity” because creators “think YT might have made a mistake”. What a huge ass announcement
Re:Exploring PostgreSQL 18's new UUIDv7 support on Friday October 17, 2025 @07:30PM (#45623374)
Makes sense. Thanks for the comment
Re:Exploring PostgreSQL 18's new UUIDv7 support on Friday October 17, 2025 @07:24PM (#45623322)
Postgres. It was also a single instance, which made it significantly easier. But nice to know that this is an issue on SQL Server
Re:Exploring PostgreSQL 18's new UUIDv7 support on Friday October 17, 2025 @07:01PM (#45623150)
Does anyone have performance issues with uuidv4? I worked with a db with 10s of billions of rows, no issues whatsoever. Would love to hear the mileage of fellow engineers
Re:Ruby Core Takes Ownership of Rubygems and Bundler on Friday October 17, 2025 @12:17PM (#45618467)
As an outsider, I have two questions: - why is Shopify kind of hated in the comments? - what is it DHH said?

Hoping for some context

Re:Hyperflask – Full stack Flask and Htmx framework on Thursday October 16, 2025 @06:46PM (#45611598)
I like it. Simple, easy, htmx and Flask, batteries-included. Exactly what I was looking for
Re:Hyperflask – Full stack Flask and Htmx framework on Thursday October 16, 2025 @06:44PM (#45611581)
I’ve heard of a major fintech in South America that stores all the client state on the backend. Millions of users daily and it works
Re:Why I Chose Elixir Phoenix over Rails, Laravel, and Next.js on Thursday October 16, 2025 @11:38AM (#45606716)
Next.js is still missing lots of backend stuff. Background jobs, cron jobs, queues, etc.
Re:IRS Open Sources its Fact Graph on Wednesday October 15, 2025 @09:06PM (#45600384)
Scala mentioned
Re:Next Steps for the Caddy Project Maintainership on Wednesday October 15, 2025 @06:39PM (#45599183)
I like Caddy. Good to see it evolve. Hope it works well
Re:Why We're Leaving Serverless on Wednesday October 15, 2025 @11:24AM (#45594014)
We all love a vendor lock-in, don’t we? Until it backstabs us and we go back to VMs
Re:M5 MacBook Pro on Wednesday October 15, 2025 @11:15AM (#45593869)
Looks premium, eco-responsible, powerful, just like the M4. And the M3. And the one before. Does anyone know what exactly changed this year?
Even in the “low-performing” zone of the single threaded SQLite and Turso, we are still talking about 50k rows per second and 1000 microseconds, aka 1 ms. It is insanely fast. 1ms is just the round-trip for my Postgres on RDS. It is amazing that SQLite is so awesome. I understand it is not for every use-case, but still awesome
Re:Why is everything so scalable? on Tuesday October 14, 2025 @07:04PM (#45586049)
BEAM for the win
Re:Why is everything so scalable? on Tuesday October 14, 2025 @07:03PM (#45586044)
I can relate to this
Re:Why is everything so scalable? on Tuesday October 14, 2025 @04:48PM (#45584653)
Can’t argue with that. Machines are pretty capable, and elixir is awesome as well

Older »