MurphyA/hacker-news huggingface dataset:
by twic | 2025-04-01 01:04:24+00:00
Not in my experience. I run my applications with default integrity, and when i hit a problem, i find out what caused it, and fix it. Often it's just a matter of upgrading a library to a newer version which doesn't do naughty reflective things, or changing some config to stop it doing so, or changing our own code. We had a serialisation library which did deep reflection to be slightly more efficient at serialising BigDecimal; there was a system property to turn that off, so i set it. We had code doing deep reflection into JMX to get the current PID; i changed it to use ProcessHandle instead. My colleague wrote a little test data library which does some horrific things; i might delete it and adopt Instacio instead.

I think there's only one case where i ended up relaxing integrity, and i'm hoping that's temporary - it will take more time to fix than i was willing to spend.
by pseudo0 | 2025-04-01 01:04:41+00:00
Those numbers aren't implausible at all. It equates to about two months of sales during a normal period, and is easily explained by people who were planning to buy a Tesla in the next 3-6 months rushing to get their orders in. People are very motivated when there is a $5,000 discount on the line.

This just seems like sour grapes from traditional dealerships who subject their customers to multi-hour haggling sessions to close a sale. Is there any indication of malfeasance here other than Tesla selling a lot of cars?
by StopDisinfo910 | 2025-04-01 01:05:21+00:00
Lagarde allowed a different between Mr Tapis and the state to go to arbitration where a panel of three judges awarded the several millions - not her. This choice was found to be negligent by the CJR, a court composed mostly of politicians, after the pay out was invalided by the French justice system 8 years later. Lagarde was found guilty of pushing for arbitration as a minister when she shouldn’t have.

To quote the linked article: “The verdict came as a surprise as even the public prosecutor had admitted the evidence against Lagarde was “weak” during a five-day trial last week.”

This has absolutely nothing in common with what’s happening to Marine Lepen. Dozens of emails and messages prove that she presided over a setup designed to embezzle millions for the EU while being fully aware this was illegal.
by nigel_bree | 2025-04-01 01:05:21+00:00
Symantec left our team - which was basically identical before and after acquisition - pretty much alone beyond adding in some (badly needed) release process and i18n requirements.

Almost the entirety of the growth in the size of the imaging executable, which did get hugely bigger, came from a constant drive to add capability to the NTFS support to match the FAT support, most crucially to allow the images to be edited in Ghost Explorer. The initial NTFS support that Ghost had prior to the Symantec releases was really crude, basically the content in the .GHO file wasn't files, but a raw-ish dump of used disk extents that it tried to always put back in the same place to avoid having to fix up attribute runs, whereas the FAT16/FAT32 content was basically a file archive where all the filesystem allocation metadata got recreated on the fly.

Customers wanted and pushed hard to have NTFS images editable, and that made life really hard - the approach that was ultimately taken meant creating a full read/write NTFS implementation, and those aren't small. And the design of that code interacted really badly with the C++ exception implementation in DJGPP (which before that work had begun, I had warned them about), so that eventually exception frame information was taking up ~25% of the on-disk size of the UPX-compressed binary!
by ranger_danger | 2025-04-01 01:05:39+00:00
Anyone who has spent time in the mentioned channel knows that staff barely talk at all there :)

If they were any less active they would be comatose.

Now if they could put some of that manpower to use trying to keep all the regulars from showing their dogmatic god complexes so often...

That is the one thing that keeps me from participating much in IRC. The conversations are almost always dominated by the terminally-online regulars with very black-and-white thinking who believe they know everything and are extremely rude about it. And trying to call them out on it just results in personal attacks and then ME getting banned instead of them... then the appeal process consists of the opers also making fun of you and upholding the ban.
by pron | 2025-04-01 01:07:12+00:00
First, it's not a "crusade" but the steps necessary to deliver the features Java's users demand. Second, the prevalence of the use of JDK internals has dropped drastically, and demonstrably so. For example, many programs broke before internals were encapsulated during the upgrade from 8 to 9; 99% of the causes were libraries relying on internals, which had changed. Access to internals was closed off in JDK 16, although, as you say, it can be selectively allowed. And yet, between JDK 17 and JDK 23, changes of similar magnitude to the JDK internals caused nearly no upgrade problems. Upgrading the JDK now is smoother and easier than it's been in the last two decades. Why? Because there's been a large reduction in libraries' access to internals.

