News for hackers. Stuff that matters.

sinap

You can reduce the time to 0.02s by just using `String#index`.
Re:Even moderate drinking could harm the brain on Wednesday June 07, 2017 @03:27PM (#14509191)
I've never drank and don't plan to. I just tell people I'm allergic to X in the alcohol. It's easier than trying to make up a reason for why I don't drink and people don't think I'm weird.
> In taller buildings (I visited a DC with around 20 stories IIRC) the stories are not rigidly connected together, so that instead of swaying (and possibly toppling) during an earthquake, the building just kind of wobbles.

This is the reason why Japanese pagodas have survived for so long.

https://youtu.be/0tFWn_e71qc?t=2m45s

Re:Net neutrality is in jeopardy again on Monday May 08, 2017 @11:46AM (#14292589)
>I also don't know how an ISP would get your actual internet history if the website uses HTTPS.

The ISP could monitor your DNS requests or the SNI[1] in the TLS handshake.

1. https://en.wikipedia.org/wiki/Server_Name_Indication

Re:Ask HN: How much do you sleep? on Friday December 23, 2016 @06:30PM (#13247805)
364 nights using the Sleep Cycle app and I have an average time in bed of 6.5 hours.
Re:DDoS Attack Against Dyn Managed DNS on Friday October 21, 2016 @02:15PM (#12763053)
The attack is on the authoritative name servers, not a DNS resolver. A public DNS resolver will query the authoritative name server for a record if it doesn't exist in it's cache.