=== ANCHOR POEM ===
═══════════════════════════════════════════════════════════════════────────────────
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.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════───────────────┘
=== SIMILARITY RANKED ===
--- #1 fediverse/2291 ---
══════════════════════════════════════════════════════─────────────────────────────
you sly dogs, you got me posting again.
unrelated, but I think this is the first script I ever wrote!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #2 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.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #3 fediverse/1694 ---
════════════════════════════════════════════════════───────────────────────────────
would anyone be interested in a Bash+Lua script that takes your Mastodon
archive and turns it into a folder full of .txt files?
I also made a script that spits out a random one on your terminal, if you want
that
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #4 fediverse/1246 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-883
hehe if I don't understand how it works it's difficult for me to use things.
My Linux friends get so exasperated with me because I'm like "cool script
gimme like 2 days to figure it out" and they're like "bro just use these
flags" and I'm like "no"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #5 fediverse/2459 ---
══════════════════════════════════════════════════════─────────────────────────────
this is the simplest implementation of scalable anarchism I could think of.
tell me how it's flawed so I can improve it before I need it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #6 fediverse/2041 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-1049
I haven't heard of that but I'll look into it! Honestly I'm more likely to
write my own script, it shouldn't be too hard just altering the /etc/hosts
file and then changing it back in ~15 minutes with a cron-job, as Nikky says
down below. I like things that I make myself because then if it breaks I know
who to blame! And who to go to to fix it. >: )
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #7 fediverse/4259 ---
═══════════════════════════════════════════════════════════────────────────────────
source code should be like a story
"here's why we did what we did with our architecture"
and as it's being written, it may be altered in many different places at once
- git style.
parts of it could rhyme,
if they wanted to show parts that were really difficult but easy to summarize
because it's mostly just a lot of boring work y'know like writing getters and
setters and doing the testing pre-deploy environments
,,, they could selectionize
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #8 fediverse/1810 ---
═════════════════════════════════════════════════════──────────────────────────────
some people hear words like "datastructures" and "object-oriented programming"
and think they're made up terms that don't mean anything important.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #9 messages/111 ---
═════════════════════════════════════════════──────────────────────────────────────
When someone remakes content into a different expression like a remake or
reboot or whatever it gives a different message in its meaning - some
circumstances and characters can apply for more than one message I'm it's
meaning
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #10 fediverse/6437 ---
══════════════════════════════════════════════════════════════════════════════─────
if I was writing a programming language, I'd name it C just to fuck with people
(great, now others can decide how it's known)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #11 messages/929 ---
════════════════════════════════════════════════════════════════════════───────────
{[booooo that writing stinks, the writers of the first few lines were better]}
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #12 fediverse/1723 ---
════════════════════════════════════════════════════───────────────────────────────
@user-1037
Lua with 0 based indexing would be the perfect language (okay maybe LuaJIT)
(i try to hurt as few people as I can as little as I can but it's impossible
to not hurt anyone)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #13 fediverse/5663 ---
═══════════════════════════════════════════════════════════════════════────────────
I'm going to write some lua code that doesn't do anything useful and which I
don't share with anyone
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #14 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 │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #15 fediverse/2873 ---
══════════════════════════════════════════════════════─────────────────────────────
┌────────────────────────────┐
│ CW: re: unsolicited advice │
└────────────────────────────┘
@user-883 @user-192
I don't update my kernel more than like, once every few months, so maybe that
would be something to look into! how scriptable is it?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #16 messages/264 ---
════════════════════════════════════════════════───────────────────────────────────
Don't write self documenting code! Force people to read the documentation so
they know how to use it
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #17 fediverse/3680 ---
════════════════════════════════════════════════════════───────────────────────────
it's probably a good idea to write pseudocode, then real code, instead of
starting with real code, and bugfixing something incomplete and more difficult
to reason with.
unless you write real code easier than pseudocode. idk do what works for you.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #18 fediverse/2113 ---
═════════════════════════════════════════════════════──────────────────────────────
this is what the crypto news looks like rn, if you know anyone who's into that
kinda thing... wait, why not? me either, huh
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #19 fediverse/2811 ---
══════════════════════════════════════════════════════─────────────────────────────
this is the world I want to live in and I'm not even kidding
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #20 fediverse/1225 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-883
don't worry I can sift through junk. I'll write my own using yours as a
reference to debug why mine isn't working. "oh probably because I didn't do
this part here"
also, bad news. Guess I'm doing C programming. What should I make? I'm
thinking Tic Tac Toe or maybe a really basic Asteroids or something
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
|