Better HN
topnewbestaskshowjobs
Log inSign up

ac130kz

347 karma · joined Jul 23, 2018 (8y ago) · 251 submissions

Submissions

comment 1y ago · link · parent

I assume Docker Compose v2 from Docker.

comment 1y ago · link · parent

Well, is this Podman's "service mode" also fully compatible with Docker Compose file functionality though?

comment 1y ago · link · parent

That's an Ubuntu issue though, they ship lots of outdated software. Nginx, PHP, PostgreSQL, Podman, etc, the critical software that must be updated asap, even with stable versions they all require a PPA to be properly updated.

comment 1y ago · link · parent

It's works great until you need that one option from Docker Compose that is missing in Podman Compose (which is written in Python for whatever reason, yeah...).

comment 1y ago · link · parent

Podman compose isn't compatible with Docker compose, end of story.

comment 1y ago · link · parent

ASRock has Zen 5 CPUs dying with stock settings from brief core voltage spikes on idle (max core frequencies). I believe either PBO has to be enabled to allow undervolting headroom or VSOC has to be permanently fixed to a value lower than 1.2V.

comment 1y ago · link · parent

Are they out of their minds? How can a tiny startup without their own actual product (nowadays anyone can strap OpenAI/Anthropic API or fork open source models, such as Deepseek, on top of web scraping) buy the largest browser used by billions made by a company making trillions?

comment 1y ago · link · parent

Gitlab is an easy way to scale things related to code. There's also this new thing Radicle.

comment 1y ago · link · parent

I can't imagine searching with Google these days unless it's something very niche. Even free AI with web search are marginally better, even with the traffic spam they create, Google Search has made itself unbearable.

comment 1y ago · link · parent

>URLs up to ~2000 characters

Exactly, this approach doesn't scale well without trickery involved. You have to have some sort of weird encoding in place to compact it down.

comment 1y ago · link · parent

Somewhat solved by type annotations + a good static type checker, such as pyright (it's 2025, there must be type annotations everywhere), and dynamic cases (very rare, probably due to poor or unfortunate design decisions) can be solved with validators, e.g. the aforementioned Pydantic. This isn't a silver bullet, but it works really well.

comment 1y ago · link · parent

An easier/moderate approach: make a proper base DTO model, which can be extended by validators, such as Pydantic, and the db model is the Domain is just whatever an ORM offers/dataclasses.

comment 1y ago · link · parent

Apart from dataclasses (which generally should have slots and/or be frozen), this article gives way too much inapplicable advice, which is not scalable even in a small sized project.

comment 1y ago · link · parent

Yeap, self-reinforcement learning is missing in LLMs.

comment 1y ago · link · parent

Why so? Just after the forking process Valkey has gone beyond what Redis is capable of due to high volumes of funding and new attention from devs wanting to improve Redis's performance.

comment 1y ago · link · parent

The post doesn't even mention how it works/improves DX in a multi-threaded environment, borrow checkers are targeting specifically that use case.

comment 1y ago · link · parent

Some "smart" folks even downvote this advice. Yeah, I've seen articles on musl's horrible performance back in 2017-2018, and apparently it still holds, yet I get a downvote.

comment 1y ago · link · parent

tldr as always, don't use Musl, if you want performance, compatibility.

comment 1y ago · link · parent

It's hasn't been performant for me all the 3 times I've tried. It kept chugging an entire CPU core. Never had a similar experience with Sway, it's still extremely responsive and light on the system (especially with Vulkan).

comment 1y ago · link · parent

Yes, I do agree on most of AI's side effects, but it's already cheap, accurate and reliable enough to be used with a fine-tuned context/pretrained model + tooling (web and local db search in particular) at various monotonous applications without breaking a bank. A human can intervene to guide, add extra context, or even continue working from what an AI model has come up with.

It's not about "good" or "bad", we have to live with it. And as always, those who don't adapt - vanish.

comment 1y ago · link · parent

I switched to Monaspace Argon as default, it's a tiny bit more variative compared to JetBrains Mono, which enchances its readability without going full crazy.

comment 1y ago · link · parent

Probably they meant that GC introduces a certain level of uncertainty, whereas OS or "systems" programming leans heavily towards manual handling (except when the compiler allows to avoid it, not the runtime).

comment 1y ago · link · parent

DI is fine, if it is fully typed, and objects are explicitly initiated by the user, and the DI only does thread-safe dependency resolution.

comment 1y ago · link · parent

Good luck to them, everyone is moving to Valkey, especially with its major backing and already better performance.

comment 1y ago · link · parent

The article is weirdly framed in favour of Biden's administration, who delayed heavy weapons by a year, and didn't fully utilize the allocated budget. Now we have a stupidly long conflict.

comment 1y ago · link · parent

memcmp must be missing AVX instructions.

comment 1y ago · link · parent

How come Android, that you can build yourself, is worse than Apple, which had plans to use CSAM?

comment 1y ago · link · parent

-march=native + mimalloc (or jemalloc) should be sufficient without causing significant undefined behavior like -O3 or most extra optimization related compiler arguments.

comment 1y ago · link · parent

First and foremost, an easy way to grab a bunch of undefined behavior.
12345
9