ProgrammerHumor

seriously

seriously
https://i.redd.it/ro9cjk6q7vcf1.jpeg
Reddit

Discussion

John-de-Q
:py::j::cp::js:

Ah yes, my favourite month; Febroctougust.

1 day ago
de-el-norte

Ah, Septuneuary 1900, such a lovely month it was.

1 day ago
Supermarcel10

Might I add, precisely the 0th of Septuneuary 1900 was the best

1 day ago
eeee_thats_four_es
:py:

Yeah i febrember it quite well

1 day ago
jabuchae

I laughed quite hard at this

1 day ago
Realinternetpoints

Jay

1 day ago
nwayve

How confusing it is for all the Jasons born in Jay.

1 day ago
Comment156

I personally enjoy the 1st of Many, any year.

20 hours ago
robisodd

Programmer month index starts at 0

1 day ago
hans_l

“Wake me up when Novoctougust ends” is one of my favourite songs.

1 day ago
SoCuteShibe

That is a weirdly satisfying word to say.

I think it's the "vock-too-gus" that really makes it for me.

1 day ago
well_shoothed

Same year the Brooklyn Bridegrooms, led by Tungsten Arm O'Doyle, beat the Wilmington Quicksteps in 7.

1 day ago
john_the_fetch

I was born on Septuneuary 180, 1900.

