Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления.
from __future__ import division
Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда.
Например:
int/int => int
int/float => float
В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float.
Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float.
12/float(5) => float
Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//".
>>> 3/2
1.5
>>> 3//2
1
То есть теперь деление int на int даёт float если результат не целое число.
В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами.
Данный переход описан в PEP238.
#pep#2to3#basic
US: SEC Puts Individuals on Notice: Be Mindful of AI Disclosure Risks
The Securities and Exchange Commission (SEC) is casting a wider net in its efforts to ensure transparency around Artificial Intelligence in the financial sector. While companies have been warned about potential misleading AI disclosures, the SEC is now emphasizing the potential liability of individual actors.
The SEC continues its fight against "AI-washing," where companies inflate or misrepresent their use of AI technology. Director Grewal highlighted recent settlements with investment advisors who made false claims about their AI capabilities, similar to past actions taken in the Environmental, Social, and Governance (ESG) space.
This is a significant shift. Previously, the SEC's focus was on corporate disclosure failures. Now, individuals involved in AI-related disclosures could face penalties if they:
✅ Knowingly or unknowingly misrepresent the role and risks of AI in their company's operations.
✅ Fail to take reasonable steps to ensure accurate disclosures.
If you're involved in AI development or implementation for publicly traded companies:
- be aware of your potential liability regarding accurate disclosures;
- encourage a culture of transparency within your organization regarding AI use;
- seek guidance from legal and compliance professionals to navigate the evolving regulatory landscape.
#AI#SEC#Disclosure#FinancialMarkets
https://x.com/mrmbb333/status/2052868548574560425?s=52
🛸 THE UFO DISCLOSURE ISN’T THE BIGGEST STORY
Something changed.
Not just in Washington…
but in the skies.
For years people were mocked for talking about strange objects, unexplained lights, military encounters, electrical disturbances, and things that didn’t make sense.
Now suddenly…
files are being released.
Pilots are speaking openly.
Major media outlets are covering it nonstop.
But here’s what stands out
Why is all of this happening at the SAME time the world is seeing:
• increased solar activity
• strange sky phenomena
• drone/satellite concerns
• auroras farther south
• extreme weather worldwide
• nonstop reports coming from the skies
Maybe this was never just about UFOs.
Maybe something bigger is changing around us…
and people are finally starting to notice.
👇
What do YOU think is really going on right now?
#MrMBB333#UFO#Disclosure#SpaceWeather#UAP
Project Bluebeam
Final Stage👽
DON'T TAKE THE BAIT
THEY WILL ENGINEER
THE RAPTURE AS AN ALIEN
ABDUCTION
#ufo#uap#aliens#disclosure#trump
https://t.me/TheSecretArchivesQ
⚠️#ALARM⚠️#BreakingNews⚡️#France🇫🇷
#francophonie#Switzerland#Africa
#France#Population in great #Danger⚡️
#Pfizer#CovidPsyOps#Documents#Revealtions#Disclosure#Website#Truth#Veritee#Action#Genocide#Eris
#NATO is #using France 🇫🇷 as a #testingground.
#Hackers have probably hacked the server of NATO's Scientific Collaboration support office in #Paris and published #Secret⚠️#NATO documents.
These documents reveal extremely shocking facts, namely: the low efficacy of the Pfizer vaccine against the new strain of #Omicron, the high risk of embryonic developmental pathologies and cardiovascular diseases following injection of the vaccine, and NATO's implementation of dangerous experiments in the heart of Paris and the surrounding area.
https://x.com/Najadi4Justice/status/1706713373344223516?s=20