HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dailykoder

no profile record

comments

dailykoder
·작년·discuss
At work I often switched to VSCode because I couldn't get pyright to work with our django project. The errors everywhere were just annoying to look at. So I looked around and found "ruff" and "jedi_language_server". This combination seems to do the trick. I don't have to configure anything. I source my venv and it "just works". I assume our python codebase is something around the 10k LOC, too. I am not mainly responsible for the python part, so I don't spent excessive amount of time in there, but for the time I do, it works nicely

- https://github.com/pappasam/jedi-language-server

- https://github.com/astral-sh/ruff
dailykoder
·2년 전·discuss
I just got diagnosed with ADHD in 2023, but been addicted to adrenalin all my life. And I must say it had tremendous effects. The times where I was doing active extreme sports (Downhill mountainbiking or Motocross in my case) have been those where I had my mind in the clearest possible state. It's not only that my mind would calm down in that exact moment, but it lasted for quite a few days.

At first there was the adrenaline spike, when it wore off then the body exhaustion kicked in, and when my body started to recover, the week was almost over again and I could get another dose.

Over the past couple years I tried to avoid the risk a little and been just doing "easy" mountainbike tours. And oh boy, that's the thing for me. I think only my brother can relate how that feels to me. It starts out like a normal bike ride, but my eyes are always on the outlook for some fun spots (where can I jump up/over/down? How long can I wheelie today? You name it..). This combined with hours of just mundane paddeling is the way for me. Keeps stress levels low and my mind at ease, plus a few fun adrenaline spikes.

BUT ritalin is still a great great relieve for me. Though I wish I would not need it. For now it works, but I'll try to find habits that will hopefully make it obsolete one day. And the diagnosis was a good starting point for that, because now I know why my brain behaves different than others
dailykoder
·4년 전·discuss
>Leap years occur every 4 years.

Isn't leap year calculation one of the very first things you do in most programming tutorials/schools? I know that a lot of people don't know this, but most programmers should, r-r-r-right?