Posts by ddr@pony.social
 (DIR) Post #AhpELQAQvKgVnOBwoq by ddr@pony.social
       2024-05-12T19:53:57Z
       
       0 likes, 0 repeats
       
       @ajroach42 Farewell, go gently into that great boredom.
       
 (DIR) Post #AiYck564EK98K6tlVQ by ddr@pony.social
       2024-06-03T17:10:50Z
       
       0 likes, 0 repeats
       
       @foone It's impressive the belt lasted long enough to destroy all five wheels.
       
 (DIR) Post #AjoXX42306CGlzSd5U by ddr@pony.social
       2024-07-11T07:37:40Z
       
       0 likes, 0 repeats
       
       @foone done. Good luck. 😖
       
 (DIR) Post #AkQtEkc12qxaxUgL8C by ddr@pony.social
       2024-07-29T19:01:00Z
       
       1 likes, 1 repeats
       
       Has anyone tried writing a multi-threaded  simulation game update loop? I've looked at a few approaches, but I have had a hard time coming up with something that is sane to write and performant across, like, 60 cores.Most games I've seen have been single-threaded simulation, with a few rendering threads.
       
 (DIR) Post #AmWSLQuhpoorPTRWYi by ddr@pony.social
       2024-09-30T07:49:58Z
       
       0 likes, 0 repeats
       
       why is my code causing a bootloop when i read a boolean
       
 (DIR) Post #AmWSWYoAp5a151h3Am by ddr@pony.social
       2024-09-30T07:53:56Z
       
       0 likes, 0 repeats
       
       @Dan_Ramos uh, I have been unable to ascertain that, my esp32 reboots when I try to read it. It's a member variable of the class my function is in. It should be fine.I'm pretty sure I'm getting trolled by an optimising compiler here, because I tried eliminating all the other access and it still crashes...
       
 (DIR) Post #AmXKlT8rZFBHNIvdTc by ddr@pony.social
       2024-09-30T18:01:44Z
       
       0 likes, 0 repeats
       
       @Dan_Ramos Yeah, it must be somewhere else. I tried deleting the code that was setting the variable being read, so it was just a constant read of false (do nothing), but no cigar. If I comment the check out, it's fine too.I'm going to have another shot at it today, print-trace more stuff. I'm getting some registers printed out, so it's trying to tell me what's going on, but I really have no idea what to do with those. I haven't been able to work out how to map them back to the source code I'm looking at. :/
       
 (DIR) Post #AmY4vghiatuEDz2hVo by ddr@pony.social
       2024-09-30T21:25:30Z
       
       0 likes, 0 repeats
       
       I have figured it out. :woemknife:
       
 (DIR) Post #AmY4vhYXQW9mrnksqG by ddr@pony.social
       2024-09-30T21:45:48Z
       
       0 likes, 0 repeats
       
       Usually, if I have a member constant I want to have configurable in my constructor, I have it by the same name in the constructor parameters. In this case, ModePattern* backingMode was passed in, and then saved for later use in the constructor list via backingMode(backingMode). This pattern has worked fine for about two years (:neocat_sob:) at this point.Today, it stopped working because I had a lambda function which captured by reference, [&](){...}-like. I had copied out the pattern sampling function, backingMode->sample(samplePoint, Layer::Primary) from another function in my class. Copy-paste-done, works perfectly, moving on. Except.I'd copied it into my constructor. The way precedence works, backingMode is looked up first in function args, then in class members. So when I moved the line of code up to the constructor, inside the lambda function, it neatly captured a reference to the constructor parameter instead of the class member function which was being used previously. And this worked fine, until I actually went and looked up a member variable in the lambda which was run after the function returned. A few seconds later, the memory was overwritten with some value that pointed into the zero-page, and I get the error.It could have been hours. We got lucky this time. :blobfoxcatterrified:Anyway, I just learned how addr2line works in Linux, so that's useful going forward. I'm... new to this yet. Another entry in the #ravelights development ongoing saga :blobfoxfacepalm:
       
 (DIR) Post #AmY4viPiEogvWidLiy by ddr@pony.social
       2024-09-30T21:53:52Z
       
       0 likes, 0 repeats
       
       It's not so much that I love Rust as I hate C++ with a living passion.
       
 (DIR) Post #AmYADAjAijLm2BsYgC by ddr@pony.social
       2024-10-01T03:38:08Z
       
       0 likes, 0 repeats
       
       @Dan_Ramos There is a way, but I don't think I have the hardware here for it.
       
 (DIR) Post #Ao7LeyUZazYRif87Dk by ddr@pony.social
       2024-11-17T00:52:47Z
       
       0 likes, 0 repeats
       
       @foone what the how??
       
 (DIR) Post #AoIRHd1dyjSEwfPOEq by ddr@pony.social
       2024-11-22T09:18:07Z
       
       0 likes, 0 repeats
       
       @strypey modern ronin 😬
       
 (DIR) Post #AqAPfhKjpK60kXOTfE by ddr@pony.social
       2025-01-17T08:06:17Z
       
       0 likes, 0 repeats
       
       @foone This is very silly.
       
 (DIR) Post #Ar1mMnOed3IylZVw7E by ddr@pony.social
       2025-02-12T02:00:37Z
       
       0 likes, 0 repeats
       
       @strypey the globe is warming, and you say "no" to an infinite source of safe, clean energy; nuclear? What are you going to do, burn coal which releases more radioactivity than a reactor? O_oIt's not even new tech, we've had nuclear power working for a solid 80 years at this point.
       
 (DIR) Post #AstBJUW3Z1pAVfsvL6 by ddr@pony.social
       2025-04-07T16:34:21Z
       
       1 likes, 0 repeats
       
       @aliss "You can make me use VS code, but you can't make me like it." x'D
       
 (DIR) Post #AsxFe4t1E5pLYEXLt2 by ddr@pony.social
       2025-04-10T17:19:21Z
       
       0 likes, 0 repeats
       
       @stux got the plasma beans! 😃
       
 (DIR) Post #AxO9hLUEUOiZ1xDPmK by ddr@pony.social
       2025-08-21T08:18:24Z
       
       0 likes, 0 repeats
       
       @Philsan Check little number. I like it! 😁
       
 (DIR) Post #B0GYJHqSeEKPzRcAa0 by ddr@pony.social
       2025-11-15T09:52:44Z
       
       0 likes, 0 repeats
       
       @wolf480pl @Natanox @Phorm In vague yet firm terms, I have been led to believe that they have significantly more money than Croesus.
       
 (DIR) Post #B2su4e9JQcHdJUGjfU by ddr@pony.social
       2026-01-31T19:31:56Z
       
       0 likes, 0 repeats
       
       @puppygirlhornypost2 one of my friends has so many puppy friends that they have a dog bed permanently installed in their living room. (It's really comfortable, honestly.) Good crew.