MurphyA/hacker-news huggingface dataset:
by dralley | 2025-04-10 16:04:03+00:00
Yet another reason why I'm not a fan of Richard Stallman.

Most of the decisions he made over the past 25 years have been self-defeating and led directly to the decline of the influence of his own movement. It's not that "the GCC project" avoided that for ideological reason, Stallman was personally a veto on that issue for years, and his personal objection led to several people quitting the project for LLVM, with a couple saying as much directly to him.

https://gcc.gnu.org/legacy-ml/gcc/2014-01/msg00247.html

https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00...

(both threads are interesting reading in their entirety, not just those specific emails)
by Timber-6539 | 2025-04-10 16:04:18+00:00
A nitpick. The two managed docker volumes created (at the very bottom) are not used by the container and only serve to cause confusion to the reader.

services: baikal: image: ckulka/baikal:0.9.5 restart: always ports: - "XXXX:80" volumes: - /mnt/baikal/data:/var/www/baikal/config - /mnt/baikal/data:/var/www/baikal/Specific volumes: config: data:
by taeric | 2025-04-10 16:04:23+00:00
I mean, easy things are easy to build?

It is not at all uncommon to have changes percolate out into larger impacts than you'd expect, though. Especially in projects that attempt whole program optimizations as part of the build.

Consider anything that basically builds a program that is used at build time. Which is not that uncommon when you consider that ML models have grown significantly. Change that tool, and suddenly you have to rebuild the entire project if you didn't split it out into a separate graph. (I say ML, but really any simple linter/whatever is the same here.)
by crabbone | 2025-04-10 16:04:57+00:00
I believe that the biggest problem is that different "compilers" do different amount of work. In the race to win the popularity contest many, and especially newer languages offer compilers packaged with "compiler frontend", i.e. a program that discovers dependencies between files, links individual modules into the target programs or libraries, does code generation etc. This prevents creation of universal build systems.

I.e. javac can be fed inputs of individual Java source files, similar to GCC suite compilers, but Go compiler needs a configuration for the program or the library it compiles. Then there are also systems like Cargo (in Rust) that also do part of the job that the build system has to do for other languages.

From a perspective of someone who'd like to write a more universal build system, encountering stuff like Cargo is extremely disappointing: you immediately realize that you will have to either replace Cargo (and nobody will use your system because Cargo is already the most popular tool and covers the basic needs of many simple projects), or you will have to add a lot of work-arounds and integrations specific to Cargo, depend on their release cycle, patch bugs in someone else's code...

And it's very unfortunate because none of these "compiler frontends" come with support for other languages, CI, testing etc. So, eventually, you will need an extra tool, but by that time the tool that helped you to get by so far will become your worst enemy.
by packetlost | 2025-04-10 16:05:05+00:00
I don't think it's actually "flattening" the enums discriminant spaces (though maybe it is). My guess is this is just 32-bit alignment requirement (ie. bytes 1:4 are padding) + sub-byte discriminant sizes. The surprising thing here is that the ordering of Outer's variants doesn't match the ordering as defined, instead having variant D's discriminant be 0 (0 << size_of::<Inner's discriminant>). size_of::<Inner> is actually 33 bits and size_of::<Outer> is 34 bits and then you just apply alignment requirements to each field. Actual size_of calls will account for alignment and padding, but the compiler knows the truth.

What's cool about this in general is nested match statements can be flattened into a jumplist (idk if rustc does this, but it's possible in theory).
by jeffbee | 2025-04-10 16:05:08+00:00
In 1hr Brightline can take you from Miami to Boca Raton, about 40 miles. In 1hr, Caltrain can take you from San Francisco to San Jose, which is also 41 miles. In 35 minutes, Amtrak Acela will take you from Boston to Providence, which is 41 miles.
by satellite2 | 2025-04-10 16:05:47+00:00
That's the thing here. We're so used at the concept of money that you described that it's very hard to reconcile with what money really is.

You can take any introductory banking system course and it will tell the same story. (I recommend Economics of Money and Banking by Perry G Mehrling)

