frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

14 Killed in protests in Nepal over social media ban

https://www.tribuneindia.com/news/world/massive-protests-in-nepal-over-social-media-ban/
225•whatsupdog•2h ago•123 comments

ICEBlock handled my vulnerability report in the worst possible way

https://micahflee.com/iceblock-handled-my-vulnerability-report-in-the-worst-possible-way/
89•FergusArgyll•1h ago•40 comments

RSS Beat Microsoft

https://buttondown.com/blog/rss-vs-ice
74•vidyesh•2h ago•39 comments

Package Managers Are Evil

https://www.gingerbill.org/article/2025/09/08/package-managers-are-evil/
35•gingerBill•1h ago•36 comments

Indiana Jones and the Last Crusade Adventure Prototype Recovered for the C64

https://www.gamesthatwerent.com/2025/09/indiana-jones-and-the-last-crusade-adventure-prototype-re...
24•ibobev•1h ago•1 comments

Using Claude Code to modernize a 25-year-old kernel driver

https://dmitrybrant.com/2025/09/07/using-claude-code-to-modernize-a-25-year-old-kernel-driver
697•dmitrybrant•13h ago•225 comments

VMware's in court again. Customer relationships rarely go this wrong

https://www.theregister.com/2025/09/08/vmware_in_court_opinion/
84•rntn•1h ago•26 comments

The MacBook has a sensor that knows the exact angle of the screen hinge

https://twitter.com/samhenrigold/status/1964428927159382261
873•leephillips•22h ago•423 comments

Why Is Japan Still Investing in Custom Floating Point Accelerators?

https://www.nextplatform.com/2025/09/04/why-is-japan-still-investing-in-custom-floating-point-acc...
131•rbanffy•2d ago•33 comments

Formatting code should be unnecessary

https://maxleiter.com/blog/formatting
241•MaxLeiter•14h ago•325 comments

GPT-5 Thinking in ChatGPT (a.k.a. Research Goblin) is good at search

https://simonwillison.net/2025/Sep/6/research-goblin/
287•simonw•1d ago•222 comments

How inaccurate are Nintendo's official emulators? [video]

https://www.youtube.com/watch?v=oYjYmSniQyM
61•viraptor•2h ago•11 comments

Intel Arc Pro B50 GPU Launched at $349 for Compact Workstations

https://www.guru3d.com/story/intel-arc-pro-b50-gpu-launched-at-for-compact-workstations/
156•qwytw•15h ago•177 comments

Look Out for Bugs

https://matklad.github.io/2025/09/04/look-for-bugs.html
31•todsacerdoti•3d ago•19 comments

Meta suppressed research on child safety, employees say

https://www.washingtonpost.com/investigations/2025/09/08/meta-research-child-safety-virtual-reality/
14•mdhb•44m ago•0 comments

Creative Technology: The Sound Blaster

https://www.abortretry.fail/p/the-story-of-creative-technology
123•BirAdam•15h ago•73 comments

How many SPARCs is too many SPARCs?

https://thejpster.org.uk/blog/blog-2025-08-20/
37•naves•2d ago•11 comments

Immich – High performance self-hosted photo and video management solution

https://github.com/immich-app/immich
25•rzk•5h ago•5 comments

Writing by manipulating visual representations of stories

https://github.com/m-damien/VisualStoryWriting
6•walterbell•3d ago•3 comments

Analog optical computer for AI inference and combinatorial optimization

https://www.nature.com/articles/s41586-025-09430-z
85•officerk•3d ago•15 comments

How many dimensions is this?

https://lcamtuf.substack.com/p/how-many-dimensions-is-this
93•robin_reala•4d ago•22 comments

No more data centers: Ohio township pushes back against influx of Amazon, others

https://www.usatoday.com
13•ericmay•41m ago•4 comments

Show HN: Veena Chromatic Tuner

https://play.google.com/store/apps/details?id=in.magima.digitaltuner&hl=en_US
42•v15w•7h ago•23 comments

I am giving up on Intel and have bought an AMD Ryzen 9950X3D

https://michael.stapelberg.ch/posts/2025-09-07-bye-intel-hi-amd-9950x3d/
283•secure•1d ago•293 comments

Forty-Four Esolangs: The Art of Esoteric Code

https://spectrum.ieee.org/esoteric-programming-languages-daniel-temkin
62•eso_eso•3d ago•35 comments

Taking Buildkite from a side project to a global company

https://www.valleyofdoubt.com/p/taking-buildkite-from-a-side-project
74•shandsaker_au•15h ago•9 comments

Garmin beats Apple to market with satellite-connected smartwatch

https://www.macrumors.com/2025/09/03/garmin-satellite-smartwatch/
210•mgh2•4d ago•194 comments

How to make metals from Martian dirt

https://www.csiro.au/en/news/All/Articles/2025/August/Metals-out-of-martian-dirt
73•PaulHoule•18h ago•81 comments

No Silver Bullet: Essence and Accidents of Software Engineering (1986) [pdf]

https://www.cs.unc.edu/techreports/86-020.pdf
101•benterix•17h ago•24 comments

What is the origin of the private network address 192.168.*.*? (2009)

https://lists.ding.net/othersite/isoc-internet-history/2009/oct/msg00000.html
213•kreyenborgi•1d ago•83 comments
Open in hackernews

The MacBook has a sensor that knows the exact angle of the screen hinge

https://twitter.com/samhenrigold/status/1964428927159382261
871•leephillips•22h ago
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

Comments

ramon156•22h 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
egypturnash•22h ago
The magnets also work great as a way to attach a sunshade.
BuildTheRobots•20h 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_•22h 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.

justin66•21h ago
It's not generally the lid sensor that causes a Windows laptop to fail to go to sleep, is it?
trenchpilgrim•21h 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.)
cubefox•21h 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•21h ago
That’s what Modern Standby does.
craftkiller•21h 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•19h 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•19h ago
Microsoft. There's ~nothing to be gained by checking in with the Internet while laptop is closed, they implemented it anyway.
geoffeg•21h 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.
gruez•21h 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_•21h 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.

modeless•21h ago
This is not a sensor problem, it's a Windows problem.
gruez•21h 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•20h 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•19h ago
That feature also works just fine on macs, though.
ufmace•19h 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.

adrianmonk•17h ago
Macs have a completely different operating system managing what happens when the laptop is doing its standby stuff, though.
AuthAuth•16h ago
On mac it works slightly more reliably than windows. I've had both devices drain in standby.
bakje•21h ago
To be fair, I’ve had this issue with MacBooks as well in the past, although not yet with my M3 pro
bigyabai•21h ago
Ironically, I had this issue with my Macbook more than my Windows and Linux machines combined.
monsieurbanana•21h 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•20h 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•18h ago
https://news.ycombinator.com/item?id=44745897
com2kid•20h 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•20h ago
Macs these days wake up regularly as I understand it. My MacBook's battery discharges decently fast even when the lid is shut
mort96•20h 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•20h 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.

leephillips•21h ago
The reality distortion field is immortal.
mouse_•22h ago
Close/open sound font ideas

> Jacket zipper

> C Major scale

> Slide whistle

> Washboard

> Airlock

> Vinyl record scratch

oever•21h ago
> trombone/piano/violin glissando > falling and crash sound > ratcheting ring spanner > passing train/helicopter/car > heavy door (safe/cave) > theremin
anotherhue•21h ago
Creaky dungeon door surely?
oh_fiddlesticks•21h ago
That's what the OP demonstrates....
jarmitage•22h ago
See "The Laptop Accordion" from 2016 https://www.youtube.com/watch?v=zMJAevVri5w

https://nime.org/proc/meacham2016/index.html

amelius•21h ago
So doesn't seem specific to Apple hardware.

The only thing "Apple" here is that it's not exposed as a public API.

unglaublich•20h ago
> Motion is tracked using the laptop camera via optical flow and mapped to continuous control over dynamics, while the sound is generated in real-time.

No, it's a different method.

1ceaham•19h ago
Author here. We checked for APIs like this at the time, but since approximately every laptop has a webcam, the cv approach is much more accessible. It would be a fun rewrite though; I’m sure polling this would be a few orders of magnitude more efficient. There was definitely lag if you ran the app on a very underpowered machine which did impact the “playability” of the velocity parameter.
dlcarrier•18h ago
Apple goes much further than not offering an API: https://www.forbes.com/sites/jaymcgregor/2023/10/11/genius-n...
comrade1234•22h ago
Is it the angle of the hinge or the angle of the screen? I assume the latter... my laptop is rarely on a level surface.
Sharlin•21h ago
At first I wondered why you'd assume the latter – certainly something like a tiny rotary encoder is a simpler lower-tech solution than a MEMS inclinometer. But these days I'm not actually so sure.
jeffbee•19h ago
Without checking the catalog, I would assume that a MEMS inclinometer is much cheaper in 2025 than an absolute position encoder.

Edit: catalog confirms.

Finnucane•22h ago
this just makes me miss the old Mac OS that let you add sound effects to anything.
I_dream_of_Geni•21h ago
IKR? The good old days...
fouronnes3•21h ago
Ok but why?
latexr•21h 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•19h ago
I mean why does the laptop need to have that sensor?
nickdothutton•21h ago
MacBook Protractor
cush•21h ago
Looks like something is off with the value. That “exact angle” makes zero sense
socalgal2•20h ago
Yes, the video shoes the screen moving about 120 degrees but the number goes from ~335 to 0 (~3x too much)
ghoulishly•20h ago
Hey, developer of this experiment here. I screwed up the calculation on the demo video, but it’s patched in the latest version on the repo.

I thought it was centidegrees but it turns out the sensor was reporting the raw degrees.

hyperhello•21h ago
Is there a downloadable source for this? I’d love to add it.
latexr•21h ago
https://github.com/samhenrigold/LidAngleSensor
bmcahren•21h ago
Missed a huge opportunity to play the sound of a monstrous wooden door sound when the lid closes. Looking forward to the update!
bapak•21h ago
The audio stops abruptly when the lid clicks
HPsquared•21h ago
Venjent has some amazing door-based tracks.

https://youtube.com/shorts/sgqTEjN5_vQ

https://youtu.be/Uivp-hvk-nk

Edit: not forgetting the classic Miles Davis door: https://youtu.be/wwOipTXvNNo

JKCalhoun•20h ago
Venjet is new to me.

("It’s such a fine line between stupid and clever.")

gerdesj•17h ago
I seem to recall the BBC have released quite a few sound effects ... ahh yes:

https://sound-effects.bbcrewind.co.uk/

There must be a door or two in there.

