MurphyA/hacker-news huggingface dataset:
by exDM69 | 2025-07-05 08:46:35+00:00
This right here illustrates why I think there should be better first class SIMD in languages and why intrinsics are limited.

When using GCC/clang SIMD extensions in C (or Rust nightly), the implementation of sin4f and sin8f are line by line equal, with the exception of types. You can work around this with templates/generics.

The sin function is entirely basic arithmetic operations, no fancy instructions are needed (at least for the "computer graphics quality" 32 bit sine function I am using).

Contrast this with intrinsics where the programmer needs to explicitly choose the mm128 or mm256 instruction even for trivial stuff like addition and other arithmetic.

Similarly, a 4x4 matrix multiplication function is the exact same code for 64 bit double and 32 bit float if you're using built in SIMD. A bit of generics and no duplication is needed. Where as intrinsics again needs two separate implementations.

I understand that there are cases where intrinsics are required, or can deliver better performance but both C/C++ and Rust have zero cost fallback to intrinsics. You can "convert" between f32x4 and mm128 at zero cost (no instructions emitted, just compiler type information).

I do use some intrinsics in my SIMD code this way (rsqrt, rcp, ...). The CPU specific code is just a few percent of the overall lines of code, and that's for Arm and x86 combined.

The killer feature is that my code will compile into x86_64/SSE and Aarch64/neon. And I can use wider vectors than the CPU actually supports, the compiler knows how to break it down to what the target CPU supports.

I'm hoping that Rust std::simd would get stabilized soon, I've used it for many years and it works great. And when it doesn't I have a zero cost fallback to intrinsics.

Some very respected people have the opinion that std::simd or its C equivalent suffer from a "least common denominator problem". I don't disagree with the issue but I don't think it really matters when we have a zero cost fallback available.
by tormeh | 2025-07-05 08:46:46+00:00
I don’t think this is uniquely Canadian. And it’s usually semi-rational, if you really hate dealing with switching. Most cheaper subscription providers will give you a good deal at first, then jack up the prices when they’re bought by a major provider. New cheaper providers are founded, and the cycle continues. The cheaper prices last for two or three years, or similarly short. Most people would rather take the loss than having to pay attention to this stuff.
by esseph | 2025-07-05 08:48:43+00:00
I used Debian for about 15 years.

Honestly? Fedora is really the premier Linux distro these days. It's where the most the development is happening, by far.

All of my hardware, some old, some brand new (AMD card), worked flawlessly out of the box.

There was a point when you couldn't get me to use an rpm-based distro if my life depended on it. That time is long gone.
by chii | 2025-07-05 08:49:18+00:00
the joke is a joke, and is meant to illustrate a point. However, i think it's actually illustrating a different point than the intended one.

The fact is, those economists valued watching someone eating shit at $100 dollars. How is that any different than someone paying $100 dollars to watch a concert?

It perfectly illustrates the idea that value is in the eye of the beholder.
by diggan | 2025-07-05 08:51:37+00:00
> it's interesting that some people are on the internet but is very well insulated

Not sure I'd call it "insulated", the internet is just very, very vast, even when considering "just" the English-speaking web. Then you have all the other "versions" out there too that are kind of hidden to most people :)

Anecdotal, but also first time I heard about AO3, and I'd consider myself having broad interests and generally well-read, although my interests doesn't include fanfiction so maybe not so weird I haven't heard about it before.
by Eikon | 2025-07-05 08:51:43+00:00
The technical vulnerabilities I reported are factual regardless of organizational relationships. The concerning issue here is that my private security disclosure was forwarded to a public, Google moderated venue, without consent. Then, I was banned from the same venue to prevent me from being able to defend myself. That’s the actual breach of good faith practice and was actually intended to create drama.

You apply obviously double standards to the same situation.
by Szpadel | 2025-07-05 08:52:02+00:00
I never wrote single line of zig code, but I follow it as an interesting language, so I might be missing something fundamental.

I agree that this looks extremely breaking, and feel like providing no compatibility layer fragments community, especially when you might have some unmaintained dependency somewhere that will never be updated.

there were similar situations when in rust some core libraries decided to alter its interfaces.

but I believe rust approach with editions is brilliant and could be adapter to other languages like zig.
by saubeidl | 2025-07-05 08:52:48+00:00
I am Austrian. My entire education was dedicated to the rise of fascism and how it could happen and how to make sure it never happens again.

I know what I'm seeing.

Don't believe me? What about subject matter experts that decided to flee the country? https://www.nytimes.com/2025/05/14/opinion/yale-canada-fasci...

Or how about an excerpt from a book written based on post-WW2 interviews of Germans? Does any of that sound familiar at all? https://press.uchicago.edu/Misc/Chicago/511928.htm

> They say, ‘It’s not so bad’ or ‘You’re seeing things’ or ‘You’re an alarmist.’

[...]

> "But the one great shocking occasion, when tens or hundreds or thousands will join with you, never comes. That’s the difficulty. If the last and worst act of the whole regime had come immediately after the first and smallest, thousands, yes, millions would have been sufficiently shocked—if, let us say, the gassing of the Jews in ’43 had come immediately after the ‘German Firm’ stickers on the windows of non-Jewish shops in ’33. But of course this isn’t the way it happens. In between come all the hundreds of little steps, some of them imperceptible, each of them preparing you not to be shocked by the next. Step C is not so much worse than Step B, and, if you did not make a stand at Step B, why should you at Step C? And so on to Step D.
by PeterStuer | 2025-07-05 08:54:38+00:00
From experience I think your 10% feels overly pessimistic. 30-40% feels more accurate, just like only about the same % that can survive an open plan or cubicle floor.

I see lots of people thriving in remote. Main reasons being a huge increase in quality of life. Regaining 2-3 hours of senseless commuting time per day, getting small household chores done over lunch, not having to schedule repair and maintainance appointments in the weekends etc. is huge.

Now I do agree it is not for everyone. I see especially younger people living alone not coping to well. Part of the reason is they (ab)used the office as a socializing place, and are not used to organizing a personal social life outside work. There's also people that don't actually have much work outside of attending office meetings, and nobody thrives sitting in Teams calls all day.

Then there's also real downsides. Some people living in shoebox appartments in the city just do not have the space. W While work can be done (more?) efficiently remote, but carreer climbing needs in person contact. It's like dating. Real dinner or a video call? No comparison.

Best of both worlds would be 0 commute time to a luxurious private office inside the company premises. All the rest will be tradeoffs and compromises either way.
by pavlov | 2025-07-05 08:55:06+00:00
Is there a more bizarre legislative process anywhere in the world?

The US Congress is practically able to pass only a single giant bill every year. To work around its own deficit rules, these bills are packed with taxation time bombs where rules have expiration dates or delayed starts several years in the future.

Then, if Congress doesn’t get around to defusing its own time bombs, you get situations like this R&D expensing fiasco where American businesses and employees pay the price. Unless the bomb is hopefully retroactively cancelled, like happened now.

On top of this madness, there’s an executive branch operating like a runaway autocracy, producing a flood of executive orders that intentionally flaunt laws and even target specific private entities (e.g. Trump’s attacks on law firms that worked for his opponents, and universities he doesn’t like).

How long can a nation function like this? If the bond market loses faith in this process, there could be mayhem. Will be interesting to see if the passage of BBB impacts US debt when markets open again on Monday.
by cwslowcay | 2025-07-05 08:55:51+00:00
I wrote a GBC emulator in Haskell (https://github.com/CLowcay/hgbc/tree/master). It's nice for modelling the instruction set, decoding and dispatching instructions. Optimization is tough though. To achieve playable performance, everything has to go into the IO monad. Haskell is famous for lazy evaluation. I found that occasionally useful, but mostly a source of performance problems.

Ultimately, the hard thing in emulation was not decoding instructions. It was synchronization, timing, and faithfully reproducing all the hardware glitches (because many games will not work without certain hardware bugs). Haskell doesn't help much for those things. If I was doing another emulation project I'd choose rust.
by woodpanel | 2025-07-05 08:55:57+00:00
Exactly. As a European I‘m accustomed to this sentiment by the urban academic caste. Our‘s is celebrating that ruralites are exposed to literal wolves again. Peak elitism on display.

As if there was some kumbaya coexistence in the past that represents nature. You know, you strolling down 5th Ave, sipping on your Starbucks, and the Coyote across the street, giving each other the nod.

The only actual Coexistence being you keeping a healthy distance from them.
by Tade0 | 2025-07-05 08:56:21+00:00
Hailing from an outsourcing destination I think I need to state the obvious: there exist IT jobs outside the US.

Americans have a... distinct work culture and companies - local and foreign - are not stupid, so nowadays they aim for the 50-75 percentile in terms of compensation.

On top of that you absolutely need to be fluent in English, which disqualifies half the candidates right off the bat.

All this combined makes it not obvious whether one would want to/could work for an American company - particularly if it's through various middlemen.

US used to be 100% worth it, but over the course of the last 25 years the ratio of GDPs per capita between USA and my country fell from 5.5 to around 3.75 and compensation naturally followed.

Lastly, the dollar fell 15% since the start of 2025 against my country's currency and that has had an effect on available openings.
by ben_w | 2025-07-05 08:56:36+00:00
Crimes Against Humanity under Article 7(1)(d) of the Rome Statute of the International Criminal Court:

Article 7 Crimes against humanity 1. For the purpose of this Statute, "crime against humanity" means any of the following acts when committed as part of a widespread or systematic attack directed against any civilian population, with knowledge of the attack: (a) Murder; (b) Extermination; (c) Enslavement; (d) Deportation or forcible transfer of population;

- https://www.icc-cpi.int/sites/default/files/2024-05/Rome-Sta...

Neither the USA nor Israel have ratified this treaty, but it's still what you might consider "not a good look": https://en.wikipedia.org/wiki/States_parties_to_the_Rome_Sta...
by fnordpiglet | 2025-07-05 08:57:10+00:00
I’ve been a part of the entire arc of offshored teams since the trend started in the late 90’s early 00’s. I’ve never seen it work. The primary issue is and always has been time zone related. While it doesn’t show to an accountant we do live on a sphere and there are implications to everyone. The solution is always to find some self contained effort for the remote centers but it never works because the entire company is pulling together and short of making the remote teams spin offs there’s no way to disentangle dependencies. And at some level even if you could management has to work cross regionally which isolates them from their center of power in the home office time zone. The root is the company is asking you to make immense personal sacrifice so they can save money if the model were to work. There is no upside to anyone other than the remote management in this situation so they burn out quickly and still fail because literally no one else in the company cares in any meaningful way. It’s unfair at its core and therefore fails.

The issues of quality and whatnot are at their core racist IMO but are made real because of the timezone issue. The norms and culture expected in the home time zones don’t translate easily and result in an impedance mismatch and a different measure of “good.” Because the remote team is isolated and unempowered they always struggle to adopt the standard of the team and to some extent can’t ever succeed in the quality space as it’ll be an ever shifting goalpost whose reasoning is effectively hidden. Then layer in the latent resentment on both sides and the whole situation is bound to fail, but the home teams have the advantage of being resident with the only management that matters.

I wish everyone involved would realize the experiment has failed. But CFOs are too powerful in most companies large enough to reasonably pull off outsourcing at all and the need for the CEO to please boards and investors who just operating off the financial statements and HBR white papers are too disconnected for why these efforts fail.

Unfortunately the current persecution of immigrants in the US will drive these arrangements more and more. Rather than on shoring local foreign talent with the collocated team, foreign talent will opt to avoid the fear society being birthed. This will lead to a strong incentive to follow talent to their home country leading to more imbalance in talent disoriented time zones. Maybe this would require everyone to figure out the above issues but I seriously doubt it. I think it’ll just make everyone less effective and not achieve anything positive for anyone.
by willguest | 2025-07-05 08:58:02+00:00
To have such capacity and drive, as well as critical self-reflection is a rare thing. I would first suggest some appreciation for the interesting and curious state of being that you seem to have developed. Nicely done!

My own route out of this trap was to explore theories of mind and, more profoundly, practices of no-mind. Doing nothing is much harder to achieve than doing something and can create a space for insight that the analytical mind cannot access. From this place, which is free of comparison and judgement, incredibly beautiful things can emerge.

If you would like to get to the root of it, I would suggest Taoist teachings and reading a few things by Krishnamurti. To understand the fundamental limitations of the mind can tell you something about who you through negation. For me, this has brought a deep sense of peace as well as an ability to use my mind in a more satisfying way.

Just my two cents :)
by einpoklum | 2025-07-05 08:58:03+00:00
From the article:

