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

>LLM will talk at length about something trivial and then write only a single sentence about something novel.

In fairness, many university physics professors did this and it always drove me wild. For a derivation they'd spend inordinate time on basic algebra, and then zero time on the limits or justifying (simplifying) assumptions, let alone discussing the "paths not taken" aspects of a derivation. So many of my lectures were low value like that, not making note of any novel (math) moves, not relating intermediate results to reality. So it's hard for me to single LLM's out for this behavior.


IANAL but this seems risk from ARM's perspective - if such a deal was public, or found out on discovery, it would set a low expectation of price for future deals. A future counter-party would claim discrimination. Which a court may or may not accept as valid. In truth it IS a valid claim, but last I checked property rights come with essentially unchecked discrimination rights.

I just don't believe that "the market will fix it" is a good or right way to approach this. The problem is that our products are fully-remote controlled by the vendor. This was never the case before, say, 50 years ago. Frankly, there should be a law that requires every purchase of a physical object to require a minimum of connectivity to work. My robot vacuum doesn't need the cloud. The impose that on me because it's convenient for them - instead of 1 purchase once, they can get N purchases on every use. It gives them leverage over me for the lifetime of the product. The solution to bad meat is not to buy different meat. We need to regulate products such that coercive, fraudulent, manipulative, anti-privacy, anti-consumer practices are illegal. People who think regulation is for suckers who aren't as smart as them, well, they work 40 hour work-weeks in buildings that have fire exits and eat food that is FDA inspected.

For the proposed laws to be effective, the general public needs to accept and embrace them or, better yet, demand them. People should be educated about the possibilities. The market could be just one variable in the overall process.

The market is us. If we want a good garage door to exist then it's incumbent upon one of us to actually create and market and sell one.

Exactly!

I like it! But you should do biochemistry - atoms, acids, proteins, organelles, cells. I think people's intuition is WAY off and this game could help. In fact I one-shotted this: https://sites.google.com/view/scalecraft/full-page-embed (with argon)


It doesn't have to be that way. You can use llms to greatly improve the quality of the code. You do this by focusing on one part of the design use the LLM to explore alternatives, use it to poke holes in what you have. I think the engineering cultures that embrace this way of using AI will far outperform everyone else in the long term.


I just had a discussion with the AI recently about whether to duplicate the code something used or refactor it so both places used the same code. The decision was to duplicate the code, but make notes (and a ticket) to refactor it later - because the time to test the possible regression cases of the original code wasn't available right now.

I could have worked through all that on my own, but having the AI as a rubber duck to talk to - plus the edge cases it was able to point out - was really helpful.


> I just had a discussion with the AI recently about whether to duplicate the code something used or refactor it so both places used the same code. The decision was to duplicate the code, but make notes (and a ticket) to refactor it later

I wonder if a refactor is even necessary.

Concepts like KISS, DRY, etc. are largely human-centric. They're meant to make code easier to write, understand, and maintain - for people.

Duplicating code was traditionally "bad" because it increased maintenance costs, risked divergence, and added cognitive overhead for human developers.

But with coding agents, some of those tradeoffs start to change. An agent can find and update duplicate implementations in seconds. It doesn't need to maintain the same mental map of a codebase that a human does.

And if we have good specifications and comprehensive tests, behavioral divergence should be detectable and correctable. In fact, duplication can offer an advantage over shared abstractions: isolation. Changes to one implementation don't risk breaking unrelated consumers of shared code, and each implementation can evolve independently.

Maybe we won't need as many high-level abstractions, or eventually even some of the architectural patterns we consider best practices today.

If the cost of writing and maintaining code approaches zero, perhaps we should optimize less for human readability and more for runtime performance, memory efficiency, isolation, and correctness.

We might even regain some CPU and memory efficiency by eliminating layers of indirection, virtual calls, and abstractions that primarily existed to make code manageable for humans.

Perhaps the optimal architecture for AI-maintained software is fundamentally different from the optimal architecture for human-maintained software.

A lot of our software engineering best practices are based on the economics/ergonomics of human maintenance. What happens when those fundamentally change?


> Duplicating code was traditionally "bad" because it increased maintenance costs, risked divergence, and added cognitive overhead for human developers.

Until proven wrong by coding agents, this is still the case even for agents. Not sure why you are assuming this doesn't apply for the machine


I cannot read a 50-page T&C document. I mean, obviously, I can physically do it, but I don't have the patience, and I'd lose track of what I'd read. Getting an LLM to summarise a 50-page T&C document is simple, it doesn't lose track, and it spits out a summary in seconds.

I cannot read a 50K LOC code base at once. I mean, obviously, I can physically do it, but I don't have the patience, etc. I need mental shortcuts like abstractions layers to hold even parts of the code base in my head. LLMs don't. They can read that in seconds and hold the whole thing in context.


This doesn’t really support the argument that KISS et al don’t apply to LLMs. They may not ‘need’ these principles for the same reasons as humans, but will still benefit from the context having higher information density.


> but will still benefit from the context having higher information density.

That's an assumption.

And is that what we really care about anymore? Maybe we are ok accepting some "inefficiencies" in the code for the LLM but we get better CPU utilization or cache/RAM usage


