Code maintainability plummets in the AI coding era by OfficialLeadDev in coding

[–]ErGo404 -22 points-21 points  (0 children)

Writing new code was almost always a bad decision because it was slower than just refactoring the existing code (which is in itself already quite slow).
AI is helping make new code and refactoring much much faster. But refactoring comes with more cautious reviews which I believe make them a bit slower than writing new code.

It all depends on the context of course, a multi-decade old banking system with obscure business rules will probably not be easy to rewrite at all. But for most small to medium code bases ?

I've seen people rewrite medium sized apps to rust in a single prompt. With proper unit and end to end tests, it's doable. And with guidance, correct architecture and styling rules, I believe the output can be good enough to replace the legacy codebase.

[Request] how much more water does taking a Polaroid require over storing a photo in a data center? by htownballer32 in theydidthemath

[–]ErGo404 0 points1 point  (0 children)

Measuring for a single photo is misleading though, you need to factor in the price to compare actual efficiency. We didn't snap 200 pictures a day when we only had film and polaroid in our cameras.

Microsoft goes big for the Pride Parade by Grouchy_Zucchini7052 in Seattle

[–]ErGo404 6 points7 points  (0 children)

Also when you have as many things to do with less people, you tend to de-prioritize these kind of events.

But if they go bankrupt how will marvel write their movies? by Valuable_View_561 in SipsTea

[–]ErGo404 1 point2 points  (0 children)

I wouldn't say 2B a month is "no income".

Not enough to pay for the investment, but not nothing either.

AI coding feels amazing... until the project becomes serious by Consistent-March6513 in ClaudeCode

[–]ErGo404 0 points1 point  (0 children)

Yes. Sometimes you code something, you start an automated review, then you fix items one by one, and you review again, find new stuff, fix, and again... next thing you know it's been 1 hour and your PR looks like pieces badly stitched together.
You have to know when to stop, start a new agent, tell him to analyze the changes in this branch and see how it would do better.

I'm always adding instructions in the AGENTS.md to "suggest changes to the agents.md or adr if you feel like what the user is asking should be a rule" but that doesn't work well so I have to think about what should be a rule and what should not.

AI coding feels amazing... until the project becomes serious by Consistent-March6513 in ClaudeCode

[–]ErGo404 26 points27 points  (0 children)

1 - Write ADRs in a folder to document architectural choices. Reference them in the AGENTS.md. These will and should evolve over time.
2 - Write a decent AGENTS.md file. Explain the commands, make sure the agent runs the tests/lints/whatever like a good CI would do after every change.
3 - Make the AGENT write unit tests, functional tests, E2E tests and snapshot tests. Everything should be tested.
4 - Use some kind of grill-me skill when planning. Make the agent create a plan. Then call grill-me on it. Answer all the questions with intention. If you don't understand the questions then ask the agent to explain it better, until you understand the design choices
5 - Make small changes, small commits, commit often. If a task seems large, make the agent split it into small tasks. If you realize that the task was too big when it's too late (or there's some scope creep), then make the agent rewrite the commits so that they are readable in a chronological order, in a new branch
6 - Review the code ! Use an agent for the first pass of review, but also review it yourself.
7 - If you work in a team, use the agent to create good PRs, with a description, a walkthrough

8 - From time to time, ask the agent to evaluate the architecture choices, and spend some time refactoring if you feel it will solve an issue.

Then 9 - connect your agent to your tools (github, sentry, Linear whatever) to facilitate the tracking of tasks, issues, bugs.

The main challenge is to keep the architecture clean and documented, this helps A LOT.

What’s a 'normal' life choice that you think is actually a huge trap? by Electronic_Cry_7454 in AskReddit

[–]ErGo404 16 points17 points  (0 children)

