=== ANCHOR POEM ===
════════════════════════════════════════════════════───────────────────────────────
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 │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
=== SIMILARITY RANKED ===
--- #1 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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #2 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 │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #3 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 │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #4 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 │
╘═════════╧╧═══════════════════════════════════════────────────────────────────────────┘
--- #5 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 │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #6 fediverse/1035 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-757 @user-192
true and my suggestion doesn't provide a tracelog, pretty much just the status
of the variables when it pauses or ends.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #7 fediverse/2111 ---
═════════════════════════════════════════════════════──────────────────────────────
when someone deletes what they were typing and starts over, that means they
have something more to share and you should try and figure out what it is with
questions.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #8 fediverse/1810 ---
═════════════════════════════════════════════════════──────────────────────────────
some people hear words like "datastructures" and "object-oriented programming"
and think they're made up terms that don't mean anything important.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #9 fediverse/1089 ---
═══════════════════════════════════════════════────────────────────────────────────
┌────────────────────────┐
│ CW: spirituality-scary │
└────────────────────────┘
to those who guide our fate
choose paradise
make eden
======================= stack overflow =====================
clouds of carbon are an affront to the sun god
just as they are an affront to mine lungs
or mine body temperature
[acid oceans are toxic to the plane of water]
[you think that would go unnoticed?]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #10 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 │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #11 messages/740 ---
════════════════════════════════════════════════════════════════───────────────────
had a dream that we gamified all work and then put them into one single
mega-game so whenever you wanted you could work on an arbitrary project and it
would spin up a new game and take your inputs and use them to accomplish
whatever was happening
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #12 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 │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #13 messages/968 ---
═════════════════════════════════════════════════════════════════════════──────────
what if you painted every house twice, to ensure you got the color completely
applied [ bright green or yellow would shine through in little spots, clear
and obvious to even the most undiscerning of patrons of the arts
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════─────────┘
--- #14 fediverse/5189 ---
═══════════════════════════════════════════════════════════════════────────────────
computer programming essentially boils down to putting the right values into
the right datastructures at the right time and in the right order.
If you count a function call as a datastructure, which I do, because I have
opinions.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════───────────────┘
--- #15 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #16 messages/1051 ---
════════════════════════════════════════════════════════════════════════════───────
Good storytelling is telling things [even if/because] they are plot of the
events as told via -- stack overflow -- hmmm this was from a while ago, idk
when
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════════════════════──────┘
--- #17 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 │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #18 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #19 fediverse/4463 ---
════════════════════════════════════════════════════════════───────────────────────
at this point in time you probably shouldn't be forming NEW online communities
unless you're part of an OLD community that just isn't radical enough. And
then you should try and MERGE communities into larger, more geographically
concentrated ones.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #20 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
|