It's not really a finished exchange.

Money represent a debt.

It's a one sided exchange against the promise of the completion of the other side of the exchange in the future (by someone else in this case).

It's like the amount in your bank account is not really money. It's a debt from the bank: the promise that it will deliver this amount as cash if you ask. (M1)

And money is so liquid that we never think about it that way. Except during hyperinflation periods. And bank account are so solid that we think about them as cash. Except during bank runs.

As a side note, the theory that barter really meaningfully took place is being challenged as there is no real evidence of this.
by sangeeth96 | 2025-04-10 16:06:20+00:00
It's mentioned in the README:

- If Caddy has not already generated a local root certificate: - Generate a local root certificate to sign TLS certificates - Install the local root certificate to the system's trust stores, and the Firefox certificate store if it exists and an be accessed.

So yes. I had written about how I do this directly with Caddy over here: https://automagic.blog/posts/custom-domains-with-https-for-y...
by haswell | 2025-04-10 16:06:58+00:00
I’m on board with your caveat. I have no issues with using AI to analyze the writing to identify potential issues. I currently use spell/grammar checking and I have no qualms about that. A more robust proofreader does seem useful.

To your point, I’d want to constrain such a review to identifying structural or consistency issues vs. the AI getting involved with the subject matter itself.

The issue I ran into the few times I wrote something and asked ChatGPT to read it and identify any issues was that it was all too eager to tell me how to massively restructure things. The result read like typical AI slop. This was a prompting issue on my part because I gave it instructions that were too open ended. Careful/restrictive prompting is definitely necessary to make this viable.
by fifilura | 2025-04-10 16:07:00+00:00
I don't make judgement. I just read the link, and the source seemed reputable.

But all I hear is "we want factory work back to Pennsylvania".

If the jobs pay too low, why would you want even more low paying jobs back to USA, sewing t-shirts, making sneakers, working in a factory?

And - specifically - why do the people that want that get so much influence?
by jeffbee | 2025-04-10 16:07:00+00:00
This is honestly just a dumb urban legend. SNCF wanted to run a route down I-5 which is highly problematic and would not have accomplished the goals of the project. After tossing around their politically impossible ideas for a few minutes, they went and did something else. CAHSR engaged Spanish civil engineering firms Dragados and Ferrovial instead.

There is only one skill that is important for building CAHSR and that is navigating the multiplicity of overlapping governments at the federal, state, county, and city levels and plotting a course through CEQA and America's ridiculous common law system to reach the end of the project. SNCF might have experience building railroads but honestly anyone can build a railroad and SNCF brings nothing relevant to such a project.
by Suppafly | 2025-04-10 16:07:17+00:00
>Wait, why do you need a shop to cash a cheque? Isnt that one of the last few things you go to a bank for?

In the US, a lot of poor people (and illegal immigrants) are unbanked. But also check cashing places also tend to do title loans (turn over your car title for a temporary loan) and other sorts of "fast cash" loans with usurious rates. They and pawn shops are they type of businesses that show up in areas of town where the cost of retail spaces drop.
by compiler-guy | 2025-04-10 16:07:18+00:00
> the parts that need rebuilding are the parts that read those files when they were last built...

...and the transitive closure of those parts, which is where things get complicated. It may be that the output didn't actually change, so you can prune the graph there with some smarts. It may be that the thing changed was a tool used in many other rules.

And you have to know the complete set of outputs and inputs of every action.

And on and on.
by kelipso | 2025-04-10 16:07:42+00:00
They could have had a mini primary leading to the Democrat convention in August and let the voters in the convention (electors?) decide from multiple candidates while taking polls into account, for example. Having a memory, I do remember people discussing the option of mini primaries. Harris wasn’t pre-ordained, she was just a bad decision that Democrat insiders made without input from the outside.
by SketchySeaBeast | 2025-04-10 16:07:44+00:00
Maybe that would help, but the claim is that mitochondrial dysfunction is the source of every "literally, the entire DSM" mental disorder, and that is an unbelievable claim, especially when the DSM runs the gamut from PTSD to Erectile Dysfunction to Caffeine Withdrawal. It says to me that it's a poorly considered claim.
Ask HN: Dealing with SPAM emails after you unsubscribed?
by magnetic | 2025-04-10 16:07:45+00:00
I unsubscribed from a marketing email list over a month ago. This is from a large pharmacy chain in the US that I suspect I got enrolled into during a medication purchase.

