Settings

Theme

Tallest Lego building with 4 pieces?

medium.com

405 points by lorenzosnap 9 years ago · 101 comments

Reader

gerdesj 9 years ago

One commentator here questioned why is this on HN (and was DVd somewhat) There is the fact that dad teaches stuff to daughter. The lesson is fun and interactive. The concepts dealt with are pretty profound and can be quite deep: constraints, maxima and minima.

Well done dad - you've covered some complex stuff in a fun and accessible way. Good skills.

If anyone else doubts why this is valid Hacker News, they may want to simply hand in their nerd card and do something else.

  • falsedan 9 years ago

    Slamming my nerd card down so hard the whole table spins around

    It's hacker news, not motivational team building shared insight news. I'd expect a GA solver which selected the four pieces which could be constructed into the tallest possible structure (with all the dirty tricks e.g. a boat hull attached to a wobbly assemblage of Giant Base/wing plates with a 12x24 brick balanced on the top), with a Speculation section positing possible future pieces which would allow an even taller structure (with plausible details of the sets & why they would need even longer pieces than those currently available).

    • gerdesj 9 years ago

      ... and where do you think new hackers come from?

      Personally speaking, I have no idea what a GA solver is but my initial solution would involve putting all the pieces on top of each other with their longest edges aligned - that's the maximum. Then we look at the constraints: gravity is a bit of a bugger. etc etc

      Keep your card and open your mind. You might be a bright lad but you can still learn to look at problems from a fresh angle. The OP's daughter is in safe hands as far as I can see - she'll learn critical thinking and that is a real gift.

      BTW: what is a GA solver?

      • vacri 9 years ago

        > with their longest edges aligned

        Longest axes aligned. Longest edges is not the maximum. The article's final solution uses a long axis rather than an edge.

      • jedberg 9 years ago

        > what is a GA solver

        Genetic Algorithm solver, I assume.

        • gerdesj 9 years ago

          Ok, got it (thanks) - something that would simply follow the rules to find a solution yet be unable to think outside the box. It would, for example, not even "think" of dabbing a small amount of Super-Glue on the edges to achieve the theoretical maximum.

          I don't recall the initial problem as stated precluding outside assistance.

          My point stands: dad is pushing daughter to use the rather large brain that she has to solve a problem. Whether or not she becomes a Hacker as we know it does not matter - she is learning critical and analytical thought processes through this game.

          That is one of the many gifts that any parent can bestow on their progeny and I'm impressed at his approach in this case. Society as a whole becomes a little richer as a whole through these little steps.

          • 52-6F-62 9 years ago

            Couldn't agree more. It's a lesson in perceiving the largest range of possibilities.

            Coming from a family with a less money than average North Americans, this is an especially good lesson. For countries with enormous possibility, but few open paths to achievement, the value of this kind of ability in thinking can not be overstated.

    • jacquesm 9 years ago

      No, the whole elegance here is in the simplicity of the puzzle, and no child would get excited about anything like what you are suggesting. Unless you're missing a /s tag somewhere.

      • striking 9 years ago

        I think the sarcasm is too strong for it not to be a parody of the lightest-gray comments in this thread.

    • panic 9 years ago

      Genetic algorithms? What is this, 1995? Show me the TensorFlow dataset or this post is as good as [dead].

      More seriously, though -- I think problems like this can actually be more interesting than solutions. They get you thinking about what the solution might be. Lots of interesting work starts with a problem rather than a particular solution technique. That said, I'd be interested to see your GA solver solution, or any other solution someone can find!

      • gerdesj 9 years ago

        Bugger GA (whatever) thingies. I've got some super glue - stick all Lego bits together on their longest axis: problem solved as posed but probably not as intended.

        The large thing between my ears beats the crap out of a GA thingie any day, provided that the problem is loosely defined 8)

        • foobarian 9 years ago

          Does superglue work on Lego? I found that gluing pieces of plastic together (especially nice plastic like Lego) is the most challenging of all. Wood, paper, rubber, even metal with welding. The best experience I have with plastics is with PVC and the nasty chemical cements that temporarily dissolve the material.

          That said it would probably work well enough for this problem.

      • eriknstr 9 years ago

        >I think problems like this can actually be more interesting than solutions

        Reminds me of an animated shortfilm I saw not too long ago but not that recently either.

        There's this person that has a box full of questions and s/he encounters an elderly person that has "all the answers", and I'm not going to spoil the rest.

        I just can't for the life of me remember what it was called and I can't find it with any web search I can think of either. Anyone know which one I'm thinking of?

    • fdsfsafasfdas 9 years ago

      Such over-engineering does not smack of interesting material for a site called "hacker news". This is great material in itself, especially considering the context of education here.

      • falsedan 9 years ago

        > context of education

        Oh, advancement through self-education? There's practically zero pedagogic content on HN. Or in this submission! How did the father guide his daughter? Through examples & showing a restricted subset of the problem? By following the technique in How to Solve It & steadfast avoiding showing the student anything but patiently & gently reminding them of what they know & which skill to apply in each circumstance?

    • moeamaya 9 years ago

      And HNers wonder "Why do so few people major in computer science?"

      Enabling potential CS Majors to encounter technically-unencumbered problems is a great first step!

    • PhasmaFelis 9 years ago

      If novel solutions to trivial technical problems aren't of interest to hackers, I dunno what is.

      • falsedan 9 years ago

        > novel

        The problem & solution seemed trivial, not novel: tallest structure with _these four_ pieces (get them on their sides) vs. _any four_ pieces (hmm what is the longest piece, will it be stable on its side, can they be stacked, what will help them stack, etc.)

    • roryisok 9 years ago

      Hah, my first thought was actually a boat hull a diamond building platform sail!

  • timwaagh 9 years ago

    here is mine. collectible somewhere across the atlantic ocean. dont get me wrong i loved lego. but my playing days are about 20 years behind me.

    • flukus 9 years ago

      Have you tried recently? It's still fun, just unfairly stigmatized as a kids only thing.

      As an adult no one bats an eye if you play something like Cities: Skylines, minecraft or dwarf fortress. There's an army of adults playing FarmVille. So why not lego?

