1,991 karma · joined September 30, 2022
sudo pmset disablesleep 1
You would think this would negatively affect battery life when the laptop isn't docked, but I haven't noticed much of a change. It's also nice to be able to shut the lid on a whim instead of trying to keep the lid open so my downloads don't turn off while I'm moving from one room to another.Unfortunately, that also makes this a PII security nightmare.
It's still early days, but I have a demo running. Unfortunately, it requires using a drop-in replacement library for CoreLocation. That alone may make it infeasible.
A user reports a location bug on their morning commute. You're 2,000 miles away. Instead of flying out to reproduce it, you replay their exact GPS trip on your simulator. Same route. Same speed. Same timing.
Record & replay real GPS routes for iOS.
Video here: https://x.com/LyleMakes/status/2064438713124270233
Screenshot here: https://x.com/LyleMakes/status/2063784301594853657/photo/1
I can record a sequence of events that includes just about anything the phone can do: lat/long changes, speed, orientation, changes in motion state (idle, walking, driving, etc), geofencing, bluetooth state changes, wifi state changes, etc. Everything timestamped.
But, how do you play this sequence back in a way that makes the app think you're taking the same trip again? I was hoping the OS (iOS and/or Android) would provide a mechanism for this. And it does, but only lat/long. Nothing else.
The missing information is very important when trying to debug what's going on in my application on any particular trip. Now, I know I can create my own version of CLLocation that will generate these events whenever I want them, but I was hoping to find a solution that didn't require changing application code to support. I would like to take my findings and create a product that can help people do this sort of testing and requiring them to switch out CLLocation everywhere it's used in their application is a difficult sell.
It's early days. I'm not even sure it's possible.
This is exactly what happened with my niece, my nephew, and all of their friends.
Which isn't to say they've outgrown all of the games they played when they were younger. They still play minecraft, stardew valley, kirby, mario, etc. I don't know why, but they all bounced off of Fortnite after they hit a certain age. I wonder why.
https://github.com/EpicGamesExt/raddebugger?tab=readme-ov-fi...
Why would you do this while you're cooking? I do all of my calculations before I start, usually in front of a computer.
... that "normal" people can't understand or use. That's how you get things like this story of Tom, told by ThePrimeagen[1].
The Wookash Podcast[2]. Some of the best technical programming conversations I've heard in recent years.
[0]: https://www.youtube.com/@thekoerneroffice