4 ms·
Reading this part about garbage collection: Being able create things on a whim and just drop them to the floor makes programmers a lot more productive than for
by m463 7y ago
Reading this part about garbage collection:
Being able create things on a whim and just drop them to the floor makes programmers a lot more productive than forcing them to micromanage the complete life cycle of every single resource.
I realized... It would be REALLY nice to have a garbage collector for the physical things in my house. Even some sort of tried-and-true algorithm to direct me would be nice.
EDIT: (this actually started as a sincere though off-topic comment on my part)
I have observed during this "shelter in place" that one way to be organized around the house is to be around the house (in this case 24/7).
And now I have 3 algorithms to think on. I think it might be nice to be nagged periodically with a certain request from a certain direction. Part scheduled cleaning, part LRU, part where does that live, etc.
- WJW 7y agoIt is possible! Unlike in the programming world, true parallel garbage collection has been mastered for centuries in the physical world. However, there is of course no free lunch. You have to pay people to come over and clean your house. Failing that, you can "write your own" by simply allocating a block of time every day to cleaning up. Doesn't get more "tried-and-true algorithm" than that.
- mcny 7y agoImagine though (all we can do in the current situation) that the garbage collector comes in at seemingly randomnpoints during the day and just as you're about to use the restroom goes in and locks the door behind them to clean the restroom.
- m463 7y agoAt first I thought you were talking about your mom/spouse but then I realized it's a computer analogy :)
- beaconstudios 7y agoThere is an algorithm for this in the form of an old saying: "a place for everything, and everything in its place".
- papaf 7y agoEven some sort of tried-and-true algorithm to direct me would be nice. I actually heard about this recently -- you throw out everything you haven't used in the last year.
- AnimalMuppet 7y agoA physical garbage collector? I've actually got one. It's my dog. (Only works in the kitchen, though. Maybe it needs debugged?)
- m463 7y agoA GIGO queue? :)