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

TGINSIGHT SIMILAR POSTS

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

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

Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic

Резултати

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

Пребарај: #alagasnet

当前筛选 #alagasnet清除筛选
MikroTik.SG

@mikrotiksg · Post #344 · 22.04.2026 г., 01:59

📦 MikroTik Newsletter #132 (April 2026) – What’s New? MikroTik just dropped a major update covering everything from Wi-Fi 7 home routers to 200G+ data center routing. 🚀 Key Highlights: 🏠 Wi-Fi 7 Home Router • New hAP be³ Media with triple-band Wi-Fi 7 • 2.5G Ethernet on all ports + container support • Built-in Matter/Thread for smart home automation 📡 LTE7 Everywhere • New wAP ax LTE7, LHGG LTE7 for rural & outdoor use • Faster uploads + better performance in congested areas 🌍 Flexible Connectivity • SXTsq LTE4 series with eSIM + NanoSIM • Easy deployment for remote sites & backup links 🏭 Industrial & IoT • KNOT LTE4 – compact gateway with BLE + GNSS • Ideal for automation, telemetry, and smart city use ⚡ Power Stability • FTC21-ups keeps network alive during power drops with built-in batteries 📊 Monitoring & Sensors • TG-LR82 LoRaWAN sensor for temperature, motion & environment tracking 🧠 High-Performance Routing • New Ampere-powered Cloud Core Router (up to 64 cores) • Built for data centers, ISPs, and large networks 👉 From smart homes to core networks — MikroTik is pushing both ends of the spectrum. #AlagasNet#MikroTikSG https://box.mikrotik.com/f/cba1553e93f44fd39758/

MikroTik.SG

@mikrotiksg · Post #343 · 19.03.2026 г., 15:56

🚀 WiFi 8 is coming… and MikroTik is already preparing for it What if your network could think and adapt in real time? MikroTik has just revealed its vision for WiFi 8, powered by Qualcomm Dragonwing and it’s not just about speed anymore. 💡 What to expect: • AI-driven traffic optimization (yes, your router gets smarter) • Better stability when many devices are connected • Reduced latency spikes for gaming & real-time apps • Enterprise-grade performance even at home The upcoming Audience 8 will bring: ⚡ Tri-band WiFi 8 with 6 GHz ⚡ Up to 10G ports ⚡ DDR5 + high-speed storage ⚡ Container support in RouterOS This means one thing: 👉 The gap between home and enterprise networking is disappearing MikroTik is targeting 2027 rollout, with early prototypes already in development 🔥 The future of WiFi isn’t just faster, it’s smarter. Are you ready for WiFi that adapts to you? #AlagasNet#MikroTikSG

MikroTik.SG

@mikrotiksg · Post #334 · 19.01.2026 г., 03:15

📦 MikroTik Containerized App Management (RouterOS v7) RouterOS v7 includes native container support, allowing you to run containerized applications directly on supported MikroTik devices, no separate server required. What you can do: • Pull container images from registries • Run services like monitoring agents, DNS, automation tools • Manage containers via CLI, scripts, or API • Integrate apps with RouterOS networking, firewall, and routing This is especially useful for edge deployments, branch offices, labs, and automation-heavy environments where simplicity and control matter. 📘 Documentation: https://help.mikrotik.com/docs/spaces/ROS/pages/343244823/Containerized+App+management #AlagasNet#MikroTikSG 👀 Look what we found, MikroTik CHR running in a Container!

MikroTik.SG

@mikrotiksg · Post #332 · 09.01.2026 г., 02:08

📦 MikroTik RouterOS v7.20.7 (Long-Term) Released 🗓 8 Jan 2026 This is an important milestone — v7.20.7 is the FIRST Long-Term (LT) release of RouterOS v7, making it the most stable and recommended version for long-term deployment since RouterOS v7 was introduced. 🔍 Changelog Summary Routing & BGP • Fixed BGP L2VPN Cisco decoding • Resolved MPLS label corruption in VPN updates Bridge & Switching • Fixed dynamic switch-CPU VLAN issues • Improved fast-path stability when interfaces change • Corrected multicast packet handling on multiple switch chipsets System Stability • Fixed memory leak • Improved script execution policy detection • Stability improvements across bridge, OVPN, and firewall Security & VPN • Private keys marked as sensitive • OVPN server reboot handling fixed • Improved stability with Blowfish cipher LTE, IPv6 & Hardware • LTE IPv6 now correctly uses EUI-64 • Fixed LTE reconnection on Chateau 5G ax R17 • Improved SFP link status & notifications • UPS hibernation shutdown fix WiFi • Added Superchannel regulatory profile (MediaTek) ✅ Strongly recommended for production, ISP, and enterprise environments #AlagasNet#MikroTikSG#MikroTik#RouterOS

MikroTik.SG

@mikrotiksg · Post #314 · 30.07.2025 г., 06:56

Current MikroTik Software Release RouterOS: 7.19.4 | 6.49.18 Winbox: 3.42 / 4.0beta26 SwitcOS: 2.18 SwitchOS lite: 2.20 If you missed 7.19.3, Significantly improved Wi-Fi 6 Performance with RouterOS v7.19.3 (stable) Significantly improved Wi-Fi 6 Performance with RouterOS v7.19.3 (stable) If you've been waiting for a sign to explore MikroTik's Wi-Fi 6 solutions - this is it. With RouterOS v7.19.3, MikroTik has introduced significant improvements to 802.11ax (Wi-Fi 6) device performance. This update enhances range, stability, and overall wireless experience, making it the best time yet to deploy Wi-Fi 6 in your home, office, or enterprise setup. MikroTik is continuously working to improve AX performance across all supported MikroTik devices, and this update is a major step forward. Whether you're using a single AP or building a complex multi-device setup, you'll notice the difference. But there's more to this update: from enhanced IPv6 FastPath support to hardened RADIUS (RadSec) and smarter LTE/eSIM handling, the system is now more robust under real-world stress. For best results and security, always use the latest stable RouterOS version. Version 7.19.3 is currently our recommended release for anyone using Wi-Fi 6 hardware. #MikroTik#RouterOS#AlagasNet#LatestSoftware

MikroTik.SG

@mikrotiksg · Post #333 · 14.01.2026 г., 09:48

🚀 RouterOS v7.21 Released 🔥 Major highlights: • BGP: RFC 9234 route leak prevention, VPN/MPLS fixes • Containers: new Apps menu, CPU limits, ENV & mount control • WiFi: CAPsMAN forwarding, WiFi 7-ready parameters • LTE/5G: improved eSIM, modem recovery & stability • Firewall & L3HW: better offloading, performance & stability • Security: Hotspot TOTP, SSH ED25519-SK, cert trust-store 📥 Download: https://mikrotik.com/download #MikroTik#RouterOS#NetworkEngineering#AlagasNet#MikroTikSG

MikroTik.SG

@mikrotiksg · Post #335 · 08.02.2026 г., 00:19

🛠️ RouterOS v7.20.8 Released (Long-Term) This is a bug-fix–only maintenance release for the v7.20 long-term branch. No new features, focused on stability and reliability. 🔧 Fixes include: • BGP RFC 7606 error handling improvements • Bridge VLAN creation regression fix • Container nftables / iptables issue resolved • PoE-out firmware & PSU recovery fixes • SNMP script execution & permission fixes • Rare RouterOS configuration loss resolved 📥 Download: https://mikrotik.com/download #MikroTik#RouterOS#LongTerm#NetworkStability#AlagasNet#MikroTikSG

MikroTik.SG

@mikrotiksg · Post #302 · 06.02.2025 г., 09:09

https://www.facebook.com/share/p/18i6ixeE1L/ Comparing vulnerability statistics of MikroTik RouterOS and Fortinet FortiOS, both serve as the core operating systems powering their respective devices. Do you think this suggest that MikroTik’s security track record is relatively strong? Please give us your opinion by commenting this post. #Mikrotik#RouterOS#Fortinet#FortiOS#alagasnet#security#CVEStatistics

MikroTik.SG

@mikrotiksg · Post #321 · 28.09.2025 г., 04:35

🚨LIVE UNBOXING ALERT!🚨 We’re going live on YouTube to unbox the MikroTik CRS812 – the latest addition to the MikroTik Cloud Router Switch series! 📦 Get a first look at the design, ports, and what makes this model stand out. 👉 Don’t miss it – join us here: 🔗https://www.youtube.com/live/1lUXx0EBs8k #MikroTik#CRS812#400GNetworking#Unboxing#LiveUnboxing#Live#MikroTikSG#AlagasNet