Facebook Engineering: Introducing 6-pack, the open hardware modular switch

The “6-pack” platform is the core of our new fabric, and it uses “Wedge” [a custom built network switch] as its basic building block. It is a full mesh non-blocking two-stage switch that includes 12 independent switching elements. Each independent element can switch 1.28Tbps. We have two configurations: One configuration exposes 16x40GE ports to the …

How I Hacked Facebook with a Word Document

An XML External Entity (XXE) vulnerability was found on the Facebook Careers page by Mohamed Ramadan. The OWASP XXE Definition reads: An XML External Entity attack is a type of attack against an application that parses XML input. This attack occurs when XML input containing a reference to an external entity is processed by a …

Pop – Extensible iOS and OS X animation library

POPSpringAnimation *anim = [POPSpringAnimation animation]; … [layer pop_addAnimation:anim forKey:@”myKey”]; Pop is an extensible animation engine for iOS and OS X. In addition to basic static animations, it supports spring and decay dynamic animations, making it useful for building realistic, physics-based interactions. It’s a mature and well-tested framework that drives all the animations and transitions in …

Looking back on “Look Back” videos

The Facebook Engineering Team, on how they catered their infrastructure to support the “Look Back” videos which popped up early February: To plan for even more load, we began with some educated guesses, put them through some back-of-the-envelope math, and decided to plan for 25 million videos shared within a day of the anniversary. We …

The Psychology of Waiting, Loading Animations, and Facebook

When Facebook users were presented with a custom loading animation in the Facebook iOS app they blamed the app for the delay. But when users were shown the iOS system spinner, they were more likely to blame the system itself. The Psychology of Waiting, Loading Animations, and Facebook →

Facebook’s Paper photo tilt feature in HTML5

Possible thanks to the Device Orientation Events. Facebook’s Paper photo tilt feature in HTML5 →photoTilt Demo →photoTilt Source (GitHub) → Did you know that this doesn’t work on a Retina MacBook Pro, but does on the previous MacBook Pro model? It’s the Sudden Motion Sensor which affords orientation detection, yet one cannot find that sensor …

Introducing Paper

Paper takes the standard Facebook News Feed and recreates it as an immersive, horizontally scrolling set of screens. It also provides a new way to post to Facebook (and Paper) with an elegant WYSIWYG editor that borrows the styling of Medium’s and Svbltle’s blogging systems. Finally, yes, it’s a news-reading app that owes some of …