Lurker News
I'm around 40 and recently I have been asked to port an API from one language to another. The code I'm porting is average code, not terrible, but plenty of little things to complain about.

I feel like my past self could have handled this task, but I am really struggling. Porting this API will require a deep understanding of the existing API, which, of course, has several layers of abstraction.
I can't seem to hold more than about 2 levels of call stack in my head. There's the entry point function which calls other functions, which call other functions, which call other functions, etc. You know how it is, code calls other code, and logically it forms a tree of calls and return values that often goes several layers deep. I struggle to hold more than about 2 levels of this call stack in my head. By the time I'm down in the weeds I've forgotten what I'm doing, what the purpose of the actual API call is.
I don't know how to break this into small enough chunks that I can understand it or make progress on. Imagine I gave you the code for the sha512 algorithm, and a hash, and asked you to find the pre-image (the input). This is how I feel. Where do I even get started? How do I find even a single chunk of manageable work to break off.
The hard part is, several other developers are making progress on porting this API. Why can't I? What happened?
I don't know if this task is just an especially bad fit for me, or if my mental abilities are declining?

Comments (510) 299 threads

Show all comments

Showing thread 9 of 299

cjbgkagh1 reply#
Could be burnout, could be ME/CFS, could be Long Covid… could be something else. Have you noticed a limited working memory or loss of enthusiasm? You might notice things like forgetting why you walked into a room, or abandoning hobbies and activities you no longer enjoy. I have ME/CFS from hEDS (far more common than people think, especially here on HN, and double especially those here on HN with ADHD) so I ended up taking a bunch of pharmaceuticals which got me back to work and sharper than ever. One of the core combos I take is a low dose of Modafinil in the morning and Amitriptyline at night, together these act a bit like a triple monoamine reuptake inhibitor but with better timing of action. It’s a reasonably common treatment for depression.

The point is, even if you live a perfectly healthy life with the perfect diet, exercise, and rest, it’s possible that something else is out of kilter and may need serious intervention.
Maybe try a max exertion test for post exertional malaise.

P_I_Staker1 reply#
These treatments are legally unavailable to many Americans, due to bullshit moral panics.
cjbgkagh1 reply#
They are Rx in the US which makes them harder to get. I’ve not gone down that path so I don’t know how hard, but I’ve read of many Americans using them so it is at least not impossible.

I do think they should be OTC. When I faced the roadblock of not being able to get the medicine I wanted I did go to black market and would do it again in a heartbeat.

P_I_Staker1 reply#
I honestly don't think I can, but it might be the best option:

   1. Illegal drugs

   2. Being a head trapped in a jar, hated by all

   3. A bullet
The psychs practically beg you to do it. I was just told to give up ever having a professional career.

Why is nobody talking about this outrageous conduct?
If you mention these concerns, they will suddenly discharge you, and/or treat you like garbage.
All we're doing is creating pipelines to prison. The industry has no problem sending ill people to prison forever. Not only that but droves of people are dying because of these policies.
I'm shopping for a new one, but their initial intake forms are immediately confrontational, and this is someone that seems to have good reviews... I went through several that seemed to have good reputations, and none were taking patients.

Continue this thread — 1 reply