Why do I struggle with knowing what to code, even when I understand the code itself?

I’ve noticed that my biggest problem with learning programming isn’t really understanding the code itself.

For example, I understand what a function is and how it works. I understand variables, conditions, etc. But when I’m given a problem to solve, I often don’t know what needs to happen first, second, third before I even start writing code.

A simple example: if I need to read an input from an HTML page, I might understand the syntax once I see it, but I wouldn’t necessarily think on my own, “First I need a variable to store/read this value, then I need to do X, then Y.”

I guess I’m trying to learn how to think like a programmer before actually writing the code.

Is this a specific skill I should be practicing? Are there any websites, games, exercises, or methods that specifically teach this kind of problem-solving rather than just programming syntax?

reddit.com
u/Flkhuo — 11 days ago

vascular dementia brain 'sensations' - anyone?

I am 32y old, all of a sudden started having a sleep disorder 'brain feels hijacked, like im not in control of my thoughts, just gibberish thoughts nothing important. Then later can't focus of anything, then started getting aphasia-like symptoms (can't recall words, forgetfulness of tasks, can't organize or execute any plans, then cognitive decline, like things don't make sense and I can't follow logical reasoning of simple things.

My question is, do you feel like there is a sensation of a 'pulse' inside your head that feels like it's moving around to different regions of the brain sometimes? I've done MRI like 3 years ago and tons of tests. Everything came back clean except for very high cholesterol. The cognitive decline is progressing at an alarming rate, and it's all because of this sensation in my brain, which is completely hijacking my attention/awareness (my brain can only focus on this sensation, not anything else in life no matter how hard I try).

reddit.com
u/Flkhuo — 3 months ago

Paranoia of installaing open source projects - What's your security review tool?

Hi, I love playing around and installing open source projects from GitHub, but I notice that my paranoia slows my productivity, because there could be any malware or security threats to my network, devices, etc from those open source projects.

Do you guys have a tool/workflow you use before installaing/running an open source project on your device that checks for malware/security threats (to the device, not the project)?

reddit.com
u/Flkhuo — 3 months ago

Ansys INTERCONNECT - is there other ways to download it?

just wandering if there are some naughty ways to download this software out there? i wanted to build a photonic processor simulation and this software is not available to download for students.

reddit.com
u/Flkhuo — 3 months ago

How do you wipe the software on any gadget? (new dude, just learning)

I wanted to build my own fitness and sleep tracker and send the data to my own app, so my data is 100% private, and instead of buying new hardware, sensors, etc., I was wondering if there is a way to already salvage and reuse the old gadgets I have (Whoop fitness tracker, smart watch, smart ring, etc. and just write my own software for them? This may be a stupid question, I could tell, im not sure, but kindly let me know if this is possible and what will be needed?

reddit.com
u/Flkhuo — 3 months ago

Need help please. Adope Creative Cloud sign in

I’m dealing with chronic memory issues after COVID, I can’t remember many passwords, including my student Adobe Creative Cloud login.

I’m still logged into my university Adobe account on my laptop, and I managed to transfer/use that login session on my Windows PC. I’m trying to do the same on my iPad, but it isn’t working.

I’m logged into Adobe in Safari on iOS, but when I open an Adobe app and tap sign in, it doesn’t detect the Safari session and still asks for my password.

Is there any workaround or tip to get the Adobe app on iPad to use the existing Safari login session as it did on Windows?

Any help would really mean a lot. Thanks!

reddit.com
u/Flkhuo — 4 months ago
▲ 6 r/TMJ

How to tell if the sensation inside my FREAKING brain is caused by TMJ?

I have this very annoying brain sensation at the back of my brain, i have noticed that when i open my mouse or chew gum, this sensation goes away, it has ruined my life completely.

reddit.com
u/Flkhuo — 4 months ago

Does any one notice Antihistamines hides the brain Throbbing sensation inside the brain?

I dont know why, every time I take a strong Antihistamines, the sensation in the brain goes away, untill you eat something, then it comes back? have anyone noticed this?

​

It's also relieved whenever your attention is not on it? Like if you're watching a movie, or just doing some breath exercises or talking to someone in an interesting topic? Basically whenever you're distracted from it, then it comes back again and hijacks your attention again?

reddit.com
u/Flkhuo — 4 months ago

That intense, fleeting burst of motivation followed by a sudden drop-off? any tips please?

I experience something very weird when I am on any adhd meds, any dosage, small or big, gives the same experience. Once the med is ingested, I feel intense motivation to pursue my goals like studies, Then, exactly after 1 minute, a sudden drop in the effort of execution. It’s like my brain only enjoys generating quests, not playing them. Anyone in the same boat as me?

Thought: “Bro, study. This is your moment.” ---> I open my study stuff ---> reward drops after 1 minute. Next one...

Thought: “Wait, ask Reddit users, maybe someone knows what this is.” ---> I open Reddit ---> suddenly writing feels like doing taxes while writing to you, fellow guys and girls.. next..

Thought: “Actually, build an app that helps you study. Hyper excited and jiggling” ---> I open the code editor on PC ---> motivation and exciting leaves the building..

Thought: “Okay, its not working, starting to feel depressed, Hey... read a book about dopamine reward circuits.” ---> Super excited... I read one line then ---> my dopamine reward circuit says “not my problem, I'll give you less excitement instead.

reddit.com
u/Flkhuo — 4 months ago

Anyone who uses Damiana regularly here?

i just bought it as an alternative to weed. It doesn't have any effect whenever I swallow it dry, or make it in a tea. I put like 6-8 grams in a tea, and don't feel anything. However, if I smoke it, just like 0.3 grams, I definitely feel its effect. Mild happiness, Mild calmness, gentle buzz like weed, I would say. But it's very short-lived, like 20 minutes or so.

My question is, if I smoke higher amounts, does this feeling gets stronger? is there any tips or tricks to potentiate the effects? And does anyone know why I only feel it when I smoke it and not any other ways of ingestion?

reddit.com
u/Flkhuo — 4 months ago

Why do my ADHD meds only work well the first time I take them after sleep?

I’m trying to understand something that keeps happening with every ADHD med I’ve tried.

My morning dose works well. I feel focused, interested, motivated, and actually able to work on my personal projects. But after about an hour, the “drive” fades. I can still force myself to work, but the genuine interest is gone and my memory recall drops significantly, making me unable to do anything productive for my life..

The strange part is that taking another dose later does increase the stimulant effect, like the wakefullness and the dire need to do something productive, but it doesn’t bring back the same focus, motivation, or good feeling. It feels like the medication still “works” physically, but not mentally.

This has happened across different ADHD meds and doses. The only consistent pattern is that the first dose after sleep is the one that works properly but does not stay more than an hour. I feel like if I can have that feeling I get from the first dose for at least 5 hours, I could finally fix my life.

Has anyone experienced this? Could there be a medical or neurological reason for it, like sleep quality, dopamine depletion, tolerance, blood sugar, cortisol, metabolism, or something else?

I’d really appreciate thoughts from people who have dealt with this or understand the science behind it.

reddit.com
u/Flkhuo — 4 months ago

Please suggest what could be the problem with my ADHD meds?

My only issue is that after I take my adhd dose (20 mg) I start to feel my interest, motivation to work on my personal business plans, but after 1 hour, I lose the 'interest' in doing things WHILE 'the want to do them' is still there. I know its abit contradictive but that is how it is with me. So its like you wanna do them very much, but you feel blaah. If i take another dose, it increases the same existing feeling. Strong urge to do it, but no 'flow/deep focus/no good feeling. I am writing it in multiple ways to make it more understandable/relatable.

This happens with me on ALL the types of ADHD meds. All doses. Every single adhd med works well with me only in the morning dose. Taking any other dose does not keep me focused or feeling happy while working on something. I just want to know WHY is it that I must always first sleep then the first dose after sleep is the one that works well. WHY!! is there any medical reason, underlying issue, or maybe something else i can take with it to complement the adhd med?

reddit.com
u/Flkhuo — 4 months ago

How to save this plant? Transfer shocked

First time growing, its my only plant, It was absolutely healthy beautiful looking, yesterday I decided to transfer it to this bigger pot, and then it did this. I think its dying bcz of the root damage during the transfer, can I still save it or pray for its soul?

reddit.com
u/Flkhuo — 5 months ago

is amanita good for sleep?

never taken this stuff before, but I have a strong sleep issue that drugs can't fix (specifically, drugs that block H1 histamine receptors to cause sleep), and I don't know why doctors aren't trying to prescribe anything that works on the GABA receptor instead.

Is there a specific ways to consume amanita safely (as a sleep aid only, I don't want to hallucinate and see ghosts lol)

reddit.com
u/Flkhuo — 5 months ago

Weird shit happens to me when I become 'aware'. wtf?

So I recently discovered the easiest wat to actually convience my mind that there's benefits in meditating is tell it this is not meditation, all im doing is just 'registering' anything in my body, sounds, thoughts, breath, just registering it and not 'focusing', because focusing means you spending energy to focus and my goal is to register things happening without 'focusing'.

The weird thing? I start to feel touches on my ears, face, legs,hands that are very light. it does not feel like it's normal, because I could even feel it on MY clothes, a gentle, slight touch.

I was like what the fuck? I opened my eyes (was laying in bed) then I saw a shadow figure standing infront of me that kept disappearing slowly as im focusing on it rather than my own thoughts/body. it felt like this shadow becomes clearler to see as I bring my attention to my thoughts while looking at it, then fades if i bring my attention at it.

wtf is this? Has anyone experienced this before? because those touches now is always present whenever i start being aware of everything around me..

T

reddit.com
u/Flkhuo — 5 months ago
▲ 2 r/gpu

Force apps to use non-dedicated secondary GPU - any smart dudes around?

I have two GPUs, an RTX 4090 connected to my OLED display and used as the main Windows 11 GPU, plus a Radeon TM Graphics GPU with 2GB DDR5 VRAM.

Is there a way to force specific apps, or Windows itself, to use the Radeon instead of the RTX 4090?

I need the full 24GB VRAM on the 4090 for local AI, but Windows + my display are currently using about 1.7GB of VRAM on it. I don't want to connect my screen to the Radeon card; I want to keep it on the RTX.

reddit.com
u/Flkhuo — 5 months ago

Just asking, because I wanted to grow alot to consume them for nutrients while they're still young, on top of salad, sandwiches, etc., but, i am confused some sites are selling cannabis seeds for €30 for like 3-5 seeds, while other sites are selling cannabis seeds for €6/40g, which is a ton of seeds. So I don't really get it. Are these cheap cannabis seeds genetically modified not to contain any THC, is this why? because I heard even a baby cannabis plant (10-12 days) already contains THC, just not a lot, of course, or am I mistaken? completely new to this stuff, so.

https://preview.redd.it/h16wps6iixzg1.png?width=1037&format=png&auto=webp&s=53731f9fb6d60cd3d85e0cfd403cb184d3f89fe2

reddit.com
u/Flkhuo — 5 months ago

It got these dry looking patches on the leaf or im not sure what it is. Too much light maybe? It's running 24/7, alternating between artificial and real sun when its available.

u/Flkhuo — 5 months ago

first time growing, just one plant. i dont have any setup for it, just a pot and a cheap plant light, im just scared its gonna start producing smell that the entire neighborhood will smell, im living in an apartment complex. Is there a way to get rid of the smell, or its doomed?

reddit.com
u/Flkhuo — 5 months ago

So, I live in very cold climate in a Nordic country, bought a gram from a dude and found a seed in it, so I just tossed it in a pot thinking it won't grow, but it fucking did. I'm just not sure how to keep it alive, especially since there's no sun here yet, its about 7 degrees and summer on the door. I'm using some cheap artificial light that i use to grow basil. Is there any hope for it? I wanna care for it, its been on that size for 4 days now, im scared it'll make smell that the entire neighborhood will smell if it grows, im living in an apartment complex, so 😁

u/Flkhuo — 6 months ago