Poems similar to: row

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

Menu │ Chronological


 -> file: messages/1063
═════════════════════════════════════════════════════════════════════───────────────
  What if instead of listing food in our ingredients as a paragraph we instead
  listed them in tab-separated-rows-by-columns like excel spreadsheets except
  with justifications for everything has its place in the ingredient dish.
┌─────────┐                                                            ┌───────────┐
│ 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/6137
════════════════════════════════════════════════════════════════════────────────────
  sometimes, comments need to go on the left side of text. Like for parts of the
  script which should be user-editable, the fields should all be right-aligned to
  the farthest required bit of text. Instead of [picture A] it should be [picture
  B]
an example script written in the bash computer language that has all the variables hidden behind comments on the left. makes it very hard to try new variables. the same picture, but the variables are moved to the right.  now it's easier for the user to update them since they don't have to use their mouse.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════════───┴───────────┘
 -> file: messages/1246
═════════════════════════════════════════════════════════════════════════───────────
  \
┌─────────┐                                                            ┌───────────┐
│ 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/3787
═══════════════════════════════════════════════════─────────────────────────────────
  arithmatic control flow

  If A, then B. Else C
a picture of a programmatic implementation of arithmatic control flow
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════────────────────────┴───────────┘
 -> file: fediverse/2879
═════════════════════════════════════════════════───────────────────────────────────
  ┌────────────────────────┐
  │ CW: re: tech info-dump │
  └────────────────────────┘


  @user-1370

  I love this a lot! I want to put function pointers in a "matrix architecture
  array" and make them point to different functions at different points in the
  program. I bet you could even point them at each other, so like if M and Y then
  point at N, A, Y or something.

  this is really cool I like stuff like this tomorrow I'll take pictures of
  something similar I'm working on! I abandoned it tho hehe anyway remind me if I
  forget!!
┌─────────┐                                                            ┌───────────┐
│ 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/1988
════════════════════════════════════════════════────────────────────────────────────
  @user-246

  I once heard that Excel is a functional programming language with a tabular
  interface
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: messages/1518
════════════════════════════════════════════════════════════════════════════────────
  \
┌─────────┐                                                            ┌───────────┐
│ 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/3270
══════════════════════════════════════════════════──────────────────────────────────
  somebody shifted my terminal tabs like, 4 pixels to the left, and now the
  far-left part of the text is half-cut off. lol xD
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/6348
═════════════════════════════════════════════════════════════════════───────────────
  here's a neat function
computer code
┌─────────┐                                                            ┌───────────┐
│ 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: fediverse/4628
═══════════════════════════════════════════════════════─────────────────────────────
  user interface tips #18569235:

  if a user is expected to click the same button multiple times in a row, for
  example a "next" button in an image gallery, DO NOT move the interface from
  below their mouse pointer and cause them to move their mouse in order to click
  it again.

  please don't : (
┌─────────┐                                                            ┌───────────┐
│ 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/6
══════════════════════════════──────────────────────────────────────────────────────
  ┌──────────────────────┐
  │ CW: Math             │
  └──────────────────────┘


  @user-5 create an array of length 7 initialized to zero. then use a for loop
  that loops 97 times and adds a random number between 1 and 20 to an array index
  that iterates through the array each time through the for loop.

  NOTE: be sure to also change the loop counter based on the random number too,
  so you allocate exactly 97 points no matter what random number you get.

  Oh and speaking of which if the loop counter
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════─────────────────────────────────────────┴───────────┘
 -> file: fediverse/705
═════════════════════════════════════════───────────────────────────────────────────
  some more of the same.
Setting a bunch of values for a "player" and a "creature" object. Mostly things like location, and values related to their movement around the map (such as wander radius, or attack distance, that kind of thing) Starts out by initializing x, y, z, and o (for orientation) variables using a "player, dot get location" function.  Next it checks three different locations, labelled "dock, road, and beach" by first testing to see if the X, Y, and Z values are greater or less than predetermined values. If so for all three values, then that means the player is located within a square drawn in the dirt somewhere on the map and they are promptly teleported to some other place.  Basically it's like, a teleport pad in a video game or something. Step into the circle (in this case a square) and you're whisked away to some far off land. Setting up a bunch of categories that particular NPCs might belong to. Such as "shopkeeper" or "food vendor" or "weapons trainer", that sort of thing. Each entry gets a name applied, a list that includes items they sell, and a typemask that is used as a bitflag so that a single NPC can belong to multiple different categories.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/4750
═════════════════════════════════════════════════════════───────────────────────────
  dreaming of a mastodon interface where it's 3-6 panels of timeline just like
  now, except, each of them is the same timeline and when you scroll it scrolls
  all of them at once, and the bottom of the leftmost panel is the top of the
  panel to the right, and the bottom of that panel is the top of the one to the
  right, etc etc.
a visual representation of what the post describes, for the people who can't imagine things in their head using text alone. Ha, what a bunch of noobs.
┌─────────┐                                                            ┌───────────┐
│ 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: fediverse/1696
═══════════════════════════════════════════════─────────────────────────────────────
  smartphone_max_battery_life = int_to_percent(100 - update_count);
┌─────────┐                                                            ┌───────────┐
│ 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/3258
══════════════════════════════════════════════════──────────────────────────────────
  @user-570

  I wonder how it would feel to bind numpad enter to tab instead?
┌─────────┐                                                            ┌───────────┐
│ 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/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: messages/929
════════════════════════════════════════════════════════════════────────────────────
  {[booooo that writing stinks, the writers of the first few lines were better]}
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse/2738
═════════════════════════════════════════════════───────────────────────────────────
  @user-1340

  BTM - it's like TOP, but... bottom

  https://github.com/ClementTsang/bottom
┌─────────┐                                                            ┌───────────┐
│ 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/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/1080
══════════════════════════════════════════──────────────────────────────────────────
  here's an idea - when typing a command in a BASH terminal if you push up it
  inserts the previous command (as expected) but if you hold SHIFT and push up it
  inserts the first argument in your previous command. Then, you can push up
  again (while still holding shift) to go one command further back, and again to
  get the third previous command.

  Then, here's the cool part, if you are holding shift and you push left/right,
  then it moves from the first argument of the previous command to the second,
  third, fourth argument.

  example:`ls -ltr ~/pictures/my-art/

  feh [shift+up inserts -ltr]
  feh -ltr [hmmm that's not right]
  feh -ltr [shift+right switches to 2nd argument]
  feh ~/pictures/my-art/ [ah that's better]
  `

  would be even cooler if it highlighted it in your previous terminal output so
  you could visually connect your current input with the previous input
┌─────────┐                                                            ┌───────────┐
│ 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: messages/1311
═════════════════════════════════════════════════════════════════════════───────────
  did you know they could re-arrange the order of my similar-different pages and
  the audience wouldn't be able to tell

  html is just text

  your browser can display whatever it wants.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═──────────┘
 -> file: notes/computer-graphics
══════════════════──────────────────────────────────────────────────────────────────
  draw a line from every single pixel straight outward. The first thing it hits
  is what you render.

  okay it's more complicated than that, but it's the gist.

  here's a more detailed explanation:

  your monitor is 2560x1440p. that means there's 2560 pixels left to right, and
  1440 pixels up and down. okay so define a 3d scene programmatically - it's not
  hard, just "draw cube here with this size and rotation" and "draw a sphere here
  with this position and rotation" etc. Something simple.

  then, draw a ray trace straight out from your monitor. Not to the nearest light
  source, but to the nearest other camera. Use the length of it to determine
  distance, both indirectly (through the center node) and directly (pythagorean
  theorum style).

  Why? I dunno.

  Okay back to the original idea, if you make an array with 2560 elements and
  store arrays of size 1440 within it, then you have a simple boolean checkbox
  for each pixel. Then, whenever you create a visible entity, make sure there's a
  single boolean ticked right on the top of the entity when it's stored in the
  graph mentioned above. Find the center of the entity, draw to the top, and one
  more, and switch a boolean to "true". Then, every tick / update, cycle through
  the entire list and the first one you find that has a "true" value is where you
  draw the entity stored in the array.

  Each "sprite" has an odd shape - it doesn't exist on it's top line, except for
  one single dot right in the middle. Sorta like this:

  o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
  o o o o o o o o o o o o o o o o o o ->X<- o o o o o o o o o o o o o o o o o o o
  x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x

  when scanning left to right from the top, it'd bump into the X right there in
  the middle. Inside the X is some data - an id corresponding to the sprite that
  needs to be drawn, and a displacement value - like 500 pixels or something -
  and the scanner with drop down 500 pixels, draw the sprite there (assuming a
  centered origin point), jump 500 pixels up, and keep scanning.

  each tick, right before this, the "list of entities" will scan through itself
  and for each entity it'll change the "render graph" mentioned above to have an
  X wherever the entity is stored. Whenever the camera moves, it updates the list
  too.
┌─────────┐                                                            ┌───────────┐
│ 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/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/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/573
═════════════════════════════════════════───────────────────────────────────────────
  already spotted a bug. Should be for(1000 / MAX times) in the last example.

  EDIT: Or, even better, increment that loop by +MAX instead of +1 each time
  through.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: messages/324
