python

Back Open Paginator
06.12.2025 12:57
winslowjosiah (@winslowjosiah@hachyderm.io)

📝 Advent of Code 2025 Day 6: Trash Compactor

josiah.win/a/2025/6

Here, we get to use two neat functions that seem perfect for today's puzzle: functools.reduce and itertools.groupby! That's pretty neat IMO.

#python #AdventOfCode2025 #programming #coding




Show Original Post


06.12.2025 12:32
jm_favreau (@jm_favreau@c.im)

En novembre, je présentais à #Clermontech le fonctionnement interne de l'agenda culturel participatif @pommesdelune

Voici la captation vidéo de cette présentation :
blog.jmtrivial.info/2025/12/06

#LogicielLibre #ClermontFerrand #django #python




Show Original Post


06.12.2025 12:25
inreoh (@inreoh@climatejustice.social)

I just completed "Lobby" - Day 3 - Advent of Code 2025 in #Python #AdventOfCode adventofcode.com/2025/day/3




Show Original Post


06.12.2025 12:01
hannes_s (@hannes_s@mastodon.social)

Content warning:Spoilers Advent of code day 6


🎄 Advent of code day 6 🎄
Today was the first real challenge. Ran loops around my code until it finally worked thank god. I hate parsing challenges.

Runtime: 9978 μs (Ryzen 5 5600x)

github.com/Hannes-Schniz/Adven





Show Original Post


06.12.2025 11:42
sixhat (@sixhat@datasci.social)

--- Day 6: Trash Compactor ---
adventofcode.com/2025/day/6
github.com/sixhat/adventofcode

This was a simple one, just keep track of the problem and
extract digits from the strings as you go along.

There are other ways by using some mapping on the two operations,
but this was good enough for me.

#AdventOfCode #python




Show Original Post


06.12.2025 11:36
villares (@villares@ciberlandia.pt)

It was though year. I finished my PhD, yay! Now, I'm on vacation from my main job, as educator at Sesc, and yesterday I wound down some last freelance work obligations. I really need a break.

I want to rest, make some "prints" of my drawings for friends, go to my local museums and have coffee/tea with friends, and that's it!

Today we celebrate 18 years of our local #Python users group, #GruPySP, and I'm going to meet friends from #GaroaHackerClube, that's a great start :)




Show Original Post


06.12.2025 11:16
hamatti (@hamatti@mastodon.world)

#AdventOfCode 2025, day 6

As expected, the complexity rose quite a bit for the first Saturday puzzle.

Today I got to talk about dataclasses and pattern matching and that was fun.

notes.hamatti.org/technology/a

#Python




Show Original Post


06.12.2025 11:09
yaarur (@yaarur@tooot.im)

About to do, for the first time, a #coding test in #python (as part of a recruitment process).

It's open material, so if you know a good concise python reference or cheatsheet, for the basics of python and perhaps numpy, would be happy to know.

Ideally something that lists data structures, methods, operators and functions with a concise explanation, not going deep to examples or surrounded by fluff.

#FediHire #cheatsheet #referencesheet




Show Original Post


06.12.2025 10:52
habr (@habr@zhub.link)

WarpTrade и робастные алгоритмические стратегии

Всем, Добрый день! На связи Андрей Счастливый. Продолжаю писать пакет для бэктестинга торговых стратегий "WarpTrade", о котором я писал в первой статье . Я обратил внимание, что в комментариях отписалось достаточно людей, не равнодушных к теме алготрейдинга, это радует. Какая моя цель? Продолжать заниматься любимым делом, а конкретно данной статьёй я хочу показать, что возможно то, что многие считают невозможным. Ну что, перейдём к делу и расскажу о своих наработках.

habr.com/ru/articles/973928/

#python #финтех #алгоритмическая_торговля #анализ_данных #moex #временные_ряды




Show Original Post


06.12.2025 10:51
devSJR (@devSJR@fosstodon.org)

@LabPlot@floss.social
Hey Labplot, I'm asking for a friend. Can #Labplot do gap axises like #rstats #plotrix or #python #matplotlib?
@labplot@lemmy.kde.social @opensource





Show Original Post


06.12.2025 10:42
darksideofyogurt (@darksideofyogurt@livellosegreto.it)

I just completed "Trash Compactor" - Day 6 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/6

Risolto anche questo problema. Un po' più complesso dei precedenti, ma non così difficile come credevo.
Sto diventando bravo io o...? 🤔

PS: entrambe le parti (in #python ) girano in meno di 0.008 sec 😁




Show Original Post


06.12.2025 10:10
AFoucart (@AFoucart@social.sciences.re)

#adventofcode en #python, jour 6.

Pas trop aimé celui-ci. Du bidouillage des entrées pour les mettre dans le bon format, mais sinon pas grand-chose d'intéressant. Ou alors j'ai loupé un truc. Au moins c'était rapide...

notes.adfoucart.be/aocode25/da




Show Original Post


1 ...867 868 869 870 871 872 873 874 875 876 877 ...1571
UP