The @passagemath.org@bsky.brid.gy project applies a 2-phase build procedure in the style of #cibuildwheel – first build the wheel, then "repair" it (vendor non-Python deps into it) – also to some arch-independent #Python packages, e.g., the #Mathematics databases from #GAPSystem.
pypi.org/project/pass...
6/
passagemath-gap-pkg-smallgrp-d...
What's this probability function? Given N bit positions, select k at random with replacement and set them to 1. On average how many are 1? Here's #Python code. Help from #statistics? #math?
import functools
@functools.cache
def num_on(N, k, N_on=0):
if k == 0 or N_on == N: return N_on
return (
num_on(N, k-1, N_on) * (N_on/N) +
num_on(N, k-1, N_on+1) * (N-N_on)/N )
k = 110
N = 2048
print(num_on(N, k)) # 107.12
# good approximation
import math
print(N*(1-math.exp(-k/N)))
New Infostealer grabs Browser Data, Wifi Logins, Cryptowallets
A new information stealer named Arkanix has emerged, likely designed for short-term financial gains. Advertised on Discord, it has rapidly evolved from a Python-based to a C++ version. The malware steals data from various browsers, crypto wallets, VPN accounts, and system information. It employs sophisticated techniques like VMProtect for obfuscation and 'Chrome Elevator' to bypass App Bound Encryption. Arkanix is distributed through Discord and online forums, disguised as legitimate tools. The threat actors offer a web panel with premium features, including VPN and Steam account theft. This case highlights the ease of starting cybercrime businesses for quick profits, with actors demonstrating considerable experience in malware development and distribution.
Pulse ID: 692df2957f5d170436886325
Pulse Link: https://otx.alienvault.com/pulse/692df2957f5d170436886325
Pulse Author: AlienVault
Created: 2025-12-01 19:55:01
Be advised, this data is unverified and should be considered preliminary. Always do further verification.
#Browser #Chrome #CyberCrime #CyberSecurity #Discord #Encryption #InfoSec #InfoStealer #Malware #OTX #OpenThreatExchange #Python #RAT #Steam #VPN #bot #AlienVault
"Solus 4.8 brings Usr-Merge completion, Python 2 removal, updated desktop editions and more"
"With this release, the Solus team completed its long-running Usr-Merge transition and switched to the Polaris package repository. Solus4.8, code-named “Opportunity”, has been released as the latest version of this independent Linux distribution."
TIL: There is a Lisp that runs on Python, somehow. It's called Hy.
https://hylang.org/hy/doc/v1.1.0
(Hy has access to the Python libraries. Interesting.)
V - S1 EP9 T8 - Machine Learning in Python - Object Oriented Approach - with Matplotlib #machinelearningtutorial #machinelearningbasics #codingforbeginners #aiexplained #machinelearningmodels #datascience #mlforbeginners #algorithims #dataengineering #jupyternotebook #statistics #machinelearning #vscode #python #pythoncoding #softwaredeveloper #datascienceforbeginners #PythonForDataScience #jupyterlabs #learnpython
Time for #aoc2025. I should pick a language and start. Last year I picked #Emacs Lisp, and learned quite a bit. I'm leaning towards #Python this year. Or maybe C.
Oh by the way, you can still get ALL my 8 #Python books PLUS all future updates PLUS all future books for $37.5 because of the Black Friday craze.
That's $166 worth of books!
It's a pretty good deal :D
Here's the link: 📚 https://mathspp.gumroad.com/l/all-books-bundle/BF202550
Enjoy the books :)
Was randomly looking up some #Python stuff (how to create GUIs) and came across this tutorial video. It's really, REALLY good. I had no idea that creating a gui was that simple in Python, but I suppose I shouldn't be surprised given it's global popularity. I'm no programmer but this video really inspired me. May try to find some time in the near future to get into it. https://invidious.nerdvpn.de/watch?v=mop6g-c5HEY
Edit: It's an Invidious link to a YT video, no idea why the link expands to wackadoodle random words.
Starting a 12-day experiment: AI coding assistants vs. human on Advent of Code 2025.
Claude, GPT-OSS, and Kimi-K2 competing with full session logs and reviews. First in a series about pair-programming with robots.
https://emma.has-a.blog/articles/advent-of-code-assistants.html
passagemath-conf is both a build-time (PEP-518) and runtime dep ("install-requires") of these @passagemath.org@bsky.brid.gy packages with non #Python deps. When preparing self-contained wheels using cibuildwheel, we vendor the non-Python runtime deps into the wheel and delete the runtime dep passagemath-conf. 5/
After thought (thought I didn’t plan to put into it), I don’t think "NULL coalescing" and "NULL chaining" needs to be built in to the #ProgrammingLanguage, and here’s why:
* If you’re getting just one thing, the getter can take an optional default result value. #Python works like this in `getattr`, `.get`, and things of that nature. Having an operator for this is fine, but it seems obvious you don’t **need** the language to do it for you.
* If you’re walking down a long uncertain chain, I have two arguments:
* Knowing the path that leads down into the object to the specific thing you want kinda sounds like an #Encapsulation violation. Why do you know so much about the internals of this object. If this deep property is important, maybe it’s part of the interface of the top-level thing. Maybe this is just bad design.
* Diving deeply involves lots of possibilities: possible defaults, actual methods of finding the named thing (allow inheritance? Is it an attribute? Is it an element of an array? Etc), did you want to just stop or raise an exception?Does saying what you want really come out to a simple, clean, understandable, one-line, expression?
Maybe I’m biased because I don’t have these operators in my day-to-day language; and also can’t remember hitting this situation. And I can certainly see such operators could be helpful. I’m not a language designer. But from my actual experience, in this case, the juice just isn’t worth the squeeze.
#NullCoalescing #NullChaining #LanguageDesign