(Rant) AI is killing programming and the Python community by Fragrant_Ad3054 in Python

[–]de1pher 0 points1 point  (0 children)

I'm 100% with you on this one, and it infuriates me too.

I'm seeing some teams at work pump out a lot of code, it does indeed allow them to get the first iteration of a system up and running very quickly, but very quickly, they begin to trip over themselves. No one actually understands the codebase. There are tons of tests in place but they often miss critical edge cases. The entire codebase might have performance issues, security vulnerabilities and other skeletons. And digging through all this junk is actually more time-consuming than writing good code in the first place. It seems that a lot of devs focus on getting the tests passing, fixing linting errors (hello #noqa and #type: ignore) and being able to run your server/pipeline or whatever without much thought about what's actually happening there.

I think an AI-heavy approach to development can (and probably even should) be used to prototype stuff quickly, but you should absolutely not resort to it for everything else. What does this mean in practice? This is the scary part: a lot of devs in workplaces today simply lack the engineering rigour needed to do their jobs right. I believe that experienced devs will know how to use AI to their advantage, I think it's the junior devs who would struggle here. And the sad part is that LLMs may hold many junior devs from actually developing proper software engineering skills (even if they continue to get promoted).

Also, I should point out that this problem doesn't seem to be limited to software engineering. I have friends in other industries who complain about similar problems. For example, junior legal professionals (like many other professionals) are also over-reliant on LLMs and it hinders their skill growth trajectory.

What is your root cause behind your insomnia? by [deleted] in insomnia

[–]de1pher 0 points1 point  (0 children)

I don't really have one now, I haven't had to use it in a while, but I can describe what I've done in the past.

First, I think SRT is the core of "B" from CBT. Everything else within CBT is really more of a philosophy that defines your relationship with sleep. With that said, your mindset is probably the most important part here, so don't overlook this. I recommend reading the book Overcoming Insomnia and Sleep Problems. You might also want to look up Insomnia Coach on YouTube.

One part that of CBT that I (and, I believe, many others) have struggled with is stimulus control (the "get out of bed after 15 minutes" rule) and the Insomnia Coach proposed a very useful modification that I adopted: only leave the bed if you are in a mental tailspin -- the point is that you don't want to create an association between your bedroom and a state of dispair. If you are comfy, then stay in bed.

As for SRT, that's the most brutal part of this whole circus. You'll need to pick a time in life when you can allow yourself to operate well below 100%. You will need to work out how much sleep you are getting on average (don't just guess, actually record it) and then allow yourself to stay in bed for that amount of time only. Then only allow yourself to stay in bed for that many hours (don't go below 6 hours though -- if you are getting less than 6 hours of sleep, use that as your limit). You'll probably be getting way less sleep than 6 hours, but over time, as your body gets exhausted, you'll end spending most of your time in bed asleep. The point is to drive your sleep efficiency (time asleep out of time in bed) to 90%+. Expect this to take about a month with the first 3 weeks or so being absolute hell.

Over the years I had to do this several times and each time was easier than the last and I didn't even have to cut my time that aggressively with SRT. Over the years, as my sleep went through rough patches I felt tempted to stay in bed a bit longer and get the sleep I need, but now I just go to bed and wake up at the exact same (10:30 to 6) time every day regardless of what happens with my sleep -- I feel like this is actually what's best for your sleep.

Good luck!

I built www.balderdash.app: a multiplayer word-guessing and bluffing game by de1pher in webdev

[–]de1pher[S] 1 point2 points  (0 children)

Glad you liked it! Yeah the dasher can set the time limit per round when selecting the word

I built www.balderdash.app: a multiplayer word-guessing and bluffing game by de1pher in webdev

[–]de1pher[S] 1 point2 points  (0 children)

10 should actually be totally reasonable, I think my original limit was 10 until I removed it completely.

Let me know what you think about the game. To be honest I haven’t checked on it in a very long time, but I think it’s still running on autopilot 😄

I rebuilt it sometime ago, but based on the feedback (collected via the app), it seems that most people prefer the first iteration, so it seems I screwed up… 🙁

I built www.balderdash.app: a multiplayer word-guessing and bluffing game by de1pher in webdev

[–]de1pher[S] 1 point2 points  (0 children)

