HackerTrans
TopNewTrendsCommentsPastAskShowJobs

nathan_phoenix

no profile record

Submissions

Unlocking Performance in Python's Free-Threaded Future: GC Optimizations

labs.quansight.org
3 points·by nathan_phoenix·10 mesi fa·0 comments

Your Jailbroken iDevices may be able to run macOS natively

old.reddit.com
17 points·by nathan_phoenix·11 mesi fa·1 comments

Documentation as single-txt-file for LLMs and AI code editors

context7.com
2 points·by nathan_phoenix·anno scorso·1 comments

[untitled]

1 points·by nathan_phoenix·anno scorso·0 comments

Restrictions on Our Freedom to Study Software: Train Manufacturer vs. "Hackers"

4 points·by nathan_phoenix·anno scorso·1 comments

ArkType: Ergonomic TS validator 100x faster than Zod

arktype.io
192 points·by nathan_phoenix·anno scorso·71 comments

Killing in the Name of Privacy

mo8it.com
5 points·by nathan_phoenix·anno scorso·0 comments

Working with Files Is Hard (2019)

danluu.com
203 points·by nathan_phoenix·anno scorso·119 comments

[untitled]

1 points·by nathan_phoenix·anno scorso·0 comments

DuckDB Node Neo Client

duckdb.org
4 points·by nathan_phoenix·2 anni fa·0 comments

Ente Photo Storage – Reliability and Replication Architecture

ente.io
4 points·by nathan_phoenix·2 anni fa·0 comments

TIL: Some surprising code execution sources in bash

yossarian.net
114 points·by nathan_phoenix·2 anni fa·46 comments

comments

nathan_phoenix
·anno scorso·discuss
You can, in fact, self host it.

https://help.ente.io/self-hosting/
nathan_phoenix
·anno scorso·discuss
My biggest gripe is that he's comparing probabilistic models (LLMs) by a single sample.

You wouldn't compare different random number generators by taking one sample from each and then concluding that generator 5 generates the highest numbers...

Would be nicer to run the comparison with 10 images (or more) for each LLM and then average.
nathan_phoenix
·2 anni fa·discuss
Literally the only comment with some on-topic useful info...
nathan_phoenix
·2 anni fa·discuss
If you just want to view some places without giving location access, use this link: https://dev.explore.allmaps.org/
nathan_phoenix
·2 anni fa·discuss
You need to allow location access, then it displays the map for your current location.

If you just want to view some places without giving location access, use this link: https://dev.explore.allmaps.org/
nathan_phoenix
·3 anni fa·discuss
Looking forward to that for completeness sake!

Btw, regarding a bit older pre-Flakes commits, at least some packages will error out while nix-installing on M1 (or newer) macbooks because at that point nix packages didn't anticipate macbooks ever ditching x86 for aarch... Hope this info helps you out, at least took me some time to realize that the random obscure error was caused by this. Can be almost always fixed by appending "--system darwin-x86_64" to the nix command to use Apple's Rosetta binary translation, cheers.
nathan_phoenix
·3 anni fa·discuss
Oh, didn't know, thanks for the explanation! Does seem like an interesting concept, will check out Speck more in-depth.
nathan_phoenix
·3 anni fa·discuss
Thanks for the answer! Looking forward to the followup post :D

And yeah, nix naming conventions are sometimes a mess. Your approach does seem much nicer.

Last question if you have a bit more time. How come that you don't have every version of a package available? Is it because you only parse the Hydra stable 23 builds (which I guess aren't updated on every version) or because you parse them only periodically like Lazamar's Nix Package Versions?
nathan_phoenix
·3 anni fa·discuss
> yet if I understand correctly, it often has one version per package per Nix version?

Both yeah and no. Taking the example of nodejs, you have all the supported major releases like nodejs_16, nodejs_18, etc. for each Nix revision[1], but within each revision you only have a specific version of the package. E.g. nodejs_16 is 16.3.1 for revision at date X. There are benefits and drawbacks of managing a package repo like that, with revisions which implicitely pin all packages and it's dependencies at once, but it's too long of a topic to write about here.

> For example the curl package [1] has tons of versions [...]

So does it in nix (curlMinimal, curlWithGnuTls, curlHTTP3, etc)[2]. In that regard nix and Spack are similar.

[1]: A revision is like a shapshot of all the packages at a given point in time.

[2]: https://search.nixos.org/packages?channel=23.05&from=0&size=...
nathan_phoenix
·3 anni fa·discuss
First off, amazing tool and thanks for doing the nix community a favor!

If you could expand more on the architecture of the tool I'd be very curious! Like what goes all on from parsing Hydra builds to getting a useful package versions DB and what were the challenges while building it? Also, how are you merging all the nodejs packages (nodejs_20, nodejs_18, ...) into one “nodejs”?

I'm also in the process of building something very similar (didn't know the idea was that popular haha), but I'm not parsing Hydra builds but the output from `nix-env -qa --json` to get all the package versions and it's proving more involved than I anticipated (: