No Stupid Questions
No such thing. Ask away!
!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
Rules (interactive)
Rule 1- All posts must be legitimate questions. All post titles must include a question.
All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.
Rule 2- Your question subject cannot be illegal or NSFW material.
Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.
Rule 3- Do not seek mental, medical and professional help here.
Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.
Rule 4- No self promotion or upvote-farming of any kind.
That's it.
Rule 5- No baiting or sealioning or promoting an agenda.
Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.
Rule 6- Regarding META posts and joke questions.
Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.
On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.
If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.
Rule 7- You can't intentionally annoy, mock, or harass other members.
If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.
Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.
Rule 8- All comments should try to stay relevant to their parent content.
Rule 9- Reposts from other platforms are not allowed.
Let everyone have their own content.
Rule 10- Majority of bots aren't allowed to participate here.
Credits
Our breathtaking icon was bestowed upon us by @Cevilia!
The greatest banner of all time: by @TheOneWithTheHair!
view the rest of the comments
The only correct format is from greatest to smallest: yyyy-mm-dd
This is, in my mind, verifiable by noting the way that lists are ordered when using this format. They are sequential. This isn’t true for either of the other formats.
Yes.
If I saw that in a job advert I might just apply without reading the rest. I don't think I ever have though.
As a programmer I agree. I have fucked around with trying to parse unrestricted user inputs of dates and I have found out.
Year first is the only way I can actually know which value is day vs. month.
Why don't programmers make a programme that can read dates instead of complaining that dates aren't in a obscure format?
They in control of their own issues.
The date is 12/11/2024. Am I talking about yesterday or a day about a month ago?
Yesterday unless you're mental.
Is 27 outside right now. What am I talking about?
YYYY-MM-DD is the only non-mental way to write either.
I was only answering your question about why programming a way to parse those common date formats is problematic.
Because all the other programmers suck.
Haha
Yep, most to least significant is great because you can sort dates temporally with a numeric/string sort.
It's great for lists but I don't know a single person who's gonna say "hey let's meet up on 2024 December 11th."
You must not know many programmers that have had to deal with American date formatting then.
I used to be a programmer myself (originally studied it for game design but now I'm a 3d animator) and it's why there's a specific default data structure built in to most programming languages to handle dates and internationalization of those dates.
Please someone tell oracle and microsoft.
https://docs.oracle.com/javase/8/docs/api/java/util/Date.html
https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-9.0
Looks like someone already did. Been around since at least JDK 1.1
They need to be told a fuck of a lot harder then.
If you really need a specialized toolset to handle managing dates and times in a program beyond whats already there, then find a library that has the tools you're looking for or make it yourself if it doesn't exist. Extending the date class is always an option.
I'm talking about sotware they produce and my employer buys that i'm expected to use.
I can't rewrite their "tools" and databases and fucking awful cloud-web front end things. I tend to think multi-billion$ shitware companies should do that; but even so no way I'd be allowed.
Yes, I do end up having to write my own tools choosing whatever free stuff I'm allowed to have, or can get working, Yes, It's incredibly easy in any half way decent (including free) software, far from rocket science, that is until you try to put something back into a database via one of these "tools".
So you work around, pre-processing, post-processing, get it working. Then they unexpectedly release a "patch" that sees through my work-a-round and tries to convert the thing i'd convinced it to treat as string into a screwed up datetime again.
Next time, I will prepend "fuckoracleiquit" to all datetimes before they go into the database.
Dates written in a numbers only format are not about matching the spoken language. You also would not say, "let's meet on twelve eleven twenty twentyfour."
It’s the format used in large parts of Asia.
In German and Swedish, "the twelft eleventh" would be totally fine. Beside this would be November 12th. The German way for the year would be twothousandtwentyfour while the Swedish would be twentyhundred twentyfour.