Topics /

Web & Frontend

The most popular blog posts about web & frontend on Hacker News. 398 posts.

2011
308

CSS background image hacks

Emulating background image crop, background image opacity, background transforms, and improved background positioning. A few hacks relying on CSS pseudo-elements to emulate features unavailable or not yet widely supported by modern browsers.

311

Golden Ratio for Readable Web Typography

This is the original introductory article to Golden Ratio Typography (GRT). The basic concepts you’ll find on this page are important for understanding GRT, but much of the math is now outdated (and has been replaced by updated formulae). For a more current and comprehensive look at all things GRT, check out the Golden

318

Faster JavaScript parsing

Over the past year or so I’ve almost doubled the speed of SpiderMonkey’s JavaScript parser. I did this by speeding up both the scanner ( bug 564369 , bug 584595 , bug 588648 , bug 639420 , bug 645598 ) and the parser ( bug 637549 ). I used patch stacks in several of those bugs, and so in those six bugs I actually…

320

The iPad 2

The iPad 2 is a solid second-generation iteration. Easier and more comfortable to hold, noticeably faster, equippable with foldable covers that are both literally and figuratively magnetic.

330

SpiderMonkey is on a diet

One thing I’ve learnt while working for Mozilla is that a web browser can be characterized as a JavaScript execution environment that happens to have some multimedia capabilities. In particular, if you look at Firefox’s about:memory page, the JS engine is very often the component responsible for consuming the most…