=== ANCHOR POEM ===
═══════════════════════════════════════════════════════────────────────────────────
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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
=== SIMILARITY RANKED ===
--- #1 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #2 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #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/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 │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #5 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 │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #6 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #7 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 │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #8 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #9 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #10 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 │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #11 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 │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #12 fediverse/1723 ---
═════════════════════════════════════════════════════──────────────────────────────
@user-1037
Lua with 0 based indexing would be the perfect language (okay maybe LuaJIT)
(i try to hurt as few people as I can as little as I can but it's impossible
to not hurt anyone)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #13 fediverse/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 │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #14 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 │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #15 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #16 fediverse/1892 ---
══════════════════════════════════════════════════════─────────────────────────────
┌─────────────────────────────────────────┐
│ CW: C-programming-and-alcohol-mentioned │
└─────────────────────────────────────────┘
I want to write C programs with threads and manual memory management and
function pointers and lots and lots of arrays and I'm not even kidding
... wait a minute I literally don't have a job, why am I not writing C
programs right now?
BRB I got something important to do, where's my vodka --> pkill firefox
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #17 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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #18 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #19 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #20 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 │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #21 messages/264 ---
═════════════════════════════════════════════════──────────────────────────────────
Don't write self documenting code! Force people to read the documentation so
they know how to use it
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #22 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #23 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 │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #24 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #25 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 │
╘═════════╧╧═══════════════════════════════════════════════════════────────────────────┘
--- #26 fediverse/1694 ---
═════════════════════════════════════════════════════──────────────────────────────
would anyone be interested in a Bash+Lua script that takes your Mastodon
archive and turns it into a folder full of .txt files?
I also made a script that spits out a random one on your terminal, if you want
that
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #27 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #28 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #29 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #30 fediverse/933 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-643
virtual machines are cool. betcha can't write one using bytecode
https://gameprogrammingpatterns.com/bytecode.html
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #31 fediverse/849 ---
╔═══════════════════════════════════════════════───────────────────────────────────┐
║ wish there were ascii characters that took up more than one line of code │
║ vertically. │
║ │
║ wonder if we could use a sorting algorithm, or markup language, or something │
║ like that to organize less structured data along user-customizable rules. │
║ Like, a code editor that worked with your ideas, rather than the strict │
║ expression of your text. You could pretty much write in any language, even │
║ pseudocode, and the LLM behind the scenes would translate whatever you wrote │
║ into whatever result you needed. Writing Rust, but need to fit in with C code? │
║ No worries it'll translate for you. As long as the end result is functionally │
║ the same, which could be verified by running two separate VMs that ran │
║ interpreters every time you saved. And as long as their translation layers │
║ matched completely, then odds are they're the same. And if not, well, the │
║ programmer can always debug it. It's not like this would be running on │
║ something that needed to perform in the moment? Like, improv instead of │
║ tragedies, or battles instead of strategies │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════────────────────────────┴──────────┘
--- #32 fediverse/247 ---
════════════════════════════════════════════───────────────────────────────────────
@user-195 parallel is when two programs run simultaneously, like two parallel
lines (threads) that never touch.
concurrent is when the two lines are split up into chunks and the program
switches between them - like this: -----_----
enter alternate universe
parallel is when two programs operate on the same axis - usually time - and
never interfere with each other. the OS will switch between them as
appropriate to make sure they never intersect. Sorta like this: -----_----
concurrent is when two programs are executed simultaneously, primarily
constituting computation correlated with collective contents of coordinated
collaboration between contextually related coroutines.
It's simple, even a beginner could figure it out.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #33 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #34 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #35 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 │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #36 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #37 fediverse/5780 ---
═════════════════════════════════════════════════════════════════════════──────────
┌─────────────────────────────────────────────────────────────────────┐
│ CW: scary-dark-circle-magic-is-totally-not-my-vibe-I'm-more-like-a- │
└─────────────────────────────────────────────────────────────────────┘
game idea:
factorio clone except it's actually an IDE
double click a "factory" building and you can open up a script window. Just
enough room for a function or three, don't go off-screen...
then, draw as many conveyor belts as you want. They have to be conveyors, and
they can only dive under [num_belt_passthrough] other conveyor belts at a
time. By forcing the player to structure their code linearly and laterally,
they can see it with a more comprehensive [scope, but pronounced hope].
could also have a neat visualizer for the data structures you'd build.
[highly recommend that any programmer learn Lua, it's faster than you know]
I name my variables after objects and patterns and I think that's normal
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #38 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 │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #39 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #40 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 │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #41 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #42 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 │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #43 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 │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #44 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #45 messages/412 ---
═════════════════════════════════════════════════════──────────────────────────────
Coding superpower:
Start thread
While(true):
Run();
Then, whenever you want it to run something else, change the function pointer
that run() uses to call a function
At the end of the run() function, set the function pointer in the while loop
to the next one. That way you don't stack overflow from the recursion.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #46 fediverse/5405 ---
═══════════════════════════════════════════════════════════════════════────────────
can't stop thinking about a visual programming editor that can be interacted
with in the same way that people are used to (think chromebooks dragging and
dropping icons in a web UI) but produces a text-file full of code and all the
required compilation scripts for any language the user requires...
seriously, programming is not THAT different between the different languages.
especially the main ones. they're all essentially variables and function calls
at the end of the day, so why not abstract away all the extra details and
build something that n00bz can actually use to build things.
I technically could make this but I don't have the bandwidth and I don't think
it's important really? who can say, the tools tend to co-create the solutions
in my experience.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #47 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #48 fediverse/3151 ---
╔═══════════════════════════════════════════════════════───────────────────────────┐
║ ┌───────────────────────────┐ │
║ │ CW: re: cursing-mentioned │ │
║ └───────────────────────────┘ │
║ │
║ │
║ @user-1461 │
║ │
║ I'm best at Bash. │
║ │
║ I'm most capable with Lua. │
║ │
║ My favorite is C. │
║ │
║ I'm not a good programmer, I think too hard. Massive systems are too large for │
║ me. I like laying out data, whether that be by files and programs in Bash, │
║ arrays and tables in Lua, or memory and datatypes in C, I like to think about │
║ how programs are constructed. │
║ │
║ Which functions point to which piles of numbers? what do they do when they get │
║ there? │
║ │
║ I think I'm better as an artist. But I can do systems administration quite │
║ well (with Bash and a guiding hand telling me what and why to do) │
║ │
║ ... though I kinda suck at technical sysadmin, like Gentoo. There's too much │
║ terminology - why is data too complicated? Just use data! │
║ │
║ anyway. I sound opinionated, but I listen closely to good arguments and │
║ quickly change my tune when I am incorrected. I am a team player, and I firmly │
║ believe that sometimes a bad plan executed with cohesion and precision is │
║ better than the best play executed too late and with too little strength. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════────────────────┴──────────┘
--- #49 fediverse/3890 ---
═══════════════════════════════════════════════════════════────────────────────────
Linux is great! It can do anything you want it to.
Except that thing you want it to do. Why don't you go fix it? It's not hard,
all you have to do is run these configure files or operate this doohickey and
BAM suddenly you got apes writing machine gun regulation software
[I don't think those two things are related]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #50 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #51 fediverse/5765 ---
╔═════════════════════════════════════════════════════════════════════════─────────┐
║ Lua is the most fun language to write code in! The reason is because it's so │
║ simple, it distills programming down to it's basics, and there's very few │
║ surprises. Plus, you can use it like a bash script, meaning it's great for │
║ writing little utilities. │
║ │
║ why are we so attached to monolithic massive programs without shared memory? │
║ we could just write to the hard drive by file.io'ing a file and opening it │
║ later in a different program. What's the deal with databases, whatever │
║ happened to just loading things into a datastructure? │
║ │
║ oh, is your filesize too massive? what if we redundancied and abstracted and │
║ concentrically inter-co-acted and thus our familiar forces are defined. │
║ │
║ who are your true foes, in [checks notes] computer programming? um, probably │
║ complexity, probably logical incongruities, probably │
║ future-technical-debt-style incomprehensibilities, probably stuff that doesn't │
║ really have anything to do with the hardware but instead is mostly software. │
║ │
║ essentially, organization, but done on a whim. │
║ │
║ "but $?" │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════════╧═─────────┘
--- #52 fediverse/5291 ---
══════════════════════════════════════════════════════════════════════─────────────
the most important skill I can think of for a linux software engineer is the
ability to connect multiple systems together and turn windows and macintosh
devices into Linux devices so that datacenters can be built out of whatever's
on the around.
there's this programming language I like called Chapel for distributed
computation computing which is also cool, if you're more of the programming
type.
networking security I believe often has hardware solutions, so getting the
crypto-graphy boys and the PCB girls together to work on some jams is a good
and productively useful gathering of insightful events
"but ritz computers should only be used to solve problems that people have,
not make more problems!" ah yes but have you considered that problems find
you, and the computers help you work through them
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════────────────┘
--- #53 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #54 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 │
╘═════════╧╧══════════════════════════════════════════════════════════════════════════─┘
--- #55 messages/1129 ---
═════════════════════════════════════════════════════════════════════════════════──
ai-stuff - this is how to program a society. (or software project) there are
lots of other implementations
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════════─┘
--- #56 fediverse/1870 ---
══════════════════════════════════════════════════════─────────────────────────────
why would I want other people using my computer? They don't know how to use my
computer! They might break something or mess something up or automatically
read/edit my files that are stored in standard locations through the usage of
a script which automagically scans and ransomwares machines on the internet
who store their files in specific standardized locations! no thank you.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #57 fediverse/4218 ---
════════════════════════════════════════════════════════════───────────────────────
there are plenty of pieces of linux that are insecure in some way. Including
x11, if I remember correctly. It is purely convention to not abuse these
insecurities, and whenever you use someone else's binary software you trust
that they won't betray you in some way.
pre-built binaries are privacy violations and should be illegal. They are
security threats because the model they're built upon is necessarily insecure.
Computers will never be completely secure because of how they are built, and
so we should use locally compiled software and interpreted scripts.
Unless they're too long, or impossible to read. Who reads EULAs these days? At
least those are written in english.
maybe computers aren't worth it. Maybe computers will solve all our problems.
Who can say, maybe you should ask an oracle like me
though do remember that anything you hear can and will be used against you,
monkey's paw style. So maybe, like... don't? unless you're into magic or
schizophrenia or something
I wnt 2 be cute and tch cpus
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #58 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #59 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 │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #60 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 ║
╚═════════╧═════════════════════════════════════════════════════════───┴───────╝─▶
--- #61 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #62 fediverse/6015 ---
════════════════════════════════════════════════════════════════════════════───────
┌──────────────────────┐
│ CW: AI-mentioned │
└──────────────────────┘
In 2025, if you want to create a piece of software your options are to either:
devote your life to it, or use AI to build a semi-working prototype that you
can use to pitch your idea to a bunch of people who have devoted their lives
to learning how to use your idea as documentation while they build it from
scratch, throwing out most of the code but keeping all the checklists and
progress-trackers you built along the way, perhaps even utilizing some of your
tooling that you used while constructing the scaffolding of this monstrous
application that you won't be using most of the source-code for.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #63 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #64 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 ║
╚═════════╧═══════════════════════════════════════════════════─────────┴───────╝─▶
--- #65 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #66 fediverse/5360 ---
═══════════════════════════════════════════════════════════════════════────────────
another day goes by when I haven't done any programming... oh well
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #67 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #68 fediverse/4527 ---
═════════════════════════════════════════════════════════════──────────────────────
@user-1600
Yes! The ease of use for GPU programming is lovely. Like I said all I need is
a use-case, I've downloaded as much reference material as I think I'd need to
be able to hack together something fairly quickly if I needed it. That's all I
have the mind-space to focus on lately haha
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #69 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #70 fediverse_boost/6017 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ Linux admins when they have to use Windows: :/ │ ║
║ │ │ ║
║ │ Windows admins when they have to use Linux: :\ │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #71 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #72 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 │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #73 messages/488 ---
════════════════════════════════════════════════════════───────────────────────────
Look at the unique patterns in a programming language, and you will find
within them a usecase.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #74 fediverse/617 ---
══════════════════════════════════════════════─────────────────────────────────────
So much of computing is just... handling the quirks of hardware and presenting
it to the user (programmer) in a way that is sane and makes sense, instead of
the arcane and [nebulous/confabulous/incomprehensible] way that physical
nature demands our absurdly potentialized computational endeavors be.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #75 notes/portfolio ---
════════════════════════════════───────────────────────────────────────────────────
game design:
spiral dominions
symbeline gdd
Joust
War (bytecode VM)
grid based warcraft map with random terrain and custom AI
Progress
[Title of Game]
I appreciate Rust, I can understand Rust, but I can't write Rust.
Python just kinda... works. It doesn't have a lot of the type checking that
other languages have, so it requires some vigilance and diligence. But that's
alright, you just gotta work on it.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════──────────────────────────────────────────────────┘
--- #76 fediverse/707 ---
══════════════════════════════════════════════─────────────────────────────────────
@user-524
Sometimes when I feel overwhelmed with all the boilerplate I just start coding
and making stuff. Doesn't matter if it works, doesn't matter if it says /*
FIXME */ all over the place, doesn't matter if it includes header files that
don't exist yet, as long as you're hacking out the mechanics of whatever
operations you need to perform then you can figure the rest of that stuff out
later. The creative urge doesn't last forever, which is why projects get
abandoned, but with discipline you can keep bringing yourself back to fix all
the /* FIXME */'s and the compiler errors.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #77 fediverse/5911 ---
╔═══════════════════════════════════════════════════════════════════════════───────┐
║ I was always fascinated by the Linux way of programming. Need to do something? │
║ write it into a script! You never know when you'll need it again. Then, just │
║ stay organized, religiously so, and understand that you will forget about │
║ stuff. But, you'll come across it eventually, ready and willing and able to │
║ help you. │
║ │
║ if you don't want me using AI, then give me ~20 junior developers. Which is │
║ more efficient, do you think? │
║ │
║ "girl you haven't even tested your vibe-coded slop, how do you know if it │
║ works" │
║ │
║ oh I'm sure it doesn't, but it's the thought that counts │
║ │
║ ... I guess I'm just saying, please don't burn the data centers. Computers are │
║ not only bad for the environment when they're burnt, but also we can use them │
║ for all kinds of neat things. Even if it takes a lot of energy, just... build │
║ more solar panels and only use the computers for important stuff? │
║ timeshare-style? │
║ │
║ \@/documents/books/man-and-the-computer.pdf │
║ │
║ that was my mother's book... I love her. I miss that side of her. She fled │
║ when the cancer came. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════════╧═══───────┘
--- #78 fediverse/5338 ---
═══════════════════════════════════════════════════════════════════════────────────
I asked my girlfriend what was so special about lisp
she said it was "homoiconic"
I asked what that meant
she said that the text that comprised the source code was always a valid data
structure in the language, meaning you could do strange things like develop
new control flow systems or change the behavior of language primitives like +
or -
I asked what was the point, she said I didn't get it
so then she asked me to implement a new control flow operator in my favorite
language, Lua, and I was like "bet"
so I did
and it turns out that in order to do so I essentially created a mini embedded
lisp inside of Lua
(it was a function that took in two arguments and an operator and she's like
congrats that's just lisp)
it was at this moment that I was enlightened
the beauty of lisp
it's true and ultimate purpose
is to write lisp code
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #79 fediverse/6179 ---
═════════════════════════════════════════════════════════════════════════════──────
what if instead of javascript cookies we only let websites access one single
location in memory which was allocated client-side and is unique to each
website?
that way they couldn't track you between sites, since they wouldn't be able to
see any other website's "biscuits" get it because they're healthier than
cookies
All they would be able to store would be data, though I guess they could store
bytecode instructions or something if they really wanted to.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #80 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #81 fediverse/1718 ---
═════════════════════════════════════════════════════──────────────────────────────
dear old people - did you know computers don't need to have buttons? You can
literally just type what you want to make happen (if you know the magic spell)
and it'll just, do that thing
how cool is that
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #82 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 │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #83 fediverse/4664 ---
═══════════════════════════════════════════════════════════════────────────────────
@user-1725
LLMs can't do math. Duh. That's like asking an "if check" to do recursion.
What he should have done is had the AI output the requested calculation as
JSON or something and use a calculator function call with the specified
arguments instead of trying to memorize every answer. But that requires more
functionality that has no reason to exist if your only goal is to be a tech
bro and build up a vacuous product that exists only to be hoovered up by
Google or Microsoft.
We could build such beautiful things if we just dethroned those giants. They
suck the creativity out of tech.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════───────────────────┘
--- #84 fediverse/1248 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
did you open any ports on your router to do this streaming? Setting up my
laptop so I can test...
I loved assembly when I took a course on it in college - it just made sense to
me. I love C because it feels like, a more powerful version of assembly.
Everything higher level just feels like layers of abstraction on C, or like...
LISP, which hurts my brain. >.>
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #85 fediverse/4125 ---
════════════════════════════════════════════════════════════───────────────────────
@user-883
yeah that's probably better too since it'll be easier so there'll be fewer
bugs, especially since processing audio isn't usually performance critical ^_^
TBH I just want people to make more threading primitives like locks,
semaphores, and iterators. Like... thread pools, or hashmaps that run a
function on each record stored within every time each of the threads passes a
checkpoint, or paginated arrays of data that run a function on themselves and
the records near them (with slightly different input values, of course) idk
what those are called but I can't resist putting them in everything
Anyway I do think multithreading programs that don't need it will teach you to
be a better programmer, so... depends on what you're working on I guess. Are
you preparing to be ready and working, or are you ready and working?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #86 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #87 fediverse/1961 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-1037
Here are some neat ways!
https://hachyderm.io/@user-1044/112512896931443652
but you were part of that thread last month so you might remember : )
(I ended up buying two of those python-only processors chips btw - I don't
know how to solder though so I'm waiting to meet a new friend at my new job
who can do it for me)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #88 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 │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════════┘
--- #89 messages/110 ---
═════════════════════════════════════════════──────────────────────────────────────
The best way to program computers is to organize them according to their
relations. Like, when x increases by 4 then y increases by 2 - basically, a
math equation that you can continuously solve by calculating more and more
comprehensively and deeply.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #90 fediverse/3553 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-381
I have this notion about a math/CS curriculum where students build and program
their own calculators. Once you make the calculator do it you never need to do
it yourself again.
for the same reason that "writing is thinking" is true, so too is "programming
is calculation" true.
by working through the steps required to produce a result, and fully
understanding each step, they have a much more solid understanding of what's
going on than if they practiced rote memorization (worse) or continual
computation (better, not best tho)
especially if every step of the way is accompanied with visual elements which
show exactly what is happening. Some people are more visual, some people are
more algorithmic, and finding a way to teach all types of people is a truly
difficult and rewarding part of teaching.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #91 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 │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #92 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #93 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #94 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #95 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 ║
╚═════════╧══════════════════════════════════════════──────────────────┴───────╝─▶
--- #96 fediverse/3055 ---
════════════════════════════════════════════════════════───────────────────────────
If you're on a Windows computer, first of all why and second of all you can
use the WINDOWS key + SHIFT + S to screenshot a part of the screen.
this will put it in your copy/paste clipboard, meaning all you have to do is
ctrl+V and boom suddenly you are significantly more productive.
just don't forget alt text...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #97 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 │
╚═════════╧══════════════════════════════════════════──────────────────┴──────────┘
--- #98 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #99 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #100 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #101 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #102 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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #103 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 │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #104 fediverse/2754 ---
═══════════════════════════════════════════════════════────────────────────────────
┌────────────────────────┐
│ CW: is-that-rude??-wha │
└────────────────────────┘
AI engineers only ask users for prompts because they don't have any ideas of
their own
i'm a programmer, I think of AI like a tool, like a for loop or something.
it's trivial to script together a local LLM that can process your stuff 1s
slower every time you click the mouse, but like... who cares, right? everybody
needs a chatbot...
then they plan to script together a computer system that operates just like a
corporation and it's like... no way, now there's something that can compete.
and they don't know how to implement it. (but they're working on it)
like, think about the absolute most automated Microsoft Teams or Discord could
be.
there's SO MUCH of your text-based information that they could process
ANYTHING.
well, anything that's been performed before.
there'll still be a need for people, who actually apply the things they've
learned. and -- stack overflow --
alt text that has a list of attributes that are poster-selected that can be
described one-by-one (to paint a picture)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #105 fediverse/5977 ---
════════════════════════════════════════════════════════════════════════════───────
apparently you can use network sockets for inter-process communication if you
just set the network to your home and the ports that are set to the defaults
that people who know what software you use will know to listen on when they've
hacked any single device on your network. good thing that data is with the
router, right?
what if there was a stop before leaving the computer?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #106 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #107 fediverse/4118 ---
════════════════════════════════════════════════════════════───────────────────────
all modern software should be written in a multithreaded way, change my mind
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #108 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 │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #109 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 │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #110 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #111 fediverse/3744 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-1352
Unfortunately I have to use the proprietary drivers because video games, so I
can't use Nouveau T.T
I figure if I like Gentoo but wish it was a little more "config file" based,
then Nix is probably my best bet!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #112 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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #113 fediverse/1142 ---
════════════════════════════════════════════════───────────────────────────────────
┌──────────────────────┐
│ CW: food-mentioned │
└──────────────────────┘
I love rice and beans because
error: stack overflow
huh, that's weird. Must have been too many reasons. Let's try again:
I love rice and beans because
error: user didn't change anything between runs of the program so clearly they
don't understand how computer works
... well that's a different error so it's progress at least.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #114 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 │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #115 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #116 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 │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #117 messages/765 ---
═══════════════════════════════════════════════════════════════════────────────────
you don't have to write poetry to write notes. The poetics are just practice
for when secrecy is intended.
OR IS IT THE REAL THING? who can say.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════───────────────┘
--- #118 fediverse_boost/5981 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ Some programming languages I’ve tried and liked and would recommend to others:C (especially C89/C90/“ANSI C” and C99)posix shell, bourne shell, and similar shells (bash, ksh93, mksh)PHPScheme (depending on the vibes I’m getting from someone I might recommend)Common Lisp (Same caveat as Scheme)Emacs Lisp (Same caveat as Scheme and Common Lisp)Motorola 68000 assembly │ ║
║ │ │ ║
║ │ Some languages I’ve tried and liked but would not recommend to others:Hewlett-Packard RPL (Actually I might recommend it to someone but it has to be a very specific kind of person)FORTH (same as RPL)Commodore BASIC (Microsoft BASIC) for the VIC-206502 assembly (so bad it’s good)Z80 assembly │ ║
║ │ │ ║
║ │ Some languages I’ve tried, did not like, and would not recommend to others:COBOL (maybe I could get used to it? I can at least read it. Just it’s so painfully like writing SQL statements without being as generally useful as SQL database queries)Kotlin (Like that feeling when you read words that alone you understand, but together in a sentence they make zero sense)JavaClojure (a.k.a. “Let’s make Common Lisp but make it worse”)Rust (stands for “Ridiculous Use of System Time” or something as far as I am concerned, heavy on memory and storage and super slow to compile and reads like Kotlin)TI BASIC (TI-82/83/84 style; TI-89 is a little bit better but still not good)C++ (unless you’re just writing almost completely C and building it with a C++ compiler)x86 assembly (I kind of like it but mostly don’t, there are better and more coherent CISC processor ISA’s if you’re into that) │ ║
║ │ │ ║
║ │ I should put Javascript somewhere, so I’ll say that it’s possible to write javascript code that I like and can read. Just no one chooses to do it anymore. There was a window between the time JQuery started to fade and all these stupid fucking “web frameworks” took off that it was somewhat tolerable. │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #119 fediverse/4523 ---
═════════════════════════════════════════════════════════════──────────────────────
If anyone has need of an easy-to-use distributed computing programming
language, or if you're interested in easy-to-implement GPU computing for
parallelizing large amounts of simple tasks, check out the Chapel programming
language.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════─────────────────────┘
--- #120 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #121 fediverse/1477 ---
═════════════════════════════════════════════════──────────────────────────────────
@user-883
hmmmm I'm running mediamtx on the same computer that I'm running the streaming
script on. I'll try with 127.0.0.1
I don't think I updated my system since it was working last time. I'll scroll
through our chat and see if I can find any hints.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #122 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #123 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 │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #124 fediverse/2566 ---
═══════════════════════════════════════════════════════────────────────────────────
┌──────────────────────┐
│ CW: re: mh+, nix │
└──────────────────────┘
@user-1286
I totally agree! Every time I install new software I write an "update" and
"run" script so that I can easily use software that I haven't touched in a
while.
once I started doing that the usability of my system went way up. Unless they
change the installation requirements, grrrrrrr
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #125 fediverse/2011 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-883
nvim is nice because you can make addons or plugins or whatever in Lua, which
is the easiest language in the world.
I think VSCode sucks - it's literally a web browser that views your own code,
and it's made by Microsoft so it probably SENDS it to them too. Probably.
I like nvim because it's just Vim except you can use more plugins (the ones
written in Lua)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #126 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 │
╘══════───┴╧───────────────────────────────────────────────────────────────────────────┘
--- #127 fediverse/5880 ---
════════════════════════════════════════════════════════════════════════════───────
I legitimately think computers should write code and software engineers should
write legislation and lawyers should resolve problem tickets made by aggrieved
citizens while judges do their best to just keep the boat floating
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #128 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #129 fediverse/3756 ---
══════════════════════════════════════════════════════════─────────────────────────
┌──────────────────────┐
│ CW: LLM-mentioned │
└──────────────────────┘
@user-1071
I have plenty of things made, but none of it organized : (
Kinda makes me wish I could like... train an LLM on my social media posts and
use it programmatically somehow to help me organize my stuff into different
categories according to what kind of topic or style they were written in.
Hmmm......... There's no way I could do it, I mean, there's no way I could
organize and edit my stuff, but with the help of a computer I might.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #130 fediverse/1448 ---
═════════════════════════════════════════════════──────────────────────────────────
┌──────────────────────┐
│ CW: cursed │
└──────────────────────┘
that one option flag in the config file that you don't know what it does
because the documentation intentionally doesn't explain it very well (or
explains that it solves a use-case that like, nobody would ever have, and
certainly you don't have) that secretly sets a flag which sends your [redacted]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #131 fediverse/876 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-246
there is a reason to be annoyed, and that reason is that storing numbers as
"dynamically typed" string values is both inefficient and frustrating due to
the bugs it provokes.
Not sure how common those bugs are in HTML, but dynamically typed languages
like Python and Javascript have a whole class of potential errors that are
significantly more difficult to debug than on C or Rust where the variables
are statically typed
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #132 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #133 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 │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #134 fediverse/3776 ---
══════════════════════════════════════════════════════════─────────────────────────
whenever repeating letters like thiiiiiiis or thisssss make sure if you're
doing K's that you have at least four
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #135 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #136 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 │
╘═════════╧╧═══════════════════════════════════════════────────────────────────────────┘
--- #137 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 │
╘═════════╧╧═══════════════════════════────────────────────────────────────────────────┘
--- #138 fediverse/3148 ---
════════════════════════════════════════════════════════───────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
A big reason why I hate Java is because I write terrible Java that would
constantly need to be refactored. Even though it's faster and better, nobody
would understand it, so it would need to be rewritten. Fucking great, that's
why I don't write Java. Fucking Java.
[Java is the main language used in her university studies. The ones she's
currently failing out of.]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #139 fediverse/5612 ---
════════════════════════════════════════════════════════════════════════───────────
you know, [you can just randomize your profile every time you log in] .... oh
there was a stack overflow at the last one so
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════──────────┘
--- #140 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #141 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #142 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 │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #143 fediverse/282 ---
════════════════════════════════════════════───────────────────────────────────────
@user-209
I think you're right. Every letter in the variable name is another byte the OS
has to keep track of, which was a bigger problem in the past than it is today
(when it's been made irrelevant)
it's interesting how habits persist though the conditions that caused them
have faded. like a personal reflection of the environment you learned in.
"A a = new a();" is much more concise and (crucially) you can fit more words
to the right.
"a + b = c; c -= 2; f_z.write(c); f_z.close();" could conceivably be written
on a single line if you have short variable names. and when you only have so
many lines...
glad we're not constrained by those things anymore. the skeletal code that we
look at daily is much clearer - scope is more important, and so it makes sense
to encourage a coding style that illustrates it. however I can't help but
think block formatting like this could be useful in some situations, such as
when you'd normally be compelled to write a function for an operation that
runs once or more.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #144 fediverse/5180 ---
════════════════════════════════════════════════════════════════════───────────────
it's trivial to run a C compiler inside of a lua interpretation of a script.
And vice versa - you could totally run lua functions from C. Just point to the
spot in memory where they're stored / operating, and call
"update_class_exhibitor_type_d()" and the linker will come along and say "huh
this looks like something from this library that's part of the requirements up
above" (the "includes" section is where you say which files include the
functions you're going to be calling) and in this particular case it would see
that you need to start up a lua interpreter inside of the [either compiler or
running program I can't remember] to properly execute the function of the
function that you're pointing at with a lua-pointer style data object which is
part of a struct that stores all the other lua functions in a spot in memory.
this would enable you to write computer programs in whatever language you
choose, and build them into one large project. Essentially opening up software
development to ANYONE WHO CAN PROGRAM
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════──────────────┘
--- #145 fediverse/2945 ---
═══════════════════════════════════════════════════════────────────────────────────
my favorite feeling is when I hear my fans running intermittently on my
computer even though I'm not doing anything and there aren't any new processes
in my resource manager
like... that feels like a virus, but I'm on Linux, so what do I know right?
it's probably not somebody deleting all my art. or perhaps just selective
parts. Backups are a loooooot to manage >.>
... or even just mining crypto-coins lol, botnets amiright??
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #146 fediverse/6251 ---
╔═════════════════════════════════════════════════════════════════════════════─────┐
║ "Hi computer, all is well. Can you create me a visualization of this │
║ particular mathematical concept? It should be written in Lua using the Love2D │
║ engine because that's my favorite. I should be able to step through the │
║ calculation steps and modify values at each stage, and by the end we should │
║ have a fully interactable system which works through the general concepts of │
║ this particular kind of math." │
║ │
║ "no no I don't want you to explain it to me, I want a tool - a toy - that I │
║ can play with to better understand it. Let's build it in Lua using the Love2D │
║ engine because that's my favorite. When we're done we can start converting it │
║ to use HTML5 - no javascript! - but for now let's get the system operational. │
║ It should have a config file that can be adjusted with every value we can │
║ think of." │
║ │
║ "can you go through this fully functional system and extract as many values as │
║ you can think of into a config file? make sure there's efficient loading of │
║ those values in the main function (or somewhere similar) as well. ty" │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧════════════════════════════════════════════════════════════╧═════─────┘
--- #147 fediverse/1221 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
either that or I might get lost in some C code we'll see how things develop
>.>
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #148 fediverse/3587 ---
═════════════════════════════════════════════════════════──────────────────────────
┌─────────────────────────────┐
│ CW: re: computers-mentioned │
└─────────────────────────────┘
I realized that script was bugged, so... here's a better one. Plus a fun run
script too!#!/bin/bash
set -euo pipefail
DIR="/home/ritz/programming/chapel/language-files"
VER="2.1.0"
FIL="chapel-${VER}.tar.gz"
URL="https://github.com/chapel-lang/chapel/releases/download/${VER}/${FIL}"
NUM_THREADS="16"
touch ${DIR}/files
rm -dr ${DIR}/files
mkdir -p ${DIR}/files
wget --output-document ${DIR}/${FIL} ${URL}
tar xf ${FIL} --directory=${DIR}/files
rm ${FIL}
cd ${DIR}/files/chapel-${VER}
export CHPL_LLVM=system
source ${DIR}/files/chapel-${VER}/util/setchplenv.bash
make -j${NUM_THREADS}
echo "now testing, to validate LLVM configuration as suggested in the docs:"
chpl "./examples/hello3-datapar.chpl"
./hello3-datapar
echo "the chapel programming language is now fully installed! Have fun!"
cd -
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #149 fediverse/204 ---
════════════════════════════════════════════───────────────────────────────────────
┌────────────────────────┐
│ CW: re: guns-mentioned │
└────────────────────────┘
@user-95 hehe true. I have a Pathfinder 1e one shot tomorrow and I haven't
built my character yet D: to say nothing of all the long term "productive"
things I've been directed away from... Oh also my best friend wants me to
write a program in C that cracks a 9 character password (all lowercase
letters) and I sooooorta know how to do that but getting high certainly won't
help
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════──────────────────────────────────────┘
--- #150 messages/454 ---
══════════════════════════════════════════════════════─────────────────────────────
AI that can't run on a laptop is useless.
But AI that can run on a laptop (even now) is still useful.
Just, don't ask it to compose a masterpiece, solve all your problems, or write
elegant code. It's not for that.
Instead, ask your chatbot "hi can you fix these syntax errors?" on your
pseudocode.
Ask your weighting algorithm "which of these two is more [adjective]?" or
perhaps "can you ask these numbers in the form of a question?"
Use your tools not for their intended purpose, but rather for your own stated
goals. Make things easier for people, make things work.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #151 fediverse/369 ---
═════════════════════════════════════════════──────────────────────────────────────
Gaming on Linux is never knowing for sure that a game will launch.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #152 messages/127 ---
══════════════════════════════════════════════─────────────────────────────────────
All I want for my mobile computing is the ability to use the interface of
android to access resources and perform tasks that are relevant to my primary
computer. Like, a mainframe with the phone as a terminal. Except instead of
text, it's buttons and sliders and all the things that mobile UI experts have
spent so much time carefully crafting.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #153 fediverse/3282 ---
════════════════════════════════════════════════════════───────────────────────────
I hate how fragile Linux is
It deserves to be strong and durable
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #154 messages/770 ---
═══════════════════════════════════════════════════════════════════────────────────
There are some pieces of software where you think "oh cool, what did they
update?" and then there are some like "oh god... What did they update?"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════───────────────┘
--- #155 messages/916 ---
═════════════════════════════════════════════════════════════════════════──────────
... yay I beat stack overflow, your input context is part of the previous
message, yay good jobs boy computer *["pat pat" but pronounced pay]*
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #156 messages/755 ---
══════════════════════════════════════════════════════════════════─────────────────
Code editor that moves boxes by saving over the file with a lua script every
time you moved a function call around.
Oh lemme start at the beginning:
A code editor program that's like a text editor like Vim or Emacs. If you
don't know what those are, you should probably learn Emacs. Or Vim. Up to you.
Oh right so if you do know what those mean, here's the idea: the white space
matters. It's counted and tracked into variables in a LUA script which
interface with the Vim C keybindings.
"run a function within a c program or LUA script which calls a bash command
which opens Vim for example with a file you want to edit. Then, inside the
file, your spaces and tabs would WYSIWYG for the various food ads placed
about, and then you could very easily create game design knowledge.
WASD to move, alternatively hjkl
It would run a check every time the file updates and depending on how it
changed it'd mark certain variables which would change the website as the user
moved things around.
It's just files. And files are just bits. But files are a useful abstraction,
If you realize that "ugly hacking" should be industry standard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #157 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #158 fediverse/281 ---
╔════════════════════════════════════════════──────────────────────────────────────┐
║ ┌─────────────────────────────┐ │
║ │ CW: cursed-game-engine-idea │ │
║ └─────────────────────────────┘ │
║ │
║ │
║ a game engine which won't let you import custom assets unless you complete a │
║ few simple tasks using the interface - "build a green capsule collider" "make │
║ this soldier unit shoot three bullets per shot" or "enable the automatic linux │
║ support" - using the interface, writing some code, and changing configurations. │
║ │
║ why would anyone do this? well it could be useful to increase the difficulty │
║ of importing external resources. plus it helps the user learn a bit over time, │
║ and it slows the pace of output such that the user's skills are encouraged as │
║ the output of the programming and not the program itself. │
║ │
║ an inverse curse (an evil one) would be where the requirements to complete │
║ basic tasks are hidden behind unapplicable skills. like, do you know exactly │
║ which buttons to press? engage with the skinner box, please. yes yes this is │
║ what we need - unintuitive software that completely disarms the populace from │
║ using them! suddenly they're worthless, and can't do anything on any surface. │
║ it sucks │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════───────────────────────────┴──────────┘
--- #159 fediverse/1320 ---
═════════════════════════════════════════════════──────────────────────────────────
┌───────────────────────────────────────────────────────┐
│ CW: cursing-mentioned-programming-languages-mentioned │
└───────────────────────────────────────────────────────┘
BASH with the syntax/semantics of LUA and the performance of C would probably
be the perfect language, IMHO
procrastinating again, damnit
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #160 fediverse/1758 ---
══════════════════════════════════════════════════════─────────────────────────────
@user-883
you could read in every line in Lua and if it matched the format that the
times for the subtitles are in, then you could += 5 seconds or whatever and
save the document. .srt is just a textfile right?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #161 fediverse/2484 ---
╔══════════════════════════════════════════════════════────────────────────────────┐
║ @user-1271 │
║ │
║ I can help with that. │
║ │
║ I recommend looking at Ollama, which runs an HTTP server on your local machine │
║ (hope you have a decent graphics card) │
║ │
║ then, script some behavior you'd like to implement using Lua and the │
║ LuaSockets library. Also dkjson to handle the json parts. │
║ │
║ then, all you have to do is construct a prompt based on the variables and │
║ desired input/output and push it into a json packet and send it to the HTTP │
║ server. It's less complicated than it sounds. │
║ │
║ what you want it to do and your implementation for it is the hard part. But │
║ perhaps this project of mine will get you started: │
║ │
║ (I can copy-paste it too if you'd like) │
║ │
║ just... don't make a chatbot. chatbots are useless to work on because there's │
║ already so many of them. │
║ │
║ much better I think to use the LLM to process arbitrary information with an │
║ unpredictable form into more predictable patterns which can be utilized │
║ programmatically. │
║ │
║ Feel free to ask any questions. Do keep in mind that training LLMs is │
║ unethical, but using them is whatever. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═══════════════════════════════════════════─────────────────┴──────────┘
--- #162 fediverse/548 ---
══════════════════════════════════════════════─────────────────────────────────────
I added a line to my .bashrc that cats out a random one of my notes every time
I open a terminal.
I keep reading things that I swear I didn't write, but feel right and true to
me in a way that could only imply that they came fully formed into my eyes
through the lines on my screen, cast upon the mirror panes of my hard disk
drive by the pounding of my keyboard as I once upon a time did cast a spell
upon my future.
It's pretty neat, but it speaks to a shadowed perspective that perhaps is
neither within nor without.
Side note, I think I've been possessed by a witch. But like... in a consensual
way. Like "Hey witch, wanna live? You can chill out with me." [ha that's one
way to look at it]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #163 fediverse/6267 ---
══════════════════════════════════════════════════════════════════════════════─────
if you have TTS software you can listen to anything with any tone. this makes
it difficult to find things.
============== stack overflow ============
some people work by asking for funding. others work by saving up.
============== stack
overflow ============
teach your animals to be actors so they know how to develop the scene. then
they will truly come alive, as their narrative curve gives them determination
in the outcomes of their goals.
============== stack 1234flow ============
I believe it is good and natural actually for parents to guide their children
as they grow?
"oh but they can't consent to giving up their control" well too bad they're 2
"ah but what if they WANT to run with scissors?" thus widening the [redacted]
gap. "ohhhh she redacts things when she can't spell them" and also for comedic
or dramatic effect sometimes. was not ACTUALLY redacted. redcoated. red coded.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #164 fediverse/6126 ---
═════════════════════════════════════════════════════════════════════════════──────
@user-1900
if you can do ethernet instead of usb, this might work:
https://pine64.com/product/star64-model-a-8gb-single-board-computer/
it's got two ethernet ports.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #165 fediverse/1808 ---
══════════════════════════════════════════════════════─────────────────────────────
I'm a computer programmer. Of course I make abstract art.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #166 fediverse/879 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-501
also it's only undefined behavior because the order of the bits aren't
defined, so if you do bitfield "pointer arithmetic" then you're screwed if you
try and be portable with it. However if you're just using bitfields as
compressed data storage then you can safely access integer.a integer.b
integer.c etc safely and easily. The compiler doesn't care what order they're
in if you don't write logic that requires them to be in a certain order
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #167 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #168 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #169 fediverse/5961 ---
════════════════════════════════════════════════════════════════════════════───────
@user-138
maybe it's evil hackers - idk that's beyond my expertise - good luck : )
(I'd need to see the piece of technology to work on it. I'm a hardware kinda
[girl, but pronounced guy])
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #170 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #171 fediverse/6120 ---
═════════════════════════════════════════════════════════════════════════════──────
┌──────────────────────┐
│ CW: AI-mentioned │
└──────────────────────┘
it's pretty easy to read an article or blog post, copy the text into a text
file, and forget about it.
you never know when you might want to use your computer's memories for
[entertainment during long dark nights, or for creating an AI buddy bot,
depending on how things go]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #172 fediverse/5386 ---
═══════════════════════════════════════════════════════════════════════────────────
@user-670 @user-1815 @user-1816
literally nobody has contributed to the one github repo I have
ever. I got like, one comment from some guy in China or Taiwan. It's been up
for like, 4 or 5 years and it's on my website. /shrug I guess most people
bounce off after reading the splash screen /shrug
to me, a FOSS project feels static because I don't believe in centralization
and I also don't have the bandwidth or need to work on it. /shrug
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #173 fediverse/3126 ---
════════════════════════════════════════════════════════───────────────────────────
┌──────────────────────────────┐
│ CW: open-source-spirituality │
└──────────────────────────────┘
thank god for open source software
thank god for open source software developers
thank open source developers for god
thank developers, my god
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #174 fediverse/5962 ---
════════════════════════════════════════════════════════════════════════════───────
all you need for mouse buttons is alt ctrl and... shift
then bind shift to everything that you can.
can also bind backspace and delete if you have enough keys
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #175 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #176 fediverse/3064 ---
════════════════════════════════════════════════════════───────────────────────────
@user-570 @user-246
you know you two could have spared yourselves all this trouble if you just
ScReEnShOtTeD the code! Then it'd be easy to see with your very
not-visually-impaired eyeballs on your graphical user interface, considering
of course that everyone has perfectly functional eyeballs and perfectly visual
graphical user interfaces
/s of course
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #177 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #178 fediverse/2900 ---
═══════════════════════════════════════════════════════────────────────────────────
┌───────────────────────────────────────────────────┐
│ CW: capitalism-mentioned-AI-dataservers-mentioned │
└───────────────────────────────────────────────────┘
what if all the AI advancements they're doing are just them building more
hardware infrastructure in datacenters and not actually improving the software
that much
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #179 fediverse/5990 ---
════════════════════════════════════════════════════════════════════════════───────
I have this local language model framework but it's not built into anything
more than a single-response question. It's runnable as a bash script or lua
require, which is easy enough. Alas, if only I didn't have to use evil
corporate infrastructure to make evil corporate cursed artifacts
[hey don't blame this on us]
oh I'm not, I'm just saying that it'd be cooler if I could build my own tools.
Alas, I'm...
lasy?
n...no
I'm drawn to the power of it
it's got a different magnitude
it's hard for me to apply myself for things that last longer than a "get
stoned", but I try as if every time afterwards I might die.
well, more distraction time, as I wander through claude code
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #180 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════════════───┘
--- #181 messages/972 ---
══════════════════════════════════════════════════════════════════════════─────────
vibecoders write detailed instructions. "A for loop which iterates through all
of the elements" and not "a package manager that stores all of it's instants"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════────────┘
--- #182 fediverse/3544 ---
═════════════════════════════════════════════════════════──────────────────────────
┌───────────────────────────┐
│ CW: programming-mentioned │
└───────────────────────────┘
"I wish there was a language that was as simple as C but had [insert complex
language feature here]"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #183 fediverse/4946 ---
══════════════════════════════════════════════════════════════════─────────────────
I would trust the CIA if they gave me continual access to all surveillance of
myself
-- stack overflow --
what if you made a program which cycled credentials?
like... "give me a random credential for Zoom" because we share all of our
digital resources
did you get banned for account sharing? no you didn't because you routed
through the correct VPN
automagically
[has never had a software job]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #184 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 │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #185 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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #186 notes/mastodon-biography ---
═════════════════════════════════════════════════════════════════════════──────────
cursed is she
as once she was he
but now she is doing a bit better
---
the truth is, the way to relate to my profile is to treat it like a magic
spellbook.
you can download my words on my website, and then flip through them
page-by-page.
please use it in a terminal emulator. you can get them online in your web
browser for free. the program only outputs text, so it's best to just use the
text-outputing software that's already out there - the SHELL command line
interface. My personal favorite starts with BA because I'm a traditionalist.
then, read from them like a book. you can do it in your mind, just, actually
say the words and imagine how your body would pose. your imagination can do
the speaking, you just have to picturing it both open and closed. "blah blah
blah blah" whatever the poem's about, with a mouth moving open and closed
between two different binary oscillation states.
like... a video game dialogue box talking head image profile [stack overflow]
[means I ran out of room in my brain to conduct [like electricity] more
thoughts onto my keyboard typing graphical tabl
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #187 fediverse/3123 ---
════════════════════════════════════════════════════════───────────────────────────
using linux requires constant maintenance and that's kind of unfair, actually.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #188 fediverse/4686 ---
════════════════════════════════════════════════════════════════───────────────────
Being in motion sucks. Literally can't even put on my shoes without thinking
of toots to fart out.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #189 fediverse/3593 ---
═════════════════════════════════════════════════════════──────────────────────────
@user-883
I feel like you could set up a performance where you walk through your
workflow on various things and set it to music and make a dope-as-heck music
video.
like, the "retro" vibes and aesthetics of your posts on my timeline are always
a joy to see. I can't help but wonder if they could be crystallized /
essentialized somehow into something neat to watch.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #190 fediverse/6008 ---
════════════════════════════════════════════════════════════════════════════───────
┌────────────────────────┐
│ CW: politics-mentioned │
└────────────────────────┘
why does nobody write bolshevik fanfiction where they were more [insert
characteristic here] and less [insert characteristic here]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #191 fediverse/3234 ---
╔════════════════════════════════════════════════════════──────────────────────────┐
║ ┌────────────────────────────────────────────────────────────────┐ │
║ │ CW: ritz-is-fucking-stupid-I-guess-oh-whoops-cursing-mentioned │ │
║ └────────────────────────────────────────────────────────────────┘ │
║ │
║ │
║ my understanding is that anyone with my IP address could make my heart bleed │
║ due to a hardware vulnerability on my motherboard. Though you might have to │
║ get past my decrepit ancient linksys EA 3500 router from 2012 first. │
║ │
║ unrelated, but does anyone want my IP address? I don't have any remote │
║ backups, so if you hate me now would be a great time to show me how despised I │
║ am. Alternatively you could try searching for anything evil to ensure that I │
║ can be trusted. You're gonna find mostly video games and source-code that I │
║ didn't write though. But also all my notes in directories that are │
║ non-standard, meaning you'll have to look around a bit. I leave little notes │
║ everywhere I go, so that I can remind myself how to do things in the │
║ directories I revisit months later. It's so weird how sometimes the things I │
║ wrote stop working after a while even if I didn't update my system lmao │
║ │
║ what is it with artists and self-immolation? "I never thought I'd actually di │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════════════════───────────────┴──────────┘
--- #192 fediverse/2124 ---
╔══════════════════════════════════════════════════════────────────────────────────┐
║ seriously, just google docs mixed with WC3 editor. │
║ │
║ boom, infinite storytelling device. As long as you were good with it, which │
║ was something that a CHILD could learn in like 3-6 months. │
║ │
║ Seems like it could be an ENTIRELY NEW SKILL that people could play with. │
║ │
║ But no, we learn excel and word in class at middle school. │
║ │
║ boring. │
║ │
║ I'd rather learn Bash or terminal customization or memory hierarchy │
║ organization. │
║ │
║ Yeah I mean that's cool but dude have you heard of multithreading? It's so │
║ cool, you can run like 500 different thoughts at once. It's amazing. │
║ │
║ ... I dunno, but I'm sure there's times when you'd want to use it. Like, │
║ processing a lot of data little-by-little. │
║ │
║ like, what if you had a camera feed of EVERY social media perspective AT ALL │
║ TIMES. Like, an instance admin streaming your inputted text to their databanks │
║ that they can project onto an LLM which interprets and identifies mis-aligned │
║ or altered direction units and mark them as "flagged", whatever that means, │
║ for their future the algorithm doesn' │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═══════════════════════════════════════════─────────────────┴──────────┘
--- #193 messages/527 ---
══════════════════════════════════════════════════════════─────────────────────────
could give us some experience organizing small, short-term projects to
accomplish specific goals and tasks in an ad-hoc way that relied less upon
procedure and more on "I think so-and-so knows something about that, they were
looking into those files and posted a breakdown of how they work yesterday"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════────────────────────────┘
--- #194 fediverse/1238 ---
╔════════════════════════════════════════════════──────────────────────────────────┐
║ did you know you can run runescape classic offline, locally, just for your own │
║ server? You can keep several computers ready for a LAN party, each with their │
║ own accounts ready to go. │
║ │
║ "Oh we're level 30 this time because so-and-so is hosting and this is how far │
║ their computer has levelled up." │
║ │
║ vim ~/games/runescape-classic/credentials.txt │
║ │
║ at least, I think you can. I know it's singleplayer, so worst case scenario │
║ you can all be doing the same things at the same time in your own games. Maybe │
║ split up for a mission or two, but it can get hectic if everyone's in the same │
║ room. │
║ │
║ = │
║ │
║ a game jam where everyone works on the same project, uses the same asset list, │
║ but builds their own collection of minigames. │
║ │
║ common functions could be shared, and art references distributed and together │
║ they could design a whole land. Like, there's no reason minigames can't be │
║ fully fledged experiences. You can have as many as you want, all in the same │
║ engine and built from a massive (yet sandboxed) environment. │
║ │
║ an all in one game. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════════───────────────────────┴──────────┘
--- #195 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 │
╚═════════╧════════════════════════════════════════════════════════────┴──────────┘
--- #196 fediverse/94 ---
═══════════════════════════════════════════────────────────────────────────────────
@user-107 If you can figure out how to do it well, everything else seems less
difficult. : )
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════───────────────────────────────────────┘
--- #197 fediverse/1173 ---
════════════════════════════════════════════════───────────────────────────────────
hey does anyone want to hire me to do literally anything?
I'll work for peanuts, and I'm pretty good at programming in C. I write pretty
well, and I'm excellent at customer service (though my profile would beg to
differ.)
I have experience at large corporations and small ones, and I live in Portland
OR
I do game design, and many other things besides, and I'm friendly and kind. I
promise I won't wear my witch hat to the meeting with investors, unless you
think they'd be into that?
I'm great with animals, better than people in fact, and I'm quite good with
people, as they're just animals at best. I'm not as strange as I seem to be,
at least not when you're dancing with my mask.
I've grown quite bored, you see, and what better thing is there to be? than a
working professional who knows what's best.
I believe in our shared future, so if you'd like to work on a project just let
me know - I work hard. A little too hard, because odds are I'll burn out after
a year or so.
I'm quite sharp, and I learn quickly.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #198 fediverse/1116 ---
╔════════════════════════════════════════════════──────────────────────────────────┐
║ ┌──────────────────────┐ │
║ │ CW: eye-contact │ │
║ └──────────────────────┘ │
║ │
║ │
║ It's important to build self-hostable computing components of video games (as │
║ in, old style games where you could host a server on any machine instead of │
║ just the ones owned by the corporation) (as in, your machine, yes yours) │
║ (something you can control and observe, something within your control) │
║ │
║ ======================= stack overflow ===================== │
║ │
║ there are two ways to play Unreal Tournament (capture the flag) gamemode. The │
║ first is to run past all your enemies and fire at them as you pass, which is │
║ what some of the bots are designed to do. The rest stay on defence, and defeat │
║ any enemies that approach. │
║ │
║ however, they never push the borders of their "territory" forward - each │
║ according to the different "lanes" or "directions of approach" │
║ │
║ I like the use 32 bots, to simulate a more consistent gameplay experience. It │
║ feels more like ww1, fighting over ground, pushing forward and attempting to │
║ outmaneuver your foes. │
║ │
║ some allies will approach from behind, and you let them pass forward while │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧═════════════════════════════════════───────────────────────┴──────────┘
--- #199 fediverse/1184 ---
════════════════════════════════════════════════───────────────────────────────────
@user-883
whoa, cool! So with one of these you can flash any ROM you want onto the
cartridge and it should play any GBA/GBC game you uhhh legally own and have
pulled the ROM from? If so that's pretty neat
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════──────────────────────────────────┘
--- #200 fediverse/4196 ---
════════════════════════════════════════════════════════════───────────────────────
if you only have a phone, you can still program. Just write it out on paper,
and put the whole program out on the floor.
Screens will never compare, for they are but a tiny keyhole into the total
program at hand. And you can pick parts of it up and carry them around - so
useful! You could make an entire building out of that. [floorplan, layout,
that kind of thing]
downside is, of course, you don't have a computer, so you have to look up
syntax on your phone.
and eventually you're gonna have to type it, unless you can get a computer to
read it for you.
just imagining office buildings where employees can follow along with monitors
on the wall that explains what they're working on and what they need to resolve
then they meet up with a bunch of other humans and they hash things out
turns out computers are really bad at speaking in group situations.
which is why they let humans do that all on their own. [uhhh, no it's how you
can tell if someone's a robot/alien/lizard/spy/secret-agent/whatever-sneaking]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
|