(assuming that number field allows any number greater than 0 - I bet it's all validated on the backend)

1 day ago
Ghostglitch07

I'm a bigger fan of Memy and Decoctopril personally

1 day ago
ManWithDominantClaw

Talk to your doctor about whether Decoctopril is right for you

1 day ago
ExternalWerewolf3074

Do not take Decoctopril if you are allergic to it. Side effects include Blindness, Insanity and Cannibalistic thoughts or actions

1 day ago
Ghostglitch07

Don't forget to slip "sudden death" in at the end, said as fast as humanly possible.

1 day ago
iVar4sale

Mine is Jay

1 day ago
kooshipuff

Jemy is fun.

1 day ago
porkbeefhorsechicken

Shout out to Jarch

23 hours ago
JustAnotherTeapot418

What about the month of decay?

1 day ago
Icy-Yew-0837

That's every month

1 day ago
TheJeager

Nurgle will be pleased

1 day ago
xaomaw

I'm a real februlyber

1 day ago
mosskin-woast
:g::ts::p::r:

It's Joctorch or Memy for me

1 day ago
spellenspelen

Febroctopril is my favorite

1 day ago
Seamore31

Ask your doctor about Febroctopril today. Women who are pregnant or may become pregnant shouldn't take Febroctopril. Other symptoms may include, not limited to: nausea, headaches, new or worsening depression, temporal dislocation, dyslexia, and death.

1 day ago
pan_kotan

Mine is Member.

1 day ago
calculus_is_fun
:js::p::bash:

An average Germanic word

1 day ago
NullOfSpace

I’m more of a Jember guy

1 day ago
BigMacWithGreenBeans

Lousy Smarch weather.

1 day ago
Ovidio1005
:j:

I'm more of a Joctorch guy myself

1 day ago
VeryHappyNazgul

Febroctougust 255 of 1900 was a hell of a Day, almost went to negatives

1 day ago
maester_t

Not Joctoy?

1 day ago
Locellus

The month of Many 

1 day ago
skeevemasterflex

Is Joctober before or after the Trucktober sales event? I can never remember.

1 day ago
itsFromTheSimpsons

Say what you want about Febroctougust, but at least it doesnt have that lousy Smarch weather!

1 day ago
TheyStoleMyNameAgain

This looks nice, but UX is horrible. Why don't you just generate a random date and ask the user, if this is correct? Repeat until correct date.

1 day ago
TheRealKidkudi

Implement binary search with a set of “I’m older than that” and “I’m younger than that” buttons

1 day ago
BertoLaDK
:c::cp::cs::j::py:

I wonder how many times you'd have to press them on average to get the right one.

1 day ago
lkatz21

Base 2 log of the range

1 day ago
hans_l

Which might be better on average, actually.

1 day ago
lkatz21

You're right, I missed the average.

Average would be

1/n * Sum_(i=1)log n i 2i-1

1 day ago
CaffeinatedMancubus

You're assuming uniform distribution though. Depending on the target users, you'll likely have some normal distribution with the majority of users in a small range of ages. You'll have to account for that.

1 day ago
WazWaz
:cp: :cs:

Unfortunately binary search takes about the same time regardless - unless you happen to be born on one of the days at exactly binary subdivisions. If you biased it towards current ages (eg. started with a date 30 years ago instead of 60 years ago) you'd still only save about 1 click.

1 day ago
currywurstpimmel

man this conversation reminds me of the dick-jerk-algorithm from silicon valley

1 day ago
player2709

So 15.4 times to narrow down to single day between 1 and 120 years ago!

1 day ago
J5892
:js::py:

Which is definitely faster than some calendar style date pickers I've used.

1 day ago
nvanalfen
:py:

The ones that start on the current month and only let you go back one month at a time until you get to your birthday. Which for some of us is just enough time to contemplate, during our seemingly interminable clicking, how old we're getting, even if we're not all that old

1 day ago
realmandontnvidia

Pretty sure, you can click on the year in the middle top and select a different year.

1 day ago
Neon_Camouflage
:py::js:

On most of them, yes. For whatever reason there are absolutely feature incomplete calendar selectors out there in the wild.

1 day ago
J5892
:js::py:

You can't be a senior front-end engineer until you've built at least one calendar picker from scratch because the only libraries that work with your codebase are almost perfect, but don't have that one minor feature you need that no user will ever notice.

1 day ago
ChalkyChalkson

This is only true if you use a bounded range and users are uniformly distributed. You can't make both work at the same time since there are some but very few 100 year olds.

Let's assume you know the distribution of your user base, you can then perform a binary search on what percentile the user is in the user base. Each time you cut the space left open in half, so you gain 1bit of Shannon information. So the average number of search steps is the average information needed to specify a value. This is just the definition of the Shannon entropy of your user age distribution.

If you don't know your user base age distribution and use an approximation like the age distribution in your country, you just add the cross entropy of those distributions.

1 day ago
Twirrim

The worst case isn't that bad. If we take January 1st 1900 as the start date, and today (July 14th) as the end, there has been 45,850 days.

I believe the worst case is ceiling(log₂(n)). In this case, where n is 45,850, you get 16 clicks.

1 day ago
Telvin3d

So, a standard date selector is six clicks, plus scrolling. I’ve definitely used a few where the UI was worse than that. So this actually compares better than I would have expected. Still not great, but not as ridiculously bad as I would have estimated 

1 day ago
Maverick122

If you get a person to correctly click 16 times when they are 0 days old, that is not the worst case possible.

1 day ago
Twirrim

There's more than 0 days old as the worst case. From a very quick bit of python code, I get 13,083 worst cases, just shy of 30% of all cases.

2 steps: 2
3 steps: 4
4 steps: 8
5 steps: 16
6 steps: 32
7 steps: 64
8 steps: 128
9 steps: 256
10 steps: 512
11 steps: 1024
12 steps: 2048
13 steps: 4096
14 steps: 8192
15 steps: 16384
16 steps: 13083

Going back to the parent question, now I have the python code, looks like bisecting that range has an average step count of 14.571.

edit: Yes, I'm in a fun meeting right now...

1 day ago
ChalkyChalkson

The previous answer you got was wrong. From my comment correcting it. The actual answer is about 1 question lower than a naive estimate - you need ~14.3 questions on average if I use the data for Germany

Let's assume you know the distribution of your user base, you can then perform a binary search on what percentile the user is in the user base. Each time you cut the space left open in half, so you gain 1bit of Shannon information. So the average number of search steps is the average information needed to specify a value. This is just the definition of the Shannon entropy of your user age distribution in bits.

If you don't know your user base age distribution and use an approximation like the age distribution in your country, you just add the cross entropy of those distributions.

I did the entropy estimation for Germany using the age pyramid and assuming equal distribution in each strata (here we save ~0.9 bits compared to 120year time span) and using actual data on birthdays (which saves like ~0.1 bits compared to equal birthday distribution, basically all of that is seasonality of births)

1 day ago
de-el-norte

Around 16 on a 100-years range

1 day ago
Muchmatchmooch

Sorry, you’re not getting my answer. Nice try, phisher!

1 day ago
NiceOverall

Sure, there you go.

https://jsbin.com/wukuxalevi

1 day ago
DarkShadow4444

Huh, it's actually not that bad now that I've seen it live.

1 day ago
Moony_playzz

It's fun but also I'm terrible at date math and keep fucking up whether I'm older or younger lmao

1 day ago
realmandontnvidia

I can figure out older/younger if it's year, but when it's in the months I had to think for a bit trying to figure out which it is.

1 day ago
mehntality

I feel seen

1 day ago
LunarLumin

100%, later and earlier are much quicker mentally for me, changed the buttons to that and it was not much slower than a usual drop down.

1 day ago
wabassoap

I think that would actually result in quicker entry than some dialogs I’ve seen. 

1 day ago
Anumerical

Honestly if 1 out n websites has this as a security mechanism that's pretty damn good security

1 day ago
astervista

You, sir, have found /r/baduibattles

1 day ago
ChocolateBunny

And that's how BogoUX was born.

1 day ago
Professional-Thing73

Make the year a count with start/stop and clear button but no max. Bonus you allow increments of 3s and decrements of 2s or something heinous for fine tuning 💀

1 day ago
edbred

Just generate complete random string of letters and numbers. That way you can cover future scenarios if more numbers or months are added in the future. User can parse until their exact birth date comes up

1 day ago
TheKarenator

Point a camera at a wall of lava lamps. When the lava aligns to spell out their birthdate have them take a screen shot and upload it.

1 day ago
Shazvox
:cs::js::ts:

Don't forget to include hour, minute, second, millisecond and tick.

...not that it's needed, but it completes the picture.

1 day ago
Playfair99999

Also do it for names. A Random name generator. And then you'd have to install special packs for different regions for like a name library. Japanese library will have names like Kenta, Ryo, Shin etc, Or Mexican Library will have Jorge, Rodriguez etc.

1 day ago
theoht_

r/baduibattles

1 day ago
joelnodxd

funny thing is, they actually stole this post from there

1 day ago
iambackbaby69

This should've been the first comment. Up you go.

1 day ago
voiping

I'm having a stroke reading the months. The phone UI selectors were funny, but I don't think I can survive if they do month selectors.

1 day ago
fevsea
:py::cp::rust:

Just a form with a built-in CAPTCHA.

If the combination is not a valid month, you discard the request.

1 day ago
Pali1119
:cs:

My thinking as well. I like it

1 day ago
Garrosh
:cp:

The best thing is that ChatGPT seems to understand it, but then it fucks it up in its typical fashion:

✅ JavaScript Script to Fill the Form:
<script>
// Wait for the DOM to fully load
window.onload = function() {
  // Set the day
  document.getElementById("day-month").value = "14";

  // Select options to form a month (e.g., "February")
  document.getElementById("select-id-1").selectedIndex = 4; // "febr"
  document.getElementById("select-id-2").selectedIndex = 4; // "a"
  document.getElementById("select-id-3").selectedIndex = 3; // "uary"

  // Set the year
  document.getElementById("year").value = "2025";

  // Optional: Submit the form manually
  document.querySelector("form").submit();
};
</script>
📌 Notes:

This script assumes you want to select "February" by piecing together febr + a + uary.
1 day ago
rinsa
:cs: :ts: :js: :py:

probably didn't understand (took me a while too) that you can select an empty value

1 day ago
Ouaouaron

A Captcha is usually a problem that is fundamentally difficult for a computer to solve, whereas solving this looks like a fun project for an Introduction to Programming course (and the result would probably have a higher accuracy rate than humans).

The only bot I can think of which would be designed to navigate a webpage which it was not specifically designed for is a web crawler, but do those bother with forms?

1 day ago
TheKingofTerrorZ

ah yes,
jay

1 day ago
psyche-destruction

mmm.. D E C A Y

1 day ago
EQ2_Tay

Finally, something with my birthday of Munepril 0, 1900!

1 day ago
TheManicProgrammer

I dropped my biscuit... Good job!

1 day ago
bananenkonig

Oh cool, mine is Manuary of that same year.

1 day ago
LordFokas
:js::ts::j:

31st Februlyber 1900

1 day ago
cainjaa17

It’s funny because everyone knows there’s only 29 days in the month of Februlyber

1 day ago
LordFokas
:js::ts::j:

um ackshually Februlyber has 32 days in years that are divisible by 0xBEEF

1 day ago
CupcakeCleric

It's Joctober

1 day ago
_Xertz_
:cp: :cs: :j: :js: :py: :vb: :kos:

No Jork Joctober 😔

1 day ago
e111077

The invention of the textbox was the moment when the internet went too far.

18 hours ago
ramdomvariableX

An excellent example of user-centric design.

1 day ago
BrightCold2747
:cp::p::bash::py:

Lousy Jarch weather

1 day ago
SconiGrower

But you know what they say, Jarch heat means Deculypril can't be beat.

1 day ago
NordschleifeLover

Jarch is Arch Linux, but all tools and packages are written in Java.

1 day ago
Conscious_Switch3580
:cp::c::ru::perl::hsk::asm:

"I use Jarch btw"

1 day ago
Wacko90901
:cs:

Man the first thing I looked for was if i could make Smarch lol

1 day ago
pretty_succinct

i love this so much.

1 day ago
master-goose-boy

When the database engineer responsible for normalization writes the UI code. NO REDUNDANCY!

1 day ago
Menirz

Novoctopril sounds like some medication with a 3 minute commercial naming side effects.

1 day ago
CoogleEnPassant

"Novoctopril can cause sweating, foaming at the mouth, suicidal thoughts, and death. Do not take Novoctopril if you are allergic to Novoctopril or it's ingredients. Ask your doctor if Novoctopril is right for you."

20 hours ago
Mighty1Dragon
:j: :rust:

21 instead of 12 fields, with the possibility of making stupid inputs. This is really genius

1 day ago
DraikoHxC
:ts::js::cs:

You know what? Joctober sounds cool

1 day ago
gobtron

It's pronounced "G"october

1 day ago
firewoodrack

Mmmm my favorite month, moctopril

1 day ago
tkrr

I think my dad took that for his high blood pressure.

1 day ago
andrew_kirfman

Gosh dang. I've been coding for a long time, and this right here is the most cursed thing I've ever seen.

1 day ago
acchnAsquare OP

You are not alone 😂😂😂

1 day ago
Hoanten0

7th Jay

1 day ago
theAgamer11

This is terrible. It's hard to read, has too many strings used by only one month, and doesn't even start all months in the first column. I propose the following instead.

jan        y
febr  uar  rch
ma    l    pril
a     em   ne
ju         ugust
sept       ber
octo
nov
dec
1 day ago
Onor0

Noo, now I can’t enter my birth month of Joctorch

1 day ago
Rosie-Cotton

Thankyou for fixing july

1 day ago
SalaryClean4705

Septuney, what a beautiful month to be Born in

1 day ago
RiceBroad4552
:s:

I've always confuse the 6 and the 7 month, Manuary and Memuary. Not sure why.

1 day ago
Thenderick
:g:

Joctober

1 day ago
phoenix277lol
:bash::cp::py::unreal::js:

good captcha

1 day ago
mrwishart
:cs:

Lousy Jarch weather...

1 day ago
thisonehereone

You left out Smarch.

1 day ago
Larc0m
:g:

Munepril, best month of the year

1 day ago
DefenitlyNotADolphin
:cp::js::ts::py:

jemy

1 day ago
J5892
:js::py:

Only alphas are born in Manuary.

1 day ago
rallyspt08
:cs:

Ah yes my favorite month, joctober

1 day ago
Pierre777

You leave my boy Joctober alone, he didn't hurt anyone.

1 day ago
APirateAndAJedi

r/softwaregore

1 day ago
Masomqwwq

It's so Joctober

1 day ago
tyjuji

Ah yes, RimWorld months.

1 day ago
Weekly_District_24

Born in Septanuary

1 day ago
DinoChrono

/r/badUIbattles

1 day ago
BeefJerky03

Is "Novemy" a tragedeigh?

1 day ago
Nerkeilenemon

That's what happens when you ask a mathematician to create a datepicker.

"oh there are common factors and patterns, let me optimize it"

15 hours ago
NinjaJim6969

Jarch

1 day ago
Semper_5olus

Okay but "" is a valid month.

1 day ago
IlIlllIlllIlIIllI

Jemuary

1 day ago
redlaWw

To think the person who made this actually got paid muney.

1 day ago
pokexchespin

there’s not even a way to input smarch

1 day ago
sup3rdr01d

Love the month Jay

1 day ago
DaystromAndroidM510

Do you remember the 21st night of Jember?

1 day ago
Normal_Cut8368

hey what month were you born in

JOCTOY

1 day ago
01is
:py:

This would actually be kinda cool if selecting an option limited the remaining ones to what's possible. Like choosing "A" would leave just "pril" and "ugust".

...aaaaand I just reinvented auto-complete.

16 hours ago
DevilOopsy

I’m a Jauary kinda guy

13 hours ago
vertopolkaLF

Is this a captcha?

13 hours ago
dance_rattle_shake

No way to spell July if all cols are required. "Julyy"

1 day ago
Ouaouaron

Each drop down list has an option of being blank, if you look. Otherwise February, April, June, July, August, and October are impossible (a full half of all months).

1 day ago
Akhanyatin
:bash::ru::py::js::cp:

I was born in Deculyugust

1 day ago
57thStIncident

I'm hoping the slider works in month increments.

1 day ago
SuperChick1705

millisecond increments

1 day ago
mosskin-woast
:g::ts::p::r:

It's not a man's date picker unless it comes with a seizure warning. Now there's a form with some chest hair!

1 day ago
onemempierog
:c::cs::gd::py:

joctopril

1 day ago
hahsmilefjes

Great application of the DRY principle. You have to repeat "BER" four times (can you imagine!) if this was not the case. And let's imagine that we decide to change the name of the months, then we would have had to update it in four places. This programmer helps to spread the joy of his cleverness, not just to other programmers reading the code, but to the users as well. This makes the user think "wow, how clever. The guy coming up with this was really smart".

1 day ago
TheEngineerGGG
:c::cp::asm::py::j:

any other Decay babies here?

1 day ago
avakato

I hope this was a Mapril Fool’s Day joke

1 day ago
Iyxara
:py: :c: :cs: :ts: :bash: :re:

How Many 0th 1900!

1 day ago
Error_404_403

Deserves the Original Solution award of the month.

1 day ago
Prudent_Move_3420

Jocktober is my favorite month, just after twinkuary

1 day ago
Kiel97

Ah yes, a gambler's widget. Month as a slot machine.

1 day ago
bonanochip
:cs:

joctober

1 day ago
ClassicHat

I love that secret 0 day of the month only programmers get

1 day ago
Shazvox
:cs::js::ts:

Septoctouary?

1 day ago
xARCTIC_

Munepril my favorite month.

1 day ago
Stummi
:kt::j::g:

Who went through each month in their head, seeing if it can be built?

1 day ago
QuitCallingNewsrooms

If you ask me, all the best life events happen in Septunepril.

1 day ago
trenclik
:js: :py: :gd: :ts: :bash: :msl:

I was bor in jay

1 day ago
Inlovewithloving

Ah yes, the best birth month, Joctober.

1 day ago
petergrffinholycrap

munepril

1 day ago
errantghost

This is how AI works under the hood right??

1 day ago
UntouchedWagons

This is how the names of the RimWorld months were created.

1 day ago
Kilow102938

They missed there shot here with smarch weather.

1 day ago
TangerineNinja

Hmmm, I calculate that there are a total of 288 combinations if we figure they can be a combination of columns 1,2,3 or 1,2 or 2,3. I however do not have the heart to sit here and list them all. I am curious though. Anyone wanna take a whack at it? Seems to be a fairly easy program to write and just screenshot the end results or something.

1 day ago
mrwafflezzz

Looks like some database guy normalized the month field.

1 day ago
keatonatron

I hate that uly is in the middle instead of just ul.

1 day ago
jarobat

Oh god, I can imagine I made that before I found out not everyone has an engineering brain, and we should design for "real people" not me.

1 day ago
Vincent394
:cs::c::cp::g:

bruh.

1 day ago
[deleted]

took me a minute to understand lmao

1 day ago
YouDoHaveValue

Could optimize from j-uly-blank -> j-ul-y

1 day ago
FunkyPanda

Remember, remember, the 5th of Member

1 day ago
dandroid126

My favorite is Member

1 day ago
Ian_everywhere

Oh damn, is it already almost joctoy again?

1 day ago
mredding

I vote for joctoy.

1 day ago
fafaf69420

ah yes, my favorite month. jay.

1 day ago
BeefcakeThiccy

Me working on my first website in college 💀

1 day ago
Same-Appointment-285

https://i.imgur.com/teZjwam.png

Diagrammed them out, seems to actually be pretty efficient if you're just trying to minimize the tallest column and reduce number of letters per cell.

Didn't notice M-A-Y until I did that though and now that's my favorite.

1 day ago
Kyber92

Manugust, me after eating too many beans

1 day ago
Hopeful_Client_7993

make sure the year input is read-only. some roque user might enter 1899 otherwise

1 day ago
PM_ME_DATASETS

Remember when this sub still had original posts, and we were all trying to come up with the worst ever UI for date selection? That was a great time.

1 day ago
Ghede

Ive noticed a problem.

J ULY is redundant, as there is already a Y in the final dropdown.

It should be J UL Y

1 day ago
Nilosyrtis

Joctoy... that was my nickname in highschool!

23 hours ago
Dry-Aioli-6138

'twas the month of jay, all people were gay for before them lay novoctuaraay

23 hours ago
Enzo_GS
:j::c::cp::py:

mr krabs' birthday is in muney

22 hours ago
Cocaine_Johnsson
:c::cp::c::cp::c::cp:

Ah yes, Joctougust. The best of months.

21 hours ago
jswansong

Decanaugust

19 hours ago
luridfox

I think I hate this so much that it almost has come full circle to where I love it

18 hours ago
mentokz

Was this trash made by Pirate Software?

18 hours ago
telumv
:cs:

Joctorch

16 hours ago
XamanekMtz
:cp::cs::js::py::p::j:

Yeah I was born 20th ::squint eyes:: joctopril 1980ish

14 hours ago
ArkBeetleGaming

DECULYBER

14 hours ago
theofficialnar

This is what happens when you ask a backend engineer to do some frontend work

9 hours ago