HNHacker News
TopNewBestAskShowJobs

jhpratt

6 karma · joined February 8, 2019

submissionscomments
jhpratt··on Optimizing with Novel Calendrical Algorithms
I benchmarked this out of curiosity. Even using the bitshift and eliding the bounds checks (unsoundly), it's 22% slower than my optimized version.
jhpratt··on Optimizing with Novel Calendrical Algorithms
I'm not sure! It's certainly counterintuitive, particularly given that it is faster.
jhpratt··on Optimizing with Novel Calendrical Algorithms
What I need for the library is something that works for all values, not being range-limited.
jhpratt··on CSS Grid Generator
A grid generator I created back when grid first came out has support for areas. Not spans, but that's because this only focuses on the container and not the children.

https://jhpratt.github.io/grid

jhpratt··on CSS Grid Generator
I'm surprised to see this big of a reaction. I created something with nearly identical features (only missing the ability to specify gaps) right when grid was released. There was some interest, but not a ton.