> Ahead of the 2024 general election, an opinion poll from Ipsos showed that Larry had a higher favourability rating (44%) and net favourability rating (40%) than both Sunak (22% and –36%) and Starmer (34% and –7%).

and this is for a lazy old cat who hasn't actually done his job in years, if ever.
by strogonoff | 2025-07-05 08:59:15+00:00
> We all know next year’s iPhone will be better than this year but we still buy them

Next year’s iPhone will not only be better, but also (even with the same price tag) cost more, inflation-adjusted. That factors into the decision to buy now.

> I’d argue inflation’s incentives are worse - the constant need to invest/spend so that your money doesn’t lose value.

It is a problem when it is at extreme, like in unstable countries where money can be a liability to unhealthy degree. However, I’d argue it should be a liability to a smaller degree.

What you highlight is the ever-present conflict between personal benefit and societal benefit. Obviously for an individual it is more preferable that the value of their money increases; I would never argue that. However, for society as a whole it is more preferable if the value of money decreases at a stable rate.

Perhaps this is why all major economies settled on the idea that an amount inflation is crucial to have.
by perihelions | 2025-07-05 08:59:55+00:00
That (initially) $175 billion/year will pay for itself in forced labor. I think most countries with large-scale systems of concentration camps converged on that solution, when the costs of those systems ballooned into something unsustainable.

Modern China has that. Their system makes use of their (reportedly millions) of incarcerated Uyghurs as low-skill forced labor, mainly in textiles/clothes. Few talk about it, but a significant fraction of Western clothing comes out of these camps.

The 1940's Germans were efficient: in extremis, they realized you could optimize value from concentration camps by starving the workers to death, extracting value from the final months of their lives with minimal operating costs. That was "extermination through labor".

Hacker News, being what it is, will be most focused on the impact on their 401k's. Their grandchildren will read these comments.
by encom | 2025-07-05 09:00:18+00:00
There was garbage on the internet in the 90's. Lots. I was there, and I occasionally made the pile bigger. But I think 2025 garbage is of a different nature (and magnitude). 90's garbage was low effort and low quality. Think Geocities and pointless Usenet arguments. 2025 garbage is malicious, exploitative, industrial brain rot. And it will only get worse.
by bisRepetita | 2025-07-05 09:01:17+00:00
Yes. And this is very helpful. If you are young and you suck at something, more people will give you the benefit of the youth and envision you may improve. If you're old and you suck at something, many will think you're just old, and you just suck. "Don't hurt yourself!" So yes, not giving a shit is a very good way to make progress.
by cybrox | 2025-07-05 09:01:48+00:00
Is it? If you compare to serverless, you'd almost have to compare AWS EKS Fargate and with that, there's a lot less operational overload. You still have to learn ingress, logging, networking, etc. but you'd have to do that with serverless as well.

