[ Index ] [ as / cr ] [ dev / lua ] [ meta ]

/lua/ - Lua programming

Metatables for president

[ ]

* required field

Please read the [Rules] and [FAQ] before posting.


get that creepy shit out of here spambots i am sick of deleting it all the time


[Catalog] [Archive] [Refresh]
File: Love-game-logo-256x256.png (12 KB, 256x256)
Let's get this party started! Please read the rules before posting, etc.
File: 1452802415531.png (127 KB, 497x448)
>>1
>Services you should use
Throw your code on hastebin.com or gist.github.com or nobody will help you
Use GitHub for things that need to last more than a short while. No bitching.

>Useful (free!) programs
Blender - blender.org
Krita - krita.org
Atom - atom.io

>Chat!
#love on irc.oftc.net. If you aren't there, we're already laughing at you behind your back and talking shit about your waifu.
According to some, Zerobrane is also a pretty great Lua IDE. Check it out too!
/love/ -> /lua/

enjoy your newfound freedoms

File: Screen Shot 2022-09-02 at(...).png (221 KB, 1064x630)
Building a full stack app if anyone is interested to collaborate. I come from a python/javascript background and picked Lua a couple of weeks ago and absolutely love it.

Don't know what to build though but I finally have a good foundation with basic crud functionallity (todo). There is not a lot on how to make Lapis purely for API But I think I got it.

Also, what should the name of this stack be? Also dockerizing everything
>>373
join us on the lapis discord if you'd like to talk more about lapis!

https://discord.gg/nJ8vaHVd

lapis is very good at being a json restful api server
>>374
Ahhh I think I joined that the first time I was reading the docs on Lapis. Will introduce myself on Lapis channel

File: extrasexy.png (20 KB, 600x450)
Ok so I hate javascript so lets all revolt against it please also dhar mann is my secret lover
that's the spirit

File: 20210222_010941.jpg (16 KB, 559x423)
Like I look at the source code of this proj and oh wow I better start learning OOP so that my project isnt garbage. Ive heard metatables are hard. Is it true?
metatables aren't that hard really and you don't have to think about them for a pretty long time. most of the time even when you do need it you're just setting __call for a constructor and __index to another table though to give you a class prototype

oop is also kinda beside the point though (basic classes != oop) and not correlated with good code (it is correlated with over-engineered bullshit though)

most of the relevant stuff for organizing code is just basic lua syntax sugar, like being able to write function some_table:whatever() and it passes self automatically if you also call with :whatever()
>>193
This is a really wise explanation.

File: 1 (1394).jpg (176 KB, 800x845)
Is this imageboard really made with Lua? based if true.
There seems to be no captcha? that screams botted spam
yup, made with Lua! check the GitHub link in the footer!

Bot spam stuff will come Soon(tm)!
>>95
Me again, 4 months later, how is the development going?
>>165
I've been slowly reworking the code to be much cleaner and run off an api so i can support other clients in the future~

File: 1513228265601.png (307 KB, 480x454)
Should I?
probably yes
Sure! I just updated it to run in Docker so it shoudl be WAY easier to set up now. I knwo the code is pretty messy, I am hoping to sit down and clean it up now that I have a better understanding of Lapis.

Short term wants is to make the code cleaner and less buggy, long term I want lapchan to run on a RESTful API.
test

File: Screenshot from 2017-10-1(...).png (10 KB, 284x121)
and i had never heard of this until doing a bit of research.

honestly, this place is pretty comfy.
what happend to lunaboards, it seems down

File: 1342947935779.png (1336 KB, 3779x4125)
s-s-so... how do i learn lua?!!

^~^
by making things in lua

i recommend the love2d wiki as a starting point they have a lot of good stuff https://love2d.org/wiki

File: Untitled.png (22 KB, 1914x1431)
56
1
3213
?

File: wxlualogo.png (27 KB, 128x128)
check out wxLua its p cool
http://wxlua.sourceforge.net/
>>26
I want to know why this damn thing isn't in luarocks, it makes life much more difficult than it should be.
I dunno maybe compatibility issues, its based on wx which is also stand alone so yeah
http://pastebin.com/dH8G633z
time clock I wrote :3
File: dj.gif (1006 KB, 303x216)
>>29
My clock doesn't tell time. BUT I DON'T NEED THAT SHIZZ!

[1] [2] [Catalog] [Archive]
[ Index ] [ as / cr ] [ dev / lua ] [ meta ]