MurphyA/hacker-news huggingface dataset:
by bcrl | 2025-08-12 14:50:13+00:00
It is important to understand why undefined behaviour has proliferated over the past ~25 years. Compiler developers are (like the rest of us) under pressure to improve metrics like the performance of compiled code. Often enough that's because a CPU vendor is the one paying for the work and has a particular target they need to reach at time of product launch, or there's a new optimization being implemented that has to be justified as showing a benefit on existing code.

The performance of compilers is frequently measured using the SPEC series of CPU benchmarks, and one of the main constraints of the series SPEC series of tests is that the source code of the benchmark cannot be changed. It is static.

As a result, compiler authors have to find increasingly convoluted ways to make it possible for various new compiler optimizations to be applied to the legacy code used in SPEC. Take 403.gcc: it's based on gcc version 3.2 which was released on August 14th 2002 -- nearly 23 years ago.

By making certain code patterns undefined behaviour, compiler developers are able to relax the constraints and allow various optimizations to be applied to legacy code in places which would not otherwise be possible. I believe the gcc optimization to eliminate NULL pointer checks when the pointer is dereferenced was motivated by such a scenario.

In the real world code tends to get updated when compilers are updated, or when performance optimizations are made, so there is no need for excessive compiler "heroics" to weasel its way into making optimizations apply via undefined behaviour. So long as SPEC is used to measure compiler performance using static and unchanging legacy code, we will continue to see compiler developers committing undefined behaviour madness.

The only way around this is for non-compiler developer folks to force language standards to prevent compilers from using undefined behaviour to do that which normal software developers considers to be utterly insane code transformations.
by oliverc1622 | 2025-08-12 14:50:27+00:00
I used k-means clustering on MLB player percentile rankings to find data-driven player archetypes. The goal was to move beyond simple labels like "power hitter" and see what patterns the data revealed on its own. The algorithm found six distinct groups, including an 'Elite All-Around', a 'Contact & Speed' group, and a 'Three-True-Outcome' type. I wrote about the process here.
by phatfish | 2025-08-12 14:50:41+00:00
Spotify has my PI already. Wikipedia I was using today as normal.

The only people moaning about this are the ones ashamed of jerking off. Just own it, and this issue goes away. Who cares if a random company has your mug shot to do an age estimation, they know you jerk off, so what?

Just keep porn away from your kids please and let's hope we do better for the next generation.
by pjmlp | 2025-08-12 14:51:13+00:00
I kind of agree, I was there when Apple was showing up at CERN IT trying to sell OS X a great UNIX workstation, and also though .NET was going to be fully open source, and to this day we have to thank the community efforts from Avalonia and Uno, for the actual GUI frameworks that support all major consumer OSes.

Also Microsoft lost a big opportunity with Unity (not helping them updating .NET) and killing off XNA, two major ways how kids get into .NET.

That coupled with Unity's mismanagement, means indies are more likely to keep using C++ based engines like Godot or Defold, and losing yet another adoption vector. Yes Godot does support C#, but GDscript is winning the heart of indie devs.
by ergsef | 2025-08-12 14:51:19+00:00
There's a lot of nature to protect in Antarctica, and there are very strict rules. This guy is selfishly flaunting those rules and just paying to get rid of the consequences. Considering he's got a personal plane and pilot's license at 19 he obviously has rich parents who can buy his way out of trouble.

Donating to charity is not impressive if you're still rich after you donate. Me giving $20 to a homeless person is a bigger blow to my personal wellbeing than this guy's "donation".
by Alejandro9R | 2025-08-12 14:51:19+00:00
Yeah, he's completely clueless and has been commenting like he knows what he is talking about. Or is rage baiting on purpose. Sometimes its impressive the lengths people can go. Nonetheless, I've seen so many people on Hacker News beg for "simple websites" and that they are just "CRUD apps that don't need complexity" while completely dismissing what you've pointed out in the previous comment.