deathanatos•21h ago
This post was also made (by the same person, it seems) on Mastodon: https://hachyderm.io/@samhenrigold/115159295473019599 — which has the added benefit of not being X, not requiring cookies, and has more information than the tweet, including a follow-up "theremin" hinge.
altairprime•21h ago
Good catch! You can email the mods to ask the link be changed; use the footer contact link.
Wowfunhappy•21h ago
If a mod sees this, can we please get TFA changed? Both sources are equally authoritative in this case so we may as well use the nicer one.
josephcsible•21h ago
"nicer" is too subjective IMO. Both being equally authoritative is an argument to keep the one the original submitter used.
leephillips•21h ago
I would change it if I could.
freehorse•20h ago
Mastodon is more accessible though. And I do not even use mastodon.
JumpCrisscross•19h ago
> Mastodon is more accessible

This is a semantic punt from nicer to accessible.

altairprime•20h ago
You can ensure a mod sees this by emailing them. :)
alt227•20h ago
What does 'nicer' mean?
estimator7292•20h ago
You can see the thread and its replies, there's no ads, trackers, popovers, spam bots, AI ads.

You simply see what the author posted and people's reactions.

It also doesn't load 400MB of JavaScript or whatever.

danielbln•21h ago
Here's Bluesky: https://bsky.app/profile/samhenri.gold/post/3ly7252lx422d
1oooqooq•19h ago
why avoid Xitter today for the Xitter of tomorrow? don't distract people from mastodon for this trojan horse.
EA-3167•19h ago
This is exactly why I avoid things like Mastodon as well, because the problem isn't who controls the format, it's the format itself. Who controls the format sure doesn't help, but if you imagine Mastodon becoming as universally adopted as Twitter and seriously don't think it would be a massive mess, then I envy your optimism.
opan•19h ago
Fedi is different because it isn't proprietary or centralized. A new proprietary and/or centralized alternative is never the answer. That's just buying time.

Personally I am not a fan of the Mastodon software or side of fedi, but I have had good times on the Pleroma/Akkoma side, and it all works together.

OJFord•19h ago
It will never be 'it', because I - despite being technically capable of running server on bare metal or something - have no idea what you're talking about. Fedi, Mastodon, Pleroma, Akkoma, there's too much to know or read about before you can just use it. People go to Facebook, to twitter.com, and just sign up and use it and know what it is.
setr•18h ago
I don’t think that matters that much; it’s still just a popularity contest, and if something manages to break through that threshold, it’ll be trivial enough to make the default.

No one knew Reddit boards and 4chan boards either; you just knew to go to /b/ or /r/funny. The other boards, the other fediverse servers, are just details that enable other subcommunities to survive. The major community will just route to a single server, and most will probably never use a second

jama211•18h ago
Not who you were speaking to, but you just tried to trivialise the power of friction in a signup process, which goes _strongly_ against all known research on the topic.
Jyaif•19h ago
A social network does not have to be universally adopted to be interesting because the vast majority of the folks do not do or think anything interesting.

A social network with just the top 1% of the geeks would be absolutely amazing.

jama211•18h ago
They called it a “Trojan horse” they shouldn’t be distracted from. They were stating that it was more likely to fail, which isn’t true. You can challenge that without challenging the idea that mastodon can still be a cool place, no one said they couldn’t.
epistasis•19h ago
Why click on a link that works versus one that doesn't? Is that the question? It's a weird form of evangelism to say that one shouldn't use the working link because it may not work in the future. That's the nature of web, most links decay.
akk0•19h ago
Fediverse will never be useful because balkanization isn't a desirable feature. The question of "which server should I sign up for" is an irredeemable anchor around anyone's neck before they can even start using it. I'm all for decentralized social media but the whole federated model is so bad.
patrickdavey•18h ago
Have you actually tried using it? I love mastodon now! You can just follow people as normal, a number of pretty interesting folks hang out on there (Brian Krebs etc).

No ads, a timeline which isn't endless and you can actually just read. It's actually really nice! I also think the decentralized non proprietary model brings us closer to something which is becoming ever more important in this world we find ourselves in.

franga2000•18h ago
Using it isn't the problem, joining it is. Finding a server that has the right combination of

- isn't The Big One (defeats the point) - has a nice domain (that's your name forever) - is stable (major downtime or data loss is unacceptable these days) - is guaranteed to stick around forever (no, migration isn't solved and it will never not suck) - has rules you agree with and can guarantee you'll follow - is running the right software (no, "fedi" isn't compatible, you either run Mastodon or things will always be ever so slightly broken)

seabass-labrax•13h ago
Some of the points you make are still true, but I think you're a little out of date.

Migration is not solved, but it also doesn't suck - unless you're doing it every week nothing will break, and several people I follow have already done it and it's been just fine.

Stability is also fine - if your server is down for a couple of hours, your timeline will catch up when it comes back online, and likewise your sent posts will stay in a local outbox until they can be sent. That's absolutely no different from email or Jabber or anything else.

"Fedi" is compatible enough that I run my own GoToSocial server, which is technically still beta software, and I haven't experienced any issues following and interacting with anyone on Mastodon, Pixelfed, Pleroma and quite a few other platforms.

Would I recommend it to a non-technical user, someone who wasn't really interested in 'servers' and 'clients' and 'protocols'? Yes, although I'd suggest they just go for The Big One, as you put it. What I would say though is that this is no longer just a technology for Web nerds any longer; it's a very viable alternative to centralized platforms.

akk0•18h ago
I made a serious effort to look into it, but without already knowing where I want to be it was impossible to decide which server to sign onto and it's an expensive choice to make upfront since they don't all federate with each other and even the ones that do federate are not guaranteed to not start beef with each other. That's before even getting to the fact that I can name at least 4 different protocols off the top of my head (Mastodon, Pleroma, Akkoma, Misskey) at various levels of not-entirely-incompatible with each other. I remember there being work on between-server account moving mechanisms in some state of almost-partially-working, too. Maybe things have changed now but I doubt it, everything I saw in the ecosystem just seemed to promote balkanization as a feature.

I'd love a truly decentralized model for this but fediverse isn't it, fediverse is a Hellenic League of city states where your ability to interact outside your bubble is beholden to your and their local leadership and shifting realities of protocol war jank.

If you do think my opinion is uninformed or mistaken at least know that I know many times more people who bounced off the idea for these reasons than people who actually managed to make heads or tails of this. Fwiw I don't use xitter/bsky either.

fragmede•4m ago
I'm only going to to be alive for a million more hours, and the BDFL in charge of this Xitter is doing a way better job of things. Year of Linux desktop when?
dang•18h ago
Since people can't agree on which URL is better, I'll put these other links in the top text. Thanks to you both.
josephcsible•21h ago
The follow-up theremin hinge is on X too.
nba456_•21h ago
Only if you're logged in.
ruined•21h ago
doesn't look like it to me
josephcsible•21h ago
https://x.com/samhenrigold/status/1964464940049453153
pavel_lishin•19h ago
But you can only see replies to tweets if you're logged in; so thank you for providing that link, but currently, that's the only way that those of us who aren't logged into Twitter can find it.
wlesieutre•19h ago
I can't see it, and if I click on @samhenrigold's profile I get a random selection of things from this July and last October instead of recent posts .

It's really not a useful platform for publicly sharing information anymore. Drives me nuts that government agencies use it for announcements like "Here's an amber alert with a twitter link, but you can't have any of the followup information because that's only for people who are logged in."

fragmede•3m ago
Or... you could just log in?
sodapopcan•12h ago
> has the added benefit of not being X

Just call it Twitter.

seagram•21h ago
https://x.com/nevmed/status/1640004745250078723

I wonder if Apple uses this internally at Apple stores to set the screen angle at 76 degrees.

TiredOfLife•21h ago
I like how the picture clearly shows that the screen angle is 70 degrees or rather 110 from the users point of view
0xCMP•19h ago
I believe the initial tweets/demos have some calculation errors which were later corrected.
TiredOfLife•16h ago
Those calculation errors are called lies
jolmg•17h ago
> In Apple Stores all screens are tilted at exactly 76° degrees, this is so you move the screen with your hand…interacting with the product more and making you feel more attached to it.

From the description, I would've thought it meant 76 degrees from the user's PoV, i.e. slightly closed so the user would feel compelled to open it more / tilt it into their view (with their hand). The pictures show ~70 degrees from the back of the devices though, so IDK what they mean about the hand moving the screen. There's no need for interacting then, since the display can be seen from afar.

busymom0•19h ago
I am just imagining the manager get an angry email from Tim Cook every time some MacBook in the store is not at 76 degrees.
layer8•18h ago
The photo shows 70 degrees.
harrall•18h ago
I wonder if the specific degree is important or rather it’s because screens tilted at different angles in a store looks ugly asf.
jayknight•17h ago
My first job was at a video rental store. My boss was very strict about the videos being spaced evenly and all at the same angle. Every hour one of us had to walk the entire store straightening everything out. It did look very nice in there.
mitchellh•16h ago
This must be new, if true.

I worked at an Apple retail store during college. We were taught to put the screens at a certain angle but it was a gut feeling angle learned through practice, and not measured. More senior people would correct you if you were off.

They did mandate putting the bezel, mouse, keyboard, etc. at specific grains in the wood that were consistent across the desks though to ensure they were lined up without having to bust out a level-like device.

Overall everything was made so that retail employees would continuously clean up the displays as they walked around the store (even while helping customers without them realizing it) so that the store always felt perfect. They had a phrase for it but I forgot now, it's been almost 15 years now...

stevage•15h ago
I'm going to really enjoy going into apple stores and messing them up now.
filchermcurr•13h ago
Why would you enjoy making worker's lives just a little more difficult? :\
Svoka•21h ago
Confused why it says that 'this API is not exposed' while it's a simple HID device.

Author can submit this to the AppStore.

WhyNotHugo•20h ago
If it’s a simple HID device, can we likewise have support for this on Linux?
latexr•18h ago
> Confused why it says that 'this API is not exposed'

What it says is (emphasis mine) “it’s not exposed as a public API”. In other words, Apple doesn’t provide official documentation and hooks for you to interact with the feature, like they do e.g. with Bluetooth. Even then, while they provide public APIs to interact with paired devices, interacting with the Bluetooth controller itself (e.g. turning it completely off or on) requires private APIs.

danielbln•21h ago
As someone who recently wrecked their MacBook's screen by leaving something hard and pointy in between keyboard and screen when closing the lid, I wonder if one can turn on the webcam briefly before the lid closes and sound an alarm if it detects anything in the way.
mc3301•7h ago
I love this edge case.
gjsman-1000•21h ago
The Nintendo Switch 2 according to Welcome Tour can also detect hinge angle. Unclear if this is a sensor or clever math though.
danielbln•21h ago
I bet it's just the built-in gyro.
crazygringo•21h ago
I wonder why? Presumably this information doesn't come for free, and Apple spends money to put this sensor in.

Is it a backup if the magnet for closed lid detection fails? Is it some kind of input for the brightness sensor or True Tone? Is it for warranty investigation, that if the hinge breaks they can figure out if it was physically pushed too far, or was repeatedly slammed open and shut like a toy?

rossant•21h ago
Wild idea: if the goal is to wake from sleep as quickly as possible when opening the lid, could receiving a signal as soon as the user starts lifting the screen save a few hundred milliseconds? I might be way off though.
anentropic•21h ago
Pretty sure that exact feature was announced when the current generation of Macbooks were launched
avianlyric•21h ago
The info probably does come for free. The laptops don’t use the magnets along the top edge of the screen for detecting if the screen is closed, those magnets are just there to provide the latching effect when the screen is closed, so it doesn’t open accidentally.

The sensor used for detecting if the lid is closed is an “angle” sensor, although really it’s an Hall effect sensor and a magnet in the hinge. If you have a Hall effect sensor, getting angle data from it is pretty much free, because the Hall effect produces a continuously varying signal, you need thresholding logic to turn it into a binary output.

Given Hall effect ICs are so cheap and plentiful there no reason to use anything else. Also given they mass-produced ICs it’s probably cheaper to buy a fully featured Hall Effect IC, because the manufacturing cost between a basic IC and an advanced IC is almost certainly zero these days.

In short, modern IC manufacturing has just made magnetic angle sensors as cheap, if not cheaper, than dump non-angle sensing Hall sensors. After all you can always use an angle sensing Hall sensor as binary switch if you want, but the reverse isn’t true, so if the ICs basically cost the same, you can expect the less capable ICs to be completely outcompeted by the more capable ICs.

macNchz•20h ago
Once upon a time Mac laptops used reed switches to detect closed lids, and they were a common point of failure, presumably since they contained moving parts.
cosmic_cheese•16h ago
They can be erroneously triggered or prevented from working as expected by nearby magnetic objects too, which can be annoying. No such issue with a hinge angle sensor.
ChocolateGod•18h ago
So basically as free as the glowing Apple logo that used to be on the back of Macbooks.
userbinator•15h ago
The cost of the software is higher for an angle sensor than a binary switch, but perhaps they consider it NRE (which is actually not true if you consider "maintenance" work.)
londons_explore•14h ago
Angle sensing IC's tend to need to be on the end of the shaft they sense, which can make some packaging and assembly headaches.

I personally am surprised they don't put an accelerometer in both halves of the laptop and use math to calculate the angle based on gravity.

avianlyric•2h ago
They only need to be co-linear to the shaft if you care about accurate measurements, such as in a motor controller. I doubt the error introduced by being off-axis would make much difference in this application.

There are also packaging considerations when putting a hall sensor elsewhere. Packaging it in the hinge has the advantage you can use the same hinge and sensor setup in all laptop models. Packaging the sensor elsewhere means custom packaging setups for each laptop to work around all the other components in the body of the machine. Doing the extra work for packaging in the hinge once is probably quite a bit cheaper than having to constantly redo the packaging work in every new model.

seanalltogether•20h ago
My best guess is it's related to thermal control. The vents on macbooks are right under the hinge, and the vents are blocked and opened to different degrees based on the angle of the lid.
postalcoder•20h ago
It’s likely there to support Desk View[0]. Desk View presents the items on your desk in a geometrically correct, top-down view. Knowing the angle of the display is very helpful when applying keystone correction.

0: https://support.apple.com/en-us/121541

estimator7292•20h ago
We've been using Hall effect sensors for lid close detection for a long, long time. My thinkpad from 2013 has it halfway down one edge.

If you simply move the sensor (that is already a requirement) closer to the hinge, you can infer angle based on the Hall sensor for free. You can even get special sensors that specifically measure the magnetic field orientation for the same price as the simple type.

Yes, it's completely free with just a very minimal amount of thought put into the design.

kubatyszko•21h ago
Reminds me of a "stable window" app gadget from mid-2000's that used the built-in accelerometer to make a window stable irrespectively of laptop's tilt.
hk1337•21h ago
Apple is going to see an increase in MacBook Pro hinges breaking from people trying to play the Star Trek theme in theremin mode or other songs with other instrument sounds.

Apple: How did the hinge break?

Customer: I don’t know, I just opened it one day and it came off.

JKCalhoun•20h ago
Ha ha, too bad Apple is likely logging screen angle for just such a repair dispute.
jerlam•19h ago
Probably not as bad as the Smackbook, which used the HDD impact sensors to change apps: https://www.youtube.com/watch?v=6uvQTTPr9Rw

"I was just hitting the side of my laptop in order to go to Safari"

No longer supported because we don't use HDDs anymore.

rootbear•18h ago
I always wanted to rig up a laptop that has an IMU to detect when it was in free fall and play the Wilhelm scream.
shmeeed•58m ago
Great idea! Thinkpads (used to?) have an Active Protection System that used a Free Fall Sensor IMU to park the HDD read/write head in the event of a fall. Don't know if there's an API, though.
postalcoder•20h ago
To those wondering why the MacBook would have a sensor for this, it’s likely there to support Desk View[0]. It shows the items on your desk in a geometrically correct, top-down view. Knowing the angle of the display is very helpful when applying keystone correction.

0: https://support.apple.com/en-us/121541

anal_reactor•20h ago
You could calculate the angle from the camera view as long as at least some piece of the MacBook is in view.
antennafirepla•20h ago
You could, for orders of magnitude more compute than reading a magnetic encoder (my assumption at how they estimate it)
estimator7292•20h ago
Sure, but not more than what you're already spending on transforming the image. And it's not like these devices are exactly lacking in horsepower.
3eb7988a1663•19h ago
This is trivially broken by people who affix some type of cover over the camera. I do this on the off chance some errant application thinks it deserves to take pictures of my environment.
yonatan8070•18h ago
If someone covers the camera, the feature isn't relevant since it requires the camera to see your desk
kazinator•18h ago
Isn't the desktop view is produced from the iPhone camera capture, not from from the MacBook's camera?
empressplay•16h ago
If you have a new Macbook the built-in camera does it
Cthulhu_•17h ago
But compute is cheaper for the manufacturer than adding a sensor (parts & labor, and it adds up over millions). Someone must've done the math.
lazide•19h ago
Ho boy, good luck convincing people it wasn't watching them wank!
sannysanoff•19h ago
shameless plug: https://sannysanoff.github.io/whiteboard/

not only for mac users.

ivanjermakov•19h ago
Relevant XKCD: https://xkcd.com/1425/
junon•18h ago
This was correct a number of years ago. Feels a little strange we can just do an API call for bird recognition now.
djhn•17h ago
But is there actually an API for that? Last I checked the big providers Video Intelligence APIs even distinguishing cats and dogs was still unreliable.
MaxikCZ•17h ago
These days you dont need an api, you can run the stack on tamagochi
SAI_Peregrinus•16h ago
BirdNET from the Cornell lab of ornithology provides that api.
filoleg•16h ago
Unless I am missing something massive, BirdNET[0] is for identifying birds by sound, not by images.

Merlin[1] (also from Cornell Lab of Ornithology), on the other hand, has both image and sound ID. I haven't used either, so I cannot compare the quality of results from Merlin vs. BirdNET for sound ID, but afaik only Merlin has image ID.

0. https://birdnet.cornell.edu/

1. https://merlin.allaboutbirds.org/

reaperducer•16h ago
https://merlin.allaboutbirds.org/
junon•14h ago
Just to see if a bird is in the picture (like the comic states) using chatgpt et al can probably do a sufficient job.

Not condoning people make this app, just thinking about how fast things have moved in just a few short years.

andreareina•12h ago
Flickr did it in 2014, same year as the comic. Unfortunately the service is down and they didn't include a screenshot of it working.

https://code.flickr.net/2014/10/20/introducing-flickr-park-o...

inetknght•16h ago
That sounds like an excuse to enable turning on the camera without turning on the light for it just because no user-software is using it. No thanks.

Plenty of users put stickers on their cameras. One simple user trick would break your whole workflow.

gcanyon•13h ago
The Mac camera light is wired inline so as to make this impossible. The only way for the camera to be on and the light not is if the light itself is broken.
gcanyon•13h ago
The Mac camera light is wired inline. If the camera is on, so is the light. Since we're not seeing the camera light flashing on periodically, this isn't how it's being done.
danhau•4h ago
The Macbook tally light isn‘t necessarily wired to the camera. It very well could be independently software controlled. At least it was not too long ago. IIRC there was an article about this, posted here on HN.

Macs used to have (still have?) a feature where you could declare it as lost/stolen and remotely take a photo with the camera. I believe the light didn‘t glow for that.

OJFord•19h ago
Simpler than that I think - when do you turn off the screen or sleep? Because it isn't fully closed, but you want to be able to 'privacy-duck' the screen a bit before that, and having a sensor rather than just a fixed angle switch makes it software defined and something they can update.
hamandcheese•18h ago
I'm pretty sure the sensor for that is a simple reed switch.
OJFord•17h ago
A reed switch (plus magnet and choice of location) would be an implementation of a 'fixed angle switch' per my comment above.
vasco•2h ago
If you approach something metalic to the top of the base in the left side of most macbooks you can feel where the magnet is. They either have both systems or maybe they switched this recently.
rzzzt•17h ago
When I ran a MacBook Pro in closed clamshell mode and put another laptop on top of it, it went to sleep. Must be a weight sensor in there as well. (/s)
reaperducer•16h ago
They weren't sleeping. That's how Mac Minis are made.
tesseract•17h ago
More likely a hall effect sensor, which is solid state and a lot smaller. And yes, older MacBooks had something like that, as evidenced by the fact you could put them to sleep by holding a magnet in the right place (just to the left of the trackpad IIRC in the models I'm familiar with)
0_____0•14h ago
I pranked a coworker once by sticking a magnet to his desk somehow to get his macbook to sleep when his computer was in a certain spot.
rafaelmn•6h ago
Nice one ! Curious since I know almost nothing about HW - do magnets screw with computer HW otherwise ? I would guess no since we don't use HDD anymore but not sure.
Johnbot•6h ago
As far as I know, even HDDs were pretty resilient to magnets when in their enclosures. I once took a large magnet meant for holding together concrete forms, one strong enough that it stuck to a ferrous surface it could probably support my weight, and stuck it to a hard drive for a full year to see if it'd break. The drive, as well as all of the data on it, were fine.
kelnos•17h ago
Why though? That seems unnecessarily complex? It seems fine to me to just use a reed switch and sleep when it's closed or very close to closed.
Reason077•17h ago
Why use two sensors when one will do? If you already have an angle sensor, it makes sense to get rid of the reed switch and reduce your production costs.
missinglugnut•17h ago
It's one sensor in both cases, and in the latter case you can do so much more: change the thresholds in an update, detect when the lid is in the process of closing, apply hysteresis (on a simple switch, there's an angle where vibration could cause it to bounce between reading open and closed, but with an angle sensor you can use different thresholds for detecting and open and closing state change).

But most of all...you don't have to commit to a behavior early in the design process by molding the switch in exactly the right spot. If the threshold you initially pick isn't perfect, it's much easier to change a line of code than the tooling at the manufacturing plant.

Reason077•17h ago
It can’t be exclusively for Desk View. Desk View only works on Macs with wide-angle cameras, which were introduced in 2024 and 2025 models.

But this sensor has been in MacBooks since the 2019 models.

appellations•17h ago
Apple has a history of adding sensors, security chips, etc. a few revisions before the feature they support launches. It’s a really good idea because it helps them sort out the supply chain, reliability, drivers, etc. without any customer impact. It decouples the risks of the hardware project from the risks of the software project.

If things go particularly well you get to launch the feature on multiple hardware revisions at once because the first deployment of the component worked great, which is a neat trick.

Hamuko•2h ago
Yeah, my iPhone 11 Pro came with the ultra-wideband chip in late 2019, and before the AirTags were released in early 2021, I believe the only thing it was used was for ordering AirDrop targets by proximity. It was clearly intended for the AirTags from the beginning, but it took about 1.5 years before it actually mattered.
DSingularity•17h ago
Shows you how good they are at planning and decomposing features into well scoped hardware and software features which can ship earlier, provide some value, while enabling richer future features. You have to respect them for this because this is how they have always operated.
wklauss•16h ago
At Apple Stores, laptops screens have to be opened exactly at 76 degrees. I wonder if they use this sensor and specific software for adjustment (I'm not implying this is the only reason it's there)
stevage•15h ago
76 degrees is just an aesthetic choice?
wklauss•14h ago
I'm assuming so. Apparently it's an angle that "invites" people to use the computers, but I don't think there's anything specific about 76 degrees that makes it better than, say, 73 or 82. As long as you can see the content from an average height, it should work. Most likely they just settle on that angle because it looked good to the store team that was staging the first store, measured it, turned out to be 76 and kept it the same across stores since then for consistency.
bnj•13h ago
Yep this seems like it makes a lot of sense— and adding on, picking a measurement means that all of them can be the same (consistency, as you said)- having variation in the same row would look bad from a distance
scratchyone•7m ago
I believe the rumor is that 76 degrees is slightly uncomfortable enough to look at that it makes you want to adjust the screen, which in turn makes you more likely to try the device.
isomorphic•10h ago
https://www.forbes.com/sites/carminegallo/2012/06/14/why-the...
simonbw•15h ago
It seems like it would be much quicker and easier to just have a piece of plastic or something cut at a 76 degree angle that they can place on the laptop and fold the screen up to.
wklauss•14h ago
I've heard employees use the measurements app in their iPhones sometimes to adjust in the mornings, but having a sensor in the laptop lid seems like a much easier way to do it and you don't need to carry anything with you.
SchemaLoad•9h ago
Could be that the demo OS reports some metric on how often the laptops are set to 76deg and how often customers move it. Probably a whole ton of usages of the sensor and if it's price comparable to the old close sensor they used to use it would be easy to justify.
wickedsight•5h ago
It would not, since you don't want to carry a piece of plastic all day long to set the angle correctly. Most people just use their phones to check the angle though.
KeplerBoy•16h ago
Fascinating feature! Is it known how they do it?

Is it just an image transformation or a full blown AI model using Gaussian Splats or something along those lines?

a1o•1h ago
How does this work? Does it have two cameras?
wslh•20h ago
Is this part of telemetry?
matsemann•20h ago
A fun entry to the trend "stupid volume controller" a while back I guess would be to use this to control the volume, heh.
cluckindan•19h ago
Even better as a phone number input
GLdRH•19h ago
Made me chuckle
Razengan•19h ago
Or as an accordion
Terr_•17h ago
Or some kind of... not-so-cheap theremin knockoff.

Is 802.11 signal strength consistent/detailed enough that it could be used as another kind of input, as someone cradles the laptop in different ways?

camdroidw•12h ago
https://news.ycombinator.com/item?id=45160808
mattbee•15h ago
If you have an external monitor and don't mind killing your hinge within an hour it's perfect for Trombone Champ

https://store.steampowered.com/app/1059990/Trombone_Champ/

Despacito2019•19h 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•19h 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•17h 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•14h ago
You can have up to three IDs per device.

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

amelius•15h ago
That's consumer electronics. They're toys.
astrange•10h 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.
whitehexagon•19h ago
Great! so they already know that I've been squinting at a 42deg gap trying to use my old MBP. The year with the faulty designed screen connector which was only covered for replacement on certain models, not mine. I wonder if that is why they added this, to check for 'holding the lid wrong'. If I open it any further I need a reboot to get the display back, oh and that angle decreases over time.

I wouldnt mind but I was 95% of the time clamshell, and still the keyboard made from butterflies wings lasted next to no time, and the battery put on too much weight after only 30 something cycles. After all these years I never understand how they produce such lemon models some years, just trying to save a few cents here and there. The one before was thermal paste nvidia meltdown.

floydnoel•19h ago
I think clamshell mode was a killer of those models especially. I never ran mine closed and still use them for gaming to this day (since they still run Wintel). Not even a single key failed yet
nostrademons•19h ago
A lot of foldables have a hinge angle sensor - it's actually a public API in Android, and robust enough that we use it to detect whether a device is a foldable:

https://source.android.com/docs/core/interaction/sensors/sen...

caseyohara•19h ago
> we use it to detect whether a device is a foldable

I’m curious what you do with this information. Can you share?

xdkyx•19h ago
The first thing that comes to mind is simplifying the identification of a device type, without the necessity of looking up a device list name or updating the list with each new device that gets released.
robertoandred•16h ago
Yeah but why do you need to know?
nostrademons•16h ago
Foldables have a different UI which often requires different requests to the backend. They need to support both narrow-screen and large-screen formats for content, and you usually want to avoid having critical UI elements fall on the hinge for fairly obvious usability reasons.
robertoandred•14h ago
That should all be abstracted out to the operating system, not dependent on checking for specific devices. Any app should be able to accommodate different screen/window sizes and safe areas.
danaris•14h ago
...And does the Android OS provide this information?

'Cause if not, it makes perfect sense for nostrademons to be doing it themselves.

nostrademons•13h ago
The Android OS does provide screen width/height information and safe areas. We use them when appropriate, which is fairly often, but not universally. Safe area support for foldables is pretty weak, though, because it's a relatively new device category that imposes fairly different constraints on devices.

The bigger issue is that there's always a long-tail of product considerations that need to be different on foldables and aren't covered by just feature-detecting the available screen resolution. Logging is one: PMs are very interested in how the category as a whole is performing, if only to direct future hardware plans, and that requires that it actually be categorized as a separate category. Backend requests are another: you can (and should) optimize your bandwidth usage on phones by not shipping to the client information that is only going to be displayed on large screens, and you can (and should) optimize your screen usage on large screens by displaying more information that is not available on phones, but foldables represent the union of the two, and you usually don't want the latency of additional backend requests when the user fold/unfolds the device.

(The irony is that the app in question is Google Play, and I personally know most of the PMs and several of the engineers on Android SysUI.)

chmod775•19h ago
Chances are there's an accelerometer in the screen and one in the base.
ritcgab•19h ago
And this little thingy makes a lot of M2 MacBook Airs fail.
katmannthree•19h ago
I'd like to hear more, do you have an article or something you could link?
ritcgab•17h ago
There is no official statement about this issue but you can search for user reports like "M2 MacBook Air black screen" or something similar. It is not uncommon.

In older versions of macOS you can simply try two things:

* Press Esc in locking screen, or * Press "Sleep" from the menu bar icon and then press Esc immediately

If the machine crashes/reboots, the sensor is bad and it needs to be replaced. Apple Store replaces the whole display assembly.

15 inch and M3/M4 models are not affected, AFAIK.

emmelaich•17h ago
I was wondering this myself. I've had three mac air/books that simply failed to turn the display on. I've heard (from a third party repairer) that it is not uncommon.
zitterbewegung•19h 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.
fwip•19h ago
My understanding is that this sensor is used to help adjust speaker behavior for better sound, but I can't find a link to support that.
pmarreck•19h ago
[flagged]
wpm•19h ago
[flagged]
tomhow•4h ago
Please don't comment like this on HN, not matter what you're replying to.

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

tomhow•4h 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•37m ago
Can someone please explain how presenting an evidence-based argument is "flamebait"?
jama211•18h ago
Hahaha that’s awesome
chipsrafferty•18h ago
Someone should make a video game where you have to jerk the hinge back and forth for basic movement
ModernMech•18h ago
Microsoft has had this in their Surface Book. It has a screen that could detach and be used as a table, which had an accelerometer in it that could measure the angle.
djtriptych•17h ago
I clicked around and the README links to this python lib: https://github.com/tcsenpai/pybooklid

Probably a nicer interface for anyone who wants to play with this :)

pimlottc•17h ago
That’s a downstream project, the author’s original project is here [0], with much more information on the actual sensor.

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

Doohickey-d•17h ago
The lid angle sensor is also serialized to the motherboard: you cannot replace it, or the motherboard, without performing calibration, which can be performed by an apple authorized service provider, or alternatively, in Europe (and elsewhere where Apple offers parts for self-service repair), you can purchase the sensor from Apple, connect the machine to the internet after replacing it, to then perform the calibration, only if the sensor was purchased from Apple.

So the hardware is capable of performing the calibration, Apple just does not graciously grant you the right to install a recycled or third party sensor in your machine.

https://www.ifixit.com/Answers/View/759262/Torn+Lid+angle+se...

Cthulhu_•17h ago
Negative take: Vendor lock-in

Positive take: discourage theft; not only is the device locked down / encrypted and you can't just wipe / reinstall it, you can't even break it down for parts.

When the iphones etc first came out, they were a very attractive target for theft. Come to think of it, that's one reason why I was hesitant to get an iphone back then.

debesyla•17h ago
As the saying goes, is it even theft if you don't own the device? (If you can't do whatever you wish.)
BoorishBears•17h ago
Yes, Apple rents me some very powerful hardware that allows me to make a living.