I keep receiving marketing emails from them, and when I click "unsubscribe", the backend keeps telling me "There are no email subscriptions associated with *@*". That means it did take into account my unsubscribe request the first time around, as it doesn't find me in the DB.

So their DB doesn't have me in there, but I still get emails.

I understand the challenges of distributed systems, eventual consistency, etc... and so it appears the entity sending the email is using an "old" DB with my email address in it, that isn't sync'd yet with my removal update, but after waiting for over a month, I'm beginning to think this will never stop.

How would you deal with that?
by 1970-01-01 | 2025-04-10 16:07:50+00:00
TLDR: The Italian way of doing acoustic, non-destructive testing of a material. This is also done in many other things such as pipelines, chairlifts, and welded metals or machines that have pre-recorded acoustic signatures or sound recordings. Hit it with a hammer, listen to the tone. If it sounds very different, inspect or reject.
by maeil | 2025-04-10 16:08:18+00:00
I still see many people here who, even now, still do not grasp that the country they're living in, on the government level, has joined the group of "China and Russia". It is no longer "China and Russia's imperialist authoritarianism are a danger to democracy across the globe, and we need to decouple from them.". It is now "China, Russia's, and the USA are a danger to democracy across the globe, and we need to decouple from them". For the first time in more than a century, we now have all of the geopolitical superpowers (of which there are currently 3), have very similar governments, based on a single paramount leader who holds in effect complete power and demands unconditional fealty from every single person in a position of power, subject to career-ending or soon much worse punishment. Not just to them, but to anyone in their vicinity, e.g. family or colleagues, to strike proper fear into them. See: non-Krebs SentinelOne employees having their security clearances revoked.

Let's take a look at this whitehouse.gov statement from the US.

> Yet in recent years, elitist leaders in Government have unlawfully censored speech and weaponized their undeserved influence to silence perceived political opponents and advance their preferred

For those desensitized, replace "elitist" in that sentence by "reactionary", "capitalist", "anti-revolutionist" or "intellectual", and re-read.

The earlier everyone faces the reality, the quicker something can be done about it. I propose at the very least, everyone starts saying "the USA" instead of "the US government" when talking about these topics, in line with how the overwhelming majority of the time, the actions of the Russian and Chinese governments are simply denoted by "Russia" and "China".

[1] https://www.whitehouse.gov/presidential-actions/2025/04/addr...
by bix6 | 2025-04-10 16:09:12+00:00
Disappointing behavior to say the least.

"On February 11, 2025, Blue Shield discovered that, between April 2021 and January 2024, Google Analytics was configured in a way that allowed certain member data to be shared with Google’s advertising product, Google Ads, that likely included protected health information. Google may have used this data to conduct focused ad campaigns back to those individual members. We want to reassure our members that no bad actor was involved, and, to our knowledge, Google has not used the information for any purpose other than these ads or shared the protected information with anyone."
by ilrwbwrkhv | 2025-04-10 16:09:39+00:00
> Your local web gangster

> My name is Pranshu, I'm currently an highschool student, on the way to become a proffesional freerider. I am ethniclly Indian(half Bihari and half Punjabi, for my brown brothers), you can find me in Brisbane, Australia, probably bathing in a public fountain.

Haha, so lovely. Reminds me of older times when the internet was cool and weird.
by themaninthedark | 2025-04-10 16:10:25+00:00
I agree with sibling post saying both but with a note.

(Most)Shitty job conditions can only exist if there is an abundance of labor; why can fast food joints get away with irregular scheduling? If the supply of labor is tight, jobs have to add bonuses to keep workers.

