Bocoup Blog
bocoup.com · Company blog · on HN since 2010
The engineering blog of Bocoup, a web consultancy that works on JavaScript, browser standards, and front-end tooling.
What HN saysHN commenters link it for documentation advice, a clear flexbox explainer, and background on Web Platform Tests and contributing to the web platform.
48HN people shared it
8linked it in comments
50stories submitted
167story points
8 months agolast shared
2010people per year2026
Most-shared posts
- 1Test262 – A Tour Guide Through the Grotesque Corners of JavaScript3 people · 7 points · first shared 2016 · discussion on HN
- 2I Slipped on JavaScript’s Banana Peel3 people · 3 points · first shared 2017 · discussion on HN
- 3Why hourly time tracking doesn't work for software – Bocoup2 people · 9 points · first shared 2014 · discussion on HN
- 4The Web's Most Tolerated Feature2 people · 5 points · first shared 2025 · discussion on HN
- 5Smaller, faster websites2 people · 5 points · first shared 2015 · discussion on HN
- 6The Many Faces of Functions in JavaScript2 people · 3 points · first shared 2017 · discussion on HN
- 7Announcing the official JavaScript compatibility report2 people · 3 points · first shared 2018 · discussion on HN
- 8Sessions: The Vim Feature You Probably Aren’t Using2 people · 2 points · first shared 2017 · discussion on HN
- 9Dive into Flexbox2 people · 2 points · first shared 2015 · discussion on HN
- 10REST API Documentation Best Practices2 people · 2 points · first shared 2015 · discussion on HN
- 11Designing an exponentiation operator for JavaScript2 people · 2 points · first shared 2014 · discussion on HN
- 12A D3 plugin to improve path animation2 people · 2 points · first shared 2016 · discussion on HN
- 13WPT Web Platform Tests: An Overview and History2 people · 1 points · first shared 2024 · discussion on HN
- 14Bocoup Is Now Worker-Owned1 people · 63 points · first shared 2025 · 43 comments on HN
- 15JavaScript Developers: Watch Your Language1 people · 9 points · first shared 2018 · discussion on HN
What HN people wrote when they linked it
abhip · 2016-08-10
Good documentation is a key part
- Good summary of best practices for documentation: https://bocoup.com/weblog/documenting-your-api
- Tips for good api doc design: http://blog.parse.com/learn/engineering/designing-great-api-docs/
evolve2k · 2015-05-23
Actually I just read "Dive into Flexbox" and in 5-10 min read now have a clear understanding of how flexbox is designed to work. Best explaination I've read.
http://bocoup.com/weblog/dive-into-flexbox/
__s · 2017-04-20
I empathize. I feel like my work in implementing insurance programs & payday loan portals is of low value to society, yet it pays the bills. Meanwhile I'd much rather focus fully on my project to implement a WASM jit for Lua. That has future potential alone due to WASM unicorns wanting to open up to being useful as a JIT target
Sort of flies in the face of people thinking basic income will result in a bunch of stay at home drunks
SVG is cool. Was really wanting SVG2 as in order to get wordwrap I'm embedding HTML into the SVG which I'm embedding in HTML. openEtG uses SVG as an alternate backend to cards/deck rendering (as opposed to <canvas>)
Deck SVG: http://etg.dek.im/deck/047130c6qq016u1036u30177o0177g027aq027dm017h701…
Card SVG: http://etg.dek.im/card/56f.svg
There's some issues in rendering interacting with the page's CSS. The card back is rendered off a spritesheet, in the SVG I just offset it so that the rest of the image is clipped away
Code: https://github.com/serprex/openEtG/blob/master/svg.js
If this seems off topic.. well I'm bad at being personal, & in response to a personal blogpost, this is how I make a personal response
I was hoping to try get remote work with https://bocoup.com but unfortunately I'm also Canadian & they're not open to being that remote. But I'm just some guy who made an open source HTML5 CCG. Maybe they'd take closer consideration of you. Granted I open with a salary of 25k CAD, don't know what you…
troupo · 2025-10-06
There are literally no other metrics.
Web Platform Tests were literally a project to align browsers on compatible implementations of a bunch of web APIs. Started by Opera and w3c and maintained by w3c https://www.bocoup.com/blog/wpt-an-overview-and-history
zcorpan · 2020-06-09
Blog post about the guide: https://bocoup.com/blog/introducing-the-web-platform-contribution-guid…
Jach · 2015-11-21
The niche situations aren't going to use the built-in rand() anyway because they can write their own or use someone else's that's faster. Even if they end up using the same algorithm (e.g. a Mersenne Twister) they can still often go faster.
Interestingly according to https://bocoup.com/weblog/random-numbers Firefox is just going to use its CSPRNG once the crypto api is ready. (Bug 322529 is still in NEW state, though.)
slashclee · 2010-11-15
I'm the guy who ported this to processing.js, and no, it isn't that simple. I tried just adding that one line and it didn't actually work at the time. It turns out it's slightly more involved, and as I was just trying to make this a quick proof-of-concept hack, I didn't spend the time to rewrite the loading mechanism to make it IE-compatible.
You can read more about the interactions between processing.js and excanvas at http://bocoup.com/processing-js/docs/index.php?page=Using%20exCanvas.j… if you're so inclined, but please don't think that it's just because I was too lazy to add a single line of HTML.
DEinspanjer · 2010-09-11
This reminded me of some work Al MacDonald did a while back with Firefox Downloads...
http://bocoup.com/misc/stats.moz/