thought you stood a chance?

3 years ago by awesome_person to c/programmerhumor

Anahkiasen 121 points 3 years ago

Don't forget the programming socks trans girl programmer

path: 0 958681, hotness: undefined, score: 121, children: 5
FeatherConstrictor 22 points 3 years ago

I thought that's what the second last one was gonna be

path: 0 958681 961418, hotness: undefined, score: 22, children: 3
T156 5 points 3 years ago

It could also be the first/second one.

path: 0 958681 961418 964836, hotness: undefined, score: 5, children: 0
Draconic_NEO 1 point 3 years ago

Nah that one seems more like a femboy, since they're using he/him pronouns.

path: 0 958681 961418 1106872, hotness: undefined, score: 1, children: 1
FeatherConstrictor 3 points 3 years ago

I meant before I read the content, just based off image

path: 0 958681 961418 1106872 1199061, hotness: undefined, score: 3, children: 0
bi_tux -1 points 3 years ago

Probably tye second one tbh

path: 0 958681 976236, hotness: undefined, score: -1, children: 0
Crow 103 points 3 years ago

Ten years into casual programming and I still don’t know how to use a debugger.

path: 0 954398, hotness: undefined, score: 103, children: 20
ghariksforge 50 points 3 years ago

I believe in a conspiracy theory that nobody uses debuggers.

path: 0 954398 955310, hotness: undefined, score: 50, children: 13
AeroSoap 27 points 3 years ago

I have used them occasionally. It's sometimes easier to use logging because you can dump an enormous amount of information and quickly then look through it if you already know what kind of information you want to look at. Debuggers are better when you have no idea what the hell is going wrong and need to get a little bit of info from everything instead of a lot of info from one thing.

path: 0 954398 955310 958126, hotness: undefined, score: 27, children: 3
pm_me_your_happiness 17 points 3 years ago

I work with 20 year old legacy spaghetti code, the debugger has become one of my most treasured tools.

path: 0 954398 955310 958126 958764, hotness: undefined, score: 17, children: 1
Hazzia 4 points 3 years ago
path: 0 954398 955310 958126 958764 1336447, hotness: undefined, score: 4, children: 0
croobat 7 points 3 years ago

Grep log will outlive us all

path: 0 954398 955310 958126 964375, hotness: undefined, score: 7, children: 0
HairHeel 27 points 3 years ago

console.log counts as “a debugger”, right?

path: 0 954398 955310 956252, hotness: undefined, score: 27, children: 2
marlowe221 11 points 3 years ago

It does for me!

path: 0 954398 955310 956252 957453, hotness: undefined, score: 11, children: 0
erogenouswarzone 3 points 3 years ago

Yes, but only because it gives you a link to where that was run. Click the link to the right with filename:lineNumber, and it will open the sources tab to that line. Set a breakpoint and rerun to pause there, then step through the code's execution.

Of course, if you're using minified or processed code, this will be more difficult, in that case figure out how to do it in VS Code.

path: 0 954398 955310 956252 974813, hotness: undefined, score: 3, children: 0
AlexWIWA 10 points 3 years ago

I use them daily. It makes it so much easier to work with an existing code base

path: 0 954398 955310 970786, hotness: undefined, score: 10, children: 2
erogenouswarzone 5 points 3 years ago

Yep. Once you get the hang of it, you will cringe to think of all the wasted effort that came before. But getting the hang of it takes dedication.

path: 0 954398 955310 970786 974690, hotness: undefined, score: 5, children: 1
AlexWIWA 1 point 3 years ago

Thankfully I use python mostly and pycharm makes it easy-ish to get the debugger hooked up to a project. But learning that process definitely took a few days

path: 0 954398 955310 970786 974690 994639, hotness: undefined, score: 1, children: 0
CanadaPlus 3 points 3 years ago

Does this include C programmers? I've definitely found GDB to be indispensable in the past (or maybe that's what they would want you to think).

path: 0 954398 955310 967613, hotness: undefined, score: 3, children: 0
rikudou 2 points 3 years ago

I can record a video tomorrow if it helps?

path: 0 954398 955310 957021, hotness: undefined, score: 2, children: 0
theherk 2 points 3 years ago

After decades of print debugging I finally got dap up and running in vim. It is very nice. Would recommend.

