@testflightynoti · Post #38175 · 12.05.2026 г., 19:04
#VoicePad#AI#Dictation Join the VoicePad AI Dictation beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/bbmnyyS4 Shared by Dimitri
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #418 · 9 мар.
Оператор pipe позволяет писать более компактный код, реализуя логику объединения данных (Union). Важно помнить, что его поведение зависит от контекста. Побитовые операции (логическое OR) result = 5 | 3 # 5 (0101) | 3 (0011) = 7 (0111) Самое главное - не путать с оператором or, это другое! Объединение множеств set_a = {1, 2, 3} set_b = {3, 4, 5} set_c = set_a | set_b # {1, 2, 3, 4, 5} set_c |= {5, 6} # {1, 2, 3, 4, 5, 6} Слияние словарей dict_1 = {"a": 1, "b": 2} dict_2 = {"b": 3, "c": 4} merged = dict_1 | dict_2 # {'a': 1, 'b': 3, 'c': 4} merged |= {"d": 5} # {'a': 1, 'b': 3, 'c': 4, 'd': 5} Аннотации типов, заменяет Union def process_data(value: int | str) -> None: print(value) Допустимо использовать в isinstance или issubclass isinstance(3, int | float) # True Паттерн-матчинг status_code = 404 match status_code: case 200 | 201 | 204: print("OK") case 400 | 404 | 500: print("ERROR") Для использования в своих классах требуется переопределить метод __or__ Так же нашел библиотеку pipe которая добавляет еще много возможностей. Рекомендую ознакомиться ;) #basic
Hashtags
Пребарај: #dictation
@testflightynoti · Post #38175 · 12.05.2026 г., 19:04
#VoicePad#AI#Dictation Join the VoicePad AI Dictation beta on ✈️#TestFlight 🔗 Link: https://testflight.apple.com/join/bbmnyyS4 Shared by Dimitri
@RusEmbIndia_Ru · Post #14913 · 14.04.2026 г., 08:01
Дорогие друзья! 📚 Русский дом в Нью-Дели приглашает вас принять участие в международной исторической акции «Диктант Победы». 📆 Ждем Вас 24 апреля в 12:00. 🔗 Язык диктанта - русский и английский. 🏢 Место проведения: Русский дом в Нью-Дели. 📍Адрес: 24, Фироз Шах Роуд, г. Нью-Дели. ✅ Вход для посетителей мероприятия - свободный. 🔗При себе необходимо обязательно иметь ID-карту (на бумажном носителе). 💎 Не упустите возможность стать частью важного события! Ждем Вас! #РусскийДом#Диктант#Индия Dear friends! 📚 The Russian House in New Delhi invites you to participate in the international historical campaign "Victory Dictation." 📆 We look forward to seeing you on April 24 at 12:00 p.m. 🔗 The language of the dictation is Russian and English. 🏢 Venue: Russian House in New Delhi. 📍Address: 24, Firoz Shah Road, New Delhi. ✅ Entrance for visitors to the dictation is free. 💎 Don't miss the opportunity to become part of an important event! We are waiting for you! #RussianHouse#Dictation#India
@libreware · Post #1477 · 07.08.2025 г., 03:49
WhisperTux Simple #voice#dictation application for #Linux. Uses whisper.cpp for offline speech-to-text transcription. No fancy GPUs are required although whisper.cpp is capable of using them if available. Once your speech is transcribed, it is sent to a ydotool daemon that will write the text into the focused application. Features Local speech-to-text processing via whisper.cpp (no cloud dependencies) No expensive hardware required (works well on a plain x86 laptop with AVX instructions) Global keyboard shortcuts for system-wide operation Automatic text injection into focused applications Configurable whisper models and shortcuts https://github.com/cjams/whispertux #assistant#speech#stt