MurphyA/hacker-news huggingface dataset:
by codedokode | 2025-10-20 21:19:54+00:00
I know about different data structures but they are all more complicated than mutable data structures. For example, if you "store only changes", it will take more time to access the data, and you need to flatten your changes once in a while.

Also, for nested data structures you need to either do path copying, or use "modification boxes" [1].

[1] https://en.wikipedia.org/wiki/Persistent_data_structure#Tech...
by YZF | 2025-10-20 21:20:37+00:00
Similar story. One of my new hobbies from Covid. Also maybe too damn old ;) Ben Finegold was my YouTube teacher for the most part. I'm still improving (a bit higher than you) and sometimes questioning my sanity of having spent so many hours playing chess online. It's an addiction ;)

Danya seemed like a great person. Someone you'd want to hang out with. A great chess player for sure. I heard the news earlier and was filled with sadness. Such a loss.
by glenstein | 2025-10-20 21:20:54+00:00
Having worked for a non-profit many years ago as an office monkey who, among other things, took notes on finance committee meetings, it's typical to have some operating reserves that you can measure in terms of how many months or years of your operating expenses they could cover. This is a common financial stress test used to assess the financial health of organizations. Given Mozilla's singular dependence on Google search and pressure to diversify income streams, it's their firewall in case of emergency. And frankly the simple return on investment from their endowment year to year is one of the strongest non-Google revenue streams at their disposal right now.

If armageddon came and they no longer had their search revenue, they could cover 2 years of their operational costs. Many organizations have endowments that cover them for anywhere from 5 to 20 years. What I understand off the top of my head is that their major spending categories are software development, "operations" which is largely infrastructure to support that development, legal, and marketing.

I could see the case for not spending so much on marketing, but it would be organizational suicide to deficit spend away their endowment, their one firewall against existential threats, on "engineering" without a credible road map to long-term sustainable income that's better than what they're already doing. In fact if you catch the HN comment section on the right say, such behavior would probably be pointed to as yet another example of wasting money on unfocused side bets, because at the end of the day the mob truly can't decide what it wants.

And who knows maybe this "spend it all down on engineering + ??? + profit" plan could work, but that would be extremely risky and would hinge on the details of a plan. But I don't feel like I'm hearing a plan so much as vibes. I would actually turn the tables on this whole entire interpretation and say what they spend relative to their market share, they're actually punching above their weight compared to Google, and that this criticism of "hoarding" is not grounded in financial literacy.
by ibejoeb | 2025-10-20 21:21:24+00:00
off topic, sorry: Looking at the docs and I don't find a quick answer. I really want an API client that will do OAuth and handle token refresh, and I haven't found one. The use case is that (obviously) I control the redirect URI, so I'd like to map it back to client (some kind of proxy that I run and make external with all of the requisite DNS and TLS) or maybe via a hosted service (which I'm willing to accept for the convenience.)

I haven't used postman or insomnia in a while since they went to the cloud, so I could just be missing it, but that's also a non-starter for me.
by thedanperry | 2025-10-20 21:21:41+00:00
Hey everybody, just sharing an app designed for activists, organizers, and folks who oppose fascism. It has real-time emergency alerts, democracy health tracking, community messaging and user alerts to monitor threats in your area.

If you're involved in any kind of resistance work or just want to stay better connected with what's happening around you, it might be worth checking out:

https://apps.apple.com/us/app/libertyguard/id6753902370?plat...

It's built with privacy in mind (encrypted, no data collection) and is free to download with most functions available on the free version.

Stay safe out there!
by nawgz | 2025-10-20 21:22:18+00:00
Well, for anyone using Vue you get automatic observability baked in, right? And reactive programming state management libraries within react are plenty popular, not to mention the built in state management being quite literally UI = f(state).

The fact people use the tortured disaster that is redux isn’t really a knock on react in any sane person’s view, we all know the JS community is full of beginners who don’t know better
by davidw | 2025-10-20 21:22:20+00:00
The current iteration of Silicon Valley is just sad to see. I remember the sort of techno-libertarianism from the 90ies, and... while I didn't always agree, it seemed at least kind of idealistic. Also unrealistic, but it didn't seem to come from a place of cruelty or a thirst for power. Quite the contrary, they didn't seem very good at getting the government on their side back then.

