diemartin

joined 2 years ago
[–] diemartin 1 points 13 hours ago

Sad reaccs only

[–] diemartin 2 points 14 hours ago
[–] diemartin 8 points 1 day ago
[–] diemartin 4 points 1 day ago
[–] diemartin 100 points 1 day ago (3 children)
[–] diemartin 16 points 1 day ago

Thank you kind stranger <3

[–] diemartin 65 points 1 day ago

Joke's on you! I hate myself too

422
FFFFFFFUUUUUUUUUUUU (sh.itjust.works)
submitted 1 day ago* (last edited 1 day ago) by diemartin to c/[email protected]
 

Yes, 2007 called and all that

Edit: f7u12 (thanks ColeSloth)

[–] diemartin 6 points 2 days ago (1 children)

TBH I don't know lol

I just grabbed this meme

...and remixed it

[–] diemartin 6 points 2 days ago (6 children)
[–] diemartin 14 points 2 days ago* (last edited 2 days ago)
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.

510
I am bereaved (sh.itjust.works)
 
637
Juan 👍 (sh.itjust.works)
 
253
Take the Green Herb? (sh.itjust.works)
 
608
Praise jeebus (sh.itjust.works)
 
245
No way (sh.itjust.works)
submitted 1 month ago* (last edited 1 month ago) by diemartin to c/[email protected]
 
222
⭐ Enviar un regalo (sh.itjust.works)
 
 

I haven't seen this posted here, but it brings back memories.

view more: next ›