I'm using kitty on Windows 10 to ssh into my development environment in neovim (0.9.1) on a Raspberry Pi 400. However, using screen messes up the colours alot, to say the least. The first image shows neovim in kitty without screen, while the second image is of neovim inside a screen.
#AI#GenerativeAI#OpenAI#GitHub#Copilot#Microsoft#Programming#SoftwareDevelopment: "OpenAI, creator of ChatGPT, GPT-3 and GPT-4, Codex and Copilot AI systems, is the consensus leader in the race to create AI that may take all of our jobs and destroy the human race be the most disruptive technology since the invention of the printing press. OpenAI is also an affiliate of Microsoft, which is also the owner of GitHub, the popular online code repository. According to the complaint, these separate entities are just one big data-sharing family, leveraging their combined resources in non-standard ways such as Microsoft sharing hardware and cloud infrastructure resources in exchange for an ownership interest in OpenAI. According to the complaint, Microsoft’s ongoing relationship with OpenAI has led some to describe Microsoft as “the unofficial owner of OpenAI.” Complaint at 31.
The crux of the complaint is that OpenAI took code that was stored on GitHub and used it as training data to build out AI systems called Codex and Copilot. And while most of the code that was stored in the systems was likely marked “public” and was also open source, the code was subject to certain licensing and attribution requirements that were allegedly ignored when they were used in the training data to create OpenAI’s Codex and Copilot systems." https://blog.ericgoldman.org/archives/2023/06/how-can-ai-models-legally-obtain-training-data-doe-1-v-github-guest-blog-post.htm
For completeness, noting that programs could iterate over a string by retrieving the underlying text as char array, but that can be wasteful eager materialization, especially for large(r) strings.
for(char c : "hello".toCharArray())
System.out.print(c);
In case something goes wrong with programming.dev infrastructure, it would be good to have a Mastodon account (preferably not hosted on the same infrastructure) to inform the public about the status.
I’ve done nearly 30 years of C/C++ by now, and probably 20 years of Objective-C. So usually, that's my baseline for programming. These languages don't hurt, they're just “how programming is”. Better languages are “oh cool I get to have fun”.
That said, I recently wrote some new Objective-C code and … actually wanted to go back to Swift. Those square brackets really are a downside of the language. The Swift-style of method call syntax is superior.
“The reasons I use Perl is because I wanna write scripts that no one can read and no one can understand that I keep my job. It’s sort of modern art in a way.” #perl#programminghttps://yewtu.be/watch?v=0jK0ytvjv-E
Peter Seibel: "How much does a choice of language really matter? Are there good reasons to choose one language over another or does it all just come down to taste?"
Guy L. Steele Jr.: "Why shouldn't taste be a good reason?"
Page 351 of "Coders at Work: Reflections on the Craft of Programming". Peter Seibel, Apress, 2009.
"but i was confident that code would work!
Looks at code...
No. that code is definitely right!"
junior programmer: debug debug debug.
experienced programmer: starts writing unit tests to (dis)prove their own claims of "definitely right"
Hubris & ego. We all suffer from them. Wise programmers are just better at not listening to that BS and acknowledging that, despite their experience, they constantly make mistakes. Just like everyone else.
Medium is a fantastic source for PHP and other programming news. Investing in membership is recommended as you can access everything you want to read. It’s worth the investment to boost your career via the helpful articles and tutorials. Our small compensation from this link helps cover expenses for the Symfony Station articles you enjoy on it. https://medium.com/@mobileatom/membership#Symfony#Drupal#PHP#Programming Plus they are big supporters of the Fediverse.
If I'm not dealing with a specialized topic or a legitimately hard problem, I rarely consult StackOverflow or other examples, as I recognize that I'm dealing with a personal blind spot, which makes spending a little extra time solving the problem rewarding in the long run. Add a note to my #zettelkasten and soon enough I'll never have to look at it again.
I feel like tools like #github#copilot will be devastating for any new programmers and their problem solving capacities, just because it will prevent a good deal of them from acquiring the set of conceptual tools required to grow as programmers.
what's more important than learning the correct concepts is learning to ask the correct questions. #programming is a discourse in which correct questions exist ready-made, but you will only know why it's a problem if you solve it.
Does programming.dev have a Mastodon account?
In case something goes wrong with programming.dev infrastructure, it would be good to have a Mastodon account (preferably not hosted on the same infrastructure) to inform the public about the status.
Call to Action: Easy porting opportunity in Plasma - KDE (pointieststick.com)
For anyone looking for an easy opportunity to get started in opensource development KDE needs some help replacing references to Kirigami components...