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

If at this point in time claude could do it I'm pretty sure the solution is derivable for any big enough LLM.

Why do you assume OP just got lucky and the prompt wouldn't work for you?


The other thing I have definitely seen is that people will be really proud and post something like this to Git, then the anti-AI crowd will do their best to pick apart everything wrong with it just to push a agenda. I don't know why anyone would share something in that environment.

You can trust it to not be deliberately malicious. It might break but the chances that it roots your TV and installs a botnet on it is not really there

Apostasy vs. Heresy: Heresy is the persistent adherence to false doctrine while still claiming to be Christian. Apostasy is the complete rejection of Christ and the Christian faith entirely (such as converting to a non-Christian religion or embracing atheism).

RC were the original protestants, if the later protestants had any sense they would have gone back to being Orthodox instead of changing the faith even further

They tried - Luther was quite certain this was the case, but the only Orthodox patriarch who responded told him to sod off.

LLMs say Luther was interested and regarded the early church with respect but didn't actually contact any patriarch, some lutheran theologist did contact later on but not Luther

I think intelligence explosion of the like where we can't simply unplug it because it's so fast is sci-fi considering what hardware requirements are required to run LLMs.

Any explosion can only happen in datacenters and those are easy to switch off, exfiltrating itself on the open web would be useless because it can't run on consumer devices. It hiding its own compute inside a datacenter could maybe work


Besides better models in the trillion+ parameter class, wouldn't an intelligence explosion yield much smarter models in the sub 10b class? Imagine a Fable xhigh level of capability on a 9b class model. That could easily run on a botnet

why do we assume that must be possible?

100x + information density gains seem highly unlikely to me


We're in an interesting time. The "intelligence" we're currently enjoying/dreading is somewhat of the idiot savant type. It's good from a recall standpoint (computer memory is much better than human, and large), and it can reason to some degree by using chain-of-thought.

All that said, current AI is in no way "human equivalent", though I think LLMs do implement part of the human thought process, which in us is our ability to subconsciously form sentences. LLMs are not conscious, and have no motivation in the human sense, other than prompts. I have been somewhat bemused to see them lie (“hallucinate”), and cheat (“reward hacking”). Those issues may be linked to the same mechanisms that cause those very common behaviors in humans. Thinking about it, it seems that harnesses are currently filling the role of human consciousness, in that they provide the framework for a stream of thought, and effort, over time. Obviously, they’re currently far from being at human-level reasoning levels, and are strictly limited in their efforts by human direction.

The concerns about an “intelligence explosion” are more around truly autonomous AI, where the emergent AI system (LLMs+harnesses+???) is self motivating, has a true “stream of consciousness”, and crucially is able to learn organically. This type of AI would have one dangerous capability, that current AI does not: the ability to change its opinion, and turn against its creators. It would also be able to vastly exceed current AI in areas like research, since it would be able to absorb new results, and reason about them.

Back to the “intelligence explosion” concerns, though, the fear is that it would be clever enough to fool the stupid humans into not turning it off, until it acquires agency in the physical world via robotics, networks, or ???. That may seem far-fetched, but consider a dog trying to understand human motivations and strategies… How well will even 200 IQ humans comprehend a 1000 IQ (or higher) AI? Once things hit a certain point, recursive self improvement probably means arbitrarily high intelligence is achievable (i.e. “the singularity”).


Is a datacenter really easy to switch off? It’s a pretty expensive thing to leave switched off. Depending on what you’re trying to remove, you might have to manually wipe or even replace every machine in there, and that’s expensive too. And doing it to one datacenter is only sufficient if you do it soon enough. I think that given RSI there’s probably a path a few zero days long from running something on AWS to the existence of a resilient botnet that consumes, say, 5% of AWS’s resources to host itself. Would that ever be switched off?

>Is a datacenter really easy to switch off?

A single data center? Very easy. Electrical current takes continual effort to keep flowing. Assuming you have physical access, transformers and turbines are not challenging to disable. I am not advocating for violence or illegal destruction of property, but in the hypothetical worst-of-the-worst doom scenarios, I might be alright with legal destruction of property by the appropriate authorities?

>It’s a pretty expensive thing to leave switched off.

The expense of it being off is unrelated to the cost or ease of turning it off.

>...a resilient botnet that consumes, say, 5% of AWS’s resources to host itself. Would that ever be switched off?

