MurphyA/hacker-news huggingface dataset:
by andreashaerter | 2025-04-21 13:23:22+00:00
Default for copyleft licenses for open source or life with the consequences.

Licenses like the GNU Affero General Public License (AGPL) might prevent some corporations from using an open-source project because they do not want to release the source code of their own modifications to it. Sadly, corporate compliance often prohibits the usage of copyleft projects altogether, even if nobody plans to modify anything. Especially the legal departments of large “enterprizy” organizations often prefer software with licenses like MIT as they want it simple and “risk”-free.

But who cares? If these corporate users do not contribute back, there is simply not benefit in having them as users.

Except you do not care about open source community but about hypergrowth. This seems not to be true for this case, but the impression comes to mind that many start-ups use open source not because of freedom but as an argument for adoption in the enterprise ecosystem. They avoid choosing (A)GPLv3 licenses to facilitate easier corporate adoption without generating enough revenue, while being funded by venture capital and without getting contributions back by organization who could easily afford giving back something. Then, after being adopted, they complain.

There’s a reason why Linux (GPL licensed) is still around, growing, and making money for so many while companies behind widespread open source projects often fail financially and burning insane amounts of money. It might work out for individuals and owners when getting bought, but it hurts users and ecosystems who relied on something.
by _heimdall | 2025-04-21 13:23:44+00:00
To me the middle ground is where its really interesting, jumping from one extreme to the other has so many unknowns.

Surely we free up brain power for other, newer things bit that comes at a cost. We lose a lot of potentially useful details of how and why we got here, and that context would be really helpful as we march towards the next technology.

