You're looking at Less Wrong's discussion board. This includes all posts, including those that haven't been promoted to the front page yet. For more information, see About Less Wrong.

eeuuah comments on Open Thread, Jun. 1 - Jun. 7, 2015 - Less Wrong Discussion

3 Post author: Gondolinian 01 June 2015 12:45AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (203)

You are viewing a single comment's thread. Show more comments above.

Comment author: eeuuah 06 June 2015 11:27:59PM 0 points [-]

This kind of thing sounds very useful especially if easily extensible. How are you planning to make the ui for this work? I think it would be fairly challenging to make it both easily available without being obnoxiously overpresent and am interested to hear your approach to the problem.

Comment author: sixes_and_sevens 07 June 2015 01:02:21AM 1 point [-]

For the country data example, every instance of a country name is prepended with a small icon (for development purposes this is currently an obnoxious red X, but I plan to replace this with a neutral-coloured globe or something), and the name itself is wrapped in some custom style (currently boldface, but could be anything). Clicking on the icon places a container with the relevant data on the page, offset to the same location as the icon, (giving the illusion of the icon "expanding" to show the data). Clicking on the icon again, or away from the container, removes it.

In terms of extensibility, all the data is in a local JSON file, and the format of the data container is an HTML template that might eventually live in the same file. I'm also planning on having local image assets (maps and flags). This could all be swapped out for anything, or even obtained from a web service.

Comment author: eeuuah 08 June 2015 01:01:23PM 0 points [-]

Yeah that seems like it would work pretty well for the case of country data. Let us know how development goes!