this post was submitted on 12 Sep 2024
20 points (100.0% liked)

FreeAssembly

75 readers
1 users here now

this is FreeAssembly, a non-toxic design, programming, and art collective. post your share-alike (CC SA, GPL, BSD, or similar) projects here! collaboration is welcome, and mutual education is too.

in brief, this community is the awful.systems answer to Hacker News. read this article for a solid summary of why having a less toxic collaborative community is important from a technical standpoint in addition to a social one.

some posting guidelines apply in addition to the typical awful.systems stuff:

(logo credit, with modifications by @dgerard@awful.systems)

founded 7 months ago
MODERATORS
 

Time for some warm-and-fuzzies! What happy memories do you have from your early days of getting into computers/programming, whenever those early days happened to be?

When I was in middle school, I read an article in Discover Magazine about "artificial life" โ€” computer simulations of biological systems. This sent me off on the path of trying to make a simulation of bugs that ran around and ate each other. My tool of choice was PowerBASIC, which was like QBasic except that it could compile to .EXE files. I decided there would be animals that could move, and plants that could also move. To implement a rule like "when the animal is near the plant, it will chase the plant," I needed to compute distances between points given their x- and y-coordinates. I knew the Pythagorean theorem, and I realized that the line between the plant and the animal is the hypotenuse of a right triangle. Tada: I had invented the distance formula!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] zogwarg@awful.systems 6 points 2 months ago
  1. First furious madman scribbling: I had a toy was a "quizz" machine with "A, B, C, D" buttons, that read colorful perforated cards and a speaker of a "ding-dong" sound for a correct answer, I worked out what set of holes corresponded to what answer (which to the toymaker's credit, each card with the same answer did not have exactly the same holes) so I could always answer correctly. [The way I remember it I wanted to make custom cards, but maybe I was just a little cheater ^^]
  2. First program: One fond memory from middle-school, where our introduction to programming was writing GCM and LCM programs using TI-BASIC (or Casio, but the school really pushed the TI models forward). Also having access to a "worms" (somehow in basic and not assembly) clone copied from a friend's calculator, I reverse engineered the more easy aspects of graphical display, and input handling make a tic-tac-toe program. Since I didn't know about lists yet, inspired by the GCM and LCM bits, I used prime numbers to store the state of the board, and used divisibility tests to check it. (Some years later i would refactor it, to discover that lists are much much slower in non-assembly TI-BASIC, so it was accidental optimization) I also miscoded the bot, which was vulnerable to exactly one fork attack, but decided to leave it in because it was more fun that way.
  3. First hack: Discovering that the highschool's poorly designed web portal, for sharing homework and assignments, allowed forced browsing, which the files uploaded by anyone was fun. [I reported it to the school's sysadmin team, I swear]
  4. Cringe blog: Following in my geeky dad's footsteps I had a very teenager cringe website, that I look fondly on, with garish colors, self-made HTML, css and animated gifs.