python

Back Open Paginator
18.12.2025 03:48
villares (@villares@pynews.com.br)

Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


18.12.2025 03:13
clonbg (@clonbg@masto.es)

Mi primer CRUD con Python myblog.clonbg.es/mi-primer-cru #Programación #Python #PyQT clonbg.es





Show Original Post


18.12.2025 02:49
CuratedHackerNews (@CuratedHackerNews@mastodon.social)

I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours

simonwillison.net/2025/Dec/15/




Show Original Post


18.12.2025 02:17
SnoopJ (@SnoopJ@hachyderm.io)

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.

github.com/astral-sh/ruff/issu

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.

#Python




Show Original Post


18.12.2025 01:18
avlcharlie (@avlcharlie@mastodon.social)

And then the alpha was launched.

Huzzah could be heard throughout the kingdom as wheels roll and video streams.. and it was good..









Show Original Post


18.12.2025 01:15
hn50 (@hn50@social.lansky.name)

Show HN: High-Performance Wavelet Matrix for Python, Implemented in Rust

Link: pypi.org/project/wavelet-matri
Discussion: news.ycombinator.com/item?id=4

#rust #python




Show Original Post


18.12.2025 01:07
adamchainz (@adamchainz@fosstodon.org)

📐 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!

github.com/mongodb/mongo-pytho

#Python




Show Original Post


18.12.2025 01:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Celigo is hiring Staff Software Engineer - AI/ML

🔧 #python #node
🌎 Hyderabad, India
⏰ Full-time
🏢 Celigo

Job details jobsfordevelopers.com/jobs/sta
#jobalert #jobsearch #hiring




Show Original Post


18.12.2025 00:34
AmenZwa (@AmenZwa@mathstodon.xyz)

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!




Show Original Post


18.12.2025 00:33
techbot (@techbot@social.raytec.co)

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: otx.alienvault.com/pulse/69430
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




Show Original Post


18.12.2025 00:18
adamchainz (@adamchainz@fosstodon.org)

🕰️ 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.

time-machine.readthedocs.io/en

#Python




Show Original Post


17.12.2025 23:53
glyph (@glyph@mastodon.social)

After several hours of trying to get and 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




Show Original Post


1 ...798 799 800 801 802 803 804 805 806 807 808 ...1578
UP