MurphyA/hacker-news huggingface dataset:
by tialaramex | 2025-12-05 00:46:39+00:00
> In both Go and Rust, allocating an object on the heap is as easy as returning a pointer to a struct from a function.

I can't figure out what the author is envisioning here for Rust.

Maybe, they actually think if they make a pointer to some local variable and then return the pointer, that's somehow allocating heap? It isn't, that local variable was on the stack and so when you return it's gone, invalidating your pointer - but Rust is OK with the existence of invalid pointers, after all safe Rust can't dereference any pointers, and unsafe Rust declares the programmer has taken care to ensure any pointers being dereferenced are valid (which this pointer to a long dead variable is not)

[If you run a new enough Rust I believe Clippy now warns that this is a bad idea, because it's not illegal to do this, but it's almost certainly not what you actually meant]

Or maybe in their mind, Box<Goose> is "a pointer to a struct" and so somehow a function call Box::new(some_goose) is "implicit" allocation, whereas the function they called in Zig to allocate memory for a Goose was explicit ?
by SaaSDesigner | 2025-12-05 00:46:46+00:00
SEEKING WORK | REMOTE | WORLDWIDE

Location: Toronto (but currently digital nomading in Asia)

Remote: Only

Willing to relocate: No

Technologies/Skills: Product Design, UX Design, UI Design, Figma, SaaS Design, Design Systems, Variables, Tokens, SaaS Design, Dashboard Design, Landing Page Design, User Experience, User Interface, UX Design, Web Design, UX Designer

Résumé/CV: https://SaaSDesigner.com/

Email: bren@saasdesigner.com

---

I’m Brendan, a dedicated UX/UI & SaaS Product Designer (B.A. Interaction Design from Canada).

For 9+ years, I’ve delivered high-converting UI/UX solutions for ambitious startups and founders across web and mobile applications.

Need continuous, dedicated design support to keep up with competition and scale your development pipeline? I provide an ongoing UX / UI designer partnership. You'll receive development-ready, high-fidelity design deliverables every single week to immediately ship more value to your users and keep up with your competition.
by kulahan | 2025-12-05 00:46:59+00:00
It’s understandable that people with a milder form of autism would find it reprehensible that people want to “fix” them rather than simply accept a different type of person exists, but this really just ignores people at the harshest end of the spectrum who might be able to live an independent life if a cure were developed.

That’s kinda the whole argument behind more subgroups. Mild autists don’t need a cure. A subgrouping would help explain this.

There are plenty of conditions which are just “part of who you are” that still probably should be cured if possible, if for no other reason than to improve their quality of life.
by ineedasername | 2025-12-05 00:47:14+00:00
Lots to unpack in this so this following isn’t representative of my view on all of the article:

Cheating? Really? There’s a passing reference to getting an accommodation if partly through convenience as cheating. This throwaway line holds a lot of the problems of education in it. It denotes a view where education is less about learning than point scoring. Getting an accommodation for an extra day on a project is no more cheating than if a student asked for an extension.

Plenty of other accommodations, though maybe not all, are similarly not-cheating. It’s not cheating. It’s also not fair but so what? Put aside the system burdens doing this under the ADA may cause and your left with, what? Students being given more leeway and flexibility to 1) learn and 2) demonstrate that they have learned material.

This should be much less about “omg students taking advantage” and more about about “hmm, maybe this says a lot about how poorly things are currently done and better they could be with more thoughtful design”
by throwaway2037 | 2025-12-05 00:47:15+00:00
> OOP has been out of favor for a while now

I love these lines. Who writes this stuff? I'll tell you: The same people on HN who write "In Europe, X is true." (... when Europe is 50 countries!).

> Zig is a language for data-oriented design.

But not OOP, right? Or, OOP couldn't do the same thing?

One thing that I have found over umpteen years of reading posts online: Americans just love superlatives. They love the grand, sweeping gesture. Read their newspapers; you see it every day. A smidge more minimalism would make their writing so much more convincing.

