Well, some people say men are basically just dogs and I guess if some of us can lick our own assholes, that’s further proof.
Well, some people say men are basically just dogs and I guess if some of us can lick our own assholes, that’s further proof.
I use VS Code and GitHub Co-pilot and develop in a variety of different languages and frameworks. I’ve got lots of experience with some, but I’m less knowledgeable on others.
So, having the AI assist with languages I am very familiar with is basically a way to save time and preserve my mental energy. For languages and frameworks I’m less experienced with, it speeds things up because I’m not having to constantly search how-tos and forums for guidance. And for languages/frameworks I have limited or no experience with, it can be a helpful learning tool that speeds up how long it takes to get ramped up.
With this set-up, if I start writing a line of code and then pause for a moment, co-pilot kicks in and tries to autocomplete that line, sometimes even suggests the entire block of code. It’s really good at recognizing simple patterns and common boilerplate stuff. It’s less good at figuring out more complex stuff, though.
However, I find that if I start out by writing a comment that explains what I’m trying to accomplish, and to some degree how to accomplish it before I start writing one of those more complex blocks/lines, the AI has a much higher success rate in returning helpful, functioning code. So, basically yes, I write the comment to describe code I haven’t written, and I’ll let the AI take over from there.
This works for code, raw database queries, configuration files, and even for writing tests. I’m not an expert at building out Docker configurations for local development or configuring auto-deployment on whatever random system is being used for a project, but I can often get those things up and running just by describing in comments what I need and what I’m trying to accomplish.
The VS Code co-pilot extension also has some context menu items that let you ask questions and/or ask for suggestions, which comes in handy for some things, but for me, typing out my intentions in comments and then letting the auto-complete kick in as I’m starting a line of code is faster, more efficient, and seems to work better.
Granted, co-pilot also likes to try to auto-complete comments, so that’s sometimes funny just to read what it “thinks” I’m trying to do. And most of the time, I do remove my comments that were specifically to guide co-pilot on what I wanted it to do if they’re super redundant. And, at the end of the day, not everything co-pilot suggests is production-worthy, functional, nor does what I actually described. In fact, a lot of it is not, so you should expect to go back and fine tune things at a minimum. It’s just that overall, it’s good enough that even with all the supervision and revisions I have to make, it’s still a net positive, for now.
As a kid, by the time I started hearing about the system via video game magazines, which were kind of like miniature websites but printed on paper and then distributed via mail and stores, I was convinced it would be the next big thing. By the time it was launched, I knew it was going to be the new top dog in the industry. When I finally got my hands on one, it was (pardon the pun) game changing for me.
The system definitely had its flaws, but it was an evolutionary step up and order of magnitude bigger than anything I’d ever experienced before.
And go figure, it was the last system I owned before I stepped away from the gaming hobby for nearly 2 decades. Life, uh, got in the way.
What you don’t know is that he died when he was pulled into a jet engine.
I know some folks are joking about and dunking on this, but in modern times, I have justification. Call me lazy, but I have found myself writing out these comments and then letting the AI take over to at least give me a sketch of an implementation. Works reasonably well and saves me a lot of time and effort. Mostly I don’t bother to remove them, though I usually edit them a bit.
On the other hand, there are factions within my colleagues who steadfastly insist that commenting is unnecessary and to some degree even potentially harmful, and that if you feel the need to comment your code, it means your code should be improved so that it’s obvious what it is doing without the need for comments.
On the internet, everything is a repost. We simply choose to have faith that an OP once walked this Earth, drizzling his seeds of thought all across the digital landscape. Praise be OP.
There was a movie about Lucy and Desi that came out sometime in the late 1900s.
It was being advertised heavily on one of the over the air television stations that we would watch on our cathode ray tube television that picked up signals from a type of antenna called rabbit ears. Back in those days, they’d sometimes have voice over commercials where they’d talk over the end credits of a show or movie, and apparently sometimes they did that live (I guess)?
Family and I are watching a show and when it ended, they did the voice over thing talking about the Lucy movie. The announcer started out strong but totally fumbled a line, something along the lines of “join Ducy, Lesi, and little Licky”. I just know we all heard it, we all busted out laughing.
I definitely miss the cached pages. I found that I was using the feature very frequently. Maybe it’s just the relative obscurity of some of my hobbies and interests, but a lot of the information online that shows up in search engines seems to come from old forums. Often times those old forums are no longer around or have migrated to new software (obliterating the old URLs and old posts as well).
Caffeine these days.
Honestly, I sometimes miss the earlier days of Lemmy when folks were generally kind to each other by default. Seems like this kind of comment is becoming all too common.
Nah, that’s just a cop-out if not an outright strawman.
Neat. It’s been on my wish list to visit this spot. It’s just that if I’m going to spend money in the south eastern part of the USA, this particular state is pretty high on the list of troubling politics, which is saying a lot given the region. So, it makes me hesitant to go there for a visit and spend my money in a state that seems to overwhelmingly abhor my existence.
It’s not surprising here on Lemmy, but on pretty much every other site I’ve ever mentioned issues I’ve had with Amazon, the replies would be filled with people claiming it is the best customer service, that they’ve never had any issues with Amazon at all, and that it must be something I did to cause the problem.
Personally I stopped using Amazon on a regular basis almost a decade ago after it was clear that the company I first started using back in the mid 2000s was irrevocably changed for the worse.
That’s great news! I’m a HUGE fan of chest hair.
How many j’s has this photo been pegged? My dear sweet pixelated Jesus.
Lemming is the correct answer, but I’ll also accept Lemmin’ mostly because I’d love for there to be some kind of meet-up, like a Lemmin’ Party or something.
When I was a kid, I watched this and Labyrinth so much. I’m pretty sure I have both on dvd if not bluray. I feel like I need to pull them out.
Children of Men is so good. I love this thread because I’m seeing mentions of so many great movies that I used to watch all the time but I realize it’s been ages since I’ve last seen them.
I love this movie! So much fun.
Isn’t daylight savings time 8 months of the year? The four “winter” months are when we’re on standard time, so seems like it would be pretty easy to ignore DST during those 4 months. Or maybe I am misinterpreting?