Instructor, author, developer. Creator of Beej’s Guides.

openpgp4fpr:CD99029AAD50ED6AD2023932A165F24CF846C3C8

  • 1 Post
  • 163 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • Off topic, but with DeCSS the problem wasn’t that it was proprietary or a trade secret. Once the algorithm got out, it was out. Since it had been a trade secret, there was no patent protection on it.

    However, some laws and treaties prohibit distributing code that circumvents copy protection schemes, and this is where they ran into trouble.

    And that’s why they were all those songs and t-shirts and other free speech items made with the DeCSS algorithm on them. Eventually the cases were dropped.




  • I’m a firm believer in “Bruce Lee programming”. Your approach needs to be flexible and adaptable. Sometimes SOLID is right, and sometimes it’s not.

    “Adapt what is useful, reject what is useless, and add what is specifically your own.”

    “Notice that the stiffest tree is most easily cracked, while the bamboo or willow survives by bending with the wind.”

    And some languages, like Rust, don’t fully conform to a strict OO heritage like Java does.

    "Be like water making its way through cracks. Do not be assertive, but adjust to the object, and you shall find a way around or through it. If nothing within you stays rigid, outward things will disclose themselves.

    “Empty your mind, be formless. Shapeless, like water. If you put water into a cup, it becomes the cup. You put water into a bottle and it becomes the bottle. You put it in a teapot, it becomes the teapot. Now, water can flow or it can crash. Be water, my friend.”







  • Sparingly. I use chatgpt to help with syntax and idioms when learning new languages. And sometimes I use it to help determine the best algorithm to use for a general problem. Other times I feed in working code and ask for improvements like a mini code review

    The only time I had it code something from scratch for me was when I wanted some Vimscript and I didn’t want to learn it. I tried the same thing with jq and it failed and I had to learn me some jq.

    I hate popups in editors in general (no intellisense for me), so I lothe AI trying to auto complete my code.