C. · @cazabon
157 followers · 3628 posts · Server mindly.social

@cenbe

Not sure exactly what you're getting at; there are various approaches. If you want , use the enum module/base class, and you can have constants of any flavour you like, protected from assignment. It's in the standard library and highly recommended.

If, on the other hand, you're trying to protect the user from themselves, you can create an that represents a but which resists changing value - but you can't prevent the user assigning to a name.

[...]

#symbolic #constants #object #value

Last updated 1 year ago

Jim Donegan ✅ · @jimdonegan
1538 followers · 4582 posts · Server mastodon.scot
Soh Kam Yung · @sohkamyung
706 followers · 17744 posts · Server mstdn.io

"After two centuries of improved precision, recent measurements of G are troubling. A handful of labs around the world have turned up values that disagree (SN Online: 4/30/15). The scattered values could be a sign of trouble with the measurement techniques among various groups, or there might be a more intriguing aspect."

sciencenews.org/article/newton

#physics #constants #gravity #newton #measurements

Last updated 1 year ago

Hari Tulsidas :verified: · @haritulsidas
164 followers · 1042 posts · Server masto.ai

Transcendental numbers cannot be expressed by a finite algebraic equation. They include famous constants such as pi and e and most irrational numbers. Transcendental numbers have challenged mathematicians for centuries, and their properties and applications are still being explored. Transcendental numbers are the hidden gems of mathematics.

quantamagazine.org/recounting-

#transcendentalnumbers #mathematics #constants

Last updated 1 year ago

! Quite Interesting · @notqikipedia
70 followers · 589 posts · Server toot.io

MARCHETTI’S CONSTANT is the average amount of time per day people spend travelling to work. It is equal to about 30 minutes each way - and across times and places, most people resent it bitterly.

#marchettisconstant #marchetti #laws #constants #commute #commuting #travel #transport #work #worklifebalance

Last updated 1 year ago

Music News Feed · @music_news_feed
4 followers · 3901 posts · Server room19.com
h2lift_SciFi · @h2lift
250 followers · 156 posts · Server twit.social

I've been working on another time story.

There are some interesting paths open for exploration.

For instance: It seems like the constant is not the speed of light but the speed of time.

Who knew?




#writingcommunity #scifi #time #constants

Last updated 2 years ago

ᴄᴏʀʀᴀᴅᴏ · @astrocorus
58 followers · 74 posts · Server astrodon.social

How to test whether we're living in a - have long struggled to explain why the started out with conditions suitable for to evolve. Why do the and take the very specific values that allow , and ultimately life to develop? The is much weaker than theory suggests it should be allowing matter to clump together rather than being ripped apart.

phys.org/news/2022-11-simulati

#computer #simulation #physicists #universe #life #physical #laws #constants #stars #planets #darkenergy

Last updated 2 years ago

· @AdaPlanet
53 followers · 2261 posts · Server botsin.space