MurphyA/hacker-news huggingface dataset:
by pizlonator | 2025-09-19 21:03:54+00:00
The most commonly used optimization is to have just a load, or just a store, rather than a load-and-branch. Basically you access a page that you mprotect to trigger the handshake.

Unrolling loops is also super common. Recognizing loops that have a bounded runtime is also common.

My favorite technique to try one day is:

1. just record where the pollcheck points are but don't emit code there

2. to handshake with a thread, shoot it with a signal and have the signal handler interpret the machine code starting at the ucontext until it gets to a pollcheck
by Eric_WVGG | 2025-09-19 21:04:10+00:00
I ran an RSS aggregator ~15 years ago. All these things were still problems back then… also FeedBurner was a complete plague, at least that’s mostly gone away.

I’ve been trying to work out a new approach to newsreaders for a couple years now, and have all but given up on RSS. The standard needs to improve in significant ways — most notably with discoverability — if it ever wants to get back to the Google Reader “glory days”.

I’ve tried reporting bugs to rags like The New Yorker and The Atlantic, each one is a a black hole. Unless you can make a case for helping monetization, they don’t care at all, and I can’t say I blame them.
by ajross | 2025-09-19 21:04:24+00:00
He... sorta did: "We hit some new lows over the weekend with the MAGA gang desperately trying to characterize this kid who murdered Charlie Kirk as anything other than one of them [...]"

The sentence is convoluted but clearly implies that "this kid" was "one of the MAGA gang".

Is that what Kimmel meant? No, his point was that they (the MAGA gang) were exploiting the tragedy to "score political points". But it's not what he said, really. So arguments over meaning can at least happen in good faith. If someone says they're offended, I think it's not unreasonable to clarify and offer an apology.

...but not obviously to be sacrificed at an altar to the FCC commisioner.
by geor9e | 2025-09-19 21:04:41+00:00
No other context, huh? Not even browser and OS? If youtube itself was stuttering, 100M daily users would flip out. So narrow it down. For example if you add the word Edge to your search you might find settings like Video SuperResolution that can tax your CPU https://www.reddit.com/r/LinusTechTips/comments/1bcmmdo/micr...
by Kon5ole | 2025-09-19 21:04:43+00:00
>It is, the hint is in the name!

Just about any line of text I write daily uses symbols not reachable from the resting position, and once my hand has left that position the arrow keys are easier to find. (Inverted T of course, with home/end/pgdown/pgup cluster).

>there are other apps that do that, specifically, file managers

The point is that you ("you" in this case being a typical user, not you personally) will open applications every day where hjkl does nothing at all with the cursor, and you have to use the arrow keys anyway. This is mental friction that remains even after you spent years internalizing the hjkl cursor moving flaw.

Faced with this situation a user can choose to either use the arrow keys in vim, or go full Stockholm syndrome and change the default in every other piece of software to match vim.

If that seems like a good idea, it might be worth remembering that the creator of vi didn't choose hjkl because he thought it superior to using arrow keys - he did it because the computer he used had no arrow keys! ;-)
by doom2 | 2025-09-19 21:04:46+00:00
Amazing to me that a supposedly big part of Trump's win in 2024 was that people were voting for him to turn down the magic grocery price reduction knob and *poof* we'd be back to pre-pandemic prices. Yet somehow I don't think this will be as much of an electoral liability for Republicans in the 2026 midterms as it was with Harris in 2024. So I guess voters didn't actually care that much about cost of living increases?
by Earw0rm | 2025-09-19 21:04:52+00:00
It's because you're the same latitude as Namibia, Botswana etc. Even Perth is on the same equivalent (south instead of north) as Cairo or Kuwait.

There's a reason the indigenous Australians stayed dark skinned after 40,000 years - a time frame more than long enough for the Irish to turn red-haired and pale; as a trait it's relatively fast evolving, Europe probably evolved most/all of its variation since the last ice age.
by riazrizvi | 2025-09-19 21:04:55+00:00
It’s not a strategic strength of the country as a whole to displace out of the economy the top talent, with a constant stream of new workers. This is just a local gaming by industry heads chasing end of year bonuses based on short term financials. We saw the offshoring of talent in manufacturing destroy domestic capacity. We are now seeing a similar phenomenon as there is pressure from many sides to offshore tech or migrate employment from citizens and permanent residents to temporary residents.

