Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

edit: I thought that it goes top to down, but no, it determines order other ways. Original Pirate table:

  [Pirate|
    [beard]--[parrot]
    [beard]-:>[foul mouth]
  ]
parent posts Pirate table

  [Pirate|
    [foul mouth]<:-[beard]
    [parrot]--[beard]
  ]
this is upside down. Defining beard and parrot the order we want them to appear doesn't help:

  [Pirate|
    [beard]
    [parrot]
    [foul mouth]
    [foul mouth]<:-[beard]
    [parrot]--[beard]
  ]
it is still upside down.


Thanks for treating this as a puzzle. I think it proves the point that you either need to reverse engineer the layout engine in your head or guess and check to get good layouts.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: