Linux server admin, MySQL/TSQL database admin, Python programmer, Linux gaming enthusiast and a forever GM.

  • 1 Post
  • 51 Comments
Joined 3 years ago
cake
Cake day: June 8th, 2023

help-circle

  • The point is I don’t think LLMs normally use copyrighted code in a way that would hurt open source projects.

    I don’t know. I’m not a lawyer, and copyright for code was a hot mess even before LLMs got involved. With how many opportunistic copyright/patent trolls there are and how easily convinced judges have been in the past, it could go either way.

    Lol, so how do humans code in comparison?

    The good programmers normally code by breaking down the problem into constituent parts and logically working through the problem, step by step. What differentiates this from tokenization is that instead of just looking for code that is similar for a similar problem, programmers can usually understand the effects of each line of code, visualize what the state of each variable will be in that step (or dump out the variables to look directly if unsure), and then move on to the next step. This logical problem-solving approach is fundamentally different from a tokenization+noise looking for a similar-looking problem approach. For one thing, you can solve problems that haven’t been solved before.




  • Maybe it was a mistake to try and use natural language for this kind of job, it’s too fuzzy and interpretable. Maybe we need a new language, one with a much stricter syntax and no room for interpretation. If you make it simple enough, and use some natural language for important keywords, shouldn’t be too difficult to learn.

    We could call it “language for programming” or something like that.

    Eh, who am I kidding, that’ll never catch on.







  • I’m one of those nano weirdos. I mean, I get why people use vi/vim, but I’m a lazy man who has the nano shortcuts hardwired into my muscle memory. It’s definitely not as full-featured as vim, but it does what I need it to do quickly and easily. If I need to just quickly drop into a file and do a find/replace, takes me maybe 3 seconds.

    Also, to share an ancient joke from the dawn of computing: emacs is a great OS, I just hope someone makes a decent text editor for it eventually.





  • Here’s an absolute classic unix koan about the terminal:

    One evening, Master Foo and Nubi attended a gathering of programmers who had met to learn from each other. One of the programmers asked Nubi to what school he and his master belonged. Upon being told they were followers of the Great Way of Unix, the programmer grew scornful.

    “The command-line tools of Unix are crude and backward,” he scoffed. “Modern, properly designed operating systems do everything through a graphical user interface.”

    Master Foo said nothing, but pointed at the moon. A nearby dog began to bark at the master’s hand.

    “I don’t understand you!” said the programmer.

    Master Foo remained silent, and pointed at an image of the Buddha. Then he pointed at a window.

    “What are you trying to tell me?” asked the programmer.

    Master Foo pointed at the programmer’s head. Then he pointed at a rock.

    “Why can’t you make yourself clear?” demanded the programmer.

    Master Foo frowned thoughtfully, tapped the programmer twice on the nose, and dropped him in a nearby trashcan.

    As the programmer was attempting to extricate himself from the garbage, the dog wandered over and piddled on him.

    At that moment, the programmer achieved enlightenment

    Source: https://catb.org/~esr/writings/unix-koans/gui-programmer.html