“Oh, they print in that order? That’s weird.”
“Oh, they print in that order? That’s weird.”
I did both of these at once last week.
Added a breakpoint. Debugger didn’t break.
Added an echo "here";
. Debugger didn’t print.
Added a throw new Exception('fuck');
. Debugger didn’t throw.
Stepped through. Debugger wouldn’t let me step in.
It took me almost an hour to realize it wasn’t the debugger’s fault and that a variable I thought was guaranteed to be truthy at that point was actually falsey due to upstream changes in a spreadsheet parser. I felt kind of stupid for not trusting the debugger at that point.
For context: these are the original lines
In the way that’s common in languages like Java where you’re making a property read-only, yes. But there’s a whole protocol in Python called descriptors where you can override the . on a field. The most common form of these is class methods annotated with the @property annotation, which makes it so the method can be accessed as if it were a property.
Yeah. I can understand the use case when it’s something relating to keeping simple state in sync by replacing it with derived state. But this particular case was flushing a cache after each get, which made each get of the property non-deterministic based on the class’s state.
I helped a friend debug a script last week that was working inconsistently in really weird ways. I looked at the script and it was all event hooks littered with sleep calls. I told him he was basically fuzz testing his own script and then getting surprised when he found race conditions. Shit was wild. Also, sometimes getters in Python are a mistake.
colden the relations with Israel
I thought this was a forum for Linux discussion, not promotion of fascists
What app do you use? Last I checked, pronouns are part of display names for Hexbear users. You shouldn’t have to check profiles. That’s the whole point of them being included in display names. Your app would ideally just respect display names and it would require no extra effort on your part to gender people correctly.
What did they realize that they open sourced their product a decade too late for anyone to actually revive it?
Best of luck. It’s slow but you’ll get there
Like in the early stages of burnout for me, even getting up off the couch to go to the bathroom was a struggle. And for me, this was my first big autistic burnout, which meant that I needed to reorient my relationship to work, play, and self-care to make sure I was doing all of them in a sustainable way. But in the beginning, that meant if I couldn’t do more than 5 minutes of a task, I wouldn’t beat myself up. But starting with that 5 minutes was a way for me to push myself just a little. Because the normal advice is “let yourself relax” and that advice just didn’t work for me. For one, I didn’t have the support to be unemployed for long periods of time. And for two, being depressed and laying immobile on the couch wasn’t relaxing in the first placed. I was just stressed while appearing relaxed. So getting back to doing things was my way out. And so I built up a tolerance for that and slowly built up the ability to do things sustainably while also pushing through the burnout to survive, which made it last longer. But eventually the sustainable stuff won out. I rest more than I used to and have a better relationship with breaks and self care but I’m working full time in my field again and pursuing betterment both in and outside of work. That said, I work in a job where I can flex my hours and take the breaks I need pretty much at will as long as I let my coworkers know and get my work done. I’m aware I’m very lucky to be able to do this and that it’s not a universal solution. But I’m just trying to be as honest as possible about my experience.
I originally came across that idea from someone on TikTok who was studying burnout for their doctorate. But I can’t find them now. The closest I could find for you in terms of a citation was this:
Evidence suggests that [burnout] has relatively high stability over time, with studies showing that physicians who score high on burnout assessment at one point in time tend to continue to do so at subsequent points, at least up to about 3 years.
Edit: I’ll say that in my experience, this timeline is for full recovery, not for reaching the point where you can sustainably work again. One thing I got told that helped me was to plan out in detail what I think my daily schedule would look like outside of burnout and pick one thing to focus on starting to do 5 minutes at a time. And that looked like me literally quitting halfway through cooking instead of pushing myself to finish sometimes. The exhaustion is real but if you don’t have any other major mental health factors (like if you’re in your early 20s and this is your first major autistic burnout for example) then getting back to where you were is realistic.
Is it possible you burnt out at your old job? That takes years to recover from properly and takes a lot of radical self acceptance and being okay with rest
I have every gog installer I’ve ever downloaded for this exact reason. You can’t rescind the bytes that are already on my drive.
dozen = 12 + 1; // one extra for the baker!
I got mad at this when I first saw it but then I remembered there’s some code at work that defines an hour as 50 minutes
Statistically, this makes your code better
Yeah…. I’ve definitely been the next guy on a couple bad regexes that I wrote
Combo Class is a neat math education channel where things are often on fire or falling apart in the background in a way that’s fascinating on top of the math itself
Side note, I have no idea how many subscribers counts as obscure. It seems relative to the size of the niche. Or maybe I have no idea how big people are relative to how much I care about them. Like I would expect Ben Levin (music theory and production creator) to be closer in subs to Adam Neely (same) but he’s an entire order of magnitude lower. Like is CJ The X (video essayist) obscure enough at 341K subs?