• 0 Posts
  • 21 Comments
Joined 1 year ago
cake
Cake day: October 18th, 2023

help-circle
  • I find working with AI to help me understand way better.

    Using Linux as an example. If I search for “give me the size of each subdirectory in the current directory” the stack overflow answer will be “just type du -h --max-depth=1” so you copy and paste it and, voila!, it’s exactly what you want. Except I have no idea what any of it means.

    However, I ask chatgpt, and it will explain that du means disk usage, -h gives a human readable form, and --max-depth=1 will only go down 1 level, without showing all of the subdirectories.

    So now I’ve learned something.

    Additionally, with coding, it’s a lot like rubber duck debugging for me. Just formulating my question will often lead to an answer, or trying to explain what went wrong with the AI solution helps me get to the proper answer.



  • Other than untracking tracked files, I see nothing in this graphic that isn’t easy to do with a gui. That might even be easy to do but it is something I do in the cli. Can I get some examples?

    I would also argue that the common/basic stuff is 99% of what I do with git. And for this I can’t fathom why people would think the cli is better. Like logging and diffing is just so much easier when I can just scroll and click as opposed to having to do a log command, scroll, then remember the hashes, and then write the command. This is something instantly available to me in a gui.

    Don’t get me wrong, if the cli is better for you more power to you. We moved from p4 to git and I did this almost exclusively in the cli so I could use scripts more easily. And sometimes I watch beginners use the gui and I have to bite my tongue because I know it would be faster in the cli.

    But, especially for a beginner, i strongly recommend a gui.








  • The human mind doesn’t even really fully mature until your mid 20s. A 15 year old still has a good full decade until full maturity, and they are notorious for making impulsive decisions without realizing the consequences of their actions.

    What he did was wrong and he deserves punishment, but ruining his life too for being a dumb teenager does nothing for the unimaginable harm caused to this girl, it just makes more victims.

    I don’t know what the right answer is, but I can tell you the wrong answer is to ruin a teenagers life over a stupid act when that isn’t going to solve anything.



  • I don’t consider myself a never nester, but looking at my code now, I extract all the time and rarely go 4 tabs in. It just makes it more easily maintainable. I also like the idea of putting the failure conditions first. I haven’t looked at this yet but I’m sure there are some times I can use it.

    Sure, sometimes you might not have a choice, but I do think there is a lot of value to what they are saying. I think it kind of goes in line with standard “functions should do one thing” paradigm.



  • Anyone who claims llms are a nothingburger is frankly wrong,

    Exactly. When someone says that it either indicates to me that they ignorant (like they aren’t a programmer or haven’t used it) or they are a programmer who has used it, but are not good at all at integrating new tools into their development process.

    Don’t throw out the baby with the bathwater.

    Yup. The problem I see now is that every mistake an ai makes is parroted over and over here and held up as an example of why the tech is garbage. But it’s cherry picking. Yes, they make mistakes, I often scratch my head at the ai results from Google and know to double check it. But the number of times it has pointed me in the right direction way faster than search results has shown to me already how useful it is.



  • I always thought that facebook got a bad rap. I mean, it was stupid, but I always enjoyed it because I could catch up with old friends, who might not be actively in my life at the time, and for that it was special.

    However, sometime recently (as in years, I guess) as people have left or become more private, my feed has slowly been taken over by suggested content. It’s always pushed front and center. Literally unavoidable because there is no setting to say “don’t suggest anything to me.” and no matter how often you hide shit, they’ll just keep feeding more. I’ve all but completely abandoned using facebook now…I just go on to check my local buy nothing group, or post things myself. Occasionally I go to see what stupid shit my previous good friend, who got totally sucked into Trump world, is saying.




  • Sorry, I meant static typing, not strongly typing. I often cross the two. But this is exactly what I mean, if you want something to be statically typed you have to put in the extra effort, if not you’ve got dynamically typing, which is fine when things are small but I find causes stumbling blocks when things get larger.

    And depending on the scale of the project I’m working on, my unit tests usually take minutes to run, if not hours. If I’m debugging and I change a property, when I compile it instantly catches that I forgot to change it elsewhere. Hell, even when I save it I’ll get a little error warning. Maybe running unit tests all the time is fine if the project is small, but not if it’s large. I’m not going to run unit tests every time I’m starting a new debugging session. Linters kind of make up for this. But then we are back to making sure there are type hints, which, as I’ve been told, is not “pythonic.”

    If people like it, more power to them, I’m not shitting on the language as even I like it. I just can’t use it for larger stuff, and I’ve never worked anywhere that uses it for larger stuff, and I think for good reason.