Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)LI
Posts
3
Comments
89
Joined
2 yr. ago

  • I’m know it’s a meme, but a lot of people actually live like this. It’s part of that insanity of fear that people live in. “Except one” implies that it’s inevitable that you’ll be attacked in the night.

    It’s just like the psychos who stock up on guns, they’re positive that “it’s only a matter of time”

    People are fuckin stupid

  • As long as all wages are paid then there’s no obligation to continue employment in “at-will” states.

    The employer must pay all due wages, but after that they can close or fire for any reason, including “fuck you, got mine”

  • This right here, you can gui a single program, but with pipes we can chain nearly infinite programs. No way can you make a gui that is that flexible, I refuse to believe until I see it

  • A gui is helpful sometimes, but there’s a lot of cases where there’s no feasible way to make a good gui that does what the terminal can do.

    Right tools for the right job.

    For example, a gui to move a file from one folder to another is nice - drag and drop.

    A gui that finds all files in a directory with a max depth of 2 but excludes logs and runs grep and on matching files extracts the second field of every line in the file? Please just let me write a one liner in bash

  • What do you mean “embedding lua into applications”?

    I assume you mean you want an application extensible by user lua script?

    You build an API that calls the lua interpreter and passes the script, and reads the output; same as you would for any other scripting language. You define what the inputs should be, create the interface for executing the user defined script through shell commands, and then retrieve the output.

    For python you’re going to probably use this:

    https://docs.python.org/3/library/subprocess.html#subprocess.check_output

    For C# you’re going to use Process

    https://stackoverflow.com/questions/4291912/process-start-how-to-get-the-output

    The complexities arise in your implementation and there’s no single guide.