Better HN
topnewbestaskshowjobs
Log inSign up

misterio7

23 karma · joined Feb 24, 2023 (3y ago) · 18 submissions

Submissions

comment 3mo ago · link · parent

You might be interested in pi-claude-bridge, works nicely.

comment 1y ago · link · parent

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).

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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...

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

That's pretty sweet! Is the code open source? I'd love to see how it works.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Yes you can lol. I'm literally using WayVNC right now to work on my laptop from my desktop seamlessly

comment 3y ago · link · parent

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!

comment 3y ago · link · parent

Yeah the only painpoint I have is that it's awkward to use async inside closures, otherwise, things are pretty smooth IMO.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Honest question: what is it that you dislike in async rust? I personally find it is pretty straightforward

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Yeah! There's specializations[1] to make this even simpler.

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

comment 3y ago · link · parent

Grep nixpkgs for `buildNpmPackage`, it's ridiculously easy to package a node app nowadays.

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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

comment 3y ago · link · parent

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)