MurphyA/hacker-news huggingface dataset:
by durbatuluk | 2025-11-07 19:37:38+00:00
Any method you forget to overwrite from the embed struct gives a false "impression" you can call any method from mockS3. Most of time code inside test will be:

// embedded S3Client not properly initialized mock := mockS3{} // somewhere inside the business logic s3.UploadReport(...) // surprise

Go is flexible, you can define a complete interface at producer and consumers still can use their own interface only with required methods if they want.
by tbrockman | 2025-11-07 19:37:51+00:00
Valve is a "flat" organization, where your compensation is determined based on peer review.

Rockstar, and owner Take-Two (largely owned by institutional investors--well known for their historical championing of workers rights and fondness of unions), both seem to have your typical corporate hierarchies, where executives are fairly and correctly compensated for being more productive than over 200 software engineers combined.
by debois | 2025-11-07 19:38:10+00:00
We’ve used f# professionally for the computations-intensive parts of our product for a couple of years. Here’s what comes to mind:

1. Interop with C# is great, but interop for C# clients using an F# library is terrible. C# wants more explicit types, which can be quite hard for the F# authors to write, and downright impossible for C# programmers to figure out. You end up maintaining a C#-shell for your F# program, and sooner or later you find yourself doing “just a tiny feature” in the C# shell to avoid the hassle. Now you have a weird hybrid code base.

2. Dotnet ecosystem is comprehensive, you’ve got state-of-the web app frameworks, ORMs, what have you. But is all OOP, state abounds, referential equality is the norm. If you want to write Ocaml/F#, you don’t want to think like that. (And once you’ve used discriminated unions, C# error-handling seems like it belongs in the 1980’ies.)

3. The Microsoft toolchain is cool and smooth when it works, very hard to wrangle when it doesn’t. Seemingly simple things, like copying static files to output folders, require semi-archaic invocations in XML file. It’s about mindset: if development is clicking things in a GUI for you, Visual Studio is great (until it stubbornly refuses to do something) ; if you want more Unix/CLI approach, it can be done, and vscode, will sort of help you, but it’s awkward.