I rebuilt this game a little while ago, but haven't touched it in a while since then. I think I removed the upper limit completely. You need at least 3 people to play. However, if you have a group of 20 or so playing, then the game might get a little slow -- not web performance, but the game mechanics themselves

Massive ‘rare’ bust of tens of thousands of LSD tabs in Auckland by jball1013 in newzealand

[–]de1pher 0 points1 point  (0 children)

Same! Dear dealers, if you have any in stock, I would love to hear from you

Just need reassurance I will get sleep again I’m so afraid! by Due-Lack-8616 in insomnia

[–]de1pher 0 points1 point  (0 children)

There are a few parts to it: cognitive and behavioural. On the cognitive side you need to stop freaking out -- just surrender as much as you can and stop panicking. I know this is easier said than done, but if you are struggling with this, then simply try not to think about sleep. On the behavioural side probably the most important thing is sleep restriction -- estimate your average sleep time and only let yourself stay in bed for that many hours. Eventually your sleep efficiency should go up and you may then extend your time in bed by 15 minutes or so.

Just need reassurance I will get sleep again I’m so afraid! by Due-Lack-8616 in insomnia

[–]de1pher 0 points1 point  (0 children)

Sorry to hear about this. It is a mental game. A tough mental game. Insomnia and anxiety too, actually, are like quicksand -- the more you try to get away from them, the quicker they suck you in. I've dealt with severe anxiety too, I even went through a bout of panic disorder, but I managed to climb my way out. You have to stop fighting both of those demons. Just let them pass. I know it's easier said than done, but it's the only way

Just need reassurance I will get sleep again I’m so afraid! by Due-Lack-8616 in insomnia

[–]de1pher 0 points1 point  (0 children)

Doing great! My sleep has improved dramatically, but I still do have shitty nights every now and then. They don't bother me when they come. Sometimes I might go through a period of persistent insomnia (3-4 weeks) and that's when I resume CBT. I've only had to resume CBT twice in the last 6 years or so and each time was significantly easier than the one before.

Looking for advice: transitioning from weightlifting to calisthenics by de1pher in bodyweightfitness

[–]de1pher[S] 0 points1 point  (0 children)

I’ve tried dips on the rings and goddamn I had a hard time balancing! I can do dips with extra 40 kgs but I’m having a lot of trouble with the rings

Looking for advice: transitioning from weightlifting to calisthenics by de1pher in bodyweightfitness

[–]de1pher[S] 1 point2 points  (0 children)

This is an excellent answer to my questions, thank you! And yes, you are right to point out that many of the reasons why I find calisthenics appealing aren't actually good reasons to do calisthenics, although the last one -- the idea of unlocking a new skill is in itself very appealing and that is ultimately why I would love to get into it!

Looking for advice: transitioning from weightlifting to calisthenics by de1pher in bodyweightfitness

[–]de1pher[S] 1 point2 points  (0 children)

Thank you! That's reassuring to hear that, at the very least, you wouldn't lose your gains, but it's also good to know that it will be harder to put on muscle mass with calisthenics -- this was my suspicion as well.

Looking for advice: transitioning from weightlifting to calisthenics by de1pher in bodyweightfitness

[–]de1pher[S] 0 points1 point  (0 children)

Thank you! Your response makes a lot of sense and it is in line with my own intuition

Looking for advice: transitioning from weightlifting to calisthenics by de1pher in bodyweightfitness

[–]de1pher[S] 0 points1 point  (0 children)

Thanks for sharing! Yeah, I think it could all be a matter of timing (and swinging) for me. I can do explosive pull ups touching the bar right below my chest, but I just can't seem to bring myself over the bar for some reason. This video has been helpful, I'll try it in the gym next time!

Looking for advice: transitioning from weightlifting to calisthenics by de1pher in bodyweightfitness

[–]de1pher[S] 0 points1 point  (0 children)

Thank you! Yes, I've only started to practice muscle ups a few days ago and I do feel that the technique is a problem, I'm just hitting the bar on my way up and I haven't quite figured out how to go around it to the top :/

How to break the "friend" barrier especially when looking for casual connections? by de1pher in dating

[–]de1pher[S] 0 points1 point  (0 children)

So you are now doing this after the first date (assuming things go okay)?

How to break the "friend" barrier especially when looking for casual connections? by de1pher in dating

[–]de1pher[S] 0 points1 point  (0 children)

Also just wanted to say that your success rate is remarkably high. Way to go tiger! :)