Inspired by the #GPG key from @49016, which was shown in the very interesting https://gpg.fail talk at #39c3 I vibed a little #Python tool you can use to decorate your public GPG key.
Have fun with https://github.com/fuxx/GPG-ANSI-Art-Injector - It would be awesome if some people would add some new designs!
π«Ά

Distritos con mas atropellados en 2024
Costa Rica
Se muestra el Canton - Distrito
San JosΓ© - Hospital
Desamparados - Desamparados
Cartago - San NicolΓ‘s
Alajuela - Alajuela
PΓ©rez ZeledΓ³n - San Isidro
Curso de Pandas-Excel
#Python #CostaRica
Here are my #python models for the ball stick collisions
Impulsa tu negocio con soluciones tecnolΓ³gicas legales. Como abogado y programador experto en Python y NiceGUI, ofrezco desarrollo de MVP, integraciΓ³n IA y automatizaciΓ³n. Β‘Transformemos tus ideas! #LegalTech #Python #Xiliux

ΠΠ°Π·ΠΎΠ²ΡΠΉ RAG-ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ Π΄Π»Ρ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΏΠΎΠΈΡΠΊΠ° Π½Π° ΠΠΈΡΠΎΠ½Π΅
quad_rag_core β Π»ΡΠ³ΠΊΠΎΠ΅ Python-ΡΠ΄ΡΠΎ Π΄Π»Ρ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠ³ΠΎ RAG, ΠΊΠΎΡΠΎΡΠΎΠ΅ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΎΡΡΠ»Π΅ΠΆΠΈΠ²Π°Π΅Ρ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΡ Π² ΠΏΠ°ΠΏΠΊΠ°Ρ , ΠΈΠ½Π΄Π΅ΠΊΡΠΈΡΡΠ΅Ρ ΠΈΡ Π² Qdrant ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΈΠ²Π°Π΅Ρ ΡΠΌΠ±Π΅Π΄Π΄ΠΈΠ½Π³ΠΈ Π² Π°ΠΊΡΡΠ°Π»ΡΠ½ΠΎΠΌ ΡΠΎΡΡΠΎΡΠ½ΠΈΠΈ. ΠΠ·Π½Π°ΡΠ°Π»ΡΠ½ΠΎ ΠΏΡΠΎΠ΅ΠΊΡ Π·Π°Π΄ΡΠΌΡΠ²Π°Π»ΡΡ ΠΊΠ°ΠΊ ΠΏΠ»Π°Π³ΠΈΠ½ Π΄Π»Ρ MCP (Model Context Protocol), Π½ΠΎ ΡΡΠ°Π» ΡΠ½ΠΈΠ²Π΅ΡΡΠ°Π»ΡΠ½ΠΎΠΉ ΠΎΡΠ½ΠΎΠ²ΠΎΠΉ Π΄Π»Ρ Π»ΡΠ±ΠΎΠΉ ΡΠΈΡΡΠ΅ΠΌΡ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΏΠΎΠΈΡΠΊΠ°. ΠΠ°ΡΠ΅ΠΌ ΡΡΠΎ Π½ΡΠΆΠ½ΠΎ Π ΠΏΡΠΎΡΠ΅ΡΡΠ΅ ΡΠ°Π±ΠΎΡΡ Ρ ΠΊΠΎΠ΄ΠΎΠ²ΠΎΠΉ Π±Π°Π·ΠΎΠΉ ΡΠ΅ΡΠ΅Π· LLM-Π°Π³Π΅Π½ΡΠΎΠ² ΠΈ ΠΏΡΠΈ Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΡΠ΅ΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΏΠΎΠΈΡΠΊΠ° ΠΏΠΎ ΡΠ°ΠΉΠ»Π°ΠΌ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΎΠ±Π½Π°ΡΡΠΆΠΈΠ»Π°ΡΡ ΠΏΡΠΎΠ±Π»Π΅ΠΌΠ°. ΠΠ½ΡΡΡΡΠΌΠ΅Π½ΡΡ Π°Π³Π΅Π½ΡΡΠΊΠΎΠΉ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ Π²ΡΠΎΠ΄Π΅ Kilo Code ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»ΡΡΡ Π²ΡΡΡΠΎΠ΅Π½Π½ΡΡ ΡΡΠ½ΠΊΡΠΈΡ ΡΠ΅ΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ ΠΏΠΎΠΈΡΠΊΠ°, Π½ΠΎ Π² ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ Π·Π°ΡΠ²Π»ΡΡΡ ΡΡΠΎ Π² Π±ΡΠ΄ΡΡΠ΅ΠΌ ΡΡΠ° ΡΡΠ½ΠΊΡΠΈΠΎΠ½Π°Π»ΡΠ½ΠΎΡΡΡ ΠΌΠΎΠΆΠ΅Ρ ΡΡΠ°ΡΡ ΠΏΠ»Π°ΡΠ½ΠΎΠΉ. Π‘ΡΠ°Π·Ρ Π·Π°Π΄ΡΠΌΠ°Π»ΡΡ ΠΎ ΡΠΎΠΌ ΡΡΠΎΠ±Ρ ΡΠ΄Π΅Π»Π°ΡΡ ΡΠ²ΠΎΡ ΠΏΠΎΠ΄ΡΠΈΡΡΠ΅ΠΌΡ ΠΏΠΎΠΈΡΠΊΠ°. ΠΡΠΎΡΡΡΠ΅ Π·Π°ΠΏΡΠΎΡΡ ΠΊ MCP-ΡΠ΅ΡΠ²Π΅ΡΡ Π½Π° ΠΏΠΎΠΈΡΠΊ ΠΈ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΡΡΡ Π½Π΅ ΠΏΠΎΠ΄ΠΎΠΉΠ΄ΡΡ - ΡΠΈΡΡΠ΅ΠΌΠ° ΠΏΠΎΠΈΡΠΊΠ° Π΄ΠΎΠ»ΠΆΠ½Π° ΠΈΠΌΠ΅ΡΡ ΠΏΠΎΠ»Π½ΡΠΉ ΠΊΠΎΠ½ΡΡΠΎΠ»Ρ Π½Π°Π΄ ΠΊΠΎΠ½ΡΠ΅ΠΊΡΡΠΎΠΌ - ΠΎΠ½Π° Π΄ΠΎΠ»ΠΆΠ½Π° Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΡΠ·Π½Π°Π²Π°ΡΡ, ΡΡΠΎ ΡΠ°ΠΉΠ» ΡΠ΄Π°Π»ΡΠ½, ΡΡΠ½ΠΊΡΠΈΡ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½Π° ΠΈΠ»ΠΈ Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ Π½ΠΎΠ²ΡΠΉ Π΄ΠΎΠΊΡΠΌΠ΅Π½Ρ, Π±Π΅Π· Π½Π΅ΠΎΠ±Ρ ΠΎΠ΄ΠΈΠΌΠΎΡΡΠΈ ΠΏΠ΅ΡΠ΅Π·Π°ΠΏΡΡΠΊΠ° ΠΈΠ½Π΄Π΅ΠΊΡΠ°ΡΠΈΠΈ. ΠΡ ΠΈΠ΄Π΅ΠΈ ΠΊ Π°ΡΡ ΠΈΡΠ΅ΠΊΡΡΡΠ΅ Π Π½Π°ΡΠ°Π»Π΅ ΠΏΠ»Π°Π½ΠΈΡΠΎΠ²Π°Π»ΡΡ ΠΏΡΠΎΡΡΠΎΠΉ MCP-ΡΠ΅ΡΠ²Π΅Ρ, ΠΊΠΎΡΠΎΡΡΠΉ ΠΏΡΠΈΠ½ΠΈΠΌΠ°Π΅Ρ ΠΊΠΎΠΌΠ°Π½Π΄Ρ ΠΏΠΎΠΈΡΠΊΠ° ΠΈ ΠΎΠ±Π½ΠΎΠ²Π»Π΅Π½ΠΈΡ, ΠΈΠ½Π΄Π΅ΠΊΡΠΈΡΡΠ΅Ρ ΡΠ΅ΠΊΡΡΠΎΠ²ΡΠ΅ ΡΠ°ΠΉΠ»Ρ ΠΈ PDF, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅Ρ Qdrant ΠΊΠ°ΠΊ Π²Π΅ΠΊΡΠΎΡΠ½ΠΎΠ΅ Ρ ΡΠ°Π½ΠΈΠ»ΠΈΡΠ΅ ΠΈ ΡΠΌΠ±Π΅Π΄Π΄ΠΈΡ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎ. Π Ρ ΠΎΠ΄Π΅ ΠΏΡΠΎΠ΅ΠΊΡΠΈΡΠΎΠ²Π°Π½ΠΈΡ ΡΡΠ°Π»ΠΎ ΠΏΠΎΠ½ΡΡΠ½ΠΎ: Π²ΡΡ Π»ΠΎΠ³ΠΈΠΊΠ° ΠΎΡΡΠ»Π΅ΠΆΠΈΠ²Π°Π½ΠΈΡ ΡΠ°ΠΉΠ»ΠΎΠ², ΠΏΠ°ΡΡΠΈΠ½Π³Π°, ΡΠ°Π½ΠΊΠΈΠ½Π³Π° ΠΈ ΡΠΈΠ½Ρ ΡΠΎΠ½ΠΈΠ·Π°ΡΠΈΠΈ Ρ Qdrant β ΡΡΠΎ ΠΏΠ΅ΡΠ΅ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΠΌΠΎΠ΅ ΡΠ΄ΡΠΎ, Π° Π½Π΅ ΡΠ°ΡΡΡ MCP-ΠΏΡΠΎΡΠΎΠΊΠΎΠ»Π°. Π’Π°ΠΊ ΠΏΠΎΡΠ²ΠΈΠ»ΡΡ quad_rag_core β ΠΎΡΠ΄Π΅Π»ΡΠ½ΡΠΉ Python-ΠΌΠΎΠ΄ΡΠ»Ρ, ΠΊΠΎΡΠΎΡΡΠΉ Π½Π΅ Π·Π½Π°Π΅Ρ Π½ΠΈΡΠ΅Π³ΠΎ ΠΏΡΠΎ MCP ΠΈΠ»ΠΈ Π΄ΡΡΠ³ΠΈΠ΅ Π²Π½Π΅ΡΠ½ΠΈΠ΅ ΠΈΠ½ΡΠ΅ΡΡΠ΅ΠΉΡΡ, Π½ΠΎ Π³ΠΎΡΠΎΠ² ΠΊ Π½ΠΈΠΌ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ°ΡΡΡΡ.
https://habr.com/ru/articles/982476/
#rag #rag_ai #ΡΠ΅ΠΌΠ°Π½ΡΠΈΡΠ΅ΡΠΊΠΈΠΉ_ΠΏΠΎΠΈΡΠΊ #middleware #python #qdrant #embeddings
π New Blog Post: Rebooting for 2026: Tracking Issues and Breaking New Ground
Iβm kicking off the year with a fresh look for my website and a clear roadmap for my projects:
- Finishing the DITS web app π₯οΈ
- Building a lightweight TUI version β¨οΈ
- Taming the home-lab "mess" π
- Diving into #Python and #DataScience π
Check out the full update here: [https://mickgeeklabs.org/blog/happy-new-year-2026/]
#BuildInPublic #SelfHosted #HomeLab #Programming #WebDev #Geospatial

New #physics post - a ball of clay hits a stick in the center and then on the edge. Which one has a greater recoil speed? #python included (of course).
#python question.
on the #RaspberryPi running PiOS bookworm or trixie do people use the builtin venv, virtualenv, pipenv or poetry for their python development virtual environments? pros and cons for using any of them?
@Reuven What is very misleading to newcomers to #Python is:
>>> for x,y in zip(range(300), range(300)):
... if x is not y:
... print(x)
... break
...
257
Apparently all integers bigger than 2**8 are created as new objects every time, but small integers are pre-instantiated by the interpreter and reused; I saw an explanation somewhere but can't be bothered to find it right now.
And there's a very good use for is in algorithms operating on graphs, for example looking for a shortest path or minimal spanning tree - instead of manually putting unique identifiers into vertices and checking if x.ident == y.ident, you can use x is y, which is just a shortcut for id(x) == id(y).
Does anybody have experience with #xarray for #numpy labeled arrays?
My use case is rather simple with a 2d ndarray and I'm mostly after easier development for myself and contributors if it's possible to switch from ndarray[:, 0] and ndarray[:, 1] to ndarray[fieldname]
Python Tip #2 (of 365): Prefer string interpolation over concatenation in all but simple cases.
I recommend using this f-string:
message = f"My name is {name}"
Instead of this string concatenation:
message = "My name is " + name
String concatenation models our code as "smoosh together this string and this string and this string".
But string interpolation models our code as "build up this big string by putting these smaller strings inside it". π§΅
Two keynotes. Global π impact.
Join us to hear from Dawn Wages (Director of Community & DevRel at Anaconda, former PSF Chair) and Hynek Schlawack (PSF Fellow, security & infrastructure expert).
If #Python shapes your career, #PyTexasConference2026 belongs on your calendar. β
Be sure to get your ticket at: https://pytexas.org/2026
