enkidevs / curriculum

šŸ‘©ā€šŸ« šŸ‘Øā€šŸ« The open-source curriculum of Enki!
https://www.enki.com/mobile-app
Other
789 stars 1.13k forks source link

Lua patch: revamping installing Lua Workout #3298

Closed junoocha closed 3 weeks ago

junoocha commented 5 months ago

This workout was heavily revamped due to the many confusions users had with actually downloading Lua and using it on their computer.

As such, I considered an alternative for users to easily code on Lua. I realized that most people are here to be able to code on Roblox as that is the most popular platform for Lua coding and as such, downloading Lua is unnecessary as the Lua compiler is built into Roblox Studio. Thus, simply having an online IDE would be sufficient for following along in this course.

For users that do want to install Lua, I did make some clarifications with installing Lua and suggested that for any specific issues, watching tutorials would help, as its pretty difficult for new users to make the changes on their computer and coding environment. I did make a notice on insight 2 that insights 2-4 can be skipped if the user just plans to code on Roblox.

Additionally, I found an android app that also served as a Lua ide, allowing users to code Lua on their phones. A lot of people were asking for a mobile IDE to play around with Lua on there, and as I know that the current Enki app doesn't support Lua code, this app may serve as an alternative to coding on the go. I unfortunately don't have access to any apple products, but I do know of some Lua Ides on the apple store. I haven't put them in yet as I have not used them. I can put them in with further review.

On a side note, with this changes, a note may have to be added for input/output operations, as it does involve writing and exporting files and cannot be done on an online IDE.

enki-hq commented 5 months ago

Insight previews:

enki-hq commented 4 months ago

Insight

Insight Name Error Message
python-environment
  • Install Python pointing to https://wiki.python.org/moin/BeginnersGuide/Download is broken because HTTP_503

If you notice anything wrong with these rules contact content-team@enki.com.

junoocha commented 4 months ago

New Changes:

junoocha commented 4 months ago

New Changes:

  • Added the commits from Nem
  • For insight 2, I moved the note regarding the optionality of the next 3 insights to the top, as it should be the first thing a user should read before deciding
  • Removed the mention of LuaDroid to keep the focus on Enki

I might also consider removing most of the content in this workout, as it's extremely likely that users will be coding on Roblox to begin with, hence there's no need for this portion. IF the change does go through, I'll likely keep the online demo of the Lua Code, and then directing to the Roblox Studio insight where users can start scripting/coding.

junoocha commented 3 months ago

Reverted the changes regarding deletion of files to properly archive them in a different PR.

The plan is to completely remove most of the installation workout and move the first insight to the introduction workout. This first insight was edited to explain that the online IDE is enough for the course, and also directed them to the Roblox Studio intro to scripting workout if they'd like to code through Studio (as it comes with Lua installed)

Additionally, as the course has now switched to the use of an online IDE, there is no use for IO operations. This is furthered by the fact that these operations are deprecated in Roblox Studio. Thus, the two workouts that explore IO operations will also be archived.

enki-hq commented 3 months ago

Insight

Insight Name Error Message
installing-lua-i Insight slug installing-lua-i is not unique in the database.

If you notice anything wrong with these rules contact content-team@enki.com.

enki-hq commented 3 weeks ago

Insight

Insight Name Error Message
types-of-networks
  • Computer Network Types pointing to https://study.com/academy/lesson/types-of-networks-lan-wan-wlan-man-san-pan-epn-vpn.html is broken because HTTP_403
installing-lua-iv
  • Download VSCode pointing to https://code.visualstudio.com/download is broken because HTTP_500

If you notice anything wrong with these rules contact content-team@enki.com.

enki-hq commented 3 weeks ago

Insight

Insight Name Error Message
installing-lua-iv
  • Download VSCode pointing to https://code.visualstudio.com/download is broken because HTTP_500

If you notice anything wrong with these rules contact content-team@enki.com.

enki-hq commented 3 weeks ago

Insight

Insight Name Error Message
installing-lua-iv
  • Download VSCode pointing to https://code.visualstudio.com/download is broken because HTTP_500

If you notice anything wrong with these rules contact content-team@enki.com.