jojo_'s comments

jojo_ | 1 year ago | on: Nvidia Fugatto: "World's Most Flexible Sound Machine"

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_ | 1 year ago | on: Techniques I use to create a great user experience for shell scripts

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_ | 2 years ago | on: The core problem with hamburger menus

Conspiracy theorist's take: Apple intentionally requires a second click to decrease ad clicks. Given the bottom anchor ad is a very popular ad format, this feature is negatively affecting most publishers. Advertising platforms like Google already implement two-clicks penalty as a safeguard for advertisers.

In USA, Safari accounts for one-third of total mobile traffic, and mobile traffic itself makes up two-thirds of total traffic.

This seemingly small feature is single-handedly wiping out billions of dollars in revenue for publishers... and Google.

page 1