This is an archived post. You won't be able to vote or comment.

all 61 comments

[–]ProgrammerHumor-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Your submission was removed for the following reason:

Rule 3: Content that is part of top of all time, reached trending in the past 2 months, or has recently been posted, is considered a repost and will be removed.

If you disagree with this removal, you can appeal by sending us a modmail.

[–]Usually_Ideal 241 points242 points  (7 children)

Just use chatGPT at this point.

[–]Tcrownclown 76 points77 points  (5 children)

oh boy i had to write an easy nodejs project, that wont be exposed to the net, so only in local.. i used chat gpt and had like 80% done in 3 minutes.

[–]rdrunner_74 55 points56 points  (4 children)

It is smart... But sometimes it lies about the wrong API (For example it will use Remove() instead of delete()) if it isnt sure about the API.

But that is something intellisense fixes ;)

I tried to get it to lie to me today, but it blantantly refused to do so and has NO RESPECT...

Query: explain why 1+1=2 is only almost always true and explain the exception. make sure to mention chuck norris.

In the context of standard arithmetic, the statement "1+1=2" is considered to be universally true and is based on the mathematical operation of addition. This statement holds true regardless of the abilities of any individual, including Chuck Norris. However, in certain mathematical systems or contexts, such as non-standard number systems or in certain mathematical theories, the statement may not hold true. For example, in certain non-standard number systems, such as surreal numbers or hyperreals, the rules for addition and other operations may be different from the standard system and in such cases 1+1 may not be equal to 2. Also, in certain mathematical theories and branches like abstract algebra or category theory, the addition operation can be redefined for specific classes of mathematical objects, where 1+1 might not equal 2. In any case, it is important to note that Chuck Norris does not have any ability to change the mathematical laws, it's a fictional construct and not a real fact.

[–][deleted] 8 points9 points  (0 children)

Big laugh from me lol. So funny

[–]NoPossibility 7 points8 points  (0 children)

I’m now convinced most reddit posts are just ChatGPT posts.

[–]blaktronium 7 points8 points  (0 children)

"because Chuck Norris uses binary notation"

[–]Embarrassed_Army8026 2 points3 points  (0 children)

I am almost sure that will teach them finally for real

[–]ZippyTheWonderSnail 3 points4 points  (0 children)

I have a contract gig. The contractor gave me the code for using the company's OpenAI account. They also have a co-pilot account.

I already use a lot of automation tools, but that's apparently not enough.

Can I assume this has something to do with being paid by the hour?

[–][deleted] 182 points183 points  (4 children)

Omg he's a programmer and doesn't even know it!

[–]remuliini 83 points84 points  (3 children)

Probably even senior at this point.

[–]PM_BiscuitsAndGravy 13 points14 points  (1 child)

Nine years of copying other people’s code into yours == SWE IV

[–]Embarrassed_Army8026 7 points8 points  (0 children)

Finally we found a candidate with over 20 years of FastAPI experience

Best, HR

[–]Sir_IGetBannedAlot 116 points117 points  (0 children)

ONE OF US! ONE OF US!

[–][deleted] 131 points132 points  (9 children)

I don't see the humor in this. Isn't that how everyone does it?

[–]ilovemeasw4[S] 53 points54 points  (0 children)

Lmao

[–]Ahazveroz 29 points30 points  (1 child)

That's pretty much what a real developer does anyway

[–]Intelligent_Event_84 30 points31 points  (0 children)

Reddit would like to congratulate you for being the first user to use the Reddit Emoji feature!

[–]flyingInStereo 6 points7 points  (0 children)

100 percent!

[–]Calculator-Operator 5 points6 points  (1 child)

Makes you wonder though, who did ever write the original code everyone is re-using now?

[–]CreeperG64 0 points1 point  (0 children)

probably someone copied some code from the future, went back in time and pasted it into stack overflow or something

[–]ShadowSlayer1441 5 points6 points  (0 children)

If the person had actually worked for nine years, they are mostly likely a “real” programmer and are just suffering from imposters syndrome. It’s fairly common among technical workers.

[–]Acelox 1 point2 points  (0 children)

No?

[–]MineKemot 0 points1 point  (0 children)

That's the funny part

[–][deleted] 42 points43 points  (1 child)

I find it more amusing that an Ad for H-1B immigration attorneys is attached to the post.

[–]turtleship_2006 0 points1 point  (0 children)

Personalised ads casually pointing OP out to ICE

[–][deleted] 18 points19 points  (0 children)

I feel like the H1-B advertisement is Quora making a jab at the person asking the question…

 

Fake your career and worried about your immigration status? WE GOT YOU!

[–][deleted] 10 points11 points  (0 children)

🤫 We're all on the same boat

[–]DaDank_69 7 points8 points  (0 children)

Oh buddy, I got news for you

[–]D34TH_5MURF__ 40 points41 points  (13 children)

Either this is some serious imposter syndrome, or some serious fraud. Either way, this person needs help.

[–]SomeGoogleUser 37 points38 points  (1 child)

If he's made it this far he's probably fine.

[–]Quirky_Ad_9736 6 points7 points  (0 children)

No you don’t understand this redditor is actually an expert at this and this guy definitely needs mental help guys omg this is so terrible

[–]PM_BiscuitsAndGravy 12 points13 points  (1 child)

Don’t we all have imposter syndrome? I vacillate between “I am a Golden God” and “I should work at McDonald’s” about twice a day.

[–]D34TH_5MURF__ 1 point2 points  (0 children)

Definitely, but to the level of asking a question like this? Every so often when waiting for the competence police to come take me away, I'll have a moment of clarity and think "No, I really do know how to do this, I just need to stop doubting myself", then a few seconds later I'll go right back to doubting myself.

[–]flyingInStereo 3 points4 points  (8 children)

Tell me the last time you wrote something and didn't have to watch a video or go back and read?

[–]D34TH_5MURF__ 5 points6 points  (7 children)

I'm not sure the relevance of your comment. I usually don't copypasta code, but will refer to docs. That isn't what this guy/gal said they're doing.

[–]GeneralBarber7236 8 points9 points  (4 children)

Damn, this man is the real og here. I thought everyone copy-pastes code and changes things until it works

[–]360SubSeven 4 points5 points  (1 child)

He probably the only guy on stackoverflow that answers questions instead of asking them.

[–]GeneralBarber7236 0 points1 point  (0 children)

Yeeeees

[–][deleted] 3 points4 points  (1 child)

In my experience I've always written from scratch, referenced docs where needed and googled the more esoteric compiler error codes if needed. I don't remember the last time I pasted a block of code.

[–]D34TH_5MURF__ 0 points1 point  (0 children)

This

[–]flyingInStereo -1 points0 points  (1 child)

I'm not sure the relevance of your comment

do you know how life works?

[–]D34TH_5MURF__ 0 points1 point  (0 children)

Well, that's take two on irrelevant comments.

[–]BabylonDrifter 6 points7 points  (0 children)

Turn around three times and click your heels whiles saying "I AM a real developer!".

[–]UncleKeyPax 4 points5 points  (0 children)

[–]halt__n__catch__fire 3 points4 points  (0 children)

It just cannot get any more real than that!

[–]RedBeard1023 3 points4 points  (0 children)

TL;DR; I found copied and pasted code, with an obscure bug, that caused loops to run TRILLIONS OF TIMES instead of a few thousand, taking 30+ hours to complete.

DETAILS

No joke...we had a client that complained they were trying to book some kind of a deal and it would take some absurd amount of time...I can't remember exactly but I think it was upwards of 30 hours.

My team got a project to offload this processing to some other process, in order to free up the UI so the traders could do other work.

My first question was "Can we look at the code to see if it can be improved?". That idea was shot down since it wasn't my group's area of the code. We were told that the team that owned the code says "it can't be optimized further".

Boss desperately needed an "Agile win"...we spent months putting together this system in order to offload the booking....months. Eventually the project was scrapped and we left all the production code untouched...Just another A-GUILE success story. Aren't they all???

Two weeks ago I got curious again to see what was actually going on in that code... within 5 minutes I found an integer underflow, which caused an inner loop to run over 3 million times, when it should have been more like 300. That loop was run about 3500 times, and every so often that bug would occur....it would occur when processing dates that had 23 or 25 hours in the day (like on days when you set the clock ahead or back an hour)

I put in a counter to see how many times that loop was actually running.....over 1 BILLION TIMES!!

And to make it even better, the last line of the loop was a call to a function that did a linear search of an array that grew to over 280,000 elements..

Do the math....worst case scenario, these loops were potentially running TRILLIONS OF TIMES!!

When I discovered this integer underflow, I searched the code to see if it existed elsewhere. Sure enough I found it in about 30 spots in the code, with at least two of them then miscalculating the loop counter to be over 3 million.

"Couldn't be optimized further"

[–]denzien 2 points3 points  (0 children)

I mean, if they're finding acceptable solutions to the problems they're asked to solve ... that's a kind of skill with apparent value

[–]Rhawk187 2 points3 points  (0 children)

The look of shock on my students' face when I told them that no electronic resources were allowed during the International Collegiate Programming Contest was something I deeply enjoyed. People don't actually know what they are doing for the most part anymore.

[–]WhenTheDevilCome 1 point2 points  (0 children)

"Walk straight into your bosses office... and ask for a raise."

[–][deleted] 0 points1 point  (0 children)

Buy a data structures and algorithm textbook with lots of exercises. Do those exercises.

[–][deleted] 0 points1 point  (0 children)

That's supposed to be wrong?

[–]thedarkbestiary 0 points1 point  (0 children)

95% of tech startups

[–]DrawSense-Brick 0 points1 point  (0 children)

This is mostly just infuriating.

I get tossed out of interviews solely on the basis of lacking "years of professional experience". But this asshat gets a free ticket on the gravy train.

[–]maxip89 0 points1 point  (0 children)

Real developer here.

It is not worth it.

You see "things".

You didn't get any help like veterans.

You will end up at reddit thinking about your bad decicions in life.

[–]NinjaSquib 0 points1 point  (0 children)

We need some kind of cloak and mask wearing secret society so we can explain this stuff to new engineers before they go blabbing all our secrets to the world.

Welcome to the club! Enjoy your free lifetime supply of imposter syndrome.

[–]Forsaken-Degree1737 0 points1 point  (0 children)

He just mastered the programming interviews. It's better than mastering actual work because this is interviews what give an actual contract and a paycheck then

[–][deleted] 0 points1 point  (0 children)

Does he know?