> That's an assumption.

So is that ;) But yeah, the link between context length and performance reduction is well researched. Automatic context management has been getting better, but it’s not a panacea, especially in very large codebases and long sessions.

> Maybe we are ok accepting some "inefficiencies" in the code for the LLM but we get better CPU utilization or cache/RAM usage

If by ‘inefficiencies’ you mean choosing hardware-friendly architectures over those that correspond to a human-friendly world model, then I would agree with you (this was already required in my domain pre-LLMs). Even still that does not stop one from adhering to DRY, KISS, etc as the abstractions required are often either free or close to free at runtime.


>because the time to test the possible regression cases of the original code wasn't available right now.

The models don't know that they're not human when they estimate. It's worth telling them that all estimates need to be made in the context of an agentic AI doing the work.


It's funny, I've had similar conversations, where the agent would recommend the 'lazy' solution because the robust one took too long. More often than not, it was assuming human-hours of work though. Once reminded that a clanker would be doing the work it's conclusion shifted to the robust one.

Now, I wonder if it actually agreed, or if it sensed that I preferred the robust solution and was trained to make me happy.


It’s jarring when the bot tells you something will take a “week of work”. A good reminder I guess that it doesn’t have self awareness as we usually think of it.


Sounds like Reddit and Stackoverflow leaking out the training set


Yeah, I've seen that, too. In my case it was less about the dev time and more about the regression testing time (much of which would fall on QA and involved reading from external feeds, etc - so, complicated). But your point is fair. The AI is ... notoriously bad at LOE. Not that it's always wrong, but frequently enough (and by a large enough amount) that tradeoffs like that really need humans considering them.


Yes, this is very bad. I've alerted my team and we'll be deprecating its use immediately. Hopefully procurement can get refunds on the licenses we purchased not that long ago. Something tells me Postman is going to regret violating people's trust - the moat isn't so large that people must endure unethical, if not illegal, behavior like this.


It's a terrible look and also a missed opportunity. AI assisted coding can do wonders for quality, if you choose to take that path. It's mainly because the AI can help you explore alternative paths and quickly select the best one forward. It's crazy to me a secure email provider would openly promote an AI Slop Cannon approach. I mean what on Earth is so urgent about proton mail features?? Especially since their market are technologists and the product is a luxury product essentially. Completely wild.


It says you can't ban AI and shouldn't try. There is no general solution except a worldwide ban of technology itself. What you can do is local and incremental and based on good judgement, patience, intelligence, etc.


This sounds like a short-term strategy at best You only need an agent to click things long enough to build an API on top of the thing it's clicking on. And running a full windowed virtual machine is expensive!

I'd also caution against saying things like llms are doing most of the work I don't think that's true. And where it is true it shouldn't be. These things are still new tech and they need a lot of hand holding and oversight still.


> You only need an agent to click things long enough to build an API on top of the thing it's clicking on

To be clear, it clicks things to do things like test software. If you build an API, you're not testing if the clicking actually works.


Why don't banks use PKI? It doesn't have to be in the users face. It might be that your app generates a keypair on startup and sends the public key to the bank server, and the bank server sends you a public key, and you talk to each other with a shared secret. Maybe even you have to go in physically to the bank with your device to set it up and attest the legitimacy of your private key. Personally I'd really love that.


They do often use hardware keystore keys for authentication and other purposes. That's a standard feature supported by all Android devices with greatly varying quality of implementation. There are even rare cases of banking apps using key attestation to provide evidence of those keys being in an actual hardware keystore which has been a standard feature on every device launched with Android 8 or later.

They want to stop people from using tampered or fake versions of their app which could be tricking the user into doing things. They also want to enforce using a device with a mandatory app sandbox and some level of security patches/protections intact. Most aren't willing to ban using highly insecure Android devices which haven't received security patches for many years, but it's trending in that direction.

Around 90% of banking apps are currently compatible with GrapheneOS. It would likely be more like 50% if we hadn't put a lot of effort into improving compatibility with a lot of workarounds for the bugs and problematic anti-tampering checks done by these apps. It would be closer to 20% if we not only didn't have that but also didn't have our sandboxed Google Play compatibility layer feature.

The remaining apps not compatible with GrapheneOS is mainly due the Play Integrity API device and strong integrity levels enforcing having a Google certified device running the unmodified stock OS. Google doesn't allow GrapheneOS to be certified. Certification also disallows many of our privacy and security features. It also isn't compatible with providing fast security updates and would waste substantial resources as it does for Android OEMs. Those apps need to be convinced to stop using the Play Integrity API or to use the Android hardware attestation API provided as part of key attestation to verify the hardware, OS and app are genuine. The latter only solves it for operating systems and hardware they choose to permit.


How do you see the not so distant future when the vast majority of banking and gov apps would require an integrity level higher thar BASIC_INTEGRITY? Which alternatives would you suggest to GrapheneOS users? A second device, perhaps?


We plan on having improved compatibility with banking and government apps rather than most banning using GrapheneOS. Those apps aren't banning it for any actual reason. We don't have to convince them to stop doing what they are but rather to add a bit of code to support alternatives meeting underspecified requirements.


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

Search: