frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Applets Are Officially Gone, but Java in the Browser Is Better

https://frequal.com/java/AppletsGoneButJavaInTheBrowserBetterThanEver.html
26•pjmlp•46m ago•23 comments

Turtletoy

https://turtletoy.net/
169•ustad•4d ago•26 comments

Emacs is my new window manager

https://www.howardism.org/Technical/Emacs/new-window-manager.html
64•gpi•2d ago•16 comments

Damn Small Linux

https://www.damnsmalllinux.org/
83•grubbs•7h ago•19 comments

I failed to recreate the 1996 Space Jam website with Claude

https://j0nah.com/i-failed-to-recreate-the-1996-space-jam-website-with-claude/
428•thecr0w•15h ago•355 comments

Bag of words, have mercy on us

https://www.experimental-history.com/p/bag-of-words-have-mercy-on-us
176•ntnbr•10h ago•172 comments

GitHub Actions Has a Package Manager, and It Might Be the Worst

https://nesbitt.io/2025/12/06/github-actions-package-manager.html
3•robin_reala•47m ago•0 comments

Show HN: ReadyKit – Superfast SaaS Starter with Multi-Tenant Workspaces

https://readykit.dev/
32•level09•1w ago•6 comments

Dollar-stores overcharge customers while promising low prices

https://www.theguardian.com/us-news/2025/dec/03/customers-pay-more-rising-dollar-store-costs
378•bookofjoe•18h ago•517 comments

Truemetrics (YC S23) Is Hiring

https://www.ycombinator.com/companies/truemetrics/jobs/1EHTSyT-python-software-engineer-analystic...
1•Jan-Truemetrics•2h ago

Mechanical power generation using Earth's ambient radiation

https://www.science.org/doi/10.1126/sciadv.adw6833
118•defrost•11h ago•34 comments

The C++ standard for the F-35 Fighter Jet [video]

https://www.youtube.com/watch?v=Gv4sDL9Ljww
263•AareyBaba•14h ago•277 comments

Google Titans architecture, helping AI have long-term memory

https://research.google/blog/titans-miras-helping-ai-have-long-term-memory/
487•Alifatisk•20h ago•161 comments

Show HN: Lockenv – Simple encrypted secrets storage for Git

https://github.com/illarion/lockenv
5•shoemann•1h ago•0 comments

Uninitialized garbage on ia64 can be deadly (2004)

https://devblogs.microsoft.com/oldnewthing/20040119-00/?p=41003
68•HeliumHydride•3d ago•38 comments

An Interactive Guide to the Fourier Transform

https://betterexplained.com/articles/an-interactive-guide-to-the-fourier-transform/
198•pykello•6d ago•31 comments

I wasted years of my life in crypto

https://twitter.com/kenchangh/status/1994854381267947640
203•Anon84•20h ago•297 comments

Solving Rush Hour, the Puzzle (2018)

https://www.michaelfogleman.com/rush/
19•xeonmc•1w ago•2 comments

The Anatomy of a macOS App

https://eclecticlight.co/2025/12/04/the-anatomy-of-a-macos-app/
234•elashri•20h ago•67 comments

Scala 3 slowed us down?

https://kmaliszewski9.github.io/scala/2025/12/07/scala3-slowdown.html
223•kmaliszewski•17h ago•129 comments

CATL expects oceanic electric ships in 3 years

https://cleantechnica.com/2025/12/05/catl-expects-oceanic-electric-ships-in-3-years/
112•thelastgallon•1d ago•129 comments

How I block all online ads

https://troubled.engineer/posts/no-ads/
189•StrLght•10h ago•159 comments

Work disincentives hit the near-poor hardest (2022)

https://www.niskanencenter.org/work-disincentives-hit-the-near-poor-hardest-why-and-what-to-do-ab...
85•folump•5d ago•61 comments

Palantir Could Be the Most Overvalued Company That Ever Existed

