Top
Best
New

Posted by leephillips 6 days ago

The MacBook has a sensor that knows the exact angle of the screen hinge(twitter.com)
Alts: https://hachyderm.io/@samhenrigold/115159295473019599, https://bsky.app/profile/samhenri.gold/post/3ly7252lx422d

Theremin Mode: https://twitter.com/samhenrigold/status/1964464940049453153

Github: https://github.com/samhenrigold/LidAngleSensor

1015 points | 487 commentspage 6
Despacito2019 6 days ago|
lol apple

Why does it say it's by Lisa?

I signed up for my developer account when I was a kid, used my mom's name, and now it's stuck that way forever and I can't change it. That's life.

pooper 6 days ago||
I am thinking about getting a completely different apple id when I get my next iPhone. I don't have a paid developer account. Or do they actively prohibit multiple accounts? I've never tried on Apple before but I have multiple goog.e accounts and it seems fine to have different accounts on different Android devices?
SXX 5 days ago|||
Moreover on Android you still can have 10 different Google accounts on one phone all from different countries for downloading region-locked apps on Google Play. Though recently Google started to break it by changing account region countries nilly-willy. Yet you can still register as many accounts via Chrome as you wish really without extra gmail accounts just by using own domain redirect via cloudflare or something.

On iOS installed apps are locked into specific Apple ID they been downloaded with, so you might have issues with e.g WhatsApp. Still possible to download region-locked apps with non-primary AppleID, but it will sometimes ask to re-authenticate with said AppleID to keep it updated so it's cant be just throwaway.

mr_toad 5 days ago|||
You can have up to three IDs per device.

https://support.apple.com/en-us/101661

astrange 5 days ago|||
"Can't change it" means "haven't tried to change it". People's legal names change, so you have to be able to update a record of your legal name.
ghoulishly 5 days ago||
They told me they would need a notarized letter signed by both me and my mom. I figured at that point I’m just gonna die with this account name.
astrange 5 days ago||
That's not actually hard or anything. Notaries are all over the place.
amelius 5 days ago||
That's consumer electronics. They're toys.
userbinator 5 days ago||
Classic Apple overengineering. Every other laptop I know of just uses a single lid switch. It reminds me of their mouse that has capacitive buttons and a speaker to produce clicking sounds.
methyl 5 days ago||
I wish more laptop producers overengineered their products the way Apple does.
userbinator 5 days ago||
Expensive, complex, and difficult to repair?

Do not want.

methyl 5 days ago||
Reliable (ie. can open after 2 weeks of sleep with full battery)
weebull 5 days ago|||
My framework 12 has a similar sensor. It tells to UI when to disable the keyboard and track pad because you've got it in tablet mode.
xanderlewis 5 days ago||
Are you talking about the MacBook trackpad, or something else?
userbinator 5 days ago||
This mouse: https://en.wikipedia.org/wiki/Apple_Mighty_Mouse
pmarreck 6 days ago||
[flagged]
tomhow 5 days ago||
We detached this subthread from https://news.ycombinator.com/item?id=45159417 and marked it off topic.

Please don't fulminate or post flame bait on HN.

https://news.ycombinator.com/newsguidelines.html

pmarreck 5 days ago||
Can someone please explain how presenting an evidence-based argument is "flamebait"?
tomhow 4 days ago||
All kinds of arguments that are “evidence-based” (i.e., have research studies affirming them) are potentially inflammatory when invoked in a given context.

In this case, someone just posted a link to BlueSky and you set off a mini-flamewar. People who act like that offline find their invitations to dinner parties start to dry up. We need people to think about the effect their comments will have on the mood in the thread when commenting here.

wpm 6 days ago|||
[flagged]
tomhow 5 days ago||
Please don't comment like this on HN, not matter what you're replying to.

https://news.ycombinator.com/newsguidelines.html

twixfel 6 days ago||
[flagged]
pmarreck 5 days ago||
You have an unlimited blocklist there.

Also, not everyone who disagrees with you is a fascist. That word alone is entirely useless in any good-faith rational discussion.

twixfel 4 days ago||
Where did I say everyone who disagrees with me is a fascist? You are just attacking a strawman, it's much easier to assume that I am some lunatic who thinks anyone even 1cm to the right of me is literally Hitler, than that I'm just a normal person who thinks Twitter is shit and full of some of the worst people on the planet and owned by one of the worst Americans in history (judging by death toll from cuts to USAID).

