Cool until you realise Grandma is senile and can't actually think beyond piecing together text they've seen before into what they think is a coherent response.
Those keys will absolutely not work, either because they've already been used and were scraped from training data, or they are fake keys generated based on said training data.
Fun fact: If you google those codes you find out that they are “real” codes, but they don’t actually activate Windows. I think they are something that are used as placeholders in the upgrade from Windows 8 to 10 or something, but don’t know the specifics.
ChatGPT actually can’t create new “words”, just regurgitate words that it’s seen somewhere before!
That isn’t actually what’s important. It’s the frequency of the token, which could be as simple as single characters. The frequency of those is certainly not zero.
LLMs absolutely can make up new words, word combinations, or sentences.
That’s not to say chatgpt can actually give you good windows keys, but it isn’t a fundamental limitation of LLMs.
I’ve never ever, in many hours of playing with ChatGPT as a toy, had it make up a word. Hallucinate wildly, yes, but not stogulate a word out of nothing.
I’d love to know more, though. How does it combine new words? Do you have any examples of words ChatGPT has made up? This is fascinating to me, as it means the model is much less chained to the training data than I thought.
A lot of compound words are actually multiple tokens so there’s nothing stopping the LLM from generating the tokens in a new order thereby creating a new word.
You should probably watch Enderman. He unlocked Windows 11 Pro using Windows 7 Ultimate keys generated by ChatGPT. It took 3 regenerations, but a key did pass the online check.
Totally agree, all my { end up on the next line, 1st spot when starting a function, last character of the keyword when starting an if/for/… section. I even put the closing one on the same line when it’s single line, else either at the end of the closing line (when changing really old code) or same indent.
So indenting varies a lot, which makes most ‘new’ programmers go mental.
<span style="color:#323232;">while (my code)
</span><span style="color:#323232;"> { I'll do it my way }
</span><span style="color:#323232;">
</span><span style="color:#323232;">if (! liked)
</span><span style="color:#323232;"> { toughen-up }
</span><span style="color:#323232;">else
</span><span style="color:#323232;"> { get used to it
</span><span style="color:#323232;"> multi-line can go both ways...
</span><span style="color:#323232;"> }
</span>
I use tabs because I prefer 4-space indents and others might prefer 2-space indentation or the gross and unacceptable 6-space indentation.
If more than one person is working on a code base, there will likely be more than one preference, and with tabs everyone gets to just set their own tab width.
This is a legit observation. However, I would argue that spaces needs a set indentation width anyway, so if tabs had a set indentation width that coders are expected to maintain when aligning code, it wouldn’t make a difference. Enforcing that in practice may be different, but in theory it works.
Generally aligning stuff isn’t nice. But if you do, it’s tabs up to whatever level of indentation you’re at then spaces the rest of the way. So you wouldn’t have to assume a tab size. And the tabs and spaces have different semantic meaning (indent vs alignment) so mixing them makes sense. It’s even built into Jetbrains IDEs, where it’s called “Smart Tabs”.
One of the things I like about programming is it feels like legit magic. You infuse a lightning stone with words of power that bend its mind to your will.
One must be cautious. The stone will do what is asked of it. Exactly what is asked of it. Ask carefully.
It is always the worst code you wrote that survives. There's a terrible university dorm management software I wrote eight years ago as a student. They still use it. The crazy complicated test framework wrappers for some hardware I wrote five years ago. They still use it. The godawful and crazy complicated communication protocol I whipped up four years ago, still used in medical equipment today.
The crappy scripts that I wrote while teaching myself to code at an electrical engineering / architecture firm are used more often than the professional software I've built for FAANG and Fortune 500 companies since.
I always say I write throwaway code that never dies. I shutter to think how many pieces of code I wrote 10+ years ago are still buried deep in systems running today. Shutter.
programmerhumor
Newest
This magazine is from a federated server and may be incomplete. Browse more on the original instance.