Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_12_17
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding

Mi primer CRUD con Python https://myblog.clonbg.es/mi-primer-crud-con-python/ #Programación #Python #PyQT https://clonbg.es

I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours
https://simonwillison.net/2025/Dec/15/porting-justhtml/
gave `ty check` a try out of curiosity to see if it could do a better job with my biggest `ruff check` bug-bear: catching undefined names caused by uncareful branching logic ("happy path" programming)
it does catch the flaw with trivial predicates (`if False:`) but it appears that programs with this kind of branching flaw will sail through as false positives, the same as `ruff check`
```python
import random
y = -1
if random.random() < 0.5:
x = 42
# else x undefined
print(x, y)
```
This flaw in `ruff` was reported in 2024, and while there were a few false-starts on trying to resolve it, it remains unresolved, in part because the control flow analysis necessary was being worked on for what became `ty` and I guess cannot be shared between the two tools.
https://github.com/astral-sh/ruff/issues/13347
This isn't the only thing that's kept me away from *relying* on `ruff` (or now, `ty`), but I consider it a useful canary issue because it comes up a LOT and the tools I am used to using are able to handle it. If Astral's tools catch up to that level of functionality, the speed-up is very attractive, but I'm not willing to sacrifice the one for the other.
And then the alpha was launched.
Huzzah could be heard throughout the kingdom as wheels roll and video streams.. and it was good..
#maker
#3dprinting
#streamingvideo
#raspberrypi
#python
Show HN: High-Performance Wavelet Matrix for Python, Implemented in Rust
Link: https://pypi.org/project/wavelet-matrix/
Discussion: https://news.ycombinator.com/item?id=46304413
📐 I just used @tonybaloney 's sweet-as richbench project for the first time, to validate a small optimization. Will definitely be using it again in the future!
https://github.com/mongodb/mongo-python-driver/pull/2656
Celigo is hiring Staff Software Engineer - AI/ML
🔧 #python #node
🌎 Hyderabad, India
⏰ Full-time
🏢 Celigo
Job details https://jobsfordevelopers.com/jobs/staff-software-engineer-ai-ml-at-celigo-com-aug-26-2025-4e448f?utm_source=mastodon.world&utm_medium=social&utm_campaign=posting
#jobalert #jobsearch #hiring
I looked around for undie #CS curricula at run-of-the-mill US unis, and I have also delved into the #AP CS courses (or curses, as the case maybe) taught at US high schools.
It is distressing: #Python programming is not #ComputerScience!
UAT-9686 actively targets Cisco Secure Email Gateway and Secure Email and Web Manager
A Chinese-nexus advanced persistent threat actor, UAT-9686, is actively targeting Cisco AsyncOS Software for Secure Email Gateway and Secure Email and Web Manager. The campaign, ongoing since late November 2025, exploits non-standard configurations to execute system-level commands and deploy a persistent Python-based backdoor called AquaShell. Additional tools observed include AquaTunnel for reverse SSH tunneling, chisel for TCP/UDP tunneling, and AquaPurge for log clearing. The attackers can execute encoded commands in the system shell and create reverse connections to attacker-controlled servers. This sophisticated attack aligns with tactics used by other Chinese APT groups, raising concerns about potential widespread impact on email security infrastructure.
Pulse ID: 69430d7cff09ca0ae82947d2
Pulse Link: https://otx.alienvault.com/pulse/69430d7cff09ca0ae82947d2
Pulse Author: AlienVault
Created: 2025-12-17 20:07:24
Be advised, this data is unverified and should be considered preliminary. Always do further verification.
#BackDoor #Chinese #Cisco #CyberSecurity #Email #ICS #InfoSec #OTX #OpenThreatExchange #Python #RAT #SSH #TCP #Troll #UDP #bot #AlienVault
🕰️ time-machine 3.2.0 is out!
This is my package for mocking the current time in Python tests.
The new "naive mode" controls how time-machine interprets naive datetimes. Change it to increase compatibility with freezegun when migrating test suites, or to ban naive datetimes entirely so that your tests run consistently in different timezones.
https://time-machine.readthedocs.io/en/latest/changelog.html
After several hours of trying to get #Emacs and #Python to play nicely together with various LSPs,
- `ty` doesn't work with mypy (obviously) which means it can't understand zope.interface or any other thing which requires a mypy plugin, so it's worse than useless, as it shows tons of spurious type-checking errors on various projects
- `rope` is orders of magnitude slower than jedi or autoimport, and (see above bug) functions incorrectly