@Govsg · Post #3330 · 17.03.2026 г., 06:38
Tensions in the Middle East are driving global fuel prices up. #govsgexplains how this could affect you and what measures are available to help Singapore and Singaporeans navigate this period.
Hashtags
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
Пребарај: #govsgexplains
@Govsg · Post #3330 · 17.03.2026 г., 06:38
Tensions in the Middle East are driving global fuel prices up. #govsgexplains how this could affect you and what measures are available to help Singapore and Singaporeans navigate this period.
Hashtags
@Govsg · Post #3283 · 06.02.2026 г., 07:19
🚦Parliament passed the new Land Transport and Related Matters Bill on 4 Feb 2026. #govsgExplains four key changes in this Act that facilitate the ERP 2 transition and strengthen deterrence for active mobility and vehicular offences. More info: go.gov.sg/govsgexplains-ltrma
Hashtags
@Govsg · Post #3227 · 07.11.2025 г., 11:35
📢The Weekly Wrap – 7 November 2025 1) Wondering how Singapore is tackling online harms? The new Online Safety (Relief and Accountability) Bill (OSRA) is a comprehensive legal framework that offers better protection to victims of online harms. Here’s how OSRA will strengthen online safety👇 1) Set up the Online Safety Commission to help victims seek timely redress 2) Introduce Statutory Torts to enhance perpetrators’ accountability 3) Support victims in identifying wrongdoers 🔗 Learn more: go.gov.sg/parl-roundup-osra 2) Site of 38 Oxley Road intended to be gazetted as a National Monument The National Heritage Board’s Preservation of Sites and Monuments Advisory Board has assessed the Site of 38 Oxley Road to be of historic significance and national importance. If preserved and acquired, all private living spaces will be removed to respect Mr Lee Kuan Yew’s wishes for privacy. #govsgexplains: go.gov.sg/explains-38oxleyroad-1 ➡️ You can also read more about Mr Lee’s views on the Site: go.gov.sg/explains-38oxleyroad-2 3) Visit “We Can ACT Against Scams” Roadshow Learn ways to protect yourself and your loved ones from scams. Don’t miss the interactive activities this weekend! 🗓️ 8 & 9 Nov 2025 (Sat & Sun) 🕙 10am – 8pm 📍Toa Payoh HDB Hub Atrium 🔗 Plan your visit: go.gov.sg/antiscamroadshow
Hashtags
@Govsg · Post #3201 · 03.11.2025 г., 08:01
In its 2018 Report, the Ministerial Committee on the Site of 38 Oxley Road concluded that while Mr Lee Kuan Yew preferred the building to be demolished, he was prepared to accept other options. #govsgexplains more about the background of Mr Lee’s views on the Site of 38 Oxley Road. ⬆️
Hashtags
@Govsg · Post #3191 · 03.11.2025 г., 07:37
The National Heritage Board’s (NHB) Preservation of Sites and Monuments (PSM) Advisory Board has assessed the Site of 38 Oxley Road to be of historic significance and national importance. No other site or monument represents this foundational part of Singapore’s independence history. The Government intends to gazette the Site of 38 Oxley Road to safeguard and preserve it as a National Monument for possible use as a heritage park. If preserved and acquired, all private living spaces will be removed to respect Mr Lee Kuan Yew’s wishes for privacy. #govsgexplains more ⬆️
Hashtags
@Govsg · Post #2596 · 20.12.2024 г., 13:00
#govsgexplains: Incorrect use of NRICs has made us more vulnerable over time. However, the shift from using masked NRIC numbers does not mean automatically unmasking and using the full NRIC number in all circumstances. How can we better protect our personal data? Find out more ⬆️
Hashtags
@Govsg · Post #2563 · 15.11.2024 г., 10:25
📢The Weekly Wrap – 15 November 2024 1. Supporting our Hawkers 🍽 Hawker centres are an integral part of our daily lives. How can we support hawkers better while keeping food prices affordable? 👉#govsgexplains more: • Balancing fair incomes for hawkers while keeping food options affordable: go.gov.sg/hawkers-wrap • Decisive actions taken to support Singaporeans with their cost of living: go.gov.sg/col-support-wrap 2. Live longer, Learn for Life 📈 Are you considering a career switch but afraid to take the first step? PM Lawrence Wong shares more on how the Government can support and journey with you through SkillsFuture 💪 🔗 Find out more at: go.gov.sg/learnforlife2024 3. Managing community disputes more effectively Want to resolve disputes with neighbours faster? There are now better mediation efforts and a dedicated team to facilitate this. Say yes to good neighbourliness! 🔗 Find out more at: go.gov.sg/community-disputes-wrap
Hashtags
@Govsg · Post #2552 · 15.11.2024 г., 01:31
🔼 Find out more about the decisive actions taken to support Singaporeans with their cost of living. We stand ready to do more to address these concerns. #govsgexplains
Hashtags
@Govsg · Post #2542 · 14.11.2024 г., 12:07
How can we ensure fair incomes for our hawkers while keeping food prices affordable for everyone? #govsgexplains more ⬆️
Hashtags
@Govsg · Post #2460 · 13.09.2024 г., 08:15
Curious about why public transport fares are being adjusted? Read on ⬆️ to find out the reasons for the review and the measures in place to support you. #govsgexplains
Hashtags
@Govsg · Post #2213 · 24.05.2024 г., 10:32
In view of the heightened threat situation, Ministry of Home Affairs and Home Team Departments have stepped up patrols and security measures. 📢 With the June school holidays round the corner, please continue to stay safe and vigilant! #govsgexplains
Hashtags
@Govsg · Post #2194 · 17.05.2024 г., 04:32
Singapore has voted in favour of a resolution at the United Nations General Assembly that expresses support for the admission of Palestine as a UN member. Find out why ⬆️#GovsgExplains
Hashtags