I will take some downvotes for this ad hominem attack: Why does this guy have 387 connections on LinkedIn? That is clicking the "accept" button 387 times. Think about that.
by 1vuio0pswjnm7 | 2025-12-05 00:48:21+00:00
"Let's Encrypt did more for privacy than any other organization."

LE allowed more sites to get certificates. This has obvious benefits for e-commerce, for example

But so-called "tech" companies, e.g., "Big Tech", have, since before and after LE was started, continued to perform the largest mass scale intentional erosion of privacy in human history

The exfiltrated data is encrypted in transit using TLS. This may prevent ISPs or other passive network observers from competing with the so-called "tech" companies in the data collection, surveillance and ad services business

Arguably the use of TLS certificates increases privacy from ISPs or other passive network observers, but it does not increase privacy from so-called "tech" companies, who are perhaps the greatest threat to privacy that computer users face. Their "business model" depends on violating privacy norms

And, in fact, commercial CA certificates as pre-installed in browsers and required on the www ("WebPKI") effectively obstructs computer users from monitoring their own egress traffic in real-time. Hence corporations and other computer users must work around "WebPKI" to perform "TLS inspection"

M
by stevenveltema | 2025-12-05 00:49:27+00:00
For some reason, this reminded me of the Japanese "Music Sirens" that were made mimicking the sound production methods of the wartime air raid sirens. If you are in Oita, you can hear one of the few instruments still active every day at 10am when the Tokiwa store opens: https://www.airraidsirens.net/forums/viewtopic.php?t=26999
by bruce511 | 2025-12-05 00:49:45+00:00
Agreed. Frankly test taking doesn't correlate to job performance well by any metric.

For example, get 90% on a test, that's applauded and earns a distinction. In a job context, 90% gets you fired. I don't want a worker who produces "90% well soldered boards". I don't want software that runs on "90% of our customers computers". Or a bug in every 10 lines of released code.

A test puts an arbitrary time limit on a task. In the real world time is seldom the goal. Correctness is more important. (Well, the mechanic was going to put all the wheel nuts on, but he ran out of time.)

College tests are largely a test of memory, not knowledge or understanding. "List the 7 layers of OSI in order." In the real world you can just Google it. Testing understanding is much harder to mark though, Testing memory is easy to set, easy to mark.

Some courses are moving away from timed tests, and more towards assignments through the year. That's a better measure (but alas also easier to cheat. )
by raggi | 2025-12-05 00:49:58+00:00
People always complain about unsafe, so I prefer to just show the safe version.

use std::sync::Mutex; static LIST: Mutex<Vec<String>> = Mutex::new(Vec::new()); fn main() -> Result<(), Box<dyn std::error::Error>> { LIST.lock()?.push("hello world".to_string()); println!("{}", LIST.lock()?[0]); Ok(()) }
Show HN: I Built FavMusic After My Daughter Wanted a Heart Album Template
by olivefu | 2025-12-05 00:50:10+00:00
My teenage daughter loves rock music — rock, indie rock, emo, anything loud and emotional. Like a lot of people on TikTok, she enjoys making “favorite album” collages as a way of documenting what she listened to each month.

But a few months ago, she came to me with a very specific complaint:

“Topster doesn’t have the heart-shaped template everyone uses on TikTok. Why is everything just simple grids?”

I checked, and she was right. The classic Topster tools haven’t really evolved: 3×3, 4×4, 5×5 grids… and that’s basically it. No modern templates, no auto-save, exports are low-res, and mobile experience is rough.

So — as any parent who is also an engineer might do — I built what she wanted.

The result is https://favmusic.org .

What I built

FavMusic is a modern, web-based album collage maker. All the things we always wished Topster had, I tried to implement:

Modern templates

3×3, 4×4, 5×5 (Topster-style)

Heart 13 template

Heart 15 template (the TikTok one my daughter wanted)

Heart 27 template More shapes coming soon (stars, circles, “timeline boards”)

Auto-save

Your collage is always saved locally while you build it. You can add albums slowly, over weeks or months — a feature my daughter really likes.

High-resolution export

No more blurry charts.

Public share pages

Each collage optionally gets a shareable link:

https://favmusic.org/share/xxxxx

