Recent submissions

Comment · 3 years ago
>Rather, it only checks for method names and where-clauses such as T: Trait. Types are only resolved in the confirm phase, at which point rustc would have already picked its method.

Not following here, the compiler iterates over the deref-chain and acquires a list of method names, but it also "checks for ... where-clauses", what does that mean? A quick look at the linked probe code indicates what we filter on Self traits and return value traits.

Comment · 3 years ago
>I see words like “flakes” and “derivations,” and I currently don’t know what they mean.

>So far, I don’t get how it’s deterministic.

To make nix deterministic you can specify a hash in non-flakes (or a git rev) for your dependencies, but flakes make this easier. When you "run" a flake (be it nix build, nix shell, nix develop), nix pulls the latest (if no explicit rev given in the flake.nix already) version of whatever is specified in flake.nix that it can find, and creates a `flake.lock` file that specifies the exact version that was used. This file is very similar to cargo's Cargo.lock, and specifies the exact version that was captured by ref/hash. The next time nix is "run", it uses the lock file to get the exact same version as it had previously.

One can develop a flake.nix locally, install, check if everything works, and alternatively change the refs in the lock file to make everything work. When this is done you can move the nix and lock file to another machine and get the same exact build there (with the exception of architecture differences).

Because you can put flake.nix and flake.lock inside of git, you can also share the exact same dependencies with other people using a repository. Whenever I see a repository using these I know that building will be a breeze because I don't have to do any dependency hunting.

Comment · 3 years ago
I think he means that employees/contributors exist on both the Russian and Ukrainian side.
Comment · 3 years ago
Comment · 7 years ago
Based and redpilled.
Comment · 7 years ago
Perhaps it's the same advantage of living in a society like ants or humans. By keeping each other alive we stand stronger against other forces of nature and/or other species of trees or plants.
Comment · 7 years ago
Been using it since a few months, mainly because it can stop autoplaying all audio/video and no login nagging.
Comment · 7 years ago
Moderators, I'm attempting to flag this post, but I do not see the flag on this post's page.
Comment · 7 years ago
Which European countries?
Comment · 7 years ago
That's equally as bad for the consumer.
Comment · 7 years ago
For all my searches so far, ripgrep is about 30-100x faster. Perhaps you're on some hardware which ripgrep isn't well suited for.
Comment · 7 years ago
Have they removed that repo yet that sends base64 IMEI, SIMID,... to zzhc.vnet.cn?
Comment · 7 years ago
>I have not yet seen a compelling argument for Racket there vs. for instance a parser generator framework.

Racket allows for easy interop between the various languages, so for instance, you can use typed racket from untyped modules. You can import documentation modules in base racket and so on.

With other languages, you have to glue the infrastructure yourself, racket does it for you.

Comment · 7 years ago
Thank you very much.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton