MurphyA/hacker-news huggingface dataset:
by akkartik | 2025-06-24 22:02:01+00:00
Hmm, I'm not familiar with web-ext. I'm not sure it existed 10 years ago, back when Firefox went through their Quantum transition.

Looks like web-ext came out in 2016: https://blog.mozilla.org/addons/2016/04/29/webextensions-in-.... My extension is at https://github.com/akkartik/spew, and it looks like there might have been a period of a year when I wasn't able to use it.

When software auto-updates and stops working, we consider that breakage. When software auto-updates and code I wrote stops working, we say "oh, it affects just 0.01% of users." For me, the inescapable lesson is to not write code for extension eco-systems, because they're all too immature for serious use. At least as of the year 2015.
by spit2wind | 2025-06-24 22:02:09+00:00
Not The DaVinci Code, but I recently tried reading "OCaml Programming: Correct + Efficient + Beautiful" through Gemini. The book is open, so I rightly assumed it was "in there". I read by saying "Give me the first paragraph of Chapter 6" and then something like "Next 3 paragraphs". If I had a question, I was able to ask it and get some more info and have something like a dialog.

As far as I could tell, the book didn't match what's posted online today. The text was somewhat consistent on a topic, yet poorly written and made references to sections that I don't think existed. No amount of prompting could locate them. I'm not convinced the material presented to me was actually the book, although it seemed consistent with the topic of the chapter.

I tried to ascertain when the book had been scraped, yet couldn't find a match in Archive.org or in the book's git repo.

Eventually I gave up and just continued reading the PDF.
by kgwxd | 2025-06-24 22:02:36+00:00
Never, because they won't shut up about them, because the goal is to exhaust everyone until they throw up their hands and just let them get their way. Stop fighting with words. Exclude them from every group, even if they're family. Don't hire them. Don't date them. Do every reasonable thing you can to prevent them from gaining control over anything or anyone. Do the same for anyone that even remotely defends their behavior. Find out they are the majority. Throw up your hands. Let them get their way. Await death.
by Lerc | 2025-06-24 22:03:16+00:00
>A good reality check is: if a stranger asks you about a specific part of your toy project, would you be able to explain it?

I like that as a benchmark. I think it also works with LLMs too. I have had best results with AI generation of code when I pass that check. When using a LLM, the chatbot is the stranger.

In fact much of the frustration I have with using AIs seems to be for models tuned to the situation where the user does not have the ability to explain it specifically and it has to make broad assumptions. This may be the best result for a lowest common denominator, but it's frustrating when it provides a generic solution to a specific problem.

I can see specialised models diverging to focus on different levels of assumed knowledge and expectations. Perhaps to have modes of thinking, maybe as a more tone based MOE. Is anyone doing mixture of finetunes?
by satvikpendem | 2025-06-24 22:03:41+00:00
I have some web/mobile apps and I'm currently using Adapty which has custom paywalls and other sorts of features, as well as web-based paywalls now that Apple lost their ruling against Epic Games (and I'm using Flutter but the UI side doesn't necessarily matter due to the web-based nature of the paywalls). Is this a use case you are targeting? Adapty also integrates with Stripe for the web side of its offerings.
by tasty_freeze | 2025-06-24 22:03:42+00:00
I used to work with a guy who was at apple in the 80s into the mid 90s doing ASIC and board design. One time he mentioned being pissed that with all the blood, sweat, and tears the hardware team put into the design and debug of the hardware system, the software guys would blow 50K of ROM (or whatever) image glorifying the team that designed the computer ... completely leaving out the hardware team.
by jkelleyrtp | 2025-06-24 22:03:43+00:00
Creator here - haven't had a chance to write up a blog post yet! Stay tuned.

The gist of it is that we intercept the Rust linking phase and then drive `rustc` manually. There's some diffing logic that compares assembly between compiles and then a linking phase where we patch symbols against the running process. Works across macOS, Windows, Linux, iOS, Android, and WASM. On my m4 I can get 130ms compile-patch times, quite wicked stuff.

We handle the hard parts that the traditional dylib-reloading doesn't including TLS, statics, constructors, etc.

