=== ANCHOR POEM ===
══════════════════════════════════════════════════════════─────────────────────────
 @user-570 
 
 that's not actually my script, here's the real one:#!/bin/bash
 
 alias cd="cd-improved"
 
 function cd-improved(){
 
     if [ "${1}" = "..." ] ; then
         builtin cd .. && builtin cd ..
     elif [ "${1}" = "...." ] ; then
         builtin cd .. && builtin cd .. && builtin cd ..
     elif [ "${1}" = "....." ] ; then
         builtin cd .. && builtin cd .. && builtin cd ..
         && builtin cd ..
 
     elif [ -d "./${1}" ] ; then
         local target_dir="./${1}"
 
     elif [ "${1}" = "cdir" ] ; then
         local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"
         echo ${target_dir}
 
 
     else
         local target_dir="${1}"
     fi
 
     if [ ! "${2}" = '--no-ls' ] ; then
         builtin cd "${target_dir}" && ls -v --color=auto
     else
         builtin cd "${target_dir}"
     fi
 }
                                                           ┌───────────┐
 similar                        chronologicaldifferent════════════════════════════════════════════════════════════────────────────────────┘

=== SIMILARITY RANKED ===

--- #1 fediverse/3588 ---
════════════════════════════════════════════════════════───────────────────────────
 ┌─────────────────────────────┐
 │ CW: re: computers-mentioned │
 └─────────────────────────────┘


 #!/bin/bash
 set -euo pipefail
 
 CHAPEL_DIR="/home/ritz/programming/chapel"
 COMPILER_DIR="${CHAPEL_DIR}/language-files/files/chapel-2.1.0"
 PROJECT_DIR="${CHAPEL_DIR}/projects/practice"
 SOURCE_DIR="${PROJECT_DIR}/src"
 
 clear
 
 cd "${COMPILER_DIR}" > /dev/null
    export CHPL_LLVM=system
    source "${COMPILER_DIR}/util/setchplenv.bash" > /dev/null
 cd - > /dev/null
 
 cd "${PROJECT_DIR}" > /dev/null
    echo "compiling..."
    chpl "${SOURCE_DIR}/main.chpl"
    clear
    ./main
 cd - > /dev/null
 
 
 you should update the directories at the top yourself, of course. And give it
 a cursory glance to make sure it works on your setup.
                                                           ┌───────────┐
 similar                        chronologicaldifferent══════════════════════════════════════════════════════════──────────────────────────┘

--- #2 fediverse/3587 ---
════════════════════════════════════════════════════════───────────────────────────
 ┌─────────────────────────────┐
 │ CW: re: computers-mentioned │
 └─────────────────────────────┘


 I realized that script was bugged, so... here's a better one. Plus a fun run
 script too!#!/bin/bash
 set -euo pipefail
 
 DIR="/home/ritz/programming/chapel/language-files"
 VER="2.1.0"
 FIL="chapel-${VER}.tar.gz"
 URL="https://github.com/chapel-lang/chapel/releases/download/${VER}/${FIL}"
 NUM_THREADS="16"
 
 touch     ${DIR}/files
 rm    -dr ${DIR}/files
 mkdir -p  ${DIR}/files
 
 wget --output-document ${DIR}/${FIL} ${URL}
 
 tar xf ${FIL} --directory=${DIR}/files
 rm ${FIL}
 
 cd ${DIR}/files/chapel-${VER}
 
    export CHPL_LLVM=system
    source ${DIR}/files/chapel-${VER}/util/setchplenv.bash
 
    make -j${NUM_THREADS}
 
 
    echo "now testing, to validate LLVM configuration as suggested in the docs:"
    chpl "./examples/hello3-datapar.chpl"
    ./hello3-datapar
 
    echo "the chapel programming language is now fully installed! Have fun!"
 
 cd -
                                                           ┌───────────┐
 similar                        chronologicaldifferent══════════════════════════════════════════════════════════──────────────────────────┘

--- #3 fediverse/582 ---
═════════════════════════════════════════════──────────────────────────────────────
 @user-431 
 
 I made an alias that overwrites cd so I don't have to do this. The important
 line is line 27, you could probably accomplish something similar like this:
 
 alias cd="cd ${1} && ls -v --color=auto"
 
 I also set it up so I can change more than one directory up using ... or ....
 or .....
 
 also I have a few shortcut scripts, cdir and qcd. cdir creates a quick way to
 drop a bookmark wherever I'd like, while qcd can make permanent bookmarks.
 Also qcd makes it so whenever I open a new terminal it opens to the last
 directory I was in, which is nice if you need a new terminal to do something
 in the current folder and you don't want to have to walk alllllllll the way
 back.
A BASH script that overwrites the built in "change directory" command to auto magically list the contents of the directory you've moved into after moving.  here's the content of the script:  #!/bin/bash  alias cd="cd-improved"  function cd-improved(){      if [ "${1}" = "..." ] ; then         builtin cd .. && builtin cd ..     elif [ "${1}" = "...." ] ; then         builtin cd .. && builtin cd .. && builtin cd ..     elif [ "${1}" = "....." ] ; then         builtin cd .. && builtin cd .. && builtin cd .. && builtin cd ..          elif [ -d "./${1}" ] ; then         local target_dir="./${1}"      elif [ "${1}" = "cdir" ] ; then         local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"         echo ${target_dir}       else         local target_dir="${1}"     fi      if [ ! "${2}" = '--no-ls' ] ; then         builtin cd "${target_dir}" && ls -v --color=auto     else         builtin cd "${target_dir}"     fi          # if the qcd function is defined     if declare qcd > /dev/null; then         quick_cd -d DEFAULT         quick_cd -a DEFAULT     fi }
                                                           ┌───────────┐
 similar                        chronologicaldifferent═══════════════════════════════════════════════─────────────────────────────────────┘

--- #4 fediverse/5851 ---
══════════════════════════════════════════════════════════════════════════─────────
 @user-1074 
 
 I realized there might be a lot of configuration required. Oh well here ya go:
 
 https://pastebin.com/x40VXQnH
 
 https://pastebin.com/H5C4umWq
 
 https://pastebin.com/dgDeS5Xu
 
 https://pastebin.com/JCLrwF1z
 
 https://pastebin.com/As6diaYc
 
 https://pastebin.com/0vwzJUW4
 
 https://pastebin.com/jPKeV7D1
 
 dependencies are dkjson.lua (included), bash, lua, luahpdf, and libharu.
 
 throw that all in a directory and point an AI tool at it. Or just do it
 yourself and waste an hour or three on something a computer can do in 2
 minutes.
 
 good luck it looks like this when it's done:
picture of a document with algorithmically generated art picture of a document with algorithmically generated art picture of a document with algorithmically generated art picture of a document with algorithmically generated art
                                                           ────────┐
 similar                        chronological                        different════════════════════════════════════════════════════════════════════════════────────┘

--- #5 fediverse/3751 ---
════════════════════════════════════════════════════════───────────────────────────
 I wonder if anyone would pay me to write bash scripts for them? is there a
 role that's just... bash scripter? is that what sysadmins do all day? or is
 that more automation? and what the heck is a dev op? do they write bash
 scripts?
 
 or maybe writing bash scripts is the "fun" part of linux, and nobody would pay
 anyone else to do it because they want to do it themselves
                                                           ┌───────────┐
 similar                        chronologicaldifferent══════════════════════════════════════════════════════════──────────────────────────┘

--- #6 fediverse/5950 ---
══════════════════════════════════════════════════════════════════════════─────────
 @user-138 
 
 wao I'm a cool kid _^
 
 Hmmmm I googled "Network: file exists" and got this link:
 https://access.redhat.com/solutions/1340713
 
 my understanding of that is that maybe you're creating static routes, and for
 some reason you're trying to create one that already exists? Maybe there's
 something in your .bashrc config, if the file appears when you open a
 terminal, or perhaps if it appears randomly then maybe there's a service or
 something that's doing it.
 
 Did you say it stopped when you swapped sim cards? ... on your phone? that's
 bizzare... Maybe you were trying to create an ip route (whatever that is) that
 was pointing to the same ip address as your phone? and when you swapped sims
 it changed the ip address? If it appears again, maybe try setting static IP
 addresses for both the phone and the computer in your router settings and see
 if that fixes it. Though if you've ever seen the error while out and about at
 like, a coffee shop or library or whatever, then that wouldn't apply since the
 router is only for home base...
                                                           ────────┐
 similar                        chronological                        different════════════════════════════════════════════════════════════════════════════────────┘

--- #7 fediverse/2674 ---
══════════════════════════════════════════════════════─────────────────────────────
 ┌────────────────────────────────────────────────────────────────────┐
 │ CW: factually-untrue,-that-never-happened.-this-is-just-gesturing. │
 └────────────────────────────────────────────────────────────────────┘


 the kind of friendship where you SSH into each other's systems and leave notes
 for one another.
 
 as soon as you find one you message the person who left it like "yoooo only
 just found this lol" and they're like oooo yeah did you see the bash script I
 wrote in that directory "yeah totally I used it on one of my video files just
 now - cool filter!"
 
 ahhhh reminds me of all the times hackers have hacked my permanently insecure
 system and left me friendly messages like "hey I'm on your side" or "how's
 life, friend? I hope it's going well." or "never forget; you are worth all the
 fear" y'know cute things like that
 
 oh. right. because leaving vulnerabilities like that can lead to threat actors
 affecting your stuff. how lame.
                                                           ┌───────────┐
 similar                        chronologicaldifferent════════════════════════════════════════════════════════────────────────────────────┘