Of course, there are webs which are developed with the worst practices and bloated to oblivion. But even the best websites with the greatest UI/UX and perceived performance will have at least some complexity to it to give that experience to the end user. UX and simplicity done right is really a craft that mixes creativity, human psychology and technical skill.
by ljf | 2025-08-12 14:51:24+00:00
Nice - I tried libraries and also used friends club memberships - but I needed to do a lot of video calls, so a place I could talk freely was needed.

A friend of mine seemed to manage to join nice clubs early on good terms (and low costs), and ran a mobile advertising business for a good few years without ever having a proper office space - just working from home then the clubs as needed for meetings etc. But his line of work seemed rather boozy.
by greysphere | 2025-08-12 14:51:44+00:00
The similarity between divine right of kings and inheritance is that an unearned is transferred via circumstances of birth.

Your statements seem to extend that further: If you rent an apartment, you the property is owned by an landlord (lord is literally in the title!) and passed down by their wishes. Similarly if you work for Walmart for life, the company is owned and passed down by the Waltons. In these cases the property rights extend beyond life and are transferred via circumstances of birth, while the rights of labor end.

Interesting that IP rights are ended by death (or death+n years) as well. This line of reasoning suggests maybe that should apply to all property.
by thegio | 2025-08-12 14:52:13+00:00
I will not paid it until I have permanent job there and also I think after 3 years if they don’t do court they can’t because I will object if I living permanently there , anyway if they manage fast to make garnished of my salary I don’t have P konto mine is international bank , they can froze whole salary or not ? Is it possible to want arrest warrant ?
by Arainach | 2025-08-12 14:52:38+00:00
There is no undermining, as everyone living in the cities realizes.

In Seattle I'm sick of people who think the whole city burned down in 2020 or that you can't go downtown without a homeless person stabbing you with a needle. People who don't live here and watch Fox News are afraid. People in the suburbs who never go into the city are afraid. Anyone who spends any time in the city knows otherwise. For more than a decade I've walked the streets in every neighborhood here weekly, often after dark, carrying thousands of dollars in camera gear, not bothering to hide my watch, phone, or whatever, and never been harassed.
by parasense | 2025-08-12 14:52:43+00:00
I'm not sure what you mean by some of the things you write, but the part about Microsoft being "cool guy phase" was hilarious.

I'd say Microsoft buying GitHub was part of a strategy to not lose relevance in the world that moves slowly towards Open Source Software. Or put another way, the world moves in a direction away from Microsoft, and by capturing GitHub they can manipulate the outcomes that would otherwise have been adversarial to Microsoft interests. It's just like when Microsoft forked Java back in the 1990s, and later created .NET. The whole VSCode or Visual Studio thing... it's just Microsoft Word for software engineers, and the whole point is to create an ecosystem that locks people into the ecosystem.

To think in terms of what Microsoft does, you have to step back and look into economic theory, at least a little bit. There is this idea in economics about isolated economies, and integrated economies. For example, Europe or North America relies on cheap manufactured goods from China, and so China's economy is intrinsically linked (integrated) into the economies of Europe or North America. THAT is the idea of what Microsoft does. They start by adding value, a soft-dependency you might say, and then make moves to becoming a hard dependency... to put into terms of a dependency graph. Then they link to dependency graphs together GitHub into VSCode, OpenAI into VSCode, One Drive into GitHub or One Drive into Hotmail...

I'll say for sure, at least Microsoft has a strategy, unlike Google where they seem to have a lot of failed projects.
by tengbretson | 2025-08-12 14:52:48+00:00
> I’ve played a lot of Holdem, and I’m not sure I agree. A lot of what passes for skill is just an innate understanding of the odds.

"The odds", however, are not simply a function of the cards in your hand and the unknown cards in the deck. There are also the cards in other people's hands, and getting a good read on what they may be based on the person's behavior is absolutely a skill.

