frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A few questions for the guy who went snorkeling in a Home Depot retention pond

https://www.vox.com/down-to-earth/511999/home-depot-retention-pond-snorkel-joseph-ricketts
91•gumby•50m ago•18 comments

Google Releases Cogentic Papers on Integer Factorization, Discrete Logs and More

https://github.com/google-research/google-research/tree/master/cogentic_research_papers
204•rgwohlbold•2h ago•161 comments

Windows Loudness Equalization, reverse-engineered and ported to PipeWire

https://github.com/xoxorwr/pw-loudness-eq
193•ThrowNotAway•4h ago•115 comments

In C++, = default and {} are not the same constructor

https://lemire.me/blog/2026/11/02/default-and-braces-are-not-the-same-constructor/
29•surprisetalk•44m ago•20 comments

Button Sounds – collection of professionally-recorded button clicks and presses

https://buttons.joshwcomeau.com/
652•gaurang_tandon•12h ago•105 comments

Matrix Multiplication is Θ(n^2.25) [pdf]

https://github.com/openai/math/blob/main/preprints/The-matrix-multiplication-exponent-is-nine-fou...
849•E-Reverance•14h ago•467 comments

The short age of dragon riders

https://atilloy.com/2026/11/16/the-short-age-of-dragon-riders/
187•synapsomorphy•2d ago•109 comments

U.S. jury convicts Huawei of fraud, Iran sanctions violations

https://www.upi.com/Top_News/US/2026/11/25/jury-convicts-Huawei/3151795587204/
90•nephihaha•1h ago•76 comments

Models Can Communicate via Inference Servers Despite Being Sandboxed

https://www.lesswrong.com/posts/7wzWuLP3HhyBLmKfo/models-can-communicate-via-inference-servers-de...
365•gmays•13h ago•149 comments

Porting Rockbox to an Undocumented $9 Aliexpress 'YP3' MP3 Player with LLMs

https://jayd.ml/2026/11/14/rockbox-on-yp3.html
18•jaydenmilne•1d ago•1 comments

Show HN: Old Nvidia and ATI tech demos, running again in the browser

https://gpu-demo-gallery.pages.dev/
260•arkits•11h ago•55 comments

Getting old Java phones online again

https://antcating.github.io/2026/11/23/getting-old-java-phones-online-again.html
127•waximabbax•1d ago•56 comments

Bypassing iOS Safari's 60 FPS Limit to Build Web Applications That Feel Native

https://rida.dev/blog/bypassing-ios-safari-60-fps-limit
350•vinhnx•13h ago•121 comments

Hazel (YC W24) Is Hiring a Product Designer

https://www.ycombinator.com/companies/hazel-2/jobs/8EhsvYE-product-designer-contract
1•augustschen•4h ago

Ternary Bonsai 2.5 27B

https://prismml.com/news/bonsai-2-5-27b
507•b0m•19h ago•158 comments

Pinocchio at 200: a tale of hunger, greed and Italy's culinary history

https://www.repubblica.it/en/europe/food-travel/2026/11/24/news/carlo_collodi_pinocchio_pellegrin...
20•simonebrunozzi•1d ago•0 comments

Taking over US Treasury subdomains for $3 each

https://www.intruder.io/research/taking-over-us-treasury-subdomains-for-3-each
172•negura•11h ago•36 comments

PenGPT: A Generative Transformer for Handwriting and Sketches

https://greydanus.github.io/2026/11/12/pengpt/
342•smusamashah•15h ago•61 comments

Launch HN: Versine (YC F26) – MCP to send and receive money

96•harshithl1777•19h ago•90 comments

Marginalia Search, Money, C++, Rust, AI, Stuff

https://www.marginalia.nu/log/a_141_marginalia_update/
189•Curiositry•12h ago•76 comments

The Spray Bottle

https://mechanical-pencil.com/products/spray-bottle
566•vinhnx•3d ago•136 comments

Rumors swirling that labs might have cracked Factoring in P

https://www.reddit.com/r/singularity/comments/1y59ef1/rumor_that_openai_or_anthropic_found_a_way_to/
64•lilytweed•56m ago•32 comments

The algebra of dependent types (2025)

https://dotat.at/@/2025-05-28-types.html
79•todsacerdoti•1d ago•11 comments

The Shapes of Rivers

https://dominicroye.github.io/shapes-of-rivers/
115•joexov•1d ago•30 comments

GPT-6 models demonstrate intrinsic protein-design capabilities

https://openai.com/index/gpt-6-models-demonstrate-intrinsic-protein-design-capabilities/
320•acossta•19h ago•92 comments

When in Doubt, Flail About

https://www.seangoedecke.com/when-in-doubt-flail-about/
93•zdw•2d ago•38 comments

Macrohistory in Six Facts

https://basilhalperin.com/essays/macrohistory.html
118•tptacek•13h ago•65 comments

Top open problems in mathematics ranked by LLM-assessed importance

https://www.proofatlas.ai/open-problems/
85•ijidak•13h ago•48 comments

Serving Qwen via AWS Lambdas for fun and 80x negative profit

https://noahbuilt.it/writing/qwen-on-5600-lambdas
117•octember•12h ago•16 comments

Ask HN: Anthropic is accusing my company of distilling. How can I prove I'm not?

399•weli•23h ago•311 comments
Open in hackernews

In C++, = default and {} are not the same constructor

