Emile comments on 2012 Less Wrong Census/Survey - Less Wrong

65 Post author: Yvain 03 November 2012 11:00PM

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

Comments (733)

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

Comment author: Emile 05 November 2012 09:30:04AM *  2 points [-]

whose kneecaps do I have to break to make Markdown leave my indentation the Christian Underworld alone

There may be a more convenient method, but using non-breaking spaces ( ) works.

print [
  len(filter(lambda x: x > 0.6 *per_day,
             [
               sum([ randint(0,1) for birth in range(0, per_day) ])
               for day in range(0, 365)
              ]))
  for per_day in (15, 45)
]
Comment author: [deleted] 06 November 2012 12:52:18AM 0 points [-]

Certain browsers (early versions of Firefox, at least) for some reason automatically replace all hard spaces with regular spaces when submitting a form.