═════════════════════════════════════════════───────────────────────────────────────
  The difference between front-end and back-end programming is whether or not you
  want to design abstractions or use them. Backend is all about creating abstract
  things that are networked together, while front end is about putting them
  together in a way that suits the user. Front end is collage, back end is pencil
  drawing.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════──────────────────────────┴───────────┘
 -> file: fediverse_boost/183
◀═╦════════════════════[BOOST]══════════════════════─────────────────────────────┐
  ║ ┌──────────────────────────────────────────────────────────────────────────┐ │
  ║ │ Just opened Tuba (Mastodon desktop app for linux) for the first time in  │ │
  ║ │ a long time and it's really nice.                                        │ │
  ║ │                                                                          │ │
  ║ │ I don't remember it being like this.                                     │ │
  ║ │                                                                          │ │
  ║ │ Wondering if there is a way to get support for multiple columns like in  │ │
  ║ │ the web advanced interface.                                              │ │
  ║ └──────────────────────────────────────────────────────────────────────────┘ │
  ╠─────────┐                                                        ┌───────────┤
  ║ similar │                     chronological                      │ different │
  ╚═════════╧═══════════════════════════════════════─────────────────┴───────────┴─▶
 -> file: fediverse_boost/366
◀═╦═════════════════════════[BOOST]═══════════════════════════───────────────────┐
  ║ ┌──────────────────────────────────────────────────────────────────────────┐ │
  ║ │ Tihi :blobcatgiggle:                                                     │ │
  ║ │                                                                          │ │
  ║ │ How the tables have turned! :blobcatangel:                               │ │
  ║ └──────────────────────────────────────────────────────────────────────────┘ │
  ╠─────────┐                                                        ┌───────────┤
  ║ similar │                     chronological                      │ different │
  ╚═════════╧═════════════════════════════════════════════════───────┴───────────┴─▶
 -> file: fediverse/5445
═══════════════════════════════════════════════════════════════─────────────────────
  @user-1283

  just make sure you add alt-text!
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════────────┴───────────┘
 -> file: fediverse/30
════════════════════════════════────────────────────────────────────────────────────
  @user-33 sup
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════───────────────────────────────────────┴───────────┘
 -> file: messages/110
════════════════════════════════════════────────────────────────────────────────────
  The best way to program computers is to organize them according to their
  relations. Like, when x increases by 4 then y increases by 2 - basically, a
  math equation that you can continuously solve by calculating more and more
  comprehensively and deeply.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════───────────────────────────────┴───────────┘
 -> file: fediverse/614
═════════════════════════════════════════───────────────────────────────────────────
  What does your template for a new project look like? Here's mine:
39 lines of C code included in it's original form here:  #include <stdio.h> #include "pthread.h" #include "raylib.h"  void* draw(void* args){    const int screenWidth = 800;    const int screenHeight = 450;     InitWindow(screenWidth, screenHeight, "template");     SetTargetFPS(4);     while (!WindowShouldClose())    {       BeginDrawing();          ClearBackground(RAYWHITE);          /* do something */       EndDrawing();    }     CloseWindow();    return NULL; }  void* game(void* args){    /* do something */    return NULL; }  int main(void) {    void* args;     pthread_t threads[2];    pthread_create(&threads[0], NULL, draw, &args);    pthread_create(&threads[1], NULL, game, &args);    return 0; }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/4829
═════════════════════════════════════════════════════════───────────────────────────
  check out my shuffle-all-music script
a picture of a bash script which shuffles all the music files in my music directory and also displays the title in a different color for each song, which is sorta like slightly changing the flavor of the song without changing the sound  oh it also saves the names into a list of "recently played" songs and every time you run the script it deletes the list. so it only like, saves the last time you ran the script.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════════════════════──────────────┴───────────┘
 -> file: fediverse/2606
════════════════════════════════════════════════────────────────────────────────────
  ┌───────────────────────────────────────────────────┐
  │ CW: re: politics-fascism-sexual-assault-mentioned │
  └───────────────────────────────────────────────────┘


  @user-249

  sup
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘
 -> file: notes/ai-can-benefit-from
═════════════════════════════════════════════════════════════════════════════───────
  ai-can-benefit-from the fact that humans need to read from left-to-right
  but robots can read laterally.

  "here's a string of 600 zeroes, then a series of 35 random numbers, then 200
  zeroes"
  and
  "here's a string of 600 random characters, then a string of information, then
  200 zeroes"

  looks exactly the same to an LLM.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════════╧═════──────┘
 -> file: messages/930
════════════════════════════════════════════════════════════════────────────────────
  <bang slam kerblam> there goes another line into ram. wonder what it's used for.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: messages/711
════════════════════════════════════════════════════════────────────────────────────
  https://www.desmos.com/calculator/cxayticajg
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════───────────────┴───────────┘
 -> file: fediverse/6007