--- #8 fediverse/1762 ---
═════════════════════════════════════════════════════──────────────────────────────
 This was the first bash script I ever wrote.
 
 It's been updated a little, it was a bash alias first, but this is what it
 looks like now.
 
 Kinda shows what kinds of problems I needed to solve most.
A bash script that plays a random episode of Adventure Time from a terminal.
                                                           ┌───────────┐
 similar                        chronologicaldifferent═══════════════════════════════════════════════════════─────────────────────────────┘

--- #9 fediverse/928 ---
═══════════════════════════════════════════════────────────────────────────────────
 @user-226 
 
 especially if you teach them how to use the terminal.
 
 the amount of problems I could solve increased exponentially once I learned
 basic python and BASH.
 
 I love using "tldr", which is a summarizer for man pages. You can use it to
 store custom notes (and import some from the community) which show you how to
 complete common tasks. It's so nice when you can see the options laid out in
 use right there for you whenever you type "tldr " - I personally use
 "tealdeer" which is a tldr browser written in Rust. It's pretty nice because
 you can write a note for yourself every time you solve a particular problem,
 and then if you ever need to do it again it's there for you, easy to access.
 
 of course, if your problem isn't listed, that's okay. That's what the man
 pages are for. As long as you teach them how to search with \/ they can find
 anything. Especially the \/-f[space] trick, to search for the -f flag for
 example.
 
 some organizers won't need the terminal, some will. if they pay attention,
 great!
                                                           ┌───────────┐
 similar                        chronologicaldifferent═════════════════════════════════════════════════───────────────────────────────────┘

--- #10 fediverse/3162 ---
═══════════════════════════════════════════════════════────────────────────────────
 I wrote a script which scrapes every issue of Nintendo Power from a neat and
 cool archive.
 
 please don't use it all at once#!/bin/bash
 
 set -euo pipefail
 
 sleep_duration=5
 DIR="/home/ritz/documents/nintendo-power"
 touch "${DIR}/download-bookmark"
 bookmark=$(cat ${DIR}/download-bookmark)
 
 for i in $(seq ${bookmark} 285);
 do
    echo "sleeping before downloading number ${i}"
    sleep ${sleep_duration}
 
    formatted_number=$(printf "%03d" ${i})
    wget "https://myrient.erista.me/files/Miscellaneous/Nintendo Power Issues
    1-285/Nintendo Power Issue ${formatted_number}.cbr"
    rm           ${DIR}/download-bookmark
    touch        ${DIR}/download-bookmark
    echo ${i} >> ${DIR}/download-bookmark
 done
A short 20 line script which downloads every issue of Nintendo Power.
                                                           ┌───────────┐
 similar                        chronologicaldifferent═════════════════════════════════════════════════════════───────────────────────────┘

--- #11 fediverse/6345 ---
═════════════════════════════════════════════════════════════════════════════──────
 anytime I want to do something new on my computer, I write a bash script.
 
 if I forgot how to do the thing, I spend time meandering about my
 file-directory-system. If I don't find it, that's okay, because all I have to
 do is keep looking until I stumble upon it.
 
 kinda makes me wish I had an LLM who managed the operating system and named
 files with long-and-descriptive titles while taking in as context the general
 eternal prompt stored in ~/.claude.md or wherever
 
 --> /home/ritz/programs/cloud-code/
                                                           ─────┐
 similar                        chronological                        different═══════════════════════════════════════════════════════════════════════════════─────┘

--- #12 fediverse/4596 ---
═════════════════════════════════════════════════════════════──────────────────────
 @user-1707 
 
 hey, I'm working on a project. Might need some python, I tend to prefer Lua
 but it's pretty similar. It uses fediverse software and cheap hardware, think
 raspberry pi's except risc-v
 
 also it might use distributed local LLMs not to generate text, that's garbo
 and lame and stupid. Instead it uses them to transform text, maybe even
 translate text, into a more summarized form. Intentionally losing data, like a
 jpeg compression but for text.
 
 Might need some python for that. To glue it all together. The "distributed"
 part is a whitelist, so we'd need to write that too. Various small little
 utilities like that for connectivity.
 
 oh also there's a one-way ethernet cable that connects two of the boards so
 we'd need to store some information (easy) and send some UDP packets (hard)
 
 anyway it's pretty neat, lmk if you want my contact details and I can tell you
 about it. I might even be able to pay you.
 
 (everything open source, no telemetry, no backdoors, everything private is
 encrypted, etc etc)
                                                           ┌───────────┐
 similar                        chronologicaldifferent═══════════════════════════════════════════════════════════════─────────────────────┘

