Programming Humor 3

In my app I provide:

dd mmm yyyy
mmm dd, yyyy
yyyy-mm-dd

and let the user decide which they want.

2 Likes

My Company requires either DD-MMM-YY Or DDMMMYY…

Doesn’t sort right, but is ambiguous and easy to parse

-Karen

1 Like

the right ones;)

unambiguous, perhaps :smiley:

The presentation layer can be anything local, business/processing layer always YYYY-MM-DD (ISO 8601)

8 Likes

Since we only sell within the US, we have taken some liberties with date fields. For data entry, we accept

DD // month, year implied
MMDD // year implied
MMDDYY
MMDDYYYY

And no, we do not accept values in metric units for other fields. The British may have succumbed, but we will die on the hill of Imperial units. Give them a centimeter and they’ll take a kilometer. :laughing:

3 Likes

You are fortunate: your users do not enter anything as dates (DD-MM-YY, DD:MM:YYYY and all others…).
I ended using three popup menus to always get a real date (ISO as Rick wrote)… If I let the user decide, I will never know what 3-2 24 is… (March 2nd, 2024 ? or 24 February 2003…)

MM-DD format is as American as the 4th of July and cinco de mayo!

8 Likes

From Reddit…

6 Likes

And here we insist that anyone with a first name of Miles has to change it to Kilometres.

By the way, FYI according to a book I received for Christmas entitled “Humble Pi - a comedy of Maths errors”, the US units involving feet, pounds, etc, are properly known as ‘United States Customary Units’ or ‘English Engineering Units’ rather than imperial units.

This was a footnote in an article dealing with the Mars Climate Orbiter.

The International System, AKA Metric System, is what all our scientists use, all them, including those in NASA, SPACE-X, Google, Microsoft, etc. So you already succumbed, you just do not perceived… yet.

2 Likes

One thing that’s really nice about this community: Here we are in the Programming Humor section, and I’m learning things!

1 Like

Ouch !

I became a grandfather this year. My daughter and son-in-law found a loophole and named him Myles. :slight_smile:

2 Likes

Well, Kylometres it is then. :crazy_face:

5 Likes

Only if he travels outside the USA…

So it will need to be on his passport then? :slight_smile:

1 Like

“I cannot conceive that anybody will require multiplications at the rate of 40,000 or even 4,000 per hour.” - F. H. Wales, 1936

I can’t find any info on the visionary F.H. Wales, but the quote is from The Art of Computer Programming by Donald Knuth.

hmm how many letters in the alphabet, cant use A or B they are floppies, so windows must have issue with lots of drives !

There is no limit to the number of physical disks you can have, provided the controller(s) have the required number of ports.

Most admins start using mount points way before they start running out of drive letters. There are all sorts of advantages, such as backing up all the drives in one go.

I have a system with 96 physical drives for data. I created a folder in my C: drive called MountPoints to keep everything in one place. The first disk is mounted as c:\MountPoints\c1p0 and the last is mounted as c:\MountPoints\c4p23. I used controller number, port number for the mount point names (4x 24-port controllers).

Here is a link for mount points:

3 Likes