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

TGINSIGHT SIMILAR POSTS

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

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

🙄Разминка для ума! Треугольник Серпинского, интересная фигура которую построить достаточно просто. Алгоритм такой: 1. создаём любые 3 точки на плоскости 2. из этих точек случайно выбираем любую, как начальную 3. случайно выбираем любую точку из этих же трёх точек как цель 4. перемещаемся в сторону цели на половину расстояния 5. повторяем бесконечно с пункта 3 Если сделать достаточно много итераций то вырисовывается интересная фигура. Треугольник, в который вписаны более мелкие треугольники. Это самый настоящий фрактал! Я собрал пример построения такой фигуры на базе Qt. 🌎 Код можно посмотреть здесь. С помощью paintEvent я рисую точки по озвученному алгоритму. Каждые 10 секунд либо по клику на виджете строится следующий треугольник. Особенности примера: 🔸 Атрибут Qt.WA_OpaquePaintEvent позволяет сохранить то, что было нарисовано в прошлой итерации. Таким образом мы видим постепенное наполнение точек а не мелькающую одну точку. 🔸QTimer позволяет создавать отложенные вызовы один раз или с повторением через интервал. 🔸QColor.fromHsv() позволяет создать рандомный но предсказуемый цвет с помощью HSV схемы. Не слишком светлый и не слишком тёмный но всегда с разный. Рандомизации подвергается только смещение по цветовому кругу (Hue), яркость (Value) и насыщенность (Saturation) можно контролировать отдельно в своих пределах или оставить статичными. Обычный рандом цвета по RGB не даёт такой предсказуемый результат. 🔸 Каждый новый цикл с новым треугольником предварительно затемняет предыдущие через этот вызов painter.fillRect(rec, QColor(0, 0, 0, 100)) То есть полупрозрачный цвет. Таким образом, чем старше треугольник, тем он темней. Если сделать виджет фулскрин, то у нас получится некий ScreenSaver))) 🔸 Да, я знаю, что рисование в Qt не самый лучший способ сделать этот пример) Скорее всего самый НЕподходящий. Попробуйте сделать тоже самое но другими средствами. #qt#source#tricks

Резултати

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

Пребарај: #boe

当前筛选 #boe清除筛选
经济信息联播

@eco_cn · Post #30067 · 20.03.2026 г., 01:14

英央行维持利率不变 英国央行罕见全票维稳利率,声明中删除了先前指引中"利率可能进一步降低"的措辞,释放出明确的立场转变信号,为加息打开大门。通胀预期大幅上调,央行高度警惕2022年危机重演。 #BoE

Hashtags

经济信息联播

@eco_cn · Post #29826 · 10.03.2026 г., 01:19

能源价格飙升引发通胀担忧,利率互换市场目前定价欧洲央行年内两次25基点加息,最早6月启动首次加息,而上周市场仅预期一次加息。#ECB 货币市场定价英国央行年内加息15基点,在美伊冲突之前,市场还预期英国央行今年两次25基点的降息。#BoE

Hashtags

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24484 · 10.05.2026 г., 01:17

【🪙 穩定幣|英國央行總裁 Bailey:英美穩定幣規則「即將角力」、警告擠兌都會跑來英國】 英國央行(BoE)總裁 Andrew Bailey 5/9 警告:英美在穩定幣監管即將進入「角力」階段;擔憂美國 GENIUS 法案推動的美元穩定幣若在跨境支付廣泛採用、英國作為堅持兌換義務的金融中心將承擔系統性風險。Bailey:「我們知道穩定幣若發生擠兌會怎樣—它們會全部跑來這裡。」並主張穩定幣若要成為全球支付架構的一部分、必須有國際標準。 #BoE#AndrewBailey#穩定幣#GENIUS 📍閱讀全文: https://abmedia.io/boe-bailey-us-stablecoin-wrestle-uk-run-risk-may-9-2026

American Оbserver

@american_observer · Post #5430 · 20.03.2026 г., 19:59

Dollar’s Iran War Hangover The dollar is taking a hit, and it’s not because the Fed suddenly got soft — it’s because everyone else decided to go full hawk once Trump set the Middle East on fire. Since the US–Israel war on Iran began and Brent shot roughly 50% higher, markets have flipped from pricing Fed cuts to assuming the Fed just freezes in place while Europe, Britain, Japan and even Australia talk, hint, or move toward hikes. The result: euro, yen, sterling, Swiss franc and Aussie all gain on the week, while the dollar index posts its biggest weekly drop since January — even as traders warn that if the war drags on, the greenback will come back as a classic “safe haven” riding US energy exports and global fear. In Brussels and London, central bankers are suddenly rediscovering inflation. The ECB held rates but all but admitted that energy‑driven price pressure means hikes are back on the table; markets now fully price at least one move by June. The Bank of England did the same “on hold but ready to strike” routine and promptly triggered a rout in short‑dated gilts as traders shoved in roughly 80 basis points of tightening by year‑end. The Bank of Japan, long the global dove, left the door open to a hike as soon as April, giving the yen a rare boost as carry‑traders blinked. Australia simply skipped the winks and raised again, its second hike in two months. Washington, meanwhile, is stuck in a classic Trump‑era contradiction. The Fed sits on its hands because Powell has no idea how deep the war damage will go, money markets have killed off hopes of rate cuts but haven’t priced hikes, and at the same time the administration is begging Saudi Arabia and Israel not to push Iran’s energy network over a cliff while openly considering unsanctioning Iranian barrels and already relaxing restrictions on Russian oil at sea. LNG in the Gulf gets hit, the world’s largest gas complex is “crippled,” crude flirts with $120, and the supposed king currency of the system spends a week being marked down because everyone else is hiking to pay for Trump’s freedom‑of‑navigation cosplay. The punchline for a Telegram feed is simple: the war Trump sold as strength is now rewriting global rate expectations, making Europe and Asia look tougher than the Fed on inflation, and briefly knocking the dollar down — while every serious strategist quietly adds the same caveat. If this conflict drags on and the shock gets bigger, the dollar doesn’t die; it comes back stronger as the world’s favorite panic asset, backed by US oil and a war bill that someone will eventually have to pay. #IranWar#Trump#dollar#Fed#ECB#BoE#BoJ#RBA#FX#oil#gas#energyCrisis#markets#warCost#fakeStability 📱American Оbserver - Stay up to date on all important events 🇺🇸

🔎Investiga. 👁‍🗨Sabes que hay algo mas. 💡Saca tus propias conclusiones. 👁INDICE👁 #indice ➖➖➖➖➖➖➖➖➖➖➖➖ #11s #AdolfHitler #Beirut #BeresyPaios #BillGates #Boe #blackrock #Bluebeam #cambioclimático #Chemtrails #Conspiración #corrupción #COVID #DinastíaRockefeller #DinastíaRothschild #documental #Enoc #Fishbowl #HAARP #Highjump #HistoriaOculta #Holocausto #ia #inteligenciaartificial #Libros #Mediosdesinformación #metaverso #MK_Ultra #NASA #Nefilim #NOM #nuevasleyes #Ovnis #Patente #pelicula #Proyecto #serie #Simbologia #Siónista #SociedadesSecretas #Supervivencia #tartaria #Temazo #Tesla #Tierraplana #Trump #utopia #ufo #vanguard #Wikileaks ✉️ 📝 🤖 📷 🗳 💬 📣Comparte este canal: 💬https://t.me/whiterabbit101💬

🔎Investiga. 👁‍🗨Sabes que hay algo mas. 💡Saca tus propias conclusiones. 👁INDICE👁 #indice ➖➖➖➖➖➖➖➖➖➖➖➖ #11s #AdolfHitler #Beirut #BeresyPaios #BillGates #Boe #blackrock #Bluebeam #cambioclimático #Chemtrails #Conspiración #corrupción #COVID #DinastíaRockefeller #DinastíaRothschild #documental #Enoc #Fishbowl #HAARP #Highjump #HistoriaOculta #Holocausto #ia #inteligenciaartificial #Libros #Mediosdesinformación #metaverso #MK_Ultra #NASA #Nefilim #NOM #nuevasleyes #Ovnis #Patente #pelicula #Proyecto #serie #Simbologia #Siónista #SociedadesSecretas #Supervivencia #tartaria #Temazo #Tesla #Tierraplana #Trump #utopia #ufo #vanguard #Wikileaks ✉️ 📝 🤖 📷 🗳 💬 📣Comparte este canal: 💬https://t.me/whiterabbit101💬

🔎Investiga. 👁‍🗨Sabes que hay algo mas. 💡Saca tus propias conclusiones. 👁INDICE👁 #indice ➖➖➖➖➖➖➖➖➖➖➖➖ #11s #AdolfHitler #Beirut #BeresyPaios #BillGates #Boe #blackrock #Bluebeam #cambioclimático #Chemtrails #Conspiración #corrupción #COVID #DinastíaRockefeller #DinastíaRothschild #documental #Enoc #Fishbowl #HAARP #Highjump #HistoriaOculta #Holocausto #ia #inteligenciaartificial #Libros #Mediosdesinformación #metaverso #MK_Ultra #NASA #Nefilim #NOM #nuevasleyes #Ovnis #Patente #pelicula #Proyecto #serie #Simbologia #Siónista #SociedadesSecretas #Supervivencia #tartaria #Temazo #Tesla #Tierraplana #Trump #utopia #ufo #vanguard #Wikileaks ✉️ 📝 🤖 📷 🗳 💬 📣Comparte este canal: 💬https://t.me/whiterabbit101💬