MurphyA/hacker-news huggingface dataset:
by dqv | 2025-04-12 16:33:22+00:00
Bandit is coupled to Plug, so there isn't really a way to use it without Plug. But if you just don't want to use Plug.Router, you can always make your own router (with whatever perf implications that may or may not have). Plug.Router and Phoenix.Router are just middleware and Plug a middleware specification. You can do a case statement on `%Plug.Conn{}.request_path` or `.path_info`.

For Cowboy, what's wrong with the docs? Erlang translates to Elixir pretty cleanly (list comprehensions and records notwithstanding): prefix atoms with `:`, downcase variables, `%` maps, and `~c""` Erlang strings. If you're really itchy (as in the look of using atoms as modules makes you itchy), you can alias the Erlang modules as Elixir module atoms: `alias :cowboy_router, as: CowboyRouter`.
by anonfordays | 2025-04-12 16:33:26+00:00
Am I supposed to seriously believe people found that so offensive that the poster was banned for that? Were those crying, feigning offence, being satirical themselves? Truly Poe's Law at work here.

>I personally found it incredibly distasteful

How? Why? It's clearly satire, written in the style of The Onion.

>and also fairly representative of the quality of conversation you often get from some of the Nix community

Good satire? At least some members aren't brainrotted out to the point of no return.

> I'm not offensive, you're just thin skinned, can't you take a joke, etc.

It's clearly not offensive and if that upset you, you clearly have thin skin and can't take the blandest of jokes. Histrionic.

>I no longer endorse its use for any purpose and I seek to replace every piece of it that I was using.

I will also tell others not to use Nix after reading that. The community is indeed too toxic.

>I still hear about the ways they continue to royally fuck up their governance and make negligible progress on detoxifying the culture.

They won't detoxify until they remove all the weak neurotic leftist activists with weird fetishes for "underrepresented minorities."

>It took them until last fucking week to ban Anduril from making hiring posts on the same official forum.

I'm not sure who that is or why it's an issue, but I assume it's something only leftists cry about.
by heymijo | 2025-04-12 16:33:30+00:00
Yes, someone who truly wants greatness should be able to hear a poorly thought our argument, cognitively question the counter party to help them articulate exactly what they are thinking, or even articulate it better themself. Then you can weigh and measure competing arguments.

A high-functioning team is going to have at least one person who does this. For a perpetually high functioning team this is going to be second nature.
by lproven | 2025-04-12 16:33:42+00:00
On a Mac, that's fine. On Windows, it's not, because then I can't control the app any more.

I have been using Word since version 4 on DOS and version 5 on Classic MacOS. On Windows, I used WinWord 1, 2, 6, 95, 97, 2000, XP and 2003... then 4 years later MS ripped out the UI I knew backwards and had known for about 16 years, since 1991, and replaced it with one inferior in every way for me.

I'm not denying it might be better for others but for me it's now a waste of disk space.

The old versions do all I need, so I keep them. For everything except Word, there is LibreOffice.

But LibreOffice Writer has no outline mode, and I am a writer: that is THE killer function of Word for me.

So, Word 97 under WINE on Linux and Word 2003 when I have to use Win10 or -- shudder -- Win11.
by hinkley | 2025-04-12 16:34:03+00:00
On the first team where we did code reviews, I found in RCAs for the bad bugs that snuck in that there was a dearth of comments on the CR that introduced it.

But usually the severity was more correlated with a lack of comments on the tests. Giant holes in test cases meant giant bugs. So don’t call a PR ready to land until you’ve gotten a few substantive critiques. Because the absence of evidence is not evidence of absence.

For the bugs I introduced (I am highly bug-averse) it was either zero comments on tests, or bugs introduced by the CR process - changes I was coerced into making that I felt were wrong. And I can’t say which sort of subconscious resistance was at work there. Self sabotage for making changes I don’t want to, or my sixth sense for robust code telling me the suggestion is an antipattern. Probably both.

