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.
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).
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.
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.
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.
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.
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!
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)
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.
>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?
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.
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?
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.)
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?
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.
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.
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.
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]
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.
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).
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' :) )
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.
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.
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 ;)
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.
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).
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.
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.
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.
It takes a really hardened individual to completely ignore the beauty of a father spending time with his daughter and building things with her in order to talk shit about Evan Williams and Medium.
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.
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.
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.
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.
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.
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.