• The pool on the roof must have a leak

    Today we hiked the Kalalau Trail and swam beneath the cold spray of a waterfall. Today we discussed the finer points of the axolotl protocol used by TextSecure. Today we delighted in “shave ice”, a local delicacy that is definitely not a snow cone. Today we wrote copy, polished features, closed bugs, and merged pull-requests. Measured by lines of code, today was short. Measured by steps taken, it was tall. Measured by ideas discussed, things learned, and sights seen, it was towering. For the past week and a half I’ve been trapped on an island among a team of brilliant hackers. A curious duality exists on the island. At sunrise, stand…

    Continue reading

  • Graphing depth

    There’s something magical about a procedure that just works. Even if you don’t understand why it works, having a set of steps that will always get you to the same destination feels nice. In life there are few patterns that consistently produce the same outcome. But in math? Hoo boy… This post takes us through two very simple procedures that converge to a numerical endpoint. We’re going to graph the amount of time it takes to reach this endpoint, which actually ends up being quite pretty. Careful; such routines can be somewhat of a rabbit hole. As xkcd’s Randall Munroe puts it, The Collatz Conjecture states that if you pick a number, and if it’s even divide it by two and if it’s odd…

    Continue reading

  • Stealing history with CSS binary trees

    History-sniffing attacks let front-end code peek at other sites you’ve visited. They can be used to target ads, steal information, or discern your identity. Creepy. Historically, one of the most popular history-sniffing techniques was to style links using CSS and check their color with JavaScript. Major browsers started implementing privacy changes to address this attack in 2010.1 As a result, JavaScript’s now returns unvisited styles for visited sites. Even with these limitations there are a number of ways to scrape a user’s…

    Continue reading