Better HN
topnewbestaskshowjobs
Log inSign up

Heqx

61 karma · joined Jan 16, 2013 (13y ago) · 11 submissions

Submissions

comment 8y ago · link · parent

Please consider the UX of your state toggles. The red/green states will be difficult for color-blind users to discern and, color aside, it's tough to tell which is the active state.

comment 10y ago · link · parent

I was sincerely asking all of those questions. I'm not very familiar with the process these specs go through to reach adoption.

comment 10y ago · link · parent

Can you point me to an explanation of the differences between the 'lodash.throttle' module and importing 'lodash/throttle'?

comment 10y ago · link · parent

I hear you. But, isn't this just an editor's draft spec? Only Chrome and Android have done any implementation at all. So, as far as I can tell, there's a chance this will never be fully implemented? And, because it's a draft, the spec could change significantly. Is that right?

comment 10y ago · link · parent

Hey, author here. I'm very open to ideas to reduce bloat. It's 140 SLOC and ~1.1kb gzipped without lodash/throttle. I considered writing my own throttle, but wanted something more battle-tested.

Does Rollup produce a more efficient bundle in your experience?

comment 10y ago · link · parent

Any time you're performing an operation on a scroll event, that is a risk. But this uses a single "scroll" event listener throttled to fire a maximum of every 100ms.

https://github.com/camwiegert/in-view/blob/master/src/in-vie...

7.

Show HN: In-view.js – Get notified when DOM elements enter or exit the viewport(github.com ↗)

118 points · by Heqx · 10y ago · 62 comments

comment 10y ago · link · parent

I just finished writing this little side project. It was inspired by the effect on http://oak.is. I'd love to get feedback in the form of issues & pull requests.

This is the first library I've written completely in ES6, which was a pleasure. I hope you enjoy it!

9.

Show HN: Baffle.js – A tiny library for obfuscating and revealing DOM text(camwiegert.github.io ↗)

1 points · by Heqx · 10y ago · 1 comment

comment 11y ago · link · parent

I think it'd be responsible to recommend generating a new key pair specifically for this platform. Disregarding that, I think this is really cool.

comment 13y ago · link · parent

I've noticed several people in this thread asking for Simple invites. I have three available. Message me with an email if you'd like one.