Poems similar to: string

The 64 poems closest in meaning to this word, arranged to spread the colours (progress bar shows chronological position)

Menu │ Chronological


 -> file: 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 │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/1873
═══════════════════════════════════════════════─────────────────────────────────────
  ┌─────────────────────────────────────────────────────────────┐
  │ CW: cursing-mentioned-knots-mentioned-programming-mentioned │
  └─────────────────────────────────────────────────────────────┘


  I love making up my own knots!

  I don't like memorizing other people's knots >.>

  wait, shit this was supposed to be about programming
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/775
═════════════════════════════════════════───────────────────────────────────────────
  @user-192

  It's totally simple! It's just structs, void pointers, function pointers,
  arrays, mallocs, and oh boy I think I see what you mean
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: 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 │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/6348
═════════════════════════════════════════════════════════════════════───────────────
  here's a neat function
computer code
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════════════════──┴───────────┘
 -> file: fediverse/5376
══════════════════════════════════════════════════════════════──────────────────────
  ┌──────────────────────────────────────────────────────────────────────────────┐
  │ CW: re: police-mentioned-psy-ops-mentioned-human-waste-mentioned-which-is-a- │
  │ nice-way-to-say-feces-ew-gross-who-put-that-on-my-timeline-guards-arrest-    │
  │ these-men-they're-criminals-of-the-law-against-pooping-my-pants              │
  └──────────────────────────────────────────────────────────────────────────────┘


  333 characters remaining
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════════════─────────┴───────────┘
 -> file: 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 │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: messages/890
═════════════════════════════════════════════════════════════───────────────────────
  If your code is too long to fit in 80 or 120 characters (preference) then you
  need to use more numbers (indexable with a small table-of-contents style
  comment description just above) or character symbols (referencably by meaning
  just as above) (by above she means earlier in the string of text you just read)
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════════──────────┴───────────┘
 -> file: 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 │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: messages/931
════════════════════════════════════════════════════════════════────────────────────
  <*type type type type*> oh see it's writing music.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: messages/1280
═════════════════════════════════════════════════════════════════════════───────────
  all things come with strings attached. how else would they be interconnected?
  if A then B...
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═──────────┘
 -> file: fediverse/1966
════════════════════════════════════════════════────────────────────────────────────
  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.
A screenshot of some C code.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/1934
════════════════════════════════════════════════────────────────────────────────────
  @user-1109

  do it in a random color each time! Here's my implementation for viewing txt
  files colorfully:
some bash computer code which first picks a random color, and if the color is a bad combination (like, black front and black back, meaning you can't see the lines of the letters) then it redoes it and tries to pick a better one randomly. It'll keep trying until it gets a correct combination but honestly there's only like one or two bad ones that don't look so great
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: 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.                                           │
some lua code illustrating a VERY simple Ollama generation function.
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/1011
══════════════════════════════════════════──────────────────────────────────────────
  "the stars are auspicious tonight"

  nah babe you're just a 4th century mystic who couldn't know about string theory
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: messages/1434
══════════════════════════════════════════════════════════════════════════──────────
  Do things that fate doesn't expect, and you can reconnect the threads of the
  wire after it has been cut.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧══─────────┘
 -> file: fediverse/3173
═════════════════════════════════════════════════───────────────────────────────────
  you've heard of an array of function pointers, yes,

  but have you ever heard

  of an array of GOTO labels?
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/3559
══════════════════════════════════════════════════──────────────────────────────────
  @user-1209

  like... var = x?? that doesn't make sense. Or like, 5 = var x? that feels
  *wrong*

  in programming = is assignment, not equality, which tripped me up for a bit.
  But if you read it left to right it's like X equals 5. Got it, now I know that
  X is the same as 5. Right?
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: 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                                                                       │
Image attachment
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/1691
═══════════════════════════════════════════════─────────────────────────────────────
  "I don't know what I was doing with this line of code so I'm going to delete it
  and fix it later"
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: 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 │
╘═════════╧════════════════════════════════────────────────────────────┴───────────┘
 -> file: 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.
A bash script that plays a random episode of Adventure Time from a terminal.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/5696
════════════════════════════════════════════════════════════════────────────────────
  hey does anyone wanna go over my code for this text adventure game thingy that
  I spent 2 days on so far?
some computer code some computer code some computer code some computer code
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/4799
═════════════════════════════════════════════════════════───────────────────────────
  just compiled my digital writing and apparently I've written about 60,000 lines
  of 80 characters :ms_confused:
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘
 -> file: fediverse/5945
═══════════════════════════════════════════════════════════════════─────────────────
  lua is my favorite language
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/777
═════════════════════════════════════════───────────────────────────────────────────
  @user-192

  Those are good points. The C in our hearts is elegant, but the C that runs on
  every computer in the world is spaghetti.

  I'm sure someone's made a language that's "C but simple" - Zig maybe? I looked
  into V a while back but got turned off of both of them because neither had
  support for multithreading, which is essential in the modern era.

  Also, typedefs for structs make me mad -.-
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/4845
═════════════════════════════════════════════════════════───────────────────────────
  put the variable type at the front of the variable and 90% of your type errors
  will dissapear

  like...`int int_main(){ return 0; }
  `

  or`int int_modulation_gauge_percentage_point_plus_or_minus_engagement = 0;
  `

  seeeee if the "int" value is at the start of the name then you can do this
  too:`double double_modulation_gauge_percentage_point_plus_or_minus_engagement =
  0.0;
  `

  then when you go to fill in an "int" value you know to use the one that has the
  "int" value at the beginning (doh)

  (do you really think they haven't tried that already? it... sorta worked.
  people started doing things like "int int_a; int int_b; int int_c;" and such
  and that got confusing pretty quick because the letters weren't at the start of
  the word. So for some situations we would mirror them like so: "int A = int_a;
  int B = int_b; int C = int_c;" and then just use the capitalized letters.

  ... just don't forget to update the original teehee (this is why we invented
  shadowed variables)

  wait, no I meant pointers !!~! -.-
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘
 -> file: fediverse/5466
═══════════════════════════════════════════════════════════════─────────────────────
  I'm pretty bad at threading needles. I'm more like... "alright, what's next on
  the list?"
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════────────┴───────────┘
 -> file: 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 │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: 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 │
╘═════════╧══════════════════════════════════════════════════════──────┴───────────┘
 -> file: fediverse/2084
════════════════════════════════════════════════────────────────────────────────────
  I love it when words align like this
picture of some source code which is aligned in an aesthetically pleasing way, like when every fork in the drawer is nestled together or a pile of folded clothes are placed on-top of one another rather than being a jumbled mess
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/1310
═══════════════════════════════════════════─────────────────────────────────────────
  that feeling when you type your password so fast that one hand is faster than
  the other and the letters get all jumbled and now you have to remake your ssh
  key -.-
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════────────────────────────────┴───────────┘
 -> file: fediverse/4192
═════════════════════════════════════════════════════───────────────────────────────
  whyyyyyyy am I cursed with this 1024 character limit

  why can't it be like, 16 characters total. I think that'd limit my thoughts
  enough.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/565
════════════════════════════════════════────────────────────────────────────────────
  @user-209

  I replaced my twist tie cable management with velcro and it's sooooooo much
  nicer! That should reclaim at least a few of them : )
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════───────────────────────────────┴───────────┘
 -> file: fediverse/1329
