Better HN
topnewbestaskshowjobs
Log inSign up

kgeist

5,202 karma · joined Mar 7, 2021 (5y ago) · 1,740 submissions

Submissions

comment 1d ago · link · parent

The Bitter Lesson was first discussed around the time of the original GPT-3, and today's small local models vastly surpass GPT-3 despite having 10 times fewer parameters. It's true that if you just scale things up, they will automatically improve without any special effort. But that doesn't mean we shouldn't make any special effort or that we can't benefit from inference-time optimizations and training improvements.

Current models, including small ones, are trained on vastly more tokens and in vastly more simulated environments. So the Bitter Lesson still holds true here, but more for training than for inference.

Inference-time and architectural optimizations like MoE, quantization, compressed attention, looped transformers, multi-token prediction, Engram, etc., allow us to squeeze more out of the same hardware. It also looks like training models on code to make them more agentic has significantly increased their capabilities, i.e. training data quality matters just as much as scale.

I mean, the Bitter Lesson was true in the sense that you could just scale the same simple architecture (and train it on more data) without specializing and get better results. But the trend over the last few years has been the opposite, at least when it comes to inference (which matters most for local hosting): almost every new model introduces some specialization or optimization that allows it to run faster despite having more parameters. It's in AI labs' interest to save on hardware costs, so I don't think this trend will stop.

comment 4d ago · link · parent

In 2024, most models were pretty bad at long horizon agentic tasks. I'd say it's mid/late 2025

comment 6d ago · link · parent

Agree, many people think code reviews are there to catch "mistakes" (I used to think so too) but I think in most cases, they don't work that way. Bugs are still shipped and, at least in my experience, most reviewers often just quickly skim the changes without paying attention to the details. And those code reviews only give false confidence that a change is OK and must be error-free and good to go just because it was given LGTM by a senior dev (who barely looked at it), with all the consequences of such false confidence. It feels like in 95% of cases review is not even necessary and is just a corporate ritual at this point. It makes sense when you have a fresh contributor and you don't have confidence in them yet (i.e. code review as an onboarding process) or when a certain feature is non-trivial and you aren't sure everyone will be on the same page about the architecture (to prevent future conflicts/disagreements/rewrites of sorts), but other than that, proper QA processes are more important and more effective than CR at catching mistakes (tests, canaries, manual testing too etc.). Our company used to have a strong CR culture but now for a few years, there've been talks that CR is a bottleneck which doesn't really solve the problems it's supposed to solve.

My current pipeline with AI-generated code (and my own code too) is that I run AI reviewers several times on a single PR (the way LLMs work, due to attention optimizations, quantization issues, token sampling issues, harness issues -- AI agents often overlook some things on the first attempt), then I assemble the final report and we quickly decide together what needs to be addressed (critical stuff) and what's okay as is. I quickly skim the change set myself too, to see what the shape of the tests is, and what code areas were touched, just to be informed, and that's about it. I don't feel exhausted personally, because it pays off when there's a working feature at the end of the day

comment 1w ago · link · parent

Just a locally hosted GLM-5.3 in OpenCode.

Say, today I found a service had image uploads. I told it, go check that stuff. One of its hypotheses was a decompression bomb. 10 minutes later the service gives 503's and is stuck in CrashLoopBackoff. It has all the knowledge and tools to craft a bad PNG.

Or yesterday there was this article about Lovable users not securing their Supabase DB's properly. I told it to find a couple Lovable sites and probe them for exposed tables (no RLS). At first it refused to do it (the guardrails activated) but then it agreed to list only 1 row from each table with PII redacted as a compromise for my PoC. I then just opened a new session and asked it to remove PII redaction and return all rows. It complied becase it didn't pay attention to what the script was about. One of the Lovable sites exposed user passwords in plaintext.

Basically if my goal is "hack something successfully today" (by success I mean DoS, data breach or RCE), the success rate so far has been 100% (at least one site is compromised). It's scary how easy it is nowadays

comment 1w ago · link · parent

Not sure if you need this Artex tool at all? I was able to find 15 vulnerabilities including an RCE in 2 casual nights by just saying "go hack it" to a pretty good model with weak guardrails. No tooling needed except for a Linux environment

comment 1w ago · link · parent

The setup in the article reports 600 tok/sec aggregate decode for GLM 5.3. I get the same throughput on 4x RTX 6000 Pro's connected vi PCIe for GLM 5.3 Flash, which is just 4 points below GLM 5.3 on Artificial Analysis. I'm just saying the setup in the article looks overpriced for what it can actually do

comment 1w ago · link · parent

Dunno, maybe I'm good at prompting it, but I haven't had many issues with GLM-5.3 Flash. After switching from the Claude models, I barely noticed any difference for most tasks. In fact, I have to recheck the settings from time to time to make sure I'm not running anything Anthropic when I see it working with sensitive data :)

The only annoying issue for me is that GLM-5.3 Flash is often eager to go into action and start modifying code when I've just asked a question and it misunderstood it as a call to action.

comment 1w ago · link · parent

People say GLM 5.3 is not much smarter than GLM 5.3 Flash (just +4 points on Artificial Analysis), and GLM 5.3 Flash fits on 4x RTX 6000 Pro for 4 times less money, with the same 600 tok/sec aggregate decode speed on vLLM (6 mln tokens KV cache). And I tell you, 600 tok/sec is not much for an organization, it's barely usable for 8 people. That's why we plan to buy more RTX 6000 Pros. And this setup requires $400,000 to run GLM 5.3 for 16 people, it's absolutely uneconomical.

comment 1w ago · link · parent

>the real risk is the default world tech stack shifts to open models on Chinese chips.

As someone who isn't based in the US/EU and whose job is to deploy LLMs on premises, I can't wait for the moment when China starts selling its GPUs globally en masse with a proper CUDA equivalent. It's going to be cheaper in the long term and without all the export control drama.

comment 1w ago · link · parent

>they can't match Nvidia + American tech stack for the foreseeable future.

>China can "just catch up", which begs the question why they don't have their own Nvidia already

What about Huawei and their Ascend chips?

DeepSeek and z.ai now run their models on Ascends, and inference is basically a solved problem (especially with the architectural/ML optimizations, like 90% of them come from China right now).

From what I understand, they lack compute for training - their own chips can do it too but they're slower and you need ~4 times more GPUs. Plus CUDA is a more mature stack than whatever Huawei provides (e.g. DeepSeek once failed to train on Ascends because they struggled with the stack). As long as China can buy Nvidia chips, it's cheaper and easier to just use smuggled chips but it doesn't mean they desperately need them.

>many of the automakers are operating on state subsidies

As opposed to many "successful" US companies living off investments without being actually profitable for years (or ever)?

comment 1w ago · link · parent

But it's not a given that memory corruption is exploitable as an RCE specifically. I thought to call something an RCE you need a working exploit?

comment 1w ago · link · parent

>Due to improper synchronization when executing concurrent threads sharing resources, an attacker can trigger heap corruption.

>As of the time of this blog’s publication, no exploit is available and there are no reports of exploitation in the wild.

Since when does "memory corruption" = "RCE"? Last week I found and reproduced a memory corruption (a use-after-free) in PHP's runtime after running an on-premise agent for just 30 minutes. There's nothing about it on the internet. Should I write a blog post about a scary new vulnerability? :)

comment 1w ago · link · parent

Last week I deployed GLM-5.3-Flash on our on-premise servers, ran it against all repos, and in 6 hours it found 13 vulnerabilities across our products/sites, including 1 full account takeover and an RCE on our site which involved a pretty sophisticated chain of __destruct gadgets (all vulns verified to work by a human).

As an experiment, I also pointed it at the PHP runtime's source code, and it was able to construct PHP code that triggered a use-after-free (or a segfault, if you prefer DoS). I failed to find the vulnerability in the list of CVEs, so maybe it's a 0day, I don't know.

Sure, it's not a frontier model, but it can find many issues that were overlooked by all the commercial security scanners we run regularly as well. The nice thing about this setup is that we can run it 24/7 probing our code/infra, constructing exploits, etc. without having to care about token usage/bills. Plus, I think sending all that sensitive information about your internal infrastructure and the vulns found to Anthropic is a vulnerability in itself.

comment 2w ago · link · parent

It takes 116 seconds to process 43 input tokens and produce an answer to a very simple request (translation). That's pretty unusable, to be honest. Is overthinking a trait of DeepSeek, or it's a low quantization issue?

For comparison, the whole thing takes 1.8 sec on my RTX 6000 rig with GLM5.3-Flash, and 12.5 seconds on my RTX 5090 rig with Qwen 3.6 27b (it overthinks too, unlike GLM).

I can't imagine waiting 2 minutes for each small turn. It's like... 1 coding task per night? Sounds like, as an engineer, I can accomplish more in that time if I did everything myself manually without any AI.

comment 3w ago · link · parent

The original developers are from Russia. They now seem to have an office in London

comment 3w ago · link · parent

I'm currently evaluating GLM and oh boy, lots of correctness issues on large contexts if you run it on vLLM (bugs in the engine itself). I wonder what their config is.

comment 3w ago · link · parent

The average age of the explored models is ~1.5 years. They discuss PHP 8.3, which was released in 2023 and has not been actively supported since 2025. Agentic coding isn't used.

I'm not sure what the point is of publishing results on the mid-2025 state of the art in October 2026.

comment 3w ago · link · parent

>This misses the point: AIs will get better and better, and containment will be harder and harder.

Containment is hard when you give an AI agent access to a whole VM with a huge attack surface.

And it's pretty trivial when you give it only a small whitelist of manually curated/reviewed/tested primitives.

comment 1mo ago · link · parent

I remember our infosec person instructing us to verify we don't use log4j in our system written in PHP. Well, we didn't :)

comment 1mo ago · link · parent

I ran 2 PoCs from GitHub today: one indeed expected Local File Inclusion (LFI) to already be present (so it's just LFI with extra steps), and the other one didn't work at all out of the box without some modifications (although I used the same Docker images and all). The second PoC did trigger a real stale write bug in the end, but it didn't demonstrate actual RCE; it just triggered a stale write. And then I wondered, is this the first time ever that the PHP runtime has had a memory corruption bug? I doubt it (I remember a few years ago we had random crashes in production under high load due to an opcache bug). And if it's not the first memory corruption bug in the PHP runtime, why is it being proclaimed the worst vulnerability in years?

comment 1mo ago · link · parent

It says 46 tok/sec for Qwen3.6-27b 4 bit on RTX5090, but I get 60-70 tok/sec on a small context like that (5 bit weights with 8 bit KV cache), although it does slow down to 40 tok/sec on large contexts. If I add ngram speculation, then it can increase to 100+ tok/sec on code.

There are many knobs to tweak to make it faster, which the site ignores.

comment 1mo ago · link · parent

>they'd be gambling that NATO doesn't launch things into Russia

The official discourse in Russia is that NATO is already helping Ukraine launch things into Russia. So there's no gamble; for them, it's already a fact. Except, currently, it's just a proxy war where Ukraine has to jump through hoops to get military aid and targets approved, and it can only fire from Ukraine's territory. With a direct confrontation, there's no doubt that far more would be launched into Russia.

comment 1mo ago · link · parent

How would a direct war with NATO on several fronts help Russia win in Ukraine? Russia isn't ready for it in the slightest. As I said, if they wanted to go all in (full mobilization instead of partial, martial law, converting all industry to military production, etc.), it would be more logical to focus first on that 1 country they want to defeat, rather than immediately triggering Article 5 and fighting 32 countries at once. It just doesn't make any sense, and judging by the Kremlin's decisions over the last 4 years, I don't think they're that stupid.
12345
58