HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jojo_

no profile record

comments

jojo_
·9 miesięcy temu·discuss
> politically motivated prosecution is very unlikely.

Judges are socialists

https://www.grasset.fr/livre/le-coup-detat-des-juges-9782246...
jojo_
·w zeszłym roku·discuss
You can do this with SQLite: https://ricomariani.github.io/CG-SQL-author

This is a fork of a facebook project.
jojo_
·2 lata temu·discuss
Lots of artists can reproduce existing content, should we get rid of them entirely, or just restrict them from publishing such content? If anything, it's the responsibility of the publisher to avoid copyright infringement.

> Also, personally I have no interest in a service that generates a song for you because it takes away all the fun. Maybe something that helps to find mistakes in composed music and help learning would be much more useful.

You are not forced to use the full raw output, you could use it sparingly in your new composition, the same way you might use ChatGPT to improve your lyrics.

All non-musician friends where thrilled to generate music. It's already extremely fun and will keep getting better. I think it lowers the barrier of entry and will increase the total amount of performers, the "real" musicians. I am sure musicians playing instruments back in the days had the same idea about digital music: "Not playing with the physical instruments takes away all the fun. You can't touch, smell, feel it. It has a negative impact on the music and on the people. I am so smart, I am a democrat, you guys are nazis, you want to destroy humanity while I want to restrict the majority of the people from having fun.".

> lot of effort and money to produce Mathematical formulas too, and you can't copyright them.

If a new device is invented to replay memory "almost verbatim (but in lower quality) for example". Should its use be restricted with regard to copyrighted content? It's your memory, your unique interpretation, shouldn't it belong to you?

AI will get better and you'll be able to easily go up the tree from which content was derived (intentionally or not) based on the similarity and the publication date.

Artists don't need more protections than mathematicians.
jojo_
·2 lata temu·discuss
Few months ago, I wrote a bash script for an open-source project.

I created a small awk util that I used throughout the script to style the output. I found it very convenient. I wonder if something similar already exists.

Some screenshots in the PR: https://github.com/ricomariani/CG-SQL-author/pull/18

Let me know guys if you like it. Any comments appreciated.

    function theme() {
        ! $IS_TTY && cat || awk '

    /^([[:space:]]*)SUCCESS:/   { sub("SUCCESS:", " \033[1;32m&"); print; printf "\033[0m"; next }
    /^([[:space:]]*)ERROR:/     { sub("ERROR:", " \033[1;31m&"); print; printf "\033[0m"; next }

    /^        / { print; next }
    /^    /     { print "\033[1m" $0 "\033[0m"; next }
    /^./        { print "\033[4m" $0 "\033[0m"; next }
                { print }

    END { printf "\033[0;0m" }'
    }
Go to source: https://github.com/ricomariani/CG-SQL-author/blob/main/playg...

Example usage:

    exit_with_help_message() {
        local exit_code=$1

        cat <<EOF | theme
    CQL Playground

    Sub-commands:
        help
            Show this help message
        hello
            Onboarding checklist — Get ready to use the playground
        build-cql-compiler
            Rebuild the CQL compiler
Go to source: https://github.com/ricomariani/CG-SQL-author/blob/main/playg...

        cat <<EOF | theme
    CQL Playground — Onboarding checklist

    Required Dependencies
        The CQL compiler
            $($cql_compiler_ready && \
                echo "SUCCESS: The CQL compiler is ready ($CQL)" || \
                echo "ERROR: The CQL compiler was not found. Build it with: $CLI_NAME build-cql-compiler"
            )
Go to source: https://github.com/ricomariani/CG-SQL-author/blob/main/playg...
jojo_
·3 lata temu·discuss
It would have been nice if LuaX was written in Lua.

Forking Pallene (https://github.com/pallene-lang/pallene) would introduce: - Types - LuaX -> Lua - LuaX -> C