Works on desktop and mobile

A lot of users build these on their phones.

Why I’m sharing this on HN

I didn’t intend to turn this into a product. It started as a small tool built because my daughter wished something existed and I thought:

“This is small enough that I can build it for her.”

But after sharing it with a few friends, I realized a surprising number of people use album collages as a kind of music diary. It’s a fun little intersection of engineering, music culture, and personal memory.

I’m sharing it here in case anyone’s interested in:

how it’s built (Next.js 14, Tailwind, Supabase, server actions, DOM-to-image)

UI/UX around visual memory tools

ideas for improving it

or if you simply enjoy music and want to create your own end-of-year collage

If you want to try it

https://favmusic.org

Feedback is very welcome — especially on performance, template design, and export quality. And if you have suggestions for new shapes, I’d love to hear them. My daughter probably will too.
by iamnothere | 2025-12-05 00:50:45+00:00
The ruling is about an advertisement, but:

> There’s nothing inherently in the law or the ruling that limits its conclusions to “advertisements.” The same underlying factors would apply to any third party content on any website that is subject to the GDPR.

So site operators probably need to assume it doesn’t just apply to ads if they have legal exposure in the EU.
by Nevermark | 2025-12-05 00:51:23+00:00
What is the goal of a rock falling off a ledge?

Just because things interact doesn't mean there was a goal end state.

But, life is different. Life that survives better, out competes life that doesn't survive as well. So biology becomes incredibly fine tuned for one goal: survival.

Not survival of the individual, although that is part of it. But survival of the thing that makes the choices of how to survive. I.e. our genes. They evolve to enhance their own survival.

Which is why we care about our family more than others. Genes for caring about family have an advantage over genes that don't. Because many of our genes will also be in our other family members.

So from that perspective, each of our cells cares about doing its part to help ensure our genes survive. So it cares about itself surviving, but it also cares enough (when working properly) to sacrifice itself when it is too damaged. Because the cell doesn't last forever no matter what, but the individual it is in can pass on its genes if it sacrifices for that individual.
by GrumpyGoblin | 2025-12-05 00:51:28+00:00
Meh. Good article but not sure it's globally relevant.

Spotlight is about personality. Some people are visible, outspoken, and in the spotlight, and impactful. Others are quiet, subdued, behind the scenes but impactful. Some of the best developers I've known have been on either end of the spectrum.

At the end of the day it's about impact. When the quiet guy gets the job done every time, people still notice. When the loud guy doesn't, people notice even more.

Sure, there are cases where one guy screams from the mountaintops about how much he has done and gets promoted. And there are cases where the quiet guy gets passed over no matter how well he does. But these always wash in the end unless you work for a supremely shitty company. And even then they tend to work themselves out in life eventually. Even if it sucks for the people involved at the time.

Impact is the name of the game. Loud or quiet is irrelevant.
by IgorPartola | 2025-12-05 00:51:51+00:00
I mean ultimately this is an exercise in frustration because if you do that you will have trained your model on market patterns that might not be in place anymore. For example after the 2008 recession regulations changed. So do market dynamics actually work the same in 2025 as in 2005? I honestly don’t know but intuitively I would say that it is possible that they do not.

I think a potentially better way would be to segment the market up to today but take half or 10% of all the stocks and make only those available to the LLM. Then run the test on the rest. This accounts for rules and external forces changing how markets operate over time. And you can do this over and over picking a different 10% market slice for training data each time.

But then your problem is that if you exclude let’s say Intel from your training data and AMD from your testing data then there ups and downs don’t really make sense since they are direct competitors. If you separate by market segment then does training the model on software tech companies might not actually tell you accurately how it would do for commodities or currency training. Or maybe I am wrong and trading is trading no matter what you are trading.
by rapatel0 | 2025-12-05 00:51:57+00:00
McDonalds has a franchise model and is in 100 markets. There are several thousand individually owned companies with various groupings of regional owners each of which needs to have delivery, logistics, costing negotiated and setup. There are also the compliance and trade aspects of being in basically every country.

