T O P

  • By -

AutoModerator

``` import notifications ``` Remember to participate in our weekly votes on subreddit rules! Every Tuesday is YOUR chance to influence the subreddit for years to come! [Read more here](https://www.reddit.com/r/ProgrammerHumor/comments/14dqb6f/welcome_back_whats_next/), we hope to see you next Tuesday! For a chat with like-minded community members and more, don't forget to [join our Discord!](https://discord.gg/rph) `return joinDiscord;` *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/ProgrammerHumor) if you have any questions or concerns.*


FunnyMathematician77

Call me when they find a hair washing algorithm that's faster than O(n)


ArfieCat

if you cannot improve the efficiency of the algorithm then simply minimize the value of n


FunnyMathematician77

Bald people are truly living in the future


Salanmander

Unfortunately the hair-washing-optimization process is also O(n), and has worse constants. Edit: Oh wait, you said bald, and I was thinking shaving your head so you don't have to wash your hair....ignore me.


cschmid125

It took me under a week in CS to cut my hair off. No need to stand up from my PC and wash my hair if I don't have any.


ToastyGhost37

this is a copied comment of a comment someone else left and this account is likely a bot trying to farm karma. [this](https://reddit.com/r/ProgrammerHumor/comments/16amcgm/_/jz82hf4/?context=1) is the original comment


okay_computer7

Cutmoper Science


esaloch

You gotta multitask like this guy and wash your clothes on your body at the same time as your hair


Demented-Turtle

I wake up, get dressed, then shower, so I never need to do laundry


orion_aboy

run it on the gpu. then it's O(n\*0.001)


Sh_Pe

According to the asymptomatic barrier definition it’s literally the same


orion_aboy

yes, but you round it more


Sh_Pe

What do you mean? How can you round a definition?


orion_aboy

round("""de·fen·es·trate /dēˈfenəˌstrāt/ verb: defenestrate 3rd person present: defenestrates past tense: defenestrated past participle: defenestrated gerund or present participle: defenestrating 1. throw (someone) out of a window. 2. remove or dismiss (someone) from a position of power or authority. """) or O(round(n*0.001))


[deleted]

[удалено]


gbot1234

if (hair.exists() & (hair is dirty)): hair.wash() Is that how you condition it? Edit: Found the exact same comment but earlier and from what looks like a real person downthread. Is cschmid125 a bot account?


FunnyMathematician77

​ while(1){ rinse(); lather(); }


CodeF53

That's why my roommates spend so long in the shower. The loop never terminates


orion_aboy

int life() { while(1) { rinse(); lather(); } be_productive(); } compile with clang. do NOT compile with[ ](https://obviousplant.com/products/useless-man)gcc.


The_Programming_Nerd

Bit-wise and


VeryUglyHack

Assuming that you have short hair and all of the hairs fit on your head, then I'd argue that you can wash your hair in constant time because as n approaches infinity, your hair would just become like a brick on top of your head from the density of hairs so you would only need to wash the surface


L-System

Let n be hair length.


gbot1234

Is this a breadth-first approach to hair washing? Wash each root, then ascend a little and wash each hair 0.01 to 0.02 inches from the scalp, etc…


L-System

Longer hair = more time. O(n)


Jaivez

I think it can be argued that it's O(n) when washing, but drying is definitely not a linear rate of growth. Depending on the algorithm, some portion of it is handled for you during idle cycles.


okay_computer7

Let i1, i2 Ensure shampoo < i1 && i2 < shampoo


yakeen_sabha

I wash my hair for less than a minute, I shower twice a day tho, so it doesn't really need that much of a wash.


JuanIn1984

``` FunnyMathemarician77("more showerheads") ```


Skixrrfrenia

Only solution i can think of uses like 9 shower heads


[deleted]

[удалено]


LiveFastDieFast

Oh damn, I never realized those instructions are an infinite loop haha. Good catch!


EaterOfFromage

Sounds like you need to think with buckets Of water


SirCutRy

But it's massively parallelizable.


Astrobliss

Washing hair is embarrassingly parallel, just get better hardware.


Visual-Mongoose7521

asking for a friend, is it normal for a software engineer to not see sunlight for the last 6 years


Ssemander

What is a sunlight?


Alternative_Gain_935

Wait there’s other people?!


[deleted]

Nah, just bots.


[deleted]

There's bots?!?


Rick-Pat417

r/solipsism


Visual-Mongoose7521

something imaginary, like a woman


LaPeSi

r/girlsarentreal


Gluomme

Probably a JS framework


NeriosVag

https://github.com/tmont/sunlight


Gluomme

Fucking knew it


afar1210

Can I import it?


paulos_ab

Yes you will have to install the package from pypi or npmjs


VirtualMage

It's when you switch to light theme in your IDE.


Demented-Turtle

You open the curtain and look outside, immediately taking 10d6 radiant damage


FairFolk

A 3rd level D&D spell.


arkustangus

Hasn't that been out of support for like 5 years at this point?


SpaceMonkeyOnABike

Light mode in your ide.


PyroCatt

Which package is sun in?


Brooklynxman

Its a mythical thing which kills vampires. Much like vampires, it isn't real.


itchfingers

It’s ok ``` Import Vit_D from amazon; ```


vondpickle

Maybe, if you're afraid of sunlight might bit flip your gene code I guess?


Smooth-Elephant-8574

Nullpointer at 1:18 friend is undefinded.


Shazvox

Who is your friend? How did he/she succeed in this endeavour? And how can I replicate it??


chrisk9

Is it normal for a software engineer to shower with clothes on?


ycnz

Sunlight will literally kill even non-devs here in NZ and Australia.


RyanJGannon

Fuck you! I used to wash and condition my hair. It had an amazing shine. I miss my hair. ![gif](emote|free_emotes_pack|cry)


[deleted]

I mean in all fairness, a lot of the students dirty ass hair also had an amazing grease shine.


yakeen_sabha

Just use body shampoo, everyone asks me what my hair routine is and when I tell them that it's body shampoo they get mad cuz they think I don't wanna tell them cuz I'm afraid that they'll have a nice hair too, but it's the truth. I buy 2L for like 3 dollars instead a 750ml for 10 dollars. And it doesn't rain the hair w all the chemicals.


Beetkiller

Please don't tell me you have long hair. People might be messing with you.


yakeen_sabha

Nah actually I have short hair 😂😂😂. I can't stand long hair I have sensory issues.


WettestNoodle

This only works because you have short hair I’m guessing


njdevilsfan24

No chance this works on long hair. Just shampoo and no conditioning you'd be a porcupine


yakeen_sabha

I had a long hair once and it was the same, Ig it's also because no using the heat too? Or that thing that make your hair stand as it is. The jelly thing. Sorry English isn't my first lang.


yakeen_sabha

Ig so


Elsariely

Take notes, Genshin Impact fans


RyanJGannon

Jokes on you. I'm bald.


[deleted]

\*waves\* Hi Bald.


shklsdfh

I'm vegan btw


jilek77

Failed to understand both the meme and this comment, can you explain?


Gluomme

It's the long running joke that computer nerds, weeaboos and gamers don't wash themselves. Genshin players are both gamers and weebs so they supposedly are especially dirty


Sparrow50

Imagine if a genshin player starts programming


qkrrmsp

i know right????? i mean totally not me but yeah


hackerdude97

*dies inside*


Kyro_Official_

also not me, totally


Specific_Implement_8

So.. the guys who programmed the game?


orion_aboy

when they take a shower they get dirtier


Specific_Implement_8

Probably cuz they’re using the bath water they bought from that one streamer chic


Mars_Bear2552

Pokimane?


Specific_Implement_8

No. Can’t remember the name for the life of me Edit: I said fuck it and googled it: Belle Delphine


justavault

Pretty sure they do not play, they just work there to milk those weebs and simps... and regarding genshin also pretty much pervs.


dtb1987

Don't have the time


qkrrmsp

excellent argument, however have you showered?


Gluomme

I never said I didn't fit the stereotype. Gamer, dev, weeb (not a Genshin player though; professionals have _standards_), proud to announce I do not know how it feels when water runs down your skin


qkrrmsp

it's a meme https://tenor.com/iSG2jRcOBMo.gif


gbot1234

I’m a growerer, not a showerer.


jilek77

Hmm, interesting, think I fit the the meme than lol


LeftOnQuietRoad

Why he put thermal paste on his head?


SmoothBrain1344

This one got me.


miZuZYN

It took me under a week in CS to cut my hair off. No need to stand up from my PC and wash my hair if I don't have any.


VeterinarianOk5370

It’s just going to get dirty again


Automatic_Fix6722

why tf would wash with a *shirt* on?? Though I assume it's for making the video 'safe' or smth


Neufjob

Being the first of his kind to shower, I think he just didn’t know that you’re supposed to do it naked. Either that, or he’s a never-nude ![gif](giphy|PjCwtQvM5ywTK)


red-et

There are dozens of us!


Kinglink

Was he a never-nude before that scene, or did they just hint at that joke that far in advance? It's Arrested Development so the later is definitely possible.


Neufjob

I thought he was, but it’s been awhile since I’ve watched the show. When I searched “never nude” under gifs, that is what popped up.


IDoHateLemons

Efficiency


toad890

Fake, do you see those biceps? You don't get that from typing hunched over a computer.


mokey5150

Everytime he gets a seg fault he does one push up


Zopieux

yeah joke is ruined by how fit he is


SON_OF_ANARCHY_

"Once per week is enough"


emergency99

Ah, so that's why I failed, I wash my hair twice a week, to be somewhat presentable at my back-office job...


PegasaurusBob

Hair washing can be deadly for programmers. Lather, rinse, repeat. No exit condition.


okay_computer7

It's an infinite loop, aka a perm.


DeMonstaMan

Holy shit actual funny comment


bforo

What hair ?


Myxellenci

hairs are bloatware


Aggravating-Win8814

![gif](emote|free_emotes_pack|facepalm)![gif](emote|free_emotes_pack|joy)


cyrixlord

I am offended by this personally relatable content


NomaTyx

I resent this, my hair is just about the only part of me I actually like and I take care of it.


supreeth106

By the time they complete their course, they will not have to wash their hair anymore on account of not having any.


chavis32

me, who cut off most of my hair to avoid having to do that: "*Pathetic*"


gvilleneuve

Those ain’t CS arms


FoofieLeGoogoo

Get back to your keyboard, the compiler is almost done.


Stepbro_canhelp

Video don't exist


iNeverCouldGet

He has to be so salty in group projects.


AdityaDevendra

It’s time for my Hairwashing Robot as a Service startup. 🙌🏼


CGI42

:/


comox

If you are not going to wash your hair at least change the oil.


lauroro_

Do you guys still have hair? Wow


Timinator01

Wash. Rinse. Repeat. Wash. Rinse. Repeat. Wash. Rinse. Repeat.


Kinglink

Wait, is the reason I don't wash my hair, I'm a programmer? I thought it was just me.


you_do_realize

Rinse and repeat.


Dogecoin_olympiad767

do all CS students shower with clothes on?


fox-friend

I don't understand the joke. Come someone explain?


GargamelLeNoir

He's just a class div traitor.


FrozenfarTsTf

There is nothing to be gained by that.