• 0 Posts
  • 2.19K 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.









  • I’ve always just used the bead test where you drop a drop of water in a dry pan and if it beads up and rolls around, instead of just sizzles, then the pan is hot enough to add oil (although this also works if it’s too hot, but I have a good sense of how long it takes to get to this temp, so I’m usually testing just before and just after it hits this temp). Then when the oil is shimmering, this is the time to add food.







  • 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.