TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask: How do you apply “programmer’s” efficiency in everyday life things?

51 pointsby 5_minutesalmost 7 years ago
I notice myself towards fellow human beings that I try to optimize simple everyday tasks. “They” mainly try to optimize certain events, by using Google Maps for the shortest route.<p>But I try to do this with numerous things, from filling up the dishwasher, to taking out the thrash, to (quite often to irritation to my SO), postponing things: to add things up and then to everything in one-efficient go.<p>Some of these moundaine tasks are “repeated” items with a reminder of a todo-app. Or by paying all bills every 2 weeks, instead of when they come in.<p>My wife (2 kids) cleans the house basically constantly. While when I’m alone, I just do it at the end of the day, cause it doesn’t matter to clean up multiple times the toys.<p>I buy things that don’t expire (like toothpaste) in bulk. While she buys them by one.<p>Do you guys&#x2F;girls have similar instincts and events happening? It’s really not about non-chalance, but rather the strive to do things as efficiently as possible with as little effort as possible, while having the same good outcome.

24 comments

wskinneralmost 7 years ago
I store physical items in my home in an LRU cache. Items I use all the the time are close to the places where I use them. Less frequently used items are stored further from the place they are used, for example in a closet or the garage.<p>This clashes badly with my roommate, also a programmer, who strongly prefers to store items by category. He will put all the kitchen gadgets on a shelf by the kitchen even if those gadgets go months without being used.<p>The advantage of his method is that you always know where something is, because it’s in the right place. The advantage of my method is that most of the time I get things done faster, though sometimes I end up spending some time looking for a thing I use only infrequently.<p>It turns out he also has much more stuff than I do. Since caches are more efficient with a smaller working set, it makes sense that we would each prefer our own strategy. Who knows which direction the causation goes.
评论 #17694663 未加载
评论 #17694678 未加载
评论 #17694906 未加载
评论 #17694639 未加载
tchaffeealmost 7 years ago
You are task oriented, while your wife is goal oriented. If there are twenty dishes to wash and you only have time to wash seven, the goal oriented person washes the seven. Goal oriented people actually tend to be better organized and get more things done. All of the time you spend planning doesn&#x27;t add up to enough savings for it to pay off. Try timing a few things and see for yourself. Loading the dishwasher in a different way might save you one or two seconds total. But you spent more time thinking about it. Just get things done. You&#x27;ll find you are faster, and you spend less time thinking. Thinking requires effort and energy. Save that for the stuff that really matters.
评论 #17694607 未加载
pommersalmost 7 years ago
I&#x27;ve gone down the path of minimising my choices to a small good set for a lot of things. I do this for everything from clothes and shoes to managing my money.<p>Clothes are simple. 10 shirts that are either black or grey. Three shirts that are work branded. close to ten pairs of chinos and jeans (all work appropriate, some kevlar lined for motorbikes) Bulk undies and socks, all patterned so they are easy to pair up. Two pairs of shorts for summer and a pair of sports shorts for sport and the beach. A couple of suits for the odd time I need them (weddings and interviews)<p>For getting stuff done like cooking or making stuff, I operate with the minimum number of &quot;tools&quot;. For actual tools, this means a cordless drill and screwdriver, couple of power tools, a good screwdriver set, a spanner set and a socket set. For the kitchen it means three good knives, the minimum set of kitchen utensils I need to make everything I make regularly, one good pan and two good big tiered pots that I can steam stuff in.<p>Financially I assign resources as they come in. I split my paycheck into fun money (pub and lunches&#x2F;dinners out), food money (going to the shops and making stuff myself), savings and bills. All my bills are direct debited and the amount I put in to paying bills is higher than I worked out it would cost me over the course of the year. This means i only ever have to think about how much of the fun money and food money I have when making decisions.<p>By minimising my options when it comes to making decisions, I minimise my time working through all the options to make them.
评论 #17696525 未加载
评论 #17694824 未加载
评论 #17696091 未加载
pidgealmost 7 years ago
A literal one that I probably picked up from another comment section here:<p>Treat your closet as an LRU cache—always put clothes away on one side, and start looking for items from the same side. As an added benefit when you run out of capacity, anything that has ended up on the far side is a likely candidate to be evicted to a higher latency storage layer (bins in the attic), or simply deleted and recomputed if ever needed again (just drop it off at Goodwill, you can always buy another).
评论 #17694656 未加载
评论 #17695294 未加载
Rjevskialmost 7 years ago
Don&#x27;t have much to say about how to do things, but I&#x27;d say try to <i>reduce</i> the number of things to do, so the little you still have to do won&#x27;t be a big deal.<p>For example, I only communicate with companies&#x2F;suppliers via email&#x2F;phone (and change suppliers if they can&#x27;t accommodate that). This means any physical mail that arrives must be spam, and goes in the trash without even being opened - anything I care about would instead come through phone or email. This means I haven&#x27;t needed to fiddle with papers for ages, while my flatmate still wastes a good 10 minutes almost every day reading incoming mail (and then putting it into a huge pile she&#x27;ll eventually have to sort out - akin to technical debt).<p>Bills are paid out automatically (via &quot;Direct Debit&quot;) so I don&#x27;t have to worry about that either.<p>Shopping is taken care by Amazon subscriptions, which means new stuff arrives soon before the old boxes run out. Haven&#x27;t been grocery shopping in ages.<p>Food is handled by Deliveroo&#x2F;Uber Eats, so no cooking necessary. I use throwaway forks &amp; plates so no dish washing necessary either.<p>Cleaning&#x2F;housekeeping is handled by a company that does it every week in the flat while I&#x27;m away, so no worries about that either.<p>Not all of this is possible for everyone (things might be different depending on your location, whether you have a family, your financial situation) but personally it works great for now and I have plenty of time when I get home. Basically for anything that you&#x27;re doing, try to see if there&#x27;s a way to <i>not</i> do it at all or to outsource it to someone else (who might be an expert at it and thus do it more efficiently than you can).
评论 #17694666 未加载
评论 #17694727 未加载
评论 #17694622 未加载
评论 #17694672 未加载
lovichalmost 7 years ago
I dont. If I applied what I did at work all day to what I do at home, both would become very monotonous. Sometimes I like to do things slowly just to take enjoyment in the act of doing, or I like to keep a routine so I can do chores on autopilot and not have to really think about it
teerayalmost 7 years ago
I have a hybrid system with my closet and Evernote:<p>The closet was something of a mess—assorted things used with varying frequency. After purging what obviously could go, I bought identical boxes that would fit in the shelves of the closets and labelled them with letters.<p>I then created an index. Each box got a new note in a dedicated Evernote notebook named according to its label, and in the body of the note I listed its contents.<p>My closet now had full text search. This made it ridiculously easy to find any random item I might need. I just had to type the name of the thing, and the matching note&#x27;s name would tell me what box to look in.<p>Also, when I needed to find something, I always added an &quot;x&quot; on a newline under the thing when I retrieved it. This updated the last modified time of the note. After awhile, the boxes with the oldest last modified times became prime targets for future purging. It also made it very obvious when frequently used items should get dedicated space with quick access.
brlewisalmost 7 years ago
I use the &quot;sort first&quot; optimization more than non-programmers in my household.<p>For example, my technique for putting away groceries is to take the contents out and set them next to the grocery bags, then sort them by where they&#x27;re going (kitchen fridge, pantry closet, etc.). This is faster than repeatedly taking one or two items out of a bag and bringing them where they go.
评论 #17694826 未加载
kqr2almost 7 years ago
Also see the book <i>Algorithms to Live By: The Computer Science of Human Decisions</i>:<p><a href="https:&#x2F;&#x2F;smile.amazon.com&#x2F;Algorithms-Live-Computer-Science-Decisions-ebook&#x2F;dp&#x2F;B015CKNWJI" rel="nofollow">https:&#x2F;&#x2F;smile.amazon.com&#x2F;Algorithms-Live-Computer-Science-De...</a>
strictneinalmost 7 years ago
I have very similar instincts, and it weirds me out sometimes. I have an in-depth understanding of the efficiency difference of the direction I mow my lawn (NW&#x2F;SE is the best for the shape of the yard, but you can&#x27;t do that every time. N&#x2F;S is second most efficient. E&#x2F;W is third and I can&#x27;t stand it), and am constantly wondering if there is a better way to snowblow my driveway.<p>Past that, I feel myself optimizing paths through the office and hand movements for juggling things and the door, stuff like that. And then when I see people use less than optimal routes and techniques I wonder why that&#x27;s the case.
评论 #17694779 未加载
wencalmost 7 years ago
Whenever I&#x27;m trying to look for something in a (mostly) sorted list, I always do a binary search. I can&#x27;t recall the exact circumstances this has come up in real life but it has.
评论 #17694646 未加载
FrozenVoidalmost 7 years ago
Classifying tasks into priorities. 1.Urgent and required. Sorted by urgency. 2.Required. Waits until all #1 completes. 3.Optional. Waits until all #2 completes. 4.Leisure&#x2F;Misc. Waits until all #3 completes.<p>Reducing wasted space by putting items with lower usage into storage space category that is in proportion to usage: 0.Items with daily use priority 0. 1.Items which aren&#x27;t used daily get priority -1. 2.Items which aren&#x27;t used weekly get priority -2. 3.Items which aren&#x27;t used monthly get priority -3. etc, the less used items occupy their own category(e.g. yearly use &quot;yearly storage space&quot;) .<p>Reducing decision space iteratively: 1.Enumerating all possible choices&#x2F;options. 2.Discarding all low-quality choices. 3.Discarding all mediocre choices. 4.Selecting a set of top choices. 5.Writing down a comparison table for #4. 6.Filling the table in #5 7.Eliminating choices that sound worse than average. 8.Repeat #7 until you&#x27;re left with one choice.<p>Solving complex problems by breaking them into sub-problems. 1.Formulating on paper the scope of the problem as separate sub-problems. 2.Sorting the sub-problems in order of difficulty. 3.Connecting the sub-problems to their potential solutions. Like a graph from sub-problems -&gt; solutions 4.Selecting the most connected solution. 5.Improving the solution to include more connections(so a single solution solves all or most sub-problems in #2) 6.If a solution can&#x27;t be improved, try next most connected solution. Focus on the solutions that can be improved. 7.The best-performing solution is implemented. 8.Repeat with next best solution.
bradlysalmost 7 years ago
I try to parallelize as many tasks as possible. My SO absolutely hates this a lot of times because it means you have to work for longer period of times instead of breaking up tasks. But stuff does get done in less absolute time.<p>Example: We&#x27;re baking something. Say cornbread. My usual thing is to immediately wash the dishes after putting the stuff into the oven. This means two things happen at once: dishes and cooking. Then when while we&#x27;re eating, the dishes are drying. So then someone can put away the dishes and then the other can start putting any other dishes we used into the sink.<p>Basically, I just try to parallelize tasks as much as possible. Grouping them is good too but sometimes mentally it&#x27;s too much to wait for the grouping to occur. I do cost benefit analysis on things like multiple trips vs one heavy and awkward trip. Sometimes multiple trips is faster and less stressful. Try to factor things in like: well if I have less stuff in my arms I can &#x2F;run&#x2F;. I can&#x27;t do that when I have a bunch of stuff in my hands.<p>Other things I do are like: try to step up 2 steps at a time at the pace of doing 1 at a time. Basically 2x up stair climbing performance. Run&#x2F;jog to various parts of the home or between the car and getting inside. Just trying things to speed things up and get little bits of exercise in.<p>Unfortunately, I live in very small spaces so I frequently optimize for time over space (cost of being a newer resident in the Bay area). Very small cache here so no option to buy in bulk. :)<p>Oh and other unusual things: try to do stuff with your non dominate hand. I only brush my teeth with my non dominant hand. Incredibly difficult at first with a manual brush (small circles are hard!). But after 10+ years, much better. I try this with various tasks just to try to up my dexterity and keep life interesting.
bad-jokealmost 7 years ago
I tend to &quot;think&quot; in Logo. Often this comes down to shouting &quot;forward&quot; at slow pedestrians but thankfully my family has learned to keep me away from the reptile exhibit at the local zoo (I have been ejected several times).<p>It&#x27;s really quite stunning how many people have difficulty thinking of things in terms of birds and turtles.
roryisokalmost 7 years ago
Loving the LRU cache IRL posts :)<p>I&#x27;m constantly tweaking my laundry sort algorithms to try and find the fastest. My latest is to have bins for the two youngest, two oldest and myself and my wife. I grab and chuck dry clothes into each. Then I take those to the appropriate place in the house and sort.<p>I also have toy cleanup bins stashed in each room so I can pile stuff away quickly for easier tidying.<p>And I have a dustpan just for toy tidying, scooping things off the floor.<p>And I try to keep the vacuum in the centre of the house where it has the least distance to travel to any room.<p>And I try to quietly take the messiest toys (small parts) out of circulation.<p>And all our devices use the same charging cable, and there are charge points with those cables in the most strategic places in the house.<p>And I try to tidy as a background &quot;garbage collection&quot; task, never leaving a room without removing something that&#x27;s not supposed to be there
simonpantzarealmost 7 years ago
Hard to measure but I believe I think more about how things might fail than other family members.
评论 #17694634 未加载
评论 #17694630 未加载
peterburkimsheralmost 7 years ago
When someone&#x27;s walking towards me head-on, I don&#x27;t do an awkward side-step in sync with them. That usually ensures a collision. I stop still, and close my eyes. They then avoid me.<p>Taking a bus in a foreign country (e.g. China) without reading the timetable is challenging. So I would get on the first bus going the right direction, and stay on until it deviated from my desired path. Then I&#x27;d get off, walk to the next stop, and repeat.
DougN7almost 7 years ago
I plot my routes in the car based on the total score of a route composed of points for left turn, right turns, lights, etc. Avoiding left turns at a light is a big goal. I know others do this too (notably UPS’s supposed optimization of only making right turns).
taurathalmost 7 years ago
Moving is pretty easy. Everything is staged in a priority queue, all boxes are “databased” by room -&gt; type. Also since I’m lazy, it’s pretty good easy to classify things that are wasting time, though a good distraction is definitely sometimes worth it.
dmh2000almost 7 years ago
I have a glass walled shower, and I experimented with different patterns of squeeging it until I got one that looked like the best. I would have solved it analytically if my math was better.
rajacombinatoralmost 7 years ago
Perhaps you should be optimizing for overall happiness of your household rather than your own. Perhaps you should try communicating in a collaborative manner with your family.
serfalmost 7 years ago
i&#x27;m meticulous about checklists, mostly due to programming.<p>I have extensive records, self-kept for a few hours a week, regarding any and all finances, home maintenance, car maintenance, etc.<p>It mostly serves as a form of self-flagellation in the form of financial guilt associated with over-spending, but it&#x27;s a useful trait to have once-in-a-while.<p>I was a prodigious note-taker in school, too. I think that may be related.
评论 #17694942 未加载
jaco8almost 7 years ago
I structure things , whenever possible, around a simple rule: Faster, better, more efficient .
megaman22almost 7 years ago
I can&#x27;t help trying to ruthlessly optimize repetitive tasks. It&#x27;s sort of like the rule of three in real life. Quick example:<p>Yesterday, I was building a set of shelves in my garage. These are pretty beefy to hold hardware and tools and stuff, so I was building them with a 2x4 frame and plywood on top. Three levels, and I wanted them to be 10 feet by 2 feet, so I had ten foot front and back rails, with shorter stringers every two feet. So I had six rails, and six stringers per level, total of 18.<p>For the rails, I measured one, marking center lines for each stringer. Then I lined up all six, and drew the lines across all of them with my square. Probably saved fifteen minutes compared to marking and measuring each one individually.<p>For the stringers, each one needed to be 21 inches, and you really want them to all be as close to exactly the same as you can get, or else your the frame gets all out of true. If you try to measure each one and cut them one at a time, you never get them just right, and it takes forever. So I figured the first one, and screwed down a stop block to my miter saw bench, to make a jig. Now I don&#x27;t have to measure, I just slide the 2x4 down to the stop, hold it against the fence, and zip zip zip, I cut the whole batch in a couple minutes, all just the same length.<p>Going onto the assembly, I&#x27;ve got my rails all marked out, and my stringers all cut, so I can start screwing things together. The hard part is lining things up, holding it all together, and trying to get the screws started and driven without anything shifting. So I went down my rails and started all 24 screws on each rail where I had the center lines started. Works best if you drive them just through, so there&#x27;s like a sixteenth of the point sticking out. Now I&#x27;ve just got to line up the stringer square and hit the already started screw with my driver. It also helps keep everything square and reduce walking around if you do them in a snake pattern, so start on one end, screw to one rail, go to the other rail and screw the other end, stay on that rail and start the next stringer, then go to the other side.<p>Last, getting to the installation, the really fiddly part is trying to get everything lined up and level, while you&#x27;re trying to hold the assembled shelf up and then screw it all in. Real PITA if you&#x27;re working alone. I was screwing them into the wall studs against the back wall of the garage, with a few posts on the unsupported front. So I cut some cheater blocks out of scrap 2x4, that would span two studs, and that the shelf could sit on as I&#x27;m installing it. Measure where the shelf should fall on one stud, and screw one side of the cheater there. Then take a small level to level it up before screwing the other side. Then use a four foot level to mark where the other cheater should go, and level that up. Even better, I was in a corner on one side, so I had another stud I put a third cheater on, leveled up kitty-corner with the others. Now when I pick up the whole heavy shelf, I just set it on my blocks, and I&#x27;ve only got to worry about supporting one corner as I&#x27;m getting it leveled and attached to my outside post. When that corner is level, everything else is level. Repeat three times for the three shelves.<p>I do this kind of decomposition and optimization in everything, and always have, way before I even saw a computer...