It's always entertaining to play poker with 1 friend who is very skilled at a table full of novices. They often get frustrated and crash out due to their read on other people's behavior being miscalibrated to the situation.
by mdaniel | 2025-08-12 14:53:39+00:00
I couldn't readily tell which number you typoed but from the linked page it's the former; it's a $6/year increase. However, I didn't comment just for the correction, I wanted to draw attention to the "for a long time" part so others wouldn't get sticker shock at the $299/year initial price, going down to $239/year for the 2nd contiguous year, and then to the aforementioned $179 from that point forward

And also to say that I firmly agree that $180 for a year of all access to the best development tools money can buy is a deal that I happily pay. I also get to use them for work, which for bigger orgs can save some red tape
by loudmax | 2025-08-12 14:53:52+00:00
You can, but you have to know where to look, and you have to have some idea of what you're doing. The benefit of Ollama is that the barrier to entry is really low, as long as you have the right hardware.

To me, one of the benefits of running a model locally is learning how all this stuff works, so Ollama never had any appeal. But most people just want stuff to work without putting in the effort to understand how it all fits together. Ollama meets that demand.
by DrScientist | 2025-08-12 14:53:52+00:00
Perhaps you think it's fine if I took a copy of ChatGPT model without permission and started a competing service - which was cheaper because I didn't have to pay for the training costs?

They haven't lost anything - just took a copy.....

Are they going to stand in the way of me making the output of chatgpt more widely available through my cheaper pricing?????

And note I'm selling access to the output - which is different everytime ( I use a different random number seed from them ) - so I'm not selling the copy of model per se...... perfectly fair use....
by tremon | 2025-08-12 14:54:03+00:00
Please stop this sophistry. Assisted dying is in no way comparable to "signing away your right to life". Even if you want to reduce it to such black and white phrasing (which, quite frankly, makes you come across as an asshole), it's actually asserting ultimate control over your own life. At no point in that process are other people allowed to perform acts not specifically authorized by you.
by Workaccount2 | 2025-08-12 14:54:20+00:00
If you read the comments of AI articles on Arstechnica, you will find that they seem to have becomes the tech bastion of anti-ai. I'm not sure how it happened, but it seems they found or fell into a strong anti-AI niche, and now feed it.

You cannot even see the comments of people who pointed out the flaws in the study, since they are so heavily downvoted.
by grayhatter | 2025-08-12 14:54:33+00:00
I'm using srctree https://srctree.gr.ht/repo/srctree

Hopefully you'll forgive me for shilling my own project. It's a source code sharing site with a few primary goals. First, don't break the back button. I started the project right around the time github broke too many critical features in short succession. The back button, the URL bar, and ctrl+f in the code view. I also want it to be easy to use as a federated collaboration tool. Ideally you'd start your own instance locally, get a familiar GitHub like interface for submitting patches anywhere, even by email. Or if you're hosting a project, you could have an always up instance that others could connect to.

The part I've been thinking about deeply the past few days is how to improve the discoverability of peer repos and forks. I want to create something github like in terms of collaboration, but also try to incorporate some of the best lessons from mailing list based repos where it's easy to grab and try patchsets (exposed as branches) from a 'fork' without losing the value of a cannon 'upstream' and without insisting that any specific upstream is where every single commit belongs.

The whole thing is written in zig without any dependencies other than git for some of the repo management features I haven't ported yet. (and for generating git blames) If you do use it, or notice any issues, or think it's missing features do let me know. I'm currently trying to decide which is the next most important thing to hack on :)

see also https://github.com/GrayHatter/srctree if you want to subscribe to updates (still a feature srctree lacks lol)
by unshavedyak | 2025-08-12 14:54:34+00:00
> and why in God's name are you being downvoted for calling this out??

Tinfoil hat time, but perhaps the bots don't like being called out? I don't actually take that statement seriously, but it seems an eventual avenue. They've long been seeding threads on Reddit to shape initial hive mind, i imagine that's going to get more advanced and widespread.
by acdha | 2025-08-12 14:55:04+00:00
Yes, density would have been a better choice - what I was trying to get at is that when you have a lot of people in close proximity you have more social interactions which can turn negative. For example, here in DC violent crime is largely limited to a few areas where drunk people get out of bars late at night and various crews are fighting over territory, so the numbers go up but most people in the neighborhood aren't affected. The crime rate always goes up in the summer because people are out on the street where they can get into arguments, and everyone's a bit touchy during a heat wave.

You certainly have things like rural gangs, too, but if things are spread out you just don't have that critical mass to ramp the numbers up. This also plays out in other types of crimes – cars get stolen anywhere there are cars, but thieves are playing the odds and it's easier not to attract in a dense population while they'd stick out if they started going up some stranger's driveway in a place where there's no other traffic. When that Kia lock exploit was in the news, there were bored teenagers basically treating street parking as a shopping mall because the supply was huge and until they actually touched a car there was no crime in walking down a sidewalk.
by thewebguyd | 2025-08-12 14:55:18+00:00
> Excel is a highly used tool possibly the most used tool and enables many users who do not consider themselves programmers to be productive with their PCs.

What frustrates me the most about this is I've seen some insane excel wizardry from the accounting department at various jobs over the years that is effectively programming, and that if these people had put just as much effort into learning Python & using a database, they'd be better off and might actually make good developers. In my view, Excel ends up becoming sort of an artificial barrier to departments outside of IT being able to make business software.
by rayiner | 2025-08-12 14:56:09+00:00
Cleaning up DC is item #11 on Trump’s 2024 platform: https://www.donaldjtrump.com/platform (“REBUILD OUR CITIES, INCLUDING WASHINGTON DC, MAKING THEM SAFE, CLEAN, AND BEAUTIFUL AGAIN.”).

Your complaint isn’t really about “dismantling democracy,” but instead about Trump running roughshod over all the Democrats who run DC even when the people elect a Republican President, such as the anti-democratic permanent civil service. DC is the people’s city. It is constitutionally a federal enclave, and under the DC Home Rule Act the President has the right to federalize the police. Trump did so to carry out the policies people voted for.
by throwway120385 | 2025-08-12 14:56:13+00:00
Chile has a right to regulate their territorial waters and sky however they see fit. Just because he has a PPL from the US it doesn't give him the right to totally ignore the regulations in a foreign country. Part of international travel is being respectful to the places that you're traveling through, like knowing their laws and customs and not assuming that you can just do whatever you want there because you've got a flight back in a few days.
by scotty79 | 2025-08-12 14:56:32+00:00
> There's a lot of nature to protect in Antarctica

I'm sure the entire Chilean military base with all the fuel they burn there and garbage they produce is built there specifically to protect Antarctic nature from occasional idiots in small planes.

He obviously can afford it, like the Chilean government could afford to put unnecessary military base there. Somehow when some government is stupidly splurging it's good and fine because they do it in accordance with rules, that they written themselves.
by jmyeet | 2025-08-12 14:56:54+00:00
Amazon already handles purchases on iOS and Android via their own payments infrastructure for physical good. Apple and Google carve out a weird exception for "digital" goods so you can't, for example, buy Kindle books directly on an app. You get directed to a website.

There is absolutely no reason sufficiently large companies can't handle their own payment infrastructure. You should be able to subscribe to Netflix, Hulu or Disney+ without paying the Apple Tax.

A 30% cut is somewhat defensible for small companies that have no payments infrastructure or simply don't want to manage that. There are all sorts of compliance issues. There's something to be said for a seamless user experience.

But 30% for a large company becomes a huge incentive for large companies to attack you in the courts (as Epic did or prodding Attorneys-General to file suit) or by lobbying governments.

I've consistently said that courts and/or governments will end up dismantling the app store monopolies because of the payment monopoly and it'll be far, far better for Apple and Google in the long term if that happens on their terms, not the terms set by courts and governments.

Qualify certain providers to handle their own payments and take 0-5% to pay for things like malware scanning, distribution, etc and you've addressed the strongest monopoly argument (ie payments) and reduced the financial incentive for competitors to attack you.