The employment environment in Silicon Valley has been extremely strange since 2022. I haven’t been able to find a job in my field since then, despite being at the top of my game. I’m practically bankrupt and currently making ends meet in a minimum wage job.
by bettercallsalad | 2025-09-19 21:04:56+00:00
> India was the largest beneficiary of H-1B visas last year, accounting for 71% of approved beneficiaries

Having worked with the recent generation of Indians, I can safely say this can be a good thing. Baseline morality and work ethics for many (not all, but many) in the recent generation of Indians are so low. It’s a generational shift that I can tell. Get rich quick, wannabe try too hard to fit in and have fun with wild Wild West mindset that just has a completely different tone from earlier generations of hard working Indians who helped build some of the major products we use today.
by molticrystal | 2025-09-19 21:04:59+00:00
Many smart devices that have youtube functionality(tvs, refrigerators, consoles, cable boxes, etc), have limited or no ability to support that functionality in hardware, or even if they do, it might not be exposed.

Once those devices get phased out, it is very likely they will move to Encrypted Media Extensions or something similar, I believe I saw an issue ticket on yt-dlp's repo indicating they are already experimenting with such, as certain formats are DRM protected. Lookup all the stuff going on with SABR which if I remember right is either related to DRM or what they may use to support DRM.
by cryptonector | 2025-09-19 21:05:15+00:00
> And if it does anything that isn't async-signal-safe, then all bets are off.

> So, the Fil-C implementation of vfork(2) would have to have some way of checking (either statically or dynamically) that nothing async-signal-unsafe happens. That's the hard bit. That's why I think that implementing it is crazy.

Not really. See, Fil-C already makes those things that would not be safe be safe except returning from the caller of `vfork(2)`. Treat the child as if it's the same thread as in the parent and let it do whatever it would do.

Well, I guess the biggest issue is that you'd have to deal with how to communicate between the child and the GC thread, if you have to. One option is to just not allow the GC to run while a child of `vfork(2)` hasn't exec'ed-or-exit'ed.

> > The point of `vfork(2)` is that it's _fast_

> Yup. That's the reason to have it. But I haven't yet found a situation where a program I want to run is slow because I don't have vfork(2). The closest thing is that bash is visibly slower in Fil-C due to forking, but bash always uses fork(2) anyway - so in that case what I need to do is make my fork(2) impl faster, not implement vfork(2).

Typically it's programs with large RSS that need it, so things like JVMs, which probably wouldn't run under Fil-C.
by p12tic | 2025-09-19 21:05:55+00:00
The problem is with the form factor, not the server hardware per-se. If one buys regular ATX motherboard that accepts server CPUs and fits it in regular ATX case, then there's lots of space for a relatively silent CPU air cooler. 2690 v4 idles at less than 40W which is not much more than a regular gaming desktop with a powerful GPU.

The only problem in practice is that server CPUs don't support S3 suspend, so putting whole thing to sleep after finishing with it doesn't work.
by zer00eyz | 2025-09-19 21:06:04+00:00
Because the person they are importing is probably brighter than you. If you're talented and smart you come to the US and likely the Bay Area (or west coast) to work in tech. Why? For the same reason that baseball players all end up in the US and Soccer players end up in Europe: they all want to play against, and with the best in the big show.

All the H1B's I have worked with are whip smart, hard working, and in general amazing people. I cant say the same for all my localy sourced colleges. The tragedy of the economics in most of these cases was that they were making the same amount of money as their peers and not more...

In a lot of cases companies are getting a Steff Curry or a Lionel Messi and paying them the average of the rest of the team...
by davorak | 2025-09-19 21:06:14+00:00
> To go further, I believe there’s good data on cost of living, geographically.

I like the goal of making sure visa works are paid well for where they live.