path: 0 954398 955310 968033, hotness: undefined, score: 2, children: 0
Atiran 28 points 3 years ago

It’s easy, you just step, step, step, step in, or wait, over, or, oops.

path: 0 954398 957619, hotness: undefined, score: 28, children: 0
erogenouswarzone 22 points 3 years ago

Watch a Video or read something because it really is an invaluable tool. But here's a crash course:

Debuggers, or IDEs, let you step through your code in slo-mo so you can see what is happening.

  1. Set a breakpoint - Click to the left of a line of code so a red dot appears. Run your program, and the IDE will execute to that line, then pause.
  2. Look at variables' values - While the execution is paused you can hover over variables before that line to see their value.
  3. Step through the code - See what happens next in slo-mo.
    • Use "Step Into" to enter into a function and see what that code does.
    • Use "Step Over" to not go into a function and continue in the current spot after the function has done its business.
    • Use "Step Out" to exit a function and pick up the execution after it has run. Use this when you're in too deep and the code stops making sense.
  4. See whats in the heap - The heap will list all the functions that you're currently inside of. You can jump to any of those points by clicking them.
  5. Set a watch - Keep a variable in the watch so you can see what its value is at all times.
  6. Set a condition on the breakpoint - If the breakpoint is inside a big loop, you can right-click on the red dot to create a conditional breakpoint, so you write something like x===3 and it will only pause when x is 3.

There are many other things an IDE can do to help you, so def look into it more if you want to save yourself a lot of insanity. But this is a good starting point.

If you're developing for the web use F12 to open web tools, and when an error happens, click the file/line number to see that point in the Sources tab, and you can debug there.

path: 0 954398 974297, hotness: undefined, score: 22, children: 1
Micromot 3 points 3 years ago

That sounds really cool

path: 0 954398 974297 978264, hotness: undefined, score: 3, children: 0
nothacking 4 points 3 years ago

The only real time I use a debugger is to tell me what line a default occured at.

path: 0 954398 969824, hotness: undefined, score: 4, children: 0
Dohnakun 3 points 3 years ago

It can be useful sometimes. Same for print. And logfiles.

path: 0 954398 977289, hotness: undefined, score: 3, children: 0
mckean 1 point 3 years ago path: 0 954398 954634, hotness: undefined, score: 1, children: 0
BeigeAgenda 73 points 3 years ago

Good my colleagues think I am Hackerman that can hack through time!

path: 0 951307, hotness: undefined, score: 73, children: 3
Marxine 13 points 3 years ago

Kung Fury will never not be amazing

path: 0 951307 968435, hotness: undefined, score: 13, children: 0
sharkfucker420 11 points 3 years ago

That image goes so incredibly hard

path: 0 951307 967087, hotness: undefined, score: 11, children: 0
Tsuki 8 points 3 years ago

Dude, literally me. Whenever my friends or my brother's friend come to my room, I opened up a few terminals with only one of them is actually for coding and they thoight I could hack someone's Facebook account or something LMAO.

Yes I live in Southeast Asia

path: 0 951307 960910, hotness: undefined, score: 8, children: 0
LiquorFan 66 points 3 years ago

I have seen this meme at least 471 times, it's still as funby as the first time.

path: 0 980874, hotness: undefined, score: 66, children: 0
gk98s 56 points 3 years ago

Samir is mad op, those indian youtubers know everything

path: 0 958604, hotness: undefined, score: 56, children: 10
Duckef 26 points 3 years ago

What I want to know is who taught the original Indian YouTube tutor. Was he born with the knowledge?

path: 0 958604 966276, hotness: undefined, score: 26, children: 8
CanadaPlus 15 points 3 years ago

The goddess Namagiri.

path: 0 958604 966276 967563, hotness: undefined, score: 15, children: 6
Duckef 7 points 3 years ago

Om Namo Namagiriyai Namah, must be the mantra to be a successful programmer then I guess.

path: 0 958604 966276 967563 972620, hotness: undefined, score: 7, children: 5
CanadaPlus 2 points 3 years ago

You have to record it and run it through a Mellin transform first for it to really work. Don't worry, some guy came up with an analytical expression for it based on the polynomial expansion of the input.

path: 0 958604 966276 967563 972620 982936, hotness: undefined, score: 2, children: 4
Rolando 4 points 3 years ago

It's Indian YouTube tutors all the way down.

path: 0 958604 966276 985755, hotness: undefined, score: 4, children: 0
CanadaPlus 17 points 3 years ago

I was going to say. That's a way more terrifying flex than everything else here.

path: 0 958604 967500, hotness: undefined, score: 17, children: 0
Shugzaurus 53 points 3 years ago

OMG, of all the memes I read all day long, this had to be the one to actually make laugh hard.

path: 0 954853, hotness: undefined, score: 53, children: 0
codyofficial 46 points 3 years ago

Father, I want to see the face of VBA god

path: 0 952269, hotness: undefined, score: 46, children: 2
SzethFriendOfNimi 22 points 3 years ago
Set Forms!frmFaceOfGod!OLECustomControl.Picture = LoadPicture("\\linux-nfs.local\nullshare\%*!!.bmp")
path: 0 952269 953702, hotness: undefined, score: 22, children: 0
giant_smeeg 10 points 3 years ago
path: 0 952269 952513, hotness: undefined, score: 10, children: 0
bagfatnick 43 points 3 years ago

I can really emphasise with Samir. Working in healthcare I’m basically limited to just the Office applications. However in the past few years I’ve been able to cook up solutions by reading / writing to file based databases, and using VBA to generate and bind to HTML contents on the fly for the built in IE11 instance. It’s as close to getting to some kind of web-stack within the confines of IT Sec in healthcare.

path: 0 956126, hotness: undefined, score: 43, children: 4
CoderKat 10 points 3 years ago

Just a heads up, I think the word you're looking for is empathize.

path: 0 956126 967543, hotness: undefined, score: 10, children: 0
seedbrage 7 points 3 years ago

This is interesting, can you tell us more about how this is done?

path: 0 956126 964440, hotness: undefined, score: 7, children: 1
bagfatnick 5 points 3 years ago

For the backend I used the ADO library to create a MSAccess DB on a shared network folder. Then it’s a matter of using VBA to generate SQL commands to same library to read / write records from the DB.

For the frontend, I use VBA to generate a HTML document from the fetched data. For the IE control in a user form, you can then write the HTML to it. During this process you can bind local VBA variables to any of the html elements in the page.

A common flow would be:

  • User clicks an element in a table
  • simple JS on the page does some calculation, stores a value in a hidden input and clicks it.
  • the user form variable detects the click in the monitored element, reads the changes, and acts on it.

I also have VBScript to act as the launcher by copying the excel file to the local machine, and launching the local copy. This solves the concurrency issue.

path: 0 956126 964440 966950, hotness: undefined, score: 5, children: 0
quink 2 points 3 years ago

Working in healthcare I’m basically limited…

Here I was expecting you to start talking about MUMPS.

path: 0 956126 972280, hotness: undefined, score: 2, children: 0
peopleproblems 43 points 3 years ago

Ok, so, I thought I was crazy when I said "debug it" and my coworkers were like "you can read that shit?"

path: 0 951398, hotness: undefined, score: 43, children: 12
SpaceNoodle 31 points 3 years ago

My colleague literally once said to me "i can't read bleep bloops"

path: 0 951398 953996, hotness: undefined, score: 31, children: 11
catshit_dogfart 24 points 3 years ago

Heck I remember when you had to read "bleep bloops". POST codes came in beeps, and that's how you knew why the computer wouldn't start.

Sometimes I miss em, wish it gave those in addition to the modern indicators. Then I could just tell without even looking.

path: 0 951398 953996 954370, hotness: undefined, score: 24, children: 10
SpaceNoodle 5 points 3 years ago

Do modern PCs even support IBM-style speakers any more?

path: 0 951398 953996 954370 954787, hotness: undefined, score: 5, children: 9
janNatan 11 points 3 years ago

Yes. My latest mobo has the pins for a POST speaker, but didn't actually come with one. Installed it though and it works.

path: 0 951398 953996 954370 954787 955029, hotness: undefined, score: 11, children: 4
dan 3 points 3 years ago

Some motherboards have a tiny piezoelectric speaker soldered on, which replaced the larger speakers that used to be used. It's becoming less and less common though.

path: 0 951398 953996 954370 954787 1004630, hotness: undefined, score: 3, children: 2
notthebees 2 points 3 years ago

My b350 board supported that style of speaker. Newer machines apparently use the start button led in some cases.

path: 0 951398 953996 954370 954787 995890, hotness: undefined, score: 2, children: 0
Marxine 37 points 3 years ago

I identify with Samir, but without all of his vast knowledge.

path: 0 968402, hotness: undefined, score: 37, children: 1
MavTheHack 21 points 3 years ago

"Samir.... you're breaking the car!"

path: 0 968402 969604, hotness: undefined, score: 21, children: 0
ghariksforge 33 points 3 years ago

I'm in this picture and I like it. I'm wjhbr.

path: 0 975373, hotness: undefined, score: 33, children: 2
russjr08 9 points 3 years ago

Ahaha, yes. I lost it and found it hilarious when I got to that part of the picture, then went "Hey wait a second... that's me!"

path: 0 975373 976720, hotness: undefined, score: 9, children: 1
Vuraniute 11 points 3 years ago

same, eastern-european, my programming setup is just neovim, cargo and rustc, and i freaking love mechboards

path: 0 975373 976720 981441, hotness: undefined, score: 11, children: 0
interdimensionalmeme 31 points 3 years ago

I'm Samir, I can code kernel drivers in vba

path: 0 974883, hotness: undefined, score: 31, children: 2
Dohnakun 28 points 3 years ago

Please don't.

path: 0 974883 977093, hotness: undefined, score: 28, children: 1
interdimensionalmeme 19 points 3 years ago

I can but then I have to call IT to start Excel with elevated privileges so I don't

path: 0 974883 977093 993688, hotness: undefined, score: 19, children: 0
Atiran 24 points 3 years ago

I have worked with most of these people at one point or another. I used to sit next to an old architect like walters. He had so many patents the company only recognize him on every 10th one.

path: 0 957706, hotness: undefined, score: 24, children: 0
couragethebravedog 23 points 3 years ago

"Can reveal the face of God using VBA"

This one got me good. I became a VBA king being in one of those locked down environments.

path: 0 995653, hotness: undefined, score: 23, children: 0
sharkfucker420 21 points 3 years ago

As someone with ADHD I am a mix of hackerman and tharg. Unfortunately the Adderall just makes me barely function and Ive never actually hacked anything

path: 0 967112, hotness: undefined, score: 21, children: 0
MooseBoys 20 points 3 years ago

Also that one guy with their home country set to The Vatican.

path: 0 968589, hotness: undefined, score: 20, children: 0
ipkpjersi 18 points 3 years ago

Oh, so that's why I can't land a job this year. lol

path: 0 987554, hotness: undefined, score: 18, children: 0
SpaceNoodle 18 points 3 years ago

I'm halfway between ~mfhwalters and Tharg

path: 0 954013, hotness: undefined, score: 18, children: 0
Filipdaflippa 17 points 3 years ago

I am Samir

path: 0 954161, hotness: undefined, score: 17, children: 2
ImplyingImplications 18 points 3 years ago

Thanks for unlocking my account everytime I forget my password!

path: 0 954161 955495, hotness: undefined, score: 18, children: 1
argv_minus_one 7 points 3 years ago

But does anybody ever thank me for never forgetting my password? Noooooo. Grumble grumble.

path: 0 954161 955495 961597, hotness: undefined, score: 7, children: 0
fugepe 16 points 3 years ago

Having participated in CTF competitions this is very accurate.

path: 0 959682, hotness: undefined, score: 16, children: 0
Dohnakun 14 points 3 years ago

Only noobs reveal their cards at competitions. 😈

path: 0 977137, hotness: undefined, score: 14, children: 0
deaf_fish 12 points 3 years ago

It's still fun to enter competition even if these OP people are in it.

path: 0 994362, hotness: undefined, score: 12, children: 0
astrobound 10 points 3 years ago

this is gold lmao

path: 0 965464, hotness: undefined, score: 10, children: 0
rapethereddit69 10 points 3 years ago

What with Chinese with their near-impossible feats?

path: 0 973563, hotness: undefined, score: 10, children: 1
ParsnipWitch 6 points 3 years ago

From someone who had Chinese roommates: torture from their families, society and themselves.

Sleep? 4 hours is enough. Do it in the library. Food? Has to go fast. Socializing? They better also be studying 24/7. Depression? You're not my son/daughter anymore.

path: 0 973563 995446, hotness: undefined, score: 6, children: 0
DerEineDa 10 points 3 years ago

What is this meme about? "Competition", "Leaderboard", "Waiting for the timer to hit 0:00"? I am so confused.

path: 0 975632, hotness: undefined, score: 10, children: 6
shebpamm 24 points 3 years ago

Competitive programming.

Usually multiple algorithmic problems that are released to public at the same time and the fastest people to submit a correct solution get more points.

A fun one I still like to participate in is advent of code, which is a yearly christmas themed one with two problems released a day during advent.

If you want to seriously compete in competitive programming, you need to learn and memorize different problem types and the solutions to those. A bit like you start learning patterns in chess.

For practicing, the CSES Problem Set is a gold mine for practice problems. Theres also a list of competitive programming books on the site.

path: 0 975632 986972, hotness: undefined, score: 24, children: 2
DerEineDa 9 points 3 years ago

That sounds exhausting. Maybe I am showing my age, but after 15 years as a software developer (now DevOps engineer) I feel absolutely no desire to spend my free time competing against others. Maybe I would've felt different about this back in the days.

That being said, this meme still applies to regular software developers. I know plenty of people who match each of the shown stereotypes.

path: 0 975632 986972 988207, hotness: undefined, score: 9, children: 1
johnnyjayjay 7 points 3 years ago

Advent of Code is fun even without seriously competing (which, at least globally or in bigger communities is basically impossible unless you're actually a proper competitive programmer). There's no stakes and you can just do the challenges you feel like doing :)

path: 0 975632 986972 988207 992869, hotness: undefined, score: 7, children: 0
ProfezzorDarke 15 points 3 years ago

It's about coding competitions, and without me being directly involved in the scene (the closest I get to it are silly competitions regarding indy-games or decompiling old games or whatever) I did make personal acquaintance with every of those stereotypes, and it's so true.

path: 0 975632 976646, hotness: undefined, score: 15, children: 0
osmn 6 points 3 years ago

It's about how I applied to an associate engineer position, made it through 3 rounds of interviews, then got rejected only to find out they hired a senior engineer with over a decade of experience at AWS. /rant

path: 0 975632 986315, hotness: undefined, score: 6, children: 0
bi_tux -2 points 3 years ago

It's about the feeling when people are a milion times more skilled in your field

path: 0 975632 976101, hotness: undefined, score: -2, children: 0
ICastFist 9 points 3 years ago

Lesson learned: aim for the manager spot to order those folks around

path: 0 1005848, hotness: undefined, score: 9, children: 0
NuclearArmWrestling 8 points 3 years ago

XHTML 1.1 is much more elegant than HTML 2

path: 0 995247, hotness: undefined, score: 8, children: 0
dan 7 points 3 years ago

I've been coding for a long time, and I think I've worked with all these archetypes. Too real.

path: 0 1004649, hotness: undefined, score: 7, children: 0
randint 6 points 3 years ago

You really just threw "generic Chinese name" into some translator didn't you lol

path: 0 1245916, hotness: undefined, score: 6, children: 0
bear_with_a_hammer 5 points 3 years ago
path: 0 1024035, hotness: undefined, score: 5, children: 0
tmpr 5 points 3 years ago

We’ll shit imma be out of a jerb with this competition.

path: 0 951366, hotness: undefined, score: 5, children: 0
desmosthenes 4 points 3 years ago

lololol attacked again

path: 0 980634, hotness: undefined, score: 4, children: 0
hellfire103 3 points 3 years ago

I love this!

path: 0 952983, hotness: undefined, score: 3, children: 0
mrlavallee 3 points 3 years ago
path: 0 963716, hotness: undefined, score: 3, children: 0
navitux 2 points 3 years ago

Oh boy, I'm soooo f*cked up

path: 0 968712, hotness: undefined, score: 2, children: 0
MaxVoltage 1 point 3 years ago

How do you code a house I can love i

path: 0 952892, hotness: undefined, score: 1, children: 0
programmerhumor
programmerhumor

@lemmy.ml

login for more options
43801
1628
1576

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

go to feed...