What I learned from that last, which I confirmed in subsequent years, was that as a team you should only tolerate major pushback on a CR/PR at the beginning of the review process. Anyone who jumps in late with Needs Work demands, especially after a round of feedback changes has already landed, has lost their right to participate in the review. Because as a PR drags on, everyone gets tired of looking at it and has a less critical eye for spotting bugs that have been introduced by committee. It quickly becomes better odds that the original bugs the early reviewers did not catch are less dangerous than the ones that will be introduced by work-hardening the PR.

It’s the same mechanic that makes pushing code or a deployment after 4pm a bad idea. Confirmation bias is greatly amplified by a desire to be somewhere else.
by RHSeeger | 2025-04-12 16:34:49+00:00
I think of my watch the same way a lot of people think of jewelry, or suits, or things like that. While it does serve a purpose (telling time), the primary reason I wear it is because I like it. It's functional, but mostly decorative.

I inherited my watch from my father, and I almost certainly wouldn't spend thousands to buy one myself; but I wear it every time I go out to dinner for anything fancier than that.
by pornel | 2025-04-12 16:35:39+00:00
LLMs on GPUs have a lot of computational inefficiencies and untapped parallelism. GPUs have been designed for more diverse workloads with much smaller working sets. LLM inference is ridiculously DRAM-bound. We currently have 10×-200× too much compute available compared to the DRAM bandwidth required. Even without improvements in transistors we can get more efficient hardware for LLMs.

The way we use LLMs is also primitive and inefficient. RAG is a hack, and in most LLM architectures the RAM cost grows quadratically with the context length, in a workload that is already DRAM-bound, on a hardware that already doesn't have enough RAM.

> Depending on US tariffs […] end of fossil fuels […] global supply chain

It does look pretty bleak for the US.

OTOH China is rolling out more than a gigawatt of renewables a day, has the largest and fastest growing HVDC grid, a dominant position in battery and solar production, and all the supply chains. With the US going back to mercantilism and isolationism, China is going to have Taiwan too.
by tetha | 2025-04-12 16:35:45+00:00
> The problem is not that incontrovertible proof cannot be provided real time. Yielding evidence from complex, esoteric systems is always difficult and time-consuming.

This is why we've started to write down larger decisions, the reasons and spots of uncertainty for these decisions in a central, public place. I'm jokingly referring to this as our growing constitution of tech.

I think this is right, because some of these decisions are not entirely comfortable, but a lot of bright people have thought about this over time and this compromise is what we figured is the most effective and workable one.

I'm entirely willing to up-end one of these decisions, but only if something strong comes up that hasn't been discussed in the past many times. But, our reasoning is here, and everyone can take all time they need to make a case why it's wrong, or some case needs further consideration and detail.
by jmull | 2025-04-12 16:36:51+00:00
You found a puff piece from 2010 to extoll Trump?

(It appears to be a promotional piece for a "CNBC Titans" episode featuring Trump.)

I try to assume good intent, which includes not writing off the odd things people post as bot-generated, but in this case, attributing this to a bot is quite a positive spin.
by mikeyouse | 2025-04-12 16:37:32+00:00
“Big pharma” spent nothing on Bernie Sanders because healthcare execs hate him and he doesn’t take money from corporate PACs. Individual, low level employees donated to him for the same reason they donate to any other politician. This has been widely known and understood since the baseless false equivalency was raised months ago and that you still repeat it just demonstrates the depths of the bad faith.

https://www.yahoo.com/news/fact-check-rfk-jr-misrepresented-...
by siffl | 2025-04-12 16:37:42+00:00
The reason that military forces tend to be composed mostly of men is for two very practical reasons:

1. Men are on average physically stronger than women, and at their peak are physically stronger than is possible for any woman. This is more useful in a combat situation.

2. Women's bodies are specialized for pregnancy and childbirth. Without women providing this essential function, the next generation of humanity would not exist. By contrast, men are more disposable because all they do is provide the sperm.

A society where almost all women have been killed in battle cannot effectively repopulate, as there is a bottleneck of pregnancy: it is a long process that - excluding relatively rare cases of multiple births - requires one woman per newborn to conduct. A society where almost all men have been killed can repopulate much more rapidly, as it only takes a small number of men to fulfil the male reproductive role of providing sperm.