4. Compile-times used to be great, but are deteriorating for us. (This is both F# and C#.)

5. Perf was never a problem.

6. Light syntax (indentation defines block structure) is very nice until it isn’t; then you spend 45 minutes how to indent record updates. (Incidentally, “nice-until-it-isn’t” is a good headline for the whole dotnet ecosystem.

7. Testing is quite doable with dotnet frameworks, but awkward. Moreover. you’ll want something like quickcheck and maybe fuzzing; they exist, but again, awkward.

We’ve been looking at ocaml recently, and I don’t buy the framework/ecosystem argument. On the contrary, all the important stuff is there, and seems sometimes easier to use. Having written some experimental code in Ocaml, I think language ergonomics are better. It sort of makes sense: the Ocaml guys have had 35 years or so to make the language /nice/. I think they succeeded, at least writing feels, somehow, much more natural and much less inhibited than writing F#.
by zaptheimpaler | 2025-11-07 19:38:21+00:00
It may sound simplistic but its the truth and there are plenty of other examples and history around this - Starbucks recently. 30 employees unionizing may not have any significant impact on their profits, but if they let that union grow it would have a lot more members demanding better working hours or wages over time. A strong union also generally leads to a loss of control by management where they have to negotiate more with workers which they don't like. Why do you think they were fired?
by shadowgovt | 2025-11-07 19:38:50+00:00
You'd be replacing the native-implemented XSLT engine in the browser with a JavScript-implemented XSLT engine living in the JavaScript sandbox, not replacing XSLT with JavaScript.

There's a theorem with Turing's name on it that clarifies why that's equivalent.

> if you restrict rendering xslt to javascript then you lose all the performance benefits of xslt at the engine level.

Nowadays, I'd have to benchmark before just assuming the native implementation is faster. Especially if one of the issues is libxslt is under-maintained. JS is quite fast these days (and the polyfill investigated in the OP is wasm, not even JS). This problem can also be solved by moving the rendering server-side, in which case your ceiling for speed is much higher (and you're not spending your client's CPU on finishing the rendering of your page; added bonus in this era of mobile, battery-constrained devices).

> Also if I’m going to be using Javascript why would I then reach for xslt instead of the other 8000 templating libraries.

Great point. Why do we have this one arbitrary meta-language for declarative transformation of one datatype that's "blessed" with a native implementation? That's an odd corner-case, isn't it. We should probably simplify by putting it on-par with other solutions for that problem.
by glerk | 2025-11-07 19:39:00+00:00
Google must have some awful PMs and designers. The worst UX decision I have seen recently is AI auto-dubbing all youtube videos by default with no way to disable this behavior globally. How could you miss that people can be fluent in multiple languages and if I click on a video in a foreign language, I most likely want the original soundtrack? Clearly, the intention was to boost some metric “X users are using this feature” with no regard for the actual user.
by drdeca | 2025-11-07 19:39:30+00:00
The meaning of a word or phrase within a community of speakers is determined by what is meant and understood when that word or phrase is used among that community of speakers.

You may have preferences about what certain words or phrases are used to mean, and that’s legitimate, and it furthermore is legitimate for you to pursue those preferences.

However, the previous commenter was not incorrect in using the phrase “the left” as they did. They were using it in a way that is a well established and understood way of using the phrase.

Now, I admit that I’ll sometimes feign misunderstanding when someone uses the word “literally” in ways counter to my preferences, so I’m noticing that my behavior might be slightly hypocritical. I could argue that I don’t say that their usage is “incorrect” or that they shouldn’t use the word as they do (indeed, I will typically state the opposite, that they aren’t “incorrect” or doing anything wrong by using it as they are), and therefore am not being hypocritical, but I’m not sure that’s compelling.

In any case, everyone knew what that person meant by “the left”, and I personally find this insistence on “correcting” that use of the term, to be a bit annoying. Though, of course, I recognize that you likely find the use in question of the phrase “the left” annoying. So, uh. Hm.

I’m not sure where that leaves us. I guess we’ll both just have to live with being occasionally annoyed, because I don't think we’ll be able to coordinate to change either behavior?
by sayyadirfanali | 2025-11-07 19:40:19+00:00
i understand the point you raise. but i believe symbols are generally aligned as they are because most fonts are designed for text and many monospace fonts respect those typographic traditions.

but i think code is not text and breaking some tradition improves readability.

the dash (hyphen) is actually supposed to align with the greater than symbol to resemble the arrow (extremely common symbol in C and many functional languages).
by lotsofpulp | 2025-11-07 19:40:56+00:00
>They make so much money

Their 10-Ks show they lost a lot of money.

https://www.macrotrends.net/stocks/charts/TTWO/take-two-inte...

2025 $-4.479B

2024 $-3.744B

2023 $-1.125B

The meager earnings in years previous to that are beyond wiped out. In fact, expect a lot more squeeze if you work at Take Two or a lot more rent seeking if you are a customer, because based on the stock price movement, the market is expecting a lot more net income.

Edit: looks like they set a ton of money on fire by overpaying for Zynga a few years ago. Customers and employees are going to be paying for that bad decision for a long time.
by port11 | 2025-11-07 19:41:13+00:00
Maybe in a distant future, but why are so obsessed with the anti-framework sentiment? We don't shy away from a framework when coding in Node, PHP, Java…

Is there something about the web — with its eternal backwards compatibility, crazy array of implementations, and 3 programming languages — that seems like it's the ideal platform for a framework-free existence?

Maybe if we bake all of the ideas into JavaScript itself, but then where does it stop? Is PHP done evolving? Does Java, by itself, do everything as well as you want out of Spring?
by wtf242 | 2025-11-07 19:41:14+00:00
That's super cool. I launched a book recommendations feature this year, which works vastly different. I ask users what their favorite books are(which you can rank), and then allow them to import their goodreads data which includes star reviews, and books they have read, then I determine your favorite style of books based on genres and subjects, then use opensearch to find similar books. It's a lot more complicated than that, but seems to work well. I'm always looking for ideas on how to improve this feature. Interested in what you are actually doing on the backend on the how-it-works page. thanks!

here's my recommendations feature: https://thegreatestbooks.org/recommendations

It's much more powerful if you're a member. you can restrict the results to certain genres or book lengths, as we as published date ranges, etc. If someone wants to try out the more powerful feature, DM me and i'll mark your account as a member.
by worldfoodgood | 2025-11-07 19:41:22+00:00
Valve makes a significant amount of their money from the gambling they've attached to their games, and profits immensely from the culture of farming loot boxes to gamble on for skins and such.

They also take an absurd cut of developer income and saddle devs with costs that they don't always want. (Selling on Steam? Valve takes 30% and forces you to moderate the forums on your listing page that you cannot opt out of.)

They also have an internal culture that's been fairly regularly criticized as being pretty uncomfortable for women and minorities.

Valve has done some cool stuff, but let's not lionize them too much. They are probably better than an average company, for sure, but it's important to remember that they are also sketchy in some very gross ways as well.
by wmf | 2025-11-07 19:41:35+00:00
at some point in between the two there's a 10Gbps link being shared between 5000 subscribers at peak times and now the bottleneck is 2Mbps per subscriber. This link may or may not be under your ISP's (or Netflix's ISP's) control, and it may or may not be the only relevant bottleneck.

No, that link is absolutely under Vodafone's control. They're deliberately not upgrading it so that they can extort money from Netflix.

The solution ... is content distribution.

CDNs have been worldwide, including Germany, for a long time. That's not the problem here.
by vitorsr | 2025-11-07 19:41:38+00:00
Telefonica does this.

Until I switched, it would only peer with other Tier 1 providers 2000 mi away from my location, even though there is a large IX 5 mi from home co-located with a large regional ISP with several other networks and appliances connected to it.

I filed a complaint but it is impossible to escape the event horizon of the customer service black hole, and customer protection regulation agents fail to appreciate how clownish it is to have 100 ms ping to my university 5 mi away.

So I switched and recommended everyone within earshot to do so as well.

To this day I fail to understand the logic behind not peering locally.
by shadowgovt | 2025-11-07 19:42:09+00:00
With respect: I've never called you crazy, nor did I imply it, nor did I mean to imply it.

I think your cost / benefit analysis on maintaining a native in-browser implementation of an old, niche declarative transformation language for a hard-to-read data format that hasn't been the dominant model of sending data to browser clients for at least fifteen years is flawed, but it's not crazy. Reasonable people can certainly put their priorities in different places, and I respect our priorities don't align on this topic and you have a right to your opinion.
by hbn | 2025-11-07 19:42:40+00:00
GP did say it was just in reference to whether the winter will be warmer or colder than the last one, which is 50/50

In which case if they're 40% accurate, you can get 60% accuracy from them by assuming it'll be the opposite of what they say

If they could get their accuracy down to 0% you'd have perfect predictions!
by tracker1 | 2025-11-07 19:43:08+00:00
Yeah... electric is a much better option for local usage, if the cost is right or the features good, I could see a lot of tradesman usage. But there's also a high overlap with those that will do RV/ATV/Boats etc. So it just loses out completely there.

I'm surprised that no work truck fleets were sold on the vehicle though... seems that would be the most ideal sales channel, but they'd need to push towards F-250/350 levels in practice.
by jsheard | 2025-11-07 19:43:08+00:00
> Valve is basically the only one that didn’t

They kind of did, with their sudden pivot from primarily making singleplayer games to almost exclusively making F2P GaaS titles the instant they got a taste of lootbox money. Half-Life 3 and Portal 3 will never happen because Valve makes 100x as much money with 1/100th of the effort by peddling Counter Strike skins.
by vkou | 2025-11-07 19:43:18+00:00
Your argument is one of spherical cows. I'm giving specifics. You can walk into a TD branch today, and get the same shitty service as you will from Wells Fargo. TD is a large, but not a dominant bank in the US. If anything, this is proof that there isn't a significant regulatory trade barrier to banking. Here's a foreign bank, it meets all the rules for banking in this country, it's service offerings are ~the same as the local ones. It's proof that banking is commoditized, and only people with very special requirements would choose a foreign bank over a domestic one (In this case, Canadians living in the US have reasons to use it).

> For example, suppose you want a specific service: We don't freeze your account without a court order.

And this, exactly is why your cow is spherical. The small number of people for whom this would be a legitimate differentiator aren't a market large enough for anyone to give a crap about. You're of course free to try to start a fintech startup for "People who are likely be the targets of extrajudicial account freezes", but I don't think you'll have the greatest... or the greatest customer base. Which country your parent company is incorporated in will be the least of your problems in running that business successfully.

You're also starting from the mistaken assumption that a court order is the only legitimate reason that this country's legal system believes an account should be frozen (it's not[1]), or the only legitimate reason that you would want your account frozen (it's not). But you can abstract anything away in hypotheticals - that's the beauty of them.

---

In none of this you have demonstrated how consistent, country-of-origin agnostic regulation is a trade barrier that unfairly advantages domestic firms. But you have introduced a lot of complexity (and much misunderstanding) by picking a subject as complicated as banking.

Let me make it simple - Is Quebec putting up unfair trade barriers because it requires products sold in it to be labeled in French? What stops foreign vendors from meeting that same requirement?

---

[1] And when you discover that assumption was incorrect, the relevant enforcement agencies won't give a crap if your head office is in Chicago or Timbuktu[2] - because you need to have a local presence (and an account at the Fed) to operate which is the same bar that all the domestic banks also have to meet, they'll have plenty of people to haul off to court.

[2] If this mattered, then this would provide an unfair advantage to the foreign company which is an utterly asinine way to run your country.
by anvuong | 2025-11-07 19:43:23+00:00
There are some not so niche communities, like FlashAttention and LinearFlashAttention repos. New code/optimizations get committed on a weekly basis. They find a couple of percents here and there all the time. How useful their kernels actually are in term of producing good results remain to be seen, but their implementations are often much better (in FLOPS) compared to what were proposed in the original papers.

It's just like game optimization, cache-friendliness and memory hierarchy-awareness are huge in attention mechanism. But programming backward pass in these lower-level stacks is definitely not fun, tensor calculus breaks my brain.
by marcosdumay | 2025-11-07 19:43:40+00:00
The ones near the top changing abilities is perfectly fine, both as a design rule and as them not leading to cascading changes in declarations through all your code.

The problem is on the ones deep down. And we don't have very good tools for dealing with them, but they are perfectly workable even with what we have today.

(A second large problem is on frameworks running on the top-level of your app. We have some tools for dealing with those, but the situation here is way worse than for libraries.)
by jeffreysmith | 2025-11-07 19:43:42+00:00
I'm one of the many people who Soumith hired to Meta and PyTorch. I had the privilege of working on PyTorch with him and lots of the folks on this post.

As his longtime colleague, the one thing I would want people to know about him and this decision is that Soumith has always viewed PyTorch as a community project. He consistently celebrated the contributions of his co-creators Adam and Sam, and he extended the same view towards the Yangqing and the Caffe2 crew that we merged into PyTorch. At the very beginning, by Soumith's highly intentional design, PyTorch was aimed at being truly developed by and for the AI research community and for many years that was the key way in which we grew the framework, FB PT team, and the wider community. At every single stage of PT's lifecycle, he always ensured that our conception of PT and its community grew to include and celebrate the new people and organizations growing what was possible with PT. He's an incredible talent magnet, and thus more and more smart people kept dedicating their blood, sweat, and tears to making PT bigger and better for more people.

I've worked with some very well known and highly compensated leaders in tech, but *no one* has done the job he has done with ameliorating a bus factor problem with his baby. PT has a unique level of broad support that few other open source technology can reach. In a world of unbounded AI salaries, people who want to move AI research methods forward still freely give their time and attention to PyTorch and its ecosystem. It's the great lever of this era of AI that is moving the world, *due in large part* to the strength of the community he fostered and can now let continue without his direct involvement.

His departure is the end of an era, but it's also operationally a true non-event. PyTorch is going strong and can afford to let one of its creators retire from stewardship. This is precisely what success looks like in open source software.

He deserves our congratulations and our thanks. Enjoy your PT retirement, man.
by aatd86 | 2025-11-07 19:43:58+00:00
Not really, in mathematic or type theory it is a proof. But that's besides the point. If there was nothing, then we wouldn't be able to describe it. We are only describing it because we think it might exist. So in itself it is illogical for it to exist since it can only exist if it does not exist.

Even if we had no data, the state before birth let's say, we still exist as a probability that is about to come to fruition. That is still besides the point.

If there was nothing, as you are trying to call it, there would not be existence. But then we would not be here. reductio ad absurdum. Even if life is a dream, it is still something, an experience. It is still an existence at some level. You are not discussing with nothing, while being nothing :)
by DocTomoe | 2025-11-07 19:44:01+00:00
Teachers are not good indicators of measuring 'benefits', as they are both the beneficiaries of a more brain-dead, more bored, more asleep student body, they have rose-tinted ideas about the way things used to be, and they are also grading the success - which all too often comes down to compliance.

That's why if this was a serious attempt to gauge whether smartphones are diametral or beneficial, we'd have a double-blind, standardised anonymously-graded test. If control group with smartphones gets consistently less points by graders who do not know them or their smartphone habits as compared to those who live in digital exile, we can talk. Until then, 'peace and quiet' in the classroom is mistaken for educational success.

Funny how no-one seems to be eager to finance such a study. For me, that's an indication that the outrage is pearl-clutching.
by khazhoux | 2025-11-07 19:44:02+00:00
Agree 100% with premise of the article. I feel like the big secret of the recent advances in LLM tooling is that these are all just variations of “send a chat request and process the output.” Even Tool Calling is just wrapping one chat request with another hidden one that is asking which of N tools applies and what the parameters should be. RAG is simply pre-loading a bunch of extra text into the chat request, etc.

My main point being, though: for anyone intimidated by the recent tooling advances… you can most definitely do all this yourself.
by stego-tech | 2025-11-07 19:44:16+00:00
That’s not a Union thing, that’s a system thing. Anyone fiercely on either extreme of the spectrum is missing the forest for the trees and proudly waving their willful ignorance of the dynamics of power.

In an ideal scenario, Unions and Shareholders would cooperate to achieve suitable outcomes for both parties; in reality, the amount of power needed to even get a Union off the ground and keep it sustained against the onslaught of Capital means those who wield said power are inclined to use it often. It’s why the (debatably) smarter gamble has been more workers forming anti-Capital institutions: cooperatives, union-first enterprises, sustainable corporations with stringent, anti-Capital bylaws. By removing Capital’s power early, those who do come to the table are more likely to negotiate in good faith rather than scorched-earth tactics.

Don’t slight unions as a whole just because power dynamics in a Capitalist society dictate everything be a zero-sum game. Instead, focus on building a better game and fairer set of rules, and recognize Unions are part of that.
by aatd86 | 2025-11-07 19:44:49+00:00
How can nothingness exists, if it is supposed to not exist since it is nothingness?

Concept are not really for humans, but humans can grasp them. Or would you say that the sun only exists because (some) humans see it?

It's not because a human is unaware of something that it does not exist. Its concept is still there somewhere. Independent of its treatment by human cognition.
by ScamLifeguard | 2025-11-07 19:45:41+00:00
The scams that people don't even know they are getting scammed on - GenZ has the one of the highest scam rates, but the dollar amount per scam is way low and they often dont even know they were scammed. Also, the political donation scams where the people "think" they are giving to a party or candidate but nope, just a PAC that spends all the money its collects on "operations" and "consulting fees" to its partners. Wild times.