Someone depriving me of it is theft.

jen20•15h ago
That is a particularly idiotic saying.
mr_toad•15h ago
If we want to split hairs, technically it’s robbery, which is more serious than theft. In the UK for example, the maximum sentence for robbery is life imprisonment.
deepsun•16h ago
Theft of what, sorry not clear. Thieves keep stealing macbooks no prob.
arcane23•16h ago
>discourage theft

Does it though? Are there statistics that clearly show devices aren't being stolen anymore because they cannot monetize them anymore?

The way I see it the only thing this does is make you feel better the thief cannot monetize it, or use it, but it does nothing to prevent the theft which is really a moot point in the grand scheme of things. We end up paying in this way, of not having the freedom to easily and cheaply replace parts, while being comforted that even though they still are getting stolen from us, whoever steals them cannot use/monetize them. Which is quite primitive in a sense, and I do not think it's worth it. But that's just me.

phoronixrly•16h ago
Yeah, imagine a world where people who are forced to steal are competent enough not only to know which phones they can sell, but to be able to guess the make and model in the middle of a mugging
reaperducer•16h ago
imagine a world where people who are forced to steal are competent enough not only to know which phones they can sell, but to be able to guess the make and model in the middle of a mugging

No need to imagine. This actually happens with watches.

In Hong Kong (and likely other cities), you can pick a watch from a "catalog" that is a binder of photos of watches on people's wrists in public, and the middleman will have the watch custom-stolen for you.

