|
Quote: This equation calculates the chances we live In a computer simulation
Does it means that The Thirteenth Floor is in fact reality ?
The Thirteenth Floor - Wikipedia[^]
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
A Half is a binary floating-point number that occupies 16 bits. Half a float in the hand is better than two shorts in the bush
And now the pedants can correct my math(s) and/or programming joke.
|
|
|
|
|
Who even uses this?
"That'll be €29.990000000000007, sir."
I've actually worked in a team who didn't know about the decimal type and even used floats for invoices, with rounding errors as a common result
|
|
|
|
|
The "half" type came originally from NVidia's CUDA. It is now part of the IEEE-754 Standard for Floating-Point arithmetic, but as an "interchange" type, i.e. not to be used for computation, but only for data transfer. Note that decimal floating-point is also part of the Standard.
Sander Rossel wrote: I've actually worked in a team who didn't know about the decimal type and even used floats for invoices, with rounding errors as a common result
Anyone who writes financial programs using binary fractions should be hanged from the nearest lamppost as a warning to others. Either use a Decimal type (if available), or perform all calculations in integer (using pennies, cents, or whatever the smallest coin is in your country).
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Using float for financial fields wasn't even the worst part of that application.
Perhaps it was even one of the best parts
|
|
|
|
|
Machine learning embraces bfloat16 , so naturally MS is adding support for IEEE half instead.
bfloat16 floating-point format - Wikipedia[^]
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Mobilize.Net, an "automated modernization" specialist headed by a former Microsoft corporate VP, has upgraded its Visual Basic upgrade tool to target .NET Core, the open source, cross-platform successor of the Windows-only .NET Framework. "Your task is not to foresee the future, but to enable it. "
|
|
|
|
|
Three mathematicians have resolved a fundamental question about straight paths on the 12-sided Platonic solid. It's really disappointing with its limited use in most RPG systems
Plus, tired of people thinking it's an isocahedron.
|
|
|
|
|
In an ideal world, code should concern itself with solving the problem at hand and nothing else. Mission accomplished!
|
|
|
|
|
Kent Sharkey wrote: In an ideal world,... Pity is, our world is far from "ideal"
M.D.V.
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.
|
|
|
|
|
Quote: Thus the advice from Thorsten. Write code that solves the problem and does little else. Don’t jump straight for the shortest solution. Take the one that your future self, having done no code for five or ten years, will be able to look back at and understand. That's a whole lot of else that follows that initial advice...
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
According to new research, wormholes that are both large and stable enough for humans to traverse should be possible to create. You first
|
|
|
|
|
Kent Sharkey wrote: should be possible to create. In an "ideal" world?
M.D.V.
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.
|
|
|
|
|
First step: assume a spherical cow...
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Kent Sharkey wrote: should be possible Science tells us something is possible. Gee, thanks science.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
In this part I dig up every study relating to function length I could find, fill in some gaps with original research, and examine what we can learn. All those "Hello world" functions you've written over the years stink
|
|
|
|
|
Quote: a small module with even a single fault will show a very high fault rate You'd think that once the author read that line, he'd realize that he doesn't understand statistics, but no; he keeps on digging and acting baffled.
|
|
|
|
|
Well, “there’s many per capitas”
TTFN - Kent
|
|
|
|
|
Joe Woodbury wrote: but no; he keeps on digging and acting baffled. A case of stubbornness? Or just plain moronism?
M.D.V.
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 especially like the graphs plotting "average method length" vs. "average defect density": they also show a terrible defect density for a function length of 0.
Oh sanctissimi Wilhelmus, Theodorus, et Fredericus!
|
|
|
|
|
When I read the words "the science" in this sense, (especially if it says that I should "believe the science") I prepare to hear BS.
|
|
|
|
|
This just in: when a numerator is held constant and the denominator shrinks, the resulting percentage increases! Stay tuned for our special report at 10: Air. It's there but you can't see it
|
|
|
|
|
Code has a life beyond you, and thinking of the longevity of your code is key to its survival, and your success as a programmer. What moron wrote this code? Oh, right. Well, that was last week.
|
|
|
|
|
Write code as if I got your home address.
And I do
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|