frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Meteor shower, planet alignment, eclipse kit

https://lifesprites.com/share/0ACA25
1•jmtrevarton•40s ago•0 comments

Dog brains represent human facial expressions beyond positive-negative valence

https://www.cell.com/iscience/fulltext/S2589-0042%2826%2902278-9
1•sundarurfriend•2m ago•0 comments

Global Privacy Control Appears in Latest Chrome Canary Build

https://webiterate.dev/global-privacy-control-chrome-56/
1•twapi•2m ago•0 comments

I pointed my AI security plugin at my own prod app – it refused to invent a bug

https://github.com/kenjichristopherv-del/securitymaxxing
1•kenjitubera•3m ago•0 comments

Moiré No More (2021)

https://newsletter.shifthappens.site/archive/moire-no-more/
1•matthberg•4m ago•0 comments

Reviewing Code Is a Skill

https://typesanitizer.com/blog/code-review.html
1•birdculture•6m ago•0 comments

Show HN: My Python course for those who want to improve their skills

https://en.andros.dev/courses/ab396439/python/1/setting-up-the-environment/
1•andros•6m ago•1 comments

Commodore 8-Bit 5¼" Disk Images

https://www.masswerk.at/nowgobang/2026/commodore-disk-images
1•masswerk•9m ago•0 comments

Show HN: Day to day windows reminder CLI (NPM)

https://www.npmjs.com/package/d2dwin-reminder-cli
1•jay__proto•9m ago•0 comments

I merged 5 Python security scanners into one deduped CLI

https://github.com/AliAmmar15/velonus-cli
1•AliAmmar15•11m ago•0 comments

Top adviser to Iran's Revolutionary Guard leader sits down for rare interview

https://www.pbs.org/newshour/show/top-adviser-to-irans-revolutionary-guard-leader-sits-down-for-r...
2•thisislife2•11m ago•0 comments

Please don't pretend that we are already successful

https://adi.bio/pretend
2•AdityaAnand1•14m ago•0 comments

zenfmt: An universal document to Markdown – library, CLI, server in Zig

https://insanai.github.io/zenfmt/
1•vikrantrathore•14m ago•0 comments

Bb: The IDE that builds itself

https://getbb.app/
2•williswee•16m ago•0 comments

Show HN: Talkform.org, Turn voice inputs into structured data using front end AI

https://talkform.org
2•pankajunk•17m ago•0 comments

United Nations Global Principles for Information Integrity

https://www.un.org/en/information-integrity/global-principles
2•totetsu•18m ago•0 comments

Shortlist, a childcare search engine I built as a non-engineer

https://shortlist.guide/
2•dianascottclemo•18m ago•0 comments

AI is removing the middle class of software engineering

https://blog.florianherrengt.com/ai-removing-middle-class-software-engineering.html
3•florianherrengt•19m ago•2 comments

Nvidia Exemplar Cloud: Lessons for Unlocking Performance on AI Infrastructure

https://developer.nvidia.com/blog/nvidia-exemplar-cloud-lessons-for-unlocking-full-performance-on...
2•gmays•20m ago•0 comments

Spicy tale of an App Store fraud

https://lapcatsoftware.com/articles/2026/8/4.html
3•ingve•21m ago•0 comments

Show HN: SHTM – 60 Seconds Random Chat

https://shtm.vercel.app/
2•Emirhan123•22m ago•0 comments

Nice2Meet: We Turned Teams Mobile Meetings into a Silent Account Takeover

https://enclave.ai/blog/nice2meet-we-turned-teams-mobile-meetings-into-a-silent-account-takeover
2•talhof8•22m ago•0 comments

Forms did five things. Natural language kept one

1•offaxis•23m ago•0 comments

"Body" found in suitcase sex doll. How did NSW police get it so wrong?

https://www.theguardian.com/australia-news/2026/aug/12/female-body-suitcase-sex-doll-nsw-police-e...
3•prmph•24m ago•1 comments

CFTC uses "emergency authority" to let Kalshi continue operating in New York

https://www.coindesk.com/policy/2026/08/11/cftc-orders-kalshi-to-continue-offering-prediction-mar...
1•ilamont•24m ago•0 comments

Dropping one tool invalidated the prompt cache on GPT-5.5 but not on 5.2

https://srcecde.me/posts/tool-changes-break-prompt-cache/
1•srcecde•25m ago•0 comments

Kilo Cloud platform is not accessible

https://status.kilo.ai/incidents/zsll73pc409p
1•stevefan1999•27m ago•0 comments

YMTC breaks into the top three NAND makers for the first time

https://www.tomshardware.com/tech-industry/ymtc-breaks-into-the-top-three-nand-makers-for-the-fir...
1•rbanffy•27m ago•0 comments

Building infrastructure for financially autonomous AI agents

https://squidbank.xyz/
2•horatiucode•29m ago•0 comments

Anthropic is getting a fleet of data centres. Someone else is paying to build

https://thenextweb.com/news/anthropic-macquarie-gic-theseus-infrastructure-data-centre-partnership
4•rbanffy•30m ago•1 comments
Open in hackernews

Fensu (フェンス): Keeping Python (and TypeScript) Repos from Turning into Spaghetti

https://docs.fensu.dev
1•kvlonge•1h ago

Comments

kvlonge•1h ago
I built Fensu, an architecture linter for Python and TypeScript/SvelteKit. Unlike normal linters that mostly enforce rules inside individual files, Fensu tries to preserve the shape of a growing repository: which layers may import which, what belongs in each module, how large orchestrators can become, where public surfaces live, etc.

It ships with an opinionated default architecture rather than just a blank rule framework, but the rules can be disabled, extended, or replaced with your own. For example, the Python default organizes code into domains with defined roles for things like models, types, classes, helpers, and public entry points. Domains can contain those roles directly or split into named subdomains that follow the same structure.

When that structure drifts, fensu check produces deterministic faults explaining both what was violated and how to fix it. So rather than a reviewer repeatedly saying "this shouldn't import that" or "this logic belongs in a helper", those decisions can become executable rules that fail locally and in CI.

It also has fensu map, which statically renders downstream call trees with source locations.

Tests preserve behavior and types preserve interfaces, but most architectural knowledge still lives in READMEs and code review. I've found executable architecture constraints especially useful with coding agents (or team members using them), where very large refactors are now practical but architectural drift can happen at the same scale. I've used Fensu while doing refactors touching 1,000+ files and across 10+ repos at work. Not saying you need to be that extreme, but it did work.

Regardless of what you think of the library, I'd encourage people to try writing deterministic rule checkers for their own repos. Once they're in place, they save an unbelievable amount of time and stop a lot of the same arguments from happening repeatedly in code review (or cursing at an agent).

The built-in Python and TypeScript analyzers and rules are implemented natively in Rust, so checking TypeScript/SvelteKit doesn't require starting Node. Python repos can also define custom rules when the built-ins don't match their architecture. Custom rules can call into parts of the Rust-backed analysis API too, so you don't necessarily have to give up the performance of the native analyzer when writing your own checks.

Install with: pip install fensu

Then run: fensu

https://github.com/chio-labs/fensu