But yes Twitter is full of the utter scum of the Earth and no I don't want to have to block them all. Thanks, no thanks.

fouronnes3 6 days ago||
Ok but why?
latexr 6 days ago|
For fun and whimsy in a world populated by too many exploitative apps. And because the author has a lot of free time (their words).

https://hachyderm.io/@samhenrigold/115159306734992780

fouronnes3 6 days ago||
I mean why does the laptop need to have that sensor?
amelius 5 days ago||
Meanwhile, Samsung makes luxury devices that have foldable screens ...

Apple has a _lot_ of catching up to do.

kube-system 5 days ago||
Yeah, nothing says luxury like a screen as soft as cheese with a big old crease down the middle, that provides absolutely no value. It's like wearing a pair of Prada boots to a job site.

Sometimes, just because you can do something, doesn't mean it's a good idea.

lurking_swe 5 days ago||
samsung literally develops cutting edge display tech in-house. It would be sad if they were not the best in that “class”, no?
amelius 5 days ago||
Yes, but what is your point? I'm just saying that this praised feature of a screen hinge sensor is nothing compared to what the competition offers.
ramon156 6 days ago||
And also it has a magnet to detect the lid being closed. People think this is over engineered, but I've yet to see another brand that has a working closed lid detection
gruez 6 days ago||
>but I've yet to see another brand that has a working closed lid detection

???

I don't think I've seen a laptop that doesn't have closed lid detection. At the very least it's common enough that windows has a setting specifically for it: https://www.tenforums.com/tutorials/69762-how-change-default...

Analemma_ 6 days ago||
With both Windows and Linux, it's always a luck-of-the-draw thing. Sometimes closing the lid works perfectly, sometimes you get a doofus manufacturer with lousy drivers, so 1 in 20 times you pull your laptop out of your bag and it's red hot with a drained battery.

It's maddening that only Apple gets this right 100% of the time, and it's among the things keeping me on Apple's platform for the moment. I can't fathom why this isn't a bigger priority for everyone else: much like "trackpads that don't suck", it's a huge quality-of-life thing which keeps tons of people on Macs because they want it to Just Work without ever thinking about it.

gruez 6 days ago|||
>sometimes you get a doofus manufacturer with lousy drivers, so 1 in 20 times you pull your laptop out of your bag and it's red hot with a drained battery.

That's due to "connected standby"[1], which is to have laptops behave more like a phone when in sleep. This is in contrast to S3 sleep, which basically halts all activity. Sounds all good in theory, but as soon as you allow code to be run while in sleep, it's easy for some runaway app (OS or third party) to eat through your battery even while your laptop is "sleeping". Worse is that there's no way to force sleep, so your only choice is hibernate, which is even worse than S3 sleep before.

[1] https://learn.microsoft.com/en-us/windows-hardware/design/de...

cosmic_cheese 6 days ago|||
“Modern standby” is indeed the culprit in many cases, maybe even the primary one these days, but to my understanding it can still be a crapshoot on laptops that support S3 sleep since it’s up to the OS to detect that the lid has been closed and put the machine to sleep. This has been a problem for a very long time, since well before it became cool to pretend to be a smartphone and not actually sleep the machine.

There’s also wake on LAN which if enabled can rouse the machine from sleep after it’s successfully entered a sleep state.

dontlaugh 6 days ago|||
That feature also works just fine on macs, though.
adrianmonk 5 days ago|||
Macs have a completely different operating system managing what happens when the laptop is doing its standby stuff, though.
ufmace 6 days ago||||
It works fine, except for when it doesn't.

Source: My macbook has drained its battery flat while closed in my bag dozens of times. Then it just stopped doing that on an OS update. I still have no idea why.

AuthAuth 5 days ago|||
On mac it works slightly more reliably than windows. I've had both devices drain in standby.
com2kid 6 days ago||||
For a long time (years) there was a bug in Firefox that'd prevent a Windows machine from going to sleep if webgl content was loaded in any FF tab.

So anyway that killed one of my laptop's batteries. So much for supporting Internet freedoms...

