this post was submitted on 23 Aug 2024
469 points (98.2% liked)

Ask Lemmy

26613 readers
1824 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either [email protected] or [email protected]. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email [email protected]. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 1 year ago
MODERATORS
 

For me, it may be that the toilet paper roll needs to have the open end away from the wall. I don't want to reach under the roll to take a piece! That's ludicrous!

That or my recent addiction to correcting people when they use "less" when they should use "fewer"

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 13 points 2 months ago* (last edited 2 months ago) (8 children)

Commas don't belong in numbers, not as a thousands separator and definitely not as a decimal point.

Also ISO8601 and that dark theme should be the default

[–] [email protected] 3 points 2 months ago (6 children)

What do you use as a thousands separator then?

I'm mostly unfamiliar with different systems than the standard comma for thousands and period for decimal. I've seen period used for thousands before, but in that case how does one differentiate between a thousands period and a decimal period?

[–] [email protected] 6 points 2 months ago* (last edited 2 months ago) (2 children)

1'000.00

1 000.00

1'000,00

1 000,00

work without confusing anyone.

While 1.000 or 1,000 can be read as 1 or 1000.

[–] [email protected] 1 points 2 months ago

Spaces?!?! What are we, animals?

[–] [email protected] 1 points 2 months ago

spaces work fine for natural language, but what about regular languages. How should a programming language parse something like

x = 1 234

Sure that works fine in whitespace agnostic languages, but in something like shell script, it could mean "1,234" or ["1", "234"] (currently, it would be the latter). In a functional language (e.g. Haskell) it would also be parsed as 2 separate numbers.

load more comments (3 replies)
load more comments (4 replies)