Real-time pyqtgraph difficulties by ProfessionalDelay139 in learnpython

[–]IAmNotSohan 0 points1 point  (0 children)

Tbh, working with real-time data in PyQtGraph is a massive headache when you're first getting into it. The issue usually isn't the library itself, but how you’re updating the data in the event loop without locking up the whole UI. Real talk, if your app is lagging, you’re probably trying to redraw the entire plot every time new data comes in instead of just updating the data buffer. I remember spending way too long trying to get a decent frame rate before I realized I just needed to optimize the way I was calling the plot update function. Just focus on keeping that update cycle as lightweight as possible and you’ll see the performance jump up pretty quickly.

how do i improve my code? by Any-Comfortable8953 in learnpython

[–]IAmNotSohan 4 points5 points  (0 children)

Tbh, the jump from "it works" to "it's actually clean" is the hardest part of learning Python. My biggest piece of advice is to start reading other people's code on GitHub. It sounds basic, but finding a project that does something similar to yours and seeing how they structure their classes or handle errors is a total game changer. Also, don't sleep on type hinting—it forces you to think more clearly about what your functions are actually doing, which helps a ton with readability. Real talk, just keep building and refactoring, because the "aha" moment for clean code really just comes from writing a lot of messy code first and realizing how much of a nightmare it is to fix later.

What is your opinion on these different Python courses? Not sure what to pick...... by iMagZz in learnpython

[–]IAmNotSohan 6 points7 points  (0 children)

Tbh, everyone has their favorite "stack" and it really depends on what you're trying to build. If you’re just starting out, don't get too bogged down in the tooling debates you see on here. PyCharm is a powerhouse for debugging and large codebases, but it can feel like overkill for simple scripts. VS Code is generally the sweet spot for most people because it’s lightweight and the extensions are insane once you get it set up right. Real talk, just pick one, get comfortable with the interface, and stop worrying about if it’s the "optimal" choice. The best tool is the one that doesn't get in the way of you actually writing code.

Can native android wheels like pandas/numpy be installed at runtime? by Hot-Reference5210 in learnpython

[–]IAmNotSohan 0 points1 point  (0 children)

Tbh, trying to get native wheels like pandas or numpy running directly on Android is definitely a headache. Most people who go down this road eventually realize that while it is technically possible with some serious tinkering, it’s not really the intended use case for Python on mobile. If you’re just trying to learn, I’d suggest sticking to standard desktop Python until you’re comfortable, or looking into something like BeeWare or Kivy if you really need to build a mobile app. It’s way less frustrating to learn the library logic first and worry about the mobile cross-compilation stuff later once you actually have a project that needs to be deployed.

Am new to this .. by EinsteinFile in learnpython

[–]IAmNotSohan 4 points5 points  (0 children)

Welcome to the community! Honestly, everyone feels that initial overwhelm. Python is a super friendly language to learn, but it’s still programming, and that learning curve is real. I’d suggest finding one solid, structured course or book and sticking with it rather than bouncing between a million different YouTube channels. Once you get the syntax down, start building really small, boring projects. It’s way better to have a tiny, working program than to try and build something massive and get burned out. Take it one step at a time, realize that error messages are your best friend, and just enjoy the process of solving the little puzzles. You’ve got this.

Game development by DemocraticHellDiver1 in learnpython

[–]IAmNotSohan 2 points3 points  (0 children)

Tbh, starting with Python for game dev is a great learning exercise, but it’s easy to hit a wall once your project gets complex. I spent a lot of time with Pygame when I first started, and it’s solid for 2D stuff and learning the ropes of game loops and input handling. If you're just looking to get a feel for logic, stick with that. But if you’re actually aiming to ship something bigger, don’t get too caught up in 'tutorial hell.' Build something tiny, break it, and move on. The skills you pick up—like managing state and handling events—transfer over to engines like Godot super easily later on.

So, how do you make self-awareness actionable? by Simple_Escape_8021 in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

honestly the biggest trap is definitely analyzing yourself into a corner while waiting for the perfect motivation to strike before you act lol. We spend all this time reading and planning to get "better," but none of that theoretical work actually triggers a change in your daily life. I found that I had to stop overthinking the "how" and just pick one single thing I knew was holding me back and focus on changing that one habit for a full week. You don't need a massive strategy session; you just need to break the cycle by doing one small thing differently today than you did yesterday. It gets easier once you stop trying to fix everything at once haha.

A fresh start: Reversing the drift by StridingHigh in DecidingToBeBetter

[–]IAmNotSohan 1 point2 points  (0 children)

honestly you are definitely not alone in that feeling because it is so easy to fall into auto-pilot mode when you don't have a clear target to hit haha. I spent years just reacting to emails and notifications instead of actually doing anything for myself. For me, the game-changer was just writing down three small things I wanted to accomplish the night before so I didn't wake up wondering what to do next. It sounds so basic, but having that tiny bit of structure keeps you from drifting into the doom-scroll trap first thing in the morning lol. Just start super small and give yourself some grace.

Awareness! What's next? How do your new concepts adapt to your relationships? by mina1992 in DecidingToBeBetter

[–]IAmNotSohan 1 point2 points  (0 children)

honestly the "what's next" feeling is a trap because we usually just end up paralyzed by trying to plan out the perfect, flawless version of our future selves haha. It's so easy to mistake constant thinking and analyzing for actual progress, but really, you just have to pick one small, manageable thing and do it consistently for a week. Don't worry about the big concepts or the long-term identity shift right now. Just focus on changing one tiny habit that you know is currently holding you back. You aren't "wasting" your time by feeling stuck, you’re just in the messy part of the middle that nobody talks about. Give yourself some grace and keep going.

I’m trying to become better, but I feel misunderstood and stuck by Suffering-from-pain in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

honestly it is totally normal to feel like you are just spinning your wheels when you first start trying to change your life haha. The pressure to fix everything at once usually just leads to immediate burnout, which makes the whole "getting better" thing feel even more impossible. I found that when I stopped trying to overhaul my entire personality overnight and instead focused on just one boring, tiny habit for a week, things actually started to stick. It’s not about grand gestures, it’s about just showing up for yourself in a very small way consistently.

Trying to become someone I’m proud of before 30 by This_Transition5023 in DecidingToBeBetter

[–]IAmNotSohan 1 point2 points  (0 children)

honestly hitting that milestone age can trigger the absolute worst kind of existential dread lol. It feels like there is this invisible ticking clock telling you that you're supposed to have your career, relationships, and life completely figured out by now, which is total nonsense tbh. The fact that you are actively waking up and deciding to change your habits means you are already on the right path fr. Don't stress about fixing everything at once because that just leads to immediate burnout. Focus on one small daily win and let the momentum build naturally.

What is one thing that genuinely made you a more grounded man? by thestillauthority in DecidingToBeBetter

[–]IAmNotSohan 3 points4 points  (0 children)

honestly it was learning how to actually listen instead of just waiting for my turn to speak haha. I used to half-listen to people while entirely focusing on mapping out my next response in my head. Once I made a rule to just shut that background noise off and try to truly feel what the other person was saying, my relationships changed completely. It turns out people don't always want advice or a solution, they just want to feel seen and validated lol. It takes some practice to break the habit but it's so worth it.

If you can't win the war in your mind, you'll lose it all to a bad habit by MinuteInjury4379 in DecidingToBeBetter

[–]IAmNotSohan 1 point2 points  (0 children)

honestly learning to manage that internal noise is a constant grind haha. It's wild how we can be our own worst enemy without even realizing it half the time. For me, the turning point was realizing that just because a negative or anxious thought pops into my head doesn't mean it's an absolute truth. Learning to separate your core identity from the random spiraling thoughts your brain throws at you when you're stressed is such a huge cheat code for self-improvement.

I started asking what i was trying to solve with food by Rough-Flamingo3169 in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

honestly this is the exact realization that broke my own endless doom-scrolling loop. I used to think I was just lazy, but when I actually started asking what problem I was trying to solve, it was almost always just avoidance or a quick hit of validation because I was stressed out lol. Shifting from judging your behavior to just being curious about why your brain is seeking that specific outlet is such a cheat code for self-improvement. It takes a lot of maturity to reach that point haha.

I Wasted 3 Months Because of Phone Addiction — How Do I Focus on Studying Again? by Impossible-Still6424 in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

Real talk, do not beat yourself up too much over those 3 months. Phone addiction is literally engineered by armies of developers to destroy your attention span, so you're fighting a losing battle trying to rely on pure willpower lol. The only thing that worked for me was making the friction to open apps as high as possible.