For example, most people (I'll stick to the US here) stopped producing most of their own food decades ago. Today most people don't really know where there food comes from or what it takes to grow/raise it. Its no wonder that we now have a food system full of heavily processed foods and unpronounceable ingredients that may very well be doing harm to our overall health.
by teleforce | 2025-04-21 13:24:03+00:00
This is a very popular article that get submitted every now and then (nearly every year) [1].

I think this kind of problem would be a very nice for logic, optimization and constraint programming that probably can be solved with modern tools like Google OR-Tool or Monash University MiniZinc [1],[2],[3].

[1] Past:

https://hn.algolia.com/?query=Computational%20Complexity%20o...

[2] Logic, Optimization, and Constraint Programming: A Fruitful Collaboration - John Hooker - CMU (2023) [video]:

https://www.youtube.com/live/TknN8fCQvRk

[3] Google OR-Tools:

https://developers.google.com/optimization

[4] MiniZinc:

https://www.minizinc.org/
by diggan | 2025-04-21 13:24:33+00:00
> If they contributed it upstream, would we be discussing a blog post "how dare evil megacorp submit a PR that only implements their API! embrace extend extinguish!"? Probably.

Considering how often that happens VS how little times stories like that appear on the frontpage of HN, I'd wager a guess that we wouldn't be discussing it like we're discussing the current license violation.
by latexr | 2025-04-21 13:24:38+00:00
> So much so that most people are incapable of reading a book,

> Or even watching a 3 hour movie.

I agree with your thesis in general, but I don’t think these two in particular are comparable the way you’re phrasing them.

I have read books in a single five or six hour sitting but those were “by accident” in the sense that I wasn’t expecting to finish the book the day that I started them, I went into them with the expectation there would be pauses. Books work well with this type of interruption and have well-defined chapters.

A three hour movie, on the other hand, I see as a commitment I must try to not interrupt because it is designed as a single experience. Breaking it up detracts from the artist’s goal. Before starting it I must immediately look at clock and do some math: can I even begin to watch this movie, considering that in two hours I should <be preparing dinner | sleeping | picking someone up | something else>?

A similar phenomenon is when we don’t feel like watching a two-hour movie “because it’s too long” but then happily binge watch fours hours of some TV show instead. Even if we ignore TV shows are often designed to be more addictive, the fact that you have clearly delineated stop points—chapters, if you will—makes them a more manageable commitment.
by austin-cheney | 2025-04-21 13:24:45+00:00
That is why I only choose extremes with my open source licensing. If I really don't care then I go with a CC0 1.0 license. If I want any participation or credit for the work at all then I go the other extreme: AGPL 3.0. If that, and only that, means people will refuse to look at the project then I know I have chosen wisely.
by Lord_Zero | 2025-04-21 13:25:00+00:00
While that is true, at that point you should be rate limiting at the reverse proxy or load balancer.

- Nginx https://blog.nginx.org/blog/rate-limiting-nginx

- Caddy https://github.com/mholt/caddy-ratelimit

- Treafik https://doc.traefik.io/traefik/middlewares/http/ratelimit/
by ljm | 2025-04-21 13:25:01+00:00
I wouldn’t rule out the radicalising properties of social media either. You don’t have to fly out to the Middle East and join a militia to be turned against Western ideals when Facebook can flood your feed with targeted propaganda for a price.

It does say something about one’s character that they would be targeted by this and would also buy into it, though. You’d hope people might see it for what it is and take a step back.
by anacrolix | 2025-04-21 13:25:14+00:00
This. There are errors and states you cannot predict. As a grandchild comment says: It's easier to provide solutions than to list all the errors. Find your happy path and write code that steers you back on to it. The code will be shorter, less surprising, and actually describable. It's also testable because you treat whole classes of errors consistently so your error combinations count is smaller.
by nsiradze | 2025-04-21 13:25:34+00:00
I get it. I can’t see many details from here. I’m watching the news, but tech comes from the US.

It’s hard for me to sleep when new stuff launches there in the meantime. Everything is delayed for me, and I'm struggling to move forward.

I need to improve myself, and here I have to work on a full-time job, +4 different side projects that are none of mine ¯\_(ツ)_/¯ Everything seems good from X(Twitter), but not as much as I thought I guess there, too.

I’m not sure if it is worse than in my country.

Thanks a lot for replying. I appreciate.
by pjmlp | 2025-04-21 13:25:52+00:00
Nothing is new, I have mentioned multiple times that Microsoft management undoes the great work from .NET team.

Also as polyglot developer, while I happen to have my preferences in regards to technology, I am not married with any of them.

Being MVP, Champion, or whatever program each megacorp happens to have, was never something I saw value in.

Never make a specific technology, or company, part of your identity as person.
by louthy | 2025-04-21 13:25:53+00:00
I've never written a line of python in my life, so I'm interested in how this "recursive function" can do anything different on each recursive call if it takes no arguments?

def ints(): yield 1 yield from map(lambda x: x + 1, ints())

Surely it would always yield a stream of `1`s? Seems very weird to my brain. "As simple as that" it is not!
by alexarmbr | 2025-04-21 13:26:44+00:00
thanks so much for reading!!

>I think around that microarchitecture you want at least a two-deep pipeline where global memory loads to shared memory two iterations head

I agree, if I were to spend more time on this, I would add another layer of pipelining like you say, and also tweak it so that each threadblock is persistent on a particular SM, and processes multiple tiles. This allows you to hide the write latency of the epilogue, and arrange the SM<->data layout in way that maximizes L2 cache locality. (good explanation of this here https://cudaforfun.substack.com/p/outperforming-cublas-on-h1...)

>I did want to say that I think the ldmatrix instruction was a mistake

I agree. I found this instruction wierd because it hides which thread is reading which data, but it causes shared memory bank conflicts, so you are left to guess which thread is reading what. I find using the TMA on hopper is much nicer.

>The model of "more threads, more occupancy, to hide the memory latency" is truly dead and buried

Well said, seems like all the intro to CUDA textbooks need to be rewritten. It seems like now for all GEMM-like kernels, occupancy matters very little, and its more about using dedicated, asychronous hardware units properly in conjunction one another. I like this because there is a bit less black magic involved when chasing the long tail of performance. This is well put here

https://research.colfax-intl.com/cutlass-tutorial-writing-ge...

"In historical context, these developments continue a trend of replacing general-purpose computational resources by specialized hardware resources, to both remove bottlenecks and free up those general-purpose resources for other operations. Starting with the Volta architecture, the Tensor Cores divorced GEMM arithmetic operations from the general computational pipeline. Ampere’s asynchronous copy instructions allowed for true pipelining of GEMM mainloops. On Hopper GPUs, the asynchronous, single-threaded TMA and the ability to reallocate registers between warpgroups dramatically reduced the register and thread cost of data movement, and the asynchronous WGMMA allowed for pipelining of MMA with other compute operations. Now, Tensor Memory and UMMA do for MMA just what TMA did for copy, making it a single-threaded, asynchronous operation that does not consume registers. As a result, registers can primarily be used for other tasks like scheduling and fused epilogue operations."
by lxgr | 2025-04-21 13:26:51+00:00
> But that's basically an emulator of a VM, isn't it? It's like rewriting the Flash AVM2 into JS... it's still running in JS whereas the original VM was C++.

I think you're using a different definition of the term VM than most other people here. An "emulated VM" is a VM too.

> one major purpose of a VM is to improve performance over what's available in the browser.

That's definitely a very nonstandard interpretation. Many VMs are, intentionally, much less capable (in a permissions sense; in a computational sense, they're almost always exactly as capable) than the host environment they run in.
by homebrewer | 2025-04-21 13:26:58+00:00
No, it's also because some consumers can't pay the "original" price. Steam in "developing" countries is a classic example — you as a game developer can ask a guy from my country $60 for a game (and some companies do try that), but he will simply go back to torrent trackers because $60 is a week's worth of living expenses.

gaben figured that out and successfully expanded into many markets that were considered basket cases for software licensing.
PostgreSQL Connection Management by CgroupsV2
by woodprogrammer | 2025-04-21 13:27:03+00:00
In postgresql each connections are spawning as a process under the root process tree of Linux systems. This project allows you to pickup your long running or huge resource consuming queries (you can pick the queries with any of the queries from pg_activity table) then easily migrate PID's given cgroup via REST API. I hope it would be a usefull projects by sysadmins, dba and SRE members

https://github.com/WoodProgrammer/postgresql-connection-manager
by valenterry | 2025-04-21 13:27:04+00:00
> I generally assume the AI isn't misreading, rather that it assumes you couldn't give it the riddle correctly, but it has seen it already.

Just not enough training data I suppose. Were it really smart then it would "understand" the situation and clarify: "I assume you are asking me that popular riddle - the answer is X". At least after OPs first question a human would usually respond like that.
by mschuster91 | 2025-04-21 13:28:12+00:00
> What then would stop these leftover Hamas members from rebuilding whatever smuggling routes and weapon caches they had?

Disbanding UNRWA, for one, and replacing it with UNHCR which is responsible for every other refugee situation in the world. It's time for the end of the special treatment of Palestinians, and that includes getting rid of inheriting the refugee status.

Following that, there must be strict accountability on all aids and their eventual disbursement in Gaza and the West Bank. No more diversion of construction materials to Gaza Metro, no more diversion of food aid and then re-selling it.

The final important thing to do is stop funding Hamas, and that one falls squarely on Israel, where Netanyahu has covertly funded Hamas to keep Fatah in check. When there's no money to pay for smuggled Qassam parts, there won't be any more smuggled Qassam parts.

> Would you say the current Israeli response (which itself inflicts terror) has been proportionate?

Yes. Israelis had to live 17 years in terror of rockets from Gaza. There's no way calling this acceptable in any form. Hamas and those backing it knew that eventually, Israeli patience would end one day and there would be hell to pay for it.
by muldvarp | 2025-04-21 13:28:48+00:00
> We have 2 billion new watts of nuclear on the grid in the last few years

Because two nuclear reactors came online in the last two years (after massive delays and cost overruns). In the last 29 years the US built three new nuclear reactors (the construction of two more was cancelled). How many watts of nuclear were shut down in that time span?

> and more coming with uprates and massive demand from hyperscalers

I'll believe it when I see it.

> The goal here isn't wind and solar. It's clean energy in general.

I agree. I don't think nuclear is bad. I'm just describing what is happening in the US: Solar and wind are growing fast, nuclear is struggling.
by lalaithion | 2025-04-21 13:28:53+00:00
The first item yielded from ints() is 1.

For the second item, we grab the first item from ints(), and then apply the map operation, and 1+1 is 2.

For the third item, we grab the second item from ints(), and then apply the map operation, and 1+2 is 3.
by brandensilva | 2025-04-21 13:29:12+00:00
It's been awhile since the populist has risen up and demanded the government actually do their jobs rather than get rich and catering to the rich coasting on the destruction of our privacies, rights, institutions, and freedoms.

The fact nearly zero legislation has been introduced to punish companies for violating the protection of our data with the bazillions of data leaks is telling of which master they serve.
by prophesi | 2025-04-21 13:29:49+00:00
> "who funded this?"

Page 7 of the PDF shows the following:

"This project is part of the U.S. 2020 Facebook and Instagram Election Study (Gonz´alez-Bail´on et al. 2023; Guess et al. 2023a,b; Nyhan et al. 2023; Allcott et al. 2024), a partnership between Meta researchers and unpaid independent academics. Under the terms of the collaboration, the independent academic authors had final authority over the pre-analysis plan, data analysis, and manuscript text, and Meta could not block any results from being published."
by hylaride | 2025-04-21 13:29:53+00:00
I've heard descriptions of hell of everything from the classic "fire and torture" we all know, to it being a total and complete detachment from god (in a disappointed and kicked out of the house by your parents kind of way). It's similar to descriptions of Satin. Everything from the horns and pitchfork all the way down to a "beautiful fallen angel" that he technically was explained to be in the bible.

I've always just assumed the descriptions that work to keep people fearful of leaving the religion as whatever is used at the time (saying this as somebody who is agnostic).
by mannykannot | 2025-04-21 13:29:57+00:00
In practice, the first unpaired ] is treated as an ordinary character (at least according to https://regex101.com/) - which does nothing to make this regex fit for its intended purpose. I'm not sure whether this is according to spec. (I think it is, though that does not really matter compared to what the implementations actually do.)

Characters which are sometimes special, depending on context, are one more thing making regexes harder than they appear at first sight.

The author's willingness to publish code without even minimal testing does not inspire confidence.
by oefrha | 2025-04-21 13:31:02+00:00
You see a parameter called signature in the request with a random looking value, you try to "mimic" it (how?) and you always get 403 back. How do you proceed? TFA tells you know, and tells you why reverse engineering is necessary (TFA in fact goes one step further than what is necessary, but you have to do at least half of the work there — I have done exactly that myself in the past).

All you've posted so far is "I don't think <other people's points>" while being wildly wrong. It's on you to explain handwaves like "just observe the calls and mimic them", but I don't think you'll do that, plus anyone with experience here can tell it's nonsense anyway, so here's where I disengage.

Edit: I'll add another point of view as someone who has implemented my own obfuscation scheme in a product where throwing up a third party CAPTCHA isn't an option (the above is from having studied and worked around other people's obfuscation schemes, including TikTok's). Obfuscation is an arms race so there's no 100% winning, but my implementation, while vastly simpler and probably won't stop LukasOgunfeitimi, reduced the observable abuse of our product down to effectively zero. Turns out most hackers are pretty dumb. So, this shit works, "I don't think" be damned.
by gruez | 2025-04-21 13:31:47+00:00
>I'm more interested in the reason for this kind of obfuscation (and no, I don't think it's just to protect against bots, as there are many ways to do that).

see: https://news.ycombinator.com/item?id=43748681 and https://news.ycombinator.com/item?id=43749282

all of those can't really work if the javascript payload is easily comprehensible, because you can just write your own implementation in python or whatever.
by solfox | 2025-04-21 13:32:52+00:00
A teacher of mine often reminds me that in many cultures—like Japanese and Native American traditions—the role of having an enemy is viewed with a certain respect. Enemies help define us. They challenge us, sharpen us, and push us to grow. Western culture tends to abhor the idea of having enemies, but sometimes, having them simply means you’ve stood for something meaningful—something worth noticing.

It seems Pope Francis had his share of critics—those who opposed his beliefs or feared his vision. And yet, he stood firm and made people think. In that sense, perhaps even his enemies affirmed the impact he was making.
by ryao | 2025-04-21 13:33:47+00:00
Linux added a busy polling feature for high performance networking. Most Linux software does not use it, but software used in datacenters (e.g. by CDNs) that does use it makes the system very energy inefficient when things are not busy. This patch gives the the kernel the ability to turn that off when not busy to regain energy efficiency until things become busy again.

The article name is somewhat misleading, since it makes it sound like this would also apply to desktop workloads. The article says it is for datacenters and that is true, but it would have been better had the title ended with the words “in datacenters” to avoid confusion.
by consp | 2025-04-21 13:33:56+00:00
GPLv3 with interpreted code is a legal nightmare you do not want. Compiled is manageable.

Then again I've seen companies publishing stuff on GitHub, when asked about the license; slapping GPLv3 on it but also forcing you to take a license with them for commercial use. Yea no, thanks. You just made a poison pill somehow even more lethal.
by PaulHoule | 2025-04-21 13:33:58+00:00
I shoot basketball college games and never use a flash. DxO noise reduction software lets me crank the ISO up to crazy levels so I can deal with the low light. My weapon of choice is Sony’s 135mm/1.8 GM which gets results from players on the close side.

If you try to follow the ball you find that almost everybody is facing away from you or obstructed by someone else. I came to the conclusion that sports photography is really people photography so I started looking for good portraits (open shots on the players are rare) and that sometimes I’d get lucky and get good action.

This viewpoint improved my basketball photography but improved my other photography more because people’s motion is more predictable doing almost anything else. I’m getting real work doing running events now, like

https://www.yogile.com/strides-of-march-2025
by rayiner | 2025-04-21 13:34:16+00:00
I was born in Thailand--though to be clear, I am not Thai. Thais are not Westerners. They revere their king. Their "ideology" doesn't embrace western "freedoms" of speech and protest to begin with. So the implied accusation of hypocrisy in your comment is simply misplaced.

Westerners generally, and Americans specifically, don't realize how their constant harping on "basic freedoms" comes across as ethnocentric. My parents are American citizens, but they were raised in Bangladesh and they don't really believe in free speech or democracy. My dad always talks about free speech with implicit scare quotes, like he’s referring to an american custom.
by wizzwizz4 | 2025-04-21 13:34:25+00:00
"Permissive" licenses, in fields where abusive corporations are known to operate, are a really silly precommitment. Copyleft exists for a reason. But, even if you (foolishly) made that precommitment, that doesn't then mean you have to do free labour for the abusive corporations, out of some misguided ideological consistency. (Such consistency is the hobgoblin of little minds.)
by lenerdenator | 2025-04-21 13:34:36+00:00
"Faces heat"

What, from a single match? Maybe a Bic lighter that you lended to your stoner roommate for 4/20 yesterday and now there's maybe two more lit cigarettes in that thing?

He's not going anywhere. He knows it, Trump knows it, everyone in the DoD and US government at large knows it.
by iugtmkbdfil834 | 2025-04-21 13:34:39+00:00
<< imprison people for quite long sentences (sometime years) for saying politically wrong ideas

It is weird even on a pragmatic basis. I accept as a concept that it may have been effective when we were a little less connected, but these days it seems like it is actively asking for a wrong kind of reaction from the population. Not to mention, the people you imprison for typing the wrong stuff online are likely now going to be way more radicalized than when they went there. Honestly, I just do not get that approach.
by lupusreal | 2025-04-21 13:35:14+00:00
The UK goes far beyond that. Merely voicing political dissent to mass immigration can get you harassed by the police if you dare to say that immigrants shouldn't be admitted if they don't speak the language or have very different values. That isn't "inciting violence" except through very tortured round-about logic which could just as well classify any political dissent as inciting violence by way of tacitly, implicitly, not actually advocating for a violent revolt. They call it "hate speech" but what it really means is that expression of some political opinions is outlawed. This makes a farce of democracy.
by jl6 | 2025-04-21 13:35:25+00:00
If your target level of accuracy is 100%, there is probably no medical test that can show anything.

Did you know there is no conclusive test for Alzheimer’s, IBS, migraines, and dozens more physical conditions, nor for any psychiatric condition? Do you think these aren’t real, or that they cannot be discerned to a useful degree of accuracy?