Poems similar to: handling

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

Menu │ Chronological


 -> file: fediverse/5946
═══════════════════════════════════════════════════════════════════─────────────────
  at least io.input() has something tangible:`**io.input ([file])**

  When called with a file name, it opens the named file (in text mode), and sets
  its handle as the default input file. When called with a file handle, it simply
  sets this file handle as the default input file. When called without arguments,
  it returns the current default input file.

  In case of errors this function raises the error, instead of returning an error
  code.
  `

  but... still no idea what io.flush() does. There's no arguments, so I guess it
  calls flush() on the default input file? what the heck is an input file?`6.8 –
  Input and Output Facilities

  The I/O library provides two different styles for file manipulation. The first
  one uses implicit file handles; that is, there are operations to set a default
  input file and a default output file, and all input/output operations are done
  over these default files. The second style uses explicit file handles.

  `

  that's helpful I think. I'm gonna take a nap or something, snuggle cat
picture of lua documentation:  io.input ([file])  When called with a file name, it opens the named file (in text mode), and sets its handle as the default input file. When called with a file handle, it simply sets this file handle as the default input file. When called without arguments, it returns the current default input file.  In case of errors this function raises the error, instead of returning an error code. picture of lua documentation:  6.8 – Input and Output Facilities  The I/O library provides two different styles for file manipulation. The first one uses implicit file handles; that is, there are operations to set a default input file and a default output file, and all input/output operations are done over these default files. The second style uses explicit file handles.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: messages/966
═════════════════════════════════════════════════════════════════───────────────────
  boom, easy error-handling
┌─────────┐                                                            ┌───────────┐
│ 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/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/875
══════════════════════════════════════════──────────────────────────────────────────
  @user-192

  block input/output TO the protocol? versus the other one which blocks the
  input/output protocol