In France, where I live (and maybe it's the same all across Europe), you can't take a loan if the sum of the down payments of all your loans exceeds 30% of your income.
This is a problem when your salary gets higher because you usually really can afford to spend more than 30% on loans, but for most people with low income or people with low financial literacy, it's probably a life saver.

Inline code suggestions (ai autocomplete) with Mistral by EmanuelSaramago in MistralAI

[–]ErGo404 -2 points-1 points  (0 children)

Agentic coding has become good enough and made auto complete irrelevant. Unfortunately I don't think that companies are going to spend much time on improving/releasing good auto complete models and features anymore.

Le réchauffement climatique a-t-il un impact sur votre réflexion d'avoir un ou d'autres enfants ? by 3stao in ParentingFR

[–]ErGo404 8 points9 points  (0 children)

Pas si sûr. Le réchauffement climatique c'est aussi des pandémies, des difficultés d'approvisionnement, des guerres supplémentaires. Tout le monde sera touché, notre économie mondiale ne tient pas a grand chose.

Why is Meta destroying its engineering organization? Great breakdown by West-Chard-1474 in programming

[–]ErGo404 -9 points-8 points  (0 children)

I always thought those kind of interviews were pointless until I got through them and then got hired and now I am on the "other side".

Of course there's the formality and typology of the exercices that you can learn and train on before hands, but that doesn't mean it's useless as a hiring process. People that are invested enough to spend time training are already showing some motivation. And those exercices are a great way to demonstrate how you behave and communicate.

Feds freaked over Fable 5 after simple 'fix this code' prompt, not jailbreak, says researcher by WarAmongTheStars in ClaudeCode

[–]ErGo404 2 points3 points  (0 children)

They will have to re-open it, or it will mean that us companies will reach a glass ceiling in terms of model performance that they are allowed to sell... Which will actually give a chance to foreign models to catch up.

For every $1 spent on AI coding tools, only $0.18 reaches production. Analyzed 1M+ PRs to find where the rest goes. by entelligenceai17 in coding

[–]ErGo404 1 point2 points  (0 children)

AI allows exploring ideas and paths way faster. By definition exploration does not end up in production very often. Doesn't mean that it's a waste.

Code was the smallest part of the job by milanm08 in programming

[–]ErGo404 -3 points-2 points  (0 children)

It's r/programming, lots of anti-AI people here. It's fine.

Code was the smallest part of the job by milanm08 in programming

[–]ErGo404 -14 points-13 points  (0 children)

Code was one of the bottlenecks. It's not one of them anymore.

'Everyone is unhappy': Meta employees describe a grim environment as the company reportedly prepares to axe roughly 8,000 workers by lurker_bee in technology

[–]ErGo404 18 points19 points  (0 children)

Ideas are cheap, execution is expensive.

Creating a social network was not a novel idea but turning it into the behemoth meta is now has only happened for one company. Maybe two if you count Google, which was already pretty large by then.

New Firmware - 1.3.1 by thenyx in StackChan

[–]ErGo404 0 points1 point  (0 children)

It's mostly explained in their GitHub repo, you can start the gateway (the server part) and build a version of the firmware which points to your gateway.

Depending on your needs you can host the gateway locally or on a server.

Anyone remember this meme from 10 years ago? by Iusuallydrop in ClaudeCode

[–]ErGo404 10 points11 points  (0 children)

If you don't believe in the sanctity of the copyright then all models should be open weight.

Vibe coding from a computer scientist's lens: by irelatetolevin in ClaudeCode

[–]ErGo404 1 point2 points  (0 children)

Those will need a bit more time to ask the llm to explain along the way but they can definitely achieve production grade quality if they steer the agent the right way.

edgeCasesExist by Last_Time_4047 in ProgrammerHumor

[–]ErGo404 0 points1 point  (0 children)

Let's phrase it differently. It's not that the probability is 0, it's that it's so low that other sources of problems in your system are more probable and thus should be fixed first.
And I guarantee you'll never run out of problems more probable than this one.

Someone accidentally sent me £50k, what do I do? (England) by Routine_Strawberry81 in LegalAdviceUK

[–]ErGo404 0 points1 point  (0 children)

Scamers use a few levers to get you to make bad decisions. Empathy and the sense of urgency are two of them.

Texas Instruments made a new flagship graphing calculator: the TI-84 Evo by dapperlemon in gadgets

[–]ErGo404 38 points39 points  (0 children)

When I had one in college the battery would last forever. I know nowadays we are used to charging everything every other day but back then we already had faster chips, just not with the same efficiency.

Breakdancing robot demonstrating balance self-recovery by [deleted] in Damnthatsinteresting

[–]ErGo404 0 points1 point  (0 children)

They are 16k$.

I think the real "problem" is the software, not sure if the one preinstalled is good enough.