Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления.
from __future__ import division
Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда.
Например:
int/int => int
int/float => float
В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float.
Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float.
12/float(5) => float
Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//".
>>> 3/2
1.5
>>> 3//2
1
То есть теперь деление int на int даёт float если результат не целое число.
В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами.
Данный переход описан в PEP238.
#pep#2to3#basic
A systemd fork has set out as a fu*k you to age verification.
Liberated systemd is a fork of mainline systemd started by Jeffrey Seathrún Sardina, a machine learning/AI researcher who apparently had enough of where things were heading. The project is straightforward about its purpose; strip out what it considers surveillance-enabling code, keep everything else intact, and stay in sync with upstream as it develops.
https://itsfoss.com/news/systemd-fork-strips-out-age-verification/
@itsfoss_official
#AgeVerification#SystemD
438 Experts Warn: Age Verification May Not Work | Tech, Privacy News Explained
More than 400 security and privacy experts have issued a formal warning about age verification systems.
Importantly, they are not arguing against protecting children online — but raising concerns about whether current systems actually work as intended, how they scale, and what risks they introduce.
The warning comes as governments in the UK, US, and Europe continue rolling out age verification and age assurance requirements under new regulations.
In this video, we look at:
• Who these experts are
• What they actually said
• The technical challenges behind age verification
• Why concerns about privacy, security, and effectiveness are being raised
• And why these systems are being introduced anyway
https://csa-scientist-open-letter.org/ageverif-Feb2026
#BigBrother#AgeVerification