MurphyA/hacker-news huggingface dataset:
by mubou | 2025-04-09 17:52:51+00:00
`fs::recursive_directory_iterator` Oof. You might want to look into how voidtools' Everything works before calling this "efficient." (The fastest windows search tools don't actually recurse the filesystem, but instead read the NTFS Master File Table (MFT) directly.)

Also, a bit of advice: separate your business logic (file searching) from your UI logic (rendering the GUI). That'll make refactoring (and unit testing) much easier and helps to avoid tangled spaghetti code as you start building larger applications.
by olyjohn | 2025-04-09 17:53:09+00:00
I haven't used Windows in years. But one of the main things that pushed me away was how they constantly just shit all over your hard drive. I used to keep a really, really clean Windows filesystem, but I wasn't able to keep it up after I started getting tons of folders called C:\fli32uf09823f0u32fj3209f8u. Total disrespect to your users.

Don't get me started on the services control panel. Where it used to be clear what was running and what wasn't. Now the whole OS just looks like Malware.
by cmurf | 2025-04-09 17:53:28+00:00
To the degree that would promote widespread corruption, it's inconsistent with the president's oath of office and the Constitutionally defined duty that the president uphold the law.

But it's also a political question (this means the Court probably won't get involved, not that the question is normal politics) because the only way to end such an obvious travesty is to impeach, convict, and remove from office.

To whatever degree the Congress can't do that, impugns the Congress who all take an oath to support and defend the Constitution, not a leader.

To whatever degree people continue to elect those who support and defend a cult instead of the Constitution? They have given in to passion, and can't be reasoned with. Why argue with irrational people?
by ajb | 2025-04-09 17:54:02+00:00
There are two parts to the fishing thing. From a pure economic perspective, fishing is insignificant. But within living memory obtaining food was a national security issue for the UK (during world war II). In a world in which states look not to grow their economy, but to harm others - and guess what, that's where we just arrived - not all industries can be considered purely on their revenue. Man cannot live on warhammer alone.

We need to distinguish between paying over the odds to keep industries which are essential to have in an antagonistic scenario, from loss-aversion and nostalgia for industries which don't provide as much employment as they used to.
by UncleMeat | 2025-04-09 17:54:11+00:00
The constitution requires that the executive "shall take Care that the Laws be faithfully executed." The executive is not granted unlimited power to refuse to enforce the law.

However, courts have historically given the executive leeway in how it chooses to prioritize things and this has led to plenty of cases where the federal government has official policy to deprioritize enforcement of certain crimes. This has not been abused too much in the past but I'm not sure if that norm will hold in the future.
by foragerdev | 2025-04-09 17:54:17+00:00
This is not new. This kind of things happening for long time especially for hunting high paying jobs in US. Now deep fake is just helping them a little. I joined tech industry in 2020, I did not know anything that how Pakistani/Indian/Bangladeshi companies get good bids from US clients until my friend joined industry next years. He joined a company who used to do this, and my friend help them clear interviews and get that company high paying jobs in US and he will be getting peanuts for the same job he got them probably 10k$/month. They will create fake profile of candidate of US citizen and someone during interview has to pretend to be him. Yeah of course before it has to be real human now, AI can be anyone.

And I have been contacted many times to such kind of arrangement that the offered me that we will give you realistic fake US profile, you have to give interview, if you get hired, we will take some share of salary. And I denied, as I do not want to live with feeling of guilty of lying for earning more than I need where I live, I can live way better with what I make than my other fellow countrymen.
by dhucerbin | 2025-04-09 17:55:01+00:00
Value proposition is “components for server”. But it’s worth to take a step back first.

What is value proposition of react component in comparison to older “mvc-inspired” frameworks? That you can drop a component in your code and call it a day. Don’t need to wire up separate controllers, models and views. Just one thing.

Now, if you want to add “auth” to your app (in react meta framework like next) you need to add component and probably add some routes and inject some middleware. With server components, you just add one component somewhere in the root of your app. Just one thing.

All that over the wire format, suspended data fetching etc, are a result of solving that problem and keeping in mind that those components are slightly different. It takes more work, but in return we can interleave both types of components nearly freely.
by theideaofcoffee | 2025-04-09 17:55:08+00:00
Take as much as you can as fast as you can. You know the lovely, benevolent companies that are generously offering you a position will find any and every opportunity to cut as many people as fast as they can. It's been made pretty apparent at this point in the giant dumb game that the average worker is not worth much to a corporation.

And as others have pointed out, apparently it's only ok when a genius-level CEO takes four different CEO spots and a few board seats and continues to play video games all day. Yep, totally ok and not for anyone else.
by programd | 2025-04-09 17:55:19+00:00
I largely agree with most of this. My only concern is that the spec is a bit underspecified.

For example I wish they'd specify the date format more tightly - unix timestamp, some specific ISO format, precision. Which is it?

The sessionID is not specified. You can put all sorts of crazy stuff in there, and people will. Not even a finite length is required. Just pick some UUID format already, or specify it has to be an incrementing integer.

Define some field lenght limits that can be found on the model card - e.g. how long can the description field be before you get an error? Might be relevant to context sizes. If you don't you're going to have buffer overflow issues everywhere because vibe coders will never think of that.

Authentication methods are specified as "Open API Authentication formats, but can be extended to another protocol supported by both client and server". That's a recipe for a bunch of byzantine Enterprize monstrosities to rear their ugly heads. Just pick one or two and be done with it.

The lesson of past protocols is that if you don't tightly specify things you're going to wind up with a bunch of nasty little incompatibilities and "extensions" which will fragment the ecosystem. Not to mention security issues. I guess on the whole I'm against Postel's Law on this.
by roguecoder | 2025-04-09 17:55:28+00:00
The anti-vaxx movement was really strong among ex-hippies when I was growing up. It's all the same people who believe in homeopathy and chiropractors.

Part of the problem is presenting it as a choice makes people think it is legitimate to choose "no".

I believe the consequence of not vaccinating should be social exclusion until you catch up: anything else is stochastically depraved heart murder.
by rcxdude | 2025-04-09 17:55:32+00:00
From my experience in the industry, if the average backend dev went to work in that industry, the average level of competence would go up (compare the average salary, for one thing). The processes are all about making it hard to fuck up really badly, they're very much not going to weed out 'careless' devs, just limit the damage they can do.
by heymijo | 2025-04-09 17:55:55+00:00
> they told me their largest customers are for training, not inference

That is curious. Things are moving so quickly right now. I typed out a few speculative sentences then went ahead and asked an LLM.

Looks like Cerebras is responding to the market and pivoting towards a perceived strength of their product combined with the growth in inference, especially with the advent of reasoning models.
by redczar | 2025-04-09 17:56:03+00:00
I’ll add a few more freedoms.

1. Can’t walk about drinking a beer.

2. Can’t carry too much cash or it’s at risk of being confiscated.

3. Criminalization of walking. https://illinoislawreview.org/print/vol-2017-no-3/the-crimin...

4. Pretty much have to own a car in most places.

5. Thousands of polling stations closed since the Voting Rights Act was gutted.

6. Federal politics held hostage by low population states. It’s insane that North Dakota has slightly less federal power than Texas.

7. Not even the House of Representatives has proportional representation.
by miltonlost | 2025-04-09 17:56:16+00:00
What is actual fraud? Is it what SBF did? Is it what what coinbase did? Both of those were actual fraud to me, and Coinbase was let go, and would be under this policy.

> You can't expect people to obey the law if you won't tell them what it is.

Good thing this wasn't happening with crypto fraud. Wire fraud is pretty much the same even with blockchain.
by exe34 | 2025-04-09 17:56:17+00:00
I don't have insight on what goes on inside Google - they may well be doing this at some level, but their business isn't finding stuff, it's selling ads, so getting the search right is a very low priority.

The LLM people are heavily invested in ever bigger models to keep the research money flowing in, it wouldn't make sense to release a service that undercuts that.