I think Java's handling of this transition compares very favourably to how other languages have handled similar transitions from some old model to a new one (or evolution in general) in terms of balancing the needs of both old and new projects.
by mattpallissard | 2025-04-01 01:07:31+00:00
> If systemd is the reason, there are several good distros without systemd

I totally get avoiding systemd, I don't myself, but I get it. The author on the other hand talks about the problems doing this in a professional setting. This I do not get. As far as management of large fleets of servers goes, systemd is quite nice. Yeah, it's odd for some things but as far as automation is concerned it's the way to go.

With systemd the same file syntax and management works for services, timers, mount points, networking, name resolution, lightweight containers, virtual machines. You literally have to write one parser and serialize to ini. Then you get distribution generic management. Upgrades? No problem? Moving to CentOS to Debian? Ubuntu? arch? Whatever? No problem. It. Just. Works.

Yeah, if you're in the know you can do better for specific circumstances, but in this day and age OS's are throw away and automation you don't have to refactor is paramount. For professional work, this flame war is over.
by _heimdall | 2025-04-01 01:08:10+00:00
A lot of people are uncomfortable having an opinion without being able to rationalize it.

I have to assume many, maybe most, people that give reasons like you mention just flat out don't want the policy and reach for a reason to justify it.

I can say I don't want gun control laws. Not because it doesn't work elsewhere or couldn't work here. I just fundamentally disagree with it and don't want to live in a place where the only ones with guns are state officials.
by vkaku | 2025-04-01 01:08:47+00:00
It is hard that people have to remember these options on a per-compiler basis. I'd rather prefer people use easy to remember flags like `-O2` than the word soup mentioned here.

Compiler writers should revisit their option matrices and come up with easy defaults today.

Disclaimer: Used to work on the GCC code for option handling back in the day. Options like -O2 map to a whole bunch of individual options, and people only needed to remember adding -O2, which corresponded to different values in every era and yet subjectively meant: decently optimized code.
by harimau777 | 2025-04-01 01:09:22+00:00
I think that sort of analysis ignores the things that we gave up to get our golden age; such that a return to normal would actually mean ending up worse than we were before in many ways. We accepted Capitalism's race to the bottom in exchange for the benefits of consumerism. Now we are being asked to give up consumerism but there's no indication that we will also go back to a time before everything was cheaply made plastic crap.
by GuB-42 | 2025-04-01 01:09:31+00:00
When someone who dislikes most things says he dislikes something, it carries less weight than when someone who is naturally enthusiastic does.

Hayao Miyazaki disliking AI is just Hayao Miyazaki being himself. Had he been enthusiastic about it, it would have been very noteworthy.

It can probably be modeled using Bayesian statistics or something.
by naasking | 2025-04-01 01:10:21+00:00
> the original refutation was "fluoride in the drinking water concentrations is proven safe and it doesn't affect brains".

No, this is the original claim:

> but it turns out that there are a decent amount of good studies showing a link between fluoride in water and (slightly) lower IQ when pregnant mothers ingest the fluoride.

