frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Novo partners with Anthropic to speed up drug development with Claude

https://www.reuters.com/legal/litigation/novo-partners-with-anthropic-speed-up-drug-development-w...
1•cdrnsf•41s ago•0 comments

We Trained a Model on Office Work. It Also Got Better at Coding

https://surgehq.ai/blog/office-work-post-training-improves-coding
1•frmsaul•41s ago•0 comments

You can run Git on object storage if you re-make packfiles

https://www.tigrisdata.com/blog/objgit-packfiles/
1•evacchi•1m ago•0 comments

Fourteen AI models against a customer edge. Divert blocked first

https://www.divert.cloud/blog/autonomous-ai-attacker-field-report
1•mr_hedrick•2m ago•2 comments

Fault tolerance in low-bandwidth model parallelism

https://www.tplr.ai/publications/blog/skipping-stages-with-fixed-projections
1•synapz_org•2m ago•0 comments

Driscoll's Gave China Its Blueberries–Then China Swiped the Secret

https://www.wsj.com/business/driscolls-berry-farms-china-competition-b0b49f04
2•duck•3m ago•0 comments

Breakout List

https://breakoutlist.com/
1•cjbarber•5m ago•2 comments

Show HN: Pixel Agents – A pixel-art mission control for your Claude Code agents

https://mateovalle.github.io/pixel-agents/
1•mateovalle•5m ago•0 comments

A Trump-backed crypto bill just suffered a bruising defeat in the Senate

https://www.npr.org/2026/09/15/nx-s1-5968711/clarity-act-crypto-senate-vote
3•paulpauper•5m ago•0 comments

Oil Prices Could Hit Highest Levels in Months After Saudi Pipeline Attacks

https://www.nytimes.com/2026/09/16/business/saudi-pipeline-houthi-attacks.html
1•ViktorRay•7m ago•0 comments

The first (public) System One Model; Jev gives AI the properties of code

https://typesafe.ai/
1•Anon84•10m ago•0 comments

Iran strikes on Amazon data centers caused permanent loss of customer data

https://arstechnica.com/gadgets/2026/09/iran-strikes-on-amazon-data-centers-caused-permanent-loss...
3•rbanffy•11m ago•2 comments

Amazon bumps minimum starting pay to $20/hour, adds new discount for employees

https://thehill.com/business/6092725-amazon-increases-minimum-starting-pay-adds-new-discount-for-...
2•ilamont•12m ago•0 comments

Google confirms Pixel phones exploited in 'targeted' modem based attack

https://9to5google.com/2026/09/16/google-pixel-targeted-zero-day-modem-attack/
2•fork-bomber•12m ago•0 comments

AI Compilers Are Not Just Compilers for AI

https://aicompilers.github.io/2026/09/06/ai-compilers-are-not-just-compilers-for-ai.html
1•matt_d•13m ago•0 comments

History of the BBC TV Idents

https://www.bbc.com/historyofthebbc/research/bbc-idents/global-ambition
1•nickt•14m ago•0 comments

A mouse whose brain cortex is made up of human cells

https://www.technologyreview.com/2026/09/16/1144210/meet-a-mouse-whose-brain-cortex-is-made-up-of...
1•joozio•16m ago•0 comments

Ask HN: AI Panic, you buying it?

1•elai-intelligen•16m ago•3 comments

The FBI Doubles Down on Easing 'Bestiality' Hiring Standards

https://www.wired.com/story/the-fbi-doubles-down-on-easing-bestiality-hiring-standards/
3•ferryth•17m ago•1 comments

Show HN: Smarter Shell History for Zsh

https://github.com/overflowy/zhist
1•overflowy•17m ago•0 comments

OSRS Wiki and RuneLite are under strain from low-effort AI development

https://oldschool.runescape.wiki/w/User:Cook_Me_Plox/OSRS_Wiki_and_RuneLite_are_increasingly_unde...
1•i2talics•18m ago•1 comments

CO3: Toward the Optimal FFI

https://mversic.github.io/co3/
1•mversic•19m ago•0 comments

Training Text-to-Image Models 3.6× Faster

https://www.linum.ai/field-notes/jit-ddt
4•schopra909•19m ago•0 comments

Gnome 51 Released with Improved Frame Scheduling, Many App Improvements

https://www.phoronix.com/news/GNOME-51-Released
1•tuhtah•19m ago•1 comments

We killed our in-app AI chat and made the agent a first-class user

https://sensefold.app/blog/agent-as-first-class-user
1•gomilesfd•20m ago•0 comments

Omarchy on Mac