In fact the existence of sperm banks makes the widespread obliteration of males even less of a risk to the survival of humanity. Plus there is a promising subfield of stem cell research on growing viable sperm from female cells, which would remove the reliance upon males entirely.
by lproven | 2025-04-12 16:37:43+00:00
100% true.

The sad thing is that Windows has a great keyboard UI and it's superbly accessible for people with visual and motor disabilities.

Who have reduced earning opportunities because they are disabled, so FOSS should be great for them, but it isn't, because the nerds don't know CUA and don't know the keyboard UI. They spend their time mastering a couple of ancient apps like Vi and Emacs and ignore the fiery furnace of UI R&D that followed for the next 20Y after those early efforts.

Learn Windows' keyboard UI and you can drive the whole OS and all its apps with the speed of a genius Vim user with 20 years' practice. It makes Emacs look like a wet paper pad and a burned stick compared to a Moleskine notebook and a top quality fountain pen.

Xfce comes close and implements maybe 75% of the UI but once you are in an app all bets are off.
by gessha | 2025-04-12 16:38:29+00:00
For me it’s less about trustworthiness and more about what they can do with the information. Google can potentially locate, profile and influence everyone around me and I don’t want that type of power however benevolent they are.

What can OpenAI do? They can sell my data, whatever, it’s a whole bunch of prompts of me asking for function and API syntax.
by mrangle | 2025-04-12 16:38:34+00:00
A company who who has a shiny thing that it charges money for, posting on a site specifically created for the expression of the malcontent characteristic of toxic malcontents, and the output is predictable.

Undoubtedly Adobe has legions of users who take a more nuanced view of Adobe and who would also be the type to use Bluesky. And yet.

I'd consider the complaints to be essentially the emotions that come up when people covet unaffordable privately created property.
by er4hn | 2025-04-12 16:38:42+00:00
Credit where credit is due, you're right. I'll admit, I was very unimpressed with the Chiang family's rule in general and ascribed the success of Taiwan to them not being charge, which was not correct. Quoting from the end of the wikipedia background article on the Taiwan Miracle:

> After retreating to Taiwan, Chiang learned from his mistakes and failures in the mainland and blamed them for failing to pursue Sun Yat-sen's ideals of Tridemism and welfarism. Chiang's land reform more than doubled the land ownership of Taiwanese farmers. It removed the rent burdens on them, with former land owners using the government compensation to become the new capitalist class. He promoted a mixed economy of state and private ownership with economic planning. Chiang also promoted a 9-years compulsory education and the importance of science in Taiwanese education and values. These measures generated great success with consistent and strong growth and the stabilization of inflation.
by gruez | 2025-04-12 16:39:23+00:00
>but it also contained a clause that it was “not a guarantee of payment.” Blue Cross was not obliged to pay the center anything, top executives testified. “Let me be clear: The authorization never says we’re going to pay you,” said Steven Udvarhelyi, who was the CEO for the insurer from 2016 to 2024, in a deposition. “That’s why there’s a disclaimer.

That quote is far less damning when you consider the surrounding context. The reasoning he gave for why "authorization never says we’re going to pay you" is that there might be deductibles, and out of network deductibles might be higher. That seems totally reasonable to me?

[1] https://www.documentcloud.org/documents/25882446-steven-udva...
by DamnInteresting | 2025-04-12 16:39:29+00:00
This game's dictionary is similar to Scrabble; it includes as many valid words as possible, even when they are obscure. It turns out that "asse" is a kind of fox:

https://www.merriam-webster.com/dictionary/asse

It's a sticky wicket with these obscure words. I've made other word games before, and people get upset when oddball-but-valid words are rejected. It feels more fair to be permissive, but that's just me.
by kirubakaran | 2025-04-12 16:39:38+00:00
> In a gold rush, the folks that sell pickaxes make a reliable living.

Not necessarily. Even the original gold rush pickaxe guy Sam Brannan went broke. https://en.wikipedia.org/wiki/Samuel_Brannan

Sam of the current gold rush is selling pickaxes at a loss, telling the investors they'll make it up in volume.
by sfifs | 2025-04-12 16:40:03+00:00
My partner just canceled her trip where she'd have easily spent 4-5k in the US economy due to uncertainty in the border governance.