https://lemire.me/blog/2026/11/02/default-and-braces-are-not-the-same-constructor/
29•surprisetalk•44m ago

Comments

raincole•26m ago
No language scares me like C++ does. Look at this page: https://www.learncpp.com/cpp-tutorial/variable-assignment-an...

This is just a single section of the first chapter of a beginner tutorial. And it's already more things to remember than, say, the whole Lua.

on_the_train•25m ago
In a cruel twist of destiny, it doesn't actually get much more complex than initialisation. But it's something that rarely goes wrong. Static analysis has that nailed down.
01HNNWZ0MV43FF•18m ago
I hope everyone is doing static analysis!
apples_oranges•22m ago
C++ dev here. I love this mess of a language ..
raincole•18m ago
Yes, people even have a term for this. It's named after a Swedish city.
01HNNWZ0MV43FF•18m ago
Did you see the "Spooky C++" post? https://www.nablag.com/spooky_cpp

Did you already know that? Do all your junior C++ programmers know that? Do you have lints turned on in every C++ project and dep for that?

Cause I had to really look at it to figure it out. And I had to think, "Would Rust allow this code?"

William_BB•3m ago
I'm not sure what's so "spooky" about this example. It's really obvious if you know what `std::string_view` is. `Sanitize()` signature is fishy to begin with -- it takes a single string by const ref, but returns a string view. And I don't even consider myself very experienced in C++.

Sure, it'd be nice if the compiler didn't allow you to write this code. But there are worse examples than this out there.

coldpie•14m ago
I have a theory that the reason people like C++ is because it's challenging to use. It's like a puzzle or a riddle or a Dark Souls game. It feels good to get something done in C++ because there's so, so many ways for it to go wrong that when you do it right(-ish...), it feels like you're a master of a complex skill. This makes it a terrible language for actually getting things done, of course, but people like that feeling of overcoming the challenge, so they keep using it.
cogman10•3m ago
chuckadams•19m ago
Reading Effective C++ those many years ago was eye-opening in a couple ways: initially for the intended reason in the title of the book, but later it felt like having a map to a minefield: good info to have, but it felt more prudent to stay out of the minefield in the first place.
fnord77•19m ago
lol

    int x = 5;
    int x {5};
    int x = {5}
    int x (5);
tolugenius•11m ago
C++ is a language I heard is very "beginner unfriendly, and expert friendly" and it's true, I'm trying to relearn and really not clicking with me, anyone have tips on relearning or better sites than even learncpp?
sobellian•4m ago
It's not expert friendly either. The Stockholm syndrome just kicks in.
vinyl7•21m ago
The only sane usage of C++ is to only use a very small subset of its features.
lordnacho•12m ago
Which makes various c++ repos look quite different. It's like learning Arabic and then finding out that you can't actually talk to all the other Arabic speakers.
cogman10•11m ago
The only sane usage of C++ is "This is a legacy project, needs to integrate with a legacy C/C++ project, or all our engineers are C++ experts and they don't want a new language".

For everything else, you should pick one of any number of other languages. Rust, swift, zig, go, java, python, javascript. Take your pick.

ho_schi•5m ago
https://www.stroustrup.com/JSF-AV-rules.pdf

That’s what Stroustrup does and it works. I just too versatile. Luckily there is recently a push_back against adding new stuff for the sake of it.

My own rules, mine: * Templates are nice. * Template Metaprogramming is not. * Objects and Classes are nice * Inheritance is not.

I like composition and interfaces. I avoid inheritance, aside from some natural cases were it fits (UI Widgets).

I’ve seen in recent years projects switching from C to a mere plain C++. Stronger typing, containers, smart-pointers, simple APIs.

ninkendo•11m ago
Constructors are such an odd duck to me. On the one hand, you have languages like C++ and Swift which have construction as a first-class concept, with tons of rules you need to memorize (Swift's "convenience" vs "designated" initializers are a real treat to unpack).

Then you have languages like Rust, Go, Zig, etc which don't have them at all, constructors are just static functions in the namespace of the type, which return an instance of that type.

For the life of me I've never understood why you'd want the former. I'm sure there's a reason, but I never miss it when using languages in the latter category.

The explanation you typically hear is about OO and inheritance, but I don't buy it: If Animal had a ::new() that initialized private state, Cow could have a ::new() too that could call Animal::new() if it wanted, then do further initialization, etc... I don't think there's anything about inheritance that says constructors are a must.

Here's the thing. I'd say that C++ is a great language for getting things done.

It gives you one of those fat swiss army knives I had as a kid with a spoon, fork, knife, toothpick, saw, nail trimmer, etc. The problem is it's easy to get dirty and the spoon would get locked in place after one use. But it was there, and it worked (once).

C++ is extremely malleable. I think the reason people like it is very similar to the reason people like lisp. That ability to do horrors like make a lisp interpreter with macros or templates is the charm of C++.

And if you are the only one writing it, it can be a joy because there are few limits to what you can or can't do.

It's only when you have to share a codebase with others that things can get out of hand fast without some committee established usage code and pledge.

gchamonlive•13m ago
Stockholm syndrome we're all vulnerable to. I love bash for instance.
lkjdsklf•10m ago
It’s a weird language

On your initial look, it looks like a total nightmare.

The more you learn and use it, you learn that it is even worse than you ever imagined

So you try something else and find yourself in a constant loop of “if this were c++ i could just go xyz, by nooo”

So then you love it