Now they have money and power and use both in pretty obscene ways, like starving children in Africa to death by yanking the aid that was keeping them alive away.

It almost feels crazy to write that, like... it can't be real or there must be some nuance, but that is exactly what gutting USAID did.

I want my nerdy hacker people back, working on stuff that makes the world better through the use of technology.
by kazinator | 2025-10-20 21:22:40+00:00
> Well, since thread cancellation is implemented using exceptions, and thread cancellation can happen in arbitrary places

No, thread cancelation cannot happen in arbitrary places. Or doesn't have to.

There are two kinds of cancelation: asynchronous and deferred.

POSIX provides an API to configure this for a thread, dynamically: pthread_setcanceltype.

Furthermore, cancelation can be enabled and disabled also.

int pthread_setcancelstate(int state, int *oldstate); // PTHREAD_CANCEL_ENABLE, PTHREAD_CANCEL_DISABLE int pthread_setcanceltype(int type, int *oldtype); // PTHREAD_CANCEL_DEFERRED, PTHREAD_CANCEL_ASYNCHRONOUS

Needless to say, a thread would only turn on asynchronous cancelation over some code where it is safe to do so, where it won't be caught in the middle of allocating resources, or manipulating data structures that will be in a bad state, and such.
by rhetocj23 | 2025-10-20 21:22:40+00:00
"Furthermore, they will contest, there is no “magic”. As Sam Altman, chief executive of OpenAI, posted on X in 2023, “Everything ‘creative’ is a remix of things that happened in the past, plus epsilon and times the quality of the feedback loop and the number of iterations”"

Wow first time Ive read this. The hubris of Silicon Valley couldnt come crash down any sooner.
by bgirard | 2025-10-20 21:22:44+00:00
> The person in front of me bought two items and saw she got charged for three. Since there were no paper receipts, she took a photo of the machine before going to the guest services to complain. I missed ten minutes of the game getting water.

I wish payment processors / consumer protection would have a significant penalty for sloppy overcharges. I've had to deal with sloppy overcharges like this (one for over $1,000) and you lose a lot of time and the outcome is just 'oppsies, my bad'. There's very little repercussion for sloppy overcharges so it's easy for them to perpetuate.
by TheAlchemist | 2025-10-20 21:22:47+00:00
Fascinating situation.

Tesla is at most worth 1/10 of it's current valuation. Given its huge legal liabilities ahead from selling 'self-driving cars' for the past 10 years, it's probably closer to 0.

The crazy valuation is 100% dependent on Musk staying.

Musk net worth is very much dependent on Tesla too - if Tesla crashes, so does his fortune (yes, SpaceX is valued at a crazy number too, but it's not liquid and doesn't bring any real cashflow, at least not yet. And he used Tesla shares as collateral worth billions).

Tesla board member are all Musk buddies and have 0 agency.

Telsa shareholders know perfectly well that the stock tanks if he's gone.

Yeah, in short - everybody knows it doesn't make any sense anymore, including Musk and Tesla, but they have to keep the ball rolling, because they are all in it together. Every involved party looses money if he quits. If he stays they can get some more years of dumping their stock on naive 'investors' that are getting duped by the massive propaganda operation run on Twitter.

PS. Robotaxi will serve 50% of US population before the end of the year according to Tesla & Musk /s
by atleastoptimal | 2025-10-20 21:22:50+00:00
Common sense thinking wins again. The entire genesis of an allergy is your body treats a benign particle as a pathogen due to not recognizing it. The #1 way to precipitate this is to keep the body from ever encountering this particle until well beyond its initial phases of immune development.

