Readit News logoReadit News
LinXitoW commented on Good system design   seangoedecke.com/good-sys... · Posted by u/dondraper36
Yokohiii · 10 days ago
I don't understand why all these problems should be easier handled with an ORM then with raw sql?
LinXitoW · 10 days ago
Why is it so hard to believe that well tested, typed code is better than manual string concatenation?

Before you tell me about how you just use a Query Builder/DSL and a object mapper for convenience: That's a freaking ORM!

LinXitoW commented on Omarchy, a Linux Distribution by DHH   omarchy.org/... · Posted by u/weakfish
fouc · 20 days ago
Cool idea, but supporting homebrew is a big yikes!

I hope no serious developers on linux ever use homebrew, it's the worst package manager by far.

Most package managers support versioning and keeping old versions of installs around, but not homebrew. That's why I'm boycotting it at this point, got burnt by it too many times.

I'd rather use pacman or apt-get or pkgsrc or nix or any other package manager than homebrew.

LinXitoW · 13 days ago
Personally, I would love to not use homebrew, but I'm practically forced to. The package management story in Linux is horrible, far worse than the general fans lead me to believe. Most tools I need are missing or ancient, even in the Fedora repos. That's one of the reasons so many modern tools will give you a shell script to pipe to bash for installation. It's the only way to make things installable in a simple, uniform way.

While homebrew isn't perfect, it's still a lot better than manually compiling every new version of a tool until the distros repo gets the update, or following custom install instructions for every tool (and then manually managing updates).

But I'm new to having Linux as a daily dev driver (only servers before), so if I'm missing an obvious fix to get 99% of tools in their up-to-date version installed and managed on Fedora (or ideally, anywhere), please let me know.

LinXitoW commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
alexchamberlain · 14 days ago
I'm not sure how, and maybe some of the coding agents are doing this, but we need to teach the AI to use abstractions, rather than the whole code base for context. We as humans don't hold the whole codebase in our hear, and we shouldn't expect the AI to either.
LinXitoW · 13 days ago
They already do, or at least Claude Code does. It will search for a method name, then only load a chunk of that file to get the method signature, for example.

It will use the general information you give it to make educated guesses of where things are. If it knows the code is Vue based and it has to do something with "users", it might seach for "src/*/User.vue.

This is also the reason why the quality of your code makes such a large difference. The more consistent the naming of files and classes, the better the AI is at finding them.

LinXitoW commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
GodelNumbering · 13 days ago
This is my experience too. Also, their propensity to jump into code without necessarily understanding the requirement is annoying to say the least. As the project complexity grows, you find yourself writing longer and longer instructions just to guardrail.

Another rather interesting thing is that they tend to gravitate towards sweep the errors under the rug kind of coding which is disastrous. e.g. "return X if we don't find the value so downstream doesn't crash". These are the kind of errors no human, even a beginner on their first day learning to code, wouldn't make and are extremely annoying to debug.

Tl;dr: LLMs' tendency to treat every single thing you give it as a demo homework project

LinXitoW · 13 days ago
In my experience in a Java code base, it didn't do any of this, and did a good job with exceptions.

And I have to disagree that these aren't errors that beginners or even intermediates make. Who hasn't swallowed an error because "that case totally, most definitely won't ever happen, and I need to get this done"?

LinXitoW commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
verall · 13 days ago
> This week, I used it to write ESP32 firmware and a Linux kernel driver.

I'm not meaning to be negative at all, but was this for a toy/hobby or for a commercial project?

I find that LLMs do very well on small greenfield toy/hobby projects but basically fall over when brought into commercial projects that often have bespoke requirements and standards (i.e. has to cross compile on qcc, comply with autosar, in-house build system, tons of legacy code laying around maybe maybe not used).

So no shade - I'm just really curious what kind of project you were able get such good results writing ESP32 FW and kernel drivers for :)

LinXitoW · 13 days ago
Ironically, AI mirrors human developers in that it's far more effective when working in a well written, well documented code base. It will infer function functionality from function names. If those are shitty, short, or full of weird abbreviations, it'll have a hard time.

Maybe it's a skill issue, in the sense of having a decent code base.

LinXitoW commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
spicyusername · 13 days ago
4/5 times I can easily get 100s of lines output, that only needs a quick once over.

1/5 times, I spend an extra hour tangled in code it outputs that I eventually just rewrite from scratch.

Definitely a massive net positive, but that 20% is extremely frustrating.

LinXitoW · 13 days ago
In my experience, if I have to issue more than 2 corrections, I'm better off restarting and beefing up the prompt or just doing it myself
LinXitoW commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
jorvi · 13 days ago
It is not really a nuanced take when it compares 'unassisted' coding to using a bicycle and AI-assisted coding with a truck.

I put myself somewhere in the middle in terms of how great I think LLMs are for coding, but anyone that has worked with a colleague that loves LLM coding knows how horrid it is that the team has to comb through and doublecheck their commits.

In that sense it would be equally nuanced to call AI-assisted development something like "pipe bomb coding". You toss out your code into the branch, and your non-AI'd colleagues have to quickly check if your code is a harmless tube of code or yet another contraption that quickly needs defusing before it blows up in everyone's face.

Of course that is not nuanced either, but you get the point :)

LinXitoW · 13 days ago
Oh nuanced the comparison seems also depends on whether you live in Arkansas or in Amsterdam.

But I disagree that your counterexample has anything at all to do with AI coding. That very same developer was perfectly capable of committing untested crap without AI. Perfectly capable of copy pasting the first answer they found on Stack Overflow. Perfectly capable of recreating utility functions over and over because they were to lazy to check if they already exist.

LinXitoW commented on Open models by OpenAI   openai.com/open-models/... · Posted by u/lackoftactics
bongodongobob · 20 days ago
Yep, it's almost as bad as all the cars' cooling systems using up so much water.
LinXitoW · 20 days ago
If you actually want a gotcha comparison, go for beef. It uses absurd amounts of every relevant resource compared to every alternative. A vegan vibe coder might use less water any given day than a meat loving AI hater.
LinXitoW commented on Open models by OpenAI   openai.com/open-models/... · Posted by u/lackoftactics
M4R5H4LL · 20 days ago
+1 - I work in finance, and there's no way we're sending our data and code outside the organization. We have our own H100s.
LinXitoW · 20 days ago
Possibly stupid question, but does this apply to things like M365 too? Because just like with Inference providers, the only thing keeping them from reading/abusing your data is a pinky promise contract.

Basically, isn't your data as safe/unsafe in a sharepoint folder as it is sending it to a paid inference provider?

LinXitoW commented on Big agriculture mislead the public about the benefits of biofuels   lithub.com/how-big-agricu... · Posted by u/littlexsparkee
0xbadcafebee · a month ago
Farmers could make more money if we subsidized fresh vegetables rather than ethanol, and it would make us healthier.
LinXitoW · a month ago
Certainly, but that would also indirectly de-subsidize the animal agricultural industry. People are addicted to their animal products, going so far as to pretend they're essential and not just a luxury.

u/LinXitoW

KarmaCake day582March 23, 2012View Original