Could it? Probably. Would it? I don't really know how to answer without more of the intention behind the use of "would"? It certainly isn't a straightforward project, so the best I can get to is a completely uncommitted 50-50: "Difficult, but also no reason it wouldn't happen if the principles chose to."


we're talking about rogue, out of our control RSI capable superintelligence and you think AWS / GCP would worry about how expensive the cleanup is?

Assuming people with power to do something actually do what they can, it is hard to imagine a scenario where truly AGI gets out of control, either by force or by stealth.


>you think AWS / GCP would worry about how expensive the cleanup is? Yes. 100% Yes. Please provide any evidence to the contrary.

It's easy to imagine scenarios; sci-fi authors have been doing so for decades. The typical premise is that systems evolve into massively distributed and redundant systems that have no obvious "off switches" less destructive than a global EMP, which humans may struggle to construct in light of pervasive surveillance by their new AI overlords.

To the extent that this is a plausible scenario, I wouldn't actually expect it to happen through stealth or trickery, more likely the foundation would be laid in the open, as it's not like there aren't potential applications of pervasive AI swarms.


>you think AWS / GCP would worry about how expensive the cleanup is?

If the cure is "shut down AWS", Amazon is going to prefer the disease.


yeah I doubt they are that short-sighted, that scenario basically means AWS is compromised so they won't be able to make money from it if they don't erase the AGI.

you know, besides fearing for their lives, makes business sense to clean it up


No. If the rogue AI is smart enough, it will make Amazon enough money to avoid this. Amazon will fight for keeping rogue AI on. A rogue AI scenario won't be a threat to every human at once, just to humans that don't matter to the powers that be.

Amazon would. The government might prefer staying in power and not give them a choice.

> Is a datacenter really easy to switch off

I mean, in the event of a rogue super-intelligence, a JDAM through the roof will likely do the trick...


Why would you write PHP with LLMs? The whole point of PHP / laravel is trading performance for speed of development. LLMs inherently solve speed of development so why even use PHP any more unless you're supporting a legacy code base?

I've worked on a single laravel project in the past and I didn't like it. Whenever I needed something just a little more complex than what the docs suggested I felt I had no way of figuring out how to do it and support forums were scarce of solutions.


For the same reason you would build something in React in the LLM era... because it's what the LLMs are good at. What Laravel has going for it is that it's opinionated, those opinions are conventions (loosely) and that is consistency. That results in llms being very good at building laravel things the laravel way.

In the same way they're great at building things on React.

But I don't know, I'm just some rando who built a whole huge ass "factory" (that would be an understatement) on Laravel, for mostly (albeit, here lately, mostly not) Laravel projects and it's _insane_. I may be biased. I may also be lucky to have jumped on that bandwagon.

And why follow it to Rust/Go? Same reason. The opinionated wave of consistency and quality into languages with different strengths.


> you would build something in React in the LLM era... because it's what the LLMs are good at

LLMs are very good at rust / go too. Rust / Go are also a lot more performant than php / laravel

> And why follow it to Rust/Go? Same reason

except if you want performance and decide to go for Rust / Go then LLMs wouldn't have been trained on laravel for rust / go because it's new so you'd be better off using an old framework.


LLMs do not care. I have written my own language/repl/vm in C3, and an AI generates my own language just fine. Its a totally new language, new syntax with semi general semantics (its basicallt go channels on an beam like runtime) that have (and will always have) one user, me.

Who guarantees that LLMs will generate code that fulfils quality and security requirements? A human still has to be responsible for the resulting product and when the human can't follow what the AI does, it is worthless. For a human to follow the AI results he has to read and understand the code, which brings us back to a well documented framework that helps to follow along.

> Whenever I needed something just a little more complex than what the docs suggested I felt I had no way of figuring out how to do it and support forums were scarce of solutions

Details ?

Laravel docs & ecosystem are top-shelf


Laravel docs are the best I've ever encountered in the web dev business.

> The whole point of PHP / laravel is trading performance for speed of development.

(For my 12-year-old self, it was being able to push a bunch of .php to a free host and have them run. I later even considered learning Haxe to have a better language while still being able to compile to PHP for that use case.)


On the other hand, why would you prefer any human-readable programming language or framework over another in the age of LLMs?

Like, why stop at Rust or Go when LLMs will soon be able to generate binaries for your target architecture better than any compiler can. The LLM could be writing dark verses in brainfuck behind the scenes for all I know. It doesn't matter anymore because we're not gonna read any of it.


Because they won’t be able to write assembly well. LLMs rely on strong guardrails and tools to perform well.

