I'm programming with ChatGPT running right in my Visual Studio IDE.
Man this stuff is GREAT.
All sorts of obscure minutia I can now safely dump out of my brain, and make room for more important stuff.
Let ChatGPT do the "remember the syntax for that operation I need to do once every 8 months".
So I just saw this query question on LinkedIn, wondering if a valid answer would be:
"Only if the pattern to your strategy is to find a new programming platform and dump PHP..."
It is REALLY hard to troubleshoot a stateless function process that has a lot of incoming data, and needs to mix a low latency, low cost, but limited query caching system, and a high latency, high cost, permanent data storage target.
Where the same target entity is possibly being manipulated by multiple functions in a stateless manner.
It runs just fine when run one at a time, but when run full firehose...
There is a bug in my logic, but I can't find it.
Why do buses hate programmers so much?
I had a co-worker who insisted that Git commits must have a common commit message format. He wanted "Checked in to <put why you made this change>"
So I had my team set up commit messages to always be in the form of "Upworthy Clickbait Headline".
"Updated build, now with <put in what change was made>"
and
"After this change you won't believe that now <describe behavior change>"
He did not find that funny at all.
Who can tell me (without looking it up) what is the correct HTTP code to use if you are unable to respond to a request due to governmental restrictions placed on the data you have and the conditions under which you may share it?
Extra points, again without looking it up, why did the internet working group choose that particular code?
Tfw you realize the computer has been telling you for the past 2 hours EXACTLY why you can't debug the crash...
And it was absolutely and to the letter correct... when you take the time to actually carefully read it and process what it is telling you!
I love C# over VB, but there is still one that that really bugs me about C# (and any other C like lang) and that is the need for a semi-colon to end a statement.
Why? because I hate being forced to program for the usual instead of just for the exception.
Most (like 90%) of my lines of code fit on ONE LINE.
I should only have to "code" for that 10% that needs to take up more than one line (the VB default).
the other 90% of the time, my line return should be sufficient.
Professional Tip: A `Thread.Yield()` is likely to have as much success with dealing with your bug in C# as `DoEvents()` did in VB 3-6
"Dear Compiler, I want you to completely ignore any pre-built pdb or obj or dll or exe files and rebuild as if from a clean startup repository."
"Okay... sorry, got an error I can't convert datetime to datetimeoffset"
me: closes dev environment, manually deletes all pdb, obj, dll, and exe files.
me: reopens dev environment
"Dear Compiler, please rebuild"
"Okay.... here you go"
π€¦ββοΈ π€¦ββοΈ
95% of all programming is being absolutely convinced that in the context of banging your head against a brick wall, your head will win, and sticking with it, no matter how much it HURTS..
IT HURTS SO MUCH!!!
So who else agrees with me that quantum computers are NOW to be called Quamputers?
Thanks to Black Mirror for that name.
(Someday I'll successfully manage to proofread my toots before I post them.
But that day is NOT today)
Linq statements allow me to do SO many things so quickly in "one" line of C# code. I love using them.. except for...
3+ months later when I have to spend 5 minutes reminding myself EXACTLY what that complex linq statement actually accomplishes.
It almost makes C# code as bad as C++.
I love Linq... I beginning to believe Linq SHOULD NOT be used in production code if the line does more than 1 linq operation.
I love the editorial comments I come across that I left 7 years ago when I was first starting out working with Data provided from the FAA, complete with emoticons!
/// APPARENTLY, Boundry Crossing Updates are PREDICTIVE, not descriptive of the actual flight.
/// π(ΰ² _ΰ² )π
Dependency Injection is both great and horrible.
Once it's up and running, dependent code can go quickly.
But may the gods have mercy on your soul if something goes wrong in the black box that is DI.
"Oh please if you can't take a bloody nose go crawl back in bed!
"It's not SAFE using DI: it's wonderous, with treasures to satiate desires both subtle and gross...
"but, it's not for the timid!"
Folks I'm a programmer with 2 degrees and over 30 years in the field.
About ChatGPT and other AI systems
1. if someone tells you an AI is sentient or if someone tells you an AI ISN'T sentient, they are talking out their ass. They have no scientific proof one way or the other but there is some strong circumstantial evidence for a possible odd type of sentience.
AI is not SkyNet and will not destroy humanity or the world.
We are quite capable of doing that all by ourselves.
Folks if you are a programmer and you have not yet tried Bing's ChatGPT interface for trying to search for programming information, you totally owe it to yourself to try it head to head with Google.
It is without a doubt work flow changing for me. I'm spending a hella of a lot less time searching for just the right example for what I'm trying to do with the specific set of libraries and dependencies I'm using.
I've just replaced Bing.com as my default search engine in my browsers, and put it into chat mode when doing a programming question.
Finally, I can get my answer in less than 30 minutes of hunting thru Google links that are old or not applicable.
I for one am happy to bow down to our AI overlords!
(VERY) Gay π³οΈβπ White Cis Male. Hard 6. Recovering Alcoholic. Snarky sarcastic Liberal. Computer Programmer. If you don't like Firefly you are dead to me!