Why is health insurance tied to jobs in the US? Because during WWII, the government set limits on wages so companies started adding insurance and other items to attract workers.

During the GFC, what did companies do after cutting workers? Start cutting benefits, the workers couldn't walk since no one was hiring.

Look at pensions, they went away in the 80's. If you google why they went away, the answer is 401k became availible, however: https://en.wikipedia.org/wiki/Early_1980s_recession

> Even the “father of the 401(k),” Ted Benna, tells The Journal with some regret that he “helped open the door for Wall Street to make even more money than they were already making.” >Other experts agree: On its blog, the Economic Policy Institute recently declared 401(k)s “a poor substitute” for the defined benefit pension plans many workers primarily relied on, which provide a fixed payout for employees at retirement, and which have now become increasingly rare. Nowadays, “just 13% of all private-sector workers have a traditional pension, compared with 38% in 1979,” reports The Journal.

https://www.cnbc.com/2017/01/04/a-brief-history-of-the-401k-...

https://time.com/archive/6686654/a-brief-history-of-the-401k...
by breadwinner | 2025-04-10 16:10:28+00:00
Chris Krebs' key offense: "falsely and baselessly denied that the 2020 election was rigged and stolen".

Trump has asked the Department of Justice to investigate him [1]. Trump is actively weaponizing the DOJ... while saying he is ending the weaponization of Federal Government.

[1] https://www.theguardian.com/us-news/2025/apr/09/trump-justic...
by LinuxBender | 2025-04-10 16:10:50+00:00
Food: If you can afford it freeze dried foods last 25+ years (much longer if stored right). They maintain 97+% of their flavor and nutritional value. They can also be bartered with neighbors. Dehydrated foods are also an option, not quite as good as freeze-dried and then finally canned and foods with long shelf life like the ones you describe. Work on getting super healthy and fit now to reduce the impact of eating less than healthy foods in a crisis. There are also videos that show how the Amish prepare and preserve foods though I would avoid most of their unhealthy food selections.

Water: Numerous 5-gallon BPA free containers with water (5 are easier to carry) and a small amount of peroxide to keep anything from growing in it. Read up on water treatment as there are several options and one must get measurements right or the water will be unsafe to drink in a year. Avoid streams and filters. They do not work as advertised and getting diarrhea will deplete you of water. Those are absolutely last resort. Filtering rain water if the system is set up to do a first-flush of bird poop is a little safer but still requires chemical treatment. Research how deep the water table is at your location. If shallow enough you may be able to make your own DIY hand-pumped solution. That will also need basic filtration to remove large minerals and dirt.

Heat: Wood stove and a lot of seasoned wood can last a long time. One can usually find more wood. Propane services, deliveries, trucks will not be available. Use it while you can but then consider the multiple uses of a wood stove. If your country bans wood stoves then just don't tell them you have one. If you have time to build it, you can make an insulated green-house with large black containers of water essentially heat batteries that can store heat from the sun using water. Some people use clay-filled boxes that face the sun with tubing in them. You can use filters and vents with solar powered low speed fans to peel some of that heat off the green-house for your home. Compost can also produce heat.

Communication: Weather band emergency radios today are multipurpose. Some have very large batteries and solar that can charge themselves and your phone assuming cell sites are still working. A combination of FRS (UHF) and CB radio (HF) are great if your neighbors have them. FRS radios are cheap and easy to charge with solar. Many models of FRS radios also have built in weather-bands. Get a set of 12 or 24 of them so you can share with neighbors and have spare units. Coordinate channels and CTSS codes for different purposes in your neighborhood.

For DIY solar solutions check out Will Prowse [1]. He has an account on HN but no idea if he still comes here.

[1] - https://www.youtube.com/c/WillProwse/videos
by SamBam | 2025-04-10 16:10:52+00:00
I'm interested that their conclusion -- that Saturn could only support tiny life forms such as bacteria -- is not dependent in any way on the distance from Titan to the Sun.

