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 ay önce·0 comments

Your Jailbroken iDevices may be able to run macOS natively

old.reddit.com
17 points·by nathan_phoenix·11 ay önce·1 comments

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

context7.com
2 points·by nathan_phoenix·geçen yıl·1 comments

[untitled]

1 points·by nathan_phoenix·geçen yıl·0 comments

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

4 points·by nathan_phoenix·geçen yıl·1 comments

ArkType: Ergonomic TS validator 100x faster than Zod

arktype.io
192 points·by nathan_phoenix·geçen yıl·71 comments

Killing in the Name of Privacy

mo8it.com
5 points·by nathan_phoenix·geçen yıl·0 comments

Working with Files Is Hard (2019)

danluu.com
203 points·by nathan_phoenix·geçen yıl·119 comments

[untitled]

1 points·by nathan_phoenix·geçen yıl·0 comments

DuckDB Node Neo Client

duckdb.org
4 points·by nathan_phoenix·2 yıl önce·0 comments

Ente Photo Storage – Reliability and Replication Architecture

ente.io
4 points·by nathan_phoenix·2 yıl önce·0 comments

TIL: Some surprising code execution sources in bash

yossarian.net
114 points·by nathan_phoenix·2 yıl önce·46 comments

Israel declares start of 'new phase' of war - Lebanon

theguardian.com
7 points·by nathan_phoenix·2 yıl önce·0 comments

Rust for Linux Revisited

drewdevault.com
5 points·by nathan_phoenix·2 yıl önce·0 comments

Squatting NPM for Remote Code Execution

alxndrsn.com
3 points·by nathan_phoenix·2 yıl önce·0 comments

Supreme Court overtrns Chevron impacting net neutrlity, right to repair and more

theverge.com
11 points·by nathan_phoenix·2 yıl önce·2 comments

How to Install Python on a Mac

freecodecamp.org
1 points·by nathan_phoenix·2 yıl önce·0 comments

The FTC has banned noncompete agreements

theverge.com
33 points·by nathan_phoenix·2 yıl önce·8 comments

Framework won't be just a laptop company anymore

theverge.com
18 points·by nathan_phoenix·2 yıl önce·10 comments

I ported thousands of apps to Windows 95 [video]

youtube.com
4 points·by nathan_phoenix·2 yıl önce·0 comments

comments

nathan_phoenix
·geçen yıl·discuss
You can, in fact, self host it.

https://help.ente.io/self-hosting/
nathan_phoenix
·geçen yıl·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 yıl önce·discuss
Literally the only comment with some on-topic useful info...
nathan_phoenix
·2 yıl önce·discuss
If you just want to view some places without giving location access, use this link: https://dev.explore.allmaps.org/
nathan_phoenix
·2 yıl önce·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
·2 yıl önce·discuss
Thanks! Very helpful for the uninitiated like myself.
nathan_phoenix
·2 yıl önce·discuss
> Think of it as a news article: write in decreasing levels of importance and increasing levels of detail, assuming the reader could stop reading at any point.

Great quote and life advice, will definitely steal this! Thanks!
nathan_phoenix
·2 yıl önce·discuss
I'm not sure why some call the authors choice of 1$ per install disingenuous. Wouldn't that be the averaged out profit per app when you combine paying and non paying users?

Like for each app which costs 5$ I'd expect that there's at least 5 non-paying users using the free version.

Update: Also, the revenue per app doesn't affect the 0.5$ per app install fee. Meaning, if the app is making less than 0.5$ per install, averaged over free + paying users, then one would just be loosing money...
nathan_phoenix
·2 yıl önce·discuss
Interesting to see how some people keep defending Apple as if it was their own company...

But if Unity tries to do the same then they revolt.
nathan_phoenix
·2 yıl önce·discuss
That was it, thanks for the suggestion!
nathan_phoenix
·2 yıl önce·discuss
Any pictures of how Zed actually looks? Searched their site and couldn't find any...
nathan_phoenix
·2 yıl önce·discuss
Debated if to click the link after reading the clickbait headline, but after playing around with it for a few mins seems actually quite decent!

Obviously missing some features compared to Notion, but surprisingly not that many, especially compared to the other Notion alternatives. And style wise seems quite polished.
nathan_phoenix
·2 yıl önce·discuss
For something which works across all JS runtimes (Deno, Node) and achieves basically the same, check out the popular JS library Execa[1]. Works like a charm!

Another alternative is the ZX shell[2] JS library. Tho haven't tested it.

[1]: https://github.com/sindresorhus/execa

[2]: https://github.com/google/zx
nathan_phoenix
·2 yıl önce·discuss
Still confused to be honest...

What does it mean that Earthstar will become a Willow protocol? Isn't it an implementation of Willow?
nathan_phoenix
·3 yıl önce·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 yıl önce·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 yıl önce·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 yıl önce·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 yıl önce·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 (: