Live data from Hacker News

Merry Christmas to HN

news.ycombinator.com

41–50 of 122 posts

Re: Merry Christmas to HN

#46

All I want for Christmas is the three lines of CSS it would take to make HN responsive. If that's not possible, I'll take world peace instead.

If you use opera on a smartphone, just go to the settings and enable text wrap. You're welcome :)

Re: Merry Christmas to HN

#47
post #32

Earlier quoted context omitted.

explain :)

Python equivalent for convenience: map(lambda x: chr (x + 32), [45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1]) Just paste it into a python terminal and run it :)

Python 2/3 compatiblity:

    "".join(map(lambda x: chr (x + 32), [45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1]))

Re: Merry Christmas to HN

#48
post #39
post #26

map (\x -> chr (x + 32)) [45,69,82,82,89,0,35,72,82,73,83,84,77,65,83,1]

What language is this?

Haskell. Here's another way to do it in the same language, using function composition and point-free style.

map (chr . (+32)) [45, 69, 82, 82, 89, 0, 35, 72, 89, 73, 83, 84, 77, 65, 83, 1]

Re: Merry Christmas to HN

#50
post #36

All I want for Christmas is the three lines of CSS it would take to make HN responsive. If that's not possible, I'll take world peace instead.

Seriously, don't make it responsive. I'm already shortening my eyesight by reading HN compulsively on a large iPad, I can't imagine the effects of reading it on a phone.

MiniHack is pretty awesome.
Post reply on HN