https://github.com/omacom/omarchy-mac
1•popzxc•21m ago•0 comments

Whiteboard Defense

https://twitter.com/mitchellh/status/2100249348345057389
1•tosh•21m ago•0 comments

Show HN: Ivx/AI Chat, AI client that doesn't track you (with a better GUI imo)

https://ai.ivx.run/
1•0xcrypto•21m ago•0 comments

As Someone Who Has Written This Blog Post,

https://zachholman.com/posts/llm-writing
1•holman•22m ago•0 comments

Numerical Tours

https://www.numerical-tours.com/python/
2•efavdb•25m ago•0 comments
Open in hackernews

Code Is CRAP [2011]

https://testing.googleblog.com/2011/02/this-code-is-crap.html
44•luispa•1h ago

Comments

thinkingemote•58m ago
(2011)
bogardon•51m ago
2026 Google would never have some "fun" like this
verdverm•27m ago
One of the many reasons leadership needs to change, they are now more aggressive towards exploiting their customers, especially in cloud, Kurain is ruining that platform, but the investors like it
svachalek•40m ago
Wow! Did not expect this blast from the past this morning. I worked with Alberto and Bob at the same startup long ago. Hello to any other Agitators who found this today.
rdevilla•54m ago
(2011)
huurtehoog•54m ago
Title is editorialized. Original: "This code is CRAP" referring to code in review as Change Risk Anti Pattern.

Also, (2011)

GranPC•43m ago
I believe the "This" might have gotten swallowed by HN's title normalizer.
badc0ffee•36m ago
This title normalizer is crap.
GranPC•32m ago
In its (admittedly weak) defense, if the submitter edits the title back during the few-minute window after submitting where this is possible, the normalizer does not kick back in. But it is a bit opaque, in the sense that the poster needs to: realize that the title has been changed; know that they can edit the title (but not too slow!); and know that it won't be filtered through again.

I have no idea what the website would look like without it, but I have a feeling it does more good than harm.

hunter2_•30m ago
What is the "good" when considering the lack of aggressive truncation/overflow concerns here?
DANmode•23m ago
Neutering Popular Science clickbait titles “This Koala has a Secret Trick!”
richardbarosky•51m ago
The pendulum has swung too far in the direction of class, function, cyclomatic complexity (and here, CRAP) and similar idiotic metrics.

This reminds me of a talk Sandi Metz did called "All the Little Things" where she covers the Gilded Rose kata. In the talk, she reworks her solution until there's almost nothing left showing the essence of the problem being solved.

The cyclomatic complexity metric is touted at each step as a proxy for goodness of design and removal of complexity. However, a weakness of the measure itself is that it doesn't account for the control flow indirection that happens through OO method dispatch itself.

At the same time, Kevlin Henney's talk called "Gilding the Rose" takes the same kata and arrives at a far more sane solution he works up to and reveals at the end.

Short functions used to be hot. Uncle Bob used to proselytize "The first rule of functions is that they should be short. The second rule of functions is that they should be shorter than that." Now emphasizing the benefits of longer functions is pretty trendy. https://github.com/johnousterhout/aposd-vs-clean-code

This industry is pretty idiotic sometimes ¯\_(ツ)_/¯

lumost•38m ago
I suspect that we could bring this measure into the modern world with a little help from either DFS or ai.

Something like abstractions traversed during interpretation, lines of abstraction v.s. functional implementation, or logic statement dispersion.

It was hard to pin down what was abstraction vs. implementation, but it's much easier now.

bunderbunder•19m ago
The thing is, AI has no idea when an abstraction is good or not.

The reductio ad absurdum here is that, if abstraction can just be assumed to be bad for quality and maintainability, then perhaps we should go back to hand writing machine code for non-microcoded sequential execution CPU architectures. Conversely, if that idea sounds as preposterous to you as it does to me, then you’re stuck conceding that at least some abstractions are mostly good. So then, before you can automate deciding which ones should and should not count against a code quality metric that’s computed automatically, you need to find an operational definition that can be applied deterministically.

Anonyneko•51m ago
>Note: This post is rated PG-13 for use of a mild expletive. If you are likely to be offended by the repeated use a word commonly heard in elementary school playgrounds, please don’t read any further.

Mild as this ironic passive aggressiveness is, can't imagine something like this in modern sterile corporate messaging.

dionian•45m ago
funny enough, the disclaimer comes after the term is used in the title and url.
hunter2_•27m ago
"repeated use" seems to be doing the mitigation work here, though it does seem unusual that someone offended by the repetition would be unoffended by a one-off.
dooglius•43m ago
There's a good chance it'll be scrubbed now that it's frontpaged here
octantes•8m ago
don't be evil!

