=== ANCHOR POEM ===
═══════════════════════════════════════════════────────────────────────────────────
@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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
=== SIMILARITY RANKED ===
--- #1 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 │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #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/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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #4 fediverse/3787 ---
═════════════════════════════════════════════════════════──────────────────────────
arithmatic control flow
If A, then B. Else C
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
--- #5 fediverse/4720 ---
═══════════════════════════════════════════════════════════════────────────────────
@user-882
it's a security hole though
yeah... there ya go...
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════───────────────────┘
--- #6 fediverse/3123 ---
═══════════════════════════════════════════════════════────────────────────────────
using linux requires constant maintenance and that's kind of unfair, actually.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #7 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 │
╘═════════╧╧═════════════════════════════════════════════════════════──────────────────┘
--- #8 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 │
╘═════════╧╧════════════════════════════════════════════════════════════════───────────┘
--- #9 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 │
╘═════════╧╧════════════════════════════════════════════════════───────────────────────┘
--- #10 messages/488 ---
═══════════════════════════════════════════════════════────────────────────────────
Look at the unique patterns in a programming language, and you will find
within them a usecase.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #11 messages/377 ---
════════════════════════════════════════════════════───────────────────────────────
infinite dedication implies stagnation, don't be so quick to trust.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #12 fediverse/6269 ---
═════════════════════════════════════════════════════════════════════════════──────
what if the secret to LLM computation is to just not reduce the fractions and
keep it all in english language ram
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════════════════════════─────┘
--- #13 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 │
╘═════════╧╧═════════════════════════════════════════════════════──────────────────────┘
--- #14 fediverse/3338 ---
═══════════════════════════════════════════════════════────────────────────────────
@user-246
I tend to stack overflow a lot T.T
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #15 fediverse/3737 ---
════════════════════════════════════════════════════════───────────────────────────
Nix the complexity.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════════──────────────────────────┘
--- #16 fediverse/573 ---
═════════════════════════════════════════════──────────────────────────────────────
already spotted a bug. Should be for(1000 / MAX times) in the last example.
EDIT: Or, even better, increment that loop by +MAX instead of +1 each time
through.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #17 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 │
╘═════════╧╧═══════════════════════════════════════════════────────────────────────────┘
--- #18 fediverse/1588 ---
═══════════════════════════════════════════════════────────────────────────────────
@user-1035
Even better if you say "you do you too"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════───────────────────────────────┘
--- #19 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 │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #20 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 │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
|