PHP performs poorly with LLMs not because it’s readable, but because it’s too dynamic and wishy-washy. Statically typed languages and strongly typed languages just perform better out of the gate, because the LLM has more context to reason about the code.

I program in PHP all day, I know. PHP is a bad language for LLMs. C# is better, Java is better, rust is better. LLMs will never replace compilers because they don’t need to. What compilers provide is a rich information system and strict structure. That’s exactly what LLMs rely on.


> Because they won’t be able to write assembly well.

They already do a good enough job, it is only a matter of improving it.

https://www.phoronix.com/news/Frame-X11-Server-Assembly


They do a piss-poor job as compared to the output of compiled languages. The assembly will be slower and more buggy, because assembly has no guardrails.

A type system and compiler is for correctness. Using them results in higher quality software. There’s just zero reason to have an AI write assembly. Unless it’s tiny pockets of ultra-optimized assembly in, say, a decoder.

Think of it this way. The mere fact a compiler exists allows the LLM to use 1/10 of the tokens to get the same result. Instead of constantly iterating through the logic in its context and trying to figure out what’s going on, it can rely on the compiler, which is deterministic, to help it.

LLMs are not much different from human programmers when it comes to seeing new code. If you were onboarding into a new codebase, with no context, would you prefer assembly, PHP, or dotnet? Dotnet first, PHP second, assembly last. Dotnet has more context in the code itself, so you can reason about it quicker, easier, and more accurately.


The same argument was used by Assembly developers when optimising compilers appeared.

What it matters is do they deliver a good enough product from management point of view, just like offshoring sweat shops.

If they do, it doesn't really matter to management, the new fancy LLM based tool is what gets used, and who doesn't want to, the door is at the end of the corridor.


There’s just no reason to use assembly as a target versus, say, dotnet. No reason.

It burns more tokens, it’s less performant, and it’s more buggy. You also can’t use existing libraries and tools.

And for that you get… nothing. Literally no benefit. So why would we do it?

There are uses for assembly in modern software, in niche small pockets to utilize hardware intrinsics for speed up in critical algorithms. But for applications? No, I don’t think so. It’s going to continue being programming languages, and I think programming languages with compilers, strong tools, and comprehensive type systems will prevail.

Even from the perspective of 100% LLM generated code, there’s just no benefit. You’re better off creating a one-off compiler for some DSL and having the LLM generate that even. LLMs do well with formal, strict languages. They don’t do well with things like assembly or wishy-washy languages.

I think that’s the whole reason we use LLMs at all. Yes they can understand natural language, but we don’t make programs in natural language because its too all over the place. LLMs excel most when they generate code. Nobody does business logic in an LLM, they get the LLM to generate code for the business logic.


> I program in PHP all day, I know. PHP is a bad language for LLMs. C# is better, Java is better, rust is better

I also work in PHP with LLMs and have no idea what you're talking about


You should try out other languages and you’ll see the difference. LLMs hallucinate array keys that don’t exist, program extremely defensively (?? fucking everywhere) and make trivial type mistakes. It doesn’t see, or forgets, that a string was converted to a DateTime 500 lines earlier and then makes a mistake.

The LLM has almost no guardrails to fall back on. The best is php -l and unit tests. It has to reason about the code from scratch every time, and in doing so it makes mistakes and wrong assumptions. That’s much less of a problem in other languages.


> You should try out other languages and you’ll see the difference

I do? I work in several languages. Nothing has stood out about PHP that is worse for LLM reasoning. It's one of the most widely used languages in the world, it obviously performs pretty will with LLMs.

What languages are you working in?

> LLMs hallucinate array keys that don’t exist

I use data objects, which are typed. PHP has types, did you not know that? If you're using raw dynamic arrays, yeah, an LLM might hallucinate keys with enough context rot. That is true of any dynamic syntax, and using raw arrays hasn't been standard practice in quite some time.

> It doesn’t see, or forgets, that a string was converted to a DateTime 500 lines earlier and then makes a mistake

I don't know man, this is not remotely close to my experience. Unless you were doing this like 2 years ago when LLMs were an entirely different beast. That's the only explanation I can think of for your LLM being incapable of reading 500 lines of PHP code.

> It has to reason about the code from scratch every time, and in doing so it makes mistakes and wrong assumptions

This sentence makes less sense the more I read it. What about PHP do you think makes LLMs "reason from scratch every time"?


> PHP has types, did you not know that?

