News for hackers. Stuff that matters.

mromnia

Re:Write code like a human will maintain it on Friday July 10, 2026 @04:42PM (#48864961)
Run it in a Docker container and give readonly access to the .git folder.

This way the agent can read git logs (this is very useful) but cannot commit directly (I don't see any value in this).

Re:AI Tribalism on Sunday January 25, 2026 @04:46PM (#46758666)
Considering what's happening with PC component prices, it's likely we won't have anything to run those public models on anyway. Everything might become permanently cloud-only at some point.
Re:Developing Godot Projects with Neovim on Monday July 25, 2022 @08:50AM (#32223584)
This is actually explained in the Godot docs: https://docs.godotengine.org/en/latest/about/faq.html#what-i...
Iterating with async/await means you wait for every result before making another call. You basically execute the async calls one by one.

Promise.all runs them all simultaneously and waits until they are all complete. It returns an array of results in the same order as the calls, so it's usually pretty straightforward to use.

Both approaches have a purpose, so it's not like you "should" strictly use one. But you should be aware of both and be able to use the one that fits the need.

Can you give an example?

Because if you're talking about ads, many people (even in this post) are saying that they just don't work for small projects.

I see this advice a lot, but I never really understood what the alternative is. If your product has a specific niche, maybe there are some forums or subreddits dedicated to it, sure. But if it's a game? Some are designed for a niche audience, but most really aren't.

Another thing is that most of the forums/subreddits these days have strict rules against self-promotion.

And I'm not saying that you're wrong - I'm just wondering what do you think is the right way to do things.

Re:Ruby in Twenty Minutes (2006) on Sunday February 10, 2019 @05:33AM (#19127214)
Isn't this comparing apples to oranges? I haven't used koa, but it seems to be same level of abstraction as express - basically a thin layer over HTTP with routing. Rails or Django are several levels higher - they include auth, database interaction, CRUD etc. I'm not saying that either approach is better, just that the comparison seems strange.
Re:The Joy of Haxe on Sunday October 21, 2018 @03:48AM (#18267102)
Maybe, maybe not. It just feels to me like Haxe only really makes sense for gamedev, and even then only barely, because of huge, crossplatform game engines like Unity.

I really like the language (after reading the tutorial at least), but I'm not sure where would using it make sense. For backend stuff it just seems completely inferior to Typescript (considering library support especially).

Re:The Joy of Haxe on Sunday October 21, 2018 @03:13AM (#18267042)
Is it possible to use Haxe for anything except gamedev and keep the crossplatform aspect? For example for backend webdev, it seems like you can compile to nodeJS and use express, but then you can't really compile to any other platform. You can compile to PHP, but you're also stuck with PHP frameworks.

Basically what I'm saying is that for Haxe to be truly crossplatform, it requires Haxe-native frameworks in the target domain. But that doesn't really seem to be the case outside of games, so that advantage is lost.

Re:Serving 39M Requests for $370/Month on Thursday June 22, 2017 @03:41AM (#14610730)
You realize he actually did take that into account, and tripling his estimate is exactly what he did?

Older »