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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #84 · 13 мај

В продолжение прошлого поста про цифры в мире строк. Почему методы isdigit() и isnumeric() не определяют в строке float и отрицательные значения? Дело в том, что эти методы работают с ЦИФРАМИ, то есть с единичным символом. А строка "-2" или "3.4" это уже ЧИСЛО. То есть не символ а значение, записанное несколькими символами. Все озвученные методы проходятся по каждому символу строки и проверяют их индивидуально. В юникоде есть символы цифр с точками "🄀⒈⒉⒊⒋⒌⒍⒎⒏⒐" Каждая из них это ОДИН СИМВОЛ, поэтому он будет считаться цифрой >>> '⒌'.isdigit(), '⒌'.isnumeric() True, True Но когда мы пишем это выражение в два символа ( 5+точка), то это не работает. >>> '5.'.isdigit(), '5.'.isnumeric() False, False А еще есть такие символы >>> '⑴⑵⑶⑷⑸'.isdigit() True >>> '🄁🄂🄃'.isdigit() True Но они не преобразуются в десятичные цифры >>> '⒈'.isdecimal() False >>> '🄃'.isdecimal() False >>> '⑶'.isdecimal() False #basic

Hashtags

Резултати

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

Пребарај: #chinaai

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

@ai_and_law · Post #59 · 18.07.2023 г., 07:04

China's new AI measures: boosting generative AI services Hello, everyone! Today we have exciting news from China. On July 13th China released the final version of the Interim Measures for Administration of Generative AI Services. Compared to the previous draft, which was open for public comments in April, the final version showcases a more business-friendly and supportive approach. These AI Measures specifically apply to services that generate text, image, video, and audio content using generative AI technology and are made available to the public in China. With a focus on both development and security, China adopts an "inclusive and prudent" stance. Notably, the final version includes more comprehensive provisions to foster international collaborations on generative AI technology and services, surpassing the scope of the earlier draft. The AI Measures outline a range of legal requirements for performing and utilizing generative AI services. These include adhering to core social values, protecting intellectual property rights and trade secrets, as well as taking effective measures to prevent discrimination, monopoly, and anticompetitive practices when designing algorithms, selecting training data, and creating computing models. While the whistle-blowing mechanism remains intact from the consultation draft, the punitive terms that could result in administrative fines of RMB10,000-100,000 for violations have been removed in the final AI Measures. The AI Measures are set to take effect on August 15th, sending a positive signal to businesses interested in investing, developing, and engaging in generative AI services in China. This move is expected to attract significant investments into China's thriving AI landscape in the coming months and years. #AIRegulations#GenerativeAI#ChinaAI#BusinessInvestments

Crypto M - Crypto News

@CryptoM · Post #64898 · 10.04.2026 г., 07:57

🚀 AI TRENDS | China's AI Industry Alliance Issues Risk Management Guide for Enterprise Security China's AI industry alliance has introduced a risk management guide aimed at enhancing enterprise security governance, similar to OpenClaw. According to NS3.AI, the guide establishes a security framework and self-inspection standards for the deployment, usage, and decommissioning of AI agents. #AI#ChinaAI#EnterpriseSecurity#RiskManagement#SecurityGovernance#AIIndustry#AIagents#NS3AI