jacquesm 9 years ago

Ah, jacquesm bait, ok here is my solution (left), right one is an alternative to yours.

http://imgur.com/a/h7HnB

just the tops:

http://imgur.com/a/wsqCw

  • spydum 9 years ago

    I feel like they should be attached and not stacked?

    https://imgur.com/gallery/W13nR

    Fwiw: 10.3cm

    • spydum 9 years ago

      https://i.imgur.com/zUl5AP8.jpg

      Measured 10.7cm: https://i.imgur.com/I637r2v.jpg

      What have you done to me!? Can't stop.

      • BatFastard 9 years ago

        I never considered that the backplane is the same height as the inter dot distance. I thing I can think of as a possible improvement would be to put the single dot side ways, and put a grain of salt on each side. Or find a very slight indentation to put it in.

      • prawn 9 years ago

        I really like the thinking of moving the smallest piece to the very bottom!

        This would make a great quiz night team challenge or corporate team-building activity.

      • jacquesm 9 years ago

        One of the conditions was that it should be able to stand on its own ('freestanding'), that one can't balance on the lower piece.

  • lorenzosnapOP 9 years ago

    LOL. Can't wait to show those pictures to my daughter. thanks

    • jacquesm 9 years ago

      You're welcome :) That's a nasty trick though but it is actually designed to be used that way, Lego has all kinds of interesting tricks.

      Come to think of it this is an interesting game in the making, much better than most (or even all) games that lego makes:

      Given x pieces from some set you get to take turns trying to make the highest combination, or, alternatively, all kids at a party are handed the same lego pieces and the winner gets some prize.

  • gawin 9 years ago

    As a former Lego building champion I couldn't resist ;-)

    http://imgur.com/a/TjXeO

    • jacquesm 9 years ago

      Show with real parts that it remains standing. I tried building that one and could not get it to balance. Maybe you can find some position where the COG is over the little piece.

gene-h 9 years ago

Reminds of a genetic algorithm that was made to optimize lego structures[0]. One of the most notable results of this was optimizing for a structure as long as possible with a single support. What they got was a 2 meter long organic looking cantilever that experienced significant brick deformation[1]

[0]http://www.demo.cs.brandeis.edu/pr/buildable/evocad/aid00/ [1]http://www.demo.cs.brandeis.edu/pr/buildable/long_bridge/

542458 9 years ago

I think you can do ever so slightly better by moving the pink dot to the highest pip on the 2x2 green cylinder - it extends a little beyond the pip, so you'd gain about a millimeter that way.

If it's not cheating to have parts not completely attached, you could maybe even balance the pink dot on top of the green cylinder for an extra 3-4mm.

jacquesm 9 years ago

Ok, an even better one:

http://imgur.com/a/FXhbH

  • ythn 9 years ago

    You could make the one on the left even taller by tilting the yellow rectangle so it also utilizes the hypotenuse

  • ErikHuisman 9 years ago

    now do one with the top piece upside down (or put that piece on the bottom)

    • jacquesm 9 years ago

      I tried, it will not balance (nor at the bottom, because COG is off-center too far from the center of the round 1x1 plate for it to be able to stand on its own).

      I'd love for someone to beat this one.

trevyn 9 years ago

>The only rule is “The structure needs to stand on its own.”

Melt it down and recast it, duh. :)

  • vacri 9 years ago

    Well, taking away the implicit rules, the limit becomes simply "the tallest structure we can build with current technology".

    For example, put the four Lego pieces on top of the Eiffel Tower, and you've now created a structure that is height "Eiffel Tower + Lego" - and it's made with those four pieces ('with', not 'only with' :) )

  • runarberg 9 years ago

    I think that is cheating, because after the recasting is done you are left with a single piece. The instructions clearly say 4 pieces ;)

  • 5ilv3r 9 years ago

    People like you ruin rubix cubes. :p

    • jacquesm 9 years ago

      Nah, they break one piece out, flip it and then put it back in, then mess up the pattern and gift it to someone for their birthday.

      • dnautics 9 years ago

        I got my girlfriend a 5x5x5 for her birthday and she accused me of swapping tiles when she got stuck on the last two. Almost ended the relationship.

        • tdy721 9 years ago

          The lesson here: If you gift a puzzle, you better be able to solve the puzzle ^.^

  • b3lvedere 9 years ago

    Or cut all the pieces into as much long pieces as possible, then stack them.

te_platt 9 years ago

Very fun! It reminds me of teaching my son to play tic-tac-toe. He started in the top-left, I went center, he went top-center, I blocked top-right, he went in between top-left and top-center and quickly claimed victory. I gave him that one and said he had to go in an unused square. Next game he started top-left, I went center, he went top-center and then before I could go he hurried and went top-right and again claimed victory. I don't remember what we did after that but I do remember thinking it was more fun pushing the rules than the actual game.

  • jacquesm 9 years ago

    Childrens logic: if it isn't said outright before the game then it isn't a rule. You lost fair & square.

tdy721 9 years ago

To entertain myself, I gave this some thought before I clicked. I assumed exactly what the title says: which 4 lego pieces create the tallest structure that stands on it's own.

Well, we need the biggest bricks we can find, my mind went to the ship hulls: https://www.ebay.com/p/?iid=282223262072&&&dispItem=1&chn=ps

So how can we connect 2 of these together, and make it stand vertical? Or can we?

It might be that we need the 3 pieces to make the brick stand... I'm not sure.

And then I clicked on the article...

(I'm not sure if I've even found the largest brick, or if I've found a 3 brick component; how do we define "brick"? Why do I care? Please comment and subscribe, it really helps ;)

natch 9 years ago

10.9cm free standing, no glue or tricks but top two bricks are just resting, not attached.

https://imgur.com/gallery/FEk9l

  • jacquesm 9 years ago

    2mm below the tallest, but how earth do you get the pink piece to balance on the gray piece?

    I bow to the master.

    • natch 9 years ago

      There is a taller one? Do tell! Link?

      Edit: and as to how to get the pink one to stay, it was just some delicate balancing. And the pink one is tilted slightly toward the viewer/left, in other words aside from being (obviously) oriented diagonally, it's also not oriented straight up and down in the other axis. Managed to do it a few times for different attempts, as the first time the pip wasn't riding as high as it could be. The pip just stays on (barely) by friction, btw.

mturmon 9 years ago

It might be interesting to compare the height achieved by a given configuration, to the upper bound on heights (sum over largest dimension of all 4 pieces).

btbuildem 9 years ago

You can do a bit better if you put the round piece at the base, and make the blue piece diagonal just like the big flat piece.

You'd need to balance everything on the round piece, but the little pink dot should assist in that.

Kind of like those balanced rocks thing :)

