=== ANCHOR POEM ===
═════════════════════════════════════════════════════════──────────────────────────
If you have a thousand options in your case / switch statement, you should
probably refactor.
consider putting function pointers (to the things you would have switched to)
in an array and instead of checking "if this enum, then this, if that enum,
then that" etc send an index into the function pointer array. That way there's
no branching at all.
The best way to generate performant code is to reduce or eliminate branches.
If you're working on a video game or networked program, this can be incredibly
important.
The second best way is probably reducing cache misses and increasing
parallelism, but those are different problems.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════════════─────────────────────────┘
=== DIVERSITY RANKED ===
--- #1 messages/738 ---
═══════════════════════════════════════════════════════════════────────────────────
Dear Anakin, for as long as you've known him, Obiwan learned just as much from
you as you did from him. His title as "master" was a formality - he didn't get
it because he was better than you, and "padawan" does not mean you are lesser.
There is no hierarchy. He was learning to teach at the same speed that you
learnt to learn. You built each other up, an unstoppable force for good in the
galaxy.
But then an evil wizard stole your heart and twisted your mind. Have no fear,
fear is the path to the dark side. Your mother knows this well, for it is a
common lesson among all people as they age. Fear not, hate not, and feel fury
more than rage. You can bring the universe into a bright golden age, never
forget your purpose and your [potential / duty]
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════───────────────────┘
--- #2 fediverse/699 ---
═════════════════════════════════════════════──────────────────────────────────────
┌──────────────────────┐
│ CW: meme │
└──────────────────────┘
🖼
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════─────────────────────────────────────┘
--- #3 fediverse/1678 ---
════════════════════════════════════════════════════───────────────────────────────
┌────────────────────────────────┐
│ CW: re: cooking-food-mentioned │
└────────────────────────────────┘
@user-1037 mmmm, paprika for flavor, red chile flakes for spice
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═════════════════════════════════════════════──────────────────────────────┘
--- #4 fediverse/3184 ---
═══════════════════════════════════════════════════════────────────────────────────
"reboost with content warning" would be quite nice 🥰
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════───────────────────────────┘
--- #5 fediverse/1028 ---
═══════════════════════════════════════════════────────────────────────────────────
there's this really fun video game I like to play called "Legion TD 2" - it's
based on a Warcraft3 mod.
In this game, you make tactical and strategic decisions on a fixed term - a
competitive game between 4 or 8 players with an incredible array of randomness.
it teaches you to work with what you got, and to make decisions based on your
opponent's weaknesses. Good luck figuring out what they are, though, as you
can't just memorize them out of a book. You need to adapt, in the moment, to
the decisions of your foes, while primarily focusing your attention on
accomplishing a different task.
I really like it because it's taught me to be strategic in plenty of other
ways. I used to love the game Overwatch because it required adaptibility. The
game was always changing, so no strategy stuck forever, but every match you'd
play against a slightly different opponent.
but then Blizzard changed the game because they wanted to make more money, and
it got worse and worse at what I liked about it. Sadface. : (
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
--- #6 fediverse/6047 ---
═══════════════════════════════════════════════════════════════════════════────────
camouflage in an urban environment is not camo. rather, regular clothes of
black or white.
don't wear sports glasses, you look like a dummy.
revolution is when they murder everyone but your friends. this is what
happens, ya dingus not ideal. "okay who are the bad guys here? okay let's go
shoot them to death with our bullets and guns."
violence as a first aspect, cause as a third spark. "I have a strange urge to
play video games?"
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════════════════════════════════───────┘
--- #7 fediverse/3972 ---
╔═════════════════════════════════════════════════════════─────────────────────────┐
║ ┌────────────────────────────────────────────────────────────┐ │
║ │ CW: immigration-social-designs-national-cultures-mentioned │ │
║ └────────────────────────────────────────────────────────────┘ │
║ │
║ │
║ if people at home had half as much compassion, respect, and reverence for the │
║ people abroad that the people abroad have for the people at home, we could │
║ have a truly multicultural society. │
║ │
║ instead, we get melting pots which melt you down and combine into a new, third │
║ thing. And in America we really have a multitude of miniature melting pots │
║ creating subcultures of racial, religious, professional, or other origin. │
║ │
║ Neither approach is entirely good, and neither entirely bad. They're different. │
║ │
║ America is the largest melting pot design, but sufficiently large cities find │
║ them popping up in the strangest of places. │
║ │
║ My thoughts go out to the Americans abroad, whether in peace, war, or times of │
║ hiding, know that we are grown from the same tree and our apples have fallen │
║ on different sides of the hill carrying us to worlds beyond. But still our │
║ heritage binds us, so I care for you. I pray that you will ask me if you need │
║ my aid, and I will do so too unto you. │
╟─────────┐ ┌───────────┤
║ similar │ chronological │ different │
╚═════════╧══════════════════════════════════════════════──────────────┴──────────┘
--- #8 messages/74 ---
═════════════════──────────────────────────────────────────────────────────────────
https://www.reddit.com/r/leaves/comments/uqzz33/can_anyone_give_me_some_pros_of
_quitting_smoking/
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════─────────────────────────────────────────────────────────────────┘
--- #9 fediverse_boost/6207 ---
◀─╔════════════════════════════════[BOOST]═════════════════════════════════──────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ External post: https://kolektiva.social/users/justbob/statuses/115226319741825396 │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧═──────╝─▶
--- #10 fediverse_boost/2183 ---
◀─╔═════════════════════[BOOST]══════════════════════────────────────────────────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ External post: https://tech.lgbt/users/gabrilend/statuses/111979652246592739 │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════────────────────────┴───────╝─▶
--- #11 fediverse/4962 ---
══════════════════════════════════════════════════════════════════─────────────────
humans are computers that inhale air, produce electricity, and exhale carbon.
give me a biochemical or mechanical process for doing that on a reasonable
scale for cheap and you can solve global warming by replacing power outlets
with an energy generation box. Doubles as an air purifier and UPS.
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════────────────────┘
--- #12 fediverse_boost/6099 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ External post: https://hachyderm.io/users/marianoguerra/statuses/115366899548181326 │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #13 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 │
╘═════════╧╧══════════════════════════════════════════════════════════─────────────────┘
--- #14 fediverse_boost/6270 ---
◀─╔════════════════════════════════[BOOST]═════════════════════════════════──────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ I am once again begging people to understand that “the government” already knows you’re queer whether you do elaborate online opsec dance rituals or not, and if they decide to just start shooting people for being gay, they’ll do it whether the evidence is airtight or not. is that grim? yes. but you can stop giving yourself undercover superhero identity PTSD about it │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧═──────╝─▶
--- #15 fediverse/6 ---
═════════════════════════════════──────────────────────────────────────────────────
┌──────────────────────┐
│ CW: Math │
└──────────────────────┘
@user-5 create an array of length 7 initialized to zero. then use a for loop
that loops 97 times and adds a random number between 1 and 20 to an array
index that iterates through the array each time through the for loop.
NOTE: be sure to also change the loop counter based on the random number too,
so you allocate exactly 97 points no matter what random number you get.
Oh and speaking of which if the loop counter
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════─────────────────────────────────────────────────┘
--- #16 fediverse/6458 ---
══════════════════════════════════════════════════════════════════════════════─────
gonna pre-emptively backup my fediverse archive haha just-in-case I get banned
for spamming or something teehee (totally reasonable teebeeh)
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧═══════════════════════════════════════════════════════════════════════────┘
--- #17 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 │
╘═════════╧╧══════════════════════════════════════════════─────────────────────────────┘
--- #18 fediverse/1582 ---
═════════════════════════════════════════════════──────────────────────────────────
@user-698
https://www.youtube.com/watch?v=v9EKV2nSU8w
This video is 5 years old but it's relevant
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧══════════════════════════════════════════─────────────────────────────────┘
--- #19 fediverse_boost/6165 ---
◀─╔═══════════════════════════════[BOOST]═════════════════════════════════───────╗
║ ┌────────────────────────────────────────────────────────────────────────────┐ ║
║ │ If you add a label to the satellite imagine of the White House, it looks exactly like a slide from a Pentagon press briefing after a successful bombing run. │ ║
║ │ │ ║
║ │ Back when there were Pentagon press briefings. │ ║
║ └────────────────────────────────────────────────────────────────────────────┘ ║
╠─────────┐ ┌───────────╣
║ similar │ chronological │ different ║
╚═════════╧════════════════════════════════════════════════════════════╧───────╝─▶
--- #20 fediverse/1101 ---
═══════════════════════════════════════════════────────────────────────────────────
@user-803
reading this made me cry T.T
┌─────────┐ ┌───────────┐
│ similar │ chronological │ different │
╘═════════╧╧════════════════════════════════════════───────────────────────────────────┘
|