═══════════════════════════════════════════════════════════════════─────────────────
  I always get the syntax backwards, for some reason...
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: fediverse/1869
═══════════════════════════════════════════════─────────────────────────────────────
  oh dear, Mastodon formatting makes that script look weird. Here's the script in
  picture form so you can reference and fix it:

  I would edit the original post with backslashes and such but I'm exactly out of
  characters teehee
a screenshot of some BASH code
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════────────────────────────┴───────────┘
 -> file: messages/16
═───────────────────────────────────────────────────────────────────────────────────
  https://www.reddit.com/r/commandline/comments/na02wx/cute_terminal_animations/
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘─────────┴────────────────────────────────────────────────────────────┴───────────┘
 -> file: messages/699
═══════════════════════════════════════════════════════─────────────────────────────
  —,
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════────────────────┴───────────┘
 -> file: fediverse/3877
════════════════════════════════════════════════════────────────────────────────────
  @user-570

  I do`alias ls='ls -v --color=auto'
  `

  and that seems to cover most things. Then in my cd alias I do`alias cd='cd ${@}
  && ls -la'
  `

  so I don't have to type ls everytime I cd ^_^
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════───────────────────┴───────────┘
 -> file: messages/758
══════════════════════════════════════════════════════════──────────────────────────
  what if we got a bunch of computer programmers in a room and all had them write
  the same program, line by line. Like, if they each contributed to the
  discussion about what should be placed next.

  "I wrote a for loop that does what we're looking for on line 43 through 69" and
  then someone else says "nice" and everyone's like "oh you"
┌─────────┐                                                            ┌───────────┐
│ 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/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/3663
══════════════════════════════════════════════════──────────────────────────────────
  @user-1582

  It depends on the size of the file, copying a thousand lines of config file
  probably isn't that big of a deal, but copying a million lines in a log file
  just to pass it as an argument to... pad it to the left, or whatever, that'll
  DEFINITELY slow down your execution speed!

  Much better to pass by reference, usually...
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═══════════════════════════════════════─────────────────────┴───────────┘
 -> file: fediverse/1510
════════════════════════════════════════════────────────────────────────────────────
  number of tabs open: 15 thousand

  number of tabs in regular use: 5

  EDIT: average distance between tabs: 15
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════───────────────────────────┴───────────┘
 -> file: fediverse/582
═════════════════════════════════════════───────────────────────────────────────────
  @user-431

  I made an alias that overwrites cd so I don't have to do this. The important
  line is line 27, you could probably accomplish something similar like this:

  alias cd="cd ${1} && ls -v --color=auto"

  I also set it up so I can change more than one directory up using ... or ....
  or .....

  also I have a few shortcut scripts, cdir and qcd. cdir creates a quick way to
  drop a bookmark wherever I'd like, while qcd can make permanent bookmarks. Also
  qcd makes it so whenever I open a new terminal it opens to the last directory I
  was in, which is nice if you need a new terminal to do something in the current
  folder and you don't want to have to walk alllllllll the way back.
A BASH script that overwrites the built in "change directory" command to auto magically list the contents of the directory you've moved into after moving.  here's the content of the script:  #!/bin/bash  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 }
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧══════════════════════════════──────────────────────────────┴───────────┘
 -> file: fediverse/5877
═══════════════════════════════════════════════════════════════════─────────────────
  I wish I could click on ls output to cd up or down
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧════════════════════════════════════════════════════════────┴───────────┘
 -> file: messages/931
════════════════════════════════════════════════════════════════────────────────────
  <*type type type type*> oh see it's writing music.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════════════════════───────┴───────────┘
 -> file: fediverse_boost/451
◀═╦════════════════════════════[BOOST]═════════════════════════════──────────────┐
  ║ ┌──────────────────────────────────────────────────────────────────────────┐ │
  ║ │ Take away the elements in order of apparent non-importance               │ │
  ║ │                                                                          │ │
  ║ │  #ObliqueStrategies                                                      │ │
  ║ └──────────────────────────────────────────────────────────────────────────┘ │
  ╠─────────┐                                                        ┌───────────┤
  ║ similar │                     chronological                      │ different │
  ╚═════════╧══════════════════════════════════════════════════════──┴───────────┴─▶
 -> file: fediverse/2097
════════════════════════════════════════════════────────────────────────────────────
  If you're writing a bash script, you should never hard-code file locations.
  Instead, put them in a variable at the top of your script, so they're easy to
  find when people need to configure your script or move files around.

  It's like a config file built INTO the script itself. Just change the
  variables, they're at the top with comments.
┌─────────┐                                                            ┌───────────┐
│ similar │                       chronological                        │ different │
╘═════════╧═════════════════════════════════════───────────────────────┴───────────┘