HN user

nathan_phoenix

1,908 karma
Posts127
Comments88
View on HN
labs.quansight.org 10mo ago

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

nathan_phoenix
3pts0
old.reddit.com 11mo ago

Your Jailbroken iDevices may be able to run macOS natively

nathan_phoenix
17pts1
context7.com 1y ago

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

nathan_phoenix
2pts1
news.ycombinator.com 1y ago

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

nathan_phoenix
4pts1
arktype.io 1y ago

ArkType: Ergonomic TS validator 100x faster than Zod

nathan_phoenix
192pts71
mo8it.com 1y ago

Killing in the Name of Privacy

nathan_phoenix
5pts0
danluu.com 1y ago

Working with Files Is Hard (2019)

nathan_phoenix
203pts119
duckdb.org 1y ago

DuckDB Node Neo Client

nathan_phoenix
4pts0
ente.io 1y ago

Ente Photo Storage – Reliability and Replication Architecture

nathan_phoenix
4pts0
yossarian.net 1y ago

TIL: Some surprising code execution sources in bash

nathan_phoenix
114pts46
www.theguardian.com 1y ago

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

nathan_phoenix
7pts0
drewdevault.com 1y ago

Rust for Linux Revisited

nathan_phoenix
5pts0
www.alxndrsn.com 1y ago

Squatting NPM for Remote Code Execution

nathan_phoenix
3pts0
www.theverge.com 2y ago

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

nathan_phoenix
11pts2
www.freecodecamp.org 2y ago

How to Install Python on a Mac

nathan_phoenix
1pts0
www.theverge.com 2y ago

The FTC has banned noncompete agreements

nathan_phoenix
33pts8
www.theverge.com 2y ago

Framework won't be just a laptop company anymore

nathan_phoenix
18pts10
www.youtube.com 2y ago

I ported thousands of apps to Windows 95 [video]

nathan_phoenix
4pts0
github.com 2y ago

Backport of .NET 2.0 – 3.5 to Windows 9x

nathan_phoenix
5pts0
www.bloomberg.com 2y ago

Apple Set to Be Quizzed by EU over 'Fortnite' Maker Shutout

nathan_phoenix
3pts2
www.wired.com 2y ago

Amazon Just Got Banned from the EU Parliament

nathan_phoenix
8pts6
www.codeweavers.com 2y ago

CrossOver 24 with Wine 9 in record time

nathan_phoenix
2pts0
thenewstack.io 2y ago

Igalia: The Open Source Powerhouse You've Never Heard Of

nathan_phoenix
2pts0
techcrunch.com 2y ago

Mozilla's new service removes your personal info from data brokers

nathan_phoenix
22pts7
www.bruegel.org 2y ago

Which platforms will be caught by the EU's Digital Markets Act?

nathan_phoenix
1pts0
www.bloomberg.com 2y ago

Chinese AR Glasses Maker Raises $60M to Compete with Apple

nathan_phoenix
2pts0
www.theverge.com 2y ago

Apple won't give up control of the iPhone

nathan_phoenix
5pts0
www.phoronix.com 2y ago

Ubuntu 24.04 LTS Will Aim to Ship with the Linux 6.8 Kernel

nathan_phoenix
28pts4
www.macrumors.com 2y ago

Mozilla Is 'Extremely Disappointed' with Apple's EU Browser Engine Change

nathan_phoenix
5pts0
twitter.com 2y ago

Epic Games CEO Likens Apple's Core Tech Fee to Unity's Disastrous Runtime Fee

nathan_phoenix
66pts48

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.

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!

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

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.

Willow Protocol 3 years ago

Still confused to be honest...

What does it mean that Earthstar will become a Willow protocol? Isn't it an implementation of Willow?

You can if you are just executing a static python script never changes.

But if you want to call some python functions with your TS input then you would need to serialize the TS input, pass it as an arg to the script, there deserialize it and then call the python function with the input. And if you wanted to call multiple python functions then your first arg to the python script would need to be the name of the function, only then the serialized data. Plus you would need to implement a switch case on the python side to execute the right function.

This assumes that you use your computer and browser regularly.

There's nobody to yell at you if you don't use your computer... (which my older relatives don't, they just use it once every few months for some gov sites and such, as for me, I don't use Chrome except when a website says "sorry works only on Chrome" which doesn't happen that often thankfully).

And herewith lies the core of the issue, the browser just refuses to auto update if not updated in a while and tells you to re-install it.

I usually don't use Chrome so it's perma closed and see this behavior only after not opening Chrome for some time (around two (?) months or more). Then when I do opened it, after some time (guess checking for updates in background) it shows the update button in red which just links to re-download Chrome.

Furthermore, sometimes I just ignore the warning and keep using the old version and even after closing/reopening it again it still says the same, so, no, I wouldn't say that this is the issue.

Expected a huge list and there's only 3 items there, and one of them, JPEG XL, is kinda moot because it didn't seem viable until recently after Safari started supporting it...

Feel that the list could have had much more substance with the addition of webUSB, webSerial and such features which Chrome just strong armed.

In the current form the list and toot don't really drive the point home...

Support the idea of limiting addictive apps/websites for minors, but think that China's implementation of government overreach and bio-authenticating for every online service is way too privacy invasive. Tho not sure how one could solve it in a privacy respecting way... Maybe just have a short workshop for parents about how to setup parental control once their kid gets enrolled into primary school?

Anyone smarter got any ideas?

Would wouldn't it be harder for the government to shut down your government provided email than for some corporation? Analogously to turning off someone's water or electricity, the gov would need a really good reason which can stand in court. Unlike Google which can shut down your account at any point because their automated system detected "suspicious activity".

Never thought of it that way, that by having the service being provided by the gov more restrictions apply to it being monetized and therefore being in a way better privacy wise. Like what you said, not being able to sell activity data. Interesting angle.

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.

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?

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