news
Programming Leftovers
-
Philip Zucker ☛ Atomic Type Theory and Renouncing Forest Terms
An idea I’ve been interested in is stripping out the features of type theory to try and finitize them.
One version of this I think is interesting to consider “Atomic Type Theory”.
If you really strip out all constructions in your type theory, the only term left that you really can’t get rid of is Var(int). A substitution is “merely” picking in some ordering and multiplicity of the items in the domain context.
There isn’t much to it, but that’s the point. And it nevertheless had some surprises for me in regards to how typing the codomain context of a substitution works.
-
Dr Ivan Čukić ☛ Keeping Rainer's Legacy Alive
I’m glad to share my initial contribution to the blog. It is the first part of the series on what I consider to be the most important use case for std::variant – modelling software state using sum types, with the aim of increasing software safety by eliminating invalid states.
-
Michal Zalewski ☛ If it floats...
I like floats. On modern CPUs, invalid floating-point calculations normally don’t trigger hardware exceptions. Instead, if the result can’t be represented by the data type, the operation will return a special value of ± Infinity or NaN.
Because NaN represents multiple arithmetically-incompatible solutions to underlying equations, this special value is never equal to itself: [...]
-
Perl / Raku
-
Perl ☛ NetAddr::IP 4.080_10: another trial, please smoke test
NetAddr::IP 4.080_10 is on CPAN as a trial release. I hope it is the last trial before 4.080 goes stable. If you use NetAddr::IP, install it and run your code against it.
-
-
Python
-
OMG Ubuntu ☛ JetBrains IDEs now use GPU rendering by default on Wayland
JetBrains has enabled GPU-accelerated rendering by default for its IDEs, including IntelliJ IDEA and PyCharm, when running natively on Wayland. Version 2026.3 uses Vulkan to move more drawing work to your GPU, rather than your CPU, which has handled it by default since JetBrains’ first Wayland preview builds in 2024. This doesn’t affect IDEs running on X11 or via XWayland. The move should resolve lag when scrolling, typing and resizing windows, especially on systems where fractional scaling is enabled, and help to reduce power consumption, say JetBrains.
-