skysight-inc/HackerNews huggingface dataset:
It's worth parsing out valid whys any approach could be applied, from the whys that drove the approach chosen.

For example, in my opinion Trump seems distinct in recent world politics. Instead of power being expressed through relationships, cultural exports and economics, Trump's notion of power is expressed through the property you have, how it looks, and that it is used or how it is used.

That example would be a theory that explains why the approach of "51st state" or "Rivera of the Middle East" is chosen.

(Though there is more you could theorize here: from ego, urgency, or trolling, to things like strategically preemptively folding on competing in a multipolar economic world and settling for simply western hemisphere sole influence and control)
Then what exactly do they sell in those Microsoft stores?
> I love that they picked Go instead of the fashion to go Rust

This seems super petty to me. Like, if at the end of the day you get a binary that works on your OS and doesn’t require a runtime, why should you “love” that they picked one language over another? It’s exactly the same outcome for you as a user.

I mean, if you wanted to contribute to the project and you knew go better than rust, that would make sense. But sounds like you just don’t like rust because of… reasons, and you’re just glad to see rust “fail” for their use case.
Funding is a big concern – and startups are especially vulnerable since they don't have existing customers to help ride out almost everyone being hesitant about new costs at the same time – but one other factor I'd consider: for the entire history of computing, the world has generally been comfortable using American products. Almost everyone trusted Intel, AMD, Motorola, etc. to make their processors, trusted IBM, Microsoft, Apple, etc. to build their operating systems, gave Google the ability to automatically ship code updates to their desktops, and the U.S. tech industry has seen trillions in profits because of that. People didn't think the U.S. was perfect by any means but most people would have used terms like “rule of law” or “democracy” when describing us, and very few people worried about trusting American tech products (yes, there were some but they've been ).

Now _everyone_ else in the world is asking what happens if the Trump administration leans on an American company, or whether they even have to lean when the CEO is sharing a stage. Does an attack on Canada start with a Windows or Chrome update? Will CrowdStrike agree to ignore the NSA's exploit codes? Can a politically-connected insider get the CIA to help them beat a competitor? Will AWS turn off service if it's deemed strategically necessary, similar to how Ukraine's military capabilities were threatened to force them to accept a worse deal?

None of those questions have an affirmative answer so far, but everyone has to weigh the odds of something previously unthinkable actually happening and that is a new and quite disturbing place to be for someone launching a startup if you expect to have customers in other countries. Canadians appear to be taking the lead right now but there are many people in many countries who are not going out of their way to help the U.S. economy and startups are going to have to deal with that without an existing reputation or referrals to balance it out.
It is not only an Anthropic thing, and it works with any model that supports function calling, which DeepSeek did not when it first launched. That probably has changed since, but I haven't looked!
Inevitably? Well, the promise of using something less efficient in terms of performance is that it will be more efficient in terms of development. Many times projects fail because they optimize too early and never built the features they needed to or couldn’t iterate fast enough to prove value and die. So if the native version is better but failed, it’s not so inevitable that it will get to that stage.
I'm most of the way through reading Moral Mazes which covers this part of American culture in-depth as it relates to chemical and textile manufacturing. Specifically, it discusses psychological attitudes to perception of chemical manufacturing as being dirty, and the rationalizations employed by middle managers towards their work.

What Moral Mazes lays out is the idea of the tension between the perception of manufacturing ethics as matters of practicality (as seen by manufacturers), and the perception of manufacturing ethics as matters of purity (as seen by activists and lawyers).

It is a great book I would recommend to anyone, although being primarily an observation of the psychological processes at play, there are of course no solutions offered.
Ask HN: Why Tech community have many of LGBTQ than other communities?
Kind of a fun toy problem to play around with. I noticed you had thread coarsening as an option to play around with - there is often some gain to be had here. I think this is also a fun thing to play around with Nsight on - things that are impacting your performance aren't always obvious and it is a pretty good profiler - might be worth playing around with. (I wrote about a fun thing I found with thread coarsening and automatic loop unrolling with Nsight here: https://www.spenceruresk.com/loop-unrolling-gone-bad-e81f66f...)