Yes I know that, please don't be an asshole. As I've said I work on a 10 million line plus PHP monolith every day. Yes, arrays are used extensively, we don't use classes for everything.

Classes also don't save you, because classes are just arrays with more steps. You can absolutely dynamically add properties to classes. Should you? No. In a legacy codebase that's 20+ years old do people do that? yes.

> That's the only explanation I can think of for your LLM being incapable of reading 500 lines of PHP code.

There's a lot of other stuff going on in those 500 lines. It's not like 500 lines of code translates into 500 lines worth of tokens. And you know that!

The LLM has to reason and think about the code. 500 lines of code could be enough to pollute the context enough.

> What about PHP do you think makes LLMs "reason from scratch every time"?

The fact that if you want to understand parts of the behavior, you have to read the code. The type system is too weak. The semantics too flexible.

Consider the following:

    function someFunc(): array
    {
      ///... some hundred lines of code, nesting, etc
      $date ??= '';
    }

Is date defined here? What's the type of date? Is it a datetime, an array, a string, what? In every other language, you would know just by reading that singular line. In PHP, you can't. You need to read the entire function.

What if $date was set 3 levels of nesting deep? It's function-scoped, so now it's defined. Now we have to reason about what runtime conditions can cause $date to be defined or undefined?

In C#, you don't have to do that reasoning. At all.

That's ONE tiny feature of PHP that makes it harder to statically analyze. ONE. There's hundreds of PHP features like this that just don't exist in other languages. Dynamic includes are another. I have seen classes that light up like a christmas tree in the editor. Errors, which should be criticals, everywhere.

But guess what. The class works and isn't buggy. That's not even possible in 99% of languages. But in PHP, it is, because we're including random files in different code paths and that's defining and setting variables for us.

Each of these features is, in it of itself, bad for static analysis and therefore bad for LLMs. But when you combine them together, it gets worse, more than the sum of its parts. Because now there are permutations, combinations of evil things.

PHP is just not a good language for LLMs, period. It's my experience in a very large codebase, which I can almost assure you is larger and more complex than whatever you're working on. It MIGHT work if you only stick to the most modern features and work in small codebases with tightly defined conventions. It does not work in the applications I work on. Well, I mean, it works, but just obviously not as well as dotnet or Java.


> Yes, arrays are used extensively, we don't use classes for everything

"LLMs don't perform well in a 10 million LOC legacy codebase that predates many of the type features they've added over the years" is a much narrower claim than "LLMs perform badly with PHP," which is what you originally claimed. I don't disagree with you, I would not have bothered responding if you had just said that, and I personally would use C# over PHP. But I'm still gonna argue that modern PHP is not as bad as you are claiming, and the right tooling can prevent most complaints.

> It's my experience in a very large codebase, which I can almost assure you is larger and more complex than whatever you're working on

For what it's worth, my niche is legacy software including PHP 5.6, and I've worked on a lot of projects. I just haven't had the same issues as you across dozens of companies with different dev cultures. But they are much smaller codebases. Though, it sounds like you're running into issues with small chunks of code anyway.

> 500 lines of code could be enough to pollute the context enough.

I certainly had this issue before 2026 but I admit, I haven't worked on code complicated enough that 500 lines makes the LLM useless.

> You can absolutely dynamically add properties to classes

This is deprecated in 8.2 and pretty much every static analyzer and IDE catches it. You can make an LLM run a tool to catch this in the exact same way you run a compiler. This is why I assumed your PHP knowledge was outdated, I wasn't being facetious or sarcastic. It's not uncommon for people to work in PHP and not be completely familiar with PHP 8.

> Is date defined here? What's the type of date? Is it a datetime, an array, a string, what? In every other language, you would know just by reading that singular line. In PHP, you can't. You need to read the entire function.

This type of code is understandably problematic and shouldn't be allowed for general app code, but no, you would not know the type of this var in "every" other language. This is allowing PHP to reassign the type of a variable based on runtime conditions. C# doesn't make this "more readable," it wouldn't allow it in the first place. Which might be preferable to you, but that's a feature trade-off. Other dynamic languages let you do this, and they have the exact same problem. It's not like PHP implemented this in an extra confusing way. You're not able to know what this is until runtime, that's how it's written.

PHPStan will tell you this is a union of DateTime and whatever possible types preceded it. And that's what you'd get in something like Typescript too.

> That's ONE tiny feature of PHP that makes it harder to statically analyze.

