Slashdot Mirror


Legos for Hackers

rde writes "Everyone's favourite free-subscription-needed paper, the New York Times has an interesting piece on Lego's appeal to programmers and inventors, amongst others. " I still have all of mine from childhood. I could construct an industrial park out of all of them.

24 of 133 comments (clear)

  1. LEGO and the hacker mindset by Shaheen · · Score: 2

    There's no mistaking that hackers love LEGOs. I'll focus on the programming-type hacker here, but I think it applies to anyone in pursuit of knowledge about particular systems. So, what parallels exist?

    Well, for one thing, LEGOs are a system with a bunch of rules. Just like programming languages - you can only connect blocks in a limited number of ways. In fact, there are (if I remember correctly), no more than 10 (probably fewer) types of inter-connections that can be made. ANSI C only has 27 keywords (C++ has 29 - class and :: being the new ones). However, both systems, despite their limited set of rules and constructs, allow for great amounts of creativity.

    LEGO becomes an easy and very fun way to see what can be done within a very limited scope. And speaking of limited scope, I remember trying to make stuff with as few blocks as possible - if for nothing but to save the stress on my fingers breaking the thing apart afterward.

    Also, LEGO is another way for people to learn modularity at a very early stage in life. I liked the fact that I could rip off the wing or the leg of something I built and just stick it on the next thing. Also, "upgrading" my stuff was a lot more fun - I just ripped off what I didn't need and replaced it.

    But now I program. Is it more fun? Sometimes... but I definitely think building with LEGO would be much more fun as a full time job... And, it fits the description of programming, doesn't it? We should all become LEGO developers...

    - Shaheen

    --
    You should never take life too seriously - You'll never get out of it alive.
  2. not to worry (and, lego + x10) by mattdm · · Score: 2
    Yeah, it is unfortunate that the original software lego shipped is very limited. (The 1.5 version is supposed to be better, but I haven't seen it.) But it's all okay -- there's a lot of reverse-engineered alternative development environments which are all far more powerful. (And yes, a lot of them work under linux.) Check out Russell Nelson's Lego Mindstorms Internals, and of course the ultimate lego fan site, LUGnet.

    As for X10 + lego, it wouldn't be hard to do at all: use one of the utils you can find at the links above + your linux x10 tools, and you're all set.

    --

  3. solution by mattdm · · Score: 2
    Ok, first, there's Lego Shop @ Home. No internet ordering, and no official web page yet, but check out this one at LUGnet. Prices are about 10% higher than retail, but shipping is included.

    Second, remember that you're not alone.

    And finally, the Mindstorms robotics sets are labelled "12 yrs and up".

    --

  4. actually.... by mattdm · · Score: 2
    Good point, but: two standard 2x4 bricks of the same color can be connected in 24 different ways. Three (again same color) bricks in 1,060 ways, and six in 102,981,500. (more

    --

  5. Re:Lego is the plural of Lego by mattdm · · Score: 2
    You're right, "lego" as a plural noun is very common, especially among the lego-geek set. I think it stems from the common warning from the lego group to not refer to the product as "Legos, but rather Lego-brand building blocks or the Lego building system". People have misinterpretted this to mean that "Lego" is okay and "Legos" is not. Really, they mean that "Lego" is an adjective, not a noun -- so both are incorrect. ('Course, day-to-day usage is a different story. *grin*)

    And of course, these days, LegOS is something else.

    --

  6. Modern Lego by mattdm · · Score: 2
    Check out the stuff in the technic line recently. The traditional stud-type connectors are still there, but getting more and more scarce. The new system relies a lot on a peg system just like you describe. Check out these sets for some examples (or of course, your local toy store -- if you're in the boston area, I recommend The Construction Site). Also have a look at the "Thoughts" section of Eric Brok's Lego site.

    --

  7. Re:What about Construx by mattdm · · Score: 2
    Technic Lego can connect in different ways -- you can make things that are far more sturdy than Construx. Construx is cool too, but it's not as versatile.

    --

  8. good timing - mindfest! by mattdm · · Score: 2
    Good timing -- the MIT Media Lab's Mindfest is going on right now. It's basically a huge Lego event. You all should come next year. :)

    Seriously, it's very cool -- almost everyone involved in the reverse engineering project is here, plus a bunch of cool Media Lab folks, plus all sorts of wonderfully creative people from all over the world. Plus actual official lego people -- hopefully they'll hear some of what we're saying.

    And of course, there's NELUG.

    --

  9. Capsela: the O-O Alternative! by Zach+Baker · · Score: 2
    The Lego system is defintely fun, and has unmatched versatility, but it's too low-level for rapid prototyping. On the other hand, my Capsela collection prepared me for object-oriented programming at an early age.

    Think about it... Capsela embraces many of the concepts of OOP:

    • First of all, of course, encapsulation: Capsela's fundamental concept.
    • Abstraction: Capsules have a uniform shape.
    • Polymorphism: Many capsules function differently but have the same interface to other capsules.
    • Reuse: You can plug multi-capsule systems into existing structures.
    • And finally, the ultimate OOP feature: it readily lends itself to use of the car metaphor.
  10. Lego + Optics by dej05093 · · Score: 2

    There is a nice paper "Optomechanics with LEGO"
    in Applied-Optics Vol. 37, p. 3408-16, 1998

    The even did some interferometry experiments!

    I prefered "Fischer-Technik" when I was a chield
    and I also used it in the lab for some quick & dirty setups.

  11. Re:Gee, this is off post... by clifyt · · Score: 2

    Doesn't anyone ever read slashdot anymore, or is everyone here just to try to be heard...

    l/p: cipherpunk

    has been for quite some time and is always mentioned here. I think the usual first post kiddies need to post this on any nyt articles...

    clif

  12. What about Construx by cleancut · · Score: 2

    I remember having fun with my Legos as a child, but they weren't nearly as fun as Construx.

    With Construx, you could build things faster, and the end result was much sturdier then what you got with legos. You could actually play with it (which wasn't nearly as fun as building it). Legos always have the weakness in that all the pieces attach in the same direction, and makes the end result quite fragile (at least on the edges). It was possible to build things with Construx that could survive a trip down the stairs, w/o falling apart!

    I recall making an R2D2 out of them, with motor and all. Those were the days.

    1. Re:What about Construx by Hobbex · · Score: 2


      Construx was very limited compared to Legos. Sure, you could build bigger things much faster, so it had the gratitude factor, but at the cost of 90% of the freedom and challenge that Lego's offered.

      If Lego's are C, then Construx is Visual Basic.

      -
      /. is like a steer's horns, a point here, a point there and a lot of bull in between.

  13. Another choice - Fichertechnik! by SuperKendall · · Score: 2

    It seems everyone else was playing with Legos when they were a kid, but I was young I was playing with Fichertechnik.

    This was a great system of parts, that let you do a lot more than Legos at the time - they had various motorized kits, and a LOT of differnet parts like different angled connectors and very clever chains that you could build out of snap together links to make any length you desired.

    It was also a lot sturdier that Legos. While Lego constructions tend to shed peices frequently, you could take something you built with Fichertechnik and roll it down the stairs if you liked (I did many times) without harm.

    The only downsides were that they didn't tend to look as "finished" as Lego constructions do, and the parts were always a bit more expesnive (they originate in Germany). Some would say they were also harder to assemble, but I would dispute that based on my very limited experience with balky Lego parts sticking together or not sticking together, depending on which was the most annoying for you at the time.

    They also had a robotics kit developed a long time ago, which they appear to have advanced since last I looked at it - but sadly it is still way more expensive than the Mindstorms kit, which means I'll probably have to go for a Mindstorms kit now. Still, it would be cool to be able to integrate pneumatic parts into a robot or use the solar power assembly to send a robot off on it's own forever armed only with the code you provided it ...

    Check out thier website, especially the programming part - I found the name of thier programming langauge quite humorous. You haven't programmed at all until you've programmed in Lucky Logic!

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  14. Lego durability. by victim · · Score: 2

    As long as we're grousing about lego shortcomings, how about durability?

    I run a web site using some lego motors and the things aren't good for more than a million reversals under moderate load before their bearings seize up.

    Thank goodness MIT published hints on how to retrofit regular cheap motors for the mind numbingly expensive Lego brand motors. (Expand shaft with layers of heat shrink rubber tubing until you can cram an 8 point gear or worm screw onto it. Probably a worm screw if you have a high RPM low torque motor.)

  15. Turing-complete legos? by angio · · Score: 2
    When I was finishing my undergrad CS curriculum, we had a final "software engineering" course. The final project that we (a group of four of us) choose to do was building a scanner with legos. The scanner was a "pre-designed" thing that the Lego folks had come up with, but even then, it was absolutely incredible to see what you could do with them -- especially to those of us who had grown up building hand-moved spaceships out of Legos. (The best part was that we were scanning decent images at 150dpi b&w -- with LEGOS. It was boggling)

    The moral of this post is really that you shouldn't underestimate the power of the lego philosophy; in computer science, one turing-complete language can do just as much as any other turing-complete language (with different levels of human pain!). I suspect that there's a vague analogue to legos - with the right subset of actuators, sensors, and infrastructure pieces, you can build just about anything with legos.

    Drooling to go play with some legos,
    -Dave

  16. lower the price already!! by miahrogers · · Score: 2

    if lego lowered the cost of legos their sales would go up dramatically. 'nuff said.

    matisse:~$ cat .sig

  17. Structural design.. by slackergod · · Score: 2

    I don't mean to insult Construx,
    I had some when I was little, and played with
    them alot. They were great for building large
    structures. But the reason I don't have any
    anymore (and the main thing I didn't like about
    them) was that the connectors had a structural
    flaw in the plastic such that they would split
    down the center when put under structural stress.
    So, all my Construx broke by the time I was 9.
    Course, I was building things like catapults,
    ones that were able to fling small bricks, etc.
    ( I had a LOT of Construx ). Anyone else notice
    that flaw, or was it just me?
    BTW, Lego blocks integrate better into a structure
    built with Capsela than with Construx, IMHO.

  18. Lego freak by British · · Score: 2

    I've been a lego freak since I was 10. I was playing with them sooner than that, but around 10-11 I was building more and more elaborate projects out of boredom. The first was a guitar with a whammy bar(only whammied one string) using rubber bands for strings. Even hooked up a small earpiece, using it as a microphone and it sounded(faintly) like a real accoustic guitar. Then a few yeras later I pioneered a 3 speed transmission out of it, and have been doing more bizarre projects ever since. Some bits of it is on my website.

  19. Symptom, not cause by gad_zuki! · · Score: 2
    This sounds a little too much like, "Makes your kids listen to Beethoven and they'll be smart!" Well smart people listen to classical music so they MUST be right. *BUZZ*

    If anything, kids that choose to play with legos do so because they're inclined to be creative. Can we please end the brain-donor suggestions of 'legos should be part of the curiculum' crap, how would you like it if some busybodies took away your lego time because you HAVE to play little league.

    Bad analogy of the year:
    But this notion of Lego technology is not just metaphorical. What is being learned in classic Lego construction is a kind of digital language. The use of block accumulations to create illusions of smoothness is not unlike the way discrete numbers become waves of sound in the playing of a CD.

    Oh man, what a stretch. The guy who wrote this is the same kind of guy that gets his computer theories from GUIs in Hackers, Net, and ideas from way-out-there SF. The rest of the article is such a pedant mess its not worth reading. Would it kill the media to admit two things:

    1. A majority of "computer people" are creative people. Because they're not pounding out power-chords or painting murals no one has seemed to make the connection.

    2. Programming/Engineering etc. are creative professions that require lots of technical and analytic skills. The same way Jimi Hendrix would be a terrible guitar player if he didn't have an extended knowledge of music thoery.

    Knowing this, it isn't such a surprise that IT types were lego kids. Then the NY Times can spare us their 'lego binary language' theories.

    Well, I better get back to building my 'lego miniprogram' with my 'legolanguage compiler!' The 90's indeed!

  20. Re:legomania by gad_zuki! · · Score: 2
    Yeah, how would you like it if some other busybody thought athletics was so goodfor you that it should be part of the curriculum too? Mandatory little league, basketball, etc. Or another thinks religious education has to be taught at school.

    Maybe for you Legos were great fun, but not every kid wants to spend 42+ hours building the 'Mega-Castle-Fortress-set-including-the-black-knig ht.' Creative kids will gravitate towards
    creative hobbies while other kids do other things.

    Forcing children to do something you approve of doesn't make them love it. If we listened to every faddish crackpot who knows what good for kids we'd have a curriculum that includes pyramid power, creationism, theraputic touch, etc.

  21. legomania by invictus · · Score: 2

    I believe that legos help develope the creativity that is later applied to the engineering field rathar than just appealing to children predisposed to these places in our society. I mean, what creative kid do you know hasn't loved legos... lol. I personally believe they should be an integrated part of the school curriculum... maybe inspire creativity in school for once rather than crush our childrens' imaginations. Oh well, back to the play pen.

    --
    --Ks9
    1. Re:legomania by ParadoXIII · · Score: 2

      I went to a private middle school, and one of the electives (sadly, they only let me take it once) was "Lego Logo". We'd build sets using a system similar to Mindstorms, and program with our computer. The only difference between our Dacta Lego systems and Mindstorms, besides possibly different types of motors and sensors and such, was that we actually had to have a wire going to each component.
      Anyway, we used a language faintly similar to Logo to control our machines... I remember one person, who had had some experience with the program, trying to make a scanner from a light sensor and some motors. The idea was that the dark areas reflected less than the light areas. It worked in theory, but figuring out how to use the output was a different matter entirely, and one I don't think she ever solved.
      My school had the foresight to see that such a class would be invaluable to some of us. That and the StarLogo class they offered propelled me headlong into my love for programming.

  22. Re:Gee, this is off post... by magicpaul · · Score: 2

    I hadn't seem what angio said yet when I posted the above (apologies).

    Here's the fake username/pass I just set up:

    name: login_hater
    pass: login_hater

    Let me know if these work and enjoy the lego article!

    Btw, I'd suggest against a username/pass like slashdot/slashdotted/etc. since these tie all of us back to here.