Skip to content
Wrestling With AI

Wrestling With AI

July 7, 2026

I’ve been fiddling around with LM-Studio, just seeing what the latest models that can be self-hosted are capable of. I feel that given the current tokens crisis, self-hosting is probably the best possible future for LLMs.

This weekend I put it through an unusual test, which it failed.

I have some code I wrote in QuickBASIC 4.5 way back in 1994/1995. It’s fairly simple - it opens multiple files (usually everything in the current folder) and checks to see if they have certain data in them, if they do then then it adds or updates those details in a reference file.

I used Google’s Gemma 4 12B QAT, but the exact model isn’t relevant, they all display similar faults.

It read the file and summarised the program’s behaviour reasonably well - fairly impressive given that this is hardly a commonly used programming language. It even identified calls to INT21h, and what workflow they were supporting. I was suitably impressed.

But then it said that the program finished by printing the time taken.

See if you can spot the problem with its summary of that bit of code:

PRINT
'LET taken& = TIMER - t&
'IF taken& > 60 THEN           'More code for time trials
' PRINT "Time taken : "; LTRIM$(STR$(taken& \ 60)); ":"; LTRIM$(STR$(taken& MOD 60))
'ELSE
' PRINT "Time Taken : "; LTRIM$(STR$(taken&)); " seconds"
'END IF
SYSTEM

Yes, it’s commented out! It’ll never run!

(This was debug code added because I was writing this to run on an 8086 processor, and therefore small changes could make big performance differences.)

There were a few other minor issues with the LLM summary, but overall it did well. However the act of commenting out lines of code by prefixing them with a character - an apostrophe, a hash - is very common in programming languages. There is absolutely no excuse for not spotting that, much less for not inferring that it’s a comment mechanism.

And this is a repeating problem that I have when I try to use LLMs. They’re OK, but they make stupid mistakes.

It tends to be that for broad strokes they’re OK, but they suck at the details. Unfortunately a lot of what I do in my profession is details, and I’m fairly fond of details in my personal life too.

I’m coming to the conclusion that whilst LLMs are a nice option to have, they’re not as useful to me as their creators would want me to believe.

I do like using them sometimes to give me a little high-level structure for my research, but even there I frequently find myself looking at the results and thinking “I’m going to throw away some of this because it’s wrong.”

I will continue to wrestle with LLMs occasionally, but I’m not optimistic I’ll ever be a wrestler for either fun or profit.

Last updated on