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

  1. 1
  2. 2
    I Slipped on JavaScript’s Banana Peel
    3 people · 3 points · first shared 2017 · discussion on HN
  3. 3
  4. 4
    The Web's Most Tolerated Feature
    2 people · 5 points · first shared 2025 · discussion on HN
  5. 5
    Smaller, faster websites
    2 people · 5 points · first shared 2015 · discussion on HN
  6. 6
    The Many Faces of Functions in JavaScript
    2 people · 3 points · first shared 2017 · discussion on HN
  7. 7
    Announcing the official JavaScript compatibility report
    2 people · 3 points · first shared 2018 · discussion on HN
  8. 8
    Sessions: The Vim Feature You Probably Aren’t Using
    2 people · 2 points · first shared 2017 · discussion on HN
  9. 9
    Dive into Flexbox
    2 people · 2 points · first shared 2015 · discussion on HN
  10. 10
    REST API Documentation Best Practices
    2 people · 2 points · first shared 2015 · discussion on HN
  11. 11
    Designing an exponentiation operator for JavaScript
    2 people · 2 points · first shared 2014 · discussion on HN
  12. 12
    A D3 plugin to improve path animation
    2 people · 2 points · first shared 2016 · discussion on HN
  13. 13
    WPT Web Platform Tests: An Overview and History
    2 people · 1 points · first shared 2024 · discussion on HN
  14. 14
    Bocoup Is Now Worker-Owned
    1 people · 63 points · first shared 2025 · 43 comments on HN
  15. 15
    JavaScript Developers: Watch Your Language
    1 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
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/

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close