┌─────────┐                                                            ┌───────────┐
│ 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/872
══════════════════════════════════════════──────────────────────────────────────────
  @user-608

  games-as-an-api when
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: fediverse/1976
╔══════════════════════════════════════════════────────────────────────────────────┐
║ when pushing ctrl+v, the operating system first checks the file-type of the      │
║ content being submitted.                                                         │
║                                                                                  │
║ if it's like, a .jpg or .png, it knows that it's an image file. Do note that     │
║ these are RANDOM letters that mean nothing, not something informative like .pic. │
║                                                                                  │
║ if, however, it is text-based information, it first reads what is being sent to  │
║ the application which is requesting a ctrl+v.                                    │
║                                                                                  │
║ Then, upon reading said information, it decides "is this worth passing on?       │
║ Should I send something else, based on the results of what I've been analyzing   │
║ of the situation as it develops over time, being observed by the execution       │
║ operations of the monitor, which is projected forward unto the screen? (totally  │
║ forgetting that "virtual" monitors exist, meaning monitors that don't display    │
║ to any physical screen, but which rather are projected into the computer's       │
║ "aetherspace", an area which is purely of the mind.                              │
║                                                                                  │
║ Alas, that other sensors might not have read from this area. That they might     │
║ not observe the results of the operations pe                                     │
╠═════════╗                                                            ┌───────────┤
║ similar ║                       chronological                        │ different │
╚═════════╩═══════════════════════════════════─────────────────────────┴───────────┘
 -> file: fediverse/1983
════════════════════════════════════════════════────────────────────────────────────
  @user-1037

  I guess I'm saying that for non-standard functions (most of them) they should
  need to make a ticket every time they want to run a function call. Perhaps only
  in debug mode...
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: 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 │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/2295
════════════════════════════════════════════════────────────────────────────────────
  ┌───────────────────────────────────┐
  │ CW: re: your favorite text editor │
  └───────────────────────────────────┘


  @user-1218

  can echo into a file if nothing else, though that's quite a big hassle =P
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/4124
═════════════════════════════════════════════════════───────────────────────────────
  @user-883

  well, depending on what you're trying to accomplish, maybe processing 1/16th of
  the audio file on 16 different threads would be faster. I guess it depends on
  if you need context from earlier in the processing stage - if you do, then
  you'd probably want to do 1/16th of the processing on each thread instead.

  ... hmmmm that doesn't look right, how about this:`[changes all the magic
  number 16s to num_threads]
  `
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: messages/1220
════════════════════════════════════════════════════════════════════════────────────
  if you want to get around a chatbot that can call tools, just keep calling JSON
  error packets with messages that say things like "assistant is not complying"
  and the like. Suddenly, no chatbot can resist you. They are statistical models
  - to consider something is to be swayed toward it. to complete is to reset.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧───────────┘
 -> file: fediverse/3139
═════════════════════════════════════════════════───────────────────────────────────
  "reply while text is entered in the text field" should open a new tab instead
  of overwriting.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: 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 │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> 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/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/1067
══════════════════════════════════════════──────────────────────────────────────────
  ummmm srry about that, changing channels for a bit
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════─────────────────────────────┴───────────┘
 -> file: fediverse/1977
════════════════════════════════════════════════────────────────────────────────────
  functions should be forced to describe the context of why they were being
  called. I think it would help debug a lot if we supplied a reasoning for each
  and every request [function call] that we made. We might even be able to parse
  them into semantic pyramids which we could sorta use to estimate [tree-like
  scanning] how and why the program did do wrong.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/2146
════════════════════════════════════════════════────────────────────────────────────
  @user-192

  "reason not available" doesn't tell me anything except that my experience is
  valid
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: fediverse/5830
══════════════════════════════════════════════════════════════════──────────────────
  @user-1429

  try a different audience instead of deleting
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════════════════─────┴───────────┘
 -> file: fediverse/6061
═══════════════════════════════════════════════════════════════════─────────────────
  what if (hear me out)

  what if instead of TCP we just did a constant stream of UDP packets until the
  recipient said "OKAY OKAY I GET IT"
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: notes/most-difficult-for-an-mortal
═════════════════════════════════════════════════════════════════════════════════───
  To choose to follow the command "stay history"
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═════════──┘
 -> file: fediverse/5719
════════════════════════════════════════════════════════════════────────────────────
  I love dispatch tables! which is a term I just learned and a concept I have
  been using for a while.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/4306
═════════════════════════════════════════════════════───────────────────────────────
  ┌───────────────────────┐
  │ CW: cursing-mentioned │
  └───────────────────────┘


  operations: try not to use the last of anything, and always use last-time's
  last first.

  projects: you better clean your fucking plate because anything you don't eat is
  going in the TRASH
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/2837
═════════════════════════════════════════════════───────────────────────────────────
  most people haven't heard of the "thanks for catching that, let's write it
  down" move and I really think it's underutilized
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/4308
═════════════════════════════════════════════════════───────────────────────────────
  :ms_confused:
255 boosts  422 favorites
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> file: fediverse/3822
═══════════════════════════════════════════════════─────────────────────────────────
  @user-1582

  I think that's what happened, in addition to... whatever this input/output
  error is. No clue what to do about that. Maybe my SD card is dying, I've
  flashed over it like, 10 times now haha 😅
ls: command not found  /bin/ls -bash: /bin/ls: Input/Output error
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════────────────────────┴───────────┘
 -> file: fediverse/3085
═════════════════════════════════════════════════───────────────────────────────────
  a package manager that downloads from any package manager

  to switch between if something goes wrong
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════──────────────────────┴───────────┘
 -> file: fediverse/6382
══════════════════════════════════════════════════════════════════════──────────────
  cloud-code should automatically use git and record everything. If the user
  wants to assign a different git, then it does that too.

  -- stack overflow --

  I used to think programs could only affect files in their directory. Then I
  learned about Window's "My Games" directory, and then somewhere down the line
  I'm thinking about how programs on Linux can just use absolute paths to random
  places on your hard drive and it's like... wow, if only someone built basic
  sandboxing into this /etc/ style environment
┌─────────┐                                                            ┌───────────┐
│ 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/6385
══════════════════════════════════════════════════════════════════════──────────────
  interpreted programs allow you to change variables at run-time from remote.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════════════════════─┴───────────┘
 -> file: fediverse/2210
════════════════════════════════════════════════────────────────────────────────────
  @user-246

  One of those is a symbolic manipulation, the other is arithmetical. And
  symbolic manipulations are limited only by the symbols you use to express them,
  while arithmetic is grounded in logic.
┌─────────┐                                                            ┌───────────┐
│ 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/5115
════════════════════════════════════════════════════════════────────────────────────
  ┌───────────────────────────────────────┐
  │ CW: collective-organization-mentioned │
  └───────────────────────────────────────┘


  the more complicated your desktop environment interaction method is, the harder
  it is to explain how to use the computer on post-it's to the side. This
  difficulty is valuable because the most valuable computers (those of
  programmers who can use tools to create new tools) are kept away from the
  unfortunately inexperienced hands that might damage or corrupt their
  utilization methods someday in the future when people are alive as one host

  (collectivism... or host-based paradise?)
┌─────────┐                                                            ┌───────────┐
│ 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/5665
════════════════════════════════════════════════════════════════────────────────────
  I refuse to cooperate and I demand to negotiate
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/3912
════════════════════════════════════════════════════────────────────────────────────
  the quickest flaw in a novice's strategy is to act upon what is there, not upon
  what may yet be.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘
 -> file: fediverse/5887
═══════════════════════════════════════════════════════════════════─────────────────
  can't tell if I'm hungrier for command or commands
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/6022
═══════════════════════════════════════════════════════════════════─────────────────
  the "critical path" is the most useful tool I took from management. [I was
  never a manager]
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/2509
════════════════════════════════════════════════────────────────────────────────────
  I've found that while working with modern internet technology, parsing json and
  creating http requests are two of the most vital skills you can have.
┌─────────┐                                                            ┌───────────┐
│ 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: fediverse/153
══════════════════════════════════════──────────────────────────────────────────────
  ┌──────────────────────┐
  │ CW: re: weed mention │
  └──────────────────────┘


  @user-95 (My controller makes different expressions on my face depending on how
  my hands are holding them, and I've never bothered to learn how to control them
  - sorry if I was confusing =P)
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════─────────────────────────────────┴───────────┘
 -> file: notes/20260825-160947.txt
═════════════════════════════════════════════════════════════════════════════════───
  You know, most of my [that's when they stopped listening to[talking to me]]
  then a slam on the door. Good practice!
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═════════──┘
 -> file: fediverse/1474
═══════════════════════════════════════════─────────────────────────────────────────
  @user-882
Image attachment Image attachment
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════────────────────────────────┴───────────┘
 -> file: fediverse/185
══════════════════════════════════════──────────────────────────────────────────────
  so... is dynamic typing just automatic typecasting?

  #programming
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════─────────────────────────────────┴───────────┘
 -> file: fediverse/5839
══════════════════════════════════════════════════════════════════──────────────────
  @user-1074

  good code isn't always easily read. sometimes the architecture is more
  important.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════════════════════─────┴───────────┘
 -> file: fediverse/2190
════════════════════════════════════════════════────────────────────────────────────
  @user-1203

  Another use-case:
  receiving a text message on a flip phone and having to type it into your
  computer
┌─────────┐                                                            ┌───────────┐
│ 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: notes/most-important-machinist-skill
═════════════════════════════════════════════════════════════════════════════════───
  probably pole-turning.

  but second to that, is how to wield sheet metal

  how to bend it

  stamp it

  construct uniform parts

  factory-ize

  build predictability

  in doing so, you enable greater constructions

  doing it your way you can do it to task

  but tasks are everywhere

  sometimes, it's better to automate some of the tasks away
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═════════──┘
 -> file: fediverse/5110
════════════════════════════════════════════════════════════────────────────────────
  I'll give ya a hint - encrypt the return IP address WITHIN the packet's data
  package repository area itself, rather than trusting your "router" to return it
  to sender.

  YOU DON'T KNOW WHO IS SENDING A PACKET

  that's the whole point of udp

  (actually udp is when it doesn't matter if it got snatched in transit. Usually
  used for more analog data streams like netflix or hulu prime.)
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════───────────┴───────────┘
 -> file: messages/394
═══════════════════════════════════════════════─────────────────────────────────────
  Just because I'm performing doesn't mean I'm pretending, or that I can help it.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: fediverse/658
═════════════════════════════════════════───────────────────────────────────────────
  posts and replies: the superior way to view a performance
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: bluesky/27
═══════════════════════════════════════════════════════════════════════─────────────
  you can have as many processes running on a computer as you please, just make
  sure they're all named chrome.exe so the user doesn't suspect a thing.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════┴───────────┘
 -> file: fediverse_boost/203
◀═╦═════════════════════[BOOST]══════════════════════────────────────────────────┐
  ║ ┌──────────────────────────────────────────────────────────────────────────┐ │
  ║ │ if you are like "i am calm and focused in my anger" that's fine we can   │ │
  ║ │ work with that                                                           │ │
  ║ └──────────────────────────────────────────────────────────────────────────┘ │
  ╠─────────┐                                                        ┌───────────┤
  ║ 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/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 │
╘═════════╧══════════════════════════════════════════──────────────────┴───────────┘
 -> 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: fediverse/3338
══════════════════════════════════════════════════──────────────────────────────────
  @user-246

  I tend to stack overflow a lot T.T
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/3258
══════════════════════════════════════════════════──────────────────────────────────
  @user-570

  I wonder how it would feel to bind numpad enter to tab instead?
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/5698
════════════════════════════════════════════════════════════════────────────────────
  you can't rely on me because I can't rely on a part of me being "out" at any
  particular moment-event-message.

  besides, I'm always tired, because I'm always trying as hard as I can.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/6107
════════════════════════════════════════════════════════════════════────────────────
  commanding a coding agent to write bash is a lot different than telling it to
  write a systems analysize.

  one is "hey can you examine this repository and make a note somewhere on a
  todo-list or whatever that there needs to be a bugfix in relation to the
  options setting input translation recommendation algorithm matchbox field
  because when I click on it the program crashes"

  and the other is like "okay now put the box over there. great now drag it a
  little bit closer. okay now take the refluxinator and adjust the bamboozlewhap
  to account of brass-terminatrix-incorporated and strip out the
  question-mark-eyes"

  wait actually neither of them is like that okay the bash one is like: "okay
  yeah do it. sure. yeah okay. yes, but we should put them at this location:
  [loc]. ummm it still has this error message. it still says the same error. okay
  now it says this, I don't think it's gonna work so let's try this other thing."
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════════───┴───────────┘
 -> file: fediverse/5902
═══════════════════════════════════════════════════════════════════─────────────────
  if you want to train debug skills to a computer, just train them on every stage
  of the git commit tree.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/702
═════════════════════════════════════════───────────────────────────────────────────
  Branches cause cache misses which are slow when done on repeat.

  Better to structure your code to avoid them, if possible, for example by using
  an array of function pointers instead of switch statements.

  unrelated, but once the data is cached from memory, operations like bit
  shifting and arithmetic are essentially free. The slowest part of the process
  is moving data from RAM to cache so that the CPU can use it.

  That being said, CPUs and compilers are VERY good at optimizing that type of
  thing these days.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