Am I wrong in thinking that any life must require a steady input of energy, and that this must come from either solar energy or geothermal energy? Quick Googling says that Titan's core isn't known for sure, but probably isn't very hot.

If Titan's life were dependent of solar energy, wouldn't it's distance from the Sun imply very little energy to go around, and so very unlikely to have large organisms?
by jfengel | 2025-04-10 16:11:43+00:00
These aren't the leaders leaving. They're the rank-and-file.

We're seeing right now that a change to the status quo is at least as likely to be worse, not better. It's very easy to call for things to be different; it's very hard to come up with something different that gets wide approval.

So I get nervous when people call for "change", without specifying what change. And especially when they cite their inexperience as a virtue. (That applies to 80-year-olds as well as 30-year-olds.)

I do wonder if these Senators are missing an opportunity. The status quo gets to be the way it is because people fear the alternative will be worse. But we're rapidly reaching a point where the alternative cannot be worse.
by maxbond | 2025-04-10 16:12:03+00:00
It's been possible to automate this job away for decades, with no AI necessary. You could image these cheese wheels with ultrasound or X-rays and establish thresholds for the size of voids which are tolerable. This must be a concern wherever parts are cast, so surely there are off the shelf solutions. Presumably this isn't news to the relevant parties and they value having human battitores over the savings.
by observationist | 2025-04-10 16:12:33+00:00
Lawyers and people with lots of money figured out how to make even bigger piles of money for lawyers and people with lots of money from people who could make things like art, music, and literature.

They occasionally allowed the people who actually make things to become wealthy in order to incentivize other people who make things to continue making things, but mostly it's just the people with lots of money (and the lawyers) who make most of the money.

Studios and publishers and platforms somehow convinced everyone that the "service" and "marketing" they provided was worth a vast majority of the revenue creative works created.

This system should be burned to the ground and reset, and any indirect parties should be legally limited to at most 15% of the total revenues generated by a creative work. We're about to see Hollywood quality AI video - the cost of movie studios, music, literature, and images is nominal. There are already creative AI series and ongoing works that beat 90's level visual effects and storyboarding being created and delivered via various platforms for free (although the exposure gets them ad revenue.)

We better figure this stuff out, fast, or it's just going to be endless rentseeking by rich people and drama from luddites.
by AStonesThrow | 2025-04-10 16:12:55+00:00
Look at it this way: the United States is such a gigantic territory with a broad spectrum of different peoples and cultures.

It’s like asking if Africans are welcome, or are Asians welcome?

I think any tourism or hospitality industry will welcome anybody who is polite, courteous and spends money. That’s the bottom line, literally. Bonus: most Americans understand English and spend $USD!

Anyone who will check into a hotel, spend money on taxis, dining, and entertainment, doesn’t get into illegal shit, and purchases souvenirs? That’s a welcome tourist.

Of course, that’s assuming that Americans travel for conventional tourism. If you’re going to travel for a protest, or to smuggle drugs, or to advance some political agenda, then that’s not really tourism. Or if you’re a member of a women’s basketball team and you’re casually smuggling marijuana... all bets are off.
by haswell | 2025-04-10 16:13:06+00:00
It makes me happy to hear this about the “No AI” badges you’ve encountered.

> It’s fraud, there’s no other area where we’re alright with passing off something generated as hand made.

This is something that bugs me as well. One of the signals that’s very useful when hiring is to read a person’s blog, GitHub etc. I’d want to know that what I’m reading was actually written by them, especially for roles that require writing in some form.
by iamleppert | 2025-04-10 16:13:16+00:00
He doesn't mention how he calibrates the camera extrinsics or intrinsics. This isn't new, it's basic structure from motion. He is going to be amazed when he "discovers" photogrammetry and bundle adjustment next.

I checked out the code and there is no consideration for camera parameters it seems. It's a neat demo but impractical given the need for precise camera calibration over distance. Long baseline stereo has problems unless you can figure out how to keep the cameras aligned within fractions of a mm over great distances.