The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
I am using a low code environment (Mendix) and I have to add a constant to my application. However, the symbol for constant is the pi symbol. I suppose pi is constant if you could ever wrestle it down.
Seems like an odd choice of an icon for a constant.
I can tell its first seven decimals without looking it up. But that is irrelevant, anyway. I'm not saying that everyone know a lot of decimals of pi, but that the existence of pi is known all around the world, for several centuries.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
Sometimes you regret that you didn't waste your money. For me, one of those is when I saw a T-shirt offered that had a huge pi symbol at the front, and the 2000 first digits of pi covering the back. Why didn't I buy it? I should have!
I could of course have had made a T-shirt like that. But it would be stealing somebody else's design. I don't want to do that. I wouldn't like anyone to steal my unique T-shirt designs.
(At the moment, I am wearing at T-shirt telling 'I say "sibboleth"'. Most people need an explanation, but when they get it, they return a confirming nod.)
When IBM introduced their 360 series, they used as a logo a circle with a vertical, down pointing radius (like that often used to mark an on/off button).
When the 370 series was introduced, they chose as a logo ... a larger circle!
I think this was created as an internal joke; I have never seen it in any official marketng material. One of my former-IBM-employees coworkers had it in several IBM internal memos. The logo had both the classical 360 circle and a larger one surrounding it, touching at the bottom where the radius touched. It really was a great idea, that should have made it to the public marketing material!
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
Why? Unless your computer has unlimited memory, the set of the values it can store exactly will always be a tiny subset of the infinite set of values it can only approximate. Not to talk of the infinite set of values it can't store at all.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
True story, from a while ago when universities (e.g. in Bergen, Norway) still had classical IBM 308x mainframes (i.e. in the mid 1980s):
One professor at the Bergen University was teaching a course in numerical methods for calculating e.g. trigonometric functions, including error propagation and error estimation. When the students ran tests on the errors in arctan (which may be a little nasty, for extreme values), the errors turned out to be larger than would be expected for the given word length.
The professor was not one to just shrug at this with a a "so what?" - he made a request to IBM to investigate the cause of this greater-than-expected error. This is where my coworker came in, working at IBM at the time; he was set to analyze it.
That IBM 3083 library function, written in assembly, was a simple adaptation of the IBM 380 and 370 functions. Which were adaptations of the IBM 360 series function. (Now we are back to the early 1960s.) But even though the 360 instruction set was new, the library function was rewritten directly based on the IBM 7090 assembly code library function. Which was an adaptation of the IBM 709 library function...
The 709 was introduced in 1957. At that time, constants such as pi was calculated by hand, and entered in hexadecimal format in the source code. Being a constand, the job was done; no need to recalculate it.
But 709/7090 were 36 bit machines. The 360, 370, 380 and 3083 were 32 bit machines. In the move to a different word length, the least significant bits of the 36 bit hex value had simply been chopped off; noone had cared to look for rounding. The error estimates made by the professor had assumed a rounding of the least significant bit of pi.
Once IBM replaced the hexadecimal (and later chopped off) pi value from the 709, and replaced it with a properly rounded value, the arctan errors matched perfectly with the professor's estimates for the given word length.
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
Last Visit: 21-Sep-20 5:25 Last Update: 21-Sep-20 5:25