Show HN: I updated the Smackbook script for OS X Yosemite
github.com
github.com
Thanks for the comments on this small side project/homework procrastination of mine. When I originally saw this back in 2006, I thought it was one of the best tricks ever to do with a laptop computer. I was 13 at the time. Fast forward about 8-9 years, add some CS and Perl education, and bam, I finally know enough on how to update the script to save it from the black depths of the Internet.
Took me a while to find an implementation that referenced enough to OS X Spaces, but I'm glad I could revive the idea.
If I have the chance, I would love to write a clone of this and not have AMStracker as a dependency. Or if someone else wants to, that's cool too. I just don't know how long that AMStracker site will stay up.
What I mean is: In order to switch spaces, you have to hit the machine hard enough for the "uh oh - shock emergency" sensor to actually trigger. That means that you have to hit the machine hard enough for it to think it has to do something in order to prevent hardware damage.
What was meant as an emergency measure for rare emergencies now becomes commonplace. Are you sure that a) the mechanism always works? and b) that the emergency head parking doesn't put too much stress on the disk to wear it down more quickly?
I'm basing this question on the fact that in the demo video there was one instance where they didn't hit the device hard enough for the switch of spaces to actually happen. That leads me to believe that the sensor isn't that accurate and really only measures dangerous levels of activity.
But yeah: As a demo performed once or twice it's really cool and fun to watch.
And yes, the accelerometer exists to detect movement consistent with the shock of hitting the ground. For other purposes, the movement is way too small to trigger the mechanism.
A friend asked me WTF I was doing and it felt like a April fools joke.
Wouldn't be surprised if our Mac notebooks, being SSD based, didn't have the SMS
Edit: Apple says all Intel Mac notebooks have the SMS, but then goes on to say that SSD notebooks don't use them http://support.apple.com/en-us/HT1935
Yep, this is yet another vector to assist in de-anonymization of people - especially those using machines that often stay at a certain, specific x-y axis tilt on some desktops, etc.
I guess a knee-jerk, lizard brain fear response? Haha... Oh boy, I bet they'd really downvote me if I mentioned canvas fingerprinting. :P
Who said it has to trigger (the parking mode)?
Isn't it more probable that it just reads the current value from the sensor (which monitors movement constantly)...
It's not like you have to have the same threshold for parking the heads and for hitting the machine.
>I'm basing this question on the fact that in the demo video there was one instance where they didn't hit the device hard enough for the switch of spaces to actually happen. That leads me to believe that the sensor isn't that accurate and really only measures dangerous levels of activity.
That's quite premature to deduce from one instance though. But even so, if the sensor works OK and does what it should, there should be no problem.
- http://uri.cat/software/LiquidMac/
- http://uri.cat/software/Tunnel/
- http://www.suitable.com/tools/seismac.html
- http://blog.isnoop.net/2006/05/20/macsaber-turn-your-mac-int...
Bonus video: MacSaber fighting! https://www.youtube.com/watch?v=qK4AonfnFaM
Ancient code: http://interconnected.org/home/more/2005/03/bumptunes.py
And ancient write-up: http://interconnected.org/home/2005/03/04/apples_powerbook
Here's the original post courtesy of the Internet Archive: http://web.archive.org/web/20121221154722/http://blog.medall...
I was definitely not in high school at the time.
(that's what I gathered from the video at least)