News for hackers. Stuff that matters.
Re:Show HN: I taught my little brother JS, and he made this ... by crystalmace on Wednesday January 09, 2019 @04:06PM (#18868883)
Or your Macbook Pro if it originally came with an HDD. Apparently the device orientation API can utilize the triaxial accelerometer that Apple used for drop detection. Really neat experience tilting my laptop around like a mad man.
Re:Show HN: I taught my little brother JS, and he made this ... by saagarjha on Wednesday January 09, 2019 @04:14PM (#18868959)
That's…quite surprising. It's a cool feature, but I'm afraid that it's just another surface that can will be used for browser fingerprinting.
Re:Show HN: I taught my little brother JS, and he made this ... by dddddaviddddd on Wednesday January 09, 2019 @04:24PM (#18869053)
Surely it asks explicitly for permission to use the sensor?
Re:Show HN: I taught my little brother JS, and he made this ... by pedrocx486 on Wednesday January 09, 2019 @05:00PM (#18869393)
Chrome does not, no.
Re:Show HN: I taught my little brother JS, and he made this ... by crsv on Wednesday January 09, 2019 @10:30PM (#18871281)
Mobile safari on an iPhone XR just worked.
Re:Show HN: I taught my little brother JS, and he made this ... by chupasaurus on Thursday January 10, 2019 @09:06AM (#18873861)
Can confirm that HP Probooks had the same accelerometer in 2011-2014. Win8 used it for screen orientation OOTB.
Re:Show HN: I taught my little brother JS, and he made this ... by firmgently on Thursday January 10, 2019 @11:53AM (#18875384)
pioneered I believe by ThinkPads in 2003 http://www.thinkwiki.org/wiki/Active_Protection_System
Re:Show HN: I taught my little brother JS, and he made this ... by JCharante on Wednesday January 09, 2019 @04:52PM (#18869326)
Do MacBooks that shipped with an SSD not have the accelerometer?
Re:Show HN: I taught my little brother JS, and he made this ... by stinkytaco on Wednesday January 09, 2019 @07:50PM (#18870570)
My understanding was that the accelerometer was there to stop the drive in case of a fall. You wouldn't need that with an SSD, though perhaps if it still had an optical drive?

EDIT: I should add that both the HDD Macs I owned (a 2009 Macbook Pro and a 2004 or 03 Macbook) had accelerometers and I found a cool app for oldest that made a lightsaber noise. This was pre smartphones, so it was novel. My Late 2013 Macbook Pro does not seem to have one.

Re:Show HN: I taught my little brother JS, and he made this ... by Wowfunhappy on Wednesday January 09, 2019 @05:08PM (#18869472)
My 2012 Macbook Air had an accelerometer and of course shipped with an SSD. No idea if it's in the newer Airs, or why it's there.
Re:Show HN: I taught my little brother JS, and he made this ... by geofft on Wednesday January 09, 2019 @07:34PM (#18870499)
My MacBook with an SSD (12", 2017) does not have an accelerometer as far as either my web browser or `pmset -g` can tell.