News for hackers. Stuff that matters.

chcokr

Re:Apple Music on Thursday June 25, 2015 @11:52AM (#9778782)
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"

Nice.
Re:The State of Desktop Applications in Node.js on Wednesday December 10, 2014 @12:04PM (#8730214)
Also, one might simply outperform him/herself in HTML/JS than in other languages. Can't blame that...
Re:The State of Desktop Applications in Node.js on Wednesday December 10, 2014 @12:03PM (#8730198)
This. Plus, sure, WWW was probably meant for sharing content, but HTML/JS is a front-end standard not necessarily tied with WWW.
Re:Option and null in dynamic languages on Monday December 08, 2014 @10:04PM (#8720747)
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.
Re:“This” in JavaScript on Monday December 08, 2014 @09:30AM (#8716542)
I'd say that one possible solution is to not use `this` at all. Same goes for `new` for that matter.