Jump to content

IAmHardliner

Alpha Tester
  • Posts

    7
  • Joined

  • Last visited

Posts posted by IAmHardliner

  1. On 7/19/2020 at 1:06 AM, Labutor said:

    If someone is not well versed in LUA programming and therefore buys a ready-made script, how will they know that it does not contain any malicious function? For example: switching off the core unit at an altitude of X in atmosphere.

    The idear is fine - but i think not realy realistic

    If someone is not well versed in ship building and buys a ready-made ship, how do they know the ship will fly as good as promised?

     

    The principle is the same as in real life. Some people will try to sell you stuff which doesn't do what it's promised to do. And some people will fall for that, if it's lua or something else.

    Over time some sellers will gain more reputation by selling quality stuff.

  2. @MRog40

    There is an example at https://github.com/du-codeforce/du-fennel-template/blob/master/src/main.fnl

    The originial lua code from which this was translated is here: https://github.com/du-codeforce/du-fennel-template/tree/master/tools#usage-example

     

    I cleaned up the example a bit, so it is closer to the original lua code.

     

    If you want to learn more, there is some documentation on https://fennel-lang.org/.

     

    Also, you can dm me if you have any questions. I also just started to learn lisp (thats one of the reasons I created this template, to learn lisp in DU), but I'm happy to share all the knowledge I have. :)

  3. 9 hours ago, joaocordeiro said:

    Are you crazy? 

    Do you think im gunna install your code as sudo? 

    Learn how to use the home directory dude... 

    
    PATH=$PATH:/path/to/some/dir

    Sorry for the confusion. This is not a tool that you install. This is template which you can use to write code for dual universe in a lisp.

    Every sudo use is for installing one of the dependencies. Two of which are luarocks dependencies and one is to move the lua-amlg file.

     

    You're completly free to use the template however you want. If you don't want to install anything as sudo, this is fine. Install it localy and add it to your path or change the build script to fit your needs. If you want to make some improvements you are free to open a pull request.

     

    For the time being I changed the header from Installation to Install Dependencies and added a disclaimer for people to note that the intallation with sudo is not mandatory.

×
×
  • Create New...