I've been posting demos of it to our twitter page (yes twitter, sorry...)

- With bevy: https://x.com/dioxuslabs/status/1924762773734511035

- On iOS: https://x.com/dioxuslabs/status/1920184030173278608

- Frontend + backend (axum): https://x.com/dioxuslabs/status/1913353712552251860

- Ratatui (tui apps): https://x.com/dioxuslabs/status/1899539430173786505

Our unfinished release notes are here:

https://github.com/DioxusLabs/dioxus/releases/tag/v0.7.0-alp...

More details to come!
by RealityVoid | 2025-06-24 22:03:53+00:00
I feel you, I really do, I've been where you are, but I've seem metastatic automotive code bases that were non-Autosar that would make you tear your eyeballs out. So, trust me, there is _worse_ than Autosar. AUTOSAR is a pain to work with, but, at least, to their credit, once you configure the goddamn' modules they do work. You don't know how, because observability sucks. But the modules work.

I agree with your point about incremental improvements. And I agree that reducing useless options would improve the status quo.
by umanwizard | 2025-06-24 22:04:18+00:00
Imagine I launch an email client like Thunderbird from the shell. In a separate window I want to write a script that takes the currently displayed mail message in that client and runs "grep" on it. I can't do that, unless the authors of the email client have gone out of their way to expose an API that allows you to manipulate its state programmatically.

In emacs, you can do this, because your email client is a package written in Lisp and running in the globally shared context of the emacs interpreter, so you can directly query its state. And if you don't know the names of the variables to query, you can trivially jump into the source code and start figuring it out. Furthermore, there is a 99.9% chance the state is implemented using well-known emacs primitives like buffers, whereas for general programs launched from the shell there is no standard set of UI and text manipulation libraries.

There isn't functionality in bash to magically jump to the C++ source code of Thunderbird or read variables from its internal state, which is the key difference.
by nicoburns | 2025-06-24 22:04:27+00:00
> That's $32,500 of spending for each of the 40 million Americans who live "in poverty"

My understanding is that the amount of money spent on people in poverty isn't the problem. The problem is that it's spent so inefficiently due to an insistence from certain parts of the electorate on not making things "too easy" for such people. It would probably actually be cheaper to have european-style welfare state, provide housing for the homeless, etc.

See also: the US spending many times what other countries spend on healthcare without actually getting better care.
by JohnFen | 2025-06-24 22:04:28+00:00
> Songs are also getting longer. The top ten hits on Billboard actually increased twenty seconds in duration last year. Five top ten hits ran for more than five minutes.

Wanted to comment on this specifically, because I know something about this.

The "acceptable length" of song is interesting because it's always been cyclical. for instance, in the 1950's and 60s, 3 minutes was the outside hard limit of how long a song could be and be considered commercially viable (in other words, if your song was longer than that, it wouldn't get airplay because people would change the station they're listening to).

Then the tide shifted in the 70s, arguably marked by the surprise hit of Bohemian Rhapsody. That only got airplay in the first place because of a particular DJ who defiantly played it despite its length.