╔══════════════════════════════════════════────────────────────────────────────────┐
║ @user-941                                                                        │
║                                                                                  │
║ well, your computer only has so many 1s and 0s that it can use at once. Like,    │
║ having a trillion hands that can each hold a single grain of rice. Every         │
║ character in that txt file would be like, 8 grains of rice, minimum, meaning     │
║ you'd need at least 8 "hands" (or spots to put a zero or a one) for each letter! │
║                                                                                  │
║ Hmmmm that's a lot of bits and bytes if everyone's writing to the same file.     │
║ Maybe if we split the file up into smaller sections, then we could just read     │
║ part of it at once. Then we could "scroll" through it to make sure we've read    │
║ the whole thing, starting from the top and going to the bottom.                  │
║                                                                                  │
║ ah but if everyone's SSHing into the same computer and reading it there, then    │
║ that computer will have to present different parts of the file at different      │
║ times to different people, as they read from the top to the bottom. Maybe we     │
║ could just send them the file, so they can read it at their leisure?             │
║                                                                                  │
║ Yeah! And we could use tags to organize it and make it look pretty, like an      │
║ HTML file except... wait hang on                                                 │
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: 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 │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: 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 │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: fediverse/5944
═══════════════════════════════════════════════════════════════════─────────────────
  I swear, Lua has the worst manual out there.

  I was looking for a definition of this function called io.flush(). Here's what
  I found: [picture 1]:`**io.flush ()**

  Equivalent to io.output():flush().
  `

  okay, so what's io.output():flush()? [one result found] and it's the thing I
  just found. great.

  okay, so how about io.output()? [third picture]:`**io.output ([file])**

  Similar to io.input, but operates over the default output file.
  `

  and`**io.write (···)**

  Equivalent to io.output():write(···).
  `

  I know the text is blue, but it's not clickable. It's just text, not a
  hyperlink to more comprehensive documentation.

  There's also file:flush(), but that doesn't seem relevant to what I'm looking
  for, because I'm working with lines and not files:`**file:flush ()**

  Saves any written data to file.
  `

  there are no more references to flushing, nor outputting of input nor output.
  this manual sucks.

  ah, well, back to vibe coding I go.

  EDIT: at least it's all on one page.
picture of one section of the lua manual documentation.  io.flush ()  Equivalent to io.output():flush(). picture of a ctrl+f search on a web page. It's searching for io.output:flush() and there's 1 result found, which is the exact same place I found the first picture. two results:  io.output ([file])  Similar to io.input, but operates over the default output file.   and...  io.write (···)  Equivalent to io.output():write(···).
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/4172
═════════════════════════════════════════════════════───────────────────────────────
  this is what I got so far for a messaging client that uses SSH

  ... so you need someone's public key in order to talk to them
a picture of a notebook page that shows an initial design for a SSH based messaging client
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/3996
════════════════════════════════════════════════════────────────────────────────────
  @user-246

  quite often... But I usually work with what I got, depending on how many
  characters I can spare
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘
 -> file: fediverse/5260
══════════════════════════════════════════════════════════════──────────────────────
  ┌───────────────────────┐
  │ CW: passing-mentioned │
  └───────────────────────┘


  passwords without typos by requiring 30+ characters and accepting any of the
  neighboring keys as passing that "if" check
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════════════─────────┴───────────┘
 -> file: 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 │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: messages/1246
═════════════════════════════════════════════════════════════════════════───────────
  \
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═──────────┘
 -> file: fediverse/580
═════════════════════════════════════════───────────────────────────────────────────
  @user-425

  c is king for a reason! do ittttt
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: notes/20260913-212428.txt
══════════════════════════════════════════════════════════════════════════════════──
  My similar-different has had a bug in the computer code that makes it all
  shuffled. And it shows the same ~1000 poems over and over. I should fix it.
  I'll fix it tomorrow. Sorry. I've known that its been messed up for like, a
  month, but I didn't fix it because I was shy.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧══════════─┘
 -> file: fediverse/427
════════════════════════════════════════────────────────────────────────────────────
  gtg, ttyl, after christmas probably : )
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════───────────────────────────────┴───────────┘
 -> file: fediverse/704
═════════════════════════════════════════───────────────────────────────────────────
  Is my formatting pretty or does it make you angry?
screenshots of C and Lua code that have strange formatting. The style is designed such that the readers eyes "flow" across the code like the gradual descent of water down a sloping riverbed, following a logical progression from top left to bottom right (generally) while returning to the left side whenever a new operation is performed or something is repeated.  This particular picture is of a simple if check:  if a creature's rank is equal to "four" or "two", then the creature is a rare monster type. Otherwise, they are not a rare monster type. Lua code to determine whether or not a character in a video game is available to be ambushed by a randomly generated monster.  There are several checks applied, checking things like "is the character sitting down" or "are they underwater", in which case a message is printed to the log and no further action is taken.  If all of the checks pass, and the character is free to be ambushed, then it runs the "spawnAndAttackPlayer()" function. A long string of "if" statements checking whether individual bits in a very small data structure are set. There's nine of them total, and they are arranged in a grid - this project was for a tic-tac-toe game, where there are nine total squares to play in. Setting up some location variables for a player unit. It starts by setting an X, Y, Z, and O for orientation value to a player's current location. Then it steps through and sets them to more accurate values. The reason for this ordering is so that if the function to find the more accurate value fails, it can fall back on the player's current location instead.  The interesting formatting is due to the layout of the "set" operations - they are ordered in a two dimensional grid rather than a top-to-bottom list like how most people would organize it.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/5787
═════════════════════════════════════════════════════════════════───────────────────
  if you want to make rope, you start with small pieces and braid them together.

  if you want to make hope, you start with families and braid them together.

  just be careful, for the world is too vast to keep track of who knows what.
  better in my mind to have systems of familiar forces which keep guiding as
  things align.

  -- *twisted sister*
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════════════──────┴───────────┘
 -> file: 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 │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/1397
═══════════════════════════════════════════─────────────────────────────────────────
  why don't we teach git in high school?

  oh yeah, because microsoft word is not plain text.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════────────────────────────────┴───────────┘
 -> file: fediverse/6256
═════════════════════════════════════════════════════════════════════───────────────
  I love Lua
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════════════════──┴───────────┘
 -> file: fediverse/950
══════════════════════════════════════════──────────────────────────────────────────
  @user-192

  multidimensional arrays aren't too hard, it gets a bit more complicated when
  you need multidimensional *slices*, but once you get your head around it it
  comes easier.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: messages/1518
════════════════════════════════════════════════════════════════════════════────────
  \
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧════───────┘
 -> file: fediverse/5726
════════════════════════════════════════════════════════════════────────────────────
  ┌───────────────────────────┐
  │ CW: programming-mentioned │
  └───────────────────────────┘


  🖼
           local response  equals 1 while true do if response does not equal 0 then require: build, my_name, and heart. end.                  response  equals in_channel:peek()  humans are unafraid because anyone better than us would necessarily be kinder
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/1619
╔═════════════════════════════════════════════─────────────────────────────────────┐
║ @user-1048 @user-1049                                                            │
║                                                                                  │
║ I didn't see it in any of those links, though seeing the picture for Skov made   │
║ me realize I'm pretty sure it was tree based! But, maybe a little more reliant   │
║ on the shape of the blocks rather than the text.                                 │
║                                                                                  │
║ It also might have been from a top-down perspective like Reactible:              │
║ http://reactable.com/mobile/                                                     │
║ but I can't remember. All I saw was a short introductory video, which makes me   │
║ think it might have been an artists conception or something.                     │
║                                                                                  │
║ Scrolling through those galleries was really cool! There's been so much care     │
║ and attention placed into the creation of interfaces for regular people (or      │
║ visual people) to engage with the world of computation, and it's a little sad    │
║ to me that we don't place more of an emphasis on it culturally. I am honored to  │
║ exist in a time where people care enough to build Linux, for example! And yet    │
║ most people don't get it.                                                        │
║                                                                                  │
║ Seeing stuff like this fills me with hope though - Thank you for showing me      │
║ those galleries and links, there's so much affection in them.                    │
Image attachment
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩══════════════════════════════════──────────────────────────┴───────────┘
 -> file: fediverse/1960
════════════════════════════════════════════════────────────────────────────────────
  Source code is like, the worst way to view code, but I can't think of anything
  better, so whatever
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/5590
═══════════════════════════════════════════════════════════════─────────────────────
  vibe coding is just writing comments in increasing detail until the generated
  code matches what you need.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════────────┴───────────┘
 -> file: fediverse/3098
═════════════════════════════════════════════════───────────────────────────────────
  does anyone know of a software that lets me push a keybind and enter an input
  configuration where after each keypress it inserts the [enter] key? I think
  it'd be useful to design chat applications that could parse long strings of
  text supplied bit-by-bit as a stream.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: messages/10
────────────────────────────────────────────────────────────────────────────────────
  https://www.reddit.com/r/learnprogramming/comments/n0vm6e/im_just_now_understand
  ing_gitgithub_and_i_feel/
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘─────────┴────────────────────────────────────────────────────────────┴───────────┘
 -> file: notes/perspectives-of-the-reflection.html
═════════───────────────────────────────────────────────────────────────────────────
  <!DOCTYPE html>
  <html>
  <head>
  <meta charset="UTF-8">
  <title>~/notes/perspectives-of-the-reflection.html</title>
  <meta name="Generator" content="Vim/8.0">
  <meta name="plugin-version" content="vim8.1_v2">
  <meta name="syntax" content="none">
  <meta name="settings"
  content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,preven
  t_copy=,use_input_for_pc=fallback">
  <meta name="colorscheme" content="none">
  <style>
  <!--
  pre { white-space: pre-wrap; font-family: monospace; color: #ffffff;
  background-color: #000000; }
  body { font-family: monospace; color: #ffffff; background-color: #000000; }
  * { font-size: 1em; }
  .LineNr { color: #ffff00; }
  -->
  </style>

  <script>
  <!--

  /* function to open any folds containing a jumped-to line before jumping to it
  */
  function JumpToLine()
  {
    var lineNum;
    lineNum = window.location.hash;
    lineNum = lineNum.substr(1); /* strip off '#' */

    if (lineNum.indexOf('L') == -1) {
      lineNum = 'L'+lineNum;
    }
    var lineElem = document.getElementById(lineNum);
    /* Always jump to new location even if the line was hidden inside a fold, or
     * we corrected the raw number to a line ID.
     */
    if (lineElem) {
      lineElem.scrollIntoView(true);
    }
    return true;
  }
  if ('onhashchange' in window) {
    window.onhashchange = JumpToLine;
  }

  -->
  </script>
  </head>
  <body onload='JumpToLine();'>
  <pre id='vimCodeElement'>
  <span id="L1" class="LineNr"> 1 </span>With ever darkening skies, the breadth
  of experience is foreseen.
  <span id="L2" class="LineNr"> 2 </span>All eyes are pointed down, but few do
  stray above
  <span id="L3" class="LineNr"> 3 </span>With a cautious step, the lesson is
  learned.
  <span id="L4" class="LineNr"> 4 </span>With another, ended.
  <span id="L5" class="LineNr"> 5 </span>
  <span id="L6" class="LineNr"> 6 </span>For all the Tales of the Past, love yet
  remains.
  <span id="L7" class="LineNr"> 7 </span>Trading ourselves, for matters unseen.
  <span id="L8" class="LineNr"> 8 </span>The light of the eyes are keen to behold,
  <span id="L9" class="LineNr"> 9 </span>where star ones and lemonsgrene both
  most fear
  <span id="L10" class="LineNr">10 </span>in breadth do us know, what's buried in
  snow
  <span id="L11" class="LineNr">11 </span>
  <span id="L12" class="LineNr">12 </span>A glass cube for a monitor is room to
  breath
  <span id="L13" class="LineNr">13 </span>and life for ourselves, if only we were
  not
  <span id="L14" class="LineNr">14 </span>broadsided ourselves.
  <span id="L15" class="LineNr">15 </span>
  <span id="L16" class="LineNr">16 </span>Working together, a prisoners dilemna
  <span id="L17" class="LineNr">17 </span>what fools would we be
  <span id="L18" class="LineNr">18 </span>as our keeps cracked around us.
  <span id="L19" class="LineNr">19 </span>
  <span id="L20" class="LineNr">20 </span>Trust and you'll see,
  <span id="L21" class="LineNr">21 </span>what terrors may be,
  <span id="L22" class="LineNr">22 </span>beyold the land that is sanctum.
  <span id="L23" class="LineNr">23 </span>
  <span id="L24" class="LineNr">24 </span>Our chances may be,
  <span id="L25" class="LineNr">25 </span>far from pioneered
  <span id="L26" class="LineNr">26 </span>but our chances may be in our favor.
  <span id="L27" class="LineNr">27 </span>
  <span id="L28" class="LineNr">28 </span>How cherished is she, that wanders with
  ye,
  <span id="L29" class="LineNr">29 </span>and yet now I have no way to beyold her
  <span id="L30" class="LineNr">30 </span>Under a great tree, her last moments
  with me,
  <span id="L31" class="LineNr">31 </span>as a monster came out of her shoulder.
  <span id="L32" class="LineNr">32 </span>
  <span id="L33" class="LineNr">33 </span>!(&quot;Take her and not me!&quot;) I
  scream outward at ye,
  <span id="L34" class="LineNr">34 </span>yet no one was holding me over.
  <span id="L35" class="LineNr">35 </span>Silent was me, a most fearsome to be,
  <span id="L36" class="LineNr">36 </span>and none was my reach to beyold her
  <span id="L37" class="LineNr">37 </span>
  <span id="L38" class="LineNr">38 </span>So now she wanders free, beyond our
  beheld scenery,
  <span id="L39" class="LineNr">39 </span>Astounded at our steps to hold her
  <span id="L40" class="LineNr">40 </span>Under a big tree, how starlight must be,
  <span id="L41" class="LineNr">41 </span>if only our fellows did hold her
  <span id="L42" class="LineNr">42 </span>Under a big tree, with me
  </pre>
  </body>
  </html>
  <!-- vim: set foldmethod=manual : -->
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘════════─┴────────────────────────────────────────────────────────────┴───────────┘
 -> file: 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.
script 1:  #!/bin/bash  # sort by filetype would be nice  alias cd="cd-improved"  function cd-improved(){      if [ "${1}" = "..." ] ; then         builtin cd .. && builtin cd ..     elif [ "${1}" = "...." ] ; then         builtin cd .. && builtin cd .. && builtin cd ..     elif [ "${1}" = "....." ] ; then         builtin cd .. && builtin cd .. && builtin cd .. && builtin cd ..          elif [ -d "./${1}" ] ; then         local target_dir="./${1}"      elif [ "${1}" = "cdir" ] ; then         local target_dir="$(tail -n 1 '/home/ritz/scripts/.cdir-target')"         echo ${target_dir}       else         local target_dir="${1}"     fi      if [ ! "${2}" = '--no-ls' ] ; then         builtin cd "${target_dir}" && ls -v --color=auto     else         builtin cd "${target_dir}"     fi          # if the qcd function is defined     if declare qcd > /dev/null; then         quick_cd -d DEFAULT         quick_cd -a DEFAULT     fi }    script 2:  #!/bin/bash  function cdir(){        if [ "$#" -eq 0 ]; then       pwd | cat >> ~/scripts/.cdir-target    elif [ "${1}" == "-l" ]; then       cat ~/scripts/.cdir-target    fi      }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════───────────┴───────────┘
 -> file: fediverse/6007
═══════════════════════════════════════════════════════════════════─────────────────
  I always get the syntax backwards, for some reason...
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: messages/929
════════════════════════════════════════════════════════════════────────────────────
  {[booooo that writing stinks, the writers of the first few lines were better]}
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/3609
══════════════════════════════════════════════════──────────────────────────────────
  ┌───────────────────────────┐
  │ CW: programming-mentioned │
  └───────────────────────────┘


  I FINALLY HAVE SYNTAX HIGHLIGHTING OMGGG

  ... I'm gonna take a break and play a game or something jeez
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