HNHacker News
TopNewBestAskShowJobs

nequals30

36 karma · joined December 4, 2022

submissionscomments
nequals30··on How to Keep ICE Agents Out of Your Devices at Airports
For Linux users, you could try disabling the desktop environment when going through the airport (or using termux-launcher on your phone).

It'd be fun to see how they'd handle a CLI. Might result in getting detained, though.

nequals30··on Rafael Araujo's 20 Mesmerizing Geometrical Masterpieces (2024)
Inigo Quilez has some good videos generating art and scenes with just mathematical constructions:

https://www.youtube.com/c/InigoQuilez

nequals30··on What I think about Lua after shipping a project with 60k lines of code
I'm wrapping up a multi-year personal project, a game written fully in lua using love2d.

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.

nequals30··on Building a Virtual Machine Inside ChatGPT
It did seem to be random. Hitting 'Reset Thread' and trying again gave me the author's original response back. I wonder what it was in my original thread that caused the model to expect javascript to be disabled.
nequals30··on Building a Virtual Machine Inside ChatGPT
Following the instructions verbatim, when I run this line:

  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.