that leaves independent actors - presumably building and maintaining an up to date database is difficult, so only the big search engines do.
by empath75 | 2025-04-09 17:56:26+00:00
> He can "do" essentially anything, per the supreme court.

This is often said, but it's not true and it has nothing to do with anything that Trump is doing. What they ruled is that he can't be _prosecuted_ for most actions he takes as president. It obviously doesn't mean that the Supreme Court can't overrule executive actions, because they continued to do that after that ruling was made. And as much as Democrats complained about it at the time, it's probably the only thing keeping Biden from facing some kind of phony indictment right now.

The _only_ thing that is allowing Trump to get away with this is Congress's inability to act, or passive acquiescence to what he's doing.
by LinuxBender | 2025-04-09 17:56:48+00:00
For completeness sake that could potentially also cut both ways. If it turns out that fluoride does lower academia potential then it would be occurring in the brain's most important development period. Once they are adults they would have to live with that artificial limitation. Though they do say ignorance is bliss.

My personal preference would be to let the scientists, researchers and skeptics put on boxing gloves and in the mean time give the child a healthy diet, teach them to use a water-pick daily to avoid not only cavities but other potential issues related to diet and gum hygiene.
by OmarIsmail | 2025-04-09 17:57:03+00:00
This article is amazing. I think any engineer outside of programming language builders would get something incredibly useful for it.

Not enough engineers engage with the concept of code and programming and as an industry we suffer for it. The beginning of this post does a phenomenal job of simplifying very basic but high level concepts as “what is a function” “what is a tag”.

99% or programmers don’t think about these things like this, and so get confused when these building blocks are manipulated and presented in seemingly strange ways like React components or server components or whatever. By breaking down these concepts (functions, blueprints) and having rebuilding them with simple definitions it allows the reader to start their mental model fresh and go from there.

This is a masterclass in technical communication.

Who gives a shit if it’s long. In fact I’m glad it’s long because every sentence is gold. These are deep subjects and foundational to programming and so ya, talking about them like this can take a few words.

99% of people who take the time to really read and process this post will come away as noticeably improved developers. That kind of bang for the buck is rare!
by Quarrelsome | 2025-04-09 17:57:25+00:00
Ethical doesn't have to mean non-functional. Like I previously highlighted the "mad cow" disease pandemic of the 90s shows that these "soft" ideas of not feeding cows beef scraps actually have functional outcomes, despite seeming ethnical at first. This is also evidenced by free-range chickens having less potential exposure to bird flu than hatchery chickens who are packed so close together that the virus can sweep through the entire facility.

Big up NYC Hit Squad. :)
by Animats | 2025-04-09 17:57:34+00:00
> You can't expect people to obey the law if you won't tell them what it is.

That's an excuse the crypto community dreamed up. The SEC's position, pre-Trump, was quite clear: crypto assets are securities. File an S-1, as you would for an IPO, with all the usual disclosures, under penalty of perjury. A very few crypto issues did that.

This new statement is mostly about crypto "exchanges". Pure exchanges aren't so bad. At no point in a trade does the NYSE own the asset. It's that crypto exchanges are usually not just exchanges, but brokers, dealers, custodians, and lenders. All of which can lose assets.

Actual memo: [1] It doesn't really change much. Frauds against investors can still be prosecuted.

[1] https://archive.is/Td0Fn
by throwway120385 | 2025-04-09 17:57:56+00:00
The nutso thing is this idea that there is no freedom of speech for non-citizens. Now that we're eliminating birthright citizenship and allowing people to be deported to El Salvador with no due process it's pretty easy to just declare someone a non-citizen because they can't provide their great-great-great-great-grandmother's birth certificate from 1783 that proves that they have citizenship going back to the founding of the country, then just put you on a flight to wherever they want so that you can't hire a lawyer in the US to fight for you. The only reason that hairdresser has anyone speaking for him at the moment is because he has family in the US and they have been able to find a lawyer.
by notahacker | 2025-04-09 17:58:00+00:00
Tbf the fishing ports were some of the most rational Brexit voters. They were aware that EU fisheries policy quotas seriously impaired their ability to catch fish and believed that leaving the EU meant leaving the quotas behind.

