Hacker Newsnew | past | comments | ask | show | jobs | submit | sinap's commentslogin

You can reduce the time to 0.02s by just using `String#index`.


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.


While I do drink, I sympathize with you; there's a very unfair notion that abstaining is only the result of ignorance or backwards moral hangups, and given the derisive term teetotaling. Your decision is firmly your own.


> 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


>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


364 nights using the Sleep Cycle app and I have an average time in bed of 6.5 hours.


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.


Agreed, but there is nothing stopping you from having the authoritative name servers for a domain with different providers. As someone previously said, DNS was designed for this.


It's used to be common for universities to do this, mine still does:

  ic.ac.uk.		45665	IN	NS	ns1.ic.ac.uk.
  ic.ac.uk.		45665	IN	NS	ns2.ic.ac.uk.
  ic.ac.uk.		45665	IN	NS	ns0.ic.ac.uk.
  ic.ac.uk.		45665	IN	NS	authdns1.csx.cam.ac.uk.
(and Cambridge use Imperial College as a secondary) but the best-known American universities are on cloud providers now.


Can you have secondary name servers too though? And would it have worked to avoid outage for domains doing such in this case?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: