Live in user profile, keep owner profile with appstores. Push apps that are distractions free into user profile.
Use ADB to remove the built in browser because you can't just delete it or not install it because it's a system app. On GOS it's the only system app that is distracting, but I can imagine other phones might have others. Same principle, just remove it with ADB from the user profile.
Never install an app store in the user profile.
Owner profile password mitigation. You have a few options. Make it way too long to easily type and memorize it, write it down on paper and put it away in basement/attic/friends house, give it to a friend, give part of it to a friend(so they can't unlock the owner profile, only you can, but only if you ask them so huge friction).
Personally, I just have a super long passphrase memorized and that's enough too make the friction large enough. And it's really peaceful on the user profile.
Result. Without the owner password, I am in the user profile and I can't browse the web(HN) or install a distracting app like TikTok or install a new browser. If I want to update an app or manage the device or when the device restarts
Back when I was on iOS I used Apple Configurator which is Apple's MDM solution. You need a Mac it borrow one.
You remove Safari and disable installing apps. This is the guide I followed. Pretty sure your have to factory reset your phone first.
So, to install new apps you have to connect the iPhone to the Mac and optionally add a password.
MDM is supported by Apple, uninstalling the browser is not recommended by GOS developers, but I haven't had any issues. Soon, GOS will support MDM, so hopefully that will be an even better solution.
Cider9986 answered for Android, so I'll throw out a suggestion for iPhone.
Assistive Access on iPhone might be an option for people looking for something drastic. Turning it on is simple, but it's pretty brutal and a bit crude in some ways even compared to a feature phone. Your mileage will vary! It's something I often suggest, and never quite recommend.
You pick the apps you want access to, and the permissions each should have, set a password, and then when you turn Assistive Access on, the phone reboots into a very limited mode. You can have every app you want, but when I've played with it, I've still found it felt too limited for daily use. Maybe I wouldn't find that if I was at the point of buying a feature phone. I can't remember what frustrated me, except that I remember being pleasantly surprised by how much worked, and frustrated by some basic things.
As an example, I was impressed that I could turn on and off a VPN through an app, even though I couldn't see the status of it outside the app. On the other hand, the location permissions felt buggy, and the locations permission changes in Assisted Access mode seemed to mess with the settings in the normal mode too.
I've tried a CPAP machine for 6 weeks and felt no different and gave up. I think I was a 6 on the scale. I wish it had worked though!
Currently I've just given up and embracing feeling relatively tired all the time. I've tried side sleeping devices (woody knows backpack) mandibular advancement splints etc.
So hard to tell (I find anyway) to get to a definitive answer
For some people it takes months to feel any different.
For some people, they don't feel any better but it improves their health.
Did you examine your numbers at all in something like OSCAR? You could get a good idea of how many events you were having at night, and if the CPAP was improving it.
Even if you aren't feeling any better (yet) it could still be helping. You could also have multiple things that are causing you fatigue issues, and maybe fixing only one of them wasn't enough... that doesn't mean that one wasn't also important, though.
You should consider getting an Wellue O2 ring. This is something you can use to monitor your oxygen saturation throughout the night. Use it with the CPAP and also otherwise. If your oxygen saturation is better with CPAP - you know that it is working. You will eventually feel better.
The main thing about CPAP is that, and imo almost everyone gets wrong, is that you need to titrate it. CPAP is sold as an Automatic Pressure device, but in practice it doesnt work like that. You almost always need to set it just 1 number below and 1 above your required pressure - more like a fixed pressure device. And getting it working correctly - with all the mask combinations, leaking issues, pressure calliberation, supporting gear like mouth tapes and neck bands - can take months. It is incredibly hard - BUT - it is worth it. The best resource for me has been the reddit to get this right.
The key is to track your saturation everyday with all the small tweaks you make and the only way to do it is using something like the O2 ring.
Depending on what’s going on, have your iron levels checked as well. I was tired all of the time and two doctors diagnosed sleep apnea and put me on a cpap. Didn’t help. I had to take hour long naps every day.
A friend of my wife suggested a doctor and he said that even though my iron levels were in the normal range, people with restless leg syndrome (which I’ve had my whole life) often have sleep issues and benefit from iron supplements.
Within days of starting taking them my tiredness went away. I went from being tired every day for nearly two years to maybe taking a handful of naps for fun in the last three years. Really life changing.
My PCP didn’t understand why I’d be taking iron, but accepts that it works. My sleep charts still aren’t great. Little to no deep sleep, but CPAP didn’t help with that either.
I think one problem is that a lot of sleep doctors are essentially CPAP salespeople and they will just keep pushing that even if you protest that you don't feel any better. I got better answers from an ENT doc who did a Drug-Induced Sleep Endoscopy and told me mechanically why I was not breathing well at night.
Three more things to try if you haven’t, on a “can’t hurt” basis: nightly Avamys spray (might need a scrip depending on where you are), magnesium glycinate before bed, little bits of plastic that go inside the nostril and hold them open.
I just discovered magnesium glycinate provides significant relief for my night sweats. I might have some undiagnosed apnea, but the sweats have been the only apparent symptom (and may be caused by a completely unrelated problem). Taking 400mg before bed seems to have turned off the symptom like a switch. YMMV, of course.
Annoyingly, this symptom had been discussed with numerous doctors for over a decade. I got zero constructive advice from the medical establishment. In most cases, they even showed disinterest and moved on as quickly as possible. Beyond worthless.
On a lark, I fed an AI a two sentence prompt and one follow-up question, and it was able to piece together data and give me the suggestion with solid reasoning behind why it might work. In less than 30 seconds.
Also worth a try... B1 (thiamine) seems to help for me. I don't have objective numbers, but I disturb my spouse with my snoring and breathing troubles far less. I believe I have (undiagnosed) central sleep apnea rathee than OSA though, it's been a long time since I had a sleep study, but I had only one event over a few recorded nights... But some nights it's pretty bad.
My experience is that it has a noticable effect about 30 minutes after ingesting. I'm currently taking 100 mg tablets. I had done a liquid suspension, but tablets are easier and more consistent.
If you don't notice a difference in the first few nights, it probably doesn't work for you, but b1 seems pretty inexpensive to try.
It doesn't seem to be like some things where you have to use it for two weeks before you notice a difference; but also there's not much (if any?) residual effect. Maybe I can forget to take it one night, but on the second morning, my spouse will ask me if I've been taking my B1. But, sometimes I do have episodes when I have been consistent, so not a silver bullet.
Yip interesting, you're the second person in a week who has suggested the magnesium. I frankly never trust these suggestions of supplements (having tried some before), but, https://pmc.ncbi.nlm.nih.gov/articles/PMC12412596/ at least suggested it was a modest improvement. I'm going to give it a try at least.
What a bad situation, and I genuinely feel for them. I do think they blamed a lot of other people and I think a section on what lessons they have learned themselves might be a good idea/look.
At minimum you want to have off site backups, preferably readonly (like an S3 bucket or whatever). And test the restore process.
I'm about to start a new role. What have you found most effective in using it to learn a new code base? Just asking questions about "what is this class doing" ? drawing architecture diagrams?
Just ask it what naturally draws your curiosity and use it to build your mental model. I may add that our company got us enterprise subscription (so models aren't trained on our IP) so I can just point it at the entire codebase, rather than copying/pasting snippets into a chat window.
What does this program accomplish? How does it accomplish it? Walk me through the boot sequence. Where does it do ABC?
I work in a company where I frequently interact with adjacent teams' code bases. When working on a ticket that touches another system, I'll typically tell it what I'm working on and ask it to point me to areas in the code that are responsible for that capability and which tests exercise that code. This is a great head start for me. I then start "in the ball park".
I would not recommend to have it make diagrams for you. I don't know what it is but they LLMs just aren't great at coveting information into diagram form. I've had it explain, quite impressively, parts of code and when I ask it to turn that into a diagram it comes up short. Must be low on training data expressing itself in that medium. It's an okay way to get the syntax for a diagram started, however.
Kamal is basically self hosting though right? So you have to take care of keeping the underlying os patched etc. With heroku you only needed to think about git push.. ?
reply