MurphyA/hacker-news huggingface dataset:
by phplovesong | 2025-11-07 14:49:53+00:00
Typescript (javascript) is kind of a joke compared to what ocaml brings to the table.

Ocaml has a top in class typesystem, a "faster than Go" compiler and (in 2025) good tooling. It allows you to say fuck it and write a while loop if you need to. Hell you can even do OOP. Also it has an incredible module system and full type inference. It also has an effect system, and good concurrency features (ocaml 5).

I cant say many other languages that has all the same features.
by Ajedi32 | 2025-11-07 14:50:02+00:00
It's not. It's just a different (and in my opinion, more accurate) way of framing what the status quo is. Governments aren't really "blocking websites"; they're blocking their citizens ability to communicate with those websites.

For any country which cares about the freedom of its citizens, I feel the latter framing ought to make them significantly more hesitant to enact such measures.
by assemblyman | 2025-11-07 14:51:19+00:00
If someone made $2 million/year over 10 years, after taxes, it would be $1 million (NYC has local taxes too). Let's say all of it was saved and invested in SP500 or Meta.

SP500: tripled over 10 years i.e. ~12% a year. Reinvesting dividends gives ~14% a year

Meta: 8x over 10 years i.e. ~23% a year.

If growth was uniform over 10 years and compensation/savings was uniform over 10 years, total portfolio would be:

((1+r)^11-1)/r (geometric series since each year's contributions grow for different amount of times)

1 (this year) + (1+r) (previous year) + (1+r)^2 (previous-to-previous year) and so on

SP500: 14% -> $23M Meta: 23% -> $38M

Now, it's entirely possible, the compensation for a position like this runs into $10s of millions and one can easily account for non-uniform compensation.

Even in NYC, actually even in Manhattan, $10M is more than comfortable for retirement. It lets you draw $300-$400K (3-4% per year adjusted for inflation annually). If one is taking a short sabbatical, then it's a no-brainer.
by simpaticoder | 2025-11-07 14:51:31+00:00
*>They could massively reduce the volume of scams advertised on their networks

I'm not entirely sure that's true. It's equivalent to asking a platform to moderate all "harmful content" off the site. "Scam" is fundamentally subjective, just as "harm" is.

The real solution is to reform the justice system such that a citizen feeling they've been defrauded has a quick and easy process to get satisfaction for themselves and other similarly harmed people. We need a streamlined, totally online court that excels at gathering and interpreting data, and a decision in days not years. The ad networks are themselves the natural allies of such a reform, but such a change can and should start small as a pilot program at the state level. If successful, it removes the considerable legal-cost moat protecting scammers, and so it no longer makes sense to even attempt such a business, and the world becomes a slightly better place.
by mattgreenrocks | 2025-11-07 14:51:50+00:00
Industry is just starting to come around to it, but I've never been more happy programming than when using a strongly-typed language with sum types. What most people fail to understand is that fighting the type checker is almost always a feature, not a bug. It is training you to write code in a way that it understands, which forces your thinking to be less sloppy, even on non-happy paths.

Sum types enable much higher levels of expressivity of what valid states are while still being statically analyzable. Any new PL lacking them, IMO, is making a huge unforced error. They don't apply for every situation, but they do handle a large amount of day-to-day programming concerns.

Side note: OO is oft-maligned in OCaml, but I really appreciate that they included it anyway. I much prefer languages that give you a set of tools to use in whatever situation you find yourself in.
by Noaidi | 2025-11-07 14:51:57+00:00
This would create a two tiered social commons however. Someone like me, homeless and on disability, what could I afford? Where would my word be heard?

It could also create "free" platforms, funded by billionaires, to control the speech on the platform.

The answer is a communal, government owned social media platform, that mimics the rules of the town square. in the US, this includes the same 1st amendment rights. This would allow equal access to everyone's voice.

IMHO, social media should not exists at all. It is too huge and too fast for our tiny brains.
by mrkramer | 2025-11-07 14:52:01+00:00
For the last month or so archive.is is not working for me, is it maybe related to this? Btw I always assumed owner is from Russia because he or they were so secretive about everything except occasional blog post or occasional Q&A and Russians are usually obsessed by their web pet projects.

For real someone needs to make legit business of archiving the web where you would have timestamped hashes of your archived web pages and "unlimited" storage for archiving ofc only if you pay for the "unlimited" storage.
by johnwatson11218 | 2025-11-07 14:52:07+00:00
I have a pipeline in Docker compose that starts up postgresql on one container and a python container. The python scripts will recursively read all the pdf files in a directory, use pdf plumber to parse the text to store in a postgres table. Then I use sentence_transformers to take 100 char, w/ 10 char overlap, chunks and embed each section as a 384D vector which is written back to the db. Then I average all the chunks to create a single embedding for the entire pdf file. I have used numpy as well as built in postgres functions to average and it fast either way.

Then I use HMAP + DBSCAN to create a 2D projection of my dataset. DBSCAN writes the clusters to a csv file. I read that back in to create topics, docs2topcs join table. Then I join each topic into a mega doc and consider the original corpus, I compute tf-idf, using only db functions. This gives me the top 5 or so terms per topic and serves as useful topic labels.

I can do 30 to 50 docs in an couple of hours. I imported 1100 pdf files and it took all weekend on an old gaming laptop w/ a ssd. I have a gpu, and I think the embedding steps would go faster but I'm still doing it all synchronously w/o any parallel processing.
by jcranmer | 2025-11-07 14:52:15+00:00
> I've always wondered why UFOs are only a USA phenomenon.

They're not. There are however two factors greatly biasing your perception of UFOs. First, it takes a fair amount of effort to track down information in foreign language sources, so in general there's going to be a lot less English-language information on Chinese, Russian, or Japanese reports of UFOs. Second, militaries are going to both generate more UFO reports (thanks to military research programs that go awry, e.g., the circumstances behind the Roswell incident) and be a lot more open to collecting and investigating them (because of their ability to indicate the previous point). The US military being the largest and most well-funded in the world is thus going to generate the largest UFO report halo around it.
by _andrei_ | 2025-11-07 14:52:50+00:00
Hi Rob, thanks for your thoughts! We're not planning on expanding to watching expiring domains yet, we're focused more on finding domains that were never registered. But what you're interested in can be done by watching all the registered domains that you're interested in and either catching them when they expire (ex. https://www.expireddomains.net) or by registering a backorder (higher success rate but you have to pay, ex. https://www.gname.com/backorder)
by wat10000 | 2025-11-07 14:53:14+00:00
I don't agree with that assessment at all. The reason memory safety issues are so prominent is that they are extremely likely to be exploitable. Of course you can write exploitable bugs in any language, but most bug classes are unlikely to be exploitable. A bug that always crashes is about a trillion times less severe than a bug that allows someone else to take control of your computer.
by zoeysmithe | 2025-11-07 14:53:29+00:00
Scams are absolutely not subjective and capitalism fails at every level without regulation like this. Your comment is very libertarian housecat coded.

Also 'just go to court' is such a naive take. As someone who has been in litigation before I can tell you those $350/hr billings add up quick. How many consumers can afford a 5 or even 6 digit legal bill for being scammed for a few hundred or thousands dollars on a FB ad? Of those who can, how many would see this pricetag as worth it? Sorry but small claims court isn't going to do discovery for you for some company hidden behind who knows how many storefronts and foreign proxies. You're going to have to do real litigation. Its absurd to expect every working class person to sue all scammers constantly. Instead ad providers should be policing their own ad networks and the working class should be using the government to implement proper regulations to protect ourselves.
by potato3732842 | 2025-11-07 14:53:35+00:00
>You not only think you should be allowed to throw sandwiches at cops, but sandwiches at me, too?

We all get sandwiches, comrade

>I think weakening the protection against law enforcement being assaulted raises the likelihood that law enforcement will instantly react with violence under any vague threat.

Without asymmetrical law there is less incentive for baseless escalation, not more.
by Lord-Jobo | 2025-11-07 14:54:07+00:00
All true, however almost all of the students respond with interest in becoming influencers (don’t have the survey on hand, it’s been done a few times). And influencers include the TikTok age equivalent of journalists. For better and (definitely) for worse. Some of them are functionally the same, many are far far worse.

The kids just don’t have any interest in big news organizations which is understandable even if it’s going to make things worse.
by ndriscoll | 2025-11-07 14:54:40+00:00
Also:

* Graphics updates with shaders for improved water and fog (which you can combine with much higher view distance), godrays, HDR, etc, improved meshes, improved grass, high resolution textures with normal maps and PBR.

* Modernized UIs

* Multi-mark (extra marks as you level mysticism)

* Turn the books into audiobooks and add full voice acting if you're a mild heathen.

* Combat and leveling system overhauls if you're a full heathen.

https://youtube.com/watch?v=iFZm4VZnHy0

https://youtube.com/watch?v=9Hv-46CCd9I

https://modding-openmw.com/
by hnuser123456 | 2025-11-07 14:54:43+00:00
Yes, that's before the term got corrupted. If you've spent any time in the depths of brainrot mass social media (or know anyone in bigcorp HR), you'll find that there are some large cohorts out there who have taken this to an extreme that looks exactly like that type of racism but "flipped." The masses are struggling to imagine a more fair society rather than seeking revenge.
by aDyslecticCrow | 2025-11-07 14:54:46+00:00
Out of pocket? Perhaps not, especially if it "works" as intended. Putting your life in danger and house burnt down though? More likely than you realize.

Could I interest you in some very durable car fuses that don't actually trip? https://youtu.be/B90_SNNbcoU?si=5QUpXUHwSlZj4i4G

Or perhaps radioactive protection pendants are your thing? https://shungite-c60.com/quantum-pendant/

Could I interest you in some Amazon choice firecrackers? https://edition.cnn.com/2020/09/10/business/amazonbasics-ele...

Let's not even mention the health and nutrient products that make the FDA shudder.

Sure, you can ask for your money back, and flag the seller. But new sellers pop up selling the same crap all over again with a new name and company ID. This is all while real sellers of real (and safety certified products) get pressured by Amazon and dissuaded from taking their business off platform.

Avoid Amazon if at all possible. It's not good for consumers nor sellers, and it's keeping a leach on online retail.

Most countries have laws around liability of sold products. This is often set up to fall on the importer of said product. Amazon Europe (and perhaps USA) is doing something very funny with these laws; You, the consumer, is the importer. If your house burns out, then it's between you and a random chineese ghost companny that just disappeared into smoke. Amazon is "handling the import paperwork for you", and not taking liability for anything.
by naasking | 2025-11-07 14:54:58+00:00
> I've always found the Cosmic Distance Ladder as likely to be inaccurate due its assumption about the constant brightness of Standard Candle stars over their lifetime

Stars are just basic nuclear physics and gravity, that's why they're expected to be stable and predictable.

> Direct measurement of the CMB seems to be simpler with less chance of error.

Direct measurement of the CMB doesn't tell you anything on its own, you have to interpret the data in terms of a model. If you have a completely different model, say one without dark energy or without dark matter, CMB measurements would tell you something different than LCDM.
by MPLan | 2025-11-07 14:55:00+00:00
On October 13, 2025, the Nobel Prize in economics was awarded to Joel Mokyr1 – “for having identified the prerequisites for sustained growth through technological progress” – and Philippe Aghion and Peter Howitt – “for the theory of sustained growth through creative destruction”.

The work by Aghion and Howitt is very timely, as it may help explain some of the rise in genAI investment spending.
by mcphage | 2025-11-07 14:55:04+00:00
> there's no question that is legally assault.

So, in the US, being convicted of a crime requires the state to convince a jury of your peers that you're guilty beyond a reasonable doubt. That's what crime is. There isn't some magical nebulous state where "okay it's a crime even though you're not guilty". That's the point of the system, so we can't get people like you who try claiming he's a criminal even though he's been found not guilty. Because there's no way for him to prove his innocence to you, you've already decided he's guilty and already decided to ignore proof to the contrary.

What's not in doubt is that he threw a sandwich at the officer. But, and this is incredibly important, that WAS NOT assault.
by pessimizer | 2025-11-07 14:55:17+00:00
They won't. We've given them a absurdly concentrated garbage news media that there's no reason to trust any part of, but it isn't like they're getting anything else. They're going to be the most ignorant generation in US history.

I remember being shocked when I found out that most Vietnamese young people were mostly unaware of the Vietnam war. But if nobody tells you, you don't know. The media was bad before 1996 (Ben Bagdikian would put out a book every year about how dangerously concentrated media was getting: only 51 owners owned 90% of the media lol), but at least we could go to the library and find out what actually happened. They'll just have continually-revised ebooks and AI.
by cbondurant | 2025-11-07 14:55:23+00:00
I think the biggest thing that makes me distrust the news as it stands is that I feel like news reporting is far too prone to overly leveling debates. And by that I mean making both sides come across as equally credible, even when that could not be further from the truth.

The most common way I see it happen is like this: you have a situation some group says that some totally safe thing is actually super dangerous. There's a large body of scientific literature that really clearly shows its totally safe. the news reports on it as such: "While many within the scientific community state that there is no harm with X, anti-X proponents respond that the current studies are not substantial enough, and that they are simply asking questions." This framing, does not point out that the anti-X proponents are just a group of 10 people, nor does it describe how much evidence there exists in the scientific literature showing the thing is safe. Both sides are made to sound equally reasonable, which in my mind is practically a lie by omission. Because they aren't equally reasonable.

Edit: One additional thought. I still will read news articles if they get shared to me, and I try to evaluate based off of what the source is. but another reason I don't actively keep a news subscription is because news orgs love reporting on tragedy. Because its more noteworthy. I'm just not interested in reading yet another article about how crime is on the rise. Or about the most recent fatal car crash. Etc.

I stare into the void enough as it is. I don't want another.
by phplovesong | 2025-11-07 14:55:45+00:00
Its mostly about practicality. Haskell is kind of pain when you need IO, as in when you go there there is no way out.

Ocaml is more practical, and less punishing (you can do IO without monads), but the most important diffrence is performance. Haskell is VERY hard to make predictable because its lazy. Ocaml is strict so general system performance is much easier to predict.

But they are sibling languages in my book, while i still prefer ocaml over haskell.
by jmclnx | 2025-11-07 14:55:47+00:00
There is already a precedent for this suit. IIRC, a Massachusetts girl was found guilt of encouraging someone to kill himself. IIRC, she went to jail.

So, since companies are people and a precedent exists. The outcome should be in favor of the guy's family. Plus ChatGPT should face even more sever penalties.

But this being the US, the very rich and Corporations are judged by different and much milder legal criteria.
by scott_w | 2025-11-07 14:56:02+00:00
> "Scam" is fundamentally subjective, just as "harm" is.

From the article:

> Meta projected 10% of 2024 revenue came from scams and banned goods, Reuters reports

I think we can agree that there's no "subjective" situation when a product is banned.

> The ad networks are themselves the natural allies of such a reform

The article (and the person you're replying to) point out that a significant portion of Meta's revenue comes from such scams. I'm really struggling to see how they're "natural allies" and not "antagonists" here. You're going to have to show me some research that backs up your claim because it flies in the face of the available information.
Ask HN: Why is it OK for Cursor and Windsurf not to credit their model
by bluelightning2k | 2025-11-07 14:56:40+00:00
Windsurf's SWE-1.5 is really good, and I've heard good things about Cursor's model too.

However there's this nagging feeling I just can't shake: using the base models without credit is not OK.

I know they've done some post-training and a lot of work optimizing the inference, but to use something as substantial as an LLM and not even credit them feels super wrong.

I guess my question is how is this OK, regardless of what the licenses allow.
by zoeysmithe | 2025-11-07 14:56:48+00:00
Water, power, etc infrastructure regulations and things like the environmental movement happened when there was more working class solidarity and the working class had more power over the capital owning class. Now the working class have been propagandized to believe "regulations bad" and have been depowered as capitalism decays and the capital owning class further takes and consolidate power. The regulations you want are impossible in this political climate and probably impossible without an extremely radical reform movement or some mass resignation or revolution of government.

I mean, lets face it, no government that makes hard right turns and has intense corruption like the USA just goes back to being a proper liberal democracy. Most likely things will get a lot worse before they even get better and on a timescale thats unpredictable. We may be talking 20+ years before any sort of baby steps towards liberal reforms are even possible on the federal level. The right has the gerrymandering, scotus, the courts, the media machine, etc. Pro-working class regulations are just not going to happen like they did in the 60s and 70s for a very long time if history is any guide.

Its so odd to me people just have a "dont worry we'll got back to normal next election." To get back to what we had during those times of pro-worker regulation will take many, many, years if not decades of work now. At the very least until many in SCOTUS retire or pass away from old age. That just isnt happening anytime soon.
by Razengan | 2025-11-07 14:57:09+00:00
Well of course. This may not be exactly what the article is about, but regarding the general sentiment as per the title: For me at least, games give you a different world to escape to, same with any good movies, shows, books, and even music.

It was a big help for me growing up in a place where actual reality wasn't that exciting or even nice at all.
by andy12_ | 2025-11-07 14:57:41+00:00
Actually, no! Look at this in the paper

> In extending from studying per-example to bulk memorization, we propose a novel inversion of the previous interpretation of loss curvature: while individual memorized points are associated with high curvature, the direction of curvature varies across examples, meaning that, averaged across multiple examples, memorization directions are actually flatter than generalizing directions, which maintain a consistent moderate curvature across points
by mystickphoenix | 2025-11-07 14:57:45+00:00
Several things while I'm between full time gigs, working on learning rust for my own pleasure:

- Rust Lab Log (https://github.com/bryan-lott/rust-lab-log) a simple CLI to take down notes and timestamp them in a single markdown file. I was inspired by my dad's use of logbooks in chemistry labs growing up so that you can always look back and figure out what went right or what went wrong. Has come in very handy during a couple of incidents.

- LogProx (https://github.com/bryan-lott/logprox) a logging proxy with stupid-low added latency. We had an issue where we were accessing a deprecated version of an API and couldn't figure out where the calls were coming from. The API owner was threatening to turn off our access entirely (long story). The idea being LogProx is to send all traffic through it and create rules to log and/or block calls that match a ruleset. Added latency was so low that I had to drop down to measuring in tenths of a millisecond.
by 1970-01-01 | 2025-11-07 14:58:14+00:00
I don't think the analogy applies the same way. Meta simply choose to be evil not because it costs less overall but because they're unable to provide/filter actually useful ads to consumers. The rear diff is instead a filthy window but consumers don't sue for better quality because everything else works good enough and those that do crash could have cleaned the windows themselves.