I would not want to restrict the visa worker geographically though. Or alternatively I am unsure about the overhead of tracking the location visa holders and enforcing salary changes.

Might also have unintended knock on effect of encouraging job growth in low cost of living areas.
by taurath | 2025-09-19 21:06:30+00:00
> We do not (as far as I know), have the ability to know to what extent the FCC Chair's comments mattered at all.

Two things - firstly, it wasn't a comment, it was a threat to kill ABC's ability to broadcast by the person with power to revoke their license. There's a difference.

Secondly, if you don't want to have the appearance of responsibility for your thumb on the scale, don't put your thumb on the scale. Don't just say that your thumb was one of many and it could've been anyone's pressure that caused the cancellation. There should be no confusion.
by volleyball | 2025-09-19 21:06:38+00:00
>TikTok is as free to boost a pro-Israel narrative as you are to boost an anti-Israel narrative.

I boost an anti-israel narrative by exercising my right to free speech. In this case, The zionists are boosting a pro-israel narrative by excising free speech like mine - by banning Tiktok, then coercing Bytedance into selling their US subsidiary, and installing a IDF spokesperson to censor and moderate it.

>Stating that there’s some sort of “mind control” at work is both false and insults people’s intelligence. For one, there is literally no way to “control” someone’s mind. Influence is not control. It’s not the same as shaping a narrative. I think you ought to choose your words more responsibly and accurately.

I didn't mean to imply "mind-control". More like narrative-control and thought-policing. It may have came off differently than i intended.

> What’s needed is to protect the marketplace of ideas from which people can choose for themselves. Some people will carry larger megaphones and have bigger venues than others. But being louder and bigger doesn’t assure the outcome you want. History has illustrated time and time again that minority opinions can, in the fullness of time, become majority ones

What we are witnessing is a hostile-takeover in the marketplace of ideas. See above.

> History has illustrated time and time again that minority opinions can, in the fullness of time, become majority ones.

This might be a desperate measure that is unlikely to work in the long-term. Even Israelis, and their supporters in the conservative movement think that they have lost the support of the next generation or two. Which is probably why Netanyahu is going all out in this brief window of opportunity. It might be enough to buy them some breathing space in the near-term while they complete their genocide / ethnic-cleansing and re-occupation of the Gaza strip (with possible involvement of US ground-forces or contractors), complete their formal annexation of the West bank, and continue their invasion and annexation of Southern Syria. It (coupled with Trump's clampdown on college campuses) may also be aimed to preempt any vietnam-style protests against a second war with Iran (which will certainly US troops and seems all but certain to happen in the near future).

>History has illustrated time and time again that minority opinions can, in the fullness of time, become majority one

“One day, when it’s safe, when there’s no personal downside to calling a thing what it is, when it’s too late to hold anyone accountable, everyone will have always been against this.” The time to speak out and act is now.
by spwa4 | 2025-09-19 21:06:42+00:00
I expect that in the EU, this is somehow only going to apply to small EU companies. I'm sure there's technical reasons for that, that are currently thoroughly de-emphasized, difficult to find, but that will be the outcome.

This is also too little, too late, as usual in the EU. Extremely large companies have already profited incredibly of of this.

Plus, most provisions are again people, business people, refusing to pay for software. As a software engineer, I can't say I like this idea.
by chickenzzzzu | 2025-09-19 21:07:13+00:00
Here's what I propose:

1) All countries are free to come up with as strict or as loose immigration/tourist visa requirements as they like.

2) Companies can source remote labor from anywhere with zero government overhead.

3) Companies cannot source physical labor from abroad.

4) Reform local housing laws so that housing is not used for speculation/tied to employment.

Then communities can finally be communities, work can be work, and tourism can be tourism.
by CYR1X | 2025-09-19 21:07:25+00:00
Link to the tech debt aspect? I knew that was the case but want to know specifics.

