• 143 Posts
  • 2.14K Comments
Joined 5 years ago
cake
Cake day: March 23rd, 2020

help-circle



  • Back when I was a wee bit Java noob, I was trying to write a RuneScape bot to play Soul Wars. I had a basic recursive pathfinding algo for figuring out how to walk around the map, but it blew out of memory very quickly (each tile has 4 options, do that recursively, etc). So I added caching. Anyways, I never cleared the caching. So after 20 minutes of running the script, you had like 2GB of allocated RAM calculating the best path from any 2 tiles in the minigame.

    Great times. No amount of language safety features would have saved me from that stupidity.


















  • One of my friends is a veteran. I be sure to tell him my thoughts on his deployment in Afghanistan and I’ve told him multiple times he deserves his PTSD.

    But I still love that man as a human and a friend. We get along together, we laugh, I call him a terrible person, and life continues.

    Basically, don’t change your beliefs based on who you’re with, and it’s fine to be friends with a cop. I have other friends who are terrible human beings as well, but they make up for it with other great qualities. If anything, being friends with a PoS is the best way to make them a better person; you really have an opportunity to help society.