• 0 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • This reminds me of a colleague who was always ranting that our code was not documented well enough. He did not understand that documenting code in easily understandable sentences for everybody would fill whole books and that a normal person would not be able to keep the code path in his mental stack while reading page after page. Then he wanted at least the shortest possible summary of the code, which of course is the code itself.

    The guy basically did not want to read the code to understand the logic behind. When I took an hour and literally read the code for him and explained what I was reading including the well placed comments here and there everything was clear.

    AI is like this in my opinion. Some guys waste hours to generate code they can’t debug for days because they don’t understand what they read, while it would take maybe two hours to think and a day to implement and test to get the job done.

    I don’t like this trend. It’s like the people that can’t read docs or texts anymore. They need some random person making a 43 minute YouTube video to write code they don’t understand. Taking shortcuts in life usually never goes well in the long run. You have to learn and refine your skills each and every day to be and stay competent.

    AI is a tool in our toolbox. You can use it to be more productive. And that’s it.



  • abcd@feddit.detolinuxmemes@lemmy.worldSecurity
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    You can’t imagine how much I hate this setting. A couple of weeks ago I helped a guy install some specific software on a windows machine provided by the customer. It’s like one exe with a config file. Pretty basic. My instructions were:

    1. Copy the exe to a specific path
    2. Create a new text file in the same path and copy paste this provided text into the file
    3. Rename file to abc.xml

    The exe was throwing errors because of the missing config file. Of course the filename was abc.xml.txt 💩


  • Hello! Here is your random engineer: You have to connect both trap doors to the same side of the turbine. Otherwise your generator has a great chance to get blocked by users.

    Otherwise the concept looks good. If we find a way to get the Linux guys out and make them able to walk a slight incline without collapsing this should work.





  • This reminds me of code I’ve written in the past and reviewed years later: At first glance it looks like it is wrong. Especially if magic numbers are involved. Then I start to think about it (hopefully with some hints in the comments 😉) and remember soon that I spent a lot of time thinking about this specific line back then and wrote it fully intentional to limit the effect of variables in my calculations 😁


  • According to this anthem it’s Kazachstan:

    Kazakhstan greatest country in the world. All other countries are run by little girls. Kazakhstan number one exporter of potassium. Other countries have inferior potassium.

    Kazakhstan home of Tinshein swimming pool. Its length thirty meter and width six meter. Filtration system a marvel to behold. It remove 80 percent of human solid waste.

    Kazakhstan, Kazakhstan you very nice place. From Plains of Tarashek to Norther fence of Jewtown. Kazakhstan friend of all except Uzbekistan. They very nosey people with bone in their brain.

    Kazakhstan industry best in the world. We incented toffee and trouser belt. Kazakhstans prostitutes cleanest in the region. Except of course Turkmenistans

    Kazakhstan, Kazakhstan you very nice place. From Plains of Tarashek to Norther fence of Jewtown. Come grasp the might penis of our leader. From junction with the testes to tip of its face!