Attacking you could even risk your qualified payments partner status and you could lose that privileged position. It's such an easy win.
by estearum | 2025-08-12 14:57:11+00:00
Here is a running counter of the toll so far: https://www.impactcounter.com/dashboard?view=table&sort=titl...

We can reasonably anticipate these programs will be shuttered for at least another year, if not another decade (or permanently). We can argue here or there about the exact numbers, but it's a waste of everyone's time so I just provided a generous range instead.

At the end of the day... what exactly do you think the billions of dollars of food and drugs sent to unfathomably poor areas were doing if not keeping a huge number of people alive?
by ndriscoll | 2025-08-12 14:57:24+00:00
I don't see how that's related. The HATEOAS idea was that you send the client the relevant data and next set of possible actions with each response (e.g. a web page with forms for possible things they can do). If they try to perform in invalid action, you still just reject on the server. The client doesn't tell the server what it can do.

The point is you need the logic on the server since you can't trust the client, but you can make the client "dumb" with just super generic ability to show data and submit forms, and then you don't need to write your application logic a second time in the client. The server sends it instructions for the generic renderer to perform.
by wongarsu | 2025-08-12 14:57:29+00:00
%LocalAppData% is for files you wouldn't want to synchronize across multiple computers using the same account. Installed programs squarely fall into that category, even just based on size. %AppData% is also commonly used to install executables, but I'd consider that a bug. Just like putting your cache dir in %appdata% instead of %localappdata%
by ethagnawl | 2025-08-12 14:57:33+00:00
Oh, I agree that it's infuriating, frustrating and disappointing. My US-based stance is that, while there have been some encouraging developments on the right-to-repair front, more generally the rollback/demonization of regulations, de-fanging of CFPB et al all project a future where this sort of behavior is the norm for an ever increasing number of "critical" devices and we have no recourse. So, I think we have to be ready to vote with our dollars and reject these options, bend these devices to our will when it's possible and work around them when it's not.
by johnklos | 2025-08-12 14:57:39+00:00
Their reaction reminds me of when the Raspberry Pi Foundation tried gaslighting us.

RPi Foundation hires a cop and brags about how cop used RPis to spy on people. People got upset. RPi Foundation acts clueless and says vegetarians and vegans were upset because they posted a picture of meat.

Now Debian is less concerned with their core tenets and more concerned with winning popularity contests, as can be evidenced by their dropping of i386 support, for instance.

Instead of seeing an issue like this and raising an alarm, examining how this possibly happened, and discussing ways of making sure it doesn't happen again, they're like, "eh, so what?"

Debian, which for ages was the last big holdout of Linuxes becoming corporate, seems to have a bleak future.
by exabrial | 2025-08-12 14:57:42+00:00
No, Entry level jobs are disappearing because:

1. Over hiring 4-6 years ago by nearly every large and small corporation in America

2. The Federal Reserve flooding the economy with newly minted dollars that previously did not exist

Thinking at AI will replace jobs is one of the dumbest sales pitches ever and those whole keep falling for the nonsense lack an understanding of history.

Once we inventing textile machines we weren't like "Well looks like we're going to fix the production rate at my grandma's can treadle!". No, instead the standard for productivity slid and a new equilibrium was established. Workers simply became more efficient while output was increased.

Whats useful about articles like this though is you can add this company to your blocklist of "not actually doing anything useful, but capitalizing on hype anyway".
by scottyah | 2025-08-12 14:57:43+00:00
Grovel? I thought it was making fun of the POTUS. What made it even funnier was that it'd go right over DT's head. Excellent messaging- pleases the wanna be monarch, shows investors that he's willing to work with any country's heads to ensure the success of Apple, and makes a mockery of the office with such a gaudy display.
by microflash | 2025-08-12 14:57:55+00:00
Looks very interesting. Just signed up.

A few things that would make me actually use it: - namespaces (aka, organizations in GitHub terminology) - private repos (I usually start with private repos and then make them public)

The interface is really friendly and I like how approachable it is. You should make dedicated docs site instead of throwing folks at a bunch of markdowns. Maybe create a “Pages” equivalent and demo it by building a docs site?