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

TGINSIGHT SIMILAR POSTS

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

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

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

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

Глобално пребарување

SURGE PRO NEWS

@SurgeTestFlight · Post #896 · 22.03.2025 г., 12:43

#Mac#Release Version 5.10.2-3235 - Accessing the remote Dashboard of Ponte devices no longer requires Enhanced Mode to be enabled. - Added DNS over TLS support, e.g., tls://8.8.8.8 - Optimize the process of adding rules through the Dashboard. - Surge Dashboard can now remotely operate the temporary rules of the target Surge instance. - Bug fixes and other improvements. Official Channel: @SurgeTestFlightFeed

Hashtags

SURGE PRO NEWS

@SurgeTestFlight · Post #862 · 20.02.2025 г., 10:23

#Mac#Release Version 5.10.1-3207 - When enabling the HTTP capture switch, all active connections will now be forcibly interrupted to ensure that no requests are missed due to existing long connections. - Optimized compatibility with some QUIC clients, such as Lark. - Fixed an issue where download data bytes in statistics was incorrect after modifying the request HTTP using scripts or other mechanisms. - Adjusted the priority of processing logic when forwarding QUIC. Now, for a proxy policy that does not support UDP forwarding, it will prioritize considering QUIC Block before falling back to DIRECT or REJECT. - Fixed an issue where utun devices could not be used when binding the outbound interface. - Fixed an issue where repeated notifications might continuously occur during Ponte Server retry failures. - Resolved an issue where a specific request forwarded by Surge Ponte might get stuck under certain networks. - Bug fixes and other improvements. Official Channel: @SurgeTestFlightFeed

Hashtags

SURGE PRO NEWS

@SurgeTestFlight · Post #843 · 20.01.2025 г., 14:03

#Mac#Release Version 5.10.0-3195 ### New Feature: Port Forwarding Example [Port Forwarding] 0.0.0.0:6841 localhost:3306 policy=SQL-Server-Proxy The policy parameter is optional; if not specified, the standard proxy matching will be used to determine the policy. This feature is commonly used in development and debugging scenarios such as connecting to servers like MariaDB using SSH. ### #!REQUIREMENT upgrade - Now provides three simple notations: #!IOS-ONLY, #!MACOS-ONLY, and #!TVOS-ONLY. - Content disabled by this end-of-line comment can now be displayed and edited in the UI. It will appear as disabled when conditions are not met, and if enabled, restrictions will be automatically removed. Example DOMAIN,reject.com,REJECT #!MACOS-ONLY ### Host Optimization Host section supports configuration using DOMAIN-SET and RULE-SET to improve matching efficiency. Use case: [Host] DOMAIN-SET:https://example.com/domains.txt = server:https://doh.com/dns-query RULE-SET:https://example.com/rules.txt = server:https://doh.com/dns-query ### Other Improvements - Optimize using Smart policy groups as the underlying proxy. Now, in this usage scenario, the characteristics of Smart policy groups can be fully utilized. - Surge Ponte can now automatically retry to recover after an abnormal NAT type appears. - Bug fixes and other improvements. Official Channel: @SurgeTestFlightFeed

Hashtags

SURGE PRO NEWS

@SurgeTestFlight · Post #729 · 22.11.2024 г., 03:46

#Mac#Release Version 5.9.2-3098 - The menu bar icon can now display the outbound mode. - Fixed some issues related to Ponte. - Fixed the issue where error messages on the DHCP configuration page sometimes could not be displayed, preventing further actions. - Fixed an issue where the Host entry configured for .local domain names might be invalid. - Optimized the proxy and rule editing pages; parameters that are not editable in the UI will now also be retained. - Other bug fixes. Official Channel: @SurgeTestFlightFeed

Hashtags

SURGE PRO NEWS

@SurgeTestFlight · Post #629 · 01.11.2024 г., 02:26

#Mac#Release Version 5.9.0-3025 ### New Features - Added pre-matching rules for low-overhead request rejection. Please refer to the documentation for details. https://manual.nssurge.com/policy/reject.html - Body Rewrite supports using JQ expressions to manipulate JSON. - The shadowsocks protocol adds support for the 2022-blake3-aes-256-gcm and 2022-blake3-aes-128-gcm encryption modes ### Improvements - The URL-REGEX rule now supports extended-matching tags. - Allow the use of Ponte policy as an underlying proxy. - Modify the termination logic of HTTP scripts. If a request needs to be interrupted, use $done({abort: true}). Other failures will not modify or terminate the request. - Overall optimization and improvement of UDP forwarding. ### Bug Fixes - Fix the issue where DNS requests cannot select the correct interface according to the routing table in enhanced mode. - Fix the issue of not being able to obtain system routes on macOS 12. - Fix the issue where determining the existence of IPv6 might be incorrect in some cases. - Fix the issue where an incorrect message might sometimes indicate that the proxy settings have been modified by another program. - Other bug fixes. Official Channel: @SurgeTestFlightFeed

Hashtags

SURGE PRO NEWS

@SurgeTestFlight · Post #573 · 23.10.2024 г., 06:46

#Mac#Release Version 5.8.2-2946 - Fix the issue where IPv6 VIF cannot take over requests when the gateway-restricted-to-lan parameter is enabled. - DNS lookup of use-application-dns.net will return NXDOMAIN, causing Firefox to automatically disable application DNS, (i.e., DoH). Using encrypted DNS directly in the browser will prevent Surge from correctly obtaining the requested domain names. - Bug fixes and minor improvements. Official Channel: @SurgeTestFlightFeed

Hashtags

