Live data from Hacker News

TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

github.com

131–140 of 156 posts

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#131

OT, but this is what i love about apple laptop. They care about small detail, the detail that won't be on spec sheet for advertising. Like their laptop speaker is superior to any other machine, even premium laptop like xps or surface won't even come close. Or their huge trackpad but still accurate. I wish other manufacturers copy this from Apple.

https://github.com/grantcarthew/notes/blob/main/macOS/Rant.m...

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#132
post #60

Earlier quoted context omitted.

I've used carrots and cucumbers as a capacitive stylus while wearing gloves. It's the reason why I love Note and S Ultra phones - the stylus. I'm using it now.

I use this to avoid touching the stupid self-checkout machines when buying groceries

What do you use to avoid touching the carrots and cucumbers?

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#133

Earlier quoted context omitted.

If anyone happens to be using an iPhone 6S... http://touchscale.co/

This worked all the way up through the iPhone Xs.

  iPhone 6s and 6s Plus (2015) - First to introduce 3D Touch
  iPhone 7 and 7 Plus (2016)
  iPhone 8 and 8 Plus (2017)
  iPhone X (2017)
  iPhone XS and XS Max (2018) - Last models with 3D
Interesting that the iPhone SE 2nd/3rd generation with iPhone 8 form factor do not have 3D touch but "Haptic touch" instead.

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#135

Earlier quoted context omitted.

Dropbox shouldn’t exist either bc we have rsync ;)

The infamous Dropbox comment[0] actually didn't even cite rsync; it recommended getting a remote FTP account, using curlftpfs to mount it locally, and then using SVN or CVS to get versioning support. The double irony of that comment is that pretty much all of those technologies listed are obsolete now while Dropbox is still going strong: FTP has been mostly replaced with SFTP and rsync due to its lack of encryption a…

It's also not the same thing as Dropbox was offering: that's a description of a network drive, but the key thing about Dropbox is that it's a syncing engine. It's a much harder thing to do, but with very big benefits: much faster (since it's just reading off disk) and offline access.

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#136

Earlier quoted context omitted.

I once put some aluminum duct tape completely over the touch pad of an old laptop to see what would happen. Turns out it induced enough "eddy currents" to make the mouse move around the screen without me touching it--in a way, visualizing the currents! I connected the foil to ground using a small strip of the tape to the ground metal of a USB port on the side and it disabled the touch pad.

Looking back, it would have been interesting to code up a program to record the movement of the mouse as a trail of pixels...

If you ever want to do this keep in mind to reconfigure the mouse as a digital pointing device (tablet like), otherwise the mouse acceleration will mess up your position measurement.

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#137
post #62
post #17

Earlier quoted context omitted.

Could a small piece of conductive foam or some cleverly layered tin foil+paper work? So put the object on the shim (which has a known or even negligeable weight)

No, you need roughly a small human's worth of ground mass for most capacitive touch sensors to register a touch.

ground mass?

Re: TrackWeight: Turn your MacBook's trackpad into a digital weighing scale

#140
post #91
post #59

Earlier quoted context omitted.

Mac OS has "Private Frameworks" - shared libraries that are used by the system but don't ship with headers by default. It's trivial to produce these headers from the libraries, and then make wrappers for them like OpenMultitouchSupport which is a wrapper for MultitouchSupport.framework.

But just to note, I believe you can't pass Gatekeeper/Notary if you use these APIs so it's not possible to sign the app

Notarisation is not supposed to check for things like this; but you certainly would not be able to ship this to the App Store.
Post reply on HN