this post was submitted on 30 Nov 2023
64 points (100.0% liked)

Programmer Humor

19187 readers
1091 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 5 months ago

everyone is a little bit gay!

[–] [email protected] 1 points 9 months ago
[–] [email protected] 1 points 9 months ago (2 children)

This is how I look for the best bits in porn

[–] [email protected] 0 points 9 months ago (1 children)

It's got huge amounts of applicability in many lifestyles and situations that most people never realize until the moment arrives. I once played a fun game that had you guess a number between 1 and 1 Billion with them telling you higher or lower to earn your freedom. Takes a couple of minutes at most.

[–] [email protected] 0 points 9 months ago (1 children)

Your first guess should always be 500,000.

[–] [email protected] 1 points 9 months ago

500,000,000*

[–] [email protected] 1 points 9 months ago (1 children)

Fast forward half way and see if the woman is still there?

[–] [email protected] 1 points 9 months ago

I fast forward half way and pray she still isn't slobbering on some knob at that point and they've gotten down to businesses already.

[–] [email protected] 0 points 9 months ago (1 children)

The final project in my instrumentation class was to tune a PID controller for a hot/cold mixing valve. I (CS/ENG) was paired up with an engineering student and a lot of it was throwing parameters in, seeing if weird shit happened, and then turning down or up based on the result. I had a programming final and something else I was supposed to be studying for, so I just started doing a binary search with the knobs. We got the thing tuned relatively fast and my partner acted like I was a wizard.

[–] [email protected] 0 points 9 months ago (1 children)

How do you do a binary search for an open-end scale (are PID params open-end?) and three knobs at the same time when they interdepend in their influence? I need to know since i have a PID tuning on my personal projects plate

[–] [email protected] 1 points 9 months ago

It's been ages, but we'd done rough calculations for the three controls so we roughly knew what we needed. Our teacher was big on manually tuning instead of just using formulas since he thought just running numbers "lacked artfulness."

So we grabbed a point and started searching around manually. I think we were just tuning the derivative portion at that point, trying to get a fast response without the system without it going chaotic and noisy.

load more comments
view more: next ›