Luazen support for windows
Hey!
About this project: https://github.com/philanc/luazen/
I've been looking for some cryptography libs in lua and couldn't find many, except this one using ed25519 that worked really well on mac, but I can't get it to work on windows.
Has any one ever tried to port this to windows? I saw the issues with some attempts, just curious if anyone here tried too.
Or also, if there's any other lib that I could use, I'd be happy to change - but I couldn't find any
Thanks in advance
https://redd.it/1r3n3ah
@r_lua
Hey!
About this project: https://github.com/philanc/luazen/
I've been looking for some cryptography libs in lua and couldn't find many, except this one using ed25519 that worked really well on mac, but I can't get it to work on windows.
Has any one ever tried to port this to windows? I saw the issues with some attempts, just curious if anyone here tried too.
Or also, if there's any other lib that I could use, I'd be happy to change - but I couldn't find any
Thanks in advance
https://redd.it/1r3n3ah
@r_lua
GitHub
GitHub - philanc/luazen: Compression and crypto for Lua: LZMA, Chacha20, curve25519, ed25519 signature, Blake2b hash and more...
Compression and crypto for Lua: LZMA, Chacha20, curve25519, ed25519 signature, Blake2b hash and more... - philanc/luazen
how to learn
i’m a beginner to lua and coding in general and i want to learn how to code it, but i dont know where to start. all the youtube videos and tutorials i’ve watched so far haven’t helped, so i decided to come to the place of eternal wisdom: reddit. i primarily intend to use it for roblox game development. i just keep getting lost and feel like im going in circles and not actually learning anything. any advice?
https://redd.it/1r54c52
@r_lua
i’m a beginner to lua and coding in general and i want to learn how to code it, but i dont know where to start. all the youtube videos and tutorials i’ve watched so far haven’t helped, so i decided to come to the place of eternal wisdom: reddit. i primarily intend to use it for roblox game development. i just keep getting lost and feel like im going in circles and not actually learning anything. any advice?
https://redd.it/1r54c52
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
I come to seek for eternal wisdom from the great programmers. Also because I heard Polytoria uses Lua-
https://www.reddit.com/gallery/1r55m68
https://redd.it/1r563jp
@r_lua
https://www.reddit.com/gallery/1r55m68
https://redd.it/1r563jp
@r_lua
Reddit
From the Polytoria community on Reddit: HELP WITH SCRIPTING PLEEEASE
Explore this post and more from the Polytoria community
Lua 5.5 length operator now stricer than with Lua 5.4
While porting
C:\...\tests> lua -e "print(VERSION); t={nil,true}; print(#t)"
Lua 5.5
0
[C:\...\tests]> C:\Apps\OneLuaPro-5.4.8.3-x64\bin\lua.exe -e "print(VERSION); t={nil,true}; print(#t)"
Lua 5.4
2
Bug or feature? I've also posted this issue into the
https://redd.it/1r5c0l9
@r_lua
While porting
lua-cjson to Lua 5.5, I encountered a test case failure. It appears that Lua 5.5 handles table length evaluation more strictly than previous versions, especially regarding tables with holes:C:\...\tests> lua -e "print(VERSION); t={nil,true}; print(#t)"
Lua 5.5
0
[C:\...\tests]> C:\Apps\OneLuaPro-5.4.8.3-x64\bin\lua.exe -e "print(VERSION); t={nil,true}; print(#t)"
Lua 5.4
2
Bug or feature? I've also posted this issue into the
lua-l list.https://redd.it/1r5c0l9
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Lunar: a self-hosted Golang+Lua FaaS for personal use.
https://github.com/dimiro1/lunar
https://redd.it/1r5c4ny
@r_lua
https://github.com/dimiro1/lunar
https://redd.it/1r5c4ny
@r_lua
GitHub
GitHub - dimiro1/lunar: A lightweight, self-hosted Function-as-a-Service platform written in Go with Lua noscripting.
A lightweight, self-hosted Function-as-a-Service platform written in Go with Lua noscripting. - dimiro1/lunar
Melhor IA para programar em LUA...
Opa! Alguém ai poderia me indicar uma IA, qualquer IA, que seja boa na programação LUA?
https://redd.it/1r5mqmi
@r_lua
Opa! Alguém ai poderia me indicar uma IA, qualquer IA, que seja boa na programação LUA?
https://redd.it/1r5mqmi
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Code lua
Bonjour, j'apprends le langage de programmation Lua. Je me lance de petits défis, et celui-ci consiste à déclencher une action : une explosion se produit lorsqu'on touche un élément. Je ne sais pas comment faire. Pourriez-vous m'aider ?
https://redd.it/1r6794d
@r_lua
Bonjour, j'apprends le langage de programmation Lua. Je me lance de petits défis, et celui-ci consiste à déclencher une action : une explosion se produit lorsqu'on touche un élément. Je ne sais pas comment faire. Pourriez-vous m'aider ?
https://redd.it/1r6794d
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
typing lua is way slower than my normal typing speed for some reason
been noscripting in lua for a while now (mainly roblox studio stuff) and just noticed my typing speed tanks whenever i'm actually coding vs just typing normal text
like i can do 75wpm easy on regular stuff but the moment i'm typing
found this site typequicker that has a lua practice mode where you can drill actual lua syntax. function declarations, table operations, all those symbols that mess up your flow. been running through it for like 15min before coding sessions
went from \~45wpm on lua code to like 70wpm in a few weeks which is kinda wild. now typing
also shows which fingers are slow so you can focus on what's actually holding you back. my right pinky was terrible at brackets and parentheses lol
anyway if your typing feels like it's bottlenecking your lua workflow might be worth checking out. better than just grinding random words that don't help with actual syntax
https://redd.it/1r6x2g9
@r_lua
been noscripting in lua for a while now (mainly roblox studio stuff) and just noticed my typing speed tanks whenever i'm actually coding vs just typing normal text
like i can do 75wpm easy on regular stuff but the moment i'm typing
function(), end, pairs of brackets, table constructors with all the commas and colons... drops to like 45wpm. really annoying when you're trying to iterate fast or you're in the zone and your fingers are just lagging behindfound this site typequicker that has a lua practice mode where you can drill actual lua syntax. function declarations, table operations, all those symbols that mess up your flow. been running through it for like 15min before coding sessions
went from \~45wpm on lua code to like 70wpm in a few weeks which is kinda wild. now typing
for k,v in pairs() or nested tables doesn't have that awkward stutter anymorealso shows which fingers are slow so you can focus on what's actually holding you back. my right pinky was terrible at brackets and parentheses lol
anyway if your typing feels like it's bottlenecking your lua workflow might be worth checking out. better than just grinding random words that don't help with actual syntax
https://redd.it/1r6x2g9
@r_lua
Type Quicker
TypeQuicker | Type at the Speed of Thought
The most effective way to type faster and improve your typing speed. Become fast at typing with our personalized typing practice.
Any good tutorials for LÖVR 3d?
I'm a completely inexperienced programmer and I only recently learned to program in Lua. I was looking for a way to explore 3d and decided to learn LÖVR 3d. Is there a good source that introduces LÖVR for beginners?
https://redd.it/1r9u0w3
@r_lua
I'm a completely inexperienced programmer and I only recently learned to program in Lua. I was looking for a way to explore 3d and decided to learn LÖVR 3d. Is there a good source that introduces LÖVR for beginners?
https://redd.it/1r9u0w3
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Experimental Lua2C
I have been working on a project to turn simple lua code into actual working, compilable C code, and its working! (With static compilation if you have a C compiler, i guess)
It currently supports:
Variables with strings, integers, and floats
Variable manipulation with addition, subtraction, multiplication, and division
Functions with experimental arguments
And Print()
~~if this gets 20 upvotes ill make it open source~~ WE GOT 20 UPVOTES
# Source code: https://github.com/LuaToC/LuaToC
UPDATE 1: Added tables and loops, currently working on os since i want clock,
Update 2: Wait how are theese updates going so fast? Anyway, added experimental os and math libraries, their code inspired by luajit!
Update 3: Minor update, added assert(), optimized print() a bit, and fixed some memory leaks
Update 4: Fixed assert() lol, nearly halfed noscript size by cleaning up code (1700 lines > 900 lines), fixed more memory leaks
https://redd.it/1r8cwod
@r_lua
I have been working on a project to turn simple lua code into actual working, compilable C code, and its working! (With static compilation if you have a C compiler, i guess)
It currently supports:
Variables with strings, integers, and floats
Variable manipulation with addition, subtraction, multiplication, and division
Functions with experimental arguments
And Print()
~~if this gets 20 upvotes ill make it open source~~ WE GOT 20 UPVOTES
# Source code: https://github.com/LuaToC/LuaToC
UPDATE 1: Added tables and loops, currently working on os since i want clock,
Update 2: Wait how are theese updates going so fast? Anyway, added experimental os and math libraries, their code inspired by luajit!
Update 3: Minor update, added assert(), optimized print() a bit, and fixed some memory leaks
Update 4: Fixed assert() lol, nearly halfed noscript size by cleaning up code (1700 lines > 900 lines), fixed more memory leaks
https://redd.it/1r8cwod
@r_lua
GitHub
GitHub - LuaToC/LuaToC: Made by macsipac, a Lua to C transpiler
Made by macsipac, a Lua to C transpiler. Contribute to LuaToC/LuaToC development by creating an account on GitHub.
Need help in lua
is there any chance anyone can possibly teach me lua or know a good lua class?
https://redd.it/1r8ks8u
@r_lua
is there any chance anyone can possibly teach me lua or know a good lua class?
https://redd.it/1r8ks8u
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
noscript not working anymore
This noscript on the logitech app had been working fine for me for over a year now and suddenly stopped working. EnableRC = true
RequireToggle = true
ToggleKey = "CapsLock"
RecoilControlMode = "LOW"
local RecoilPresets = {
LOW = { Vertical = 5, Horizontal = 0 },
MEDIUM = { Vertical = 8, Horizontal = 0 },
HIGH = { Vertical = 10, Horizontal = 0 },
ULTRA = { Vertical = 18, Horizontal = 0 },
ASH = { Vertical = 13, Horizontal = -1 },
TWITCH = { Vertical = 21, Horizontal =0 },
DOC = { Vertical = 5, Horizontal = 0 },
ELLA = { Vertical = 8, Horizontal = 2 },
HIB = { Vertical = 9, Horizontal = -1 },
SMG = { Vertical = 13, Horizontal = 1 },
ACE = { Vertical = 10, Horizontal = 0 },
JAG = { Vertical = 6, Horizontal = 0 }
}
local Recoil = RecoilPresets[RecoilControlMode\] or RecoilPresets.MEDIUM
local VerticalStrength = Recoil.Vertical
local HorizontalStrength = Recoil.Horizontal
EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg)
if EnableRC and (not RequireToggle or IsKeyLockOn(ToggleKey)) then
if IsMouseButtonPressed(3) thenAW
while IsMouseButtonPressed(3) do
if IsMouseButtonPressed(1) then
while IsMouseButtonPressed(1) do
MoveMouseRelative(HorizontalStrength, VerticalStrength)
Sleep(7)
end
end
Sleep(10)
end
end
end
end
I get an error message on the "end"'s anyone know why?
https://redd.it/1r8jg0r
@r_lua
This noscript on the logitech app had been working fine for me for over a year now and suddenly stopped working. EnableRC = true
RequireToggle = true
ToggleKey = "CapsLock"
RecoilControlMode = "LOW"
local RecoilPresets = {
LOW = { Vertical = 5, Horizontal = 0 },
MEDIUM = { Vertical = 8, Horizontal = 0 },
HIGH = { Vertical = 10, Horizontal = 0 },
ULTRA = { Vertical = 18, Horizontal = 0 },
ASH = { Vertical = 13, Horizontal = -1 },
TWITCH = { Vertical = 21, Horizontal =0 },
DOC = { Vertical = 5, Horizontal = 0 },
ELLA = { Vertical = 8, Horizontal = 2 },
HIB = { Vertical = 9, Horizontal = -1 },
SMG = { Vertical = 13, Horizontal = 1 },
ACE = { Vertical = 10, Horizontal = 0 },
JAG = { Vertical = 6, Horizontal = 0 }
}
local Recoil = RecoilPresets[RecoilControlMode\] or RecoilPresets.MEDIUM
local VerticalStrength = Recoil.Vertical
local HorizontalStrength = Recoil.Horizontal
EnablePrimaryMouseButtonEvents(true)
function OnEvent(event, arg)
if EnableRC and (not RequireToggle or IsKeyLockOn(ToggleKey)) then
if IsMouseButtonPressed(3) thenAW
while IsMouseButtonPressed(3) do
if IsMouseButtonPressed(1) then
while IsMouseButtonPressed(1) do
MoveMouseRelative(HorizontalStrength, VerticalStrength)
Sleep(7)
end
end
Sleep(10)
end
end
end
end
I get an error message on the "end"'s anyone know why?
https://redd.it/1r8jg0r
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Lunate - Seamlessly Use Lua Output in Go
https://codeberg.org/hernandez/lunate
https://redd.it/1r8hs0g
@r_lua
https://codeberg.org/hernandez/lunate
https://redd.it/1r8hs0g
@r_lua
Codeberg.org
lunate
How do i learn lua
I do not know any coding languages and i wanted to learn lua since a while.
I heard it is pretty simple.
https://redd.it/1r82lix
@r_lua
I do not know any coding languages and i wanted to learn lua since a while.
I heard it is pretty simple.
https://redd.it/1r82lix
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Iv'e been practicing lua for a week, how do i keep learning more complex Things?
Iv'e been learning lua for about a week now and iv'e gotten the hang of simple for, while loops aswell As simple functions and the Basic stuff Like print() and so on. Iv'e been following a YouTube Tutorial (codyn) for the whole time trying to understand His Code and when Things got tough iv'e used Chat gpt. Even though Sometimes iv'e feelt His explanaitions unsatisfactory i have still been very satisfied. In Part 8 you learn a "simple Tic Tac toe Game" Its about 80 lines of Code witch i have been only (Up to that Point) written Like 20 max. So now my question. How do i learn stuff Like that? Iv'e tried understanding the parts of it but Its so Long and complicated, It feels Like my head Just wont Take It in. What are my next steps to learn? Any Tutorials? I know of the book wich is free online, should i try IT with that?
https://redd.it/1r7yw63
@r_lua
Iv'e been learning lua for about a week now and iv'e gotten the hang of simple for, while loops aswell As simple functions and the Basic stuff Like print() and so on. Iv'e been following a YouTube Tutorial (codyn) for the whole time trying to understand His Code and when Things got tough iv'e used Chat gpt. Even though Sometimes iv'e feelt His explanaitions unsatisfactory i have still been very satisfied. In Part 8 you learn a "simple Tic Tac toe Game" Its about 80 lines of Code witch i have been only (Up to that Point) written Like 20 max. So now my question. How do i learn stuff Like that? Iv'e tried understanding the parts of it but Its so Long and complicated, It feels Like my head Just wont Take It in. What are my next steps to learn? Any Tutorials? I know of the book wich is free online, should i try IT with that?
https://redd.it/1r7yw63
@r_lua
Reddit
From the lua community on Reddit
Explore this post and more from the lua community
Multiplayer Snake, Game of Life, and Doom Fire, where all game logic runs as Lua noscripts inside the Dragonfly
https://github.com/vyavdoshenko/dragonfly-for-fun
https://redd.it/1rasbm1
@r_lua
https://github.com/vyavdoshenko/dragonfly-for-fun
https://redd.it/1rasbm1
@r_lua
GitHub
GitHub - vyavdoshenko/dragonfly-for-fun: Games & Demos powered by Dragonfly Lua noscripting.
Games & Demos powered by Dragonfly Lua noscripting. Contribute to vyavdoshenko/dragonfly-for-fun development by creating an account on GitHub.