Lifetime chronically poor sleeper here - Look at Andrew Huberman for advice.
Natural supplements: magnesium threonate, glycine, l-theanine, apigenin. No melatonin.
Prescription: 50mg Trazadone when things are really bad. Dogs can easily get this drug prescribed :)
Hygiene: regular sleep time. No phones in bed. Cold room. Improved bedding. If you can’t sleep or wake up in the middle of the night, get out of bed and do -something- that isn’t on a screen for a few minutes. No water near bedtime. No caffeine after noon. Try a white noise machine and a high quality eye mask such Manta.
10 minutes of sunlight immediately after waking. View the sky before the sun sets. Enable blue light filters using something like Twilight, specially for evening hours. Avoid overhead lights at night and, if possible, at night switch to lights that are lower than your head.
Regular meditation and breathing exercises. No alcohol within 4 hours of sleep. Don’t eat any food near bed time.
Get a sleep tracker such as Oura to provide metrics and data on the efficacy of these various methods and to see how your body reacts to timing of stuff like meals, alcohol, supplements, etc.
For using msbuild or vsbuild to build C projects.
Can be installed standalone but it’s typically just easier to install the full VS suite because on a shared runner it’s better to include the entire kitchen.