20

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
[-] sailor_sega_saturn@awful.systems 10 points 3 months ago

Speaking of data loss, I once had just finished a physics lab assignment in OpenOffice and planned to print it off and walk to the University, 4 miles away, shortly.

Unfortunately an extremely confusing quirk of the OpenOffice file "recovery" UI meant that I clicked the wrong button and it helpfully deleted my document for me. I then spent the next hour learning Linux file recovery from scratch including finding and compiling a data recovery tool from source and learning about inodes.

In the end I managed to recover everything except for the images embedded in the document, hastily recreated them, and then ran the four miles to the university (my body would not be able to take that today haha)

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 8 months ago
MODERATORS