News for hackers. Stuff that matters.
Re:Mac Pro by btown on Monday June 10, 2013 @06:21PM (#5857850)
Copywriting and product-debate aside, that's some pretty impressive frontend presentation. From what I can tell from the minified JS, they're using Require.JS for code organization, their own jQuery-like utility toolkit they call Apple Core, fully pre-rendered text everywhere, and javascript that plays and pauses two copies of the HTML5 video, one backwards and one forwards, shuffling their opacities for seamless transitions.

Interestingly, they don't need separate videos for each transition, because the video is streamed rather than pre-buffered in its entirety. Not that Apple really cares about its bandwidth costs here, but it's an interesting strategy.

The minified JS: http://images.apple.com/v/mac-pro/home/a/scripts/macpro.rele...

And the raw video (download and play in QuickTime): http://movies.apple.com/media/us/mac-pro/2013/96614028-695e-...

Re:Mac Pro by forrestthewoods on Tuesday June 11, 2013 @04:15AM (#5860417)
Ugh. I think it's beyond awful. Incredibly slow and in many environments (chrome-windows) effectively non-functional. I still haven't made it to the end because of how slow and unresponsive it is.
Re:Mac Pro by jqueryin on Tuesday June 11, 2013 @01:04PM (#5863130)
If your machine isn't already rendering that page flawlessly, I would argue that you weren't the website's target audience. IMO, the site caters those looking for a high end performance machine; those who likely already own and are using a MBP or even an Air and want that extra performance boost.

I personally went through slide by slide just to read the specs. The transitions aren't the fastest given they overrode scroll events in favor of framing and animation, but it was done so intentionally as a form of presentation.

Re:Mac Pro by gems on Tuesday June 11, 2013 @03:20PM (#5864113)
"If your machine isn't already rendering that page flawlessly, I would argue that you weren't the website's target audience. IMO, the site caters those looking for a high end performance machine; those who likely already own and are using a MBP or even an Air and want that extra performance boost."

If you don't already have a fast computer, you probably will never want a fast computer. Makes complete sense.

Re:Mac Pro by alimoeeny on Tuesday June 11, 2013 @01:09PM (#5863167)
What? I am a dev, I have very good MBP, 8GB ram, running latest chrome dev version, and it is sluggish, a bit less sluggish on Safari same machine,
Re:Mac Pro by mimiflynn on Tuesday June 11, 2013 @11:55AM (#5862554)
I'm using Chrome on Windows and it was fast for me. Worked as expected. Might be a connection issue?
Re:Mac Pro by fourstar on Monday June 10, 2013 @11:17PM (#5859421)
Posting minified JS is pretty useless. Open up Chrome inspector tools and use pretty print to actually read it:

http://i.imgur.com/PHUaDSU.png

Re:Mac Pro by btown on Tuesday June 11, 2013 @06:48AM (#5860862)
Wow, I've done entire reverse-engineering projects (namely re-skinning Angry Birds Chrome, for one) squinting at minified JS and never knew that that was what that { } button did! Thanks!
Re:Mac Pro by csmatt on Tuesday June 11, 2013 @08:42AM (#5861297)
There are so many tools for unminifying JS, why would you squint at it in the browser?
Re:Mac Pro by kanzure on Tuesday June 11, 2013 @12:03AM (#5859624)
Why would you post a screenshot of source code? I don't understand.
Re:Mac Pro by seanp2k2 on Tuesday June 11, 2013 @02:28AM (#5860104)
[he was demonstrating how it looks when you "Open up Chrome inspector tools and use pretty print to actually read it" ]
Re:Mac Pro by kawsper on Tuesday June 11, 2013 @04:06AM (#5860392)
The point of minified JS is for saving bandwidth, with some added (minor) obfuscation, so I don't know why you would call it useless.
Re:Mac Pro by davidwparker on Tuesday June 11, 2013 @04:08AM (#5860400)
He didn't say minified JS was useless, but "posting" minified JS is useless, since we're all going to be looking at the posted code.
Re:Mac Pro by Livven on Tuesday June 11, 2013 @09:07AM (#5861441)
The site is really cool but to me feels too much like a fancy Flash page of old, just made with HTML. It's simply not as effective at presenting information as a traditional, scrollable webpage, for instance you can't use your browser's in-page search to look for keywords.

Also it doesn't really work in the mobile browsers I've tried (works very poorly on iOS, falls back to a normal page on Android, doesn't show anything at all on Windows Phone).

A normal webpage plus a cool demo video, while certainly not as creative/innovative as this, would probably be more useful.

Re:Mac Pro by coldtea on Tuesday June 11, 2013 @12:12PM (#5862694)
>The site is really cool but to me feels too much like a fancy Flash page of old, just made with HTML. It's simply not as effective at presenting information as a traditional, scrollable webpage, for instance you can't use your browser's in-page search to look for keywords.

This makes the assumption that the raw details is the only information they want to convey.

Communication works in many levels. The presentation (form) level is just as important. The designed this way to communicate inside the very the design of the page ideas about the exclusiveness, high-techness (sic), etc of the product.

I'd say this implicit stuff is even more important to them than the actual raw information.

Re:Mac Pro by Livven on Tuesday June 11, 2013 @05:54PM (#5864961)
I don't disagree that there's this additional angle but I think that it would be better served with a separate video.
Re:Mac Pro by gren on Tuesday June 11, 2013 @08:42AM (#5861298)
If you are interested by the Bezier Curve easing, it uses a micro JS lib I wrote: http://greweb.me/2012/02/bezier-curve-based-easing-functions...
Re:Mac Pro by spydum on Monday June 10, 2013 @07:07PM (#5858158)
I was surprised how bad it works in landscape orientation on their own ipad devices.. Alignment is wrong, scrolling is not smooth.. Overall, just bad. I could understand if I was browsing from an android platform..
Re:Mac Pro by mmariani on Tuesday June 11, 2013 @07:18AM (#5860953)
I'm on ios 6.1.2 and everything works as smoothly as anyone would expect.

What version are you running?

Re:Mac Pro by OSWJimlo on Monday June 10, 2013 @10:26PM (#5859208)
What the hell is wrong with you? The 'if it were android' bit just shows how completely Apple has made us expect the web to not be open. The whole fucking point of web standards is that it doesn't matter what you browse from - if they were conformed to. But no, apple violates them every which way (and gets praised for not being the shittastic company it is to boot) and fucktards like you just accept that 'sure, apple doesn't have to write standards-complient code which will work on competing devices'. People like you are directly responsible for the horrible state of the web. Every time you make a comment like this you undermine the openness of the web and further catapult us towards the dictator-state where Apple creates concentration camps for open-source software developers and, eventually, users. Do you use any open source software? SInce you have an ipad, probably not. You probably shouldn't even be on this website considering it's "hacker news", not "hipster fuckhead who has a shiny but useless tablet that leads to the fall of all hackers news". People like you are the reason I'm considering leaving this site.
Re:Mac Pro by btown on Monday June 10, 2013 @10:32PM (#5859235)
If not for the specific nature of the second sentence, I would be intrigued that someone had gone through the trouble of writing a cursing troll-bot for HN. But since no Turing-test-passing bot would use such language, I just feel bad for the IRL friends of this miserable human troll.
Re:Mac Pro by krichman on Tuesday June 11, 2013 @12:19AM (#5859708)
It's disappointing because I agree with the factual content, what little there is, but disagree with calling everyone a "fucktard".
Re:Mac Pro by elboru on Monday June 10, 2013 @10:45PM (#5859299)
Dude, I really think you're in the wrong site, for a moment I thought I was reading a YouTube comment.
Re:Mac Pro by acoyfellow on Monday June 10, 2013 @11:07PM (#5859381)
Your account was made 47 minutes ago. I wish I had enough karma to downvote this.
Re:Mac Pro by kgermino on Tuesday June 11, 2013 @10:42AM (#5862033)
No worries. 53 people already have. Somewhat impressive (if a bit excessive)
Re:Mac Pro by geon on Tuesday June 11, 2013 @05:07AM (#5860580)
> The 'if it were android' bit just shows how completely Apple has made us expect the web to not be open.

I think it reflects more how bad Apple are at browser compatible websites, and how we expect them to suck. I have run into many issues in the iOS devcenter where it would only work in Safari. Lame.

Re:Mac Pro by spydum on Tuesday June 11, 2013 @09:09AM (#5861453)
This, plus the fact that android has so many display resolutions to support, it would be surprising if apple cared to cater to it.

My point was simply that even apple got it wrong on their own device and browser.

Re:Mac Pro by nicholassmith on Tuesday June 11, 2013 @04:58AM (#5860560)
I think this is mostly a troll, Apple 'concentration camps'? Seriously?
Re:Mac Pro by raganesh on Tuesday June 11, 2013 @01:14AM (#5859880)
Some unintended consequences of playing the video backwards - when I go in reverse from slide 9 (Fan) to slide 8 (Thermal Core), the arrows indicating air flow and thermal flow are animated in reverse :-)
Re:Mac Pro by tech-no-logical on Tuesday June 11, 2013 @04:28AM (#5860476)
pity it does nothing in opera but show the can, and I wore out my mousewheel by scrolling to slide 2 in firefox.

probably just tested in safari. preaching to their own choir I guess.

Re:Mac Pro by mcintyre1994 on Tuesday June 11, 2013 @05:10AM (#5860590)
Android AOSP browser doesn't scroll either, and chrome on Android shows nothing. Weird since they're both WebKit.
Re:Mac Pro by mistercow on Tuesday June 11, 2013 @11:05AM (#5862161)
>probably just tested in safari. preaching to their own choir I guess.

I doubt they sell many Mac Pros to new customers, so it's not surprising that they wouldn't focus on making that part of the site work well for other browsers and platforms (although it did work fine under Chrome on Ubuntu for me).

Re:Mac Pro by rmnoon on Tuesday June 11, 2013 @12:59AM (#5859832)
I thought it was nice too until I tried using it on Chrome on Windows. Scrolling is completely broken (have had to reload the page a few times...)
Re:Mac Pro by Ygg2 on Tuesday June 11, 2013 @03:58AM (#5860371)
I haven't seen any video or animation on either FF or Chrome (on Win machine). Any idea what browser does it work in?
Re:Mac Pro by Felix21 on Tuesday June 11, 2013 @01:11PM (#5863188)
It works pretty well on chrome(linux mint 14)

What do you see?

Re:Mac Pro by geon on Tuesday June 11, 2013 @05:07AM (#5860583)
Probably works in Safari.
Re:Mac Pro by Centigonal on Wednesday June 12, 2013 @04:08AM (#5867055)
No doubt the tech behind it is very cool, but, presentation-wise, it just looks like a well-made slideshow with a weird gimmick for switching slides to me. Did the right arrow button go out of style or something?