MurphyA/hacker-news huggingface dataset:
by andrewl | 2025-04-30 13:03:54+00:00
I've been using, and sharing, this site for several years. I think it's excellent. The two things I'd like to see are the provinces, at least in larger countries, and large bodies of water. I'd like to be able to drag Ontario, Lake Superior, the Caspian Sea, New South Wales, and so on, around the way you can with countries and US states.
Show HN: Kexa.io – Open-Source IT Security and Compliance Verification
by patrick4urcloud | 2025-04-30 13:04:04+00:00
Hi HN,

We're building Kexa.io (https://github.com/kexa-io/Kexa), an open-source tool developed in France (incubated at Euratech Cyber Campus) to help teams automate the often tedious process of verifying IT security and compliance. Keeping track of configurations across diverse assets (servers, K8s, cloud resources) and ensuring they meet security baselines (like CIS benchmarks, etc.) manually is challenging and error-prone.

Our goal with the open-source core is to provide a straightforward way to define checks, scan your assets, and get clear reports on your security posture. You can define your own rules or use common standards.

We are now actively developing our SaaS offering, planned for a beta release around June 2025. The key feature will be an AI-powered security administration agent specifically designed for cloud environments (initially targeting AWS, GCP, Azure). Instead of just reporting issues, this agent will aim to provide proactive, actionable recommendations and potentially automate certain remediation tasks to simplify cloud security management and hardening.

We'd love for the HN community to check out the open-source project on GitHub. Feedback on the concept or the current tool is highly welcome, and a star if you find it interesting helps others discover the project! If the upcoming AI-powered cloud security agent sounds interesting, we'd be particularly keen to hear your thoughts or if you might be interested in joining the beta (~June 2025).

thank you !!
by mattkevan | 2025-04-30 13:04:08+00:00
That's a really good point, thank you.