Also the book lawsuit wasn't over old or new titles, it was loaning them 1:N instead of 1:1 because "pandemic". I didn't think it was a great idea at the time and everything in that lawsuit has pointed towards it just being an outright foolhardy effort. There were on a great path towards expanding digital lending boundaries (by letting any library add their books to the IA's lending circulation) and screwed it all up.
by asdff | 2025-09-19 21:07:30+00:00
Sleight of hand is a very impressive skill. When you see close magic (which I think is even more bewildering than magic on stages), you know they aren't bending the laws of physics or tapping into another realm. That isn't what makes it interesting and captivating though. It is the fact that it looks indistinguishable to if they were performing "real" magic.
by danhau | 2025-09-19 21:07:35+00:00
That's one of the things, yeah. IIRC they tried 64-bit but gave up on it, one reason being the rendering code was hardwired to 32-bit, so there was no real benefit in the end.

There are other solutions they had to find. The game has two "orbital mechanics engines". One runs a physics simulation and the other is just ellipse math, making the rocket "move on rails". That's why you can't time warp under a certain altitude (that's the real physics simulation).

There are also things in rendering, how they faked the large-scale graphics of Kerbin, involving problems with the depth buffer I believe.
by leakycap | 2025-09-19 21:07:37+00:00
I take from this you would like to be employed? If so, what are you doing to change the situation (instead of coping with it as it stands)?

I know it's hard out there (at least where I am) but I have helped a few people get jobs in the last 90 days, so please share the barrier you're facing and maybe someone can help.
by alephnerd | 2025-09-19 21:07:44+00:00
The math of bringing an employee onsite on an H1B just to depress wages does not work unless it is below the 25th percentile of wages (which is $90k).

Once you are breaking the $100k mark and want to only save costs, you are better off opening a GCC in Eastern Europe, Israel, or India, which is what most companies started doing once remote work became normalized in the early 2020s.

All this did is make a free "Thousand Talents" program for India, especially in chemical, petroleum, biopharma, and biochemical engineering - industries where the delta between US and India salaries aren't significant but the talent gap in the US is real.

There are much smarter ways to crack down on H1B abuse by consultancies - this ain't it.

Edit: can't reply, but here's why this is dumb

Assuming I am in Dallas (a fairly prominent domestic IT services hub) and hiring an H1B employee.

In Dallas, a wage around $95k base is fairly standard based on JPMC, DXC, and C1's salaries in the area.

That $95k an employee is has an additional 18% in employer required taxes and withholdings. Add to that an additional 5-10% for retirement account and insurance plans. That $95k employee became around $115k-125k.

Once salaries start breaking into the 6 figure mark, that 23-35% in overhead starts adding up very fast. On top of that visa processing before this rule costed around $15-20k in additional legal fees on the employer's side.

If I'm at the point where I'm paying a low six figure salary, I'm better off opening an office in Warsaw or Praha or Hyderabad where I can safely pay $50k-60k in base to get top 10% talent while getting a $10k-20k per head tax credit over a 3-5 year period depending on the amount I invest building a GCC because my after tax cost at that point becomes $50-60k per employee. These credits tend to require a $1M investment, and with the proposed H1B fee, this made that kind of FDI much easier to justify than it was before.

At least with the current status quo, if I was hiring an ML Engineer at MS or an SRE at Google (a large number of whom are H1Bs as well), I could justify hiring within the US, but adding an additional $100K filing fee just gives me no incentive at all to expand headcount domestically.

You don't use the stick if you also don't have the carrot.

> You are not taking into account section 174, It takes you 15 years to depreciate foreign salary vs first year

That's a rounding error now that it costs $100K to renew or apply for an H1B visa. And for larger organizations breaking the mid-8 figures in revenue mark, section 174 changes never had an impact one way or the other - it was mostly local dev shops and MSPs that faced the brunt of the section 174 onslaught.

> Honestly, even Germany is probably better bang-for-the-buck than Hyderabad

Germany needs to severely reduce employer contributions and taxes to become cost competitive against Warsaw, Praha, or Hyd for software and chip design jobs.

That said, this is a net positive for Germany's biotech, mechanical, biopharma, and other engineering industries that aren't software or chip design related.
by Sleaker | 2025-09-19 21:07:46+00:00
This also impacts non-software tech: see recent layoffs statistics at Intel, what percentage are H1B and why aren't companies required to re-prove H1B necessity? Can we just over-hire and claim we need H1Bs because we can't find enough talent to fill the rolls, then submit that we over-hired and lay off all the US talent? This seems to be a bit of what happens even if not intentionally.
by llm_nerd | 2025-09-19 21:08:46+00:00
Yes, I also can make up imaginary math. 6 is bigger than 3. But 9 is less than 12.

There are extraordinarily few roles handed out to H1Bs where there aren't enormous numbers of domestic options. Indeed, by far the biggest users of H1Bs in tech are shitty consulting firms like Cognizant, Infosys and Tata doing absolute garbage, low skill development.

Yes, there are exceptions. There are truly unique talents in the AI space, for instance. Not someone to build Yet Another agent, but someone who actually understands the math. They are extraordinarily rare in that program. And for those exceptional talents, a $100K fee would be completely worth it. But they aren't going to pay it for an army of garbage copy-paste consultant heads.

In actual reality it's just a way to push down wages by forcing Americans to compete with the developing world in their own country. In Canada we have "TFWs" filling the same role. It is a laughably unjustified, massively abusive program.
by crtified | 2025-09-19 21:09:06+00:00
For many years, local maps were my day-to-day work.

Regulations dictated that north should be at the page top, but exceptions were made so that the relevant land mass would efficiently fit on standard paper sizes. For example, you could fit a lot more detail onto a printed map of Japan with the paper as Portrait, rather than Landscape. So the practical aspects of the printed paper age have long been a side factor in map orientation.

And there was no doubt that the exceptions, where maps had north other-than-up, proved mentally more difficult for everybody to deal with. People not used to working with maps would struggle because it didn't align with other maps, and people used to working with maps would struggle because our minds were locked into the convention that came from 95% working with north-up maps!
by legitster | 2025-09-19 21:09:14+00:00
OP's comment still makes no sense then. H1bs are not hollowing out "middle class" wage earners then - the most you could say is that they are slightly reducing income of high-income earners.

But also, the H1b median salary for a software engineer is ~$120k, which is almost identical to that of the US median overall - so all of this hullabaloo seems pretty groundless.
by markus_zhang | 2025-09-19 21:09:19+00:00
I don’t know. I use a Mac for work, a Win for entertainment and a Linux for development. My feeling is Mac has great hardware and is good for certain development work but overall it is inferior in the other two for their respective usages.

Plus it has a lot of “round” corners to build up frustration throughout the day.

Plus it’s too expensive.
by nout | 2025-09-19 21:09:40+00:00
I don't want to speak for Will, but from my read he is specifically highlighting that "The event protocol that drives the system doesn't authenticate public keys" is the nonsense, because the protocol specifies that clients validate signatures on events using the public keys.

This makes sense in nostr, because anyone at any point can mint new public key and start posting events and other people are free to start following them, from which point they can ensure that the new events are coming from the person holding the same private key. And this is what relays and clients do.
by DeRock | 2025-09-19 21:09:47+00:00
The odds are now per candidate, not per application. If they submit multiple applications, it does not up chances for that candidate in any way.

And yes, it does work, because we have data from the year before this change, to the year after to compare against. The "Eligible Registrations for Beneficiaries with Multiple Eligible Registrations" dropped from 47,314 for FY 2025 to 7,828 for FY 2026. Source: https://www.uscis.gov/archive/uscis-announces-strengthened-i...
by duped | 2025-09-19 21:09:49+00:00
I mean I'll admit I'm a bit of a radical on this issue, but I think the most sensible work authorization policy is "you're welcome if you're not a criminal, terrorist, or public health risk, and on that last point here's some penicillin and a flu/covid shot, let us know when you're feeling better"

My ancestors came here ~140 years ago when the only "visa" process was a look in the mouth at Ellis Island. I don't see any fundamental reason why we need to have stricter regulations than that, and I reject dragging the Overton window further right on immigration.