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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #169 · 21 окт.

А знаете ли вы, что в Bash есть особая переменная "$_" ? Из описания можно узнать, что в переменную "$_" помещается последний аргумент последней команды. Что-то знакомое? Конечно, в Python есть примерно тоже самое. Мы знаем, что дата первого релиза Bash (8 июня 1989) несколько раньше чем первый релиз Python (20 февраля 1991). Если учесть, что по задумке автора Python это агрегация самых успешных практик отовсюду, можно ли сказать что именно эта фишка к нему пришла из Bash? Ни подтверждения ни опровержения я пока не нашел. Давайте просто считать это совпадением 😉 А как это может быть полезно в Bash? Приведу простой пример, который оценят те, кто часто работает в терминале. Допустим, нам надо создать директорию и зайти в неё. Что обычно делаем? :~$ mkdir foldername :~$ cd foldername :~/foldername$ Как это сделать в одну команду? :~$ mkdir foldername && cd foldername :~/foldername$ Уже лучше, но хочется короче, без повторов. Вот тут и пригодится наша переменная. Напомню, что в неё сохраняется последний аргумент предыдущей команды. :~$ mkdir foldername && cd $_ :~/foldername$ _________________ PS. Символы "&&"" разделяют команды и означают, что требуется выполнить вторую команду только если первая завершилась успешно. #linux#tricks

Резултати

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

Пребарај: #aioversight

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

@ai_and_law · Post #178 · 01.12.2023 г., 08:04

US: FTC Empowered in AI Oversight Move Hello, everybody! In a unanimous vote, the US Federal Trade Commission (FTC) has granted itself authority to demand documents in investigations of products and services claiming AI use. The decision allows the issuance of civil investigative demands (CIDs) during probes into corporate AI activities, streamlining the investigative process. This power, effective for a decade, aims to expedite investigations amid the growing role of AI in trade regulation cases. The FTC highlights the potential for AI to be misused for fraud, deception, privacy infringements, and unfair practices, necessitating robust oversight. As part of its heightened interest in AI, the FTC has initiated the "FTC Voice Cloning Challenge" to combat voice deepfakes. With a $25,000 prize for winning ideas, the challenge seeks multidisciplinary approaches to detect AI-generated audio. This move reflects the FTC's commitment to addressing the abuse of AI algorithms that mimic voices for fraudulent activities, such as unauthorized access to sensitive information or extortion scams. The challenge aims to encourage innovation while warning of potential regulatory actions if effective solutions don't emerge. #AIandLaw#FTC#AIOversight#VoiceCloningChallenge