HNHacker News
TopNewBestAskShowJobs

Ambroisie

122 karma · joined August 16, 2019

submissionscomments
Ambroisie··on Self-hosting my photos with Immich
I'll be honest, that does not sound "easy".

It is straightforward, but so is the NixOS module system, and I could describe writing a custom module the same way you described custom Docker images.

Ambroisie··on Git: Introduce Rust and announce it will become mandatory in the build system
I haven't double checked, but my recollection of that story was that they were using Git as part of the operations at runtime, not (just) as a development dependency.
Ambroisie··on %CPU utilization is a lie
Do you have a link to a more in-depth analysis of the queuing theory for these numbers?
Ambroisie··on Tesla said it didn't have key data in a fatal crash, then a hacker found it
I don't think you can equate CI/CD unit tests and killing humans with 2 tons of metal.
Ambroisie··on Dyson, techno-centric design and social consumption
I have to say, I don't see what makes it handle the criticism from the OP. It looks exactly the same as every other Dyson product I've ever seen.
Ambroisie··on Jane Street's sneaky retention tactic
I'm still in love with Caml from my time in prépa, one of the reasons I'm sometimes eyeing JS for a move.
Ambroisie··on A better merge workflow with Jujutsu
I think OOP meant to say that the `.envrc` file _is_ committed, but they want to do local changes _without_ the possibility of them getting accidentally committed by mistake.
Ambroisie··on New Beeper Android app – Open beta test
When looking at their bridge documentation for my own homeserver, I noticed that they do provide a way to self-host the bridges to be used with Beeper's homeserver as well.

See https://github.com/beeper/bridge-manager

Ambroisie··on AMD funded a drop-in CUDA implementation built on ROCm: It's now open-source
My thinking is that the dev _did_ work on it for X amount of time, but as part of their contract is not allowed to share the _actual_ history of the repo, thus the massive code dumped in their "Nobody expects the Red Team" commit?
Ambroisie··on OPML is underrated
Opening it in a new tab on FF on Android works fine on the first try.
Ambroisie··on Nesizm: NES emulator for Casio Prizm calculators
This looks like a worse version of the one I used, the TI nspire CX CAS, for about the same price.
Ambroisie··on Matrix 2.0: How we’re making Matrix go voom
I run my own self-hosted synapse (backend) and element (front-end).

It's been working flawlessly since I deployed it (about 2 years ago now).

Ambroisie··on The year of C++ successor languages
Can you explain what you mean, about unsafe friendliness in the standard library?
Ambroisie··on How much I’ve spent so far running my own Mastodon server on AWS
Can you elaborate on some of gotosocial odd choices?
Ambroisie··on Hard User Separation with NixOS
I think both specializations are in the same profile, which is a GC root.
Ambroisie··on Beginner's guide to error handling in Rust
As pointed out, the idiomatic way to do this is to use the try operator (`?`).

But to answer your question about copies : Rust is a move-only language, copies are actually called `.clone()`, except for a few types which are cheap enough to copy that they implement the `Copy` trait.

So in the code you quoted, the match is done on the value of `result` (notice that there is not borrowing/`&` operator). The match arm `Err(err)` moves `err` out of `result` and returns it. Obviously, the compiler will optimize away all those moves, it's as if they did not exist.

Ambroisie··on Geometric exercises in paper folding (1917)
You could just create an angle in the middle of the edge of the rectangle, so that each line of the angle goes to a corner on the opposite side.

Then use the trisection folds to divide that opposite side in three equally sized parts, and fold it up.

Ambroisie··on Crafting Interpreters: A Review
The only worthwhile version is the ML one though, see https://assignments.lrde.epita.fr/tools/modern_compiler_impl...
Ambroisie··on LineageOS 19
What's the problem with VoLTE?
Ambroisie··on The Hare programming language
Is there no RSS feed for the blog? I tried finding a link but failed to do so. Hopefully I am just blind.
Ambroisie··on The end of the nice GTK button
Could you share your style? I'd like to use it too.
Ambroisie··on PipeWire 0.3.46
How do you turn this off?
Ambroisie··on The Curse of NixOS
I remember reading about your project a previous time NixOS had been mentioned on HN, and tried to look for it again but couldn't manage to bring up the correct set of keywords to find it.

Thank you for posting it again. I don't think I'll go back to Arch unless I grow tired of NixOS, but if I do I'll be sure to give it a spin!

Ambroisie··on Clojure Macros and Metaprogramming
I'm surprised the `gensym` machinery is so "naive" as in it could actually be possible to craft a symbol that can refer to a `gensym`ed symbol.

I am not very familiar with other languages that implement (un)hygienic macros, is that a common problem in things like Scheme, Lisp, or even Rust, or do they all circumvent that issue with actually private/un-nameable symbols?

Ambroisie··on Implementing Hash Tables in C
It's its brothe (more accurately its inverse), usually written Phi with a bar on top. They both respect the golden ratio.
Ambroisie··on Apple execs describe a “unique arrangement” with Netflix (2018)
What's a "reader app"?
Ambroisie··on PipeWire: A server for Linux audio and video streams
I've had the previous version of those earphones for almost two years now, they've been working flawlessly. The only issue is the foam in-ear insert is getting old and less comfortable, but that's a cheap fix on Amazon (and not a problem with the plastic inserts).
Ambroisie··on Element raises $30M to boost Matrix
Spaces are a way to group channels together according to a topic : they are similar to Discord servers and groups of channels. You can add sub-spaces to further divide your channels, which is better than Discord's flat hierarchy.
Ambroisie··on Element raises $30M to boost Matrix
The addition of threads and custom emoji, along with getting spaces out of beta, might finally mean the migration of my friends from Slack and Discord.
Ambroisie··on Modern C++ for C Programmers (2018)
I do wonder what the int/size_t fiasco is about. If anybody has more context.
Page 1 of 2Next →