Coke is a probably 90% margin product for macdonalds. Not sure i believe the 1B number. It's probably higher if you consider all the various coke products including and the juice that they sell.

Pepsi actually owns taco bell, burger king, etc which are direct competition. So the partnership with McDonalds is strategic.

It's easily worth having a top level exec.
by rolph | 2025-12-05 00:52:48+00:00
yeah someone that gets paid a lot needs to talk to someone whos pay depends on implementing that IT consultants directives.

relaying security codes by voice is how the bad guys do it, dont train your users to think its normal.

its probably not a bright idea to have your phones camera pointed at your screen while 2FA-ing or password resetting, or else someone will watch you login, and will see your codes, and use automation to authenticate with your digits faster than you can move a cursor and click.
by iamnothere | 2025-12-05 00:53:33+00:00
This particular ruling is about advertising, however:

> There’s nothing inherently in the law or the ruling that limits its conclusions to “advertisements.” The same underlying factors would apply to any third party content on any website that is subject to the GDPR.

If you have legal exposure in the EU, you should ask counsel about it ASAP. Especially if your site may be in the crosshairs for whatever reason.
by dancrystalbeach | 2025-12-05 00:53:37+00:00
I’m getting to the point where I’m a little burnt out on hearing about AI this and AI that. Work, LinkedIn, YouTube, Substack … it’s a never-ending glut of AI-generated content talking about AI. I get the sense that the closest most developers get to AI is asking Cusor to puke out the next code chunk.
by scottyah | 2025-12-05 00:53:45+00:00
> Lying. Trolling. Bullshitting. Stonewalling.

What do these have to do with open and transparent communication?

> I don't need to talk to you or use your favored public platform for my published material to be open and transparent on some other public platform.

Very true, but limiting the platforms limits the openness and transparency. With some simple software you can post to all with almost no effort. Seems weird to disclude one just to write a blog post about it for attention.
by throwaway2037 | 2025-12-05 00:54:46+00:00
As much as I love JetBrains (IntelliJ and friends), I have the same feeling this year. The ratio that I undo an accidental tab/whatever far exceeds the accepted ones. I'm not anti-LLM -- they are great for many things, but I am tired of undoing shitting suggestions. Literally, many of them produce a syntax error. Please don't read this post as dumping on JetBrains. I still love their products.

> It is wasting time and none of the things I want are optimized, their tools feel like they are helping people write "good morning team, today we are going to do a Business, but first we must discuss the dinner reservations" emails.

No trolling: This is genius-level sarcasm. You do realise that most "business" emails are essentially this, right? Oh, right, you knew that already!
by stuffn | 2025-12-05 00:55:56+00:00
The issue of course is "medical science" has continually lowered what is normal. Men 50 years ago had significantly higher testosterone than today. The blood work normal CI reflects this decrease. In reality, any man lower than 600 should probably be supplementing TRT. However, you're not likely to get it prescribed before you are below 300, and even then, it'll be just enough to get you back over the curve. There's basically no risk to it as long as you keep your total test <= 1000 ng/dL (and probably <= 800 ng/dL tbh).

The median total testosterone for the cohort born after 2000 is 391 ng/dL. 20 years before it was ~550 ng/dL. 20 years before that we were above 600 ng/dL. Men are falling ill with more chronic illness, having more sexual dysfunction, and have more feminized features. We should probably be asking ourselves why this is happening rather than adjusting blood work CI's down.
by YesThatTom2 | 2025-12-05 00:56:55+00:00
Coke has a separate division for each continent and one of those continents is McDonald’s.

https://youtu.be/GA_OYUHYYMA?si=B-EXCoGyr9JGq87n

Coke tastes different at McDonald’s because they keep the syrup cold from the factory to the restaurant.

Why? Because it prevents the syrup from fermenting.
by esperent | 2025-12-05 00:57:20+00:00
We all know what a measuring cup is.

The issue is that flour is quite compressible. So if you've opened a fresh bag and scooped out a cup from the top, you'll get quite a different amount than if you dig in the cup and compress the flour against the side of the bag.