--- #13 fediverse/2097 ---
═════════════════════════════════════════════════════──────────────────────────────
 If you're writing a bash script, you should never hard-code file locations.
 Instead, put them in a variable at the top of your script, so they're easy to
 find when people need to configure your script or move files around.
 
 It's like a config file built INTO the script itself. Just change the
 variables, they're at the top with comments.
                                                           ┌───────────┐
 similar                        chronologicaldifferent═══════════════════════════════════════════════════════─────────────────────────────┘

--- #14 fediverse/2066 ---
═════════════════════════════════════════════════════──────────────────────────────
 @user-1159 
 
 AKA giving a puppy murder-bot a narrative that it executes as if it was a
 puppy-person engaging with a loosely interpreted sequence of events as
 described by the continually updating logs provided by the image transcription
 camera device. Refererencing of course a memory bank, which may-or-may-not be
 in read-only-memory. It doesn't know, of course, how could an LLM tell you how
 it shows text on the screen (like, through a website, through the terminal,
 through a text message, through discord, through Telegram, through
 text-to-voice transcription applications pretending to be your mom, etc)
 
 errrr I mean look how cute he is! He loves you, yes he does, such a good
 person yes you are, oh? me? I'M A GOOD BOY? NO WAY that's the best thing I've
 ever heard! Wow! I never want to leave your side, please don't go to work!
 Look how sad I am, don't you think you should quit and move to the forest
 where I can be charged by solar panels and keep the countryside clear of
 ravenous ducks and pigeons 4you?
                                                           ┌───────────┐
 similar                        chronologicaldifferent═══════════════════════════════════════════════════════─────────────────────────────┘

--- #15 fediverse/5168 ---
═══════════════════════════════════════════════════════════════════────────────────
 this is one of the first scripts I wrote
 
 I can't believe I put the --no-ls AFTER the argument, ha, what a noob.
 
 ah well if it works it works and I can't refactor now because I built it into
 random scripts and I'd be fixing errors all the time.
script 1:  #!/bin/bash  # sort by filetype would be nice  alias cd="cd-improved"  function cd-improved(){      if [ "${1}" = "..." ] ; then         builtin cd .. && builtin cd ..     elif [ "${1}" = "...." ] ; then         builtin cd .. && builtin cd .. && builtin cd ..     elif [ "${1}" = "....." ] ; then         builtin cd .. && builtin cd .. && builtin cd .. && builtin cd ..          elif [ -d "./${1}" ] ; then         local target_dir="./${1}"      elif [ "${1}" = "cdir" ] ; then         local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"         echo ${target_dir}       else         local target_dir="${1}"     fi      if [ ! "${2}" = '--no-ls' ] ; then         builtin cd "${target_dir}" && ls -v --color=auto     else         builtin cd "${target_dir}"     fi          # if the qcd function is defined     if declare qcd > /dev/null; then         quick_cd -d DEFAULT         quick_cd -a DEFAULT     fi }    script 2:  #!/bin/bash  function cdir(){        if [ "$#" -eq 0 ]; then       pwd | cat >> ~/scripts/.cdir-target    elif [ "${1}" == "-l" ]; then       cat ~/scripts/.cdir-target    fi      }
                                                           ┌───────────┐
 similar                        chronologicaldifferent═════════════════════════════════════════════════════════════════════───────────────┘

--- #16 fediverse/4869 ---
════════════════════════════════════════════════════════════════───────────────────
 https://cryptpad.fr/pad/#/2/pad/view/FlA92SW5bVwGd+L89yV9U0I0SMNiGm3P0P3xS7DqYm
 A/embed/
                                                           ┌───────────┐
 similar                        chronologicaldifferent══════════════════════════════════════════════════════════════════──────────────────┘

--- #17 fediverse/4883 ---
═══════════════════════════════════════════════════════════════───────────────────┐
 what if you had several kindle-style paperwhite display screens. each            │
 connected to a raspberry pi that you used for compute tasks.                     │
 each of these displays would display a .png file of exactly the same             │
 proportions as the size of the device.                                           │
 then, I could SSH into your computer and run one single command                  │
 just one, stored on your computer, that you manually activate upon receiving a   │
 signal.                                                                          │
 like a virtual machine. do whatever you want with said signal, it's just a       │
 "thing" that tells you when to go.                                               │
 ... and run a function on a computer that performs a certain task.               │
 what task? oh right - I'd update the "today's news in cameron-ville" things      │
 every other day or so. It'd be just like, my status, my updates, here's what     │
 I'm thinking about, here's what I'm working on.                                  │
 you know, status updates. standups.                                              │
 boom, everyone knows what everyone's up to all of the time.                      │
 like documenting your day for scientific purposes. except on a little device     │
 that you can scroll through with a touch. and you had like 5 or more 10+ 1       │
                                                            ┌───────────┤
 similar                        chronologicaldifferent═════════════════════════════════════════════════════════════────────┴──────────┘

--- #18 fediverse/5398 ---
═════════════════════════════════════════════════════════════════════─────────────┐
 @user-192                                                                        │
 step one, doesn't it suck how we have to mount drives                            │
 part two, gee I sure wish networking was easier than building packets in C and   │
 pushing them over IP/TCP                                                         │
 section three, what if every user logged in to the same system of environments   │
 and kept all their data to themselves while contributing compute to various      │
 valuable processing processes like windfall calculations and population          │
 density administrations                                                          │
 book four, I wish I didn't have to type -p now when telling my computer          │
 goodnight, I should write a script that solves that in like 4 lines two of       │
 which are empty                                                                  │
 what about five, where they talk about sourcing functions?                       │
 I like to use recursion - calling my own functions inside of my own bash         │
 scripts                                                                          │
 "something something modularity" okay docker bro like I'd really package up      │
 anything that I'm working on                                                     │
 I mean really who really cares about how I set up the infrastructure of my       │
 system. it's gonna be unique to each person's memory of setting it up anyway,    │
 so why bother with "standardization"                                             │
                                                            ┌───────────┤
 similar                        chronologicaldifferent═══════════════════════════════════════════════════════════════════──┴──────────┘

--- #19 fediverse/3304 ---
═══════════════════════════════════════════════════════───────────────────────────┐
 there are distros that have all the functionality you might need built in        │
 why don't you try one of those, ritz?                                            │
 "no I've been working on this one too long, plus it's just how I like it"        │
 yes but your stuff is always breaking. wouldn't it be better to let someone      │
 else decide what you should and should not be able to run?                       │
 "that's not ideal, it removes agency"                                            │
 that you didn't want                                                             │
 "but with the removal of agency, you imply trust"                                │
 there's nothing wrong with trust                                                 │
 "yes but trust is built upon experience, not honor"                              │
 what's wrong with honor?                                                         │
 "nothing's wrong with honor but it's important to realize that you can't honor   │
 or trust someone that you don't know"                                            │
 why don't you know them                                                          │
 "... because... you haven't met yet?? are you... listening?"                     │
 do you often feel unheard?                                                       │
 "I... what? yeah now that you mention it"                                        │
 is this a part of your "refusal to interact with consensus reality" complex?     │
 "I don't have one of those, do I?"                                               │
 mmmm, I think you do.                                                            │
 "... no I don't"                                                                 │
 yes, I've seen it within you.                                                    │
 ... anyways~                                                                     │
                                                            ┌───────────┤
 similar                        chronologicaldifferent═════════════════════════════════════════════════════────────────────┴──────────┘

--- #20 fediverse/4587 ---
═════════════════════════════════════════════════════════════──────────────────────
 ┌──────────────────────┐
 │ CW: pol              │
 └──────────────────────┘


 Listen, like, hear me out, but there's this great movie called Threads (1984)
 and I'm not telling you to pirate it because that's illegal but I'm just
 sharing the torrent here in case you wanted to verify that the version you
 legally own is the same one that I own
 
 [link removed at the request of [redacted]]
 
 okay thanks for hearing me out, that was a tough 2.5 hours wasn't it
 
 gee sure glad we're not handing the keys to our nuclear arsenal to someone
 like me
 
 that'd be quite a decision
 
 this other fella seems like a great guy to entrust with our destruction
 
 I mean, yeah, why not, why wouldn't it be someone like him? we have so many
 options but somehow the transgender drag queens don't strike me as the type to
 initiate thermonuclear war and destroy all life on azeroth
 
 ........ so yeah it's gotta be the other guy. sorry pals, I know you really
 wanted your time in the limelight, but hear me out this other fella's
 insistent on blowing up the world, sooo whatcha gonna do /shrug not my circus
 monke
 
 ¯_(ツ)_/¯
                                                           ┌───────────┐
 similar                        chronologicaldifferent═══════════════════════════════════════════════════════════════─────────────────────┘