aspenmayer•5h ago
Part of me believes this is true. The other part suspects this is a fancy way to sell custom fakes with no refunds.
seventhtiger•16h ago
They actually do though. First thing to learn when swiping is what's worth swiping, and if no one will buy an iphone paper weight then it's not worth the risk.
jajuuka•16h ago
Yeah it's like saying "home invaders don't know if there is anything good inside they just choose houses at random." The point of the theft is to get something out of it.
nwallin•15h ago
I've thankfully never had my house robbed, or a cell phone or laptop stolen. I have had my car broken into. The thieves chucked a paving stone through the window, grabbed a backpack sitting on the passenger's seat, and ran off with it. Left the paving stone in the driver's seat. The backpack had my gym clothes in it. A T-shirt I was rather fond of, a pair of shorts, a few extra pairs of socks, and a shitty pair of sneakers, all were well worn.

Replacing the backpack and gym clothes was probably $100, market value was maybe $10, and it was $507 to fix the window. (my deductible was $500.)

fluoridation•15h ago
I thought you were going to say "but they ignored the $100 textbook on the dashboard" or something. The anecdote doesn't demonstrate anything. How much of an inconvenience the theft was for you is not a factor for the thief. They got $10 by chucking a rock through a window, and they only lost the opportunity cost of choosing a different victim.
seabass-labrax•14h ago
They had to take the cumulative risk of getting caught though - one well-targeted burglary to take a designer handbag or diamond necklace would earn that thief as much as the indiscriminate 'stealing nwallin's gym clothes' thief would make in a year, as long as they had the network to sell the contraband on without incriminating themselves.
fluoridation•13h ago
That risk is there regardless of what they steal. The kind of thieves who break into cars are low-effort-random-reward. They have neither the patience nor the skill nor the resources for the kind of planning you're referring to. Yes, the bag didn't contain much valuable. A different bag might have. Had the thief known that for a fact beforehand they probably wouldn't have bothered.

Outside nwallin's car: no valuables

Inside nwallin's car: maybe valuables?

mensetmanusman•13h ago
There is no risk in may states like California:
arcane23•16h ago
That might account for a small set of scenarios, most times they just go for whatever sticks to their hand, in pockets/purses, without knowing what they'll get. As long as there's devices that can be monetized they will attempt to steal them if they cannot make sure it's not worth it.

And this would account for pros, let alone newbs in stealing, or just irrational behavior, or people who just enjoy creating harm with no gain. I think this is a case where the justification is weak and in reality it's more about greed and control on Apple's side rather than some potential benefit that is actually seriously diluted by a lot of other not mentioned factors.

seventhtiger•2h ago
For example in the UK the police did a sting simply by wearing expensive watches, and caught 31 robbers in a 12 month period.

https://www.bbc.com/news/av/uk-68003783

I agree that all the random factors you mentioned exist, and the proportion to random vs targeted theft would be an interesting debate, but there's solid evidence for significant targeted theft. The fencers tell the thieves what to look for.

niklassheth•15h ago
The majority of phones in the US are iPhones, especially in big cities where phone theft is most common.
jajuuka•16h ago
According to the GSMA last year phone theft (which arguably has much more part serialization and anti-theft measures implemented) has been a steady 1% of smart phone users worldwide. It does not seem these attempts to lock down systems are successful in reducing theft. https://www.gsma.com/solutions-and-impact/industry-services/...

However I wonder if they have had an impact on data and financial theft. Which things like part serialization wouldn't affect but system security measures would.

shuckles•15h ago
It’s a dynamic system. The number staying the same doesn’t tell you anything about causality or the counterfactual.
userbinator•15h ago
I suspect the majority of phone thieves don't care about the previous owner's data, they just want it wiped so it can be sold to someone else.
mr_toad•15h ago
Alternatively, without these measures phone theft might be a lot more than 1% of users. People get killed for less than a smartphone costs.
tpmoney•10h ago
In the early days, iPhones being both extremely popular and expensive made them pretty big theft targets and Apple was getting pressure from the various state governments to "do something" about the increases in phone theft. At least according to NY and CA, the activation lock alone in iOS7 caused double digit drops in the iPhone theft rates: https://appleinsider.com/articles/14/06/20/police-say-ios-7-...
dwood_dev•16h ago
I used to have an extremely negative view on all this serial number pairing that Apple does, then I found out why.

Within mainland China, Apple was facing fraud of having their devices purchased, stripped for genuine parts, and then rebuilt with knockoffs and sold as new to unsuspecting victims within China or returned. This whole thing that we hate in the west was in response to that fraud.

I don't like it at all, but it's not all Apple being assholes.

AuthAuth•16h ago
Sounds like more of an excuse than a reason.
userbinator•15h ago
More like plausible deniability.
zdw•16h ago
A lot of "new" products in the "bargain" category can have remanufactured parts, even without telling the end users.

For example, in this DankPods video he pulls apart two cube speakers, and while they look mostly the same on the outside, one has a Nokia-sized lithium battery that is directly soldered to, and the other has a swollen pouch pack: https://www.youtube.com/watch?v=SfnabYBtJ2I&t=325s

Unfortunately end users can't tell whether they got a "race to the bottom" item, so as much as I'd like cheap repairs, it seems like those also come with a huge amount of buyer beware that they may not know about.

josephcsible•16h ago
That would be a good argument for Apple showing a warning every time it's powered on or something, but not for it refusing to work altogether.
leoh•15h ago
Yeah, but then you could just flash with a different ROM or something and prevent that warning from being displayed?
shakna•15h ago
If you could do that, you could just flash a new ROM to ignore serial errors, too.

The checks are not entirely in software, and would not be in showing the error, either.

areoform•15h ago
Then what stops this "counter-measure" from "working?" Could they not just "flash with a different ROM or something" to allow the part to work normally?

I genuinely doubt that the level of theft ever rose to a large enough margin, if it did, Apple would have pulled out of China.

For reference, Apple employs ex-NSA, CIA, TLA professionals to solve this exact problem with a near endless budget and 0 oversight and accountability.

Most notably, one of the organisational leaders was caught bribing the sheriff's office for concealed carry permits, https://www.ft.com/content/e73676d7-c6bc-4b07-b9bf-9bd702f1f... / https://www.theregister.com/2023/08/29/apples_chief_security...

jackvalentine•13h ago
> I genuinely doubt that the level of theft ever rose to a large enough margin, if it did, Apple would have pulled out of China.

There was a point where the black market in China was making more on Apple products than Apple itself. They initially tried to have stricter warranty conditions in China as a fix, but state media decided this was an affront to the country: https://www.infoworld.com/article/2271627/apple-clarifies-wa...

Hence, the technical fix.

Why pull out when you can apply a technical fix and retain both access to the biggest consumer electronics market in the world and maintain the good graces of the country that manufactures almost all your products?

SchemaLoad•10h ago
The situation has changed recently for iphones. Parts are icloud locked now. While the part serial is registered to an icloud locked iphone. Any phone with those parts will refuse to work entirely until the part is either removed or the part is unlinked from the owners account.
privacyking•9h ago
Source? What message does iOS show?
gorbypark•4h ago
This would be the way to go if on the flip side any part that was not iCloud locked could be paired without hassles. Phone stolen/lost/etc? Parts unusable. Phone iCloud unlocked? Parts free for use. Of course this depends on mitigating various ways thieves can iCloud unlock stolen phones..I think the current method is snatching the phone while it's in use and iCloud unlocking it? However that doesn't make much sense since I assume you need some sort of password to do so even if the phone is physically unlocked?
specialist•15h ago
Yes and: Requiring genuine parts reduces risk of silent hardware pwnage. Which is a no-negotiable requirement these days.

That said...

I demand that Apple makes genuine parts available to end users and 3rd repair shops.

And being 100% pro Right to Repair, I support repairs with non-genuine parts.

For peace of mind, have your gear repaired by Apple. For the cost sensitive and tinkerers, you have options.

LtWorf•15h ago
Problem with doing repairs by apple is that they always go with "let's replace the motherboard"
SoftTalker•13h ago
Because the time spent on diagnosing the specific problem and replacing just the faulty component would cost more.
serf•12h ago
that's charitable.

I would presume that the world's third largest company by market cap would be attracted to that option because it's the most profitable thing to do.

Yes -- there is a nuance between 'most profitable' and 'most thrifty'.

nozzlegear•11h ago
How does AppleCare factor into your presumption?
LtWorf•2h ago
It makes people buy apple?
astrange•11h ago
You don't get to be an extremely profitable company by doing things that cynical people online assume are the most profitable thing to do, since they always pick the most evil option assuming it's most profitable.
bigstrat2003•11h ago
That is certainly the argument that is made. I don't believe it, however. I don't for one second think that Apple did that for the benefit of users and not as a way to turn an extra buck.
GuB-42•1h ago
The reason for that scam is that Apple doesn't make it easy to get genuine parts, so they have to be harvested from existing devices.

I am sure that if the parts were available to anyone from Apple at a reasonable price (like Fairphone or Framework), these scammers would be out of business soon enough. Who would insist on genuine parts and yet choose a shady supplier if it was easy to buy from the manufacturer directly?

2OEH8eoCRo0•16h ago
They are still a target for theft