Then song lengths started growing and routinely got even longer -- a few very popular prog rock ones (such as Jethro Tull's Thick as a Brick) even lasting over 40 minutes.

But the cycle started reversing in the 80s. This appears to be a regular cycle, and if so, then we're due for songs getting longer again. TFA indicates that this may, indeed, be happening.

I think the cycle is because there are different benefits to long vs short songs. Short songs are low-commitment, easy to digest and move on with your day, perfect for radio and radio-like formats. Long songs allow for a deeper exploration of musical ideas, for the song to be able to take its time developing without rushing, to have increased complexity, can tell a more detailed story with a larger emotional arc, etc.

It's much like the difference between a short story and a novel.
by zzrrt | 2025-06-24 22:05:43+00:00
> Now there are thousands involved across an organisation… An Easter Egg highlighting just a few people just doesn't make sense

I don’t know if the message was edited, but GP addressed this with “Maybe… it shows me a few people at random who played a role in development.” Anyway, you could also show thousands of names/faces rapidly but still meaningfully, or let the user explore them slowly. Feels like the other responses are more accurate than it simply being about the quantity of people.
by LastTrain | 2025-06-24 22:05:57+00:00
Who knows, why should they feel obligated to supply any kind of rationale for their actions? [edit: /s]Here is the sum total of detail they have provided: “ All researchers must apply and present a researcher card, which may be obtained in Room 1000. This ensures that proper identification is on file for all individuals accessing the building to establish a legitimate business purpose. Abuse of any researcher registration to circumvent access by the general public may result in a trespass situation and a permanent ban from access to all NARA facilities.”
by tyrion | 2025-06-24 22:06:38+00:00
Some years ago I thought it would be interesting to develop a tool to make a python script automatically install its own dependencies (like uvx in the article), but without requiring any other external tool, except python itself, to be installed.

The downside is that there are a bunch of seemingly weird lines you have to paste at the begging of the script :D

If anyone is curios it's on pypi (pysolate).
by zahlman | 2025-06-24 22:06:43+00:00
They are not making a Python version.

There are many competing tools in the space, depending on how you define the project requirements.

Contrary to the implication of other replies, the lion's share of uv's speed advantage over Pip does not come from being written in Rust, from any of the evidence available to me. It comes from:

* bootstrapping Pip into the new environment, if you make a new environment and don't know that you don't actually have to bootstrap Pip into that environment (see https://zahlman.github.io/posts/2025/01/07/python-packaging-... for some hints; my upcoming post will be more direct about it - unfortunately I've been putting it off...)

* being designed up front to install cross-environment (if you want to do this with Pip, you'll eventually and with much frustration get a subtly broken installation using the old techniques; since 22.3 you can just use the `--python` flag, but this limits you to environments where the current Pip can run, and re-launches a new Pip process taking perhaps an additional 200ms - but this is still much better than bootstrapping another copy of Pip!)

* using heuristics when solving for dependencies (Pip's backtracking resolver is exhaustive, and proceeds quite stubbornly in order)

* having a smarter caching strategy (it stores uncompressed wheels in its cache and does most of the "installation" by hard-linking these into the new environment; Pip goes through a proxy that uses some opaque cache files to simulate re-doing the download, then unpacks the wheel again)

* not speculatively pre-loading a bunch of its own code that's unlikely to execute (Pip has large complex dependencies, like https://pypi.org/project/rich/, which it vendors without tree-shaking and ultimately imports almost all of, despite using only a tiny portion)

* having faster default behaviours; e.g. uv defaults to not pre-compiling installed packages to .pyc files (since Python will do this on the first import anyway) while Pip defaults to doing so

* not (necessarily) being weighed down by support for legacy behaviours (packaging worked radically differently when Pip first became publicly available)

* just generally being better architected

None of these changes require a change in programming language. (For example, if you use Python to make a hard link, you just use the standard library, which will then use code written in C to make a system call that was most likely also written in C.) Which is why I'm making https://github.com/zahlman/paper .
by caseyohara | 2025-06-24 22:06:57+00:00
> rather than cut and pasting stuff into your project, type it in by hand

This type of mechanical copying is probably very important for learning and staying familiar with what it is doing.

Just last night I had ChatGPT help me with some algebra and geometry for a hobby project I'm working on. I'm rusty and got stumped so I asked the bot to unblock me. It helpfully walked through the entire simplification / substitution / solving process step-by-step, which I manually copied down using pencil and paper. Following along like that, mechanically, really helped it click for me. I plan to do more of that.
by moffkalast | 2025-06-24 22:07:02+00:00
Nothing says capitalism quite like a corporation polluting the entire planet with something they knew caused disease, actively gaslighted everyone involved, transferred liability to a sacrificial entity so they got zero punishment for it, and the rest of us are left to buy water filters for the rest of history if we want clean water.

3M and Dupont deserve the death penalty for it and should've been dissolved completely for crimes against humanity.
by RealityVoid | 2025-06-24 22:07:31+00:00
Do you think they audit line by line every piece of SW in a safety critical ECU? Because if yes, I have a bridge to sell you. They do many many things to insure the SW works, but there are a bunch of corners in the SW very few people poke at.

And anyways, merely auditing I serious doubt would be effective. (LGTM, ship it!)
by dirkg | 2025-06-24 22:09:34+00:00
I've always liked powerlevel10k, or its equivalent tide for fish shell, which I much prefer over bash/zsh. Its fast, async, has everything you need, and is much easier to configure.

I've always wondered why someone doesn't just bundle a nice looking shell prompt with common nerd fonts and make it the default in a single package you can install.
by bonoboTP | 2025-06-24 22:10:07+00:00
I understand your sense of justice in cheering on David against Goliath. But the equation is not so clear. The common person is sometimes on this side, sometimes on that side. Copyright can also be weaponized by megacorps against normal people (copying Disney movie DVDs) and LLMs can also be in the hands of the decentralized public (llama ecosystem).

The house thing is a bit offtopic because to be considered for copyright, only its artistic, architectural expression matters. If you want to protect the ingenuity in the technical ways of how it's constructed, that's a patent law thing. It also muddies the water by bringing in aspects of the privacy of one's home by making us imagine paparazzi style photoshoots and sneaky X rays.

The thing is, houses can't be copied like bits and bytes. I would copy a car if I could. If you could copy a loaf of bread for free, it would be a moral imperative to do so, whatever the baker might think about it.

> fair compensation is based on the amount of work put in

This is the labor theory of value, but it has many known problems. For example that the amount of work put in can be disconnected from the amount of value it provides to someone. Pricing via supply/demand market forces have produced much better outcomes across the globe than any other type of allocation. Of course moderated by taxes and so on.

But overall the question is whether LLMs create value for the public. Does it foster prosperity of society? If yes, laws should be such that LLMs can digest more books rather than less. If LLMs are good, they should not be restricted to be trained on copyright-expired writings.
by WorldMaker | 2025-06-24 22:10:20+00:00
It's a good idea in theory if you can somehow force dividends to some long term vesting strategy to reward long term investors over short term investors.

It's a bad idea in historic practice, given the very origin of the turned out to be awful, something of the root of much short-term-ism and "activist investors" in the first place, "fiduciary duty to the shareholders" phrase was the awful Ford v. Dodge Brothers case where the Dodge Brothers were some of the earliest investors in Ford (as partners and parts dealers for Ford) and went to court to argue that record profits in a particular quarter should not be invested in long-term capital investment (a large new plant) and R&D as Ford was planning to do, but presented as a windfall of a large dividend to shareholders instead. The court agreed with the Dodge Brothers for, er, dodgy reasons, and the clear conflict-of-interest motive from hindsight of the Dodge Brothers "activist investing" in that moment was to notoriously use said dividend windfall to expand their efforts as a Ford competitor (produce more Dodge cars, if you haven't guessed) from Ford's own profits.

It's not a single court case that gets us to where we are today with short-term thinking in Wall Street, but that's such a weird foundational one.
by nh2 | 2025-06-24 22:11:17+00:00
With or without starship, one problem I have with zsh prompts is that when I press Enter, there is still a visible delay where for a fraction of a second, the cursor moves to the beginning of the next line.

This makes a nasty "flashing" effect.

If I keep Enter pressed, the cursor is permanently visible at offset 0 in the lowest line.

If the prompt is ultra-fast (e.g. plain root shell prompt on zsh), it happens less (e.g. only 50% of cases), but as soon as the prompt does anything, it's very visible.

I observe this with many terminals (gnome-terminal, wezterm, kitty, alacritty, xterm).

The only terminal I tried that doesn't have this problem is urxvt, where it looks perfect.

Video repro: https://nh2.me/flashing-cursors-on-newline.mp4

Why, and is there a way around it for those other terminals?
by zesterer | 2025-06-24 22:12:39+00:00
(I'm the post author) Actually, I would recommend that you don't ask an expert friend for help. If you get really stuck then maybe do some light reading about the topic: but the point is to throw lots of things at the wall and puzzle your way through it. Figuring things out from first principles is fun and also provides you with a litany of creative thinking skills to help you tackle other problems. I firmly believe that spending time confused is an essential ingredient in the process.

Obviously, you're welcome to do as you please though, mileage may vary, etc.
by bamboozled | 2025-06-24 22:13:24+00:00
How would these things be competitive with drones on the battlefield? They probably cost the equivalent of 1000 autonomous drones and 100x the time and materials to make, way more power would be required to make them work too.

Terminator is a good movie but in reality, a cheap autonomous drone would mess one of those up pretty good.

I've seen some of the footage from Ukraine, drones are deadly, efficient, they are terrifying on the battlefield. Even though those robots will get crazy maneuverable, it's going to be pretty hard to out run an exploding drone.

Maybe the Terminators will have shotguns, but I could imagine 5 drones per terminator being a pretty easy to achieve considering they will be built by other autonomous robots.
by hn_throwaway_99 | 2025-06-24 22:14:54+00:00
But I don't want them to look like shit.

When I have gen AI create a starting point for the CSS for me, I still go over every line, and I always have to do a bunch of fixes and edits to get this to look how I want. Frankly, dicking around with the esotera of CSS is something I absolutely don't want to do and don't care about - it's really just reminding me of syntax that I forget because I don't do it often enough. This is also why I find gen AI invaluable for shell scripting. Hunting through reams of man pages doesn't make me learn any faster than just looking at the specific arg flags gen AI outputs (and potentially asking AI more about the details of that command). I just don't do enough shell scripting to really remember the command/arg specifics long term for things I don't commonly do.
by DangitBobby | 2025-06-24 22:15:26+00:00
Your AC argument is weak. The south was quite miserable before AC. And we don't know anything about relative obesity back in the day between the South now, AFAIK. You can argue that not exercising is a choice, but either they consistently make that choice because are inherently lazy compared to others (dubious), it's all down to diet (possible) or because there actually is something different about physical activity in the South. I think extreme temps negatively impacting desire to exercise is an interesting theory. I know it's trivial to dress well for outdoor activities down to 40 degrees and quite manageable down to 30. 90+ on the other hand is not manageable, even in low humidity. So your comparison between hot and cold is a false equivalence.

Also the gym fucking sucks so I don't know why we are pretending it's a viable replacement for liveable climate. I don't go to the gym, but I ride my bike. I even ride it in extreme heat, like yesterday the heat index was over 100. Still won't catch me wasting my life doing boring exercise I hate in a gym.
by rchaud | 2025-06-24 22:15:34+00:00
"I did not pay $1000+ to be advertised to" says one of the tweets.

It doesn't matter what you paid. The whole point of a software "ecosystem" is to drop the user into a food chain, with "shareholder value" as the apex predator. Paying more doesn't buy you better protection. Channeling your purchases through their payments system just makes you a fatter target.
by vel0city | 2025-06-24 22:15:55+00:00
I put your exact prompt into Copilot and it gave me the command

ffmpeg -i movie.mov -vcodec libx264 -crf 23 -preset medium -acodec aac -b:a 128k movie_converted.mp4

Along with a pretty detailed and decently sounding reasoning as to why it picked these options.
by bitsage | 2025-06-24 22:16:14+00:00
Are people really going to pick and choose which unsubstantiated reports[1] to believe instead of just waiting for actual proof? The narrative has shifted with breakneck speed from “WW3” to “it was pointless anyways”.

1. https://www.timesofisrael.com/liveblog_entry/israeli-intel-a...
by lxgr | 2025-06-24 22:16:24+00:00
> synced passkeys are just fancy login/password pairs, so they can be exfiltrated by an attacker. E.g. by scanning the RAM of the passkey manager.

That’s an overly reductionist view.

Lots of password compromises still happen due to credential reuse across services, server-side compromises paired with brute-force-able passwords, and phishing/MITM attacks, and software-based WebAuthN credentials prevent all of these.
by bonoboTP | 2025-06-24 22:16:36+00:00
Transformed summaries are generally fair use already (or perhaps not even an issue of copyright). You can read plot summaries of novels and movies on Wikipedia, same with technical topics. The ideas are not protected by copyright, the artistic expression is. Certain technical ideas can be protected via patents. But even then, not the description of idea, but putting it into practice. Ideas that you're not supposed to re-summarize in your own words at all are things like trade secrets or classified information.