Unfortunately for them, they happened to be completely wrong about this (arguably not unpredictably: the UK MMO was more zealous than most European countries about enforcing catch restrictions) so they didn't lose the quota system but did lose an export market.
by j45 | 2025-04-09 17:58:01+00:00
Was it really preparing?

Because the preparation ended up not being sufficient.

Assuming people doing the hiring can be outsmarted in all cases like this is part of the problem.

Maybe 'preparation' can evolve to the candidates asking AI for a crash course and way to start using it instead of talking the talk.

It never ceases to amaze me that it's surprised it's hard to BS your way through tech jobs at tech companies. Maybe it works with tech positions at non-tech companies.
by danabramov | 2025-04-09 17:58:08+00:00
Haha thanks, I know it's not everyone's cup of tea but I appreciate kind words, and GEB is too obvious of an inspiration. I would highly recommend Terence Tao's Analysis textbook. It's maybe a bit too rigorous/formal (and maybe doesn't quite describe discovery because it develops very standard theory) but it builds in a very pleasant way. If you're interested in Lean, some of Kevin Buzzard's writing at https://xenaproject.wordpress.com/ is similarly pleasant (e.g. https://xenaproject.wordpress.com/2021/04/18/induction-on-eq...).
by dylan604 | 2025-04-09 17:58:30+00:00
Having your $1000 device stolen by the government as an acceptable outcome is something only a fatcat on HN with their cushy salary would be able to tolerate. I'm not a FAANG employee, and don't make that kind of salary. Loosing a $1k anything would not be something I could just shrug my shoulders and just turn around and immediately replace it.

Even if you do sue the gov't, it'll be at least a year before any kind of resolution that results in the return of that device. Them keeping my phone would be one thing, but if they also kept my laptop, I'd be screwed. My laptop is much more than $1k, and there's no free laptop with contract cell service I could use to replace it. Now I'd be without a means of working.

These kinds of situations make me really yearn for the days of replacing the internal hard drive of a laptop. I could swap out my daily use drive for a travel drive, which would be much less of a hassle than the options on offer for modern laptops.
by senderista | 2025-04-09 17:59:03+00:00
They have always been assholes. I was detained by CBP back in 1997 returning from Europe (through O'Hare airport), even though all my papers were in order (I am a natural-born citizen and I had my passport) because I was overheard speaking Spanish (I was returning from a study-abroad trip to Spain). Someone actually demanded to know where in Mexico I was born, even though, as I said, I had my passport, state ID, and birth cert all right there with me. They just dumped me in a waiting room for 90m (long enough to miss my flight), then told me to go with no explanation or apology. On the way out someone laughed and told me they didn't know why I was detained but I "looked like a terrorist" (I had a full beard at the time). Mind you, this was before 9/11 so I'm sure it's worse now.
by mschuster91 | 2025-04-09 17:59:36+00:00
On the other side KYC rules and enforcement can be anything from annoying to downright asinine (and not just for banks).

I'd prefer if governments would take a step back and invest into enforcing actual crimes themselves and not just stick with money laundering charges because these are easier to prove. It was already bad under Al Capone (who got nabbed for taxes instead of murder), and it's way worse today.
by _DeadFred_ | 2025-04-09 17:59:59+00:00
'The dollar might be weakened in the future so we must immediately blow it and our entire deeply thought out, researched, and supported policy since the 1940s up to now with no plan all based on a book the President read and hope things work out better than what might have happened sometime in the future (but that there were no signs was happening soon)'.
by JumpCrisscross | 2025-04-09 18:00:28+00:00
> Their parents are able to set their kids up for a life of pain and dental bills

This is true of a lot of parenting, and the case is more critical for vaccines than dental hygiene because cavities aren’t transmissible. (Within reason.)

So yes, ideally the kids of the uninformed wouldn’t be born into dental debt. But that’s better than them having gone blind from measles or lame from polio. (Coldly, because those costs will be socialised.)
by 9rx | 2025-04-09 18:00:37+00:00
In realistic practice there is no escaping it, though. Even if you maintain relations throughout the majority of your application, you are almost certainly still going to need to call some kind of third-party API or networked service that requires mapping between relations and objects. Especially if networked services are involved as they nearly always eschew relations in favour of objects to avoid the typical n+1 problems.

Should your application map objects and relations at all isn't usually a question you get to ask unless it is doesn't do much or lives on its own private island. Should you do it yourself or lean on a toolkit to help is the question that you have to contend with.
by roguecoder | 2025-04-09 18:01:11+00:00
Even if you believed that to be the case, you could choose an area that had high natural fluoride in the water, provide gravity filters and then double-blind supplement fluoride at a moderate level for one group.

It is certainly more ethical than saying "we are definitely going to let your children's teeth rot because some people think, on the basis of circumstantial evidence, it might have approximately the same effects as not having children's books in the home."
by matt-p | 2025-04-09 18:01:16+00:00
For another "not just the UK" example france has managed to persuade the EU not to buy british weapons out of the extra defence fund unless the UK give France some of it's fishing rights. Can you imagine being Poland and not getting the best anti-tank weaponry, or the best missiles because you want the french to have more fishing rights?

Completely barking mad.

https://www.politico.eu/article/uk-rejects-eu-plan-tie-defen...
by spudlyo | 2025-04-09 18:01:27+00:00
I find it weird that most of my younger colleagues totally do not understand job control, and generally use just a subset of shell features in their day to day development work. I would wager they also don’t value man pages. I remember the blank stares I was met with when I suggested we create a man page for an extremely complex CLI tool we maintain.

There was already an often out of date wiki page that people hated maintaining, nobody could understand why you wouldn’t just use that.
by porphyra | 2025-04-09 18:01:32+00:00
I think that one reason that humans are so good at understanding images is that our eyes see video rather than still images. Video lets us see "cause and effect" by seeing what happens after something. It also allows us to grasp the 3D structure of things since we will almost always see everything from multiple angles. So long as we just feed a big bunch of stills into training these models, it will struggle to understand how things affect one another.
by brudgers | 2025-04-09 18:02:07+00:00
If you got an email about your purchase, there's a lot of opportunity to establish you bought something from Amazon.

If you used a credit card, there's a lot of opportunity to establish you bought something from Amazon.

If you bought something fulfilled by Amazon, there is more than a lot of opportunity to establish you bought something on Amazon...there is certain knowledge and any nefarious activity is likely to be assumed to be blamed on Amazon.

If an adversarial actor was trying to exfiltrate purchase data, TiMOVO would be an easier target than Amazon. Good luck.
by UncleEntity | 2025-04-09 18:02:19+00:00
The difference between selling every shoe at $150 and selling less than every shoe at $300 (or whatever the secondary market is charging) probably gets tossed around in pricing meetings.

Plus, higher secondary market prices drive demand for the less desirable shoes as everyone can't afford to spend a week's wages on a pair of shoes but can stretch their budget for the still-kind-of-cool models. I'd go so far as to say the secondary market prices drive more demand for the lesser models as the cool kids want to be seen wearing what the rich cool kids are wearing.

I'm sure they spend a lot of time discussing what price they can charge without people openly revolting against their 'predatory pricing' strategies.
by lolinder | 2025-04-09 18:02:47+00:00
Be careful extrapolating based on China's current population and demographics. Too much of our armchair assessments of China's velocity is based on their meteoric rise on the backs of a historically large working-age population—a population that is now rapidly aging out of the workforce with nothing to replace it thanks to the one child policy. The US's demographics aren't stellar, but they're a lot better off than most of the developed world.

It remains to be seen how different 2010's China—with 90% of the population being under 60—is from 2050's China—with only 69% of the population being under 60.

https://www.populationpyramid.net/china/2050/