News for hackers. Stuff that matters.
Re:HN now comes with HTTPS? by icebraining on Sunday August 21, 2011 @10:06AM (#2909205)
Well, HTTPS adds latency due to its handshake, and of course it uses more CPU, especially on the server (unless a dedicated SSL offloaders is used).
Re:HN now comes with HTTPS? by jws on Sunday August 21, 2011 @11:02AM (#2909318)
Rules of thumb for 2011:

• If you are generating your content in a dynamic creation system, the encryption overhead of SSL is not going to matter.

• SSL initial session latency is highly variable based on packet round trip time of the user. Some people will be irritated, other's can't tell the difference.†

␄

† I suppose there is room in the world for a CDN-like entity that places anycasted SSL entry points in strategic locations (or topology sensitive DNS lookups), then uses a zero-turnaround at startup encryption protocol back to the "real" servers. (Say, HTTP over a VPN or something more clever, after all you are the client and the server, life is easy). You'd even beat straight HTTP since by keeping alive the HTTP link to the real servers you'd save the TCP SYN turnaround. 👍

‡ Unrelated: The unicode committee has lost their mind. OS X Lion users will be seeing a flesh colored thumbs up symbol at the end of the previous paragraph. I suppose now that PILE_OF_POO and NAIL_POLISH are taken care of the committee will add everyone's avatars from all systems.

Re:HN now comes with HTTPS? by cpeterso on Sunday August 21, 2011 @01:33PM (#2909671)
Re:HN now comes with HTTPS? by biot on Sunday August 21, 2011 @03:34PM (#2910022)
Re:HN now comes with HTTPS? by xentronium on Sunday August 21, 2011 @02:29PM (#2909821)
> OS X Lion users will be seeing a flesh colored thumbs up symbol at the end of the previous paragraph

All I see is EOT symbol

Re:HN now comes with HTTPS? by 46Bit on Sunday August 21, 2011 @10:08AM (#2909207)
And yet on the flipside, it should prevent interception of login credentials or page-content filtering.
Re:HN now comes with HTTPS? by icebraining on Sunday August 21, 2011 @10:13AM (#2909220)
> it should prevent interception of login credentials

That was already possible using HN's OpenID support and a secure provider.

Re:HN now comes with HTTPS? by mike-cardwell on Sunday August 21, 2011 @10:59AM (#2909310)
OpenID doesn't prevent session hijacking though does it? It would just prevent the credentials being stolen.
Re:HN now comes with HTTPS? by 46Bit on Sunday August 21, 2011 @10:17AM (#2909227)
> That was already possible using HN's OpenID support and a secure provider.

Not actually sure what your point is here.

Re:HN now comes with HTTPS? by icebraining on Sunday August 21, 2011 @10:29AM (#2909248)
Using OpenID (with a secure provider) to login to HN prevents the stealing of login credentials and was possible even without HN supporting HTTPS. I don't see what's strange about this.

By the way, I'm not claiming that enabling HTTPS is wrong, I'm giving potential disadvantages. It's the website admins' job to weight those against the advantages and decide whether it's the right thing to do or not.

Re:HN now comes with HTTPS? by bensummers on Sunday August 21, 2011 @10:56AM (#2909303)
OpenID may prevent stealing login credentials, but it doesn't prevent stealing the cookie which identifies your session.
Re:HN now comes with HTTPS? by wisty on Sunday August 21, 2011 @11:28AM (#2909367)
Also, if you can hijack the http, you can link to a phishing site which prompts users for their OpenID provider (typically their google account) credentials. Maybe they would notice that the domain name of the phishing site (say googleopenid.com, which is available) is fishy ...

https gives you more than just encryption.

Re:HN now comes with HTTPS? by 46Bit on Sunday August 21, 2011 @11:29AM (#2909369)
I meant why the fact there was a way to do it already actually related to the debate overmuch. This protects people who just use a bog-standard HN account, and further secures all users when actually on the site regardless of login method.
Re:HN now comes with HTTPS? by dermatthias on Sunday August 21, 2011 @10:17AM (#2909230)
On the server side, it is ycombinator's decision if they can handle the additional cpu cycles. i believe they can, or else they wouldn't have enabled it.

on the client side, I don't think you can really feel the latency. is measurable, of course, but i don't think you can feel it.

Re:HN now comes with HTTPS? by icebraining on Sunday August 21, 2011 @10:23AM (#2909240)
>on the client side, I don't think you can really feel the latency. is measurable, of course, but i don't think you can feel it.

That doesn't seem to be the general opinion here: http://news.ycombinator.com/item?id=2565694

Re:HN now comes with HTTPS? by Tharkun on Sunday August 21, 2011 @10:44AM (#2909273)
And high(er) latency on HN would be a problem because ... ? It's such a highly interactive website? There are billions of high quality images to be loaded? Hundreds of ajax calls going back and forth every second?

Right.

Re:HN now comes with HTTPS? by robfig on Sunday August 21, 2011 @10:42AM (#2909268)
You can't feel the latency?

It adds half a second or more to initial page load times. For doing any sort of marketing where potential customers are arriving at your landing page, that's huge.

Re:HN now comes with HTTPS? by 46Bit on Sunday August 21, 2011 @11:31AM (#2909372)
Not necessarily so noticable. I've been running my personal site with https and the effect is fairly minor on the whole in terms of load times. Not zero, but low enough that your average user on the other side of the Atlantic wouldn't notice much of a difference to normal.

Admittedly this is a poor comparison vs a huge site, but then you'll probably find the server processing time is your greater foe.

Re:HN now comes with HTTPS? by dermatthias on Sunday August 21, 2011 @11:31AM (#2909374)
I was refering to my own feeling when loading HN, a (in comparison) very simple website.

I am sorry if it sounded like I was talking about any website in general. That is not the case.

Re:HN now comes with HTTPS? by JoshTriplett on Sunday August 21, 2011 @04:54PM (#2910263)
For some sites, where security particularly matters, using https by default on your landing page seems like good marketing.
Re:HN now comes with HTTPS? by kelnos on Monday August 22, 2011 @03:08AM (#2911656)
I can't tell the difference... HN is pretty damned slow already as it is.