Better HN
topnewbestaskshowjobs
Log inSign up

77

12 karma · joined Feb 27, 2018 (8y ago) · 4 submissions

Submissions

comment 7mo ago · link · parent

https://xmonader.github.io/letsbuildacompiler-pretty/

comment 1y ago · link · parent

To be more precise, Java initially uses a linked list for nodes within a bin. If the number of items inside the bin crosses TREEIFY_THRESHOLD (which is 8), then that specific bin is converted into a RB tree.

This is detailed in implementation notes comment here: https://github.com/openjdk/jdk/blob/56468c42bef8524e53a929dc...

comment 1y ago · link · parent

This hack has terrible accessibility. For one, the <label> is not focusable by default, so keyboard users won't be able to toggle the popup at all. And I don't think it's possible to dynamically set ARIA attributes without JS.

4.

Designing my tattoo using generative art in p5.js(konradbochnia.com ↗)

2 points · by 77 · 3y ago · discuss