Then the parent replied that this IQ link is lacking evidence, which it's not, per the meta-analysis I cited.
by sh0000n | 2025-04-01 01:10:55+00:00
Inspired by Carbon -(https://carbon.now.sh , I wanted to build a simple tool for easily sharing binary snippets. HexShare is a hex-sharing tool designed for viewing and sharing binary data with colorful byte highlighting. It works entirely offline, running client-side with no backend. You can generate visually appealing images of your hex bytes with annotations and also share configurations via a link.
by twic | 2025-04-01 01:11:59+00:00
It strikes me that we could have a way to reflectively create an object from values for all its fields in a single step - similar to what record constructor does, but for any class (could even be Class::getCanonicalConstructor, returning a java.lang.reflect.Constructor). It would be equivalent to creating an uninitialised instance and then setting its fields one by one, but the partly-initialised object would never be visible. This should probably be restricted, because it bypasses any invariants the constructor enforces, but as you say, ultimately serialisation libraries do need to do that.
by ketzo | 2025-04-01 01:13:37+00:00
I just think you’re totally wrong about that, to be honest. It’s very strange to me to paint every AI researcher as an unfeeling robot who does nothing but read PDFs, who’s not remotely interested in how their work will ever be used by real people.

No, frontier model researchers are not learning about the concept of AI from Twitter.

But it’s one more piece of visibility, one more sense of “hey this company is actually doing stuff with their models,” that absolutely contributes to where these insanely in-demand people choose to do their work.

> Leading edge chip designers at TSMC didn't end up there because they ended up playing graphic intensive video games

What a baffling and wrong example! I mean, I guess I don’t know about TSMC specifically, but tons and tons of technologists have an origin story that rhymes with “I was really into computer games, then got curious how they worked”

This is my whole point: engineers are real people, and real people are fascinated by the uses of AI!
by karteum | 2025-04-01 01:14:32+00:00
It's 12 years old now, but I am still extremely impressed by this 64k intro https://geidav.wordpress.com/2013/04/14/making-of-turtles-al... and also by this 4k intro https://www.youtube.com/watch?v=_YWMGuh15nE :)

And overall this website is extremely interesting with tutorials and code and great explanations https://iquilezles.org/
by eru | 2025-04-01 01:14:34+00:00
OK, but this one is a pretty funny rebuttal:

> In 2000, Oracle attracted attention from the computer industry and the press after hiring private investigators to dig through the trash of organizations [...] When asked how he would feel if others were looking into Oracle's business activities, Ellison said: "We will ship our garbage to Redmond, and they can go through it. We believe in full disclosure."
by StopDisinfo910 | 2025-04-01 01:14:48+00:00
> the decision was controversial because it was too "nice" with the former minister.

The decision was controversial because the elements presented as proof were weak.

Let’s not rewrite history and remember that Lagarde was guilty of pushing for arbitration where a panel awarded the sum and didn’t herself decide the pay out.

> Interestingly, the Lagarde case was not ruled by "regular" judges, but by a special court "of politicians, by politicians, for politicians"

This is not what the CJR is. It’s a special court which is only competent to judge actions committed by members of the government as part of their function. It mixes elected members of the parliament and senate (six each) and two judges.

It’s important to realise that before the CJR was created, there was only members of parliament in its predecessor the Haute Court and it was never called granting de facto immunity to ministers.
by KennyBlanken | 2025-04-01 01:16:43+00:00
Either you can believe that four dealers sold eighteen times the countrywide sales per day

after an +80% drop in sales

in a country that has one tenth the population of the US

whose CEO was/is probably the second-most hated person in Canada

and all of the sales qualified for the rebate despite most of their models not qualifying for the rebates

and Tesla's vehicle sales were exactly enough to completely drain the fund but not a penny more

...or you can think that this is almost certainly fraud.
by cycomanic | 2025-04-01 01:16:44+00:00
Not sure if you're trolling or seriously underinformed. Firstly, since when is building compute clouds manufacturing?

More to the point though, a large portion of manufacturing machinery is in fact build in Germany and the Netherlands (ASML is probably the most famous example, but others include Festo, Bosch ...), you'll find hardly an advanced production line which doesn't run on machines build in Europe. Interestingly most of the companies behind this are smaller size businesses, it seems like the European business sphere does not tend so much toward large corporates (although I could be wrong here, I have not seen any statistics).
by harimau777 | 2025-04-01 01:17:08+00:00
Part of the problem is the whole "In the long run, we're all dead" thing. If things are going to be bad for the next 30 years, that's most of the rest of my useful life. If my life leading up to this point was miserable and the rest of my life is going to be as bad or worse, then I'm not sure I care how things will be in 200 years.
by spartanatreyu | 2025-04-01 01:17:58+00:00
`attr()` has had terrible support which is a shame because it's been around for ages and could have let us do a lot of things without having to implement stuff manually.

There's another way to try it though...

I'd try putting two separate <span>s inside each option, one for the short description and one for the long description.

I'd hide one span with css if it was inside an <option> tag.

I'd hide the other span if it was inside a <selectedoption> tag.

That would probably work.

The papercut would be that when gracefully degrading back to an ordinary select element, it might show both the short and the long selections which depending on how you write the content may or may not be an issue.
by wpm | 2025-04-01 01:18:40+00:00
I don't care. We don't have to wait for Apple to show they're untrustworthy before we hold them at arm's length like we hold any other app developer or advertiser.

Apple has convinced a lot of people through sheer PR force that they are 100% trustworthy and therefore all of their restrictions and self-bypasses of those restrictions are warranted. Either all of it is OK, or none of it is, unless Apple enjoys getting it wrong and getting fined.
by ggm | 2025-04-01 01:19:07+00:00
People may not realise that the US Secret Service was formed in the late nineteenth century precisely because of risks to the integrity of the US finance system expressed in money: Forgery was why they exist at all.

If you look at a french revolutionary Assignat, it says "Le Loi Punit de Mort le Contrefacteur" -and with good reason. The print quality was so crap, forgery would be trivial. Thats probably why high denomination banknotes had real signatures on them for a while. -I bought a couple to give as a gift and keep one. They're surprisingly robust given how old they are (1790s) and they cost about the same amount in todays disposable income as their face value, but obviously I paid for them as a collectable, not as a negotiable bond of value. I think if I presented one at the french national bank they'd decline to convert to euros but at scale, a conversion factor from many former currencies exist: Certainly pre-euro Franc conversion rates are maintained because debt denominated in Franc still exists. Thats the new franc, not the old devalued one, which was I think the third or fourth run at a franc because it kept losing value. (do NOT mention the lire)

They got the second mission because of McKinley's assassination.
by autoexec | 2025-04-01 01:19:19+00:00
Apple's track record on privacy isn't really much better than Google's.

Google and Facebook also insist that they never sell the massive amounts of personal data they collect on their users.

That doesn't mean that your data isn't being exposed to random people or that it isn't being used against you.

https://www.theguardian.com/technology/2019/jul/26/apple-con...
by nyarlathotep_ | 2025-04-01 01:19:53+00:00
Costs have been increasingly hard to justify given the wealth of information the internet provides, for some time now. Often, a sufficiently motivated person can piece together a lot of material themselves, given a general "structure" of topics/material.

Lots of textbooks floating around out there too.

LLMs add another layer to this. In many cases, the whole thing is looking a bit silly (at least at the state level)
by toomuchtodo | 2025-04-01 01:21:19+00:00
The EU is a greater share of global manufacturing than the US [1]. Are you comparing real manufacturing to cloud/search providers, GPUs, and generative AI that has shown questionable value? Airbus has an order book ~11 years long and Boeing is hanging on by a thread. Rheinmetall, Germany's largest defense company, is worth more than VW (as mentioned in this piece). The giga press hardware manufactured for Tesla was built by Idra Group in Italy.

I somewhat chuckle at the idea that they should be spitting out GPUs instead of electric vehicles, defense hardware, and aircraft (both civilian and military).

[1] https://www.brookings.edu/articles/global-manufacturing-scor...
by steveklabnik | 2025-04-01 01:21:37+00:00
> Does it interact with the borrow checker somehow?

Nope. The borrow checker cares about the control flow graph, expression vs statement doesn't matter.

> why does Rust make the expression/statement distinction?

I am not 100% sure. If I had to guess, older Rust was much less expression oriented, and then, over time, got moreso.

But also, I think it kinda just makes sense in general for the kind of language Rust is. Like, in Ruby, where everything truly is an expression, importing a file and then evaluating it has side effects. Whereas in Rust, 95% of statements are declarations, and of those 95%, the only ones you really use in a normal execution context are let statements. The rest are stuff like "declaring functions" and "declaring structs" and those don't really get evaluated in a language like Rust.

let being a statement is nice because it means it can only happen at the "top level" of a block, and not say, inside a loop condition.
by StopDisinfo910 | 2025-04-01 01:21:51+00:00
> Jordan Bardella is going to take her place and most likely win in 2027. He is well liked by people, he is young and he doesn't have a political legacy.

Considering Bardella past debating performance, this seems highly unlikely to me. The RN always polls high when they can stay silent and represent an easy way to express opposition. Sadly, this doesn’t remain possible during the presidential election where they actually have to defend a program.

Bardella will most likely be skewered alive by any competent opponent if he is the appointed candidate and manages to pass the first round (two big if).
by laborcontract | 2025-04-01 01:22:05+00:00
You can get unintended consequences from this, like forcing the increase of nepotism. If you look at South Korea, for instance, the Chaebol, despite facing some of the highest inheritance taxes in the world, still have a grip on power.

How? You keep the kids in management, you encourage lots of cross holdings between corporations so that even though the kids’ share falls, you enforce power through social contracts in the upper strata of classes that is horrible for shareholders and innovation as a society.

That said Porsche indeed is an exceptional company in many ways in both the innovative end as well as their holdings structure.
by nomilk | 2025-04-01 01:24:29+00:00
I just played for a few minutes and loved it. Chess variants can sometimes take too long to understand the rules so this was great (excellent ux). I think I'd have liked it a bit more if you get captured (lose and restart) when you move on a square that's being attacked (rather than losing a point).

I also enjoyed how it got a bit harder as the levels went on. And also how a stray pawn/piece might act as a hint (i.e. to capture on that square) - a bit like how side scrolling and adventure games might leave a trail of rings/bananas/collectables to guide the player along a desired path where it otherwise may not be obvious.
by antihipocrat | 2025-04-01 01:25:37+00:00
And what happens to the 1% where this fails? At the moment the responsibility is on the person. If I incorrectly book my flight for date X, and I receive the itinerary and realise I chose the wrong month - then damn, I made a mistake and will have to rectify.

An LLM could organise flights with a lower error rate, however, when it goes wrong what is the recourse? I imagine it's anger and a self-promise never to use AI for this again.

*If you're saying that the AI just supplies suggestions then maybe it's useful. Though wouldn't people still be double checking everything anyway? Not sure how much effort this actually saves?
by londons_explore | 2025-04-01 01:25:55+00:00
I'd like to see a slow-mo shot of a bad hitting a ball in the 'sweet spot' and not in the sweet spot, to see how they differ.

I assume that when not hit in the sweet spot a lot of the energy gets transformed into vibrations in the bat. Those vibrations then hurt your wrist/arm because flesh absorbs ~100 Hz vibrations far more than wood does.
by rchowe | 2025-04-01 01:26:40+00:00
Thank you. My day job is as an engineer in manufacturing so I felt like I had a unique opportunity to "build what I know" and have seen people use and enjoy.

It's a worthwhile project to build yourself. If nothing else I found out that I definitely do not like the date-fns library in JavaScript. I built it using AWS Amplify, and although I like that it scales to zero, but I think there are too many gotchas to Amplify, and especially DynamoDB, for a startup app that you want to move quickly on. I wrote up one of the major ones after I got really frustrated. [1]

Like I said in my original post, I am trying to figure out how to get it in front of the right people (who are less likely to be on HN). I have kind of decided that the B2C sales experience is not great unless you get a critical mass; my experience doing sales in manufacturing is working the booth at trade shows, talking to people about engineering, and using our process tools to develop a solution to the customer's problem. The more scattered "compete for attention" advertising/promotion sales model doesn't seem great unless you have a lot of money behind it.

I'm rambling, but if anyone likes this or feels it needs a certain feature, feel free to reach out. If you're in Boston / Providence I'll happily grab a drink with you.

[1] https://gist.github.com/rchowe/1db32f1f26d74688a9b4083a19f6a...