zachrose 9 years ago

Gain an extra 2mm or so by just resting the pink piece on top?

5ilv3r 9 years ago

Asking questions, challenging assumptions, bending the rules, and just trying things are all core to the hacker mentality. Well done sir!

crazygringo 9 years ago

It's funny, but I feel like this is exactly the kind of skill required in engineering or business generally -- "How can we creatively maximize 'x' given what we've got?"

In fact, it wouldn't strike me as an unreasonable interview question, using the physical pieces. Of course some people are better with spatial reasoning than others (and experience with Legos is another leg up) -- but using several simple, general-purpose questions along these lines almost feels like a FizzBuzz for any job where problem-solving is an important part.

  • jacquesm 9 years ago

    There's this joke about an Ikea job interview: interviewer tosses a bunch of parts on the floor in the interview room and says: take a chair.

aaron695 9 years ago

Sorry but isn't two or three cheating? These are not valid ways to connect Lego are they?

gazarullz 9 years ago

Very cool post, in regards to the people clicking on the link and then bashing the author, it would be nice if you could bring some arguments to your disliking/bashing.

the_unknown 9 years ago

Thank you. I've now had a similar discussion with my two girls (Aged 11 and 4). Was a far better way to spend the evening than a typical night of Netflix.

rena-anju 9 years ago

"My daughter asked me"

Markoff 9 years ago

kudos to Lego marketing department for great viral

xupybd 9 years ago

I have no idea why this post is so popular. I'm equally confused at why I find it so interesting.

asketak 9 years ago

Does this content really belong to hackernews?

  • dang 9 years ago

    Your comment got treated rather harshly, so let me try to explain. The post is on topic for HN because, although the question is a whimsical one, it gratifies intellectual curiosity (please see https://news.ycombinator.com/newsguidelines.html). Whimsical submissions like it have always been welcome here, as long as they're uncorrelated with anything that's appeared recently. (Sometimes people start doing the copycat thing of posting follow-up stories on almost the same topic. Those get old quickly unless they're really interesting, so the bar gets higher superlinearly.)

    It isn't just a question of the community upvoting it. Plenty of stories get plenty of upvotes yet still don't belong on HN—e.g. most sensational controversies.

    Many HN users value the diversity of the stories that appear here and don't take well to comments that appear to want to narrow the site down. That might be why your question got flamed.

    • asketak 9 years ago

      Thanks for contructive answer. Got it. I was just curious. I am lurking here for long time and it seems to me, that the ratio of technical posts is really declining over last few months so I was wondering about the guidelines.

    • gpderetta 9 years ago

      also Lego have the hacker nature.

    • rimliu 9 years ago

      While my view is that if someone posted it on HN and it was upvoted high enough—it belongs there; there is little in this post that "gratifies intellectual curiosity". Unless we are talking about the child involved, but I doubt she reads HN. There is often a complaint about negativity on HN, but I don't think swinging the pendulum too far in the opposite direction adds quality. If anything it devalues really interesting content.

      • dang 9 years ago

        Intellectual curiosity doesn't only mean studying great work or deep problems. It's closely allied with a playful spirit that likes to do things just because. That playful spirit is vulnerable to being dismissed as unserious, so it needs protecting. We protect it here.

        Of course opinions will always differ about any given submission, but that's the general approach.

  • giarc 9 years ago

    Every post starts out at 0. The community decides who to upvote and downvote. So does it deserve to be on hackernews? Hackernews users decided it does.

  • jacquesm 9 years ago

    It does, but anonymous accounts questioning what belongs on HN and what does not do not.

  • JCharante 9 years ago

    The users who make up hackernews have voted. It do.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection