frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Am I holding it wrong?

4•notpachet•2h ago
I've been steadfastly trying my best to incorporate the latest-and-greatest models into my workflow. I've been primarily using Codex recently. But I'm still having difficulties.

For example: no matter what I do, I can't prevent Codex from introducing linter errors.

I use tabs instead of spaces for indentation. It seems like the model is massively weighted on code written using spaces (duh). Despite having a very well articulated styleguide (that Codex helped me write after examining my codebase!) that clearly specifies that tabs are used for indentation, the model will happily go off and make a bunch of changes that incorporate spaces seemingly at random. It will use tabs correctly in certain places, but then devolve back to using spaces later on in the same files.

I have a linter that I've taught the model to run to catch these things, but A) that feels like such a waste of tokens and B) the model often forgets to run the linter anyway.

It's like having a junior developer who has never used the tab key before. They remember to ctrl-f their spaces->tabs sometimes before opening a PR, but not all the time. So I wind up giving them the same feedback over and over.

This example -- tabs instead of spaces -- is just one specific case where the model seems to invariably converge on a local maximum that is dictated by the center of the software bell curve. But in general I'm finding it to be true of just about any "quirky" style opinion I want to enforce:

- Avoid Typescript's `any` or `unknown`: the model will still happily throw these in to make the compiler happy

- Avoid complex ternaries: nope, the model loves these

- Avoid inscrutable one-letter variables versus longer, self-descriptive ones: nope, `a` it is

It just seems like I'm using a tool that is really good at producing the average software output by the average software developer. It's not able to keep my aesthetic / architectural desires at the front of its thinking as it's making my desired changes. It's as if I hired the guy from Memento as an intern.

How do people get around this, other than slathering on even more admonitions to use tabs no matter what (thereby wasting valuable tokens)?

Beyond syntax, I'm still able to use the models to crudely implement new features or functionality, but the way they write code feels... inelegant. There's often a single unifying insight within grasp that the model could reach for to greatly simplify the code it wrote for a given task, but it's not able to see it without me telling it that it's there.

Comments

atsaloli•1h ago
I can't address all your points, but if you add your linter as a pre-commit hook, the AI won't be able to open a PR if it doesn't pass your linter. That could catch the tabs-versus-spaces issue.
aristofun•54m ago
> I use tabs instead of spaces for indentation. It seems like the model is massively weighted on code written using spaces (duh)

LLMs by nature are not very good at peeing against the wind. Also on average they are only as good as the average codebase they been trained on. By design.

notpachet•46m ago
For me, it's tabs-vs-spaces, but doesn't every codebase have its own peeing-against-the-wind patterns that are necessary because of some historical reason or another? What's the way to mitigate against this trend towards the center other than throwing up my hands and admitting defeat?

Forensic Evidence of IP Theft Fixed Point Glass Box Solutions

https://archive.org/details/@analytical_agnostic
1•ApexSignalAndy•35s ago•0 comments

Experimental Zones Protocol Merged to Wayland After 2 Years, 620 Comments

https://www.phoronix.com/news/Wayland-Experimental-Zones
1•speckx•54s ago•0 comments

Sharav Arora 10-Year Old Founder of TechForges

https://sites.google.com/view/techforges/
1•SharavFounder•3m ago•1 comments

The Century of the Maxxer

https://samkriss.substack.com/p/the-century-of-the-maxxer
2•gHeadphone•3m ago•0 comments

Oxide raises $200M Series C

https://oxide.computer/blog/our-200m-series-c
2•igrunert•4m ago•0 comments

UK justice ministry orders deletion of largest court archive court

https://www.thetimes.com/uk/law/article/moj-orders-deletion-of-uks-largest-court-reporting-archiv...
2•nomdep•5m ago•1 comments

Formal Methods Practice and Theory

https://www.adacore.com/blog/formal-methods-practice-and-theory
1•andsoitis•5m ago•0 comments

Hunter3 Is Not OpenClaw

https://github.com/soyeahso/hunter3
1•soyeahso•6m ago•0 comments

Show HN: ToolBake – Build custom tools run in the browser by AI asstent or code

https://github.com/WonderfulSoap/ToolBake
1•WonderfulSoap•6m ago•0 comments

BaiduWiki

https://baike.baidu.com/en/index
1•salkahfi•8m ago•0 comments

The house in Hereford that moved down High Town

https://www.herefordtimes.com/news/20155079.house-hereford-moved-high-town/
1•austinallegro•10m ago•0 comments

10-year old innovater gone viral for YC Tips Video

1•SharavFounder•10m ago•0 comments

Let's Build a Simple Database

https://cstack.github.io/db_tutorial/
1•onurkanbkrc•10m ago•0 comments

Show HN: GeoGuessr, but for Buildings

https://planguessr.app/
1•willmaclean•10m ago•0 comments

We hid backdoors in binaries – Opus 4.6 found 49% of them

https://quesma.com/blog/introducing-binaryaudit/
2•stared•12m ago•0 comments

National Cancer Institute studying ivermectin's 'ability to kill cancer cells'

https://www.statnews.com/2026/02/10/ivermectin-for-cancer-national-cancer-institute-preclinical-s...
3•zzzeek•13m ago•0 comments

Show HN: Repstack – open-source hypertrophy training app (offline-first PWA)

1•wulfland•14m ago•0 comments

The mind of an indie developer diagnosed with Narcissistic Personality Disorder

https://www.danielbrendel.com/blog/56-the-open-source-narcissist
1•foxiel•14m ago•0 comments

Compleximer: New type of plastic mixes glass-like shaping with impact resistance

https://phys.org/news/2026-02-compleximer-plastic-glass-impact-resistance.html
1•mhb•14m ago•0 comments

Show HN: SNKV and LiteFS – Distributed KV store with automatic replication

https://github.com/hash-anu/snkv/blob/master/litefs_setup_guide_on_singlemachine.md
1•hashmakjsn•15m ago•0 comments

Discord's age verification mandate is a leap toward a gated internet

https://www.theverge.com/policy/876131/discord-age-verification-mandates-web-future
2•speckx•15m ago•1 comments

Fossil MCP – Dead code detection for vibe-coded projects

https://github.com/yfedoseev/fossil-mcp
2•yfedoseev•18m ago•1 comments

Ask HN: Is "Low Velocity" Just "High Drag"? (Benchmarking Series B)

1•berkanduzgun•19m ago•0 comments

Apple and Google pledge not to discriminate against third-party apps in UK deal

https://www.theguardian.com/technology/2026/feb/10/apple-google-third-party-apps-app-store
1•chrisjj•19m ago•0 comments

Tell me about an OpenClaw skill

3•l-fy•21m ago•0 comments

The Danger of Shipping Fast

https://newsletter.posthog.com/p/the-hidden-danger-of-shipping-fast
1•vinhnx•21m ago•1 comments

Jury told that Meta, Google 'engineered addiction' at landmark US trial

https://techxplore.com/news/2026-02-jury-told-meta-google-addiction.html
8•geox•23m ago•0 comments

Struggling Towards an Algebraic Theory of Music

https://reasonablypolymorphic.com/blog/algebraic-music/
2•surprisetalk•23m ago•0 comments

To be well-calibrated is to be punctual

https://www.lesswrong.com/posts/9Qj6v2tjZfDH9kfam/to-be-well-calibrated-is-to-be-punctual
2•surprisetalk•24m ago•0 comments

Making Money on OnlyFans Is a Lot Harder Than You Think (2020)

https://www.vice.com/en/article/making-money-on-onlyfans-is-a-lot-harder-than-you-think/
2•surprisetalk•24m ago•0 comments