Skip to content

Comment on What real life bad habits has programming given you?

Comments

Sometimes I get really annoyed that I can't automate all the boring parts of my life in the same way I can do (and I always do) in a computer.

From the top of my head: dishes, picking clothes, paying bills and banking in general (I would be willing to pay $100/month for a bank that provided me a good API instead of forcing me to use their crappy stupid websites), organizing physical stuff (why the fuck can't I have "garbage collection" for what is in my room?) and dealing with my car (I have to fill it in with gas every time).

You do actually have to run the Garbage Collection thread/function every so often. The key is to not use mark and sweep, but rather to time stamp everything when you use it. Get rid of the emotional attachment. If you have not used something in a while but your caching algorithm for the item says you might need it again, swap it out (to a box in the garage, get it out of your sight). Otherwise get rid of it. Periodically, throw out everything in the slow-to-access storage (the box in the garage).

The problem with using mark and sweep when trying to garbage collect your life is that the default method is just to mark everything and never actually sweep.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.