https://www.economist.com/interactive/britain/2025/08/17/the...

> More recently London has become known as the “phone-snatching capital of Europe”. If the victims manage to track their devices, the goods are most likely to turn up in China.

> Globalisation created the supply chain that allows each iPhone—assembled from nearly 3,000 components—to reach the hands of a consumer. The same forces inverted see that phone yanked out of it, re-exported and broken apart again.

seabass-labrax•14h ago
I wouldn't personally trust the Economist with this kind of thing, at least not compared to publications by technically-minded experts that have been shared elsewhere on this thread, such as the Register. The phone-snatching is real, but the effectiveness of this theft in creating usable spare parts, or of the efficacy Apple's software in reducing said theft, is much harder to determine.
2OEH8eoCRo0•12h ago
https://discussions.apple.com/thread/255110862?sortBy=rank

> Stolen iPhone is in Shenzhen, Guangdong, China; what can I do?

londons_explore•15h ago
Anti-theft isn't the reason.

Apple could easily have a dialogue that pops up saying:

"The XYZ sensor in this device is still registered to a device attached to robert8 @icloud.com. Please log into that account now to authorize the component swap".

Whilst the swap isn't authorised, firmware would power the system off after 10 mins, making any stolen laptop parts useless.

SchemaLoad•9h ago
That is how it works as of recently https://support.apple.com/en-au/120610
commandersaki•13h ago
I read somewhere the angle sensor also has a privacy feature of cutting off microphone at hardware level. This is probably the main reason for parts pairing.
serf•12h ago
... and this can't done with the myriad of other ways a lid can know it's closed.. why?

Presumably MacBooks still have a big un-shuttered camera on the screen? Presumably there is still a light sensor?

I get the idea of parts pairing as a theft/parts-out deterrent -- I don't get it as a method of cutting features on existing machines. "We need the lid angle sensor to be valuable, so let's cut out our eyes and seal our ears."

commandersaki•12h ago
<shrug> I don't work for Apple and design these things, but for some privacy things they do go to the extreme. I can imagine the scenario where a TLA tries to replace the angle sensor so they can keep the mic open for surveillence reasons, hence why they do parts pairing.

https://support.apple.com/en-au/guide/security/secbbd20b00b/...

koiueo•7h ago
> discourage theft

Thieves once broke into my car. They stole everything, but then have thrown away things they don't need: which was everything except iPad Pro M1. They have even thrown away an e-ink device which was as expensive.

Many signs suggest that the thieves were in an organized group regularly operating in the area, and I'm certain they knew what they were doing.

My iPad has never appeared online after the theft according to my iCloud.

This was in 2024.

I'm confident this iPad didn't just become a paperweight for the organized group of thieves. But it would become a paperweight for me if, say, the infrared camera went off due to a water damage and I wasn't willing to pay Apple a hefty price for the motherboard replacement.

KurSix•2h ago
iPhones were like gold on the black market
userbinator•15h ago
They call it "calibration" when it's presumably nothing more than writing a serial number to an EEPROM somewhere. See also the related story of sabotaging iPad screens to work but subtly degrade when the serials don't match, and cameras that only semi-work when swapped (with genuine original Apple parts). This type of pathological lying that Apple loves to do is why I'll never buy or recommend to others any of their products.

https://news.ycombinator.com/item?id=24955071

https://news.ycombinator.com/item?id=36926276

bri3d•14h ago
https://github.com/Vladislav98759/Macbook-Lid-Angle-Sensor-C...

No, it actually does set the zero point.

userbinator•11h ago
Interesting but that proves the point even more --- it's hardly "calibration" when it effectively does nothing more than write constants to the EEPROM. They certainly have enough processing power in the machine to do that automatically too without needing anything more, but instead they make everyone go through a whole song-and-dance to do this trivial process; which doesn't even require Apple's involvement.

"Set the angle to 0 (closed) and press Enter. Open 10 degrees and press Enter. Repeat for every 10 degrees from 0 to 170" would be an example of actual calibration.

lsaferite•9h ago
Pressing enter while closed might be a little difficult.
awesome_dude•9h ago
3rd party keyboard :)
userbinator•8h ago
Apple even makes a suitable one themselves... but the point is that a calibration procedure involves adjustment and measurement, and not merely reading some data from the sensor and writing it back. If Apple weren't deliberately trying to be hostile and sneaky, they would not have bothered with this roundabout, obfuscated process which no doubt increases their production cost too.
nomel•9h ago
Minimum angle seen during a full motion would be perfectly reasonable.
mproud•8h ago
The calibration measures only when the screen is open and closed. There is a grace period of a few seconds to allow you to close the screen.

But yes, if you don’t do it correctly, you will burn the service part and have to replace it again.

theginger•7h ago
That seems an extreme measure to ensure the security/integrity of a screen hinge sensor input ( or protect this tiny revenue stream )
arcticbull•7h ago
It does actually perform a security function. The lid angle sensor is used to know when the device is open or closed, and when closed, it physically disconnects the microphone. If you were to be able to recalibrate it at any time, you would leave your device vulnerable to having the microphone enabled when the lid is closed. You can argue whether that justifies the practice, but it's not as simple as just burning the EEPROM serial number in that tells it to turn the display on or off. It defends the user against an attack vector.

From that perspective making it one-time programmable is not unreasonable.

raverbashing•6h ago
I agree with you

Though it could be simpler if it was something like a magnet on the lid that activates a magnetic switch on the bottom part (and it would be harder to have a false negative result). But Apple is going to Apple

arcticbull•5h ago
Yes, it could be done with a Hall effect sensor or something like they used to. The cool thing about this approach is they actually use a different angle to turn the screen off as you close the lid than they do for turning it on when you open the lid, to create a better experience. Since it is a security feature, then the "open" vs "closed" state should use the same source of truth. So it's a trade-off of complexity and experience.
KurSix•3h ago
It feels like Apple's implementation leans more toward vendor lock-in than purely user protection
eviks•6h ago
Trivial with a delay, press enter and close, after 5 seconds it calibrates
lupusreal•3h ago
You don't even need that, just ask the user to close the lid and see what the sensor settles on.
eviks•3h ago
How would you know the user is ready to perform the command?
FinnKuhn•3h ago
You could use the camera to estimate if the laptop is closed.
eviks•3h ago
Exactly my thought, but this might not be precise enough in low light conditions? So maybe best used as a fail safe (if camera is lit don't calibrate even if the user pressed confirmed)
account42•1h ago
Do Macs not support USB-keyboards?
raverbashing•7h ago
> it's hardly "calibration" when it effectively does nothing more than write constants to the EEPROM

What do you think calibration of digital devices entails?

It does involve exactly that. Whereas in an analog device you would be adjusting a potentiometer or something similar

userbinator•7h ago
You're forgetting (or purposely omitting) the measurement aspect.
raverbashing•6h ago
The measurement aspect is obvious to anyone who thinks two seconds about the point I'm making

The measurement happening on the lid is the "lid closed" point

moralestapia•15h ago
Weird to be mad at this when you didn't know it was a thing 10 minutes ago ...
kulahan•15h ago
You can dislike something in general and simply point out when a scenario matches what you dislike, as is happening here.
moralestapia•15h ago
You can't repair what doesn't exist, though.
kulahan•15h ago
Completely unrelated to the point I’m explaining
jojobas•8h ago
If I told you some John Smith had brutally killed a cat I bet you'd be a bit mad, even thought you'd never heard of him before.
Nathan2055•12h ago
Okay so here's the argument I've heard: if arbitrary replacements of the lid sensor were possible, it would be feasible to create a tampered sensor that failed to detect the MacBook closing, thus preventing it from entering sleep mode.

This could then be combined with some software on the machine to turn a MacBook into a difficult to detect recording device, bypassing protections such as the microphone and camera privacy alerts, since the MacBook would be closed but not sleeping.

Additionally, since the auto-locking is also tied to triggering sleep mode, it would be possible to gain access to a powered off device, switch the sensors, wait for the user to attempt to sleep mode the device, and then steal it back, completely unlocked with full access to the drive.

Are these absolutely ridiculous, James Bond-tier threat assessments? Yes, absolutely. But they're both totally feasible (and not too far off from exploits I've heard about in real life), and both are completely negated by simply serializing the lid sensor.

Should Apple include an option, buried in recoveryOS behind authentication and disk unlock steps like the option to allow downgrades and allow kernel extensions, that enables arbitrary and "unauthorized" hardware replacements like this? Yes, they really should. If implemented correctly, it would not harm the security profile of the system while still preventing the aforementioned exploits.

There are good security reasons for a lot of what Apple does. They just tend to push a little too far beyond mitigating those security issues into doing things which start to qualify as vendor lock-in.

I really wish people would start to recognize where the line should be drawn, rather than organizing into "security of the walled garden" versus "freedom of choice" groups whenever these things get brought up. You can have both! The dichotomy itself is a fiction perpetuated to defend the status quo.

throwaway314155•12h ago
Isn't there software that does exactly this? Called caffeine, I believe?
vlovich123•12h ago
Installing software generally requires user permission. Replacing Hw can be done surreptitiously. At least that’s the strongman variant of the security argument.
wpm•9h ago
`caffeinate` is installed by default on macOS.
classichasclass•9h ago
ITYM "caffeinate"

  DESCRIPTION
     caffeinate creates assertions to alter system sleep behavior.  If no
     assertion flags are specified, caffeinate creates an assertion to prevent
     idle sleep.  If a utility is specified, caffeinate creates the assertions
     on the utility's behalf, and those assertions will persist for the
     duration of the utility's execution. Otherwise, caffeinate creates the
     assertions directly, and those assertions will persist until caffeinate
     exits.
ryandrake•12h ago
The line should be drawn by the owner of the device.

As the user and owner of the product, I should be the sole decider about my own security posture, not some company who doesn’t know my use case or needs.

It’s crazy how we’ve managed to normalize the manufacturer making these kinds of blanket decisions on our behalf.

vlovich123•12h ago
How does Apple know the owner of the product has authorized the HW change?

There’s a secondary argument you could make here whereby because the replacements must be valid Apple parts that have uniform behavior and tolerances, the strength of the secondary market is stronger and Apple products have a stronger resale value as a result, because you’re not going to encounter a MacBook with an arbitrary part replaced that you as the second-hand buyer know nothing about (this is why the secondary market for cars doesn’t work without the ability to lookup the car history by VIN).

userbinator•11h ago
Apple doesn't need to know. Once it's sold Apple is no longer the owner.
aurareturn•8h ago
What happens when you indirectly cause the machine to fail by installing some shout 3rd party part? Are you still going to claim warranty? Walk into an Apple Store to ask for help?
userbinator•8h ago
We have the https://en.wikipedia.org/wiki/Magnuson%E2%80%93Moss_Warranty... to rely on.
aurareturn•8h ago
Huh? Explain more.
rcxdude•5h ago
Generally speaking companies are not liable for failures due to the customer's own modifications to the product.
fastball•5h ago
What about a work computer? You're not the owner, but presumably you appreciate when can feel that your work computer is still secure.
doubled112•11h ago
That car comparison doesn't work here. You can't be sure about the true history of a car, only what was reported.

When I replace a wheel bearing assembly in my driveway, you still can't see that by looking up my VIN. Nobody knows except myself and the person I bought the parts from.

Was it a dealer part? An OEM part? A poor quality replacement? Can't tell without looking.

This might actually support Apple's side of the argument, although I do not. I don't think we need some Carfax equivalent for MacBooks.

chongli•10h ago
This might actually support Apple's side of the argument, although I do not. I don't think we need some Carfax equivalent for MacBooks.

In some ways, Apple's scheme is better than Carfax. In other ways, it's worse.

It's worse because you can't get access to the repair history of a device.

It's better because you can actually have a reasonable degree of confidence that no "driveway repairs" have taken place since Apple's scheme is not known to be broken.

buzzerbetrayed•9h ago
This is my biggest complaint with the strict "my device, my rules" people.

I want Apple to lock down my device to customization, repairs, etc..

I know I am never going to install an app through means other than the app store, even if I could. I know I'm never going to repair my device through anyone other than Apple, even if I could. I want to know that my device will be a $1,000 paperweight to anyone who steals it.

I want to pay Apple to ensure there are no "driveway repairs".

A number of years ago I accidentally ended up with a second hand iPhone with a shitty "fake" screen repair. I had no way of knowing it wasn't an Apple screen. But it fucked me over as soon as it started failing a couple months after I bought it.

I get tired of the people demanding that a company, with willing, paying customers, isn't allowed to protect their customers because they want something the company doesn't offer. Fuck right off with that shit and buy from a company that does offer that.

worthless-trash•9h ago
I feel your'e just mad because your expectations of buying a second hand phone were not met.
vlovich123•8h ago
I had a similar experience myself paying for screen repair in SF and getting back a phone with a butchered display. Why wouldn’t you get mad for spending money and not having your expectations met?
koiueo•8h ago
This is solved by repair shop warranty and reputation.

They butchered your repair, you demand a fix or a compensation for a new phone. That's what customer protection laws are for.

chongli•3h ago
If you need consumer protection laws then clearly reputation isn’t worth much. The issue with reputation is that society has grown so large and impersonal that we’re constantly facing interactions with unknown people.
koiueo•1h ago
I'm sorry for my candor, but your argument is so silly, it rubs me the wrong way.

Laws are how society operates.

If you need traffic rules (those are defined by laws fyi) then clearly individual's ability to drive isn't worth much. Let's abolish car ownership, make Apple operate all ground transportation and prohibit anyone else from deciding where Apple-operated cars go, what are operational hours and where the stops are.

bluescrn•6h ago
Apple aren’t aiming to protect buyers of pre-owned devices.

If they could get away with it, they’d likely prevent resale entirely.

bzzzt•5h ago
Why would they? Lots of people sell their old phone to pay for the latest model. Killing the resale value will decrease new sales.
pasc1878•1h ago
Resale through Apple only -

Apple already will give you discounts if you upgrade some things.

So the resale value will continue albeit at a fixed price

N19PEDL2•7h ago
It wouldn't be difficult for Apple to add a page in the device settings that shows whether the device contains any non-genuine components.
clickety_clack•11h ago
Yes it’s wild. Imagine if we decided that people can’t be relied on to install good locks for their doors, so we gave the government responsibility for locking and unlocking your door every time you wanted to leave your house.

A lid sensor is just so peripheral. Where do the vendor lock-ins end?

Configure0251•1h ago
I quite like this analogy, I hope I can remember it for the appropriate moment.
jbs789•1h ago
You mean like a prison?
tpmoney•10h ago
> As the user and owner of the product, I should be the sole decider about my own security posture, not some company who doesn’t know my use case or needs.

It's not so cut and dry though. The "user" and the "owner" of a product are not always the same person, but hardware security impacts the "user" more than the "owner".

amrocha•8h ago
Does your grandma decide her own “security posture”? Does she even know what that means?
smaudet•8h ago
Your grandma is not the target of state level spy rings...

The noise made about security is absolutely ridiculous.

swiftcoder•7h ago
She is however the target of pretty much every financial scam on the planet, many of which rely on convincing folks to hand over the keys to their (digital) castle...
eviks•6h ago
Which financial scams involve such attacks, so is there a single scam that this measure would prevent?
swiftcoder•1h ago
I'm not aware of any that this particular sensor would mitigate. I think the idea that security is only for people targeted by nation-states is not a realistic view of the modern world (and, moreover, if we decide that normal people don't need enhanced security measures, it becomes trivial to identify dissidents by the fact that they implement security measures).
amrocha•7h ago
State hacking tech leaks to average hackers and scammers over time. Scammers today are using nation state tech from a decade ago.
deadfoxygrandpa•8h ago
both my grandmothers are dead
amrocha•7h ago
What’s the point of this comment?
defrost•6h ago
It answers the question you asked.

Another answer, mine, is that one grandmother flew bombers, jets, spitfires, etc. in WWII and ran a post war international logistics company after that. The other did "stuff" with math.

ie. Both capable of understanding a security posture.

How about your grannies?

You might want to ask well formed questions in future, on a site such as HN the set of all grandmothers is hardly homogeneous.

amrocha•24m ago
Don’t be obtuse. Nobody likes a smartass.
lupusreal•3h ago
My dude, an Indian is going to call your Apple-using grandmother and tell her that he works for "the Microsoft" and he needs her to give him all her banking details, or go to a bitcoin ATM, or buy a stack of $500 gift cards, and she's going to do it.

The sensor in her macbook lid does not matter! Get real.

amrocha•18m ago
Who are you to decide what matters and what doesn’t?

If you were a journalist reporting on russia or the UAE it would certainly matter.

Not to mention that it’s not that hard to imagine an AI tool being paired with 24/7 surveillance that reports back private information it hears.

It’s also not hard to imagine your average hackers getting their hands on a tool like that after a couple years of governments deploying it.

isaacremuant•5h ago
It's not that crazy when people seem to cheer for a nanny state at every turn. Specially if said nanny state bombards them with propaganda about all the dangers they'll face if they just don't "comply".

