TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #61 · 2 апр.

Ранее я уже упоминал о другой фишке из ˍˍ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

Резултати

Пронајдени 1 слични објави

Пребарај: #nydfs

当前筛选 #nydfs清除筛选
AI & Law

@ai_and_law · Post #428 · 25.10.2024 г., 07:04

NYDFS Issues Guidance on AI-Related Cybersecurity Risks The New York Department of Financial Services (NYDFS) released guidance highlighting the rising cybersecurity risks associated with the use of artificial intelligence by its licensees, including insurers and virtual currency businesses. The guidance focuses on threats such as AI-enabled social engineering, where deepfakes and other AI tools are used to obtain sensitive information and bypass biometric security measures. It also addresses the growing concern over AI-enhanced cyberattacks that increase the potency, scale, and speed of threats, as well as the risk of exposure or theft of vast amounts of nonpublic data. The guidance emphasizes the critical need for organizations to integrate AI-specific considerations into their existing risk assessments, third-party vendor management, and data management practices. While the NYDFS guidance is aimed at businesses under its regulation, the outlined risks and mitigation strategies are applicable to any organization navigating the complexities of AI-related cybersecurity. With the proliferation of AI technology, businesses must prioritize not only the protection of personally identifiable information but also safeguard confidential business information like trade secrets, which can have a more significant impact if compromised. The guidance reinforces the importance of robust due diligence when working with third-party vendors that use or provide AI solutions, as well as the necessity of maintaining effective data inventory and minimization practices. #Cybersecurity#AICompliance#NYDFS#RiskManagement#AIRegulation