I started with Puppy Linux because I wanted to try Linux, and my 350MHz Celeron with 160MB of RAM and 4GB of disk space (of which I had around 1GB free) wasn't enough to run neither any flavor of the major distros, nor any remotely recent version of Windows that wasn't XP stripped down to the bare minimum, and even that ran like shit. This was around 2008.
After being able to afford a more recent machine (3GHz Intel something Dual Core, with 4GB of RAM and 500GB HDD), I switched to vanilla Ubuntu, with its Unity DE, then Xfce4.
I've been using the LUbuntu flavor (LXDE) since it is more lightweight than the alternatives. Don't really care about bells and whistles now, just a functional and fast desktop.
My most recent laptop is dead now, tho, and I don't see myself getting anything soon :(
if debug.getinfo(1).what == "main" then
-- ...
end
Not that you'll ever use it. No, seriously.
Edit: actually, they are not quite equivalent. This code just checks whether we are outside any function, not necessarily in the main file (i.e. not in a module). I don't think there's an equivalent to Python's __name__ in stock Lua.
It's a nice instance (or first nstance)