Are there other modern conditions born from the same "zero-tolerance prevention leads to unintended consequences due to failing to provide the body a robust means to develop"?
by ghaff | 2025-10-20 21:22:57+00:00
American football is probably pretty straightforward at a very basic level. (And very complex as you dig deeper--coverages, penalties though even the refs seemingly don't understand them a lot of the time, man in motion rules. A lot it's simplified because at any serious level, players do their thing and don't violate most a the less straightforward points that much. I think rugby is pretty similar.

As someone who reffed it at a very casual level, ice hockey seems simpler overall.

Baseball--I don't know but then I grew up with it. You pitch the ball, you hit the ball, you get the ball into play (or not), you run around the bases. Again, lots of subtle points. To actually answer your question, I assume so. But I don't have one myself.
by F3nd0 | 2025-10-20 21:23:36+00:00
‘Pushover’ is another term for ‘permissive’. It emphasises the fact that, unlike copyleft licences, pushover licences don’t make an attempt to protect the freedoms they grant their users. In other words, they allow anyone to make and distribute derivative works without preserving any of the freedoms which came with the original work.

As far as I can see, for an author of derivative work, permissive licences are only really preferable when you either can’t or don’t want to grant or preserve the freedoms which a copyleft licence would require you to grant and preserve. (Which, to be fair, may often be the case.) From a different point of view, copyleft can be seen as better for embedding, since it means that Free Software in question will only be used to make more Free Software.

The MPL is a copyleft licence, but it’s known as a ‘weak copyleft’ licence. That means it preserves only the freedom of the program it initially covers; any changes made directly to that program can only be distributed as Free Software, but the program itself may be used and distributed as part of a larger work, which as a whole does not have to be Free. (This is in contrast to ‘strong copyleft’ licences like the GPL, which require the entire larger work to be Free.)

Weak copyleft is a kind of compromise which lets you e.g. embed a piece of software without having to grant all your users freedom to use, share and modify your entire work, but you're still required to grant them those freedoms in regard to the piece you’re embedding.
by bonoboTP | 2025-10-20 21:23:40+00:00
It feels like it would make more sense to allow the model to do Levenshtein-like edits instead of just masking and filling in the masked tokens. It seems that intuitively it's really hard in this diffusion setup to just swap one word with a longer but better synonym towards the end, because there's no way to shift everything to the right afterwards.
by ufmace | 2025-10-20 21:23:51+00:00
No, it's 100% appropriate. Anyone can have opinions on anything, but frankly, most of them have little relevance to reality. Their use of the word "expert" is supposed to mean the person has knowledge or expertise that renders their opinion on a subject substantially more valid and relevant than any regular person. That clearly is not the case here. If I wanted to know what a random person on the street thought about a subject, I could go ask one myself. The purpose of news organizations was supposed to be to better-inform people by getting opinions from actual relevant experts in a subject.

These people don't seem to have much ability to discuss relevant subjects like what the actual reliability of lower-tier hosting providers is, the value-add to business and iteration speed of having a variety of extra services (SQS, DynamoDB, VPC, RDS, managed K8s, etc) available, etc.
by CGMthrowaway | 2025-10-20 21:24:46+00:00
>Right wing populists have an easy time getting elected and left-wing populists don’t, at least not in the core.

Really, did you mean in the USA?

- Hugo Chavez, 1999 until his death

- Lula, 2003-2011 and again in 2023 after spending 2 years of a 12 year sentence in jail (!)

- Ortega, 1985-1990 and 2007-present

- Kirchner, 2007-present
by Rudybega | 2025-10-20 21:25:02+00:00
This is actively being worked on my pretty much every major provider. It was the subject of that recent OpenAI paper on hallucinations. It's mostly caused by benchmarks that reward correct answers, but don't penalize bad answers more than simply not answering.

E.g.

Most current benchmarks have a scoring scheme of

1 - Correct Answer 0 - No answer or incorrect answer

But what they need is something more like

1 - Correct Answer 0.25 - No answer 0 - Incorrect answer

You need benchmarks (particularly those used in training) to incentivize the models to acknowledge when they're uncertain.
by AndriyKunitsyn | 2025-10-20 21:25:14+00:00
I have never been a big enterprise integrator, and I thought exactly like this.

Then in 2024 the CrowdStrike BSOD screw up happened, and I was surprised to learn that no, not everything is airgapped. Apparently, businesses are okay with untrusted, unvetted, self-updating pieces of code that run in kernel mode.
by S04dKHzrKT | 2025-10-20 21:25:37+00:00
Depending on your usage, you may not need a separate app. Jetbrains[0], Visual Studio[1] and VSCode[2] have support for http files.

[0]: https://www.jetbrains.com/help/idea/http-client-in-product-c...

[1]: https://learn.microsoft.com/en-us/aspnet/core/test/http-file...

[2]: https://marketplace.visualstudio.com/items?itemName=humao.re...
by username223 | 2025-10-20 21:25:38+00:00
Do you have a practical sense of the level of mischief possible in the sandbox? It seems like a game of regexp whack-a-mole to me, which seems like a predictable recipe for decades of security problems. Allow- and deny-lists for files and domains seem about as secure as backslash-escaping user input before passing it to the shell.
Show HN: A Fast JSON Formatter
by helloanoop | 2025-10-20 21:26:14+00:00
I built a small library over the weekend: fast-json-format

In Bruno we have an issue where when displaying response, bigints get truncated as JSON stringify does not support bigints.

fast-json-format is a lightweight JSON formatter that pretty-prints without losing data or precision. It preserves BigInt, decimal formatting, and handles malformed input more gracefully.
by lotsofpulp | 2025-10-20 21:26:34+00:00
Am I seriously being asked to source that animal feces can cause disease?

https://www.cdc.gov/toxoplasmosis/about/index.html

>Animal to human transmission: accidentally consuming the parasite through contact with cat feces (poop) or contaminated soil that contains Toxoplasma

https://www.ewg.org/news-insights/news/2024/01/e-coli-factor...

https://www.cdc.gov/toxocariasis/about/index.html

>Toxocariasis can spread to people through contact with the feces (poop) of dogs and cats with roundworm. Roundworm eggs are carried in animal feces and can get into peoples' mouths through contaminated dirt or unwashed hands.

There's a million other avenues if you search "disease from animal feces"
by w10-1 | 2025-10-20 21:26:35+00:00
> it's largely locked in the apple walled garden with tokens given to the outside

So, the compiler, stdlib and runtime, core libraries, build system ... not enough? What else would you want?

I feel the problem is not what's in open source, but that the open-source community cannot really form, since no outsider can significantly change what the Apple contributors decide. Some of the peripheral projects have relatively free rein, but they can't compete e.g., with server libraries elsewhere.

Also, the Apple people have to track what Apple needs, so they'll put out stuff per schedule that works for them but falls apart on untested code paths. And they don't really deprecate stuff, so you end up with multiple ways to do the same thing. And there seems to be no budget for documentation, which is quite far behind esp. for concurrent programming. And so it goes.

We'll see where they get with ownership and inter-op with C/C++/Java. Concurrency + ownership + legacy + FFI inter-op => combinatoric complexity...
by TSUTiger | 2025-10-20 21:26:53+00:00
They do that at Circle K[0] today using the same tech from Mashgin. It's meant to be a self-checkout, but you literally have one employee standing and watching this one checkout (sometimes 2-3, but usually 1-2). It's not always accurate, requires some hand-holding at times, and slows down the already slow lines at Circle K. It's a bit faster than the article implies and does not require a staff member, but still slower than a human would be.

Meanwhile over at QuikTrip, there's one person checking out two people at a time. Suffice to say, if both stores are available, I will always choose the QT.

[0]: https://www.youtube.com/watch?v=-c1kbWAttus
by mrguyorama | 2025-10-20 21:27:27+00:00
Right, Google definitely isn't helping themselves IMO,

but the reasons search got hard was that it became profitable to become the "winner" of a search query. It's a hostile market that works to actively undermine you.

AI absolutely will have the same problem if it "takes over" except the websites that win and get your views will not look like blogspam, they will look like (and be) the result of adversarial machine learning.
by sailingparrot | 2025-10-20 21:27:33+00:00
I don't follow how this relates to what we are discussing. Autoregressive LLMs are able to plan within a single forward pass and are able to look back at their previous reasoning and do not start anew at each token like you said.

If you append tokens from another source, like in a turn base conversation, then the LLM will process all the new appended tokens in parallel while still being able to look back at it's previous internal state (and thus past reasoning/planning in latent space) from the already processed tokens, then will adjust the plan based on the new information.

What happens to you as a human if you come up with a plan with limited information and new information is provided to you?
by gambiting | 2025-10-20 21:27:59+00:00
>>That's not how I remember it. Back in the day the first thing you did was disable the Aero stuff to claw back some performance on Vista.

I remember it being kinda like placebo - you did, you marvelled at how much faster it's working, but in reality nothing changed. I really liked the look, and it did run smooth unless you had something below the minimum spec(which a lot of people did at the time).
by dingnuts | 2025-10-20 21:28:18+00:00
it sure is and it's complete bullshit too!

that screenshot looks suspicious as hell, and my editor (Emacs) has a whitespace mode that shows unprintable characters sooooo

if GitHub's diff view displays unprintable characters like this that seems like a problem with GitHub lol

"it isn't just X it's Y" fuck me, man. get this slop off the front page. if there's something useful in it, someone can write a blog post about it. by hand.
by fragmede | 2025-10-20 21:28:24+00:00
Thank you for your well thought out reply. At the end of the day, what I was getting at is that there's a reason why people in our industry get paid what they do, especially when you could hire a random nobody who's new to the game who doesn't know what they're doing for way cheaper. You're right in pointing out that there's anti-competitive consolidation going on and that's not great.
by hinkley | 2025-10-20 21:28:29+00:00
The description of a space elevator falling is rendered in horrific detail in Kim Stanley Robinson’s Mars trilogy.

Twice.

Because the only known material strong enough at the time was diamond, and diamond doesn’t ablate much when falling through atmosphere.

One of the early space elevator research companies specifically designed a cable that was made by stacking successive layers of material both to slowly increase carrying capacity by building the tether in iterative layers, and hoping it would ablate or at least reach a quick terminal velocity in the case of catastrophic failure.

It is undoubtedly the case that the senior staff on that project were familiar with the Mars trilogy.
by adrianmonk | 2025-10-20 21:28:32+00:00
The memory is hazy since it was 15+ years ago, but I'm fairly sure I knew someone who worked at a company whose servers were stolen this way.

The thieves had access to the office building but not the server room. They realized the server room shared a wall with a room that they did have access to, so they just used a sawzall to make an additional entrance.
by simonw | 2025-10-20 21:28:49+00:00
If you configure it with the "no network access" environment there's nothing bad that can happen. Worst is you end up wasting a bunch of CPU cycles in a container somewhere in Anthropic's infrastructure.

Their "restricted network access" setting looks questionable to me - it allow-lists a LOT of stuff: https://docs.claude.com/en/docs/claude-code/claude-code-on-t...

If you configure your own allow-list you can restrict to just domains that you trust - which is enforced by a separate HTTP/HTTPS proxy, described here: https://docs.claude.com/en/docs/claude-code/claude-code-on-t...
by svachalek | 2025-10-20 21:29:05+00:00
Focus is good, but as someone getting older myself I find it's more beneficial to pick and choose, rather than reject the present entirely. I.E. it's good not to get wrapped up in every little thing happening at work, not so good to not know what's going on. Good to know what kind of music you like, not so good if you can't find anything you like from the millions of modern artists.
by jackconsidine | 2025-10-20 21:29:30+00:00
> We were heavy users of Claude Code ($70K+ spend per year) and have almost completely switched to codex CLI

Seeing comments like this all over the place. I switched to CC from Cursor in June / July because I saw the same types of comments. I switched from VSCode + Copilot about 8 months before that for the same reason. I remember being skeptical that this sort of thing was guerilla marketing, but CC was in fact better than Cursor. Guess I'll try Codex, and I guess that it's good that there are multiple competing products making big strides.

Never would have imagined myself ditching IDEs and workflows 3x in a few months. A little exhausting
by randomNumber7 | 2025-10-20 21:29:37+00:00
He did some smart things in the past at least (I also think he is pretty insane).

But the article isn't very clear about what he said. I read sommewhere else his idea is more that someone would be able to unite the masses in the phase of economic trouble we are heading to. Like Hitler but for the whole world. I think its also funny that he suspects greta tunberg.