https://247wallst.com/investing/2025/11/25/palantir-could-be-the-most-overvalued-company-that-eve...
68•Anon84•4h ago•33 comments

Nested Learning: A new ML paradigm for continual learning

https://research.google/blog/introducing-nested-learning-a-new-ml-paradigm-for-continual-learning/
118•themgt•18h ago•2 comments

Show HN: PVAC FHE over hypergraphs with LPN security

https://github.com/octra-labs/pvac_hfhe_cpp
3•0x0ffh_local•6d ago•0 comments

A two-person method to simulate die rolls (2023)

https://blog.42yeah.is/algorithm/2023/08/05/two-person-die.html
61•Fraterkes•2d ago•34 comments

Build a DIY magnetometer with a couple of seasoning bottles

https://spectrum.ieee.org/listen-to-protons-diy-magnetometer
88•nullbyte808•1w ago•17 comments

Show HN: Cdecl-dump - represent C declarations visually

https://github.com/bbu/cdecl-dump
22•bluetomcat•8h ago•9 comments

The state of Schleswig-Holstein is consistently relying on open source

https://www.heise.de/en/news/Goodbye-Microsoft-Schleswig-Holstein-relies-on-Open-Source-and-saves...
554•doener•19h ago•258 comments
Open in hackernews

F-35 Fighter Jet's C++ Coding Standards [pdf]

https://www.stroustrup.com/JSF-AV-rules.pdf
38•birdculture•11h ago

Comments

sema4hacker•11h ago
Before you read this, read "The Elements of Programming Style" by Brian Kernighan and P. J. Plauger.
jcims•11h ago
CTRL+F security
jandrewrogers•11h ago
Why would this be relevant?
fcpk•11h ago
And yet the F-35 is known for having extremely problematic software with many failures that have caused it to cause crashes/ejections.
lukan•11h ago
It has 9 million lines of code. The coding standards alone are 135 pages. Even with smart people, that sounds challenging to maintain that much C++ (I am surprised no one offered the "rust" advice yet)
laweijfmvo•10h ago
that’s why it’s important to codify as many of those 135 pages into linters, static analysis tools, and units tests as possible.
cft•10h ago
Rust did not exist back then. I hope they are now using it in drone codebases.
anonnon•9h ago
> I am surprised no one offered the "rust" advice yet)

ADA/SPARK already owns this space.

JohnLocke4•10h ago
It is often that seemingly irrelevant factors play a big role. In this case, a 141 page highly dense (and frankly boring to read) document is in its essence a liability. Engineers get bored too and it is obviously more fun to just code rather than to read a document that might aswell have been written by a lawyer.

This is also why car makers name their cars things like "Jeep Expedition" or "Ford Escape". The name doesn't change the car, but it does make it more exciting.

JohnBooty•7h ago

    In this case, a 141 page highly dense (and frankly 
    boring to read) document is in its essence a liability
So, do you think that the intent was for developers to memorize this document?

Or do you think the expectation was something more reasonable, like using this document as a tool to configure linting tools so that developers could get realtime feedback as they code?

Celeo•11h ago
If you prefer a video format with some of the highlights, see https://www.youtube.com/watch?v=Gv4sDL9Ljww.
spapas82•11h ago
This is insteresting to me especially since this is a 2005 document. Is there a reason why C++ was chosen instead of Ada which to my knowledge was the gold standard for such software ?
bri3d•10h ago
https://web.archive.org/web/20111219004314/http://journal.th...

A large segment in this article (which is great overall) focuses on this decision. The short summary is "hiring Ada developers was hard and middleware and tooling were difficult to acquire."

While I've moved through a lot of parts of the software industry and may just be out of touch, I actually feel that this may be less the case today. I've seen a lot of school programs focus less on specific languages and frameworks and more on fundamental concepts, and with more "esoteric" languages becoming popular in the mainstream, I actually think hiring Ada developers would be a lot easier today (plus, big industry players like NVIDIA are back to using Ada since AdaCore have been so effective at pushing SPARK, which probably helps too).

