News for hackers. Stuff that matters.
Re:Using MacBook's trackpad as digital weighing scale by cryptoz on Monday July 21, 2025 @01:55PM (#44638246)
You can use any phone with a barometer to make a scale. All iPhones since the 6, and all the Pixels, and Samsung flagships have one. You get a zip loc bag, blow some air into it, put your phone in running an app that shows the pressure in a big font (so you can see it through the ziploc). Then you put an object of known weight on it like a quarter (balanced carefully on top of the air-filled ziploc) and note the pressure change on the display. With that, I think the weight / pressure change scales linearly, so you can now weigh anything small that you can balance on the ziploc.
Re:Using MacBook's trackpad as digital weighing scale by jbverschoor on Monday July 21, 2025 @03:43PM (#44639568)
Dropbox shouldn’t exist either bc we have rsync ;)
Re:Using MacBook's trackpad as digital weighing scale by Nathan2055 on Monday July 21, 2025 @04:51PM (#44640274)
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 and difficult to manage network architecture, direct mounting of remote hosts still happens but it's more typical in my experience to have local copies of everything that are then synced up with the remote host to provide redundancy, and CVS and SVN have been pretty much completely replaced with Git outside of some specialist and legacy use cases.

The "evaluating new products" xkcd[1] is extremely relevant, as is the continued ultra-success of Apple: developing new technologies, and then turning around and marketing those technologies to people who aren't already in this field working on them are effectively two completely different business models.

[0]: https://news.ycombinator.com/item?id=9224 [1]: https://xkcd.com/1497/

Re:Using MacBook's trackpad as digital weighing scale by OskarS on Tuesday July 22, 2025 @03:54AM (#44644323)
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:Using MacBook's trackpad as digital weighing scale by kiddico on Monday July 21, 2025 @04:19PM (#44639977)
I'm adding this to my list of obscure tools I have in the back of my head
Re:Using MacBook's trackpad as digital weighing scale by nemosaltat on Monday July 21, 2025 @04:50PM (#44640250)
no affiliation whatsoever but the app PHYPHOX has access to basically all of your iPhone sensors and can show the information in real time and save it, even has the capability of running a local python server so you can access it from a web browser on the same network or tethered device.
Re:Using MacBook's trackpad as digital weighing scale by thomascountz on Monday July 21, 2025 @06:49PM (#44641260)
I've use Sensor Logger[1], which does the same. I enjoy following its development.

[1]: https://github.com/tszheichoi/awesome-sensor-logger

Re:Using MacBook's trackpad as digital weighing scale by xsmasher on Monday July 21, 2025 @05:17PM (#44640514)
Wait, I know this one. You give the barometer to the superintendent if he tells you the height of the building.
Re:Using MacBook's trackpad as digital weighing scale by Raed667 on Monday July 21, 2025 @05:31PM (#44640645)
how about stacking the barometers ?
Re:Using MacBook's trackpad as digital weighing scale by rzzzt on Monday July 21, 2025 @05:43PM (#44640761)
Do I measure the passenger plane with or without the ship?
Re:Using MacBook's trackpad as digital weighing scale by fruitplants on Monday July 21, 2025 @11:03PM (#44642859)
It's pronounced thermometer. :-)
Re:Using MacBook's trackpad as digital weighing scale by jschulenklopper on Friday July 25, 2025 @07:49AM (#44682096)
Not everyone got the Niels Bohr joke that you subtly pulled there.
Re:Using MacBook's trackpad as digital weighing scale by nhecker on Tuesday July 22, 2025 @12:59PM (#44649988)
Neat. This method also assumes constant ambient pressure and temperature, and an ideal ziplock bag. (I.e., not stretchy, completely convex, and zero leaks.)
Re:Using MacBook's trackpad as digital weighing scale by Doxin on Thursday July 24, 2025 @05:23AM (#44668702)
I don't think stretch would matter, or even leaks for that matter. It'd still find equilibrium at the same pressure, no?