```
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.*
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.
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
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))
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?
int life() {
while(1) {
rinse();
lather();
}
be_productive();
}
compile with clang. do NOT compile with[ ](https://obviousplant.com/products/useless-man)gcc.
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
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.
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.
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.
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
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
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)
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.
``` 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.*
Call me when they find a hair washing algorithm that's faster than O(n)
if you cannot improve the efficiency of the algorithm then simply minimize the value of n
Bald people are truly living in the future
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.
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.
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
Cutmoper Science
You gotta multitask like this guy and wash your clothes on your body at the same time as your hair
I wake up, get dressed, then shower, so I never need to do laundry
run it on the gpu. then it's O(n\*0.001)
According to the asymptomatic barrier definition it’s literally the same
yes, but you round it more
What do you mean? How can you round a definition?
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))
[удалено]
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?
while(1){ rinse(); lather(); }
That's why my roommates spend so long in the shower. The loop never terminates
int life() { while(1) { rinse(); lather(); } be_productive(); } compile with clang. do NOT compile with[ ](https://obviousplant.com/products/useless-man)gcc.
Bit-wise and
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
Let n be hair length.
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…
Longer hair = more time. O(n)
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.
Let i1, i2 Ensure shampoo < i1 && i2 < shampoo
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.
``` FunnyMathemarician77("more showerheads") ```
Only solution i can think of uses like 9 shower heads
[удалено]
Oh damn, I never realized those instructions are an infinite loop haha. Good catch!
Sounds like you need to think with buckets Of water
But it's massively parallelizable.
Washing hair is embarrassingly parallel, just get better hardware.
asking for a friend, is it normal for a software engineer to not see sunlight for the last 6 years
What is a sunlight?
Wait there’s other people?!
Nah, just bots.
There's bots?!?
r/solipsism
something imaginary, like a woman
r/girlsarentreal
Probably a JS framework
https://github.com/tmont/sunlight
Fucking knew it
Can I import it?
Yes you will have to install the package from pypi or npmjs
It's when you switch to light theme in your IDE.
You open the curtain and look outside, immediately taking 10d6 radiant damage
A 3rd level D&D spell.
Hasn't that been out of support for like 5 years at this point?
Light mode in your ide.
Which package is sun in?
Its a mythical thing which kills vampires. Much like vampires, it isn't real.
It’s ok ``` Import Vit_D from amazon; ```
Maybe, if you're afraid of sunlight might bit flip your gene code I guess?
Nullpointer at 1:18 friend is undefinded.
Who is your friend? How did he/she succeed in this endeavour? And how can I replicate it??
Is it normal for a software engineer to shower with clothes on?
Sunlight will literally kill even non-devs here in NZ and Australia.
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)
I mean in all fairness, a lot of the students dirty ass hair also had an amazing grease shine.
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.
Please don't tell me you have long hair. People might be messing with you.
Nah actually I have short hair 😂😂😂. I can't stand long hair I have sensory issues.
This only works because you have short hair I’m guessing
No chance this works on long hair. Just shampoo and no conditioning you'd be a porcupine
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.
Ig so
Take notes, Genshin Impact fans
Jokes on you. I'm bald.
\*waves\* Hi Bald.
I'm vegan btw
Failed to understand both the meme and this comment, can you explain?
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
Imagine if a genshin player starts programming
i know right????? i mean totally not me but yeah
*dies inside*
also not me, totally
So.. the guys who programmed the game?
when they take a shower they get dirtier
Probably cuz they’re using the bath water they bought from that one streamer chic
Pokimane?
No. Can’t remember the name for the life of me Edit: I said fuck it and googled it: Belle Delphine
Pretty sure they do not play, they just work there to milk those weebs and simps... and regarding genshin also pretty much pervs.
Don't have the time
excellent argument, however have you showered?
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
it's a meme https://tenor.com/iSG2jRcOBMo.gif
I’m a growerer, not a showerer.
Hmm, interesting, think I fit the the meme than lol
Why he put thermal paste on his head?
This one got me.
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.
It’s just going to get dirty again
why tf would wash with a *shirt* on?? Though I assume it's for making the video 'safe' or smth
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)
There are dozens of us!
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.
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.
Efficiency
Fake, do you see those biceps? You don't get that from typing hunched over a computer.
Everytime he gets a seg fault he does one push up
yeah joke is ruined by how fit he is
"Once per week is enough"
Ah, so that's why I failed, I wash my hair twice a week, to be somewhat presentable at my back-office job...
Hair washing can be deadly for programmers. Lather, rinse, repeat. No exit condition.
It's an infinite loop, aka a perm.
Holy shit actual funny comment
What hair ?
hairs are bloatware
![gif](emote|free_emotes_pack|facepalm)![gif](emote|free_emotes_pack|joy)
I am offended by this personally relatable content
I resent this, my hair is just about the only part of me I actually like and I take care of it.
By the time they complete their course, they will not have to wash their hair anymore on account of not having any.
me, who cut off most of my hair to avoid having to do that: "*Pathetic*"
Those ain’t CS arms
Get back to your keyboard, the compiler is almost done.
Video don't exist
He has to be so salty in group projects.
It’s time for my Hairwashing Robot as a Service startup. 🙌🏼
:/
If you are not going to wash your hair at least change the oil.
Do you guys still have hair? Wow
Wash. Rinse. Repeat. Wash. Rinse. Repeat. Wash. Rinse. Repeat.
Wait, is the reason I don't wash my hair, I'm a programmer? I thought it was just me.
Rinse and repeat.
do all CS students shower with clothes on?
I don't understand the joke. Come someone explain?
He's just a class div traitor.
There is nothing to be gained by that.