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.

The moving sofa problem

215 pointsby franzbalmost 7 years ago

14 comments

lb1lfalmost 7 years ago
Recycled anecdote from the last time this was discussed on HN:<p>While a student, I looked after the apartment of a friend of mine, who was overseas.<p>When he moved there, we were _just_ able to eke his sofa around the last corner from the stairwell and through the door to his apartment. Just. After much cursing and several failed attempts.<p>So, what does a good (cough) friend do while the owner is overseas?<p>Get some hardwood mouldings&#x2F;trimmings&#x2F;whatever you call those long, thin pieces of wood typically put where wall transitions to ceiling or floor and nail them to the exterior doorframes, making both door openings perhaps 3&#x2F;8&quot; or so narrower, paint them in the color of the doorframe, sit back and wait.<p>Then, years later, as he is about to leave town, moving company comes along and everything runs smoothly until one item remains. The sofa. Obviously, it got in - so it&#x27;ll (as obviously) come out. Only it doesn&#x27;t.<p>We (everybody except the owner and the moving guys were in on the joke) managed to keep a straight face for several minutes.<p>The moving guys even laughed as they (eventually) left, mollified by a bottle filled with a Scottish export product which we&#x27;d kept on hand to ensure no feelings were hurt afterwards.
评论 #17531158 未加载
willvarfaralmost 7 years ago
If anyone hasn&#x27;t read or has forgotten Douglas Adams &#x27;Dirk Gently&#x27;s Holistic Detective Agency&#x27; then I warmly recommend it. It includes, iirc, The Sofa Problem and the solution is classic Adams and all HNers will love it! :)
评论 #17530390 未加载
评论 #17531706 未加载
评论 #17530465 未加载
评论 #17531640 未加载
评论 #17533035 未加载
评论 #17530681 未加载
mklalmost 7 years ago
Gibbs&#x27;s computational approach is really interesting [1]. Keep the sofa still and move the corridor, and the optimal sofa shape is the intersection of all (well n, since it&#x27;s a numerical approximation) the corridor shapes as they sweep around.<p>[1] <a href="https:&#x2F;&#x2F;www.researchgate.net&#x2F;publication&#x2F;311900489_A_Computational_Study_of_Sofas_and_Cars" rel="nofollow">https:&#x2F;&#x2F;www.researchgate.net&#x2F;publication&#x2F;311900489_A_Computa...</a>
评论 #17540509 未加载
评论 #17532935 未加载
vinchucoalmost 7 years ago
Kudos to the animation illustrator [0]. See also [1]. I&#x27;m collecting these for reasons.<p>[0] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;User:Rocchini" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;User:Rocchini</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15549197" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15549197</a>
评论 #17531694 未加载
评论 #17533379 未加载
enriqutoalmost 7 years ago
This problem seems tame and uninteresting compared to the real-life 3D case.<p>Last christmas, I was moving a sofa on my mother-in-law&#x27;s home, and it was stuck in the corridor. She told me &quot;i seem to recall that you have to raise this side a bit&quot;. I replied something to the effect &quot;no way, i am a mathematician and there&#x27;s no way that this can possibly make a difference&quot;.<p>Of course she was right. I could only move the sofa by rotating it in 3D <i>just so</i>, so that the slightly protruding arm and leg could pass one after the other.<p>So the real question, not dealth with in the wikipedia page, is: what is the largest sofa that we can move through a unit corner, allowing it to rotate in 3D ?
评论 #17532085 未加载
vignesh_malmost 7 years ago
Somewhat related, but more counterintuitive and &quot;solved&quot;: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Kakeya_set" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Kakeya_set</a>
tambourine_manalmost 7 years ago
Nice numberphile vídeo on the subject:<p><a href="https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=rXfKWIZQIo4" rel="nofollow">https:&#x2F;&#x2F;youtube.com&#x2F;watch?v=rXfKWIZQIo4</a>
SOLAR_FIELDSalmost 7 years ago
Would proving this advance our knowledge in some related field such as mathematical topology? Since the values have already been brute forced (but unproven) there really isn’t any direct practical application for knowing the solution
评论 #17530619 未加载
评论 #17530410 未加载
评论 #17531589 未加载
评论 #17530419 未加载
thomasfedbalmost 7 years ago
Kickstarter idea: Gerver&#x27;s sofa in Italian leather.
评论 #17530446 未加载
评论 #17530557 未加载
chdefrenealmost 7 years ago
Numberphile did a great video on this topic <a href="https:&#x2F;&#x2F;youtu.be&#x2F;rXfKWIZQIo4" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;rXfKWIZQIo4</a>
kyberiasalmost 7 years ago
Pivot!
评论 #17531550 未加载
评论 #17531278 未加载
评论 #17531860 未加载
Biba89almost 7 years ago
It would be great to someone create a game where you should calculate and create sofa in order to move sofa through the building passages
flingoalmost 7 years ago
Can someone just put this in an ISO standard already, so I know how wide to make my hallways?
ourmandavealmost 7 years ago
var numberOfMovers = (! hideABed) ? 3 : 0;