Windows comes with a utility that'll tell you what process denied a sleep request, super useful.

I've actually ran into MacBooks not sleeping a few times, but it is much rarer.

It is unfortunate because back on the mid 2000s windows had the best functioning sleep code, but then they tried to catch up with iPad's # instant on and chasing perfection led to the current mess.

toxik 6 days ago||
Macs these days wake up regularly as I understand it. My MacBook's battery discharges decently fast even when the lid is shut
monsieurbanana 6 days ago||||
Ah, I wish. You're just lucky if you never had a MacBook burning your hand when pulling it out of a backpack.
cosmic_cheese 6 days ago||
The old Intel models were hit or miss, but with the M-series models I’ve never had problems with MacBooks not going to sleep when the lid is shut and staying that way so long as wake on LAN is disabled (or disabled on battery). That setting does need to be off though, with it on I did observe occasional misbehavior.
throwaway290 6 days ago||
https://news.ycombinator.com/item?id=44745897
bigyabai 6 days ago||||
Ironically, I had this issue with my Macbook more than my Windows and Linux machines combined.
modeless 6 days ago||||
This is not a sensor problem, it's a Windows problem.
bakje 6 days ago||||
To be fair, I’ve had this issue with MacBooks as well in the past, although not yet with my M3 pro
mort96 6 days ago||||
What makes you think that these issues you describe (which I've experienced too, FWIW) are problems related to the sensor rather than the OS or drivers?
CamouflagedKiwi 6 days ago|||
I don't think this is about the hardware driver detection of the lid closing. Lid events are a first-class thing in ACPI and I've never seen a laptop that didn't have one, or any real evidence that one didn't do the thing.

Much more likely is that the OS was prevented from going to sleep by some badly behaved process, or got woken up by another thing like allowing USB to wake it from sleep, where even touching the mouse can wake it - with some laptop equivalent like a ghost touchpad touch or whatever.

egypturnash 6 days ago|||
The magnets also work great as a way to attach a sunshade.
BuildTheRobots 6 days ago||
The magnets work too well. Having one Thinkpad Yoga sat on top of another closed Yoga tricks the sensor into thinking it's in tablet mode and it disables the keyboard. I only lost 30min or so trying to work out what was happening...

There's decent reasons to over-engineer some of these sensors so they can't be unduly tricked by external influences.

mouse_ 6 days ago|||
Only ever had a Thinkpad lid close sensor fail once. Found my T60 heating up my backpack. Other than that, never been a problem.

I've never once had a Dell/HP/Acer/Asus with a reliable lid close sensor. You can't trust those things.

trenchpilgrim 6 days ago|||
If you're talking about laptops waking up inside backpacks- that's due to the terrible implementation of "Windows Modern Standby" that has ruined every laptop except Macbooks and Framework. (Framework still implements legacy S3 standby to improve compatibility with Linux.)
craftkiller 6 days ago|||
> Framework still implements legacy S3 standby to improve compatibility with Linux.

Just want to warn other readers: Not all framework models have S3 sleep. I've got the 7040 AMD framework laptop and it only does s2idle.

3eb7988a1663 6 days ago||||
This has been an issue for so long - who is at fault? Is it hardware vendors or software? The spec itself is so bad that all implementations will disagree?

Halting power until an external physical event seems like a simple enough idea. I have never wanted to close my laptop and let it keep number crunching.

numpad0 6 days ago||
Microsoft. There's ~nothing to be gained by checking in with the Internet while laptop is closed, they implemented it anyway.
cubefox 6 days ago|||
> If you're talking about laptops waking up inside backups

Presumably he meant the laptop didn't go into standby when closed or woke up from standby while still closed.

zargon 6 days ago||
That’s what Modern Standby does.
geoffeg 6 days ago||||
I've also found my work MacBook Pro heating up my backpack sleeve a number of times because it didn't properly go to sleep. Likely culprit is some "security" spyware the company installs.
justin66 6 days ago|||
It's not generally the lid sensor that causes a Windows laptop to fail to go to sleep, is it?
leephillips 6 days ago||
The reality distortion field is immortal.
zitterbewegung 6 days ago|
Yea this is how the new Apple silicon devices will start if they are off. The fingerprint sensor is just used to manually do it or override the current state / put it into recovery mode.