A lot of my friends are rethinking sending their children to US for college education while Trump is in power and are considering European schools. That's probably a few million dollars over next 2-3 years potentially lost from the US economy from just people i personally know. And no one is coming from China.
by kazinator | 2025-04-12 16:40:22+00:00
Lawyers can't be replaced by AI because they are licensed professionals.

People will consult lawyers less in favor of uploading documents to an AI notebook and consulting with AI to make sense out of it.

People coming to lawyers will be more prepared and have better questions; lawyers will have to explain fewer basic to them.

There is likely a lot of interest in that because laywers bill by the hour and are very expensive. They don't necessarily want to pay for an hour just to be tutored on some generalities.

I have a tiny bit of experience in this general area, since I have uploaded my provincial and city traffic codes to NotebookLM. It gives accurate, on-point answers to questions about it, with citations pointing into the document.
by joshstrange | 2025-04-12 16:41:21+00:00
> also very clear that JS is not the future

I assume you are talking about WebAssembly/WASM/etc?

Foreword: I'm not super up-to-date on the state of these things, I'll refer to to as WASM from here on out but if that's not the right term then substitute it for "whatever it is that lets you write code, compile it to something that runs in the browser that isn't JS".

I don't think the future is clear at all. Honestly, I'd expect to see some kind of "Compile your JS ahead of time to this WASM bundle" before we see web developers switching over in droves to some other language that can be compiled to WASM.

Unless you take over full rendering, my understanding is you have to provide some kinds WASM<->DOM bridge to interact with it, my knowledge may be dated.

I write web apps in Javascript (Typescript), real "apps", not "everything should be a SPA just because", and would be interested in anything that improves performance and/or developer experience. There are some data-crunching operations that might run faster in something WASM and/or some aspects that I'd love to share between client and server (and the server can't run JS in this case). That said, everything I have seen is a significant downgrade in developer experience for something that is semi-supported.

I look forward to WASM support maturing and the developer experience improving. To my knowledge there is not a Vue/React-WASM-type framework out there yet or any framework for building web apps in WASM (without starting from a blank canvas).
by ceejayoz | 2025-04-12 16:41:29+00:00
It’s damning when you read the rest of the article. You’re right about the point of the disclaimer - it was not supposed to secretly mean “lol we have no intention of paying for this ever”, but they used it that way.

> They acknowledged that the disclaimer was not meant as a general excuse to free the company from paying bills. A prior authorization “usually” resulted in a payment, testified Brower, who reviewed the center’s bills. He said that the notice was intended for specific situations. For instance, Blue Cross would not cover a woman who dropped out of her insurance before the operation. Nor would it pay anything if a patient had not met her deductible. But otherwise, Brower said, Blue Cross intended to compensate for a procedure that it had authorized. “It’s inappropriate for us as a company to approve a code and then turn around and deny it,” Brower said.
by cmrdporcupine | 2025-04-12 16:41:44+00:00
<rant>Google is seemingly giving up on localization entirely. The whole world gets to be Yankee.

It's now started giving me F temperatures on my homescreen, for no particular reason. It knows I'm in Canada. I have set my units in the past to metric. What gives?

I still don't have Canadian English as a locale in Android or Chrome, after what, 15 years of Android? It's got words highlighted all over my page here as mis-spellings. They're not. I really did mean to type colour you piece of crap. I can switch to British but then get spanked for colourize instead of colourised etc.

And it seems to tie choice of English variant to things like pronounciation of words and accent for voice assistant. My car speaks to me in a British accent because I have it set to British English (the closest thing to my own spellings).

They never even tried to handle the facts of the (40M person) Canadian bilingual market. Navigation is either French or English, but many Canadian road sides are in both and it tries to read them out and butchers the pronounciations. Drive into Quebec and have your phone set to English and it's laughable what it does. (Notably doesn't do this for Spanish words in the US, which it seems to have no problem with).</>
by retrac | 2025-04-12 16:42:02+00:00
Just to be pedantic, it is unclear if the Aztecs had "full writing". The notation system in the codices is probably more like a kind of mnemonic and accounting system along with a calendar. They probably couldn't write arbitrary sentences. But so little material survives we don't actually know!

