Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 81,086 posts.

Any topic
Any year
49114

Covariance and Contravariance

Subtypes and supertypes are a common part of modern programming. Covariance and contravariance tell us where subtypes are accepted and where supertypes are accepted in place of the original type. This shows up frequently in most of the programming most of us do, but many developers are unaware of the concepts beyond a…

49118

Malicious Use of the HTML5 Vibrate API

There is a new API in town! HTML5 will (soon) let you make the user's device vibrate. What fun! Obviously, it's useful for triggering alerts, improved immersivness during gameplay, and all sorts of other fun things like sending Morse Code messages via vibration. At the moment, Chrome (and other Android browsers) ask…

49135

Cloud Traffic

I recently watched Build an enterprise-grade service mesh with Traffic Director , featuring Stewart Reichling and Kelsey Hightower of GCP, and of course Google Cloud’s Traffic Director . Coming at this with a brain steeped in 5½ years of AWS technology and culture was surprising in ways that seem worth sharing.