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





  • A lot of good tips here! Came back from the alps a couple of days ago and I have one point that I did not see: it seems counterintuitive but if it gets really tight that you would have to take the turn in first gear at idle revs or below you need to give it some revs (I am at about 5k with my small single cylinder engine) and feather the clutch to regulate your speed. The revs keep your bike stable and the clutch is much better to modulate your speed than the gas.

    I know this wears your clutch but they are usually oil cooled and are more robust than a lot of people think. And after all they are meant to be replaced when worn out. A clutch is cheaper than taking the shortest path down a hill because you dropped your bike 😉



  • I once told my daughter that a star that is only visible to grown ups appears on her forehead when she is lying. Soon she started to hide her forehead when lying 😂

    Even today - although older - I ask her to show me her forehead and I can read her reaction like a book




  • If you put it on the top, remove all app icons and add a second bar on the bottom that shows the apps and hides when you open a window in full screen mode, it even gets a macOS feeling out of the box without any addons.

    I tried KDE, Gnome, xfce and experimented with tiling window managers. At the end of the day I’m always getting back to cinnamon. It just works for me and I love it 😍



  • abcd@feddit.detoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    ·
    11 months ago

    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 😁







  • This is great news! Even better than the USB-C regulation. Changing a battery on a modern phone is a huge pita… And it’s definitely getting worse since some companies are trying everything to prevent you from doing so…

    I would absolutely buy a phone twice as thick as my iPhone SE 2020 if it has an easily swappable battery. Bonus points if it is able to be used as an actual phone without a case to prevent it from dying instantly from a light breeze or some evil look by a person…