vroom
Legendary
Offline
Activity: 1303
Merit: 1681
a Cray can run an endless loop in under 4 hours
|
|
March 15, 2021, 08:40:25 PM |
|
1 BTC = 1 BTC
or is it 1 BTC == 1 BTC
? technically the first statement is not a boolean. but the second statement is TRUE . ..but if you compare strings you have to use quotes "1 BTC" == "1 BTC"
|
|
|
|
OutOfMemory
Legendary
Offline
Activity: 1610
Merit: 3213
Man who stares at charts
|
|
March 15, 2021, 08:40:25 PM |
|
Computing Pi beyond 40 digits is pointless except as an academic exercise. Any phone today can compute pi to 100 digits even with inefficient programming. The most distant spacecraft from Earth is Voyager 1. It's about 12.5 billion miles away. NASA only needs 15 decimal digits of pi to have an error margin of 1.5 inches at that distance. If we used 40 digits of pi, you could calculate the circumference of the entire known or visible universe. About 46 billion light-years. To an accuracy equal to the diameter of a hydrogen atom. There is no need for 1 million digits of pi, or waste 100 days to calculate trillions of digits. https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimals-of-pi-do-we-really-need/I think I just printed pi on one of my school paper notebooks or something to 50 digits and used that as the cover. 3.1415xxxxxx ... heh. What's the value of Pi? Mathematician - 3.141592653589793238462643383279502884197169399375105820974944592307816406286 208998628034825342117067982148086513282306647093844609550582231725359408128481 Physicist - 3.14159265358979323846264338327950288419716 Engineer - about 3 something Engineers use a minimum of 3 significant digits as a rule. Dude, you just ruined a mathematician's joke
|
|
|
|
OutOfMemory
Legendary
Offline
Activity: 1610
Merit: 3213
Man who stares at charts
|
|
March 15, 2021, 08:44:48 PM |
|
1 BTC = 1 BTC
or is it 1 BTC == 1 BTC
? technically the first statement is not a boolean. but the second statement is TRUE . ..but if you compare strings you have to use quotes "1 BTC" == "1 BTC"
Put this way, "1 BTC" = "1 BTC" would just raise an error, right?
|
|
|
|
Biodom
Legendary
Offline
Activity: 3822
Merit: 4107
|
|
March 15, 2021, 08:50:02 PM |
|
|
|
|
|
Hueristic
Legendary
Offline
Activity: 3878
Merit: 5111
Doomed to see the future and unable to prevent it
|
|
March 15, 2021, 08:52:18 PM |
|
1 BTC = 1 BTC
or is it 1 BTC == 1 BTC
? technically the first statement is not a boolean. but the second statement is TRUE . ..but if you compare strings you have to use quotes "1 BTC" == "1 BTC"
Put this way, "1 BTC" = "1 BTC" would just raise an error, right? Well I guess a variable of "1 BTC" could recursively store itself and then lead to an "OutOfMemory" situation.
|
|
|
|
OutOfMemory
Legendary
Offline
Activity: 1610
Merit: 3213
Man who stares at charts
|
|
March 15, 2021, 09:01:17 PM |
|
1 BTC = 1 BTC
or is it 1 BTC == 1 BTC
? technically the first statement is not a boolean. but the second statement is TRUE . ..but if you comparejavascript:void(0); strings you have to use quotes "1 BTC" == "1 BTC"
Put this way, "1 BTC" = "1 BTC" would just raise an error, right? Well I guess a variable of "1 BTC" could recursively store itself and then lead to an "OutOfMemory" situation. hmm, i doubt so. It's an (anonymous) string literal, which should be read-only (const). But i got the joke and i like it Are there "named variables" in this manner in any language you are aware of? There are quite some freaky languages out there, like the famous INTERCAL
|
|
|
|
_javi_
|
|
March 15, 2021, 09:08:50 PM |
|
Computing Pi beyond 40 digits is pointless except as an academic exercise. Any phone today can compute pi to 100 digits even with inefficient programming. The most distant spacecraft from Earth is Voyager 1. It's about 12.5 billion miles away. NASA only needs 15 decimal digits of pi to have an error margin of 1.5 inches at that distance. If we used 40 digits of pi, you could calculate the circumference of the entire known or visible universe. About 46 billion light-years. To an accuracy equal to the diameter of a hydrogen atom. There is no need for 1 million digits of pi, or waste 100 days to calculate trillions of digits. https://www.jpl.nasa.gov/edu/news/2016/3/16/how-many-decimals-of-pi-do-we-really-need/I think I just printed pi on one of my school paper notebooks or something to 50 digits and used that as the cover. 3.1415xxxxxx ... heh. What's the value of Pi? Mathematician - 3.141592653589793238462643383279502884197169399375105820974944592307816406286 208998628034825342117067982148086513282306647093844609550582231725359408128481 Physicist - 3.14159265358979323846264338327950288419716 Engineer - about 3 something Engineers use a minimum of 3 significant digits as a rule. ..and then you use a 3x factor of safety. (at least in civil engineering)
|
|
|
|
AlcoHoDL
Legendary
Offline
Activity: 2436
Merit: 4381
Addicted to HoDLing!
|
|
March 15, 2021, 09:12:39 PM |
|
What's the value of Pi?
Mathematician - 3.14159265358979323846264338327950288419716939937510582097494459230781640628620 8998628034825342117067982148086513282306647093844609550582231725359408128481 Physicist - 3.14159265358979323846264338327950288419716 Engineer - about 3 something
My take on this: Mathematician — Pi = C/d, where C is the circumference and d is the diameter of a circle (symbolic math, exact). Physicist — Pi = 3.1415926535897932384626433832795028841972 (40 decimal places, near-zero numerical error). Engineer — Pi = 3.1415927 (7 decimal places, sufficient for most practical applications). Layman — Pi = 3.14 (2 decimal places, distant school memory). As a mostly layman when it comes to maths (and sciences) funzies, could it be that one of the goals of continuing to attempt to calculate pi to further digits is to see if there might be a zero in there somewhere (I mean a last digit)? - and then we know how many actual digits pi has, rather than what seems to be an infinite number of digits without a last digit.
We already know the answer to this: Pi has an infinite number of digits (i.e., there is no "last digit"). This is because Pi is an irrational number (it cannot be expressed as the ratio of two integers). Proof of this dates back to the 18th century (Lambert, 1761). The square root of 2 (1.414...) is another well-known irrational number.
|
|
|
|
Gyrsur
Legendary
Offline
Activity: 2856
Merit: 1520
Bitcoin Legal Tender Countries: 2 of 206
|
|
March 15, 2021, 09:35:00 PM Last edit: March 15, 2021, 09:53:36 PM by Gyrsur |
|
1 BTC = 1 BTC
or is it 1 BTC == 1 BTC
? technically the first statement is not a boolean. but the second statement is TRUE . ..but if you comparejavascript:void(0); strings you have to use quotes "1 BTC" == "1 BTC"
Put this way, "1 BTC" = "1 BTC" would just raise an error, right? Well I guess a variable of "1 BTC" could recursively store itself and then lead to an "OutOfMemory" situation. hmm, i doubt so. It's an (anonymous) string literal, which should be read-only (const). But i got the joke and i like it Are there "named variables" in this manner in any language you are aware of? There are quite some freaky languages out there, like the famous INTERCAL here you go. fn main() { let a = "1 BTC"; let b = "1 BTC"; println!("1 BTC = 1 BTC -> {}", a = b); println!("1 BTC == 1 BTC -> {}", a == b); }
1 BTC = 1 BTC -> 1 BTC 1 BTC == 1 BTC -> true
|
|
|
|
nullius
|
|
March 15, 2021, 09:39:02 PM |
|
As a mostly layman when it comes to maths (and sciences) funzies, could it be that one of the goals of continuing to attempt to calculate pi to further digits is to see if there might be a zero in there somewhere (I mean a last digit)? - and then we know how many actual digits pi has, rather than what seems to be an infinite number of digits without a last digit.
We already know the answer to this: Pi has an infinite number of digits (i.e., there is no "last digit"). This is because Pi is an irrational number (it cannot be expressed as the ratio of two integers). Proof of this dates back to the 18th century (Lambert, 1761). The square root of 2 (1.414...) is another well-known irrational number. We all (except Jay) know that π is an irrational sonofabitch; but is he normal? * Wrathful nullius is the negative one, because ’e is powered to imaginary·π. Yes, I just implied that 0 = -1. Well, that’s not as bad as looking for the last digit of π.
|
|
|
|
LoyceV
Legendary
Offline
Activity: 3374
Merit: 17054
Thick-Skinned Gang Leader and Golden Feather 2021
|
|
March 15, 2021, 09:58:34 PM |
|
1 BTC = 1 BTC
or is it 1 BTC == 1 BTC
? technically the first statement is not a boolean. but the second statement is TRUE . ..but if you compare strings you have to use quotes "1 BTC" == "1 BTC"
Put this way, "1 BTC" = "1 BTC" would just raise an error, right? Well I guess a variable of "1 BTC" could recursively store itself and then lead to an "OutOfMemory" situation. Can't we just introduce something like "in 2015 Bitcoin" as deflation adjustment, just like dollars have a inflation adjusted way of saying "in 1980 dollars"? So: $1 in 1980 is equivalent in purchasing power to about $3.19 today becomes: 1 BTC on January 1st 2012 is equivalent in purchasing power to about 0.00008976 BTC now.
|
|
|
|
Sayeds56
Copper Member
Hero Member
Offline
Activity: 1358
Merit: 727
Eloncoin.org - Mars, here we come!
|
|
March 15, 2021, 10:02:44 PM |
|
|
|
|
|
Biodom
Legendary
Offline
Activity: 3822
Merit: 4107
|
The fact that Musk calls his CFO a master of coin (in a SEC filing, lol) is interesting. When something under your control is just 7-8% of your assets, you are not called a master of that, but rather a bigger "domain".
|
|
|
|
|
OutOfMemory
Legendary
Offline
Activity: 1610
Merit: 3213
Man who stares at charts
|
|
March 15, 2021, 10:41:57 PM |
|
As a mostly layman when it comes to maths (and sciences) funzies, could it be that one of the goals of continuing to attempt to calculate pi to further digits is to see if there might be a zero in there somewhere (I mean a last digit)? - and then we know how many actual digits pi has, rather than what seems to be an infinite number of digits without a last digit.
We already know the answer to this: Pi has an infinite number of digits (i.e., there is no "last digit"). This is because Pi is an irrational number (it cannot be expressed as the ratio of two integers). Proof of this dates back to the 18th century (Lambert, 1761). The square root of 2 (1.414...) is another well-known irrational number. We all (except Jay) know that π is an irrational sonofabitch; but is he normal? * Wrathful nullius is the negative one, because ’e is powered to imaginary·π. Yes, I just implied that 0 = -1. Well, that’s not as bad as looking for the last digit of π.Pi, as a unique constant, by the definition of normality, imo can and can not be normal. The Schrödinger's Cat of numbers. Although it's calculation is based on a geometric proximity model, so it's also virtual as can be
|
|
|
|
OutOfMemory
Legendary
Offline
Activity: 1610
Merit: 3213
Man who stares at charts
|
|
March 15, 2021, 10:45:58 PM |
|
The fact that Musk calls his CFO a master of coin (in a SEC filing, lol) is interesting. When something under your control is just 7-8% of your assets, you are not called a master of that, but rather a bigger "domain".
yeah, but he's the first well known dude to get into bitcoin with his company. And he seems to have a favor for a teen-ish lifestyle, so no big surprise as of his CFO's nickname.
|
|
|
|
Hhampuz
Legendary
Offline
Activity: 2926
Merit: 6042
Meh.
|
|
March 15, 2021, 10:47:47 PM |
|
The fact that Musk calls his CFO a master of coin (in a SEC filing, lol) is interesting. When something under your control is just 7-8% of your assets, you are not called a master of that, but rather a bigger "domain".
yeah, but he's the first well known dude to get into bitcoin with his company. And he seems to have a favor for a teen-ish lifestyle, so no big surprise as of his CFO's nickname. Pretty sure it's a game of thrones reference and not bitcorn, maybe a mashup though who knows..
|
|
|
|
Parazyd
|
|
March 15, 2021, 10:48:47 PM |
|
It's propaganda so they can push Johnson & Johnson
|
|
|
|
OutOfMemory
Legendary
Offline
Activity: 1610
Merit: 3213
Man who stares at charts
|
|
March 15, 2021, 10:51:36 PM |
|
The fact that Musk calls his CFO a master of coin (in a SEC filing, lol) is interesting. When something under your control is just 7-8% of your assets, you are not called a master of that, but rather a bigger "domain".
yeah, but he's the first well known dude to get into bitcoin with his company. And he seems to have a favor for a teen-ish lifestyle, so no big surprise as of his CFO's nickname. Pretty sure it's a game of thrones reference and not bitcorn, maybe a mashup though who knows.. Who knows. I wouldn't be surprised, if so. Didn't watch GoT yet.
|
|
|
|
Hhampuz
Legendary
Offline
Activity: 2926
Merit: 6042
Meh.
|
|
March 15, 2021, 10:55:58 PM |
|
Who knows. I wouldn't be surprised, if so. Didn't watch GoT yet.
If you do, skip the last two seasons and read the books/wait for the finishing books.
|
|
|
|
|