=== ANCHOR POEM ===
══════════════════════════════════════════════════════─────────────────────────────
all modern software should be written in a multithreaded way, change my mind
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════────────────────┴───────────┘
=== SIMILARITY RANKED ===
--- #1 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 │
╘═════════╧═══════════════════════════════════════════────────────────┴───────────┘
--- #2 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 │
╘═════════╧═══════════════════════════════════════════────────────────┴───────────┘
--- #3 fediverse/2859 ---
══════════════════════════════════════════════════─────────────────────────────────
┌───────────────────────┐
│ CW: cursing-mentioned │
└───────────────────────┘
large corporations will often error check *constantly* which slows down their
software to an immense degree.
every time data passes from one function to another, there's like... 15
different tests to check if it's this type or that, or in the right random seed
and it's like... wow can you not, like. design your software intelligently and
then you won't need a bunch of slow-ass if checks every time you want to
update a string???
software should be writable without fucking getters and setters. If it isn't,
then your functions aren't complete.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════────────────────────┴───────────┘
--- #4 fediverse/6106 ---
══════════════════════════════════════════════════════════════════════─────────────
┌─────────────────────────────────────────────┐
│ CW: wild-unhinged-absurd-thoughts-mentioned │
└─────────────────────────────────────────────┘
what if closed source computing is actually better?
computer programs should be dumb
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════┴───────────┘
--- #5 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 │
╘═════════╧══════════════════════════════════════─────────────────────┴───────────┘
--- #6 notes/linux-breaks-your-software ---
══════════════════════════════════════════════════════════════════════════════════─
what if we didn't have to use linux
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧═══════════┘
--- #7 fediverse/2730 ---
══════════════════════════════════════════════════─────────────────────────────────
80% of the complexity in modern computing is from the graphics stack.
the other 20% is from networks.
the last 40% is in avoiding race conditions with multithreading.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════────────────────────┴───────────┘
--- #8 notes/1234-sort-me ---
══════════════════════════════════════════════════════════════════════════════════─
inefficiency is design.
design can have inefficient parts.
design is worth more useitude than just performance.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧═══════════┘
--- #9 messages/455 ---
═════════════════════════════════════════════════──────────────────────────────────
I don't understand why modern software isn't error correcting. We shouldn't
have any bugs in this day and age.
For example, if you're missing a dependency then why doesn't your program try
to, I dunno, download that dependency to the program's installation directory
and use it there? Seriously there are very few problems that are unsolvable!
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════─────────────────────┴───────────┘
--- #10 fediverse/3745 ---
════════════════════════════════════════════════════───────────────────────────────
everyone's all like "why would you spend so much effort writing that software
in a distributed way when it works so well in a centralized manner" and the
answer is because you never know when you're going to need to train an LLM on
like, 400 raspberry pi's or calculate the velocity of an unladen swallow as it
circles a black hole the size of mercury or whatever physicists do in their
spare time
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #11 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 │
╘═════════╧═══════════════════════════════════════════════════────────┴───────────┘
--- #12 fediverse/1966 ---
image.png
═════════════════════════════════════════════════──────────────────────────────────
The design is simple: Have an array of function pointers that need to be
assigned to a thread. Then, have a manager thread read through that array, and
for every non-zero value put it into a thread-specific array. Those threads
will read through their personal array and execute whichever function is
pointed to by the function pointer placed in their todo-list by the manager
function.
... I'm too stupid to make it happen though. Writing code is hard.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════─────────────────────┴───────────┘
--- #13 messages/140 ---
══════════════════════════════════════════─────────────────────────────────────────
Remind me again why we need computers that are so mind numbingly fast that we
can't possibly hope to understand their entire stack?
Oh yeah, so we aren't able to understand their stack. How could I forget.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════────────────────────────────┴───────────┘
--- #14 notes/programming-style ---
═════════════════════════════════════════════════════════════════════════──────────
my programming is not a product., it is a way of thinking.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧══─────────┘
--- #15 fediverse/5839 ---
════════════════════════════════════════════════════════════════════───────────────
@user-1074
good code isn't always easily read. sometimes the architecture is more
important.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════════════════════──┴───────────┘
--- #16 fediverse/1768 ---
═════════════════════════════════════════════════──────────────────────────────────
programming is great but have you heard of "not working on forging new
technological paradigms and instead playing a 500th round of Mechabellum"?
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════════════─────────────────────┴───────────┘
--- #17 fediverse/4884 ---
═══════════════════════════════════════════════════════════────────────────────────
"okay but what if we made computers simple?"
- someone who doesn't know how computers work
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧════════════════════════════════════════════════───────────┴───────────┘
--- #18 fediverse/3615 ---
════════════════════════════════════════════════════───────────────────────────────
code is useless
the ability to write, maintain, or implement it is priceless
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #19 fediverse/6258 ---
image.png
═══════════════════════════════════════════════════════════════════════────────────
if your computer's resource demands are light, like linux cli style, then the
rest of your computing resources can be used for collective projects. we just
gotta think of what some of them are... HMMMM WHAT IF WE ALL WORKED ON
BUILDING A BIG BRAIN WITH EACH OF OUR INPUT COMPUTERS AS INPUT?
yeah ease off a bit there ][bigslider[]
=============== stack overflow =============
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧───────────┘
--- #20 fediverse/4846 ---
╔══════════════════════════════════════════════════════════────────────────────────┐
║ programmers already spend a ton of time as downtime. │
║ │
║ what if instead of interviewing someone they just... watched them program for │
║ like, 3 hours or so │
║ │
║ while they were thinking about a problem │
║ │
║ and like, if the person is cool, working on their own projects or whatever, │
║ then yeah hire them │
║ │
║ -- stack overflow -- │
║ │
║ I also │
║ │
║ ========================= stack overflow │
║ =============================================================================== │
║ ======================== │
║ │
║ a person thinks out loud the thoughts that their foes know. it's how you know │
║ it's not secret anymore, and it's better to keep it among allies │
║ │
║ [something like that? seems a little off] │
║ │
║ (are you really searching for edits) │
║ │
║ [that sounds pretty cool, sure why not we got a millenia] │
║ │
║ (beep boop one partial millenia later) │
║ │
║ [ah that was not a long rest. let's see, where were we when we were working on │
║ this test? oh dear, seems the biology's gone rogue, that's pretty interesting │
║ to attest. │
║ │
║ neato │
║ │
║ anyway let's wait until they figure out how water works │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩═══════════════════════════════════════════════─────────────┴───────────┘
--- #21 fediverse/3543 ---
════════════════════════════════════════════════════───────────────────────────────
@user-777
my favorite thing about specialization is that not everyone has to do
everything
(translate *that* into C lmao)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #22 fediverse/5248 ---
═══════════════════════════════════════════════════════════════────────────────────
programming is something that everyone should learn at 14 to be used for
calculating large sums of data, visualizing something they're trying to
explain, or connect two systems that aren't normally connected.
It should not be used as an eternal debug producing machine, nor as a way to
collect and store user information to be sold as the real product, nor to be
collecting and targeting -- stack overflow -- wow, talk about death of the
author, amiright? -- -- endless data hoarding monger machines to point and to
ponder the eternal ramifications of the brutal and violent prompts and their
baggage implied when submitted for each semi-random thought that from the
users mind was displaced.
... "they can sell this" and or "this is mrs selvig" who is this mister and
why is the ms's his-es
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧════════════════════════════════════════════════════───────┴───────────┘
--- #23 fediverse/5035 ---
══════════════════════════════════════════════════════════════─────────────────────
I don't think I could program in an IDE anymore. They're just way too
inconvenient.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════────────┴───────────┘
--- #24 fediverse/6359 ---
════════════════════════════════════════════════════════════════════════───────────
@user-192
it is rarely more efficient to think through a problem than it is to calculate.
But, speed isn't everything, so think we do some more.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════════════════════════════════╧═──────────┘
--- #25 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 │
╘═════════╧══════════════════════════════════════════════════─────────┴───────────┘
--- #26 fediverse/384 ---
═════════════════════════════════════════──────────────────────────────────────────
┌──────────────────────┐
│ CW: re: linux? │
└──────────────────────┘
@user-283
let us pray
for a day
when we can say
that computing makes sense
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════════─────────────────────────────┴───────────┘
--- #27 fediverse/73 ---
═════════════════════════════════════──────────────────────────────────────────────
The worst part is the technology to fix these problems exists. It's used all
the time in enterprise systems, it's just nobody understands how it works
because it's abstracted so far away from the hardware. I just love how I have
no idea what kind of software I'm running every time I use a common language
library. Sure I can trust a community, but like... I don't care about your
community? I don't know you. I don't hang out with you. I have no idea what
kind of person you are or what you believe. But sure you know more than me,
I'm sure you do, so therefore I should trust you? Surely this is the most
ethical and least vulnerable arrangement we could come up with for
distributing digital software in the future society of 2023.
And the corporations print money...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧══════════════════════════─────────────────────────────────┴───────────┘
--- #28 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 │
╘═════════╧═════════════════════════════──────────────────────────────┴───────────┘
--- #29 fediverse/5783 ---
╔══════════════════════════════════════════════════════════════════────────────────┐
║ I think our industry should work on one project at a time │
║ │
║ "do one thing and do it well" │
║ │
║ linux users code. │
║ │
║ everyone backends ffmpeg. │
║ │
║ everyone online uses chrome. │
║ │
║ what if we just rewrote every single program and... left it without updates in │
║ a "permanently forbidden" zone │
║ │
║ ... I mean what if we wrote non-proprietary alternatives to every proprietary │
║ source of computational knowledge and then we could only patch security │
║ vulnerabilities and compatibility change-bounties [oh no now you're allowing │
║ for endless levels of abstraction [meaning, operating system package │
║ installation bloat] and distasteractions.] │
║ │
║ the futures where all is not well nearly outnumber the well. but the inverse │
║ is also true, for they are divided roughly equal fifty. balance, in all │
║ things, is the only temperate state. when balance is │
║ [changed/something/uplifted], balance is inevitable to be search-shifted. │
║ │
║ why must you die for an audience? │
║ why │
║ │
║ ... I don't really want to, but what happens happens. we'll see if it's a for │
║ sure dealing. │
╠═════════╗ ┌───────────┤
║ similar ║ chronological │ different │
╚═════════╩═══════════════════════════════════════════════════════─────┴───────────┘
--- #30 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 │
╘═════════╧═══════════════════════════════════════════────────────────┴───────────┘
--- #31 fediverse/650 ---
══════════════════════════════════════════─────────────────────────────────────────
why don't we just demand backwards compatibility of our software as a
requirement?
ah because that would reduce demand. Nevermind that it's more flexible,
nevermind that we could accomplish so much more with it - it's expendable
[expensive] because it reduced market penetration. Not because of the
technology, because of the deluded and self-perpetuating
mechanicosmic-mechanicommunication that designed our lives. It's name is
capitalism, and it thrives where we survive, so that's good enough to
maintain-em? Sure why not. Brb sleeping for 8 hours. Or playing games.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧═══════════════════════════════────────────────────────────┴───────────┘
--- #32 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 │
╘═════════╧═════════════════════════════════════════──────────────────┴───────────┘
--- #33 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 │
╘═════════╧════════════════════════════════════════───────────────────┴───────────┘
|