I'd argue between AWS serverless and AWS EKS fargate, the initial complexity is about the same. But serverless is a lot harder to scale cost efficiently and not accidentally go wild with function or sns loops.
by AnthonyMouse | 2025-07-05 09:01:56+00:00
> The recent (-ly undone) change went against decades of how things were, was crippling for medium size cashflow-positive startups, effectively increased taxes, etc. But it was really just a straightforward application of the general principles that apply to most everything else.

The error was in reconciling them by getting rid of it for software R&D instead of allowing other business expenses to be deducted when they're paid for as well.

For large stable incumbents that have the same expenses every year, the difference doesn't matter except in the first years after you make the change, because it doesn't matter if you deduct all of this year's expense this year or 5% of each of the last 20 years' expenses this year, they add up to the same deduction every year.

Where it matters is for new challengers, because they don't have arbitrarily many years worth of legacy expenses to deduct, so their deduction in their first year will be less than their incumbent competitor's.

It also creates a disincentive (or competitive disadvantage) to increase long-term investments. If some existing company had been making a $5M investment every year but is now facing new foreign competition and needs to increase it to $10M in order to stay competitive, they're in the same position as the upstart. Moreover, then they may not be able to do it, because they were going to have to run lean and divert the $5M profit they usually make to increasing their capital investments, but then the government is expecting tax on most of that $5M which means they can't spend it this year it even though it's ultimately a deduction.

Notice what this does specifically in the case of real estate: If rents start going up the normal incentive is to build new housing, but now you have to put out all the money to build a new building in year 0 and not get to deduct it for decades. Is that the incentive we want? Probably not.
by drstewart | 2025-07-05 09:03:05+00:00
> They say, ‘It’s not so bad’ or ‘You’re seeing things’ or ‘You’re an alarmist.’

Ah, well in that case, it's clear to me Austria is actually the one on the brink of fascism. It's clear to me, having extensively eaten a lot of strudel (makes me an expert in Austria), that it's now a fascist country.

And if you say: ‘It’s not so bad’ or ‘You’re seeing things’ or ‘You’re an alarmist.’ then clearly you're just in denial.
by dazc | 2025-07-05 09:03:33+00:00
'According to our AI Content Detector'

I used to employ a writer who was very good but, over time, I could see patterns and phrases that were uniquely hers - her fondness for the word juxtapose became a bit of joke.

The benefit of using AI, aside from the obvious cost-saving, is that I can filter out this stuff without worrying about causing offence
by _V_ | 2025-07-05 09:03:35+00:00
I'm thinking about the US in the similar manner as the whole EU, and this is probably the source of my misunderstanding.

I'm not surprised by the fact that California has a different politics to for example Florida (I hope I picked good "extreme" cases there ). That is, as you said, very similar to the EU - you have extremely conservative Poland/Hungary and you have very liberal France (for example). But in EU the federal enforcement mostly works through the local governments and is not a completely separate entitiy.

In the EU we really don't have "federal law" in the same manner you seem to have in the US. When the EU passes a law, all states implement it locally (even though the local implementation may vary) and the local law enforcement enforces that law. We don't really have a federal ICE for example, it is always a thing that is handled by the local state. (Well, perhaps there is an official part of the Europol that handles immigration, I have never really heard about it nor have I seen anyone).

We don't have a "federal" EU army, too. Every state has its own armed forces, that are completely independent (well, chain of command-vise) to the others.

Another difference is - as you pointed out - that we are much more densely populated (like 3 times the population density). That's why some of the things we said really surprised me, because you cannot really escape others in the EU. Almost anywhere you go, you are at most 30m by car to some form of "civilization" (for example city/village with working internet and a pub). Btw even though this might be a little bit of an exaggeration, it is not a big one
by dwattttt | 2025-07-05 09:04:29+00:00
> Function calls also have that negative property that the compiler doesn’t know what happens after calling them so it needs to assume the worst happens. And by the worst, it has to assume that the function can change any memory location and optimize for such a case. So it omits many useful compiler optimizations.

This is not the case in C. It might be technically possible for a function to modify any memory, but it wouldn't be legal, and compilers don't need to optimise for the illegal cases.