every bit of humanity went with the motto

fallat•50m ago
> CRAP1(m) = comp(m)^2 * (1 – cov(m)/100)^3 + comp(m)

and

> Here’s why we think that CRAP1 is a good anti-pattern to detect. Writing automated tests (e.g., using JUnit) for complex and convoluted code is particularly challenging, so crappy code usually comes with few, if any, automated tests.

This is so wrong.

The formula uses code coverage as a fundamental metric, when in reality, a lot of people write code "correct from construction", so coverage is not even applicable. Many times too, people only care the use cases they care about work perfectly.

There are also many other reasons code is not tested, not because it's complex, but because it's simple.

aomix•42m ago
I have a goal to make the codebase at work cargo-crap compliant and enforce it with CI. I let an agent run overnight with it once and the diff touched like 40% of our codebase which is untenable for a single merge. So for now I’m doing it piecemeal as the opportunity presents itself.
googenheim•27m ago
Google is crap

Are we just writing tautologies now?

almondfestival•26m ago
I'm sure this method has evolved and/or been supplanted over the last 15 years, but one thing that struck me reading this is how much the dynamics of unit test coverage have changed in recent history, with AI-generated commits containing 10x as many unit tests (many of them kind of silly and tautological) as in the olden days. Gonna need to update some of those coefficients in their CRAP1 formula... Or maybe test coverage has/will become too noisy a parameter to use at all.
acedTrex•24m ago
> Or maybe test coverage has/will become too noisy a parameter to use at all.

It already is, ive banned unit tests via ci checks from our codebases, they were not particularly useful before LLMs and now they are a net negative.

We require int and some e2es and that does all that units do and more.

bunderbunder•9m ago
Anecdotally, I’ve found that codebases that enforce code coverage metrics often have worse behavior coverage than ones that don’t.

It’s a classic example of Goodhart’s Law in action. Code coverage metrics only measure what percentage of code the test suite causes to run. But it’s very, very easy to write tests that run code without actually confirming that it produces correct output for all possible inputs. And it’s very, very easy to assume that a module with 90+% code coverage also has 90+% behavior coverage, and then become complacent about reviewing the suite for proper behavior coverage.

Founderarcstone•13m ago
Every time I see a software update I cringe inside.
bluGill•10m ago
A measure is only good if I take action on it and in turn make things better. There are a lot of things that are easy to measure, but there is no useful action I should take on the measure.
GranPC•23m ago
It's more of a gut feeling than anything else. I don't know what the normalization rules are, but I think we mostly notice the normalizer when it mangles something [1], and not when it's just quietly humming along. Someone with more spare time could probably figure out a dataset of original to normalized titles and measure that.

[1]: Example from the frontpage right now: "How Big Are Factorials?" probably got normalized to "Big Are Factorials?" originally, based off other previous manglings I have seen previously.

andai•27m ago
Maybe it's invisible when it works as intended, but the only times I notice a title has been changed, is when it's changed back to the original title, stripping most of the valuable context in the process. De-editorialization, I suppose.

(Or when the auto-renamer does a funny!)

Jtsummers•5m ago
[delayed]
hunter2_•32m ago
While that might be the case, best to normalize that: Title Normalizers are Crap.
layer8•29m ago
Submitters can rectify the title after submitting.
bunderbunder•27m ago
A while back Hillel Wayne did a talk (whose name I forget) on what empirical evidence on software quality actually says.

As I recall, he concluded that there’s really no support for then-popular ideas like short functions, reducing cyclomatic complexity, avoiding explicit branch statements and loops, or TDD. (Tests yes, just not TDD.)

He made a pretty strong case that only two principles are particularly robust. One was that limiting code volume is good. The other is that working people too hard is bad.

eadler•14m ago
This talk.

What We Know We Don’t Know • Hillel Wayne. (2019, April 28). Hillel Wayne. https://www.hillelwayne.com/talks/what-we-know-we-dont-know/

Isamu•21m ago
>cyclomatic complexity metric is touted at each step as a proxy for goodness of design and removal of complexity. However, a weakness of the measure itself

Amen, it’s hard to push back against an opaque term (cyclomatic!) when it isn’t really a measure of goodness, it’s a measure of branching, kind of a normal thing in code.

Early on I found that code with low cyclomatic complexity was just usually extremely verbose, lots of passing this to that while avoiding the branching necessary to get something done.

And yes, you can game the metric by hiding the complexity among the confusion of objects and components.