You may also want to look at other sorting algorithms - common CPU sorting algorithms are hard to maximize GPU hardware with - a network sort like bitonic sorting involves more work (and you have to pad to a power of 2) but often runs much faster on parallel hardware.

I had a fairly naive implementation that would sort 10M in around 10ms on an H100. I'm sure with more work they can get quite a bit faster, but they need to be fairly big to make up for the kernel launch overhead.
Do you use futhark in prod? Do you use it at all actually?
Of course it's cheaper and easier to deliver services in one language, but the United States is not a monolingual nation, nor has it ever been in its history. It would be a disservice to significant populations to assume otherwise.
Nazi became a bit too broadly used in place of fascism, it's American Fascism, its own special flavour of it which is not anti-semitic (quite the opposite, it's actually very pro-semitic with its allegiance to Israel).

Of course it's all semantics, and you very likely understand that.
> Build up and debug the chain as you work in an environment like Jupyter.

> Just run the code and verify that the current step works. Then, proceed to the next.

Yes, it's not debuggable/"viewable" without cut/paste/commenting out lines, once it's constructed.
The problem is more that people concentrate a lot of energy on hypothetical future quantum attacks when the actual threats have been the same since the 00s: unvalidated input, buffer overflow, bad auth, xss, injection etc.

All the big important systems are again and again vulnerable to these attacks (Cisco, M$, fortinet, etc.) - but of course those aren’t “sexy” problems to research and resolve, so we get the same stuff over and over again while everyone is gushing to protect against some science fiction crypto attacks that are and have been for the last 30 years complete fantasy.
It’s all a bit tiring to be honest.
Authors Put a Spotlight on Meta's BitTorrent Leeching Activity
All true, but a huge portion of their economy comes from selling us goods.
In addition to Will's channel, don't overlook thermal battery links, too, which often can be made out of old water heaters that folks dump on craigslist all the time. The gist behind thermal batteries is to help with the (solar->battery->coil->hot water) efficiency loop by changing it to (solar->coil->sand->hot water) e.g. https://hackaday.com/2022/11/21/making-a-do-it-yourself-sand... (I love his channel, too) or https://www.technologyreview.com/2024/04/18/1091481/how-to-b...

They also have vastly different failure modes than pumping a bunch of DC voltage into battery cells

There was also recently a post about flow batteries <https://news.ycombinator.com/item?id=41235789> which are also very interesting to me, but I haven't gotten far enough into that learning curve to know if they're a good fit
I highly doubt that bolting a GC on to C++ is going to be any faster than the equivalent C# or Java code.
I was wondering. "As opposed to the stupid researchers over in the other building, OUR researchers..." ;)
In California, you can purchase a 14.3 kWh battery for $3,500, which qualifies for a $2,500 SGIP rebate from the state plus a 30% federal rebate. I find this concept interesting, but the cost is quite high considering it’s literally hundreds of dollars less money to just get a 14.3 kWh battery.

https://bigbattery.com/products/48v-eg4-powerpro/?srsltid=Af...
It’s definitely an important feature & will help reduce the purchase price. Especially charging from home solar since it most solar in the US gets installed without a battery.
Made an account just to say that I respectfully disagree solely when it comes to accounting and supply chain processes in an enterprise ERP. Unwinding un-auditable processes costs so much f’ing time and money while the business still has to run that I’ve found it to be cheaper and better to be auditable from day 1, in this one specific instance.
> I fundamentally disagree that those languages are "unusable beyond very narrow tasks"

Then why do you think nobody uses them (outside of certain narrow tasks)? It is hard to deny the results.

