OmnislashIsACloudApp

joined 1 year ago

well deserved this game is wonderful

[–] OmnislashIsACloudApp@lemmy.world 7 points 3 months ago (1 children)

oh yes the standard reply.

Rs actively tearing it down like in Alaska

Ds putting forth a bill to do it but only started by three of them this time around

"both sides are the same!"

yawn

right now not a chance. it's okay ish at simple scripts. it's alright as an assistant to get a buggy draft for anything even vaguely complex.

ai doing any actual programming is a long ways off.

people look at this stuff as a yes or no and that's a major misunderstanding.

I work in tech, and I can tell you 100% you could not just give a job to AI and call it a day.

I cannot even imagine this type of response generation ever being capable of that without developing some sort of true intelligence if for no other reason than to turn bad prompts by people who do not understand what they want or what is possible into functional projects.

that said, but I do believe is possible is that it makes like 5 to 10% of the job a little bit faster. programming is like 10 to 20% writing code and 80 to 90% understanding what that code should be and why it isn't working that way yet.

Even the code you get from it is generally wrong but sometimes useful.

best case scenario I could see right now is not that it replaces jobs but that it makes people more effective, kind of like giving a framer a nail gun instead of a box of nails and a hammer except not that big of an efficiency gain.

ultimately this might mean you do the job with 8 people instead of 10, or something like that.

if it reduced the total number of jobs because it was a tool that made people more effective - did it take the job away?

yeah I've got 400 hours into the phone version alone lol. I'm stoked

[–] OmnislashIsACloudApp@lemmy.world 29 points 10 months ago

I definitely spent a frustrated 45 minutes trying to figure out why curl wasn't working when it was supposed to be supported in PowerShell.

then I hit tab a couple of times and noticed curl.exe was an option, that works exactly the same as I had expected with original syntax.

they do this to a lot of things though a lot of common commands end up being an alias to a powershell command with a specific option set that doesn't always line up

[–] OmnislashIsACloudApp@lemmy.world 24 points 10 months ago (1 children)

oh great I'm sure the training for this will not result in a bunch of things getting "reviewed" and no one being responsible for mistakes at all...

[–] OmnislashIsACloudApp@lemmy.world 15 points 11 months ago

I use awk all the time. a very common and probably simplest reason I use it is it's ability to handle variable column locations for data.

if you know you always want the last field you can do something like

awk '{print $NF}'

but usually using it as for performing more advanced operations all in one go without having to pipe something three times.

sure you can do grep cut grep printf, but you can instead do the pattern matching, the field, the formatting, whatever you need to all in one place.

it's also got a bunch of more advanced usage of course since it's its own language. one of my favorite advanced one liners is one that will recognize if it is going to print a duplicate line anywhere in your output and prevent it. in cases where you don't want to sort your output but you also want to remove duplicates it is extremely helpful and quick rather than running post-processing on the output in another way.

all that said main reason I use it is because I know it and it's fast, there's nothing you can do in awk that you can't do in Python or whatever else you're more comfortable with. The best tool for the job is the one that gets it done quickly and accurately. unless your environment is limited and it prevents the installation of tools you're more familiar with then there's no real reason to use this over Python.