• 0 Posts
  • 6 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • Yeah, I was sceptical of the 1993 + 20. Do you have a capture that shows this? This one has the 20th anniversary banner but Apple doesn’t appear at all in that capture for 2020. I think these pages have changed over the course of the years. There may well be one as per the comic, but it’s not easy to find.



  • Morphit @feddit.uktolinuxmemes@lemmy.world•Repost.
    link
    fedilink
    arrow-up
    157
    arrow-down
    3
    ·
    edit-2
    4 days ago

    Doesn’t hold up today: https://freebsdfoundation.org/our-donors/donors/?donationType=individual&donationYear=2026

    2013: $5-$24 ? (assuming the comic image is 20 years after the foundation was started in 1993)
    2018: $1000-$4999
    2019: $1000-$4999
    2020: $250-$499
    2021: $1000-$4999
    2022: $1000-$4999
    2023: $100-$249
    2024: $500-$999
    2025: $200-$499
    2026: $1000-$4999

    I expected better, internet.

    Though even at $5k it’d be 38 parts per billion of their annual profit.

    Edit: As per replies this was from long ago (2013?) and is no longer on the FreeBSD site.
    Edit2: The most recent Wayback Machine capture was 2020 when Apple gave $0
    Edit3: Looks like other captures are there also and 2020 was an anomaly.
    Edit4: The amounts per year change in Wayback captures so the OP image may have been true at some point, but was not the final total for any one year. Maybe it’s some employee matching program that adds many small amounts over the course of a year.


  • You’re absolutely right. Here’s a slopcoded rewrite that does run a ton faster and doesn’t use git last-modified (which is labelled experimental but was kind of the original inspiration). I even got it to do relative filenames instead of the full path to the root of the repo which I had been wanting.

    cat .local/bin/git-slopblame

    #!/usr/bin/env bash
    # Show when <paths> were last committed, with date, author and commit title
    
    paths=("$@")
    if ((${#paths[@]} == 0)); then
        paths=(".")
    fi
    
    git log --format='@@@%h%x09%as%x09%an%x09%s' --relative --name-only -- "${paths[@]}" |
    awk '/^@@@/ {
            commit = substr($0, 4)
            next
        } length($0) && !seen[$0]++ {
            print commit "\t" $0
        }' |
    while IFS=$'\t' read -r hash date author subject file; do
        printf '%s:\033[34m%s\033[0m \033[32m%s\033[0m \033[34m%s:\033[0m%s\n' \
            "$hash" "$date" "$author" "$file" "$subject"
    done
    

  • cat .local/bin/git-lastblame

    #!/usr/bin/env bash
    #Show when <paths> were last committed, with date, author and commit title
    
    paths=("$@")
    if ((${#paths[@]} == 0)); then
        paths=(".")
    fi
    
    while IFS=$'\t' read -r hash file; do
      git log -n1 --pretty=format:"%h:%Cblue%as%Creset %Cgreen%an%Creset %Cblue$file:%Creset%s" --no-patch $hash
    done < <(git last-modified ${paths[@]})
    

    By default it will show all the files in your current directory. I like it to get an idea of of the lifecycle of one area of a project. Files will be listed ordered by most recent commit. Note that it’s not very fast so it’ll probably choke on big repos. Alias as g lb - press few key.