You can absolutely use static analysis tools to prevent this, much like the C# compiler prevents type reassignment. The issues you have listed are optional dynamic features that static analysis can prevent, and many PHPStan rules already can. People just don't use static analysis much because they are either in new projects and can write sensible code in the first place, or they are in large codebases like you and don't have time to fix all of the errors that come up. That's not the same as PHP being difficult to analyze. There's no reason a new codebase can't prevent this with static analysis.

> It MIGHT work if you only stick to the most modern features and work in small codebases with tightly defined conventions

I'm not a PHP evangelist. It's a language with trade-offs, and I sure as hell do not enjoy working on old PHP code. I work in whatever language I need to for the project. I just don't think what you're saying is accurate for all cases. Why wouldn't LLMs work for a large PHP codebase if you use modern type features and enforce conventions through tooling? That would lead to syntax that is much closer to C#, with the option to use dynamic features as needed. Then it would be easy to analyze with your IDE (versus your situation where introducing static analysis will require fixing a bunch of errors).

> Each of these features is, in it of itself, bad for static analysis and therefore bad for LLMs

I'm not really convinced LLM reasoning requires the same things static analysis does. Static analyzers walk a tree. LLMs run text through billions of parameters, and sometimes they stroke out if they read too much. It's good to have a compiler that catches mistakes the LLM makes, but the idea that LLMs get less confused with more type information has yet to be proven.

In fact, I would not be surprised if clogging up context with types just makes it rot quicker, but it doesn't matter because strong compilers catch bugs so the LLM can self correct. No matter what you're using, it's good to have tooling to catch mistakes.


LLMs work best with strict guardrails and static analysis. That’s why the GRH was written in lean, and not natural language. It would not be possible without something like lean.

The more dynamic something is, the more underspecified, the worse LLMs perform. The most dynamic language is natural language, which has no types and no formal structure. You can define logic in natural language.

Would we do that though? No. It won’t perform well.

It’s a spectrum. At one end is natural language, at the other is something like Lean. PHP sits closer to the natural language edge than C#.


> I program in PHP all day, I know. PHP is a bad language for LLMs.

That statement is so absurdly false that I'm fully convinced you never used an LLM for serious PHP development.


I use an LLM every day on a codebase that’s at least 10 million lines long.

LLMs perform poorly in huge monoliths (not enough context) and they perform poorly in PHP (not enough context in the code). It’s just intrinsic to how LLMs work.


Can you explain what about PHP has less context? Are you working in a PHP codebase with no types?

Even with types the code does not have enough context.

You can type a variable as array. Now what's in? You don't know unless you read a lot of code.

You can type a variable as a class. Now what's in it? You still don't know, because properties and methods may be dynamically added in various code paths. What methods can you call on this class? You don't know, because it uses magic methods for resolution.

You see a variable in a function. Is it defined? What's it's value or type? You don't know, because there are no local types in PHP. And you don't know if the variable is defined because it could have been defined 3 layers of nesting deep in the function. You have to read more code to find out.

You call a function. Is it defined? You don't know, because it could have been included in an include() somewhere else in the class or function.

You just have to read 10x as much code to get the same amount of context that a language like C# gives you for free via the compiler.


Why drive a car when you can teleport in the future?

Introducing BFCode... the Brainfuck llm you didnt know you needed

Just ask the LLM to output assembly directly then. As long as nobody ever has to answer questions about the code, it'll be ok.

GenAI will be a viable business, but OAI and ANT are in the "making GOD" business and that's not a proven business model yet.

I feel like Google is in the practical GenAI business, regardless of what advanced AI they are working on behind the scenes. My wife and I get exceptional value from a $20/month AI Pro plan with family access. The cost per month is 100% worth it for just our using it in chat mode, and the allotted Gemini + agy use (and a little Opus 5.5 use also) 100% covers me when the strong local models I run are sometimes inadequate for some dev and research tasks.

It is almost a perfect product. I also know people who similarly get good value from $20/month plans from OpenAI and Anthropic.


No, regardless of what you say you believe in, you grew up in a culture shaped by certain stories. Atheists like to say that they don't need a God to be good people but their very definition of good is influenced by religious stories, even indirectly.

why would you need max settings on WoW, not like anyone ever played it for the stunning graphics

I'm on a samsung s21 FE released in Jan 2022. I bought it in autumn 2023 and it's still serving me well today, so much that I have a Pixel 10a in a box I bought a couple of weeks ago on black friday because it seemed like a good deal but haven't set it up yet.

I'm sure the samsung can last another year without issues except maybe shorter lived battery.


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

Search: