python

Back Open Paginator
13.09.2025 19:44
benbradley (@benbradley@hachyderm.io)

I've got a personal #coding project on to tidy up my images. I have #photos, the same photos that have been cropped for socials, downloaded stupid memes, scans, backups of backups but slightly different, photo collections from family which overlap with mine. It's a mess.

1️⃣ I dumped all my images into one folder. Nearly 50,000.

2️⃣ First I renamed them all to the first seven characters of a GUID. So they all have random names, I'm sure not naming them all manually.

3️⃣ Then I used tools called dupeguru and czkawka to find the duplicates. That got me to 37,000 items.

4️⃣ Now I am working on #python scripts to classify using EXIF metadata and simple image processing to classify whether it is a photo or not. I'm keen to learn python lately and this is exactly the sort of project I need to start out.




Show Original Post


13.09.2025 19:22
2025 (@2025@rbfirehose.com)

Tom’s Hardware: DOOM multiplayer tribute gets coded in ‘pure SQL’ and runs at 30FPS — made from just 150 lines of code in less than a month. “A computer scientist used only ‘pure SQL’ to construct a multiplayer DOOM-like game. The resulting first-person shooter game, cobbled from a mere ~150 lines of Python code, is dubbed DOOMQL. Despite the self-imposed software architecture restrictions, […]

https://rbfirehose.com/2025/09/13/toms-hardware-doom-multiplayer-tribute-gets-coded-in-pure-sql-and-runs-at-30fps-made-from-just-150-lines-of-code-in-less-than-a-month/




Show Original Post


13.09.2025 19:07
144mb (@144mb@mastodon.social)

I was trying to think of how to describe the difference between my experience of and . The first thing that came to mind was the thought of a thriving 1970s disco. I like to code at the disco, not in a quiet garret or lab. SVG, HTML, CSS is all under the moon & silver spoon.




Show Original Post


13.09.2025 18:35
vitaut (@vitaut@mastodon.social)

- How do you motivate someone to write a proposal?
- You give them a PEP talk.





Show Original Post


13.09.2025 17:49
peppe8o (@peppe8o@mastodon.social)

Give your artificial intelligence powers! 👁️⚙️ Check out this guide to running image classification models on your Pi:
👉 peppe8o.com/use-ai-model-raspb
What’s the coolest object or scene you’d want your Pi to recognise? Drop your idea below! 👇





Show Original Post


13.09.2025 17:35
flxz (@flxz@digitalcourage.social)

Switching from #rmarkdown and #rdatatable to #quarto and #polars is a bit cumbersome. I just want to compile a document with tables to pdf.

If I print a polars table, I get the data type with it. If I convert it to pandas df, I get an index. If I set_tbl_hide_column_data_types, my strings get quotes. Is there no #knitr kable equivalent in #Python /Quarto?




Show Original Post


13.09.2025 17:32
clonbg (@clonbg@masto.es)

Un par de cursos de Youtube sobre programación myblog.clonbg.es/un-par-de-cur #Programación #VueJs #Python clonbg.es





Show Original Post


13.09.2025 17:22
habr (@habr@zhub.link)

Разбираем «под капотом» кастомную фитнес-метрику: от идеи до реализации на Python

Всем привет! Я, как и многие здесь, не только разработчик, но и человек, увлеченный циклическими видами спорта. Я обожаю копаться в данных своих тренировок из Strava: анализировать мощность, пульсовые зоны, темп. Но мне всегда не хватало одной вещи — единой, понятной и, главное, прозрачной метрики, которая бы отвечала на простой вопрос: "А насколько я сейчас в хорошей форме?". В этой статье я расскажу, как устроен этот механизм "под капотом". Мы погрузимся в логику на Python, посмотрим, как она интегрируется в общий анализатор активностей и как результат подается пользователю в простом и понятном виде. Важный дисклеймер: Весь проект, от идеи до кода, я делаю один в свободное от основной работы время. Он далек от идеала , и я буду очень благодарен за конструктивную критику и свежий взгляд.

habr.com/ru/articles/946632/

#анализ_данных #фитнесметрики #вебсервисы #вебразработа #спорт #здоровье #python #strava #petproject #pet




Show Original Post


13.09.2025 17:00
cr0n0s (@cr0n0s@social.tchncs.de)

Nueva Entrada en #h4ckseed - #Ansible para Iniciados

Definitivamente, siempre es mejor trabajar más inteligente y no malgastar el tiempo, con tareas repetitivas, que demoran mucho mas, gastas energías, etc; indistintamente el ámbito o la industria, esto se ha vuelto una regla de oro, para no ser consumido por la voracidad de las horas de trabajo actuales, extensas y duras....

#Linux #DevOps #Sysadmin #SSH #Python

h4ckseed.wordpress.com/2025/09




Show Original Post


13.09.2025 16:59
rkaj (@rkaj@mastodon.nu)

@artlung
I'm an indie web creator, does that make a "member of the #IndieWeb"? I mainly use #RustLang with warp / tokio / ructe, for some older stuff I still use #Python and django. But when I do use a static site generator, I like hugo ( gohugo.io/ ).




Show Original Post


13.09.2025 16:45
mistersql (@mistersql@mastodon.social)

Do you ever synchronize your `__version__` variable with your pyproject.toml, config.ini?

I wrote this build tool a while back and have been using it everywhere.

For a time, the python community was on the cusp of a folksonomy standardization for metadata as dunder strings. It went nowhere and now pretty much only `__version__` is still ubiquitous. Had it gone to standard, it would probably look like the `__about__.py` files many projects have.

pypi.org/project/metametameta/




Show Original Post


13.09.2025 16:15
tishctrl (@tishctrl@goingdark.social)

This is so easy! I’m practicing the variables exercise by filling in the blanks with the correct input. But I still need to learn more of the programming lingo. #PyCharm #Python #JetBrains





Show Original Post


1 ...1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 ...1551
UP