It's not like scooping out rice or sugar, where a cup is a cup, assuming you're careful to use a measuring cup and fill it exactly level.

I'm not sure of the exact error margins (there is research on these things though if you care to look) but at a guess I'd say you should expect 15% error margins on scooping white flour even if you're extremely careful to fill the measuring scoop to the same level each time. Probably a bit less on heavier flours.

Note, I run a bakery, although I'm not a baker myself. But I am the one focused on making sure we have repeatable processes, as much as that's possible for sourdough!

Volume measurements are extremely innacurate and should be avoided for pretty much everything in baking, except maybe water. Not a big deal if you're baking at home - bread with +-15% flour will be totally edible - but if you want repeatable bread quality, use a scales with accuracy to 0.1g. You can buy one for $20 that's good enough for home use.

If you're going to weigh even one thing, weigh the salt. Small variations can have a big effect on yeast activity and final bread flavor. Volume measurements of salt are not at all accurate because crystal sizes vary a lot. People assume (even some bakers that I've met!) that salt is just added to bread for flavor, but it's more like a chemical reaction rate control dial, and you need to be very accurate in how much you turn that dial.
by toomuchtodo | 2025-12-05 00:58:12+00:00
How does this square with unemployment and underemployment? For example:

US filings for jobless benefits fall to 191,000, lowest since September of 2022 - https://abcnews.go.com/Business/wireStory/us-filings-jobless... - December 4, 2025

The United States of Unemployment - https://www.visualcapitalist.com/sp/ter01-the-united-states-... - November 3rd, 2025

On the one hand, we hear about immigrants are powering America, filling 1 in 5 jobs as this piece mentions. On the other hand, we hear about unemployment and underemployment continuing to be issues and a fragile labor market, with the Fed cutting rates to preserve the job market.

It feels like the labor market is being held together by the retirement and death rate that ongoing job losses (in the aggregate) can be absorbed by this retirement rate, while wages aren't going up and labor supply slack still exists because of immigrant labor. Is that thesis incorrect? (~4M Boomers retire a year, ~11k/day, ~2M people 55+ die every year, about half of which are in the labor force; that means ~13k-14k workers leave the labor force every day in the US, ~400k/month)
by delichon | 2025-12-05 00:58:13+00:00
I have been under the impression that "learning disability" means that you are less able to learn than your peers. Whether that deficit is on account of intelligence, health, etc., is a different subject.

According to your definition, you can be far superior to your peers at learning and still be learning disabled. If you are looking for stupid people, you have found one, because I don't understand that.

Because of all of the ways that students can be disadvantaged at learning, every student needs accommodations. There are no students who can't benefit from a highly responsive learning environment. Being able to benefit from that does not make any student learning disabled, just different, and they are all different.

But if you're just different, and not disabled, you lose victim cred, preferences and funding.
by crazygringo | 2025-12-05 00:58:24+00:00
Wow. To me, the big news here is that ~30% of devices now support AV1 hardware decoding. The article lists a bunch of examples of devices that have gained it in the past few years. I had no idea it was getting that popular -- fantastic news!

So now that h.264, h.265, and AV1 seem to be the three major codecs with hardware support, I wonder what will be the next one?
by QuadmasterXLII | 2025-12-05 00:58:58+00:00
I had an abstract algebra exam where for the last question, I couldn’t remember the theorem to do it in a sensible way, but could see that the brute force approach only needed ~40 modular multiplications. That came down to the wire!

Shockingly I got full credit, although the professor probably picked a bigger prime for her next class.
by raggi | 2025-12-05 00:59:22+00:00
Not enough to say yes in earnest. I help maintain some swift at work, but I put my face in the code base quite rarely. I've not authored anything significant in the language myself. What I have seen is some code where there are multiple different event/mutex/thread models all jumbled up, and I was simultaneously glad to see that was possible in a potentially clean way alongside at least the macos/ios runtime, but the code in question was also a confused mess around it and had a number of fairly serious and real concurrency issues with UB and data races that had gone uncaught and seemingly therefore not pointed out by the compiler or tools. I'd be curious to see a SOTA project with reasonable complexity.