They should be related to a #language#technology task, able to be automatically evaluated, with training and test #data able to be distributed to participants at low- or no-cost, and should be fun!
@tripleo#Perl’s “sharp edges” are mainly early syntax and features that later experience with large and networked #programming found dangerous, but are preserved for backward (and we do mean “backward”) compatibility.
See the details of the strict and warnings pragmas, and successively missing items in feature bundles:
I just finished a productive Copilot session on a complex programming task. I came up with much of the algorithms, and wrote a lot of the code, and had to guide it a lot throughout, but credit where due, Copilot did make small but meaningful contributions along the way.
Overall, not a pair programmer but someone useful to talk to when WFH alone on complex tasks.
Enough for Copilot to earn a ✋🏽. And I like how it responded to that. It has got that part down. 😉
One thing that’s funny about #ai and #programming is I keep hearing the same thing. “Oh I use it for generic snippets, just common tasks and functions”.
The amusing thing about that is when I first started working with a #php app years ago there was already a solution to that problem. It was called “the PHP Cookbook” published by O’Reilly. I was told “oh we buy you a PDF copy and you just search for whatever you are trying to do and use that code. It saves a ton of time for junior programmers.”
Not only was it true, it did save me a ton of time and headaches, but we didn’t need to steal anything. The authors got paid, it worked offline, it didn’t require scraping the entirety of human knowledge to write or nuclear power plants worth of energy to distribute.
It also helped me learn. Since I would have a solid foundation to the solution, I felt more confident experimenting. I always had a known-functioning standard library solution as my base. So when something broke I knew where to start debugging.
Just an incredible thought that instead of paying $20 for a pdf once we decided this was the way to go.
When a programming language's website says it's a "general-purpose language", I already kind of want to not use it, because it probably won't offer anything that I can't get in another language.
I'd like to see a world where every language serves exactly one area of programming, and is highly specialized for that area.
I've been trying to make this work for a few days and finally I achieved it, the most basic form of a wayland client using unix sockets, and well in other languages it was not difficult at all, I did it in hare, c, typescript (deno), and in the end I wanted to try with a language that I had never used, Haskell, and I learned many things but I still don't know what a monod is, anyway, here I leave a link to the code for those who are interested: https://gitlab.com/-/snippets/3711372 #haskell#programming#wayland
Please, web app developers, consider how your users will upgrade. If your upgrade process is "remove the old one, unzip the new one", then it's not an upgrade process. It's an encouragement to never upgrade.
Basic programming language celebrates its 60th birthday
The first Basic interpreter went live in May 1964. This was intended to make it easier to learn programming. However, the computers to go with it were not available until much later.
Basic is the abbreviation for "Beginner's All-Purpose Symbolic Instruction Code". In other words, it is a general-purpose programming language for beginners.
Hey #python experts, what’s the best way to make a single binary on Linux for Linux that I can deploy safely without needing a container? Is it PyInstaller? Nuitka? Bazel? Thanks!
This VBA macro saves an Excel worksheet as a PDF. It sets and sorts the data, creates a temporary sheet with headers, formats and aligns the data, and adjusts column widths. The macro defines the PDF path, deletes any existing file, sets page orientation and footer, exports the sheet to PDF, deletes the temporary sheet, and shows a message with the PDF path. Modify to your needs if you find it useful.
Because I couldn’t find a decent podcast downloader, I made one using python! Is there any way I can have two python scripts run one after the other? I made one to download all podcasts from an RSS address, and I made another one to rename all of those episodes Based on the metadata provided with the RSS, but I would like to merge them and have them run one after the other. Is this possible? #Python#Programming
I'd like to suggest that anyone who says Copilot saves them time is an indication that they're not doing their job, ie accepted the code without taking the time to think through each line and its implications.
To properly review code, you have to consider for each variable, each expression, whether it's appropriate, how it interacts with the rest of the program, etc.
Since you didn't author the code I'd say this should take more time than if you wrote it yourself.