• 3 Posts
  • 156 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle




  • I started Adderall XR several months ago. My experience during the first week was that I was superhuman and could actually get things done. The first day I think I experienced the euphoria that I presume recreational users go for, but never since. After about a month it wasn’t doing much for me, psychiatrist adjusted the dosage, and it’s been decent ever since. Some days I can really feel it working, other days not so much. I mostly work from home (software dev) so I have a pretty strong control over my environment, but despite that I haven’t been able to figure out what might cause (or even influence) good days and bad days with stimulants. I would encourage you to keep meeting with your psychiatrist, there are like a dozen different medications and maybe this one just isn’t yours. Besides, you’ve arguably the hardest part by getting that first appointment. Best of luck!











  • Your default types for that are i32 or u32. It’s the exact same number of characters yet encodes more precise information.

    I’m aware of packing, but for my specific niche the main bottleneck is CPU, and it’s important to minimize the amount of memory usage to improve data locality, increasing cache hit rates, ultimately increasing cpu throughout. Any gains we would make by packing such small values would likely be eliminated by the cost of unpacking them, unless it’s a flags-like value where we are primarily comparing individual bits.



  • Cargo being an all-in-one tool is actually one of my favorite things about the rust ecosystem. It’s many things, and it does it all seamlessly.

    Regarding comparing to C or C++, how can you argue either is designed better? C, while standing the test of time, predates so many modern programming concepts or standards and writing C code is extremely error prone. C++ improves on many of C’s shortfalls, but it wasn’t designed. It’s the result of different things being loosely bolted on to C over the course of 30 years. And it’s still error prone, for example while there are smart pointers and other types that can make writing memory safe code possible, they’re not default and they aren’t always fully supported in the standard library, let alone anything else.