News for hackers. Stuff that matters.

favouriteduck

Re:Ask HN: Why can't I login to HN using Lynx? on Wednesday May 02, 2012 @04:41PM (#3921080)
I'm guessing the HN web server has a particularly narrow interpretation of the HTTP/1.1 spec:

    For compatibility with HTTP/1.0 applications, HTTP/1.1
    requests containing a message-body MUST include a valid
    Content-Length header field unless the server is known
    to be HTTP/1.1 compliant. If a request contains a 
    message-body and a Content-Length is not given, the
    server SHOULD respond with 400 (bad request) if it
    cannot determine the length of the message, or with
    411 (length required) if it wishes to insist on 
    receiving a valid Content-Length.
In this case Lynx knows HN is a HTTP/1.1 server and so doesn't bother with Content-Length. That makes the server code a more complicated so I guess it just hasn't been coded.
If you mean logging in via clicking a link in an email then it is too much of a security risk. Think of all the places that URL can end up in: browser history, bookmarks, etc.

It works for password reset because the window of opportunity is small (just a few minutes) and it is a once-only operation (visiting the URL again should not reset your password again).

Re:Does it make sense to replace all disks with SSDs? on Wednesday October 28, 2009 @11:33PM (#909435)
No.
Re:It has blades: Dyson’s little white lie on Wednesday October 14, 2009 @10:35PM (#882633)
Well that was a let-down. I didn't know about this gimmicky fan. I thought someone had put fins on a Dyson sphere. That would be way cool.
Re:It has blades: Dyson’s little white lie on Wednesday October 14, 2009 @08:44PM (#882487)
or really big oxygen molecules o_O