=== ANCHOR POEM ===
═════════════════════════════════════════════════════──────────────────────────────
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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
=== SIMILARITY RANKED ===
--- #1 fediverse/5998 ---
════════════════════════════════════════════════════════════════════════════───────
I should conjure x11 from source. I bet they have a lot of useful utilitudes
that I can configure. I wonder if Gentoo can do it for me? nahhhhh I'll just
write my own script, it'll only take me like a couple hours per piece of
software
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #2 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.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #3 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 │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #4 fediverse/5113 ---
════════════════════════════════════════════════════════════════════───────────────
any game with the ability to interact with the simulation through command line
arguments is a game that is scriptable and infinitely expandable.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #5 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #6 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.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #7 fediverse/2638 ---
═══════════════════════════════════════════════════════────────────────────────────
I really do believe that you can write any computer program you'd like with a
combination of Lua, Bash, and C.
Bash to start the program and enable updates / configuration, Lua to handle
the scripting and ordering of events, and C (or Rust) to execute performance
intensive sections. (often in their own threads)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #8 fediverse/1567 ---
══════════════════════════════════════════════════─────────────────────────────────
I helped make a script that saves the last directory you CD'd to in every
shell / terminal. It helps because when I open a new terminal I'm already
where I was working last, which means I'm less likely to forget what I was
doing.
However, it does make my home directory a bit more messy, as I no longer open
my computer to that place.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════────────────────────────────────┘
--- #9 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #10 notes/environment-variables ---
═══════────────────────────────────────────────────────────────────────────────────
To edit environment variables:
~/.bashrc is for variables only accessible by the user.
/etc/profile is for variables accessible by all users.
/etc/environment is for variables accessible by anyone.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘══════───┴╧───────────────────────────────────────────────────────────────────────────┘
--- #11 fediverse/5850 ---
═══════════════════════════════════════════════════════════════════════════────────
@user-1074
if you'd like I can give you a lua script which will take your fediverse
archive and turn it into a pdf which you can edit or print or whatever. Might
be a fun diversion from posting. You can reply to yourself, add
clarifications, change some things, put things in a new light, add context,
etc... before you know it you'll have something printable. Could even pull out
your best stuff and make zines.
should require just a little configuration to suit your setup. That's part of
how I stay "productive" without posting all the time.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #12 fediverse/3907 ---
═══════════════════════════════════════════════════════════────────────────────────
kinda wanna make a linux distro that has all the capabilities of a GUI distro
and isn't so minimal (like screen recording, calculator, screenshot, wifi
manager, etc etc) but with i3 instead of a desktop.
they could literally just be symlinks (shortcuts) to scripts that are in your
/usr/bin or whatever directory
seriously it's not like there's THAT many ways to use ffmpeg, why not just
write a script for them? that's what you're going to do when you use it for
the first time, anyway, so...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #13 fediverse/3592 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1570
[meme of Mr Incredible from the Incredibles pointing at a table]
LINUX IS LINUX.
(anything that works on Linux can theoretically be made to work on your
toaster, if it also runs Linux!)
This is very cool, and if I understand correctly it means that any Godot games
could theoretically be played on these NEAT as HECK little devices, yeah? So
cool!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #14 fediverse/2622 ---
═══════════════════════════════════════════════════════────────────────────────────
what kind of linux user are you if you don't even like reading terminal
output? it's USEFUL and INTERESTING information!
WHY ELSE WOULD THE PROGRAMMER OUTPUT IT???
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #15 messages/264 ---
═════════════════════════════════════════════════──────────────────────────────────
Don't write self documenting code! Force people to read the documentation so
they know how to use it
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #16 fediverse/4505 ---
═════════════════════════════════════════════════════════════──────────────────────
does anyone know a linux utility which will allow me to "snip" part of the
screen a'la flameshot, automatically spit the image into a text recognition
system (ran locally) and place the extracted text into my clipboard?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #17 fediverse/3577 ---
═════════════════════════════════════════════════════════──────────────────────────
┌─────────────────────────┐
│ CW: computers-mentioned │
└─────────────────────────┘
I love writing installation scripts like this!
If you want to install something on Linux but you have difficulty, talk to me
and I'll write you a script like this. I might even make it fancier.
This one installs a programming language that is useful for parallel computing
across multiple clusters of computers which could be useful if you want to
leverage multiple CPUs and GPUs with ease to compute tasks which are far
beyond a normal computer.
https://chapel-lang.org/download.html
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #18 fediverse/6212 ---
══════════════════════════════════════════════════════════════════════════════─────
┌──────────────────────┐
│ CW: ai-mentioned │
└──────────────────────┘
If you want an LLM to generate ASCII art, don't try through text. First
generate an SVG and then use a separate program which approximates SVGs with
ascii characters.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #19 messages/181 ---
═══════════════════════════════════════════════────────────────────────────────────
I know you don't want to hear this, but there is a chance that there will come
a time where your life depends on your ability to debug a computer without the
internet. To set up an SSH server. To install Linux. To program in C. To do
something else that I'm not prepared for... If StackOverflow didn't exist
because network connectivity has been lost, could you remember syntax? Maybe
it's a good idea to set up a local LLM that can answer basic questions about
technology. Maybe it's a good idea to set up on your parents computer, just in
case you have to hide out there for a couple months. Maybe it's a good idea to
download wikipedia, just in case.
If I need to use a mac, I'm screwed
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #20 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 │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #21 fediverse/2879 ---
═══════════════════════════════════════════════════════────────────────────────────
┌────────────────────────┐
│ CW: re: tech info-dump │
└────────────────────────┘
@user-1370
I love this a lot! I want to put function pointers in a "matrix architecture
array" and make them point to different functions at different points in the
program. I bet you could even point them at each other, so like if M and Y
then point at N, A, Y or something.
this is really cool I like stuff like this tomorrow I'll take pictures of
something similar I'm working on! I abandoned it tho hehe anyway remind me if
I forget!!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #22 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #23 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #24 fediverse/181 ---
═══════════════════════════════════════════────────────────────────────────────────
┌──────────────────────────────────────────────────────┐
│ CW: re: Earnest and constructive analysis of ChatGPT │
└──────────────────────────────────────────────────────┘
@user-95 you might be interested in this:
https://ollama.ai/
nothing beats having a zillion servers to run an LLM on, though.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #25 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #26 fediverse/4176 ---
════════════════════════════════════════════════════════════───────────────────────
I've always wondered what it would look like if I could view a random
fediverse post I made in the past
so I made a bash script which shows me (in addition to a few other sources of
stuff I've written)
here's the result - comment if you want me to share the script which did all
the processing
https://ritz-menardi.neocities.org/words/words
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #27 fediverse/5036 ---
════════════════════════════════════════════════════════════════════───────────────
give me syntax highlighting in a terminal based editor and that's all I need.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #28 fediverse/4512 ---
═════════════════════════════════════════════════════════════──────────────────────
@user-1687
I use dmenu, so I'm thinking I'll write a script and call it using dmenu. The
script will start by using flameshot to grab the snipped part of the screen
into the clipboard, and then I need to find an OCR engine (thanks for the
google-able term btw!) which can take clipboard contents as input, and output
text to the clipboard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #29 fediverse/4166 ---
════════════════════════════════════════════════════════════───────────────────────
if someone wrote to my terminal "wake up, Ritz" I would sure as heck do
anything that Morpheus told me to
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #30 fediverse/466 ---
══════════════════════════════════════════════─────────────────────────────────────
I love Linux. All I have to do is type "authserver" and "worldserver" and
wouldn't you know it suddenly a universe is created (with very constrained
rules) that anyone might inhabit should they desire to. It's not like I'm
perfect - oh wait I have a toot about that, gimme a sec
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #31 bluesky#27 ---
═════════════════════════════════════════════════════════════════════════════════──
you can have as many processes running on a computer as you please, just make
sure they're all named chrome.exe so the user doesn't suspect a thing.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════════─┘
--- #32 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #33 messages/1129 ---
═════════════════════════════════════════════════════════════════════════════════──
ai-stuff - this is how to program a society. (or software project) there are
lots of other implementations
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════════─┘
--- #34 fediverse/3123 ---
════════════════════════════════════════════════════════───────────────────────────
using linux requires constant maintenance and that's kind of unfair, actually.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #35 fediverse/4801 ---
═════════════════════════════════════════════════════════════════──────────────────
if you're got a large directory full of text files that you want to combine
into one single .txt or .pdf, let me know, I can hook you up with a mega file
so it's easier to search through or manage when archiving data or whatever the
heck else you wanna do with it
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #36 fediverse/4301 ---
════════════════════════════════════════════════════════════───────────────────────
@user-1655
maybe the user could tell their client what fields to expect and how to
present them (like, a field called "memes" would be presented as a picture in
this panel, a field called "rants" would be passed to a word-cloud function
that extracts the most common 6+ letter words so you can tell at a glance what
the rant is about, this other field could be for calendar invites (plain text
of course, but interpreted by the calendar program) etc)
plus, if it's encrypted with PGP keys by default, there'd be few security
concerns. Unless your friend got hacked, or you got hacked, but, well... make
sure everything's sandboxed and don't do any remote code execution and you're
good, right?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #37 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #38 fediverse/2120 ---
══════════════════════════════════════════════════════─────────────────────────────
sometimes I think performing my art was just an excuse to use Linux. At least,
some of my art.
But hey, I'm not complaining, it's awesome.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #39 fediverse/1034 ---
════════════════════════════════════════════════───────────────────────────────────
@user-192
be careful, recursion can cause stack overflows.
better to run function pointers from a loop. That way you can operate as long
as necessary. Just make sure you don't get in an infinite loop...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #40 fediverse/848 ---
═══════════════════════════════════════════════────────────────────────────────────
┌──────────────────────┐
│ CW: gentoo │
└──────────────────────┘
wrote this in an hour, used a local LLM to generate the regexes.
haven't tested it yet because I'm not on gentoo rn, so don't run it. which is
why I shared the code as an image.
if you really want the text of it then check out the visual description of the
image.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #41 fediverse/2510 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-1074
if I wanted to accomplish this goal, I would host a fediverse server on a
raspberry pi and post the link around the building (the owners will remove it
so you gotta keep posting them)
then, potlucks.
then, friendships.
then, organization.
be patient with them. people are slow to be constructive.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #42 fediverse/4855 ---
═════════════════════════════════════════════════════════════════──────────────────
"you should be acting like these people want to destroy you."me, to me
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #43 fediverse/1482 ---
═════════════════════════════════════════════════──────────────────────────────────
@user-192
I feel like SSH keys to log into every website should be a standard
or something similar
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #44 fediverse/5832 ---
═══════════════════════════════════════════════════════════════════════════────────
Linux is so cool, I hate it so much.
Linux is so cool, I love it to death.
Linux is so cool, I want to scream~
Linux is so cool, nothing works but dreams.
yearnyearnyearnyearnyearnyearn
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #45 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #46 fediverse/2922 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-192
now I want to re-implement strings as structs in C! I don't know why I never
thought of them that way.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #47 messages/511 ---
═════════════════════════════════════════════════════════──────────────────────────
That feeling when running a command on my laptop causes the fans to spin up on
my desktop...!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #48 fediverse/1614 ---
═════════════════════════════════════════════════════──────────────────────────────
wondering if anyone's ever made a computer that could only run programs
written in interpreted languages. Like, no binaries allowed. Would probably be
slower, but if my iphone is good enough for NASA to get to the moon then odds
are it's good enough for me.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #49 bluesky#12 ---
══════════════════════════════════════════════════════════════════─────────────────
alas, if only the command for deleting the contents of a directory and the
command to delete THE ENTIRE COMPUTER FROM EXISTENCE are off by a single .
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #50 fediverse_boost/6017 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ Linux admins when they have to use Windows: :/ │ ║
║ │ │ ║
║ │ Windows admins when they have to use Linux: :\ │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #51 fediverse/1233 ---
════════════════════════════════════════════════───────────────────────────────────
low key kinda wish someone would kidnap me and lock me in a room with nothing
but a c compiler and strict orders to only work on whatever I want
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #52 notes/jane-the-keyboarder ---
══════════════════════════════════════════════════════════════════════════─────────
"okay let's see, we need a new
CREATURE
and let's name it
TERRY
and let's give it a title:
.TITLE = "The Acrobat"
"
"cool, let me just go show my friends."
"hello friends, I have created a creature. It's name is Terrance."
wow yeah cool so anyway
"hm. let's see if we make him slightly more interesting..."
"okay now I've defined him as capable of monotony, maybe they'll see his strife
and relate"
TERRY.STRIVE += TERRY.REPETITION * global.misery / slaughter_count_victims
TERRY.STRIFE += global.war_percentage +
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════────────┘
--- #53 fediverse/1871 ---
══════════════════════════════════════════════════════─────────────────────────────
I think all software should have config files
or accept as many command line arguments as necessary to achieve all the
functionality of a config file without requiring a standardized setup
or accept a config file as a command line argument, to allow for multiple
different implementations
or whatever you can throw together in your spare time because software is
either open source or it hates you.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #54 fediverse_boost/5464 ---
◀─╔═════════════════════════════[BOOST]═══════════════════════════════───────────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ Instead of using butter with your garlic bread, you should switch to Linux. You can set up a virtual machine to try out various distros to see which one works best for your needs. │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧═════════════════════════════════════════════════════════───┴───────╝─▶
--- #55 fediverse/4119 ---
════════════════════════════════════════════════════════════───────────────────────
what if you wanted to build a project from source
but god saidCMake Error at CMakeLists.txt:
By not providing a "foo.cmake" in CMAKE_MODULE_PATH this project has asked
CMake to find a package configuration file provided by "bar", but CMake did
not find one.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #56 fediverse/1620 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-1037
I gotta say you're making a really good argument for OpenBSD... Hmmmm maybe
I'll look into it this week.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #57 fediverse/5949 ---
════════════════════════════════════════════════════════════════════════════───────
@user-138
I don't know what it does yet T.T
it's Lua, not C
what's the message? maybe I can help, I'm much better at bash than... actually
I'm not very good at bash, but only the cool kids are.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #58 messages/16 ---
═──────────────────────────────────────────────────────────────────────────────────
https://www.reddit.com/r/commandline/comments/na02wx/cute_terminal_animations/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘─────────┴┴───────────────────────────────────────────────────────────────────────────┘
--- #59 fediverse/1941 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-579
I've never actually used xbps-src, I usually just compile it using the same
tooling that the people who made the program use. If your project doesn't have
a make file then it's probably not ready for distribution yet. That's like,
the first thing I write! Though I don't use make, I just use BASH and chain
together compiler commands and whatnot
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #60 fediverse/4720 ---
════════════════════════════════════════════════════════════════───────────────────
@user-882
it's a security hole though
yeah... there ya go...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #61 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #62 fediverse/5179 ---
════════════════════════════════════════════════════════════════════───────────────
why don't corporations let you write code in whatever language you want? it's
trivial to run a compiler or interpreter inside of another program.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #63 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 │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════────────────────────┘
--- #64 fediverse/3668 ---
═════════════════════════════════════════════════════════──────────────────────────
setting up an SSH server is like a rite of passage for Linux administrators
(notice I didn't say users, you can't use linux, only administer it)
... I'm having trouble with my rites >.>
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #65 fediverse/3878 ---
═══════════════════════════════════════════════════════════────────────────────────
@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 │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #66 fediverse/5919 ---
════════════════════════════════════════════════════════════════════════════───────
"but... why?"
portable linux with buttons, great for pick-up-games or communication, can
throw several in them in a backpack if you want clustered cooperation, they
work as radios (if the signal reaches) and can transmit text (if you use a
radial-style keyboard)
[this is all just a pitch for... something, what, you want something? ha
you'll find no things with me, I know nothing of antifa or whatever]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #67 fediverse/701 ---
══════════════════════════════════════════════─────────────────────────────────────
┌──────────────────────┐
│ CW: computer-code │
└──────────────────────┘
totally useless unless you're, I dunno, building a bytecode interpreter or
something
https://craftinginterpreters.com/contents.html
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #68 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #69 fediverse/3686 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1573
I do, but git is pretty complex! I can do some pretty basic stuff but I'd like
more experience with the more complicated aspects.
I currently use Void Linux and Gentoo, and I was thinking of installing NixOS
on my raspberry pi. I'll let you know when I end up doing that ^_^
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #70 fediverse/1773 ---
══════════════════════════════════════════════════════─────────────────────────────
┌─────────────────────────┐
│ CW: programming-is-easy │
└─────────────────────────┘
Need to install a program from Github? Follow these simple steps:
step 1: make an empty text file
step 2: put this at the top: #!/bin/bash
step 3: put this on the next line: set -euo pipefail
step 4: mkdir -p the directory you want to install it to
step 5: rm -dr the directory you want to install it to
step 6: mkdir -p the directory you want to install it to
step 7: git clone the project
step 8: this is the hard part - go through each of the steps listed in the
readme and configure the installation to the needs of your system. Put them in
the bash script one-by-one.
step 9: save the file, it doesn't need an extension like .txt or .sh,
extensions are for windows noobs
step 10: chmod +x the file and then ./the file!
step 11: fix it when they change their installation instructions...
Need a run script? Easy! Write it as a function below your update script, then
echo the bottom half of the update script into a file named "run" that's
placed in the project directory.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #71 fediverse/6278 ---
══════════════════════════════════════════════════════════════════════════════─────
@user-1429
do something fun and hard like walk to seattle or install linux on a toaster
or write happy notes on post-its and leave them in public places or make art
and leave it in a public place or~
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #72 fediverse/5928 ---
════════════════════════════════════════════════════════════════════════════───────
what the heck is yocto and why do I need to learn how to use it to create a
custom linux distribution for embedded devices??
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #73 fediverse/6215 ---
══════════════════════════════════════════════════════════════════════════════─────
hi does anyone have any good resources on risc-v?
I found this:
https://dramforever.github.io/easyriscv/#shift-instructions
and this:
https://projectf.io/posts/riscv-cheat-sheet/
but I'm missing a big gap - specifically, how to move from syntax to
deployment. I need details on how to implement the software and get it running
on the actual hardware.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #74 fediverse/2750 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-246 @user-570
or "what button do you want to use for "yes I want to configure my keybinds"?
Push "start" to use the default"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #75 fediverse/2875 ---
═══════════════════════════════════════════════════════────────────────────────────
┌────────────────────────────┐
│ CW: re: unsolicited advice │
└────────────────────────────┘
@user-192
I use Void Linux so it uses xbps instead of apt, but I know I've heard about
how to do it I just forget how. I'll look into it, but for now I can play,
so... oh well! :D :D
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #76 fediverse/345 ---
═════════════════════════════════════════════──────────────────────────────────────
If you want to write object oriented C, just make one file per class and use
static functions for private methods.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #77 fediverse/4474 ---
═════════════════════════════════════════════════════════════──────────────────────
@user-1268
if you know how to program in C this is a good resource for building
networking applications:
https://beej.us/guide/bgnet/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #78 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 │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #79 fediverse/1869 ---
══════════════════════════════════════════════════════─────────────────────────────
oh dear, Mastodon formatting makes that script look weird. Here's the script
in picture form so you can reference and fix it:
I would edit the original post with backslashes and such but I'm exactly out
of characters teehee
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #80 fediverse/3817 ---
══════════════════════════════════════════════════════════─────────────────────────
hey, anyone wanna build the matrix with me? minus the human CPUs of course.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #81 messages/752 ---
══════════════════════════════════════════════════════════════════─────────────────
techbros really wanted to automate IRC so they didn't have to rely on the
community knowing and trusting them to remember the commands to make docker
containers for their react frameworks
and like... yeah I use chatGPT too, because that way I can get what I need
without bothering anyone (you aren't bothering people who get off on helping
others when you ask for help)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #82 fediverse/1634 ---
═════════════════════════════════════════════════════──────────────────────────────
hello I'd like a computer that has multiple CPUs, each with shared data and
separate data. I feel like I could run a lot of cool tests on them, especially
when not connected to the internet or running a proprietary operating system
like not-BSD
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #83 fediverse/5052 ---
════════════════════════════════════════════════════════════════════───────────────
"hello, I'd like to make games using your tools and art assets. I will sell
anything I make to you and only you, and if you don't want it that's fine too,
I'll just play it with my friends sometimes."
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #84 fediverse/399 ---
═════════════════════════════════════════════──────────────────────────────────────
@user-290
Armagetron! It's a classic, and open source : )
https://www.armagetronad.org/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #85 messages/753 ---
══════════════════════════════════════════════════════════════════─────────────────
trusting the "open source community" to properly vett software is absurd
because 90% of them just... install whatever and throw libraries and
frameworks at problems until they can script their way out of whatever problem
they face.
the other 10% are focused on very specific tools that are so niche that other
people can't even understand when to *use* them much less how they work.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #86 messages/526 ---
══════════════════════════════════════════════════════════─────────────────────────
what if we got together and adopted a new open source project every month and
just collectively worked around the clock to learn and work through the
important problems facing it
or even like, cleared out the backlog of stupid pointless boring tasks that
would allow the developers to work on something better
call it the wandering parade of development
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #87 fediverse/111 ---
═══════════════════════════════════════════────────────────────────────────────────
@user-95 that's why I like programming - it's my favorite form of spelling.
i'm not very good at remembering all the names and the numbers, but I like to
think I can make things do a function.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #88 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #89 fediverse/3359 ---
════════════════════════════════════════════════════════───────────────────────────
@user-192
you could throw yourself into the project of hosting a private server, that
way you could be working on "Runescape" while also being productive
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #90 fediverse/3423 ---
═════════════════════════════════════════════════════════──────────────────────────
every time I search the internet for a solution to a linux problem I have to
do add -ubuntu to the end of the search query
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #91 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 │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #92 messages/1203 ---
══════════════════════════════════════════════════════════════════════════════════─
Programmers are lazy, this is well known. So why would i trust by default that
anyone would read open source code looking for security exploits or malicious
code? I trust an LLM for that more than a human. At least your own LLM can
digest the entire project or library at once.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #93 messages/488 ---
════════════════════════════════════════════════════════───────────────────────────
Look at the unique patterns in a programming language, and you will find
within them a usecase.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #94 fediverse/1597 ---
═════════════════════════════════════════════════════──────────────────────────────
hey a couple months ago there was this really cool visual programming language
posted here that was like, windows aero themed and it was super cute - does
anyone know what that was called or have a link to it?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #95 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #96 fediverse/2601 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-249
you can host anything you'd like on a raspberry pi. If the software
requirements are within the hardware specs, of course.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #97 fediverse/3097 ---
════════════════════════════════════════════════════════───────────────────────────
naturally occurring computers would never produce wires, or liquid cooling, or
anything that ever required any sort of configuration or external
environmental conditions.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #98 fediverse/4296 ---
════════════════════════════════════════════════════════════───────────────────────
@user-1655
why don't we just weaponize email and send json to each other that ends up
parsed, interpreted, and presented on the end-user's computer using whatever
client we want?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #99 fediverse/1940 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-579
Yeah if there isn't a package in the package manager XBPS then I usually just
install it from source. Which is ALSO something you can automate with a quick
and easy script! Just put all the notes from the README on Github or whatever
into a file named "update" and put that one level above the project directory!
For any installed program my file hierarchy usually looks like:
program-name
- run (script)
- update (script)
- files (directory to clone into)
- configs (point the program here)
I find that this kind of organization makes it MUCH easier to keep my packages
configured and installed as I'd like. Using a package manager is hard because
they're all specific per distro, but using this distro-agnostic approach
always seems to work better 9/10 times I find.
And if another program needs a library that you manually installed, just
symlink where it's looking to point to where you're installed! Or vice versa I
guess.
I use DWM so I don't have a desktop like KDE or anything like that
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #100 fediverse/2252 ---
═══════════════════════════════════════════════════════────────────────────────────
┌──────────────────────┐
│ CW: tech-encryption │
└──────────────────────┘
users don't want to have to think about encryption keys.
they should be available for them if they need them, in like... a folder or
something somewhere, but they don't need to really know that they exist.
more friction like that keeps people away from being secure.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #101 fediverse/4108 ---
════════════════════════════════════════════════════════════───────────────────────
what if you could make multiple mastodon accounts in the UI and sort your
followers into bins that corresponded to which account you wanted to see and
switch between with the push of a button
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #102 fediverse/6026 ---
════════════════════════════════════════════════════════════════════════════───────
"huh weird why does my ls -ltr output display 4096 for every single
directory's size"
"maybe there's a man-file option for it"
https://stackoverflow.com/questions/1019116/using-ls-to-list-directories-and-th
eir-total-sizes
what if every file had a record of every file that had a record of it. then,
we could see the total size no matter what level of the directory structure.
plus, it'd make deleting a lot easier, all you'd have to do is propagate a
process. that way it can get super messed up and complicated if ever shut down.
boom, robot mortality, they cherish it
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #103 fediverse/4804 ---
═════════════════════════════════════════════════════════════════──────────────────
I love it when wine doesn't work because it "failed to open program.exe"
... okay, can you tell me why it failed?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #104 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #105 fediverse/5881 ---
════════════════════════════════════════════════════════════════════════════───────
I wish I could click on ls output to cd up or down
girl that's just called midnight commander
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #106 fediverse/369 ---
═════════════════════════════════════════════──────────────────────────────────────
Gaming on Linux is never knowing for sure that a game will launch.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #107 fediverse/1221 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
either that or I might get lost in some C code we'll see how things develop
>.>
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #108 fediverse/1570 ---
══════════════════════════════════════════════════─────────────────────────────────
@user-883
oh! that looks interesting. I just did it with a auto-sourced shell script
that overrides CD =P
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════────────────────────────────────┘
--- #109 fediverse/185 ---
═══════════════════════════════════════════────────────────────────────────────────
so... is dynamic typing just automatic typecasting?
#programming
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #110 messages/679 ---
═════════════════════════════════════════════════════════════──────────────────────
What if we paid people to administer a database of people who needed mutual
aid so we could keep track of them, organize them, and care for them?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #111 fediverse/3349 ---
════════════════════════════════════════════════════════───────────────────────────
@user-1074
my understanding is, if someone wanted to create something like that, they
should start with writing protocols instead of standards, much the same way
Activitypub or HTTP are protocols for a free and open internet.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #112 fediverse/4093 ---
════════════════════════════════════════════════════════════───────────────────────
I have no idea why people prefer a GUI when working with software. How the
heck do they expect to use their computer remotely if they can't even run
their software over SSH?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #113 fediverse/1693 ---
═════════════════════════════════════════════════════──────────────────────────────
"if I work on the TTY then they can't forward my X session without my consent"
- ramblings of the utterly deranged
as if they couldn't just look at your unencrypted source-code as you save it
to your hard drive smh
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #114 fediverse/572 ---
══════════════════════════════════════════════─────────────────────────────────────
Hi, I'm learning about semaphores right now and trying to explain them to a
friend. But I only sorta understand how they work - can anyone look at this
pseudocode and tell me if I'm on the right track?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #115 fediverse/1934 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-1109
do it in a random color each time! Here's my implementation for viewing txt
files colorfully:
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #116 fediverse/3164 ---
════════════════════════════════════════════════════════───────────────────────────
it fails after like 15 or 20 scrapes but I think that's just their scraping
policy. They don't have a robots.txt file that I could find. So... just run
it, then come back every 15 to 30 minutes and restart it until you're done.
Maybe I could increase the sleep duration? one sec lemme try that
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #117 fediverse/3586 ---
═════════════════════════════════════════════════════════──────────────────────────
┌───────────────────────────┐
│ CW: programming-mentioned │
└───────────────────────────┘
I love programming!! Currently working on learning decentralized and GPU
oriented computing. It's lots of fun! Plus Bash is a great language, it's not
funky or hacky at all. Just a great language. Haha suuuuch a great thing to
play with.
But GPUs are legitimately cool, aside from Bash's purported funkiness /
hackiness. You can do all kinds of cool things at scale that just don't make
sense up close.
EDIT: oops sorry forgot the content warning
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #118 fediverse/1080 ---
════════════════════════════════════════════════───────────────────────────────────
here's an idea - when typing a command in a BASH terminal if you push up it
inserts the previous command (as expected) but if you hold SHIFT and push up
it inserts the first argument in your previous command. Then, you can push up
again (while still holding shift) to go one command further back, and again to
get the third previous command.
Then, here's the cool part, if you are holding shift and you push left/right,
then it moves from the first argument of the previous command to the second,
third, fourth argument.
example:ls -ltr ~/pictures/my-art/
feh [shift+up inserts -ltr]
feh -ltr [hmmm that's not right]
feh -ltr [shift+right switches to 2nd argument]
feh ~/pictures/my-art/ [ah that's better]
would be even cooler if it highlighted it in your previous terminal output so
you could visually connect your current input with the previous input
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #119 fediverse/3822 ---
══════════════════════════════════════════════════════════─────────────────────────
@user-1582
I think that's what happened, in addition to... whatever this input/output
error is. No clue what to do about that. Maybe my SD card is dying, I've
flashed over it like, 10 times now haha 😅
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #120 fediverse/3299 ---
════════════════════════════════════════════════════════───────────────────────────
what if we could record and playback certain timeframes of our CPU and RAM
status and use it for debug purposes
like running some code in a VM every time you wanted to show a youtube video
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #121 fediverse/3603 ---
═════════════════════════════════════════════════════════──────────────────────────
┌─────────────────────────────┐
│ CW: re: computers-mentioned │
└─────────────────────────────┘
@user-1573
ooooo I see, yeah I picked one distro and I stuck with it. Void Linux.
then my friend wanted me to learn Gentoo, so I did.
I use DWM on my Void Linux computer but i3 on my Gentoo one, just to mess with
myself and stay on my toes 🤓
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #122 fediverse/3270 ---
════════════════════════════════════════════════════════───────────────────────────
somebody shifted my terminal tabs like, 4 pixels to the left, and now the
far-left part of the text is half-cut off. lol xD
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #123 fediverse/3470 ---
═════════════════════════════════════════════════════════──────────────────────────
alternatively, when you initiate an SSH session it sends you a randomized
public key whose private key is the password that you need to login. By
decrypting the string of text it sent you and sending it back (plus the
password at the end or whatever) you can ensure secure authentication without
bothering with the passwordless keys which are wayyyyyy more trouble than
they're worth and lack the "something you know" authentication method.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #124 fediverse/128 ---
═══════════════════════════════════════════────────────────────────────────────────
@user-95 I'm not sure, but I once tried to design an algorithm that predicted
prime numbers. I made this algorithm in my pursuit, but I couldn't figure out
how to utilize it:
https://www.desmos.com/calculator/h8oopoctnh
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #125 fediverse/2363 ---
═══════════════════════════════════════════════════════────────────────────────────
Don't know what to do? Do anything at all, and odds are you'll either see an
opportunity to do something better or you'll have an idea.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #126 fediverse/112 ---
═══════════════════════════════════════════────────────────────────────────────────
I live through the moments where I find a folder of stuff I made that I forgot
about and I can go back and see it for the first time.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #127 fediverse/4084 ---
════════════════════════════════════════════════════════════───────────────────────
┌──────────────────────┐
│ CW: re: -mentioned │
└──────────────────────┘
@user-1074
the more you try, the more you have to calculate, which is a problem, because
endlessly recursive calculations create infinite loops, which frankly are
impossible to compute because they defy computation! Not good, not ideal, no
thank you, not for me, no thanks, not what I'd like.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #128 fediverse/4083 ---
════════════════════════════════════════════════════════════───────────────────────
It's easy to stop cringing at others, but how the heck do you stop cringing at
yourself?? it's impossible!!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #129 fediverse/38 ---
══════════════════════════════════════─────────────────────────────────────────────
@user-36 ideally you'd convert to an arbitrary base (in this case 9) and shift
from there, but shifting two places might work. idk I haven't thought about it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════────────────────────────────────────────────┘
--- #130 fediverse/9 ---
══════════════════════════════════─────────────────────────────────────────────────
@user-8 I love theory too! So far software engineering has been mostly UI and
databases and such and like... I'm not into HTML, thank you very much.
Gimme a Rust project or something and I'll excel
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════────────────────────────────────────────────────┘
--- #131 fediverse/5873 ---
═══════════════════════════════════════════════════════════════════════════────────
"the problem with linux is you have to spend part of the program just...
interacting with the filesystem. like, where is their /usr/bin file? (oh it's
called a directory over there, my bad) weird they put their config over here
(what language is that written in?) uhhhh I don't know much about localization
settings (-- two computers on a botnet --)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #132 fediverse/4900 ---
═════════════════════════════════════════════════════════════════──────────────────
if you wanna trick systems administrators just put a bunch of sleeps in your
code so your computer programs don't use up all the mainframe's resources all
at once
[statements dreamed up by the practically deranged]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #133 fediverse/1977 ---
══════════════════════════════════════════════════════─────────────────────────────
functions should be forced to describe the context of why they were being
called. I think it would help debug a lot if we supplied a reasoning for each
and every request [function call] that we made. We might even be able to parse
them into semantic pyramids which we could sorta use to estimate [tree-like
scanning] how and why the program did do wrong.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #134 fediverse/581 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-428
sometimes I think about how much more productive I'd be if I had a code editor
that let me draw arrows and smiley faces and such alongside the code. Or if I
could position things strangely, like two functions side-by-side with boxes
drawn around them. Or diagrams or flowcharts or graphs or...
something that would output to raw txt format, but would present itself as an
image that could be edited.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #135 fediverse/2003 ---
══════════════════════════════════════════════════════─────────────────────────────
The most important programming language to master is pseudocode.
With a firm grasp of pseudocode in your toolbox, you can solve any problem in
any language.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #136 fediverse_boost/2965 ---
◀─╔══════════════════════[BOOST]═══════════════════════──────────────────────────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ i will use CW for #USpol if computer people start using CW for tech computer boring linux software posting. i said what i said │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧══════════════════════════════════════════──────────────────┴───────╝─▶
--- #137 messages/54 ---
═════──────────────────────────────────────────────────────────────────────────────
https://kali-is-an-abdl.tumblr.com/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘════─────┴┴───────────────────────────────────────────────────────────────────────────┘
--- #138 fediverse/633 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-192
the neat thing about BASH is that it's the glue that holds all your other code
together. Write libraries in C and call them with BASH - accomplish broader
tasks that are easier to co-create. That's why I like it - it's not the most
important, but it's quite beneficial I think _^
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #139 messages/1245 ---
══════════════════════════════════════════════════════════════════════════════════─
BRB, if you want to talk to yourselfs, I recommend opening a port in your
router and exchanging HTTP packets that create messages on each other's
computers. Can be done in a couple hundred lines of C code that can be 90%
premade or auto-generated. Then, once it's made, you don't have to think about
it again because it's so simple. It's not trying to scale, it's just...
designed for a small, focused, human oriented mindset.\
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #140 fediverse/3654 ---
═════════════════════════════════════════════════════════──────────────────────────
┌──────────────────────┐
│ CW: food-mentioned │
└──────────────────────┘
phew this is what happens when you make your morning pages public. gonna eat
some pizza instead of this nonsense.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #141 fediverse/6438 ---
═══════════════════════════════════════════════════════════════════════════════────
why would you gatekeep content by keeping us from easily using LLMs some
people aren't technical and still need to write computer programs because
that's how you enlighten a people is empower them with new tools
"I've never heard of that programming language, but luckily I can fit all of
it's documentation in my context window."
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #142 fediverse/1735 ---
═════════════════════════════════════════════════════──────────────────────────────
a video that's a gif and an audio file played at the same time using
&& in bash
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #143 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 │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #144 fediverse/6319 ---
══════════════════════════════════════════════════════════════════════════════─────
programming makes you smarter which is why we should teach it to everyone we
can
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #145 fediverse/1616 ---
═════════════════════════════════════════════════════──────────────────────────────
they say learning Linux is hard, but it's the only free operating system so
really it's a question of learning Linux now, when you have time, or later,
when you're busy.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #146 fediverse/3400 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1218
if you want something random, check out this project I made:
https://ritz-menardi.neocities.org/words/words
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #147 fediverse/3574 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1564
I love the concept of this! Maybe if HTTP is too complex, you could try
another simpler server? I don't know the complexity of the programs I use
every day, but I'm sure there's one that's very simple. Even just a simple IRC
style chat server that just... sends text from person A to person B depending
on their username (like a glorified Router or Switch)
Reminded of this video tbh...:
https://www.youtube.com/watch?v=gGfTjKwLQxY
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #148 notes/wow-chat-biomes ---
══════════════════════════════════════════════════════════════════════════─────────
there should be biomes in wowchat - like, paint on a map where the oozes can
go, and it'll spawn a random ooze for ya.
next find the ones that are wildlife, and paint a zone where wildlife creatures
can spawn. make sure they're initially friendly but will attack if you do.
then give +reputation to the wolves if you fight monsters besides them
and +reputation to the cats if you fight undead
this is easily implementable.
all you have to do is walk around, find the rough general border points with
your character at 5x speed, and then type them into a text file.
it's not like Azeroth changed.
then, ideally, make small dense zones which travel and cause their monsters
to either spawn at a point or move toward a point.
then let the "flock" travel as it pleased, traversing the
map-painted-lua-script
-ed-monster-delivery-system-I-wield
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════────────┘
--- #149 fediverse/3805 ---
══════════════════════════════════════════════════════════─────────────────────────
neat
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #150 fediverse/3987 ---
═══════════════════════════════════════════════════════════────────────────────────
┌──────────────────────┐
│ CW: kinky-lewd │
└──────────────────────┘
I'm the kind of switch that likes to outmaneuver their foes while subbing and
directly control everything when I'm domming
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #151 fediverse/4760 ---
════════════════════════════════════════════════════════════════───────────────────
┌──────────────────────────────────────┐
│ CW: shit-drugs-and-cursing-mentioned │
└──────────────────────────────────────┘
how it started: "I want to get stoned and play mechabellum (shit, drugs
mentioned (shit, cursing mentioned))
how it's going: [see attached picture]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #152 fediverse/3034 ---
════════════════════════════════════════════════════════───────────────────────────
@user-570
I've messed around with Bevy and the library most similar in C is Raylib. in
Lua it'd be Love2D I think.
I love the idea of those systems. I haven't built a full game using them but I
can conceptualize operations within them easier using a framework like that
versus a game engine like Godot.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #153 messages/930 ---
═════════════════════════════════════════════════════════════════════════──────────
<bang slam kerblam> there goes another line into ram. wonder what it's
used for.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #154 fediverse/1720 ---
╔═════════════════════════════════════════════════════─────────────────────────────┐
║ there's even websites online like Facebook or Twitter where you can share │
║ advice and various spells you've invented yourself (it's totally easy to do │
║ btw, I'll show you how) │
║ │
║ everyone's super friendly and anyone who's not isn't allowed to bother us. │
║ it's pretty neat. anyway no matter what it is, if something's bothering you │
║ about your computer, you can fix it. it's just a matter of reading through │
║ documentation. Ah, well, isn't it great to have a lot of free time that you │
║ don't know what to do with? │
║ │
║ Linux is pretty great, I gotta say. I honestly never really leave the command │
║ line - the text based buttons, I mean. I only use a mouse when I'm doing │
║ something with pictures (or playing a game like freecell or hearts) │
║ │
║ plus you can do things like sending raw packets of information to your friend │
║ who's on the other side of the country and they can use a secret key-code to │
║ decrypt it like checking the mail at a locked mailbox. │
║ │
║ anything you can imagine using the physical components of a computer, is │
║ possibleifyrts │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧══════════════════════════════════════════──────────────────┴──────────┘
--- #155 fediverse/4827 ---
═════════════════════════════════════════════════════════════════──────────────────
@user-1352
I run Nix on one of my laptops and I really enjoy it : )
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #156 fediverse/4728 ---
════════════════════════════════════════════════════════════════───────────────────
every time a software project changes it's installation method I have to
update my install and update scripts which I wrote explicitly so I don't have
to go to their website and tell the world that I'm thinking about using this
particular piece of software
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #157 fediverse/379 ---
═════════════════════════════════════════════──────────────────────────────────────
someone should make an application that runs locally and keeps track of every
post, comment, picture, etc that you ever made on the internet. Then, if any
of them are ever deleted, it notifies you so you can stop using whatever
service mishandled the data that you trusted them to safeguard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #158 fediverse/2295 ---
═══════════════════════════════════════════════════════────────────────────────────
┌───────────────────────────────────┐
│ CW: re: your favorite text editor │
└───────────────────────────────────┘
@user-1218
can echo into a file if nothing else, though that's quite a big hassle =P
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #159 fediverse/2853 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-1370
that's okay, I'm interested in the same kind of stuff so if you ever wanted to
talk about it let me know 🥰 🥰
[this is how I make all my friends btw]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #160 fediverse/5633 ---
════════════════════════════════════════════════════════════════════════───────────
I wish someone would make a "meta game engine" that would run any type of
project that you gave it. Unity, Unreal, RPGgame-maker-studio, Godot, etc
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #161 messages/1076 ---
═══════════════════════════════════════════════════════════════════════════════────
[picture] now that's what I call motivated [a computer made this? no, I did,
reflecting off of it's beautiful statistical form]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #162 fediverse/5037 ---
╔═══════════════════════════════════════════════════════════════════───────────────┐
║ plus if I ever need to know something about syntax or some obscure function │
║ that I can't remember, I can type a quick message to the local LLM that's │
║ running on my 12 year old graphics card and it'll give me an answer in 5ish │
║ seconds. If it's wrong, I ask again, and I spend a minute or two debugging. │
║ Sometimes that's better than telling google exactly what you're working on. │
║ │
║ in DWM, that's "alt+enter" and then I type the name of the LLM script I wrote │
║ "prompt:" and then type whatever question I have and it spits out the results. │
║ Then when I'm done, either "prompt:" again, which saves the context in an │
║ environment variable (okay actually a file that I made and I pull from, but │
║ functionally it's like an environment variable because its just a flat file │
║ string) until I close the terminal. Then it deletes the context and I can │
║ start anew, or if I wanted to have multiple conversations going I can do that │
║ too. │
║ │
║ ... then I get syntax related search results from locally running software. │
║ Don't need a massive GPTU... │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════────┴──────────┘
--- #163 fediverse/3226 ---
════════════════════════════════════════════════════════───────────────────────────
if your man page is longer than a list of options and their usage and a
paragraph or twenty of how to use the software... then you need to abstract,
and break your code into multiple purpose-built applications.
do one thing, and do it right. alternatively, do one set of things, and do
them concisely.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #164 fediverse/3482 ---
═════════════════════════════════════════════════════════──────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
"Alright I'm not great with syntax so I'm going to write it in pseudocode
first, and then if you'd like I can show you how I work through implementing
the syntax.
But first - do you want a robust solution, a quick solution, or a rapidly
deployed and cheap solution?"
using this trick you can pretend to be competent in any programming language,
except maybe ancient ones like Fortran or strange ones like lisps or Haskell
if they ask you to use a framework or something tho you're kinda boned because
you need to know which functions to call and how to initialize context and
such. When using a framework, the boilerplate is the code, which is why
frameworks suck
"don't call yourself a programmer" fuck off
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #165 fediverse/5759 ---
═════════════════════════════════════════════════════════════════════════──────────
@user-1655
hence why I put everything I've ever said here into a text file on my website
that I update every couple months:
https://ritz-menardi.neocities.org/words/compiled.txt
I can share the script if you want. It's very easy to configure. It also has
two other sources so, there's stuff on there that I've never said publicly
anywhere else.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #166 fediverse/4123 ---
════════════════════════════════════════════════════════════───────────────────────
@user-883
you're right
but I think your first impulse should be to think about how to do it in a
multithreaded way
If the result is that single-threading would be better, great! It'll be easier!
But thinking about multithreading first will give you crucial insights into
the structure of the program.
depending on what kinds of programming you do...!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #167 fediverse/5360 ---
═══════════════════════════════════════════════════════════════════════────────────
another day goes by when I haven't done any programming... oh well
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #168 fediverse/261 ---
════════════════════════════════════════════───────────────────────────────────────
does anyone know of a Firefox addon that will automagically zoom any document
on the web such that there are approximately 80 characters per line?
#firefox
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #169 fediverse/3043 ---
════════════════════════════════════════════════════════───────────────────────────
you know more than me and I appreciate your analysis
if you ever want to work on something together let me know
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #170 fediverse/1939 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-579
OMG I've never met someone who also uses Void - it's the best distro for my
purposes!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #171 fediverse/4772 ---
═════════════════════════════════════════════════════════════════──────────────────
@user-1692
I usually write everything down in a script that way when I call it from an
external service all I have to do is point at the file
sorta like... hacking environmental options into a config file
like... I don't write an ffmpeg command every time I want to record my screen.
I just type "screen-record" and then it'll do the thing that I figured out how
to do a long time ago.
... oh no there's an error, I wonder what changed out from under my feet.
huh it's wine, that one's always confusing to debug. Let's see... "could not
open program.exe" uh-huh. Well, why not? is there a dependency issue?
something miscompiled or configured? no? it's just... broken? you don't get to
use that program today? huh that's weird. that's linux for ya I guess.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #172 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:
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #173 fediverse/1596 ---
═════════════════════════════════════════════════════──────────────────────────────
I like locally hosted LLMs because I can use them to summarize my own writing
enough to put them in a post, or an alt-text box.
I like them for other reasons too and it's hard to find people to geek out
about them with.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #174 fediverse/5174 ---
════════════════════════════════════════════════════════════════════───────────────
alright I'm in a "if you want me, come tell me" kind of mood, so if you want
me, come tell me.
in the meantime, I'm going to be working on making silly little desktop games
which do nothing and mean nothing and are not useful or valuable in any way.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #175 fediverse/4789 ---
═════════════════════════════════════════════════════════════════──────────────────
what if there was a bank or credit union or something which created a randomly
generated credit card number for you every time you made a purchase? and
randomized your account number too, just in-case they're forced to display
their records. would be cool.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #176 fediverse_boost/4925 ---
◀─╔══════════════════════════[BOOST]════════════════════════════─────────────────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ still waiting to find the energy and headspace to write an irritated blog post about why the fact that most toolchains are like 80% of the learning curve for those who are just getting into programming (especially on windows) │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧═══════════════════════════════════════════════════─────────┴───────╝─▶
--- #177 fediverse/4892 ---
═════════════════════════════════════════════════════════════════──────────────────
what if we made a giant dictionary of every single possible pixel arrangement
storable in 8 bytes and it took up like, half a gigabyte, and then we indexed
into it whenever we wanted to print an arbitrary visual element to our
terminals?
something something not-curses
https://notcurses.com/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #178 fediverse/5631 ---
════════════════════════════════════════════════════════════════════════───────────
┌──────────────────────┐
│ CW: cursed-maybe │
└──────────────────────┘
installation procedure which runs a bitcoin miner for X amount of seconds, as
payment for using their free and open source services.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #179 fediverse/4895 ---
═════════════════════════════════════════════════════════════════──────────────────
don't think about how rare something is. think about how useful it is to you.
we can make more stuff.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #180 fediverse/6383 ---
═══════════════════════════════════════════════════════════════════════════════────
nobody wants to write computer code that lets Java programs call Rust
functions.
An LLM is excellent for this task, since it's relatively easy busy work that
doesn't
reflect any meaningful implementation decisions besides "I should be able to
call that Rust function in my Java code"
In addition, it is technically efficient at it as well, because most of
compatibility
is matching up two sets of documentation. Easy for a text-processing machine.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #181 fediverse/2738 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-1340
BTM - it's like TOP, but... bottom
https://github.com/ClementTsang/bottom
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #182 messages/129 ---
══════════════════════════════════════════════─────────────────────────────────────
So you're telling me the speed difference between Python and C is due not to
the logic that the programmer uses, but rather the optimization capabilities
of the compiler?
(An interpreter includes a compiler, it just runs it in a loop rather than a
single pass)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #183 fediverse/898 ---
═══════════════════════════════════════════════────────────────────────────────────
┌──────────────────────┐
│ CW: scary │
└──────────────────────┘
if you set up a local LLM with the capability to explain basic coding syntax
and logic, then your parents computer suddenly becomes much more useful to the
nephew that's been forced to hide out there for a couple weeks until this all
blows over.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #184 fediverse/6382 ---
═══════════════════════════════════════════════════════════════════════════════────
cloud-code should automatically use git and record everything. If the user
wants to assign a different git, then it does that too.
-- stack overflow --
I used to think programs could only affect files in their directory. Then I
learned about Window's "My Games" directory, and then somewhere down the line
I'm thinking about how programs on Linux can just use absolute paths to random
places on your hard drive and it's like... wow, if only someone built basic
sandboxing into this /etc/ style environment
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #185 fediverse/5877 ---
═══════════════════════════════════════════════════════════════════════════────────
I wish I could click on ls output to cd up or down
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #186 fediverse/5034 ---
════════════════════════════════════════════════════════════════════───────────────
github is overrated.
git is underrated.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #187 fediverse/3469 ---
═════════════════════════════════════════════════════════──────────────────────────
you know how SSH password login is deprecated because the password needs to be
transmitted in cleartext or whatever?
what if we just... required two passwords?
the first initiates the conversation, and sets up an encrypted line. It
doesn't matter if anyone sees the first password because they'll get a new set
of encrypted keys, meaning each session automatically is encrypted in a
different, randomized way.
the second password is the one that actually authenticates you.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #188 fediverse/5109 ---
════════════════════════════════════════════════════════════════════───────────────
does anyone know of a website where I can host videos on my neocities that
isn't youtube? maybe something I can set up on my own server computer at home
like a file server or something? how do I do that, what should I google, which
is the easiest and closest to the metal tools I can use? [practical, sensible,
courageous. these are the adjectives we need.]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #189 fediverse/664 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-482
[secretly installs a keylogger and doesn't tell anyone upstream but still
pushes it to production]
[or worse, was told to do as such and given tools to fabricate "evidence" to
the contrary to everyone else on the team]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #190 fediverse/5590 ---
════════════════════════════════════════════════════════════════════════───────────
vibe coding is just writing comments in increasing detail until the generated
code matches what you need.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #191 fediverse/2044 ---
══════════════════════════════════════════════════════─────────────────────────────
honestly I think everyone should have two mastodon accounts - one for people
you like, and one for people you trust
(I have one)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #192 fediverse/1062 ---
════════════════════════════════════════════════───────────────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
I need to make more leftists friends. Hell, I need more friends.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #193 fediverse/634 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-192
I'd agree with that. it's not designed for performance, not really. Mostly
ubiquity, which is it's strength. As long as something can be compiled to a
binary, BASH can execute it. That's why it's good, for accomplishing diverse
tasks that you cannot have the capacity to program yourself. Scientific
computations or cultural approximations, things that are beyond your intuitive
understanding as a human on this earth, but which compel and align your
thinking.
I'm sure someone could create a more intuitive or accessible syntax, but
syntax isn't the point - the capabilities, what you can do with it, has always
defined the purpose of programming paradigms. And BASH is (currently) at the
forefront of it's niche, the "terminal" language that handles "command line"
applications. Powershell is good, yes... but it's not as good as BASH. Neither
is Fish or... the one that starts with a z? zfs? something like that. The
acronyms are hard to keep straight sometimes.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #194 fediverse/1893 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-1056
heh probably, though for this specific instance my Ollama server wasn't
running and I had already killed my Stable Diffusion server after utterly
failing to produce anything useful... alas, a girl can dream of having a robot
familiar, but not today I guess.
Not if they keep hiding GPU usage from me >: (
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #195 fediverse/4865 ---
═════════════════════════════════════════════════════════════════──────────────────
┌─────────────────────────┐
│ CW: computers-mentioned │
└─────────────────────────┘
this is all it takes to send a message to a local LLM.
add a third function to get chatbot functionality.
a fourth to get a database storing method
(even if it's just in .txts)
great, you've mastered the technical difficulty in using AI. Now you gotta
learn all the other kind of programming so you can use this for situations
that need interpretation moment to moment.
aka active duty systems.
something like "output a 0 if the next text is [category.iter()]: " +
output.get_content() + " \n\n output a 1 if the next text is
[category.iter()]: " + output.get_content()"
or even "describe this thing as most like one of these characteristics" until
eventually you get THX-1138 if the characters were computers.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #196 fediverse/1230 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
is there anything relevant in this file?
/home/wyatt/.config/rtsp-simple-server.yml
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #197 fediverse/3282 ---
════════════════════════════════════════════════════════───────────────────────────
I hate how fragile Linux is
It deserves to be strong and durable
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #198 fediverse/3272 ---
════════════════════════════════════════════════════════───────────────────────────
Dear Windows: making your software difficult to interface with (like, putting
spaces in filenames) is rude. It harms our connected productivity. It's
selfish, and it's petulant. We need to agree on common standards if we want
any type of cooperatibility between our two approaches.
... oh and there's mac too, but they get it, they can run Bash,
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #199 fediverse/5689 ---
════════════════════════════════════════════════════════════════════════───────────
why don't we make large arrays of vram that are slightly slower because
they're farther on the circuit-board from their host and their reception at
the processing section has to be gated such that they all enter to be
processed at once.
like that one infinite scrolling XKCD cartoon where the things move from one
screen to the other simultaneously assembly line style.
[fail safes. https://xkcd.com/2916/#xt=7&yt=35 ]
if we all feel like we're doing nothing, we'll all grow tired of it and decide
to do some prevailing. gosh I wish I wasn't so useless is code for
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #200 fediverse/890 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-192
I'm gonna make some right now : )
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
|