One of my posts got deleted. Oof.
Just finding my roots here!
- 3 Posts
- 12 Comments
Maya🍎@sh.itjust.worksOPto Programming@programming.dev•Learning Lua on Android Lession 0: Installation and Configuration
1·6 hours agoI’m keeping it as a manual for myself, maybe that’s why?
Maya🍎@sh.itjust.worksOPto Programming@programming.dev•Learning Lua on Android Lession 0: Installation and Configuration
1·6 hours agoWhat else could I expect, I didn’t know neovim had tokyonight too, the video didn’t explain much, it just went through the process. I thought just blindly copying what cshift did would be bad for learning so I tried to look for all the doubts I had. I messed up with fd because I typed fd Linux and got this page: https://en.wikipedia.org/wiki/File_descriptor
Of course I’m going to say something with confidence, I’m a beginner. I have yet to fall in the valley of the Dunning-Kruger despair, give it time.
Maya🍎@sh.itjust.worksOPto Programming@programming.dev•Learning Lua on Android Lession 0: Installation and Configuration
1·6 hours agoYes, that was what I meant by scratchpad. I had no idea my post looked like a teaching notes. Ouch.
Maya🍎@sh.itjust.worksOPto Programming@programming.dev•Learning Lua on Android Lession 0: Installation and Configuration
2·7 hours agoI did NOT use AI for this. I’m just bad at coding and I’m making an online scratchpad for myself because I don’t have enough storage for Joplin, and the things I’ve written is what I’ve interpreted from this video below by cshift: https://youtu.be/w6zAa3ebTFc. The guy didn’t tell anything as to why he downloaded the packages so I skimmed through the docs.
I think the grave mistake I made was confusing nodejs to be a gui instead of a runtime.
Plus, neovim and vim are text editors, they also act as IDEs because of the different plugins.
And I just typed hello_world.lua instead of lua hello_world.lua because I want to be able to change my files easily from lua to python. I’m using lua because it blends in with other languages.
Why did you feel my writing looks like AI? This is the second time someone thinks I’m using AI.
Maya🍎@sh.itjust.worksOPto Programming@programming.dev•Learning Lua on Android Lession 0: Installation and Configuration
1·9 hours agoOh, I should have made it clear, I’m doing a little tutorial for myself and everyone to learn Lua on a smartphone. I think I should have typed a recap.
It’s the Minecraft one right?
I don’t remember where the original code is, maybe I forgot to save it but it’s fine. I found a site that explains the apng module.
I currently don’t have the code. I didn’t save it…
I’ll give you a rough idea of what the modified code stack overflow did.
They imported pillow module.
Took the 6 labelled images from their storage.
Appended the images with a set delay of 100ms and saved it as one.
I’m not a coder, so I can’t remember the python code.
I used pillow. It has apng support now.
I got it to work. Yay!
https://sh.itjust.works/pictrs/image/ae3e684e-dacd-4b98-8306-bc68715e3587.apng

Lua is a bit faster and lightweight. I’m going easy since my phone’s really old.