jandrewrogers•10h ago
My recollection is that it came down to two factors. Pragmatically, the pool of highly skilled C++ programmers was vastly larger and the ecosystem was much more vibrant, so development scaled more easily and had a lower maintenance risk. By 2005 they had empirical evidence that it was possible, albeit more difficult, to build high-reliability software in C++ as the language and tooling matured.

These days they are even more comfortable using C++ than they were back then due to improvements in process, tooling, and language.

cm2187•11h ago
140 pages on coding style. This looks straight out of the CIA handbook for sabotage [1]. I am sure China or Russia have a version of that.

> (12) Multiply paper work in plausible ways. Start duplicate files.

> (13) Multiply the procedures and clearances involved in issuing instructions, pay checks, and so on. See that three people have to approve everything where one would do..

> (14) Apply all regulations to the last letter.

[1] https://www.cia.gov/static/5c875f3ec660e092cf893f60b4a288df/...

conception•10h ago
Also see corporate grift.
eastbound•10h ago
Funnily enough, when I look at my codebase, I often think about this handbook. I try intendedly to ascribe it to incompetence but I always have a doubt. If I only listen to my inner voice, I’d fire everyone all the time.
chrisfosterelli•10h ago
What's the right amount of standards to have when you're writing 9 million lines of code that controls a 30,000lb machine moving through the sky at mach 1 with a human life inside?
cm2187•10h ago
It is whatever they used for ALIS [1]

[1] https://en.wikipedia.org/wiki/Lockheed_Martin_F-35_Lightning...

JohnBooty•7h ago
I'm confused by the responses to this document, as if developers were expected to memorize it or consult it after every line of code.

The obvious expectation here is that these rules would be incorporated into some kind of automated linting tool.

I really need to get the fuck out of this industry.

eastbound•10h ago
> 4.10.9 Inheritance Class hierarchies are appropriate when run-time selection of implementation is required. If run-time resolution is not required, template parameterization should be considered (templates are better-behaved and faster than virtual functions). Finally, simple independent concepts should be expressed as concrete types. The method selected to express the solution should be commensurate with the complexity of the problem.

I’m a TS + Java person. Is this specific to C++ or is it just due to control freaks with low abstraction skills?

ChrisArchitect•10h ago
[dupe] https://news.ycombinator.com/item?id=46183657
moffkalast•10h ago
This is over 200 convoluted rules with multiple subpoints on 140 pages, who the hell checks compliance with this without it taking over a decade?
Quothling•10h ago
You should see some of the manuals I go through for our some of IoT devices. As far as how Lockheed Martin does it, this quote from the article linked by bri3d answers it:

> MISRA-C was used as the basis for the C applications and a coding standards was developed with the assistance of Bjarne Stroustrup, original author of the C++ language. For both C and C++ Static Code Analysis (SCA) tools are used to ensure that restricted features are not utilized. Arguments about the lack of reliability in either C or C++ are addressed by programming standards restrictions and SCA checks. In truth, this approach is probably more consistent and robust than the manual checks used for previous development efforts including Ada.

moffkalast•10h ago
Alright that makes far more sense than doing it the "bureaucratic" way. Non-compliant doesn't compile. Must be really annoying working on this codebase hah.
Quothling•2h ago
I would argue that it would be very annoying to work on a code base which wasn't like this. Having to spend so much time figuring out where your bottlenecks are and why they are there. Though you would make a fair point in regards to how much code-fascism you need when you try to make C/C++ safer than ADA. I'm sure they didn't come to this conclusion lightly, but the first thing to pop into my head is that it seems odd to do this mainly because of hiring challenges.

But C/C++ certainly did well enough for Lockheed Martin considering it's now one of their principal languages, if not the principal.

amelius•10h ago
Did this come with a linter?
spwa4•44m ago
Wait, no underscores? Vertical tab allowed? Form feed allowed? What would you even use them for?