News for hackers. Stuff that matters.

misterio7

Re:Clean up Claude 5's token vomit with a separate LLM on Thursday August 20, 2026 @02:00PM (#49377993)
You might be interested in pi-claude-bridge, works nicely.
Re:Has Brazil Invented the Future of Money? on Wednesday July 23, 2025 @07:30AM (#44657981)
Yep, that's the whole point. Pix transactions are designed to be instantly settled, even across different banks. The central government bank enforces this, as well as other rules (e.g. Pix between two individuals can't have fees, etc).
Re:We Picked AGPL on Wednesday August 14, 2024 @09:56AM (#41246129)
AFAIK, the difference between AGPL is GPL is on what constitutes "distribution"; what constitutes a "derivative" is still the same.

https://drewdevault.com/2020/07/27/Anti-AGPL-propaganda.html

Re:Evaluating New Software Forges on Sunday December 17, 2023 @10:08AM (#38673329)
You might want to try out self hosting hydra! It's pretty sweet for your usecase (building and caching Nix stuff, in a smart way). It can even run arbitrary commands (e.g. moving a release branch)

EDIT: here's how I do it, in case it's useful: https://github.com/Misterio77/nix-config/blob/a74b2ede/hosts...

Your comment was very interesting to read! I wanted to chime in and mention that "Life is Strange" has a lot of this "what choice did you make?" book club-like feel to it, it's pretty fun to talk about!
That's pretty sweet! Is the code open source? I'd love to see how it works.
Re:PhotoPrism: Browse Your Life in Pictures on Thursday July 13, 2023 @10:56AM (#36710198)
Yup! Worked great for the few months I used it. I think it's kinda funny how much simpler the Nix package is when compared to upstream's dockerfiles lol
Re:Wayland on OpenBSD on Monday July 10, 2023 @06:30AM (#36664335)
Yes you can lol. I'm literally using WayVNC right now to work on my laptop from my desktop seamlessly
Re:Ask HN: Anyone Using Rust for Web Development? on Saturday June 24, 2023 @08:17PM (#36463969)
I'd definitively recommend it, though! I think the frameworks are pretty nice, do keep in mind they are all more like microframeworks (think flask, not django). If you like writing Rust code and building your own scaffolding is not something you hate, definitively try it out!
Re:Ask HN: Anyone Using Rust for Web Development? on Saturday June 24, 2023 @08:15PM (#36463957)
Yeah the only painpoint I have is that it's awkward to use async inside closures, otherwise, things are pretty smooth IMO.
Re:Ask HN: Anyone Using Rust for Web Development? on Saturday June 24, 2023 @08:14PM (#36463954)
I've worked on the server side with Axum and Rocket; both are pretty nice. I love SQLX to write queries that validate at build time, and had quite a blast using Maud to write HTML within Rust code.

I'd say the type system is awesome to help model your problems and make sure invalid states can't be represente

The biggest drawback is big(ish) compile times/feedback loops; I can get it down to around 2s on a project that builds SCSS and bundles assets within Rust, but it (and any other compiled language, really) can't beat the fast iterations interpreted languages give you.

Re:Ask HN: Anyone Using Rust for Web Development? on Saturday June 24, 2023 @08:08PM (#36463921)
Honest question: what is it that you dislike in async rust? I personally find it is pretty straightforward
Re:Having non-x86 machines makes your life harder on Wednesday June 21, 2023 @09:50AM (#36418440)
I have a mix of x86_64 and aarch64 machines and, damn, NixOS makes it so freaking easy. Most of nixpkgs works on both architectures. You can even use your machines as remote builders and/or use binfmt to transparently run/build stuff through qemu.

When I was helping out a friend with his free oracle aarch64 server, I got baffled on how ARM feels like a second class citizen on most distros.

Re:My First Impressions of Nix on Monday June 19, 2023 @06:13PM (#36397103)
Yeah! There's specializations[1] to make this even simpler.

[1] https://nixos.wiki/wiki/Specialisation

Re:My First Impressions of Nix on Monday June 19, 2023 @05:56PM (#36396986)
Grep nixpkgs for `buildNpmPackage`, it's ridiculously easy to package a node app nowadays.
Re:PostgreSQL – Don't Do This on Thursday June 01, 2023 @08:27AM (#36150186)
The server's timezone is not even relevant. By using timestamptz, you include the timezone together with the timestamp, meaning you can be absolutely sure that the time stored is indeed UTC! You avoid the mistake of mixing up local times and UTC and forgetting to convert them.
Re:Client-side encryption for Gmail is now generally available on Tuesday February 28, 2023 @10:09AM (#34970107)
I mean, at least for me it hasn't been a problem. I currently self host mail on a VPS and everything's awesome. YMMV
Re:Client-side encryption for Gmail is now generally available on Tuesday February 28, 2023 @10:02AM (#34970030)
Most hosted mail services have no issues getting to mailbox. I've used Gandi, Mailbox, FastMail, and never have any mails flagged as spam.

Deliverability is only an issue when self hosting (particularly for home IPs)