Hacker Newsnew | past | comments | ask | show | jobs | submit | supergilbert's commentslogin

I find myself coding a lot with Claude Code.. but then it's very hard to quantify the productivity boost. The first 80% seem magical, the last ones are painful. I have to basically get the mental model of the codebase in my head no matter what.


I have the issue that I run into some bug that it just cannot fix. Bear in mind I am developing an online game. And then I have to get into the weeds myself which feels such an gargantuan effort after having used the LLM, that I just want to close the IDE and go do something else. Yes, I have used Opus 4.6 and Codex 5.3 and they cannot just solve some issues no matter how I twist it. Might be the language and the fact that it is a game with custom engine and not a react app.

I talked with my coworker today and asked which model he uses, he said Opus 4.6 but he said he doesn't use any AI stuff much anymore since he felt it makes him not learn and build the mental model which I tend to agree a bit with.


I get this at least once a week. And then once you have to dig in and understand the full mental model it’s not really giving you any uplift anyway.

I will say that doing this for enough months has made my ability to pick up the mental model quickly and to scope how much need to absorb much quicker. It seems possible that with another year you’d become very rapid at this.


" I have to basically get the mental model of the codebase in my head no matter what."

This is a key insight, I'm unable to get around this.

It's the thing I require to have before I let go, and I want to make sure it's easy to grasp again aka clear in the docs.

Basically - the sys architecture, the mental model for key things, even the project structure, you have to have a pretty good feel for.


We're only not letting go because it's not quite there yet. Once AI is there, someone will let go, and to keep up with everyone else, you'll let go too.

Wait a bit longer and the next thing that's let go after you "let go" is you.


No, there's something missing.

We have very good abstractions for algorithms and especially functions.

Functions are an extremely good 'contract'.

With good functional programming you can totally 'let go' of the internals.

But classes and modules are not that - we don't have the abstractions.

We can't just let go of the AI designating all sorts of mechanics - unless - they are using really common patterns.

So without ways to really describe the patterns and without common patterns to rest on ... the AI can't really get there.


Fp is orthogonal to this. Speaking of which AI can do fp. You can let it off the leash and it can execute fp.


Provide better context to LLMs: more documentation, more skills, better Claude files, more ways to harness (tests, compilers, access to artifacts etc).


The codebase itself was supposed to be the context.


Yes, and a codebase with good documentation is better than one without.


Why? Isn’t documentation just approximation of the code and therefore less informative for inference than the code itself?

I understand that the code doesn’t contain the architectural intent, but if the LLM writing it can’t provide that then it will never replace the architect.


I'm not sure what are you trying to get at.

Of course an LLM can make a thorough design analysis and extract architectural patterns.

But it doesn't have infinite memory and context.

On top of that, it may recognize patterns, but not their intent and scope.

Documentation is gold for humans and LLMs. But LLMs have been the very first major moment in this field that has very little, to no, engineering practices to focus on documentation and specs.


Its about the mental model of the codebase, mentioned by the GP.

Somehow my experience is that no matter how much documentation or context there is, eventually the model will do the wrong thing because it won't be able to figure out something that makes sense in context of the design direction, even if it's painstakingly documented. So eventually the hardest work - that of understanding everything down to the smallest detail - will have to be done anyway.

And if all it was missing was more documentation... Then the agent should have been able to generate that as the first step. But somehow it can't do it in a way that helps it suceed at the task.


It's the intermittent reward model, and the reward hits, but the reward might be hallucinated in the fuller sense.


> I have to basically get the mental model of the codebase in my head no matter what.

Ah yes, I feel this too! And that's much harder with someone else's code than with my own.

I unleashed Google's Jules on my toy project recently. I try to review the changes, amend the commits to get rid of the worst, and generally try to supervise the process. But still, it feels like the project is no longer mine.

Yes, Jules implemented in 10 minutes what would've taken me a week (trigonometry to determine the right focal point and length given my scene). And I guess it is the right trigonometry, because it works. But I fear going near it.


ah, but you can always just ask the LLM questions about how it works. it's much easier to understand complex code these days than before. and also much easier to not take the time to do it and just race to the next feature