The Maya though absolutely had "full writing" at least during the classical phase around 200 - 800 AD, and their writing probably derived from the older Olmec system. The Maya system worked much like classical Japanese or ancient Egyptian, and uses a mix of ideographs and purely phonetic symbols. They could, and did, write anything they could say. There are historical accounts of battles and names and etc. given in monumental inscriptions. And it is almost certain during the classical era that the Maya had full literature, with stories, mythology, histories, anthologies, religious scripture, etc. There were probably still priests who could read the Maya system when the Spanish arrived - one Jesuit recorded notes that indicate some of the phonetic values of some of the symbols correctly! - but they were mostly killed and most of the codices burned by the conquistadors.

It was not deciphered again until the 1970s and it's sadly still not widely appreciated that Mesoamerica had literate civilizations.

Fun fact: The Maya were such good astronomers and record-keepers that we have exact date alignment, which we have neither for Ancient Egypt or for Mesopotamia. For example any dates in Assyrian records are subject to a ~40 year window of uncertainty for exactly when they occurred. There is no such ambiguity for the Maya: Pacal the Great almost certainly died on August 29, 683.
by wnoise | 2025-04-12 16:42:30+00:00
"Criminally insane" and "psychosis of maniac" are incredible hyperbole.

The only reasonable word there is "criminally". Of course assassinations are criminal.

One doesn't have to be insane, psychotic, or a maniac to kill someone, or to let someone die. All it takes is valuing other things above the life taken. This is not that uncommon.

Now, you can think Mangione is wrong about the effects, that he did not have a rational plan that would get him his desired end goal. I think that's obviously true even. But that's just how most humans act most of the time, and is not insanity.
by gchamonlive | 2025-04-12 16:42:43+00:00
Have LLMs replace developers for lower level code can be a goal but isn't the only one.

You can use AI to assist you with lower level coding, maybe coming up with multiple prototypes for a given component, maybe quickly refactoring some interfaces and see if they fit your mental model better.

But if you want AI to make your life easier I think you will have a hard time. AI should be just another tool in your toolbelt to make you more productive when implementing stuff.

So my question is, why do you expect LLMs to be 100% accurate to have any value? Shouldn't developers do their work and integrate LLMs to speed up some steps in coding process, but still taking ownership of the process?

Remember, there is no free lunch.
by HDThoreaun | 2025-04-12 16:42:59+00:00
> they tried to claim that the slogan "from the river to the sea Palestine will be free" is genocidal.

There is no other meaning. The slogan is a call to kill every single Israeli. That is literally what it means. Where will the israelis be when palestine is free from the river to the see? The hamas charter still to this day calls to kill every single israeli. This is the problem. You yourself dont even know what it is you are calling for, then you get mad when others point out that you are using slogans that call for a genocide. For the record I think Likud is awful as well, but at least in the US there are no serious israel supporters using the israeli version of the slogan.

As far as counting deaths that doesnt work because Hamas is getting their own civilians killed on purpose while israel is doing the opposite. If hamas had a nuke it would wipe israel off the map, israel does have nukes and the palestinians are more numerous than ever. The palestinaians are deeply oppressed, but theyre also raging assholes who would love nothing more than to not just oppress but kill every isreali. Being oppressed doesnt make them right.
by 1vuio0pswjnm7 | 2025-04-12 16:43:00+00:00
"Most components of std are about 95% working in .NET, and 80% working in C."

.NET

Core tests 1662 39 12 97.02%

C

Core tests 1419 294 82.83%

Missing from HN title: The "95%" pass rate only applies to .NET. For GCC/Clang it is only "80%".
by AnthonyMouse | 2025-04-12 16:43:37+00:00
They don't have to be the same people if they were the people who showed up in the primary to vote for someone like Ron Paul and then stayed home on election day when the Republicans nominated an establishment candidate instead.

But also, you might be surprised. Elections aren't decided by the bulk of partisan voters who show up to always vote for the same party and then cancel each other out. They're decided by the much smaller number of people willing to vote for a candidate instead of a party, and therefore move votes from one column to the other.