The reality is that they are intractable. For the vast majority of programming problems, testing is good enough and far, far more practical. There is a very good reason why the languages people normally use (yes, including C# and Rust) prefer testing over types.

> See, when you test for something like raw JavaScript, you end up testing things that are even about the shape of your objects

Incidentally, but not explicitly. You also end up incidentally testing things like the shape even in languages that provide strict guarantees in the type system. That's the nature of testing.

I do agree that testing is not well understood by a lot of developers. There are for sure developers who think that explicitly testing for, say, the shape of data is a test that needs to be written. A lot of developers straight up don't know what makes for a useful test. We'd do well to help them better understand testing, but I'm not sure "don't even think about it, you've got a half-assed type system to lean on!" get us there. Quite the opposite.

> it matters more that the right people are using them

Well, they're not. And they are not going to without some fundamental breakthrough that changes the tractability of using languages with an advanced (on the full spectrum, not relative to Go) type system. The tradeoffs just aren't worth it in nearly every case. So we're stuck with half-assed type systems and relying on testing, for better or worse. Yes, that includes C# and Rust.

> I don't think glorifying mediocre type systems is the way to go (like many people usually do, for some terrifying reason).

Does it matter? Engineers don't make decisions based on some random emotional plea on HN. A keyboard cowboy might be swayed in the wrong direction by such, but then this boils down to being effectively equivalent to "If we don't talk about sex maybe teenage pregnancy will cease." Is that really the angle you want to go with?
I think it's well documented that modern bureaucracy is at least inspired by China's bureaucratic machinery: https://en.wikipedia.org/wiki/Civil_Service_(United_Kingdom)

> Under Charles Grant, the East India Company established the East India Company College at Haileybury near London, to train administrators, in 1806. The college was established on recommendation of officials in China who had seen the imperial examination system. In government, a civil service, replacing patronage with examination, similar to the Chinese system, was advocated a number of times over the next several decades.[10]

> William Ewart Gladstone, in 1850, an opposition member, sought a more efficient system based on expertise rather than favouritism. The East India Company provided a model for Stafford Northcote, private Secretary to Gladstone who, with Charles Trevelyan, drafted the key report in 1854.[11]

And western countries accepted it as part of the base assumption how government should work, then nobody points to its origin since now it's so obvious (from modern perspective).
Yeah, that seems about right. The Smalltalk-76 VM was pretty small, though. A lot smaller than the -80 VM. I think it's fair to say that Smalltalk-76 had WYSIWYG word processing and graphics, including things like paint programs. Like Smalltalk-80, I think, it's missing spreadsheets, social media, and hypertext browsers.
His current biggest fan just had one delivered. I see some ring wing celebrities buying too. It remains to be seen at what point his hillbilly fans start replacing f150s with cybertrucks.
Congratulations HN! (And @dang of course).

Can we please add target="_blank" to the links now?

(Seriously, I've got a crisp new $50 bill for whoever takes 30 seconds and slips it into prod. )
I think it was the courts Meta claims torrenting pirated books isn't illegal without proof of seeding (698 points, 19 days ago, 452 points) https://news.ycombinator.com/item?id=43125840
The TL;DR is the implementer was able to get use GPUs to get merge sort speedups that exceeded CPUs once the number of elements being sorted was >10,000,000.

thrust::sort is an Nvidia C++ library; I am not clear whether it is related to CUDA or not actually; the article author started out with CUDA implementing a merge sort, but once it was slower than CPU the author tried thrust::sort library and was able to get a faster result in some cases. The article author did not yet try a parallel merge sort.

I would be curious if anyone knows what database engines take advantage of GPUs and see actual sort/query performance boosts and on what sized datasets. My impression is that a few engines have tried it, but the payoff is small enough that industry-wide people haven't adopted it.
You don’t need any QC attacks if you can far easier find exploits in the same top10 vulns that were used 20 years ago…
Industry should first address that very real and serious risk that is present _right now_ before thinking about QC.
Shopify Store Personalization
What is GSP in this context? Searching Python GSP brings up Generalized Sequence Pattern (GSP) algorithm [1] and Graph Signal Processing [2], neither of which seem to be a protocol. I also found "Generic Signaling Protocol" and "Global Sequence Protocol" which also don't seem relevant. Forgive me if GSP is some well know thing which I am just not familiar with.

1. https://github.com/jacksonpradolima/gsp-py

2. https://pygsp.readthedocs.io/en/stable/
Looks Like the answer is “yes”, at least based on precedent. From the article:

> Eugene Volokh, professor of law emeritus at the University of California, Los Angeles, explains that the Immigration and Nationality Act of 1952 provides for the denial of entry and deportation of "any alien who…endorses or espouses terrorist activity or persuades others to endorse or espouse terrorist activity or support a terrorist organization." Nadine Strossen, former president of the American Civil Liberties Union and senior fellow at the Foundation for Individual Rights and Expression, tells Reason that Trump's executive order "clearly is based on federal statutory authority, so one cannot make the argument that the president is exceeding his constitutional powers."

But also the article is in reference to a person that did more than just exercise speech. They encouraged violence and terrorism against people of a religious or ethnic background, with numerous incidents of violence caught on video, and led an illegal occupation of property.
That language is Swift.
I meant code within the snippet is tightly coupled. You can't just cut the for loop in half and reuse half the logic.
https://sparkforautism.org/discover_article/autism-lgbtq-ide...

Tech folks, anecdotally, fall on the neurodivergent spectrum, which overlaps with orientation and fluidity.
Wow that’s crazy! What fridge is that?
I think Kay's work is in harmony with that approach, too.
Apologies, I should have clarified, I work in IT but I’m not a coder. I use ChatGPT and Claude for Powershell and Python scripts to do administrative tasks or queries about all the user accounts and printers in our Active Directory.

My co-worker, on the other hand, uses it to write wordy emails and it’s a dead giveaway, as everyone knows he doesn’t normally speak or write like that. It’s entirely my personal preference to not use it for expressing myself. I guess we’re kind of in the same boat really. I use it so I don’t have to learn how to code, and he uses it so he doesn’t have to learn how to write.
earlier discussion https://news.ycombinator.com/item?id=25920517

see also https://gitlab.com/mac3n/qrl "simple serverless single-system sequential scheduler" for similar trick
Article title: Everything you always wanted to know about touch icons
Onesweep paper (Nvidia 2022): https://research.nvidia.com/publication/2022-06_onesweep-fas...

Onesweep GitHub repo: https://github.com/b0nes164/GPUSorting
My point was robotics startups don't typically survive with generic products very long. They are acquired or go under even after they reach TRL launch stage.

Best of luck =3
Has there been an Indian government that will be viewed favorably through western lenses?

- Pt. Nehru wanted Socialism and State Control.

- Indira Gandhi brought the Emergency and all that came with
that

- PM Vajpayee conducted the nuclear test

- PM Modi is viewed as an authoritarian and fascist

I think these cover the most influential leaders over the last 75 years. Only PM Manmohan Singh stands up to such scrutiny.
If Pila existed before you bought the generator, would you have bought a Pila?

Does your generator require maintenance? Is it loud?
Yes, unfortunately mermaid requires not only node but also a browser instance (!!). I don't like it at all but I don't think there's any alternatives. If you or anyone knows a way of avoiding installing a javascript package to do this please create an issue in the repo!
i wouldnt describe it as rapid, but there certainly are examples of covil rights declines, mostly via court decisions.

eg. overturning roe v wade, and allowing gerrymandering based on race

the most recent wpuld be executive orders stripping visas and greencards based on protected speech
What does that mean in context of DDNS? DDNS is the correct proposed solution.
My dad put together a backup system- in spring time, they get weeks of water running at their house, so he's got two pumps on two separate batteries in case either pump or battery dies.

You can even get an all in one system for around $200 if you want to save up for something more robust:

https://www.homedepot.com/p/Basement-Watchdog-Emergency-Batt...
OpenAI has become the Yahoo of the AI landscape.
Would say India is big enough country with enough people and knows how to take care of its own business, democracy or others.
I heard somewhere that we speak a mild 'Elizabethan' English in the West of Ireland... no idea if this is true really.

Although my parents use some archaic words:

"Pass me yon cup please." (Yon as in yonder = that cup)

"It's a bully old day." (bully = good, grand)

"That's a quare setup." (quare = strange)

"Oh aye... that's right." (aye* = yes) *common in Northern Ireland / Scotland too

We use "woe" a lot. (woe = misery)

Em... that's it really I suppose.
Yeah, I'd love to not rely on an npm package but it's unfortunately the only way to do this out of the box.
Yeah I get that, this will last longer than a UPS. I’ve thrown away a few in the last couple years that broke. That’s the lead acid UPS vs. LFP chemistry at work.
I once took a deep dive into the methodology of one of the custodians of "democracy rankings". It is one of the 2 most popular custodians.

Their methodology for each country was different.

For India their methodology was to survey 36 important people in the country. They did not disclose who these people were.

The survey asked them to share whether democracy was "backsliding" or whether it was becoming stronger, than the past.
> The country itself though probably isn’t.

It's hard to define that - on average? In the long run? What would a Indian who is Muslim say - 'well, it's ok because on average or in the long run, it's ok'?
HN is the media arm of a venture fund with a portfolio nearing a trillion dollars, as mentioned prominently in TFA.

If you want to talk size, the US House has 438 members, the Senate 100, the Supreme court 9. Their significance has nothing to do with size and everything to do with position, connections, and capacity.

HN punches far above its weight.
Injuries while working out? That’s simply a skill issue
It's amazing how all it takes is a few threats of annexation, and for GOP thought-leaders like Ben Shapiro to start talking about enslaving you[1] to work on the Panama Canal to make another country rethink its relationship with you.

Absolute animals. As is anyone else carrying water for these politics. There's no excuse for it.

If you had anything at all to do with putting these clowns in power - reign them back in. They are supposed to work for you. Remind them of this.

[1] https://x.com/benshapiro/status/1876800394900152483?lang=en
The second one is Thomas Smith's independent reimplementation of Onesweep. For the official version, see https://github.com/NVIDIA/cccl . The Onesweep implementation is in cub/cub/agent/agent_radix_sort_onesweep.cuh .
Right, which is my point about LLM code assistants. If you did have two cases in the past: native but slow to add features so the project eventually dies vs. scripted but performance is bad enough it eventually needs to be rewritten. (Of course, this is a false dichotomy but I'm playing into your scenario).

Now we may have a new case: native but fast to add features using a code assist LLM.

If that new case is a true reflection of the near future (only time will tell) then it makes the case against the scripted solution. If (and only if) you could use a code assist LLM to match the feature efficiency of a scripting language while using a native language, it would seem reasonable to choose that as the starting point.
The lack of empathy is frustrating. Especially since it seems rooted in ideas like "cops don't make mistakes" and "I can just not break the law".
Qualifications=academics usually & career experience. No way to know if they actually learned something and aren’t a fraud. Even corporations that do thousands of interviews get duped
It's a mistake to conflate cryptography, with application logic errors.

Your argument is akin to,

> The problem is that a lot of physicians concentrate on diabetes, or hypertension, when there's people who have been stabed, or shot. Constantly hearing about how heart disease is a big problem is tiring to be honest.

Also, I'm not sure what circles you run in, but if you had to ask any of my security friends if they wanted to spend time on a buffer overflow, or xss injection, or upgrading crypto primitives for quantum resistance... not a single one would pick quantum resistance.

> The problem is more that people concentrate a lot of energy on hypothetical future quantum attacks when the actual threats have been the same since the 00s

Just so I can be sure... you meant having the qbits to deploy such an attack, right? Because really the only thing stopping some of the quantum computing based attacks is number of stable qbits. They're not hypothetical attacks, they've been shown to work.
Can Alibaba Become the Largest Company?
Every leader in the world gets criticized to some degree. It's nonsense to compare criticism of Vajpayee over nuclear tests with Modi or Gandhi rolling back freedom and democracy, and killing and brutalizing people.