Ask HN: How have you applied computer science IRL?
30 points| augiehill | 15 years ago
How have you changed some process in your life based on computer science algorithms or principles?
30 points| augiehill | 15 years ago
How have you changed some process in your life based on computer science algorithms or principles?
[+] [-] jcsalterego|15 years ago|reply
[+] [-] itsnotvalid|15 years ago|reply
[+] [-] ericHosick|15 years ago|reply
[+] [-] nl|15 years ago|reply
Mark & Sweep Garbage Collection for my desk. Commonly used stuff stays on the top, and then I periodically pause for garbage collection where I drop the lower layers into a draw. Occasionally I do survivor generation compaction, too.
When doing washing, I always build an index by hanging it out in order, so then putting it away can utilize the index (in English - I put pairs of socks together when I hang them out, so when I bring them in they are already paired)
[+] [-] corin_|15 years ago|reply
I was feeling pretty tired last night so I decided to put myself into sleep mode.
I'm now too ashamed of myself to make up a third.
[+] [-] pavel_lishin|15 years ago|reply
[+] [-] alanthonyc|15 years ago|reply
[+] [-] stakent|15 years ago|reply
At least when there is some documentation and one can deduce the signal path in the system.
[+] [-] yogsototh|15 years ago|reply
I use the standard count up to 5 with one hand just for communication purpose.
[+] [-] eqdw|15 years ago|reply
[+] [-] RiderOfGiraffes|15 years ago|reply
[+] [-] chad_oliver|15 years ago|reply
[+] [-] edanm|15 years ago|reply
http://xkcd.com/287/
That's what I use my CS degree for :)
[+] [-] dackmilliken|15 years ago|reply
E.g.: to stock beer we have a big pile with myriad brands. To make it easier to stock I stack it to where each type is easily accessible. Maybe analogous to certain heap paradigms... .
I also think about how I can reduce touching of the actual product (unload truck -> floor, as opposed to unload truck -> belt -> stock -> floor).
Basically being lazy and trying to make my life more efficient/easier leads me to utilize algorithms.
[+] [-] teach|15 years ago|reply
[+] [-] stakent|15 years ago|reply
First pass: put raports in the bins year by year maintaining sort order in the bins. Binary search used to place new report in the bin.
Second pass: put year by year sorted reports in the correct order on the shelfs.
I don't remeber the name of the algorithm used and the book from which it come was given to the library.
[+] [-] Natsu|15 years ago|reply
For what it's worth, I often have piles of sorted documents to sort together, so I've used merge sort on RL objects fairly regularly. Binary search, too, though I use the optimization where it's not strictly binary when I have a guess about where the item should be.
I've probably used a few other algorithms, but I can't think of any off the top of my head.
[+] [-] pronoiac|15 years ago|reply
This insight is courtesy of a sorting algorithm that's optimal for systems with very limited memory but multiple tape systems, if I remember correctly. Also IIRC insertion sort can beat doing the binary sort in situations of 7-20 or so? Much over a dozen, I can't use my fingers of one hand as bookmarks to do, say, three comparisons to find the right place, & I'd rather break it down into more piles.
[+] [-] bayareaguy|15 years ago|reply
If asked to do something, I usually give a promise that I'll do whatever asked but generally defer the actual work until forced.
I always follow the tit-for-tat strategy whenever dealing with anyone.
I make a point of including redundant details in all communications so that others can catch my errors.
[+] [-] dasil003|15 years ago|reply
[+] [-] mulletcat|15 years ago|reply
[+] [-] anrope|15 years ago|reply
[+] [-] Travis|15 years ago|reply
[+] [-] klochner|15 years ago|reply
http://stackoverflow.com/questions/164432/what-real-life-bad...
[+] [-] adamcharnock|15 years ago|reply
[+] [-] _b8r0|15 years ago|reply
I'm going to shower now. I feel dirty.
[+] [-] eqdw|15 years ago|reply
[+] [-] chewbranca|15 years ago|reply
[+] [-] itsnotvalid|15 years ago|reply