Indeed. But Jules is not really questions-based (it likes to achieve stuff!) and the free version of Codeium is terrible and does not understand a thing. I think I'll have to get into agentic coding, but I've been avoiding it for the time being (I rather like my computer and don't want it to execute completely random things).

Plus, I like the model of Jules running in a completely isolated way: I don't have to care about it messing up my computer, and I can spin up as many simultaneous Juleses as I like without a fear of interference.


This is my experience, which is why I stopped altogether.

I think I'm better off developing a broad knowledge of design patterns and learning the codebases I work with in intricate, painstaking detail as opposed to trying to "go fast" with LLMs.


It's the evergreen tradeoff between the short and long terms. Do I get the nugget of information I need right now but lose in a month, or do I spend the time and energy that leads to deeper understanding and years-long retention of the knowledge?

There is something about our biology that makes us learn better when we struggle. There are many concepts on this dynamic: generation effect, testing effect, spacing effect, desirable difficulties, productive failure...it all converges on the same phenomenon where the easier it is to learn, the worse we learn.

Take K-12 for instance. As computing technology is further and further integrated into education, cognitive performance decreases in a near-linear relationship. Gen Z is famously the first generation to perform worse in every cognitive measure than previous generations, for as long as we've been recording since the 19th century. An uncomfortable truth emerging from studies on electronics usage in schools is that it isn't just the phones driving this. It's more so the Duolingo effect of software overall emulating the sensation of learning without actually changing the brain state. Because the software that actually challenges you is not as engaging or enjoyable.

How you learn, and your ability to parse, infer, and derive meaning from large bodies of information, is increasingly a differentiator in both the personal and professional worlds. It's even more so the case when many of your peers are now learning through LLM-generated summaries averaging just 300 words, perhaps skimming outputs around 1,000 words in length for "important information". The immediate benefits are obvious, but the cost of outsourcing that cognitive work gets lost in the convenience.

Because remember, this isn't just about your ability to recall specific regex, follow a syntax convention, or how much code you ship in an hour. Your brain needs exercise, and deep learning is one of the most reliable ways to get it. Doubly true if you're not even writing your own class names.

What I am speaking to is not far away or hypothetical, either. Because as of 2023, one in four young adults in the United States is functionally illiterate.

https://www.the74million.org/article/many-young-adults-barel...


Effective learning and memorizing is actually at the narrow edge of struggling: it's neither "too easy" nor "too hard and painful". SRS systems do a very good job of tuning this: by the time a question comes back to you it will feel difficult, but you'll be able to recall the information and answer it with some effort. It's a matter of recognizing this feeling and acknowledging as "the right kind of effort" as opposed to a hopeless task.

If you ask the AI "please quiz me about the proper understanding of issues x y z and tell me if I got it all right. iterate for anything I get seriously wrong, then provide a summary at the end and generate SRS cards for me to train on" it will generally do a remarkably good job at that.


I agree with all of this. The brain needs exercise, just like the body.


I agree and to address this I’ve tried using them to understand large code bases, I haven’t worked out how to prompt this effectively yet. Has anyone gone this route?


When is an alternative Android play store coming?

To all the entrepreneurs reading this: please create one. To all the VCs reading this: please fund one.

It's badly needed. I heard Huawei is working on one but I wouldn't bet on it.



F-Droid already exists.


Too bad you need a rooted phone with F-Droid Privileged Extension installed in order to have the same functionality as Gplay.


Yes but none of my friends and family who own an Android device know about it.

I'm talking about a mainstream alternative android store. The design of f-droid is not appealing enough.


> I'm talking about a mainstream alternative android store. The design of f-droid is not appealing enough.

Make it mainstream. Spread the word. Install it on family devices.

How else you think mainstream will happen?


1. F-Droid can't be published on Google Play Store, because they're an "alternative market".

2. Please, make it appealing for you and others! https://gitlab.com/fdroid/fdroidclient


FTP was fine. Plus it was easily mirrorable.


F-Droid has a pretty strong foundation in my opinion. It just needs more resources to be able to publish app updates more quickly. It also needs a redesign, like you said, but I don't think there's a need to start from scratch


Yes, that would be nice, but at this point it would take a few billion to replicate all the functionality - who is going to be willing to pay for that and be still tied to Google? Might as well start a brand new smartphone/OS company...


So do you mean a store run by a company that has the money and intent to promote such a store enough for everybody knows about it, e.g. Facebook, Amazon, or Microsoft?

I don't think this is a solution.


Amazon has an app store but it's just an inferior play store really. Nothing exclusive, I don't think, and just Amazon takes 30% instead.


F-droid only hosts free and open-source software, which is a very small portion of the app market.


What else would you expect? Any other commercial app store - especially VC-backed - will eventually follow suit with Google's and Apple's stores in order to maximize profit over everything else. This includes denying any kinds of donation links.


Depression, anxiety are rising among a large part of the population in Western society. My personal take on this: we need to reconnect with religion because we need something transcendant to help us go through life. Modern life is very alienating if you take a purely material approach to it.


Kotlin is easier to work with for large projects. You're less inclined to write messy code than JS.


I have yet to see a technical subject that polarizes the HN crowd so much.

Interesting data point.

You know what they say about products that polarizes people..


That's the right question, how much energy does the current financial system use, solely for our "basic" transactional needs (store/retrieve/send payments).

Did anyone come up with an estimate?


Back of an envelope maths:

bitcoin does some ~450k transactions/day [1]

Switzerland has some 8.5m people [2]

Let’s assume bitcoin is only used in Switzerland, meaning we get some 0.05 transaction per person per day, or in other words every citizen of Switzerland may execute one transaction every 20 days. I have no numbers for how many financial transaction swiss people perform per day, but lets use a conservative estimate of one per day (think of the daily coffee paid by cc), so that there are 8.5m transactions/day handled by the swiss banks.

Now, if the total energy budget of Switzerland would be going to running their banking system (which it probably does not do) it would still be 20 times as efficient as bitcoin.

[1] https://www.blockchain.com/charts/n-transactions

[2] https://en.m.wikipedia.org/wiki/Switzerland


Exactly. Kotlin for all platforms is the best option for the future.


Stoicism is gaining popularity now because it's a counter reponse to the constant stimulation we are put under.

Non stop food, entertainment, plus the feeling on not being able to have any effect on the global system. Stoicism is way to stay sane.

I believe this trend will end and we will see a regain of existencialism and romantism.


How does stoicism counter overstimulation?


It invites you to step back from the mundane and consider your life, its infinitesimal place in the universe, its ultimate transience, and the kind of attitude and virtues you want to practice.

It's a form of deep reflection that places your life in a cosmological perspective. In that respect it serves a similar function to prayer and the contemplation of the divine in some religions.


I don’t think stoicism is related to those things. Those sound like nice meditative things to do, which are compatible with a wide range of different philosophical schools of thought, but none of that sounds like it is actively connected to the defining characteristics of stoicism.


I disagree. I have only read parts of Epictetus' Discourses and Aerelius' Meditations, but I think it is borne out by both texts. I don't have them to hand. But quickly looking through an online edition of the Meditations, I am faced with a great many passages matching the stated views. For example:

'Though thou shouldst be going to live three thousand years, and as many times ten thousand years, still remember that no man loses any other life than this which he now lives, nor lives any other than this which he now loses. The longest and shortest are thus brought to the same.'

'How quickly all things disappear, in the universe the bodies themselves, but in time the remembrance of them; what is the nature of all sensible things, and particularly those which attract with the bait of pleasure or terrify by pain, or are noised abroad by vapoury fame; how worthless, and contemptible, and sordid, and perishable, and dead they are- all this it is the part of the intellectual faculty to observe.'

Both quotes are from this online edition: http://classics.mit.edu/Antoninus/meditations.2.two.html


That’s still not what stoicism is. Those quotes are one of many about not holding your success or who you are to materialistic goals, or infinite goals.

while reflecting on yourself via meditation can be useful, it is not the only way, it doesn’t need a one week retreat, and if the goal is to meditate on the next idea that will revolutionize everything then that is definitely not stoic.


I did not say that it was all that stoicism is. I am not even claiming that it is especially central to stoicism. But it is undeniably a part of stoicism, as any fair reading of those two quotes indicates. Yes one of the central beliefs of stoicism is that we should inculcate within ourselves an ability to withstand any change in our external circumstances. But it is a complex philosophical system. It is perfectly possible for stoicism to admit both that belief, and the view that I'm ascribing to it.


It doesn't, I think he's confusing it with minimalism, which is a counter to over-stimulation.

Matt D'Avella comes to mind - https://www.youtube.com/watch?v=CttGNGjwp6A


Be careful, it can be demoralizing for engineers working on the product as you can get the feeling that nothing works.


I would presume most competent engineers have a pretty good grasp of what is or isn't working. If something doesn't, they probably knew about it already, or at least aren't surprised.


And if they are surprised that's the entire point.


Amazing idea and clever name.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: