Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Notices tagged with lua

  1. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Monday, 19-Oct-2020 14:27:49 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Today is actually #Lua and #PHP, but here’s a list of #Ocaml resources: https://ocamlverse.github.io/content/learning.html
    Monday, 19-Oct-2020 14:27:49 EDT from nu.federati.net permalink
  2. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Tuesday, 04-Aug-2020 03:49:55 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    #Roblox introduces #Luau, its near-JIT interpreter for #Lua. The interp requires the Roblox engine. The language differs a little from regular Lua. https://roblox.github.io/luau/
    Tuesday, 04-Aug-2020 03:49:55 EDT from nu.federati.net permalink
  3. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Monday, 27-Jul-2020 19:54:30 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    • spotlight night shot
    if filehandle ~= nil then
    return filehandle
    end
    return false

    This has been working okay, but I think

    if filehandle ~= nil then
    return filehandle, true
    else
    return nil, false
    end

    will more directly say what I mean. I need to read a little more to figure out which is more "idiomatic" for the language. (Or maybe ask @amic, who has used the language more than I have.)

    #Lua
    Monday, 27-Jul-2020 19:54:30 EDT from nu.federati.net permalink
  4. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Saturday, 23-May-2020 23:27:46 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Serializing #Lua tables: https://www.lua.org/pil/12.1.1.html

    This feels weird to me. Maybe because Lua is generally embedded inside of a game, where the script need not concern itself about saving its data to a file.
    Saturday, 23-May-2020 23:27:46 EDT from nu.federati.net permalink
  5. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Sunday, 10-May-2020 19:47:28 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Sometimes, just using a web browser and search engine is better than hours of reading docs and tutorials. The answer is right there. #Lua
    Sunday, 10-May-2020 19:47:28 EDT from nu.federati.net permalink
  6. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Sunday, 12-Apr-2020 13:23:31 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Good morning and #TZAG. Today is #Resurrection Sunday ("Easter"). He is risen!

    Stayed up way too late messing around with #Lua last night, so I'm both late and tired. It is a warm, sunny day in #SoCal.
    Sunday, 12-Apr-2020 13:23:31 EDT from nu.federati.net permalink
  7. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 01-Apr-2020 23:03:25 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    At a previous job, he had to script some equipment with a custom BASIC-like language and a little bit of #Lua.
    Wednesday, 01-Apr-2020 23:03:25 EDT from nu.federati.net permalink
  8. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Monday, 23-Mar-2020 11:21:42 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Good morning and #TZAG. I’m almost finished with today’s #YoCo ( #yogurt and #coffee ). Plans today include job searching, working on my toy project (part of learning #Lua; I’m also going to do another version of it to revive my !TclTk knowledge and possibly a 3rd version in another language), and removing some of the weeds growing in the yard.

    I also need to visit the stores to see whether TP supplies have come in.
    Monday, 23-Mar-2020 11:21:42 EDT from nu.federati.net permalink
  9. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Friday, 20-Mar-2020 16:14:53 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Discovered #Lua’s io.lines() file iterator. That should clean this little toy project up a little.
    Friday, 20-Mar-2020 16:14:53 EDT from nu.federati.net permalink
  10. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 18-Mar-2020 01:45:58 EDT LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Time to go to bed. Exploration with #Lua again tonight. It is still mind-bending, but getting somewhat easier to grok. I suspect that I’ll be able to apply this to learning languages like #Squirrel and #Wren, which take inspiration from Lua. As usual, if something seems to give unexpected results, look at the interaction with tables, which are dictionaries (associative array…
    Wednesday, 18-Mar-2020 01:45:58 EDT from nu.federati.net permalink

    Attachments

    1. lnxw48a1-20200318-ostatus-krlj.html
  11. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 19-Feb-2020 21:17:19 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Now watching some #PHP videos on the former #Lynda.com site ( now called #LinkedIn / #LockedOut Learning ) before I go back to the #Lua videos. I had to take a time out from Lua because none of the (book and video) examples of "first class functions ... pass the function to that one" were working for me and I could not see why. The odd thing is that the weird issues with scopin…
    Wednesday, 19-Feb-2020 21:17:19 EST from nu.federati.net permalink

    Attachments

    1. lnxw48a1-20200220-ostatus-2qtg.html
  12. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 19-Feb-2020 19:02:56 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Now wstching some #Lua videos now.
    Wednesday, 19-Feb-2020 19:02:56 EST from nu.federati.net permalink
  13. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Tuesday, 18-Feb-2020 15:03:50 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Finished with breakfast (my normal #YoCo [ #yogurt and #coffee ] ) and lunch. Time to get back to the job search and my efforts to learn #Lua.
    Tuesday, 18-Feb-2020 15:03:50 EST from nu.federati.net permalink
  14. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 05-Feb-2020 12:22:22 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    “If possible, you should always use local variables over global variables, unless there’s a specific reason otherwise.” — https://developer.roblox.com/en-us/articles/Variables #Lua

    Going to have to read about the language’s history. I’m sure Lua is young enough to have been created after we learned that global vars should be avoided, so why global by default instead of only when expressly requested?
    Wednesday, 05-Feb-2020 12:22:22 EST from nu.federati.net permalink
  15. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Monday, 03-Feb-2020 01:31:15 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    I’m bumbling through “Lua Quick Start Guide” and a couple of online #Lua introductions / tutorials. Usually at the same time. So when I want to go on to the next one, I want to type the equivalent of #Tcl’s

    set variables [info vars]

    So I can iterate through them and delete them (or set them to nil in Lua parlance). But in the resources I’ve looked at so far, that seems not to be a thing in the Lua world.
    Monday, 03-Feb-2020 01:31:15 EST from nu.federati.net permalink
  16. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Saturday, 01-Feb-2020 13:48:33 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    I’ve been doing some very introductory tutorials for #Lua. It seems pretty interesting. I don’t think it will displace #Tcl and #Python as my favorite scripting languages, but it could become the third in the set. Seeing that tables (which are dictionaries—associative arrays—that can also act as regular arrays if numeric keys are used) are the only data structure, it …
    Saturday, 01-Feb-2020 13:48:33 EST from nu.federati.net permalink

    Attachments

    1. lnxw48a1-20200201-ostatus-rj2f.html
  17. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Tuesday, 21-Jan-2020 00:57:37 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Found another old prepaid VISA gift card, but it's been so long that I can't read the expiration date (and therefore, cannot check to see how much is available to spend, if any). I'll take it with me the next time I visit a store and try to pay some or all of the price with it. Now, I'm going to put away #Tcl, #Lua, and #Jsish, and go to bed. I took a couple of sips of sleep en…
    Tuesday, 21-Jan-2020 00:57:37 EST from nu.federati.net permalink

    Attachments

    1. lnxw48a1-20200121-ostatus-ftdl.html
  18. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Wednesday, 15-Jan-2020 01:21:47 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Recently (not today, but close enough), I've been reading about #Lua and fiddling with "tables" which are dictionaries (other languages may use the terms "dict", "dictionary", "hash", "associative array" for similar concepts).
    Wednesday, 15-Jan-2020 01:21:47 EST from nu.federati.net permalink
  19. LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} (lnxw48a1)'s status on Saturday, 11-Jan-2020 23:08:18 EST LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864} LinuxWalt (@lnxw48a1) {3EB165E0-5BB1-45D2-9E7D-93B31821F864}
    Remote profile options...
    Considering a #JavaScript implementation for a couple of little things I'm working on. This one: https://jsish.org/fossil/jsi/doc/ckout/md/Home.md

    (Also considering #Lua and !tcltk. Maybe I'll start with all three and see which one gets farther faster.)
    Saturday, 11-Jan-2020 23:08:18 EST from nu.federati.net permalink
Start the article for #lua on WikiHashtags

Feeds

  • Activity Streams
  • RSS 1.0
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.