jimrandomh comments on Spring 2010 Meta Thread - Less Wrong

3 Post author: FAWS 11 March 2010 10:27AM

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

Comments (141)

You are viewing a single comment's thread.

Comment author: jimrandomh 11 March 2010 02:51:00PM *  27 points [-]

I've decided to write polling support for Less Wrong. In particular, I'm going to make it possible to make polls that ask for probabilities, and let people choose to vote either anonymously or on the record. Expect a beta of some kind by 22 Mar.

Comment author: jimrandomh 29 March 2010 03:08:33AM *  7 points [-]

My polling code for Less Wrong is now (mostly) complete. Check it out with 'git clone http://github.com/jimrandomh/lesswrong.git'. The syntax for creating a poll in a comment is:

Which choice? [poll]{First choice}{Second choice}{Third choice}
How much do you agree? [poll: Agree.....Disagree]
How likely? [poll: probability]
How many? [poll: number]

The first is a conventional multiple-choice poll, with the options in curly braces. The second gives radio buttons along a scale, with labels (such as Agree/Disagree) on the left and right. After you've submitted a ballot, it will show you the vote breakdown. There are also probability and number polls, for which you can get the mean and median. There is also a 'raw data' link, which provides a CSV file with all of the votes broken down by question and user (either their username, if they unchecked the 'vote anonymously' box, or a number), so people can do fancy analysis on the results.

The main areas that still need work are the templates (the results look a little ugly), error handling, and bug-testing. If all goes well, it should be ready to deploy on Less Wrong in another week or two.

Comment author: rhollerith_dot_com 27 September 2010 05:15:59PM 2 points [-]

What is the status of this attempt to add support for polls to Less Wrong please?

Comment author: jimrandomh 27 September 2010 05:33:51PM 2 points [-]

Mostly finished, but lost motivation due to lack of feedback - I heard that a test was set up on an internal Benton house server, but never saw it or heard what the results were, and other things took precedence. I plan to come back to this, but need a better test environment or the same thing will happen again.

Comment author: AdeleneDawner 20 May 2011 09:57:20AM 0 points [-]

I was going through the top-rated comments list, and found the several-greats grandparent - did this ever make any more progress?

Comment author: jimrandomh 20 May 2011 10:57:22AM 0 points [-]

Unfortunately not. The code from where I left off is still up on github, if anyone wants to pick it up. (The URL seems to have changed - it's now https://github.com/jimrandomh/lesswrong instead of https://github.com/jimrandomh/lesswrong.git).

Comment author: Kevin 29 March 2010 03:12:47AM 0 points [-]

:) Thanks! I am excited.

Comment author: jimrandomh 23 March 2010 12:58:44PM 2 points [-]

Expect a beta of some kind by 22 Mar.

I have officially missed my self-imposed deadline, due to having less free time to work on it than expected last weekend, but I have made progress and will continue until finished. (Setting a deadline was just a willpower trick anyways, and it did work for that purpose.) My next suitable chunk of free time is this coming weekend, so I hope to finish then.

Comment author: MBlume 19 March 2010 06:05:07AM *  0 points [-]

jim, are you working in a public repository? I can't find you on GitHub

Comment author: Morendil 20 March 2010 08:55:15PM *  2 points [-]

Woot, I've committed and submitted my first code change to the LW codebase, a proposed fix for Issue 200, learning some novice GitHub and git skills in the process.

Since what prompted me to take this step was to improve the Anti-Kibitzer script, I think my next learning opportunity is going to be a closer integration of the AK within the main LW code base, maybe controlled by a user preference.

Repo at http://github.com/Morendil/lesswrong

Comment author: RobinZ 20 March 2010 10:38:07PM 0 points [-]

Integral anti-kibitz? That sounds great!

Comment author: Morendil 25 March 2010 02:03:55AM 1 point [-]

Turned out to be almost anti-climactically easy. I couldn't sleep and returned to the computer to pass some time, started to look into how it would have to be done, and it turned out to be very nearly trivial so I went ahead.

Implementation details: I've added a check box to the Preferences page, checked by default, under a "Kibitz options" section, with a label saying "Show commenter names and scores by default". I plan to add a link to either a new comment on the old Anti-Kibitz top level post, or first write a new top level post and link to that, to serve as end user documentation.

Any suggestions for improvement while I can still make changes at lowest cost?

I'll wait until tomorrow to commit and submit it for approval by Tricycle, because I don't trust myself to write bug-free code, even if it looks trivial, at 3am. Especially without having written any unit tests (I'll have to look closer into what tests there already are before I start writing new ones).

Comment author: jimrandomh 19 March 2010 04:50:26PM *  0 points [-]

Nothing's committed yet except on my local development machine, but when I push stuff it'll be to http://github.com/jimrandomh/lesswrong .

Comment author: MBlume 19 March 2010 05:04:31PM 0 points [-]

Cool, thanks. I've got a repo up at http://github.com/MichaelBlume/lesswrong -- nothing original yet, but you can see tricycle, peerinfinity, and the continuing work on reddit in one tree.