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/)HY
hydroptic @sopuli.xyz
Posts 160
Comments 1.7K

What is your favorite dinosaur?

After a certain age people stop asking you what your favorite dinosaur is, and I think that's sad.

My current one's the Anchiornis, because it's in the same clade as birds so it's in their family tree, and it really looks like a prototype of a bird. It had 4 wings for example, but it already looked very birb-y:

!

(Figured I'd just turn an earlier comment into an actual post because why not)

29
MargotRobbie
  • After a certain age people stop asking you what your favorite dinosaur is, and I think that's sad.

    My current one's the Anchiornis, because it's in the same clade as birds so it's in their family tree, and it really looks like a prototype of a bird. It had 4 wings for example, but it already looked really birb-y:

    Everybody reading the comments needs to let us know about your favorite dinosaur.

  • MargotRobbie
  • Well, "clear" and clear; if you read their comments they very much do make it sound like they're Robbie. I mean, it's not that I believe any of it 100% and I think it's probably just a schtick, but an AMA with that particular person would probably be fun in itself anyhow regardless of who's "driving" that account. Guess we'll see if/when this thing via her agent does end up happening? 😀

  • MargotRobbie
  • Oh hah, that's amazing.

    Hmm, one question that I can think of right off the bat is "If you weren't an actress, what would you want to do?".

    Oh, and "What is your favorite dinosaur?" of course!

  • AMA requests @lemmy.world hydroptic @sopuli.xyz

    MargotRobbie

    I mean @[email protected] / @[email protected].

    It's somehow wonderfully dadaistic to not know whether that's just a very dedicated schtick or if that really is Robbie, so an AMA would be fun in either case.

    … is there an AMA community, though? Like an actually moderated one?

    12
    First bash script, is there anyway to improve the execution speed ?
  • Ah sorry lol, I happily assumed you're just a bit unfamiliar with bash and not programming in general – you're definitely doing a great job if that's the case, shell scripting isn't exactly easy in a lot of ways like you discovered with how spaces in file names can bork things sometimes. But yeah, 11min isn't terrible at all and if you don't have to run that script very often there's not much point in spending time optimizing it.

    Just for future reference in case you end up scripting again, what I was thinking of was instead of processing every filename in $folder_name/**/* one at a time, you could do it in parallel with some creative rewriting, meaning you'd possibly be able to take advantage of having a multicore CPU – but whether it'll actually be faster depends on a lot of things so it'd basically just have to be tried and timed.

    Something along these lines, totally untested, the script can be further optimized and might not even run as-is, but should give you the idea. Starting off with the script, I modified it to just take a single file name as an argument:

    #!/bin/bash
    # exif_date_filter.sh
    
    if [ $# -eq 0 ]; then
        echo "Usage: $0 <filename>"
        exit 1
    fi
    
    # Concatenate all arguments into one string for the filename, so calling "./script.sh /path/with spaces.jpg" should work without quoting
    filename="$*"
    
    start_range=20170101
    end_range=20201230
    
    DateTimeOriginal=$(/usr/bin/vendor_perl/exiftool -m -d '%Y%m%d' -T -DateTimeOriginal "$filename")
    CreateDate=$(/usr/bin/vendor_perl/exiftool -m -d '%Y%m%d' -T -CreateDate "$filename")
    
    if [[ "$DateTimeOriginal" =~ ^[0-9]+$ ]] || [[ "$CreateDate" =~ ^[0-9]+$ ]]; then
        if  ([ "$DateTimeOriginal" -gt $start_range ] && [ "$DateTimeOriginal" -lt $end_range ]) || 
            ([ "$CreateDate" -gt $start_range ] && [ "$CreateDate" -lt $end_range ]); then
            /usr/bin/vendor_perl/exiftool -api QuickTimeUTC -d %Y/%B '-directory<$DateTimeOriginal/' '-directory<$CreateDate/' '-FileName=%f%-c.%e' "$filename"
            echo "Found a value"
            echo "Okay its $(tput setab 22)DateTimeOriginal$(tput sgr0)"
        else
            echo "FINISH YOUR SYNTAX !!"
        fi
    fi
    

    So it's called as ./exif_date_filter.sh /some/image.jpg

    Then, assuming you have GNU parallel installed (should be easy to find on just about every distro), you could do… uh, I think just eg. find /home/user/Pictures -type f | parallel ./exif_date_filter.sh to automagically run as many "copies" of that script at the same time as you have CPU cores

  • It's just a difference of opinion!

    8

    me🤷irl

    cross-posted from: https://sopuli.xyz/post/15196192

    > Seriously, zero clue.

    1
    me_irl @lemmy.ml hydroptic @sopuli.xyz

    me🤷irl

    Seriously, zero clue.

    0
    www.businessinsider.com Marc Andreessen thinks comedy is basically dead. He believes AI could save it.

    Marc Andreessen, the cofounder of Andreessen Horowitz, said that AI could be the revival that comedy needs.

    Marc Andreessen thinks comedy is basically dead. He believes AI could save it.

    I'm not sure if I should be laughing or crying. Probably both.

    27

    Average Tuesday on NCD

    12
    me_irl @lemmy.ml hydroptic @sopuli.xyz

    me🚬irl

    4

    Ooh big yawn

    4

    Sinimusta siirtymä

    Tämän on kyllä huomannut omista kokkaretutuista; yksi lähti jo sille linjalle, että sukupuolivähemmistöjen pelkkä olemassaolo on "kärjistävää" ja että lihaa syövää valkoinen hetero on kirjaimellisesti vainotuin "vähemmistö" – ihan epäironisesti. Toivoipa jo että kaikki vähemmistöt yksinkertaisesti katoaisivat jotenkin taianomaisesti, ei ilmeisesti kehdannut vielä julkisesti unelmoida mistään Endlösungista.

    Persututtuja on nykyään enää todella vähän, ei ole puolin eikä toisin ollut kauheasti intoa olla tekemisissä enää toviin, tämmönen sateenkaareva hörhö kun olen ja heillä mielipiteet olleet jo tovin sitä luokkaa että mulla ei tartteisi olla ihmisoikeuksia lainkaan

    8

    I don't remember this Disney princess

    0

    "If blaming women didn't fix your life, you just didn't blame them hard enough"

    20

    Can't argue with that logic

    Water mountains are my new favorite concept

    107

    This is unironically fine

    39

    Humans didn't invent agriculture

    111

    himbs thirsty

    8

    Thnk of the chldren

    0
    Political Memes @lemmy.world hydroptic @sopuli.xyz

    Unlike the image, I definitely encourage people to do this

    96

    I fuckin' knew it!

    6

    How can they not see this is what's coming‽

    Anybody know who the original author is?

    Author: https://www.instagram.com/adamtots/

    61