MurphyA/hacker-news huggingface dataset:
by smcin | 2025-04-09 09:36:41+00:00
> "...will be good for 'the economy' "

"The economy" in the US does not mean "jobs" or "the general public" or "the middle class" or "workers" or "people who live in your town/city/region" or "the general public's savings/ standard-of-living". It means "the stock holdings and assets of the top ~20(-40)% richest".

The top 10% of Americans held 93% * of all stocks, while the bottom 50% only 1%, as of 1/2024. (* It was only 70% back in 2019 [2]. That's a huge 5-year change.)

(In 3Q/2024, the bottom 50% of households held $4.8T real estate assets + just $0.3T stocks. The top 1%, by comparison, held over $16T stocks + $6T real estate assets.)

[0]: Scott Galloway (Prof G) keeps talking about this distribution of wealth and why it's structurally dangerous to the US.

[1]: "The Richest 1 Percent Own a Greater Share of the Stock Market Than Ever Before" (1/2024) https://inequality.org/article/stock-ownership-concentration...

[2]: Here's an older USAFacts on 2019 Fed data: https://usafacts.org/articles/what-percentage-of-americans-o...
by pjmlp | 2025-04-09 09:36:42+00:00
Yet, I have zero issues mapping COM approach to OOP into Rust, because it turns out as per CS type systems theory, there are many ways to achieve the same goal.

Practical example, Raytracing in one weekend port from C++ to Rust, keeping the overall architecture.

Second example, Microsoft bindings to WinRT for Rust.
by Ygg2 | 2025-04-09 09:37:34+00:00
So is any big enough community. Look at that "Why Go?" discussions, and you'll see a lot more loud, obnoxious C# devs, but somehow Rust is the worst.

There was also a Rewrite it in LISP post[1] fan. Where is the

"The Lisp community is unfortunately plagued by this subset of devs who are zealous (and downright toxic) in their shilling for their favorite language."

[1]https://github.com/microsoft/typescript-go/discussions/411#d...
by mattmanser | 2025-04-09 09:37:34+00:00
I also agree with most of it, apart from that. I actually think this advice comes from the different ways people learn. And if you don't learn the way the author does, this advice feels wrong and jarring.

I learn by doing, not reading. If I read something but don't actually use it I'm liable to forget it. My brain seems to classify it as "not practical, not needed". If I do actually use it, however, I tend to learn it quickly.

So for me documentation is pretty terrible, reading how something works doesn't help, I need to see examples. When I see something in action, I actually learn it. Even copy/pasting works as I'll poke at the copied code, changing variables, playing with params, add/remove comments, etc. No code is ever just copied, it's always manipulated, cleaned up, unnecessary cruft removed.

And there's a whole load of documentation out there that has no examples, or really poor examples that don't relate to how you want to use something.

And for me with an API that doesn't make "sense" I find it really hard to ever remember. Like SQL Server's "OVER" clause, I've used it intermittently over the years and every time I come to use it, I have to re-learn it again. I find those sort of APIs really frustrating.
by mezyt | 2025-04-09 09:37:55+00:00
I've hired by Linkedin recently and had to triage that stream of shit. There's 50% of candidate with no qualifications at all, then 25% that are somewhat qualified for something but not for the job at hands, then on those qualified there are some which might have left actual ChatGPT identifiable output in their own CV ("this job summary is short and insightful and will increase retention rate by 55%"), then of those that actually took some care of their CV and/or cover letter you realize their 'personal website' is an empty shell with fake projects and links to 2s YouTube video telling you that the demo is coming soon... you get the idea.

If you match the job well and want to get it, and actually accomplished something at some point, you should try to get it even if Linkedin showed you a high number.
by Cthulhu_ | 2025-04-09 09:37:57+00:00
I use search engines, but that's because I just yeet in a few words and I get a result, either directly through the preview or after a click through to the results.

With chatbots I first need to formulate a question (or, I feel like I do), then wait for it to slowly churn out an overly wordy response. Or I need to prompt it first to keep it short.

I suppose this difference is different if you already used a search engine by asking it a fully formulated question like "What is a html fieldset and how do I use it?" instead of "html fieldset" and clicking through to MDN.
by roenxi | 2025-04-09 09:38:11+00:00
This article seems to have an odd rhetorical stance against people solving problems. Things like:

> Inevitably, Elon Musk, techno-capitalism’s own Zelig, also has strong opinions on the subject: in destroy-infrastructure-first wars of the future, he opined in a recent Westpoint appearance, “any ground based communications like fiber optic cables and cell phone towers will be destroyed.” If only someone ran an internet satellite company to save us!

I get the impression this is supposed to be dripping sarcasm, but in a fairly literal sense it is describing the expected and productive dynamic. Musk has identified a problem and is proposing a solution. To hurry matters along he is implementing the solution whether everyone agrees there is a problem or not.

How else is it supposed to work? This dynamic turned up a few times and I don't expect the author to have a productive theory for how we're supposed to organise people to effect change - I expect it will involve waiting for Democrats and Republicans to agree on something first (which, traditionally, not a process that leads to the highest of speedy successes). If we're waiting for people with no financial stake or know-how to build and promote satellite networks it could take a while.
by tsak | 2025-04-09 09:40:33+00:00
> Really Read the Error Message and Try to Understand What’s Written

This is a surprising stumbling block for a lot of developers when they encounter a problem. Most times the solution is hiding in plain sight (albeit at least one level of abstraction lower sometimes) and reading what the error was can help to quickly solve an issue.

Anecdotal evidence: We use `asdf` for managing Python, Go and NodeJS versions for our main project. On a fresh Fedora/Ubuntu install, running `asfd install` fails to compile Python as it is missing a few dependencies that are required for Python's standard library. The output that is provided when the `asdf` command fails is pretty self explanatory IF you care to read it.
by metalman | 2025-04-09 09:41:01+00:00
the thing is that floride does reduce the collective "IQ" of society, through the sheer amount of energy devoted to arguing about it given that there is more than enough data to make complete and open determinations of all of florides effects, it would serve everybody to create and publish all of it. there ARE problems with water supplies, worldwide, and there have been horrible mistakes and cover ups. If there areedge cases and people with suseptibilities to floride(very likely), then that needs to be understood, and published. The simple fact is that there is a great deal of variability in human populations in how they can metabolise things in food and water, with some populations able to pass levels of arsinic that is lethal to others. There is one view point that suggests that population groups should be defined by there enzimatic balance, rather than ethnicity or race. I personaly had a accidental, but major impact on our local water supply, when chatting with some of our local legislators about our water, I joked that I was considering refuseing to pay my water bill, as water is defined as a coulorless, oderless liquid, and what came out of my tap, was niether......the one guy said "can I use that?" we got a whole new water supply clean water and air need to be primary, non negotiable rights, that every person has, and must be included in all municipal declarations, ie:no clean water, no town or city

clean*~up to date published testing....no secrets

!trivia: floride was identified as benificial to dental health from small populations in ?sweden? switzerland? way way back, who had great teath, and the local wells have naturaly occuring, floride......
by lotsofpulp | 2025-04-09 09:41:38+00:00
Does this account for defined benefit plan pension fund holdings, especially taxpayer funded DB pensions? Does it also allocate to individuals the equity held in accounts like state 529 plans, 401k, HSA, 403b, and other types of tax advantaged accounts? Or, for example, Norway’s sovereign fund?

Seems like a non trivial task to divvy up the beneficial ownership of equities. Plus, I would expect older people to have more savings, so there would need to be a normalization for age, presumably.

Edit: Looks like the source is here:

https://www.federalreserve.gov/releases/z1/dataviz/dfa/index...

> The DFAs integrate two data products produced by the Federal Reserve Board: the Financial Accounts of the United States, which provide quarterly data on aggregate balance sheets of major sectors of the U.S. economy, and the Survey of Consumer Finances (SCF), which provides comprehensive triennial microdata on the assets and liabilities of a representative sample of U.S. households.

Diving more into this data seems time intensive, so I guess I’ll just take the Fed’s word for it.
by Cthulhu_ | 2025-04-09 09:41:55+00:00
I just want to say that this thread / the responses to your question are better than either search engines or LLMs can ever come up with, and shows the truth of Cunningham's Law: "The best way to get the right answer on the internet is not to ask a question; it's to post the wrong answer"

Or updated for the LLM age, "the best way to get the right answer from an LLM is not to ask it a question and use its answer; it's to post its response on a site of well-educated and easily nerdsniped people"
by neonsunset | 2025-04-09 09:42:05+00:00
Do you have a specific snippet in mind which demonstrates the issue? It is likely more of a team or a community issue when it comes to writing unreadable code than a language one since it tends to happen in every sufficiently powerful language.

C# did not “have to absorb every idea from F#”. This is not how programming language development works. You can read LDM notes at https://github.com/dotnet/csharplang/discussions?discussions... and specs are documented in the repo.

> rather than making F# a viable programming language

F# is a viable language aside from using specific few libraries that don’t play with it nicely or around writing ref struct heavy code. I’m not sure what makes you think it is not. In comparison, it is probably more viable for shipping products than Scala, Clojure, OCaml and Haskell.
by InkCanon | 2025-04-09 09:42:42+00:00
The second one is so delusional. It assumes you can build a moat for all manufactured products. This is true in extremely specific, high value cases like lithography machines or chips. But when you talk about screws, glue, plastic bits and what makes up 90% of manufacturing, there is no moat. You're not going to build a monopoly on screws.
by raxxorraxor | 2025-04-09 09:43:10+00:00
> With transmutation and the option for recycling it altogether, waste is not an issue

Yes, waste is an issue. We only recently got the first permanent storages and their viability is to be tested.

Dropping barrels in the ocean was just kind of recently disallowed. Nuclear waste processing still drops contaminated water into oceans and rivers.

Water is a brilliant radiation absorber. But you can be sure this radiation will at some point reach the food chain. These are insurmountable costs and other technologies don't have these problems, toxicity of materials is different from ratiation from decaying materials.

Perhaps there is a place for nuclear power, but its problems should not be ignored or downplayed as well as its costs.
by leovingi | 2025-04-09 09:43:10+00:00
>China has grew out of manufacturing because a lot of it is moving out of China

China's Manufacturing Production [1] and Industrial Production has increased year-on-year for the past 10 years, excluding abnormal events such as Covid, so where are you getting your data? If you meant to say that they are transitioning to a higher level of manufacturing, instead of the sweatshops they were associated with in the 90s, this is true. But it was the low-level manufacturing that allowed them to build up both the capital and the skill necessary to advance further and further.

Hell, you've got a naval empire (the United States) that is currently unable to come even close to the Chinese ship-building capabilities - their output dwarfs the US by 232x [2]. It's not something that happened overnight and it's certainly not something that was strategically planned out 30 years ago - it is a slow process that started with low-level outsourcing and allowed China to grow into the behemoth it is today.

Sooner or later the US was going to have to deal with this fact and it seems like that time has come. Whether or not there's a plan, whether or not it will even work - I have no clue, you have no clue and neither does anyone on this forum.

Also, to counter another point you made - "When we talk about these trade deficits do we include streaming services, television shows, films, games and whatever else?" - you can't fight a war with an economy based on streaming services, TV shows and games.

[1] https://tradingeconomics.com/china/manufacturing-production

[2] https://www.americanmanufacturing.org/blog/chinas-shipbuildi...
by westurner | 2025-04-09 09:43:59+00:00
I took AP Stat in HS and then College Stats in college unnecessarily. In HS it was TI-83 calculators, and in college it was excel with optional minitab. R was new then

I remember ANOVA being the pinnacle of AP Stat. There are newer ANOVA-like statistical procedures like CANOVA;

"Efficient test for nonlinear dependence of two continuous variables" (2015) https://pmc.ncbi.nlm.nih.gov/articles/PMC4539721/

Estimators:

Yellowbrick implements the scikit-learn Estimator API: https://www.scikit-yb.org/en/latest/

"Developing scikit-learn estimators" https://scikit-learn.org/stable/developers/develop.html#esti... :

> All estimators implement the fit method:

estimator.fit(X, y)

> Out of all the methods that an estimator implements, fit is usually the one you want to implement yourself. Other methods such as set_params, get_params, etc. are implemented in BaseEstimator, which you should inherit from. You might need to inherit from more mixins, which we will explain later.

https://scikit-learn.org/stable/modules/generated/sklearn.pi...

Sklearn Glossary > estimator: https://scikit-learn.org/stable/glossary.html#term-estimator

https://news.ycombinator.com/item?id=41311052

https://news.ycombinator.com/item?id=28523442

What is GridSearchCV and what are ways to find optimal faster than brute force grid search?

IRL case studies with applied stats and ML and AI:

- "ML and LLM system design: 500 case studies to learn from" https://news.ycombinator.com/item?id=43629360

Additional stats resources:

- "Seeing Theory" Brown https://seeing-theory.brown.edu/

- "AP®/College Statistics" Khan Academy https://www.khanacademy.org/math/ap-statistics

- "Think Stats: 3rd Edition" notebooks https://github.com/AllenDowney/ThinkStats/tree/v3

And physics and information theory in relation to stats as a field with many applications:

- "Information Theory: A Tutorial Introduction" (2019) https://arxiv.org/abs/1802.05968 .. https://g.co/kgs/sPha7qR

- Entropy > Statistical mechanics: https://en.wikipedia.org/wiki/Entropy#Statistical_mechanics

- Statistical mechanics: https://en.wikipedia.org/wiki/Statistical_mechanics

- Quantum Statistical mechanics: https://en.wikipedia.org/wiki/Quantum_statistical_mechanics

Statistical procedures are inferential procedures.

There are inductive, deductive, and abductive methods of inference.

Statistical inference: https://en.wikipedia.org/wiki/Statistical_inference

Statistical literacy: https://en.wikipedia.org/wiki/Statistical_literacy

Also, the ROC curve Wikipedia sidebar: https://en.wikipedia.org/wiki/Receiver_operating_characteris...

What is the difference between accuracy, precision, specificity, and sensitivity?

Khan Academy has curriculum alignment codes on their OER content, but not yet Schema.org/about and or :educationalAlignment for their https://schema.org/LearningResource (s)
by Cthulhu_ | 2025-04-09 09:44:26+00:00
Voice interfaces have become ingrained in some people's lives thanks to either their on-device thing (siri) or there being a permanent listener in their house (alexa); I suspect the same thing will happen with LLMs when they get integrated like that, which is already happening with Copilot in every editor, Gemini in every Google product, and soon enough (if not already) Apple Intelligence and co in phones.
by n4r9 | 2025-04-09 09:44:43+00:00
Are you telling me you've never seen code like this:

var ageLookup = new Dictionary<AgeRange, List<Member>>(); foreach (var member in members) { var ageRange = member.AgeRange; if (ageLookup.ContainsKey(ageRange)) { ageLookup[ageRange].Add(member); } else { ageLookup[ageRange] = new List<Member>(); ageLookup[ageRange].Add(member); } }

which could instead be:

var ageLookup = members.ToLookup(m => m.AgeRange, m => m);
by h1fra | 2025-04-09 09:46:51+00:00
Failed to import a Postgres export with all of this errors:

- "missing_fields" _text NOT NULL DEFAULT ARRAY[]::text[]

- "status" text NOT NULL DEFAULT 'RUNNING' ::text CHECK (status = ANY (ARRAY['RUNNING'::text, 'PAUSED'::text, 'STOPPED'::text, 'SUCCESS'::text]))

- DROP TYPE IF EXISTS "script_trigger_event";

- CREATE UNIQUE INDEX name ON table_name USING btree(unique_key, environment_id, deleted_at) NULLS NOT DISTINCT;
by AngryData | 2025-04-09 09:49:00+00:00
Maybe where you live people making under $30K for even the lowest entry level job is exceedingly rare, but there are still ass tons of people earning below that, especially in rural areas. Half of US states have a median wage under $40K, that leaves a LOT of room for jobs paying below $30K. And no those people are not happy, yeah housing is cheaper, but goods and services are not. Amazon doesn't charge you less for living in Mississippi instead of New York. Many stores that do still exist farther out have higher shelf markups too except for the highest demand bulk products where competition actually exists.
by dspillett | 2025-04-09 09:49:12+00:00
> Could you use git pre-commit hooks

Possibly, though I might be concerned that the format has ordering oddities that it is unexpectedly sensitive to. Unlikely, but given how many other oddities DTS/SSIS has collected over the years I'd not be surprised!

Also, we weren't using Git in DayJob at the time we were actively developing with SSIS (maybe VSTS had an equivalent we could have used?), and we are now acting to remove the last vestiges of it from our workflows rather than spending time making it work better with them!
by dtquad | 2025-04-09 09:49:49+00:00
Interesting and important question.

I know MobilePay by Danske Bank is one of the most popular payment apps and can be linked directly to a Danish bank account (probably using the Danish "Dankort" payment infrastructure) without Visa/Mastercard involvement.

Most Danish POS and e-commerce solutions support MobilePay and surprisingly the biggest international POS/e-commerce providers also support MobilePay:

https://docs.adyen.com/payment-methods/mobilepay/

https://stripe.com/en-dk/payment-method/mobilepay

https://help.shopify.com/da/manual/payments/shopify-payments...

Our independence from US-based Visa/Mastercard payment infrastructure is enabled by our decades-old "Dankort" digital payment infrastructure that was initially based on magnetic strip cards. Even today most people opt for a so-called "Visa/Dankort" chip card that domestically use the Danish Dankort payment infrastructure but can internationally be used as a Visa.
by taneq | 2025-04-09 09:50:00+00:00
Having been out of the web dev game (or at least ‘front end’ as you cool kids are calling it? ;) for a while, I was a little dismayed when I asked an LLM for a web page that did a specific thing. It required Bootstrap and Angular and a bunch of other stuff. Asked it nicely to redo it in plain HTML and JS and the resulting code was simpler and no longer then the original, with no external dependencies.
by kuba-orlik | 2025-04-09 09:52:36+00:00
The GDPR does not enforce the use of cookie banners. Cookie banners is an IAB idea. My suspicion is that they were created to make people angry at GDPR, but they have nothing to do with GDPR.

On most website that I've analyzed (and it's quite a lot - into hundreds), you can remove the cookie banner and the website would be just as GDPR (in)compliant as with the cookie banner.
by caseyy | 2025-04-09 09:54:00+00:00
By the way, the games you named are called black hole games. They capture players and don't let go. They are scarce (about 1 in 40,000-60,000), and many industry issues don't apply to them. For example, market oversaturation isn't a problem, player retention isn't a problem, network effects aren't a problem, and old growth engines aren't a problem. They are like “winning the lottery,” but most game developers live in a world where they haven't won.