1984 references may have seen farfetched but after the suppression of rights using covid as an excuse people have little to no recourse to claim control back. Apple was always famous for their walled garden and tight control, but we have Google becoming like apple (can't install things in your device unless you go to them with your private details), ID to track your movements because "protect the children" (effectively blocking news even), chat control (very similar to installing a camera in your home and recording all your conversations).

Corps and governments are relying on each other to strengthen their control and it's not a surprise.

jbs789•1h ago
You do get to decide (buy another product with a different value proposition).
oxguy3•12h ago
If repair shops can buy the $130 calibration machine, presumably the super spy in this story (who for some reason couldn't steal the data while they were replacing the lid sensor, nor can they steal the data when the laptop's in use, but somehow can steal the data when it's idle with the lid down) can also get a calibration machine, and then deliberately set the zero point incorrectly.
Lammy•12h ago
If we're talking Bond-tier assessments then Apple already sell a covert microphone: AirTags. They “have no microphone” according to product specs, but they do have a huge speaker, and a speaker and microphone are the same thing like a generator and motor are the same thing: https://in.bgu.ac.il/en/Pages/news/eaves_dropping.aspx
ungreased0675•11h ago
There’s a fairly large jump between having a microphone and being able to be used as a surveillance device.
Kirby64•8h ago
Just because a speaker can technically operate as a microphone doesn’t mean that AirTags would be capable of this. The speaker driver definitely doesn’t have any recording capability. The only reason the 3.5mm jack mentioned in your article is capable of this is because the jack has functionality to allow analog recording for mic/line in cases. No dedicated speaker driver would have this because it would be worthless and costly.
bri3d•12h ago
Keeping a victim device unlocked when the lock state is responsible for encryption key state is a totally legitimate risk.

With that being said, I don’t think Apple see this specific part as a security critical component, because the calibration is not cryptographic and just sets some end point data. Apple are usually pretty good about using cryptography where they see real security boundaries.

echelon•11h ago
Don't invent reasons for Apple to continue to have a stranglehold over their monopoly of critical computing infrastructure.

Companies as big as Apple and Google that provide such immensely important platforms and devices should have their hands tied by every major government's regulatory bodies to keep the hardware open for innovation without taxation and control.

We've gone from open computing to serfdom in the last 20 years, and it's only getting worse as these companies pile on trillions after trillions of nation state equivalent market cap.

astrange•11h ago
The government regulators also have an interest in knowing the laptops they buy for eg the NSA have authenticated parts to avoid supply chain attacks.

If you're selling cell phones you already spend plenty of time satisfying regulators and vendors from all over the world. The cell phone companies aren't the ones with power here. (In general tech people have no political power because none of them have any social skills.)

cwillu•10h ago
Because the NSA is buying used laptops?
swiftcoder•7h ago
Supply chain attacks don't generally target the second hand market. Much more effective to upstream your attack to the vendor Apple buys parts from in China, and compromise every MacBook in one fell swoop
astrange•5h ago
That's too discoverable to work. Supply chain attacks are by state actors who can interrupt specifically your order on its way to you and silently replace parts in it.
arcticbull•6h ago
It doesn't need to be encrypted if it's one-time programmable. The calibration data is likely written into efuses which are physically burned and cannot be reset.
bri3d•23m ago
The sensor and its data stream would need to be authenticated, though.
arcticbull•5m ago
For the mic cut-off? My understanding is that it outputs an electrical signal that's routed to the audio codec that literally prevents the audio from getting to system memory. It autonomously, at an electrical level, disconnects the mic without OS or software intervention. As it cannot be programmed again, you would have to crack the board and modify the PCB to override it.
naikrovek•11h ago
Yes.

“Sure, you can borrow my laptop. It’s fine. Take it home. I promise not to spy on you while the lid is closed. I promise not to record aaaaaany audio or anything! And I definitely won’t hear any conversation that contains information that I’ll use to stalk you later!”

There are a million ways that some nefarious person could spy on another, but at least this isn’t one of them.

And I am a very suspicious person, thanks to some eye opening experiences that I’ve had. When someone says that they want to do something that not a lot of people want to do, I immediately wonder how they will use that against myself or someone else. Because that has happened multiple times to me.

I also hate that I am suspicious of people who want to at least have the opportunity to fully own their devices; something that is perfectly reasonable to want, but I am. What would that additional ability do for them? What will they be capable of doing that they can’t do now? How and when will they use it to get what they want out of someone? Or out of me?

If you don’t think like this, I really envy you. For the longest time, every teacher, every supervisor, every commander, every non-familial authority figure I had until I was probably 35, used and manipulated me for the purpose of advancing themselves. Every single one. The ones in the military didn’t even attempt to hide it.

I’m so scarred because of people convincing me to help them screw me over that I no longer trust anyone who is concerned about things like laptop lid angle sensors. Because who are you trying to screw over and why does that angle sensor stand in your way?

AnonHP•10h ago
> When someone says that they want to do something that not a lot of people want to do, I immediately wonder how they will use that against myself or someone else. Because that has happened multiple times to me.

I’m intrigued. Would you be comfortable sharing some of these real experiences here (with sensitive details fudged/removed)?

commandersaki•9h ago
I mean nobody expected pager bombs, but here we are.
KurSix•2h ago
I think it's possible to advocate for device ownership and repair rights without having malicious intent
saurik•9h ago
If you have access to my laptop long and deep enough to replace the hinge sensor with a fake one that prevents the lid from closing as a way to turn it into a recording device -- which of course would also require installing software on it -- instead of just putting a tiny microphone into it (or my bag), you are simultaneously a genius and dumb. And if you really are going to that level of effort, hoping that I don't notice my laptop failing to go to sleep when I close it so you might be able to steal it is crazy when you can 100% just modify the hardware in the keyboard to log my password.

Hell: what you really should do is swap my entire laptop with a fake one that merely shows me my login screen (which you can trivially clone off of mine as it happily shows it to you when you open it ;P) and asks for my password, at which point you use a cellular modem to ship it back to you. That would be infinitely easier to pull off and is effectively game over for me because, when the laptop unlocks and I don't have any of my data (bonus points if I am left staring at a gif of Nedry laughing, though if you showed an Apple logo of death you'd buy yourself multiple days of me assuming it simply broke), it will be too late: you'll have my password and can unlock my laptop legitimately.

> There are good security reasons for a lot of what Apple does.

So, no: these are clearly just excuses, sometimes used to ply users externally (such as yourself) and sometimes used to ply their own engineers internally (such as wherever you heard this), but these mitigations are simply so ridiculously besides the point of what they are supposedly actually securing that you simply can't take them seriously if you put more than a few minutes of thought into how they work... either the people peddling them are incompetent or malicious, and, even if you choose to believe the former over the latter, it doesn't make the shitty end result for the owner feel any better.

moshib•5h ago
I can imagine a different attack vector: A malicious actor doing laptop repairs can absolutely replace the hinge sensor and install software on it. They could draw in people by offering cheaper prices, then steal their info or use it to setup more complex scams.

The counterpoint to this is that car body shops can also plant recording devices in your car. This is true, but the signal-to-noise ratio in terms of stealing valuable data is much lower. I don't have data to back this up, but I assume way more people use their laptops for online purchases and accessing their bank account than doing the same with phone calls in the car.

ajsnigrutin•2h ago
A repair worker can install software on it without replacing the sensor. Also add a tiny mic without installing the software. Or both.

I mean.. someone could replace your cars breakpads with pieces of wood or plastic, which would seemingly brake on the repair shop parking lot but fail horribly (burn and worse) when you needed them after. Somehow we still let people replace brake pads without having to program in the serial numbers.. for now.

Shorel•2h ago
Your laptop can be compromised during a trip to a foreign state, by state actors.

Travelling back you would notice a microphone, and would notice nothing on the laptop.

nicman23•8h ago
those are over-complicated bollocks. there are easier and less detectable software only ways to do all that.
arcticbull•6h ago
If you were to come up with one, I suspect you'd have a solid bug bounty waiting for you.
nicman23•3h ago
you just set the pc to not sleep on screen down? it is literally a feature
arcticbull•3h ago
As far as I know the mic is still shut off when the machine is set to clamshell mode. That's the point. You cannot use the mic when the lid is closed. It's a hardware cut-off, you cannot configure it in software. Hence my comment about the bug bounty.
aae42•2h ago
$5 USB mic?
arcticbull•2h ago
If the point is to hide the recording that's not a great way. Especially when many corporate IT solutions monitor USB device connections.
raxxorraxor•6h ago
Then Apply tying the angle sensor to microphone status is a security issue. I would read that as a cheap excuse to be honest.
KurSix•2h ago
A properly gated, user-authorized override in recoveryOS or similar would give advanced users and third-party repair shops a legitimate path without blowing up the security model
user3939382•11h ago
Louis Rossman has talked about this extensively and I believe come up with a solution.
jojobas•2h ago
The only true solution is to vote with your wallet.
polisaez•8h ago
Is there anything that can be replaced on a MacBook?
swiftcoder•7h ago
Not really. You used to be able to replace the SSD (albeit with another proprietary module), but even that is soldered down as of a few years back
KurSix•3h ago
Stuff like this makes Right to Repair not just a consumer issue
avianlyric•2h ago
Mostly this is a consequence of laziness rather than a proper attempt at serialisation. The “calibration data” for most small sensors in Apple devices is stored in a centrally in a crypto blob to provide guarantees around component combinations, with sensor serial numbers used as lookup keys. It not usual for the sensor calibration data to computed on a component-by-component basis with calibration blob being computed _before_ the machine is assembled, based on the serial numbers the machine should contain.

So adding a new sensor means new serial number, which means the data lookup now fails. Resulting in the new sensor not working at all.

The pre-computed calibration blobs are neat little manufacturing trick to provide an end-of-line QA check, proving that a specific machine only contains the specific components it’s supposed to have. But it means the setup has no proper fallback mechanism for generating new blobs outside of the manufacturing process.

I personally think it’s a travesty that Apple hasn’t properly addressed this issue and enabled proper 3rd party repairs. But I think it worth recognising that the serialisation mechanism doesn’t exist primarily to prevent repairs, it exists to provide a form of cryptographic integrity check of the manufacturing process. Preventing repairs is just a “happy accident”.

maxdamantus•1h ago
> But I think it worth recognising that the serialisation mechanism doesn’t exist primarily to prevent repairs, it exists to provide a form of cryptographic integrity check of the manufacturing process.

What, you mean in case the parts of two machines accidentally fall out and fall back in to the other machine on the production line or during shipping?

Of course it's to prevent unauthorised repairs. There's no feasible way for the parts to be physically swapped other than someone intentionally doing a repair.

It doesn't even seem like a very good form of QA, since someone without repair experience can always try to take something apart and put it back together. Whether the serials match has little to do with whether the machine is currently assembled correctly.

userbinator•17h 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•17h ago
I wish more laptop producers overengineered their products the way Apple does.
userbinator•10h ago
Expensive, complex, and difficult to repair?

Do not want.

methyl•8h ago
Reliable (ie. can open after 2 weeks of sleep with full battery)
xanderlewis•15h ago
Are you talking about the MacBook trackpad, or something else?
userbinator•15h ago
This mouse: https://en.wikipedia.org/wiki/Apple_Mighty_Mouse
weebull•13h 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.
a-dub•16h ago
my guess: probably there to support the camera system and depth camera.

although unless there's some sort of angle measurement with respect to the ground in the base, i'm not sure what it would be useful for. maybe to provide continuity for the depth camera when the lid angle is changing (without heavy duty estimation calculations).

hulium•16h ago
Other laptops have this too. Linux has a driver for it.

https://www.phoronix.com/news/Intel-Hinge-Driver-Linux-5.12

The sensor angle would be in a file like `/sys/bus/iio/devices/iio:device*/in_angl0_raw` (device number can vary). At least I have this in a config file and remember it working (maybe on a different computer?). I cannot get it to work anymore on my laptop.

oblio•3h ago
Apple has crazy amount of underground PR.

A lot of the tech Apple uses is made by Samsung and others and you'd think everyone else works with sticks and stones.

mtz_federico•15h ago
Does anyone know if this is used by any program to check if you are actually looking at the screen? I could imagine it being used for some blackmirror type stuff
simne•15h ago
Looks like opportunity for gymnastics app!
amelius•14h ago
Meanwhile, Samsung makes luxury devices that have foldable screens ...

Apple has a _lot_ of catching up to do.

lurking_swe•10h 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•4h 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.
nodesocket•11h ago
Seems like they should expose it, perhaps done for security reasons. I can in-vision some interesting apps using the angle.
aperture147•11h ago
Finally there is a sensor that can measure my tilt.
thenthenthen•8h ago
In case you do not have this sensor, you can use the ambient light sensor to achieve a similar effect: https://youtu.be/pzJwDs6KRXA?feature=shared
mproud•8h ago
Does anyone remember the slapbooks?

There was a sensor where it would detect when you slapped the side of the screen, and a guy wired it up so when you did that it shifted to the next space (virtual desktop).

moshib•5h ago
If I remember correctly, it was originally meant to detect if the laptop was falling, so that it could turn off HDDs to mitigate damage. Hitting the side of the screen could also trigger that sensor.
dotcoma•8h ago
I sure hope they don’t feed it to advertisers to fingerprint me!
thisOtterBeGood•7h ago
You could use that to display some kind of billboard affect, so that an image is always in a correct aspect ration to the observer in front :D Please could someone with a macbook do this and post a video here? :D
alana314•7h ago
This is the best thing ever
RajBhai•7h ago
It would be cool if the Macbook can figure out the relative position of a newly connected external monitor. It would help in setting up the monitor with little manual adjustments.

Since covid, we no longer have assigned desks at work --- it's first come, first served. And while most are respectful of the desks we have "chosen" for ourselves, every once in a while, I'll have to sit at some other, often new desk. And that means my laptop will not recognize the monitor and that I'll have to configure it (scaling, relative position, etc).

And Windows being the mediocre OS that it is, will always select to duplicate the screens even though the logical choice is to extend. My laptop screen and the external monitor aren't even the same aspect ratio. SMH.

At least Macs have the sense to extend screens by default. Though, if I could place a Macbook on the desk, plug in the external monitor, tilt the screen back until the camera can see the monitor, the hinge sensor and cameras can work together to figure out where the monitor is relative to the laptop, and automatically determine the right settings for the monitor instead of requiring my intervention.

batrat•5h ago
How is this useful? I don't get it? Is not a touchscreen, doesn't fold...
trizoza•3h ago
Posts like this are the reason I keep visiting HN, THANK YOU!
egeres•2h ago
This was used as part of a 2017 competition to make the worst volume controllers: https://x.com/0xDesigner/status/1642554834535477249