nequals30
Joined 3 years ago
Joined 3 years ago
To me, the beauty of lua is the simplicity and lack of learning curve: I can usually accomplish whatever I need to without looking anything up (as the author said, everything is a table so there isn't much to overthink). Also, the community and support around love2d is fantastic.
One thing that's bothered me is that lua silently returns nil when you reference non-existing elements. That's been a pain when debugging, since a line with a typo (`a = typo`) doesn't fail, and the code fails much farther downstream (e.g. when doing arithmetic on `a`). So almost all my errors end up being "trying to do operation on a nil value", and there is no indication of why it's nil.
curl https://chat.openai.com/chat
I get an HTML response that has:
<noscript>
You need to enable JavaScript to run this app.
</noscript>Can ChatGPT know that I have NoScript enabled in Firefox? When my friend runs the same line in his chat, he gets the full HTML output like the author.
It'd be fun to see how they'd handle a CLI. Might result in getting detained, though.