|
Well, kicking yourself seems like good leg work.
|
|
|
|
|
You mean homework.
Years ago in grad school we were assigned a project to implement floating point division and multiplication in micro-code (binary assembly code). It was a bear. So many steps. The lesson was the difference in hardware and software implementations was tremendous. Over the years, some vendors have kept these specs blurry, so you are not alone.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
"legwork" works in this case too. It's an idiom that comes from "detective work" for when cops would investigate, because they have to chase down leads, sometimes go door to door etc, hence using their legs.
I should have investigated the FPU performance on major platforms before I made the decision to go with floating point.
To err is human. Fortune favors the monsters.
|
|
|
|
|
Ah so. You are right. Besides standing on the corner, another reason for the slang word "flatfoot" for cops.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
"flatfoot" comes from the number of policemen developing fallen arches in their feet from being on the beat, not just standing on the corner.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
|
|
|
|
|
I know. An old negative slang word.
Standing, walking, sitting, you name it.
I have 3 cousins and 2 nephews who are policemen.
There is also back issues and stress at home. Hard job.
They all work hard to stay in shape.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
|
I have some experience in heavy optimization, obviously not the amount you have, but the very first thing I learn is "Floating point: just say no". Fixed point (aka scaled integer arithmetics) is king both for performance and for precision management: while it's true that on average it's less precise than floating point, if the problem has defined or definable boundaries it has the advantage of keeping the same precision on the whole domain.
For engineering purposes it's much more valuable than floating points, for scientific purposes where speed and throughput are tertiary floating wins.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
That used to be true, but actually on processors like the ARM Cortex-M used in the Teensy 4.1 it has a remarkable little FPU. It does 32-bit FP in the same number of cycles it does a 32-bit int (although there are additional optimizations for ints)
That's why I wrote my code for maintainability. In retrospect, it was a mistake. I made an incorrect assumption about the average capabilities of FPUs on these little 32-bit systems.
To err is human. Fortune favors the monsters.
|
|
|
|
|
The other day I utilized WinZip and found on Edge::News::My Feed an ad and a large one at that the next day for just that product. Even more amazing to me I just now enjoyed much of a tasty bag of Cheetos my favorite item in the food pyramid except of course stale potato chips and upon viewing Edge::News::My Feed I see an ad for Chester's Popcorn. Haven't found the cameras yet.
Below is my "Signature" apologies for no apologies if offends
My sympathies to the SPAM moderator
"I once put instant coffee into the microwave and went back in time." - Steven Wright
"Shut up and calculate" - apparently N. David Mermin possibly Richard Feynman
“I want to sing, I want to cry, I want to laugh. Everything together. And jump and dance. The day has arrived — yippee!” - Desmond Tutu
“When the green flag drops the bullshit stops!”
"It is cheaper to save the world than it is to ruin it."
"I must have had lessons" - Reverend Jim Ignatowski / Christopher Lloyd
"Dripping water hollows out stone, not through force, but through persistence." - Ovid, Roman poet
"... as likely as lightning striking a leprechaun whilst riding a unicorn."
"Don't worry, the planet will do just fine without us."
|
|
|
|
|
there is no camera you are not being watched you are being controlled
"If we don't change direction, we'll end up where we're going"
modified 15-Nov-22 8:57am.
|
|
|
|
|
No matter where you go, there you are!
|
|
|
|
|
Just because you are paranoid doesn't mean that someone is not out to get you.
|
|
|
|
|
Yes, you are being watched. They do most of their surveillance through your cell phone.
I was talking to my friend a few weeks ago about DeWalt powertools and powertools in general, and for the next 2 days all I saw were DeWalt and powertool adverts on a few of my cell phone news feed aps. Coincident, maybe, but nothing surprises me anymore.
I just put on my tin foil hat and go about my business.
Cheers.
|
|
|
|
|
I would say coincidence and a good example of selection bias.
I was also recently flooded with DeWalt adverts but didn't really give it a second thought. I hadn't discussed power tools with anyone or searched for them, etc.
For you it stood out as you had been talking about them when they popped up, for me it was just another ad campaign. I would imagine there are 100 other adverts that you saw in the same time period that you ignored as just "par for the course" and not related to any discussions you'd had.
|
|
|
|
|
That all sounds reasonable, if it only happened occasionally. But whenever I talk to my wife about any "advertisable" product, we both get hit with ads for that product within the next hour or so. We've even tested it and said the name of some project we've never searched or even considered, and boom, there's the ad.
|
|
|
|
|
My wife and I were walking though a department store, specifically the sporting goods section, when she said "Wow, what a coincidence, I just received a notification about a sale on treadmills at this store!". Coincidence?...not.
"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
|
|
|
|
|
|
That's probably why I didn't receive any notifications. We differ in our opinions about this. I get a phone and turn off all data and permissions that I can, she turns on all the data and permissions that she can.
"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
|
|
|
|
|
I don't get advertisements at all. My Wi-Fi is always on, but not necessarily connected. My microphone and camera are turned off, except when I allow their access. GPS is always off.
|
|
|
|
|
We are all being watched bro, the 21st century is in the yard ... sometimes it even seems to me that my smartphone is listening to me - after talking with a friend about a new gadget, I see an advertisement specifically on this topic
|
|
|
|
|
meagreProgrammer wrote: am I Being Watched
No
Google, Facebook, Youtube, the CIA, and the FBI are not responsible for the content of this post.
Really!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
I told my wife a joke about the NSA spying on us. She laughed and I laughed and Alexa laughed...
|
|
|
|
|
yes. The machines are always watching.
|
|
|
|
|
No, of course not... but can you remove the coffee can from your desk?
|
|
|
|