CHESS

@chessmusic · Post #218 · 20.05.2022 г., 12:55

#release#релиз Новый сингл «Фейсом об тейбл» от CHESS, музыканта, вокалиста, автора песен из Москвы. Слушай тут: https://bnd.lc/feysom У каждого рождаются свои образы в голове, тебе может этот трек пригодиться в случае, когда ты зол и хочешь интеллигентно выпустить пар, он для тебя. Когда чувствуешь на себе давление со стороны кого-то — он тоже для тебя. Когда ты едешь на скейте или тусуешься такой красивый в клубе — он тоже для тебя.

Surge's Changelog

@SurgeChangelog · Post #2268 · 15.04.2026 г., 01:22

#Mac#Release Version 6.5.0-10960 ### Agent Skill - Surge now fully supports AI agent skill operations. We have built in instructions on how to use surge-cli to operate Surge, and have fully exposed all capabilities of surge-cli. Tell the following to your agent that supports skills to use it: Install the skill from the /Applications/Surge.app/Contents/Resources/Skills/ directory using a symbolic link to ensure the skill can be updated along with the application bundle. ### Policy Group Icon - It is now supported, as in the iOS version, to configure an icon for a policy group for display. You need to configure the icon-url field. There is currently no UI setting; you need to modify the configuration manually. ### DHCP Section Added support for a new ​DHCP configuration section to customize DHCP settings. You can now control max​-lease​-time, default​-lease​-time, min​-lease​-time, one​-lease​-per​-client, and ping​-check directly from profile parameters. [DHCP] max-lease-time = 86400 default-lease-time = 43200 min-lease-time = 600 one-lease-per-client = true ping-check = true This feature is only provided for users with special needs; generally, the default settings are sufficient and no configuration is required. ### Other Improvements - Added support for the X25519MLKEM768 post-quantum hybrid key exchange group for all TLS-related features (such as proxy clients and MITM), combining X25519 with ML-KEM-768 for quantum-resistant key exchange. - Experimental support for compatibility-mode = 5 Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #2241 · 07.03.2026 г., 15:17

#Mac#Release Version 6.4.4-10660 ### Throughput Test Now you can customize all the parameters of the throughput test. [Testing] download-url = upload-url = download-url-proxy = // If not provided, use download-url upload-url-proxy = // If not provided, use upload-url download-concurrency = // Default is 4 upload-concurrency = // Default is 4 download-duration-limit = // Default is 10s upload-size-limit = // Default is 1GB upload-duration-limit = // Default is 10s ### Proxy Protocol Experimental support for the Trust Tunnel proxy protocol, which is developed and maintained by AdGuard. (Although the project promotes Trust Tunnel as a VPN protocol, it is actually a proxy protocol.) - This protocol is based on TLS, so all TLS-related parameters can be configured and used. - Currently, only the HTTP/2 (TCP)-based operating mode is supported. - UDP forwarding support has not been completed yet. Configuration example: proxy = trust-tunnel, 192.168.20.62, 443, username=test, password=test ### Minor Improvements - Fixed an issue where AnyTLS could get stuck in reuse mode when used with certain servers. - Support drag-and-drop reordering on the proxy view and local DNS mapping view. - Fix the issue where the related statistics for the DIRECT policy were not saved correctly. - Bug fixes. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #2208 · 14.01.2026 г., 04:10

#Mac#Release Version 6.4.3-10320 ### Proxy Protocol - Support for a new proxy protocol: AnyTLS. - Supports Salamander obfuscation mode of Hysteria 2, with the configuration parameter salamander-password. - The QUIC block behavior for all proxy protocols is now set to block by default. ### Browser Integration - Add support for the Brave browser. ### Proxy Editing Improvements - When you hold down the Option key and click the Surge main menu, hidden policy groups will now be displayed. - You can now directly test whether the current proxy parameters are correct during the process of editing the proxy. ### New DNS Mapping Keyword - Added the force-syslib keyword for DNS mapping. - The original system and syslib keywords have exactly the same effect: when enhanced mode is not enabled, the system library will be used for resolution; when enhanced mode is enabled, Surge will perform resolution using the system's DNS server. - When using the force-syslib keyword, the system library will be used for resolution regardless of whether enhanced mode is enabled. Please note that this may cause recursive request issues. This option is designed for special domains such as mDNS; do not configure this parameter for general domains. ### Dashboard Improvements - Enhanced the Host view of the request list. Now all IP address requests can be viewed grouped by AS. ### CLI Improvements - Now you can use the surge-cli -c profile.conf command to check whether a profile is valid. Official Channel: @SurgeTestFlightFeed

Hashtags

Surge's Changelog

@SurgeChangelog · Post #2154 · 09.12.2025 г., 08:08

#Mac#Release Version 6.4.2-9830 - It is now possible to enable or disable the UDP Fast Path feature for individual devices. - IPv6 RA override no longer broadcasts new DNS addresses to ensure maximum compatibility. - Adjusted the storage mechanism for traffic statistics. In previous versions, changes to a policy's configuration caused the policy's traffic statistics to be reset. Now, traffic statistics rely solely on the policy name (and the policy group name for external policies), so modifying the configuration will no longer result in the loss of statistical data. - Surge Enterprise is being renamed to Surge Team, which will be used for team licensing and profile management. We will provide more information later. - Bug fixes. Official Channel: @SurgeTestFlightFeed

Hashtags

12•••5•••10•••15•••1920212223•••25•••30•••35•••40•••45•••50•••55•••60•••6566
ПретходнаСтраница 21 од 66Следна