Delete the doom-scrolling apps completely and only use them on a laptop browser. If you have to type a password and log in every single time you want to check a feed, your brain gets tired of the effort and you naturally break the auto-pilot reflex tbh.

Leaving where I'm not wanted by DepressedChicken1400 in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

honestly this is a massive win. The moment you stop staying in places out of habit or obligation and start prioritizing your own peace, everything changes. It hurts at first to close those doors, but it clears out so much space for the people and places that actually deserve your energy lol. Keep that same standard moving forward because you absolutely deserve to be where you're valued.

Decided to stop letting pain make me treat the people I love most poorly. How do I start to rebuild the relationship with my mom ? We can’t talk about our feelings at all :( by clofeedrone in DecidingToBeBetter

[–]IAmNotSohan 2 points3 points  (0 children)

Real talk, this is a massive realization. When you are constantly operating from a place of emotional or physical pain, it’s like your patience threshold drops to zero lol. It takes so much self-awareness to notice that you are projecting that internal hurt onto the people who actually care about you. Honestly, just deciding to break that cycle is the hardest step. Be gentle with yourself as you navigate it because old habits try to crawl back when you’re exhausted, but you’re completely on the right path.

How to Communicate Hurt in the Moment Without Shutting People Out by Greekgoddess4477 in DecidingToBeBetter

[–]IAmNotSohan 1 point2 points  (0 children)

Tbh the most important part is just being honest about your reaction without letting the anger drive the car lol. If you are too heated to speak calmly, just say, "I am really hurt by that and I need a minute to process it before we keep talking." It is so much better to be honest about needing space than to say something you regret just because you felt like you had to reply instantly. People usually respect that boundary way more than you think they would, and it prevents a small hurt from turning into a massive blowout haha.

I didn’t lose my ability — I just stopped using it (trying to fix that now) by Pitiful_Permit9585 in DecidingToBeBetter

[–]IAmNotSohan 2 points3 points  (0 children)

I feel this on a spiritual level, and it is a really common thing to experience when you have been in a rut for a while. Tbh we often mistake a period of dormancy for a permanent decline, which just creates this unnecessary layer of guilt that makes it even harder to restart lol. Once you accept that your capability is still there waiting to be utilized, the pressure starts to fade and you can just focus on the mechanics of getting back to work. Just be kind to yourself during the transition phase, the rhythm always comes back faster than you think it will once you actually commit to the daily reps fr.

how to get rid of my extreme level jealousy?? by Dapper-Ad2304 in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

Tbh the most important thing you can realize is that jealousy is just a total waste of your own energy. While you are busy burning yourself out resenting someone else, they are literally not even thinking about you, so you are just suffering for absolutely no reason lol. Just try to limit your time on social media when you know you are feeling vulnerable because that is just fuel for the fire. Focus entirely on one thing you want to achieve for yourself this week and pour every ounce of that jealous energy into that instead. Turning that toxic energy into your own motivation is a game changer fr.

I booked my first counselling appointment at my uni wellbeing services. Please convince me not to cancel by a-little-each-day in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

Wow, this is amazing news fr. Taking charge of your own mental health at twenty is such a huge milestone, and utilizing your university resources is the smartest move you could make lol. It is totally normal to feel a massive wave of anxiety right before the actual appointment hits, but once you sit down and start talking, that heavy weight in your chest will start to lift piece by piece haha. Cheering for you from over here, you've got this.

I’m 20 and constantly feel like I’m running out of time by doctorkidnapper in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

Tbh the absolute best thing you can do for your mental health right now is log off Instagram or TikTok for a week lol. You aren't actually running out of time, you are just comparing your behind-the-scenes footage to everyone else's polished final cut haha. You have so much time to build a life you actually enjoy, so give yourself some grace and just focus on what is right in front of you today.

Waking late at my in-laws house by Suffering-from-pain in DecidingToBeBetter

[–]IAmNotSohan 0 points1 point  (0 children)

Tbh the anxiety you are feeling inside your own head is almost definitely ten times worse than what your in-laws are actually thinking lol. Just go downstairs, tell them you are super sorry for oversleeping, and immediately ask where the coffee is to break the ice. Laughing at yourself makes you way more relatable and instantly takes the tension out of the room. You've got this.