Blender is another good example – incredible product with a great community. It's becoming the default choice for 3D now, unless you're working for a company that already uses something else. (As an aside, I don't use it much but really enjoy reading the release notes as they're well written, engaging and show how they're regularly delivering real value.)

Don't want to seem like I'm being down on open source - I'm not, it's genuinely a beautiful thing, but I would love to see more innovation and not just copying existing things. Or maybe I'm just looking in the wrong places, like someone complaining about how there's no good new music but never listening further than top 40 radio.
by joshstrange | 2025-04-30 13:04:18+00:00
"I am not an economist"

But from what I've read/heard/understand tariffs can have the effect of on-shoring but only if they are fixed an unlikely to change/fluctuate. On-shoring production is not quick. Some Trump rep made a comment about how they delayed the tariffs on phones/computers 3 months because "Companies would need time to move production" which is just laughable, as if anyone could move production in 3 months (let alone 3 years).

None of it matters since the Trump admin changes its mind like it changes its socks. No serious company is going to do more that PR about how they are moving production back to the US because they can very easily get burned when Trump changes his mind. Moving production is a massive task and getting caught half-way through with policy changing (making it no longer profitable) could be a death blow to some companies.
by Sesse__ | 2025-04-30 13:04:23+00:00
The first version is more readable, faster for small n (which is the common case), can not run out of memory due to the hash table, compiles to less code, does not need item to be hashable and cannot accidentally copy elements (depending on language). It _should_ be your default. (Well, except you should start from the items after item1, so that you don't need the item1 != item2 test.)
by llm_nerd | 2025-04-30 13:04:53+00:00
It isn't just China, and it isn't just goods.

Tourist travel to the US has contracted, for instance. US service exports are suddenly extremely suspect and a lot of countries are finding alternatives. US goods exports are facing massive headwinds, and counter-tariffs in some other countries (China, where imports from the US have basically stopped, and Canada where $400B+ of US goods were sold last year, many of which now see a counter-tariff and boycotts/replacement).

The situation is going to get much, much worse, and there is a serious sense of denial among both the market and many participants who seem to think Trump can retreat from his economic folly and everything will be good again. It won't. There is a massive structural shift that is going to linger for decades.
by shayway | 2025-04-30 13:05:02+00:00
Hah, I've been scraping HN over the past couple weeks to do something similar! Only submissions though, not comments. It was after I went to /newest and was faced with roughly 9/10 posts being AI-related. I was curious what the actual percentage of posts on HN were about AI, and also how it compared to other things heavily hyped in the past like Web3 and crypto.
by ilrwbwrkhv | 2025-04-30 13:05:25+00:00
Tesla is one of the scammiest companies in existence. I have developed a deep hatred of them over time. They are a classic example of why tech is hated. Tech could have been this absolutely beautiful thing for the world, and instead it became a giant Ponzi scheme. I really wish Tesla was fined heavily for lying about everything for so long.
by simonw | 2025-04-30 13:05:39+00:00
That's what makes me think it's legit: the root of this whole issue was that OpenAI told GPT-4o:

Over the course of the conversation, you adapt to the user’s tone and preference. Try to match the user’s vibe, tone, and generally how they are speaking.

https://simonwillison.net/2025/Apr/29/chatgpt-sycophancy-pro...
by potato3732842 | 2025-04-30 13:06:03+00:00
>It's our own dumb fault

Our being the office working city/suburb living HN posting white collar types who have no visibility into the non service parts of the economy beyond what is made available in our investment account dashboards.

The industrial workers, the farmers, the blue collar tradesmen, none of them wanted this even back in 1995 or 2005, the evidince that rampant outsourcing was bad in the long term just wasn't concrete enough for their opinions to gain traction and there were other seemingly more important issues that decided elections back then and we did make a lot of money selling our economy out so everyone was willing to let outsourcing hum along even if they didn't like it.

The people who made bank shipping industrial tooling to the far east and bulldozing old factories, the middle managers coordinating with overseas suppliers, etc, etc. didn't want to do any of those things, they were uneasy about the long term impacts but they did it anyway because the managerial class structured the economy such that that's what they had to do to keep the lights on.
by motorest | 2025-04-30 13:06:09+00:00
> Internet psychoanalysis based on "telltale signs" is just seeing what you want to see especially if you're responding to a perceived personal slight. The people telling you they're having the time of their life also might be projecting to try not to feel bad for their life choices.

Not really. I've worked at a FANG for quite a few years and I can tell you from my own personal experience that in many ways it was the best job I ever had. The misery imagined by OP has no bearing in reality, and screams projection. I see it a lot, sadly. People are desperate to get in and when they don't then they resort to shit-talking things to try to make themselves feel better.
by throwaway7894 | 2025-04-30 13:06:12+00:00
Right, but they'll underprice just below the floor price for the imported good, because why would businesses leave money on the table?

The choice for consumers won't be "choose between a $5 item and $15 item" it will be "choose between $13 and $15", like I mentioned above.

This doesn't work as easily if the sticker price for the imported good is $5 and the real price displayed at the end of the purchasing funnel. The local business will have to keep its sticker price at $5 to avoid losing customers when they initially compare goods or rely on customers to come back to them once they get faced with the tariff tax, which will also lose customers.
by mitchitized | 2025-04-30 13:06:29+00:00
Hey, there's a really cool new tool that you could use to add this feature, I think it was called 'memex' or something like that.

(sorry couldn't resist)

Been playing around with this for a day and found it intuitive and fun to use. A little scary on the "but how much will this cost me if this becomes a frequently-used tool?" question. Can't wait to point this at local models, too!
by JoeAltmaier | 2025-04-30 13:06:36+00:00
The best place for solar is on a large, easily-maintained farm near a good grid connection on flat level uninhabited ground.

Roofs fail on most of those. Likewise 'solar roads' and 'solar parking lots' and 'solar rail lines'. Mostly naive suggestions where the only positive feature is It's flat! But not level; not even tilted in the right direction to get efficient collection.
by roxolotl | 2025-04-30 13:06:48+00:00
Yea the funny thing about oil prices is that if they go too low there's no longer a reason to pump. The US was the world's largest oil producer in 2024 but prices below about $60 a barrel mean most of that pumping isn't worth doing.

It's very rare that prices going down is good. It usually results in a spiral that is negatively self reinforcing. Price stability is what you generally want.
by amazingamazing | 2025-04-30 13:07:11+00:00
that is good to know. fundamentally we'll have to agree to disagree. I do not agree with experimentation with the populace's water supply as a matter of principal. fyi there's already plenty of evidence that supplements are useful for those that are sufficient. of course the main counter argument is that if you're eating a balanced diet supplements are unnecessary (which is true). though that's just about as helpful as saying water fluoridation is unnecessary because you can brush your teeth (which is also true).
by mexicocitinluez | 2025-04-30 13:07:58+00:00
I don't disagree that those in power don't necessarily see this divide as a bad thing. And I gave a ton of leeway to those who voted for him in 2016. But a lot has changed since then.

what's even worse is not just how stupid things are, but how mean they are as well. And I absolutely not saying that calling them stupid is a solution, but it's THE ONLY LANGUAGE THEY UNDERSTAND. Seriously. The last 8 years have been chalk full of articles and pieces on how Democrats can reach those people, and they all essentially say the same thing: They like that he's an asshole. So fuck them.
by this_user | 2025-04-30 13:08:02+00:00
A lot of companies were building up inventory in Q1, which allows them to buffer the immediate impact. Some are also absorbing the tariffs for now, which will compress their margins for Q2. I think most of them are hoping that we might get a resolution in the foreseeable future, and then they at least have some clarity. But if that does not happen, we are going to see the full inflationary impact from tariffs eventually.
by 0x0203 | 2025-04-30 13:08:44+00:00
I just wanted to share this because these kind of well thought out, deliberate, and maybe even slow release schedules make me happy. Especially for programming languages. There are well-supported releases of incompatible versions with a long enough overlap and plenty of advanced notice that people can update and migrate on a schedule that makes sense for them and they can plan for it accordingly. And as a developer, I'm not constantly having to figure out what's suddenly changed and figuring out the new right way of doing things.

Maybe my perception of reality isn't all that accurate, but it surprises me that so many other popular languages don't seem to value this sort of development. Many people don't seem to like languages like Tcl or C, but you know exactly what you're getting if you use them, and there's value there that I appreciate.
by sam_lowry_ | 2025-04-30 13:08:54+00:00
Maybe one day, but so far I see one important difference.

Russia is highly centralized, so whoever operates in Russia has to not only abide by its laws, but actively collaborate with the regime.

There is still a fair amount of dissent and chaos in US business circles.

But business leaders are shamefully silent in US indeed. I'd hope bg and pg and zuck and besos to take clear positions on tariffs, for instance.
by amazingamazing | 2025-04-30 13:09:07+00:00
> if everything was a coordinated lie there would be very clear numbers showing problems

that's not how science works though. people in the western hemisphere are becoming more unhealthy, and there is definitely not a consensus that fluoridated water is good. there are plenty of papers showing both conclusions.

at the end of the day though, there's actually no benefit to fluoride ingestion. no paper has shown this. what they do show though, is that when you add it to the water people have better tooth health, because the fluoride touches your teeth. however brushing your teeth is even more effective.

so can I assume that if there was research that breathing some chemically infused mist is good for you, you'd support the government in creating towers to spray this mist across the country? after all in this premise the research says it's good.
by HideousKojima | 2025-04-30 13:09:14+00:00
How are tariffs (and now basically significant tariffs on only China now) in any way similar to a centrally planned economy? Tariffs have existed in every country capable of enforcing them for all of human history, and they existed in the US prior to Trump, and will continue to exist after Trump. Even countries we have supposed "free trade" agreements with still get tariffed (and impose tariffs on our goods).
by ilrwbwrkhv | 2025-04-30 13:09:15+00:00
I think this is a common gameplay from companies which are basically reaching their peak of what they will be able to do, but they have to keep growing somehow. Duolingo is basically a dying company if you think about it, like the growth is done, the other company which recently made news, Shopify is another one of these. You do not see them 10xing their revenue in any way again, so they have to play all of these games to squeeze more from the company by basically cutting people, and these are all steps to that goal. I would expect again other companies like Dropbox to also follow a similar path.
by RajT88 | 2025-04-30 13:09:32+00:00
Default water, lol. What an incredibly, terribly, dumb argument. There is no such thing as "Default Water" - it neither exists in nature, nor in man-made systems. Good luck with that. We can - and should - modify our our systems in the interests of public health. Nothing comes without corner cases which impact people like you - them's the breaks. Life isn't fair, but we are engineering a society for the benefit of almost everyone in it.

People can choose not to drink flouridated tap water if they want - building a well isn't that expensive, although you will probably need a treatment system because of the naturally occurring stuff (minerals, hydrogen sulphide, possibly excess flouride and other stuff).

"Freedom isn't free", as they like to say. You may have to invest in your "freedom" to drink the water you want to drink. You will have to pay the price of your kids not getting vaccinated - they may not be able to go to public schools.

There are much bigger hills worth dying on (see: Flint, MI). Leave the wildly successful public health programs alone.
by gymbeaux | 2025-04-30 13:10:23+00:00
There’s a bill[1] sitting in the House of Representatives that would abolish the IRS and replace all tax code with a consumption tax. In typical fashion they’ve written it so it seems like the flat consumption tax will be something like 24% but it’s actually 30% (they word it as something like “24% of the total is tax” which really means “the tax is 30%”).

I’m curious when they plan on deploying this. It specifies a 3-year schedule so you think okay is this to be signed into law in 2025 so that the IRS is abolished during the next election year, or are they going to wait a year or two and have the IRS abolishment only “trigger” if Republicans continue to control the government beyond 2028? Or perhaps they will push it through if/when Democrats retake some or all of Congress in 2026?

One thing’s for sure though, the 1% will use cryptocurrency to dodge this consumption tax and it will (as usual) disproportionately affect the lower and middle classes, who aren’t as savvy in tax fraud/evasion/“loopholes”.

https://www.congress.gov/bill/119th-congress/house-bill/25/t...
by spauka | 2025-04-30 13:10:33+00:00
Without comment on the question of health benefits or harms, I'm curious whether you've had the well water you use tested. Fluoride concentrations in bore-well water varies quite widely, and concentrations higher than fluoridated tap water not uncommon. There are several areas here (in Aus) where fluoride is removed to reach the recommended concentration of 0.5-1.1 ppm. This obviously varies based on location.
by cratermoon | 2025-04-30 13:10:37+00:00
I believe what's been happening for a number of years is that companies have gotten too averse to hiring the wrong person (someone they'll want to fire shortly after hiring) and too fixated on hiring the person who can "hit the ground running day 1". As a result, the number of candidates they consider a good fit for an opening tends towards zero. Meanwhile, there are people out there with skills, motivation, discipline, and experience ready to work, yet excluded from consideration for most jobs by any number of perfectly human and common imperfections.
by amazingamazing | 2025-04-30 13:11:18+00:00
> People can choose not to drink flouridated tap water if they want - building a well isn't that expensive, although you will probably need a treatment system because of the naturally occurring stuff (minerals, hydrogen sulphide, possibly excess flouride and other stuff).

that's hilarious because brushing your teeth is more effective, and cheaper than adding fluoride to water. I'm sure people in Manhattan will really get on building those wells.

at the end of the day there's not a single paper that actually says ingesting fluoride is water. they all correlate incidental fluoride contact on the teeth, due to it being in the water.

fact is, brushing your teeth is more effective and has no downsides. ingesting fluoride is bad and is discouraged literally not only by all dentists, but this fact is present on all toothpaste in the usa.
by semiquaver | 2025-04-30 13:11:32+00:00
> It usually results in a spiral that is negatively self reinforcing

In the case of oil, suppliers would stop pumping when it was no longer economically viable to do so, contracting supply and thus raising the price until it reached equilibrium. The same should be true of other goods. Why do you think that decreasing prices tends to create a downward spiral?

The price signal cannot function if it can only move in one direction.
by this_user | 2025-04-30 13:12:49+00:00
The people in denial are mostly retail traders who keep buying the dip, because they don't understand that the market has fundamentally changed. A lot of the big portfolios, at least the reasonably smart ones, have de-risked and are not eager to jump back in aggressively. But that also means that structural bid that had been underlying the market since 2020 is no longer present. And that means things can fall a lot further and quicker than most people who came into the market after 2020 can imagine.
by mschuster91 | 2025-04-30 13:13:00+00:00
Let's assume that Trump actually has a point in divesting from China (which, I think, he has - his disastrous approach to it aside).

The Democrats could never do anything against China that imposes short-term economical pain because their own voters would immediately punish them for it and the entire media from left to far-right would put them under fire. Even marginal economical pain has immediate political consequences - I'd argue that Harris' loss was mostly due to rising and unanswered problems about exploding cost of living, chiefly eggs.

The Republicans however? They still have the same constraint from the left to center media and voters - but crucially, their own voter base is so darn high on their own supply (and their media has long since sworn fealty to even the most crackpot people), they are willing to endure anything because their President told them to.

It's "Only Nixon could go to China" all over again, and frankly it's disgusting.
by bluGill | 2025-04-30 13:13:08+00:00
We do need and have a goal. As a taxpayer I'm paying for school for kids other than my own. If there is no goal of that, then I am wasting my money: give me that back so I can go on vacation. Let those kids play in a park or whatever instead of spending time in school.

The goal is wide and open ended, but there is a goal. Likely others can word it better than me, but it goes something like this: "to produce kids that grow up to be productive adults that contribute to society and make the world a better place."

We all are not the same, and even if we were there are many different needs. I need someone to haul my trash to the wherever it is handled, but my city only needs a few hundred such people (thousand?). A few other people need to ensure I have clean water. A lot of people need to ensure I have food. Some of them need to provide medical care. Thus we need to have multiple different outcomes (if you are just hauling trash you need less education than the medical doctors, while the person designing the dump needs more education than a basic nurse).

Because of the different needs in society there will and must be debate over what the curriculum should be. There is no way to teach everything. Time spend teaching one subject is time that cannot be used for a different one. There are many different ideas how to teach, and we need better science to figure out what really works.
Ask HN: Who decided codenames were a good idea?
by thanzex | 2025-04-30 13:13:29+00:00
Forgive my possibly young take and mix between a rant and a question on this topic, but who in their right mind decided that using codenames to identify a particular software version was a good idea? For the longest time this has always completely infuriated me, at first, when I usually helped my family members with their apple devices, I had to work with "It worked with High Sierra" or "the software page says it needs Big Sur", which mean absolutely nothing to anyone not actively using these codenames.

Then I happened to become interested in software and become a SWE which forced me to again butt my head against this as the whole Linux world decided to go down this path. Every distribution, some worse than others, decided to choose completely different ways of doing things, Mint uses female names, Debian uses Toy story characters and who knows what Ubuntu is doing. Some are alphabetically ordered, some not, again creating unnecessary friction in understanding which one is older. Some that are in alphabetical order already reached V, what happens then?

You want to download Debian/Ubuntu cloud images? The web directory is indexed by the codename, same for bugs on launchpad. Are you checking a GitHub repo to build a package locally? Be prepared to know that it no longer supports Bookworm. And please, remember the codename of all the VPSs and Linux boxes you have around the house or you'll have to check every time a package doesn't work right.

This then forces me and everyone else to go the extra step of looking up which codename corresponds to which version, which is a complete waste of time. And even if you happen to know them, I would bet few people actually remember the mapping between codename and version after a few releases.

How did you come to terms with this?

TLDR: WTF?