#Reticulum is currently written in #Python. I wonder if it's time for a #Rust implementation. :-)
Python Tip #10 (of 365):
When checking for emptiness (or non-emptiness) in Python, use truthiness.
Instead of this:
if len(items) > 0:
...
Or this:
if len(items):
...
Do this:
if items:
...
When an object is used in a boolean context (like in an "if" or "while" condition) it's implicitly converted to a boolean. This is called a "truth value" test, though colloquially it's pretty much always called "truthiness".
🧵 (1/5)
Content warning:Pelican blog, help wanted
Here the gist
I have a Pelican blog. My index is the list of all articles. Recently, I started a Journal category in which I'll allow myself to write a lot more. I feel it's gonna drown my index into a lot of articles and people are gonna miss the bigger articles that might interest more people.
So I'd love to filter the Journal category out of the index pages. I haven't found a plugin that's doing that.
Here's my question:
What would be the best way to go about changing this?
Changing the theme is definitely an option.
Thanks
Please boost for larger audience and a better chance at finding an answer.
Draw a ray-traced beveled cube in Python
https://rodstephensbooks.com/ray_traced_beveled_cube.html
This post uses the ray tracer from my book "Build Your Own Ray Tracer With Python." Overview and gallery: https://tinyurl.com/554nvdxr. Amazon: https://amzn.to/3XD9eqb.
#Python #RayTracing #Graphics #ComputerGraphics #Geometry

The writer is a software developer with Oracle.
The New Stack: Beyond Python: Why LLMs Need More Stable, Open Source Code https://thenewstack.io/beyond-python-why-llms-need-more-stable-open-source-code/ @TheNewStack #python #LLM
RetroBBS v0.60 official release!
Main feature of this release is the support for the MSX version of Retroterm and also the support of normal terminals for Commodore 64, ANSI, VT52/VidTex, etc!
Get it at:
https://github.com/retrocomputacion/retrobbs/releases/tag/v0.60
#BBS #python #commodore #msx #ansi
The Sieve of Eratosthenes can be so simple, like in
#Python
from math import ceil
s=list(range(100))
for p in s[2:]:
if s[p]:
s[p+p::p] = [0]*ceil((100-(p+p))/p)
primes = list(filter(None,s[2:]))
But it can also be quite complicated, it seems.🥶
https://rosettacode.org/wiki/Sieve_of_Eratosthenes
Python π(3.14) was just released to Arch Linux.
Do not forget to rebuild all your python things from aur and other sources!
Testengineering: Sandboxes zum erlernen von Testautomatisierungsszenarien
Ein Thema, welches ich schon vor drei, vier Jahren mal angenommen hatte, aber seitdem hat sich vieles getan, neue Sandboxes, und entsprechend sollten wir uns das T
https://www.dev-crowd.com/2026/01/10/testengineering-sandboxes-zum-erlernen-von-testautomatisierungsszenarien/
#Penetrationtest #Programmierung #Python #TestEngineering #Testframework #Testmanagement #Testsuites #Tools #Sandbox #Sandboxes #Testautomation

This weekend I am pouring one out for the category I have come to call the *side project graveyard* lol
We all have that folder of half-finished apps, abandoned blogs and partial scripts. I say don't feel bad about them. Instead of calling them failures, I call them practice runs 😊
You learned something in every repo you abandoned. Maybe this weekend is the time to resurrect one? Or maybe just start a new one. Creativity is a muscle, keep flexing it. 💪🎨
#programming #weekend #creative #sideproject #infosec #python #indiedev #linux #sysadmin
#Python 3.14 est arrivé sur le canal stable sur #ArchLinux, en même temps que le noyau Linux 6.18.4. Préparez-vous à un GROS téléchargement pour les mises à jour ! 😱
HydraFlow: Mô phỏng chất lỏng điều khiển bằng cử chỉ qua webcam thời gian thực! ✋ 10.000 hạt chuyển động ở 60 khung hình/giây với:
Question: Vào chế độ đua thuyền 🏁
Question: Phản ứng với âm thanh 🎵
Question: Hiệu ứng Matrix/Disco 🌈
Tác giả va phải giới hạn file 100MB trên GitHub khi push bản build, phải dọn dẹp git history và thêm .gitignore. Bài học: GitHub không phải USB, file build không phải mã nguồn!
Công nghệ: MediaPipe + Python
#FluidSimulation #GestureControl #GitHub #Python #Cre