Another similar exception to the industry rules is the top 20-30 franchises, like NBA2K, GTA, FIFA, Far Cry, Call of Duty, The Sims, Assassin’s Creed, etc. Together, they account for about half the new game and DLC sales. Black hole games take another ~30%, and the remaining 19,000 annually released games share the remaining 20%, with the top 50 games making up 19/20ths of it.

What matters for 95%+ of game developers is performing well in that 20%. And they sell close to 0 lootboxes, for example.
by graemep | 2025-04-09 09:55:38+00:00
Not always, but the change happened long before Trump. it is also part of a wider change.

Some of the ideas mentioned in the article such as subscription policing and seasteading have been around for decades.

The arrogance of the wealthy goes back to the 80s, and reflects the moral change of "greed is good" replacing "money is the root of all evil" (which started long before, of course).
by suraci | 2025-04-09 09:56:28+00:00
``` noun a state of relative international peace regarded as overseen by the US (or the UK). ```

``` Pax Americana[1][2][3] (Latin for 'American Peace', modeled after Pax Romana and Pax Britannica), often identified with the "Long Peace", is a term applied to the concept of relative peace in the Western Hemisphere and later in the world after the end of World War II in 1945, when the United States of America[4] became the world's foremost economic, cultural, and military power exercising primary responsibilities for world order. ```

"Long Peace"

google is not that shit, the noun is
by ozim | 2025-04-09 09:58:36+00:00
There are always better sources to read usually than documentation cover to cover.

There is no "only SO and LLM shortest path" vs "always read full documentation" - there are always more sources like blog posts, walk troughs that will be much better investment of time.

Sometimes you need someone to explain architecture of the tool much differently than it is described in documentation when documentation is dry. Sometimes you need better examples better aligned to what you are trying to do. You need different approaches to grasp the thing.