HNHacker News
TopNewBestAskShowJobs

chcokr

145 karma · joined December 8, 2014

submissionscomments
chcokr··on Apple Music
I'm submitting the website because I'm quite unhappy with how much performance-requiring scroll hijacking they decided to pack into that website. To copy over my Tweets:

"Apple Music website: If you're gonna hijack the scroll and do cool things, then don't pack so much performance-requiring stuff in the page.

"My CPU fan becomes hot when I scroll on http://www.apple.com/music/ on a NEWEST/BEST-CPU rMBP 13" on NEWEST SAFARI. I see 10fps. @AppleMusic

"I should try hard not to make an app/webpage assuming all users have a high-end machine with a nice GPU. That's doing less by doing too much"

chcokr··on Show HN: TouchstoneJS, a React powered UI framework for beautiful mobile apps
Nice.
chcokr··on The State of Desktop Applications in Node.js
Also, one might simply outperform him/herself in HTML/JS than in other languages. Can't blame that...
chcokr··on The State of Desktop Applications in Node.js
This. Plus, sure, WWW was probably meant for sharing content, but HTML/JS is a front-end standard not necessarily tied with WWW.
chcokr··on Option and null in dynamic languages
I sense a connection, for example, between Rust's `fn foo<T>() -> Result<T, E>` and Java's `void foo<T, E>() throws E` (this might be incorrect Java syntax). I'm not entirely confident though.
chcokr··on “This” in JavaScript
I'd say that one possible solution is to not use `this` at all. Same goes for `new` for that matter.