python

Back Open Paginator
08.12.2025 04:19
vantablack (@vantablack@cyberpunk.lol)

aaaaaaaaaaand it's on codeberg nowwwww!!!!!

codeberg.org/vantablack/ily

#TokiPona #python #ValentinesDay




Show Original Post


08.12.2025 03:34
vantablack (@vantablack@cyberpunk.lol)

used my newfound python powers to make @ka_so an extremely early valentine's day gift :3

<3 <3 <3

#TokiPona #ValentinesDay #python





Show Original Post


08.12.2025 02:33
emilyselect (@emilyselect@mastodon.social)

R言語入門2~Googleコラボラトリで学ぶ Rでのデータ読込みの基本

emilyselect.com/r%e8%a8%80%e8%





Show Original Post


08.12.2025 02:02
jochie (@jochie@strangeweb.page)

Content warning:AdventOfCode musings/spoilers


Adding the non-recursive implementation in there as well (thanks to @mina and @tshirtman for the nudges, even if perhaps they weren't intended as such):

codeberg.org/jochie/adventofco

It runs in about half the time and doesn't require the caching structure of course. Performance stats over 10k runs:

[Duration min: 760.29µs -30.29µs/+126.71µs] Part 2, filename 'input'

vs

[Duration min: 1.93ms -106.95µs/+849.05µs] Part 2, filename 'input'

#Python #AdventOfCode




Show Original Post


08.12.2025 02:00
jeff (@jeff@phpc.social)

I just completed "Laboratories" - Day 7 - Advent of Code 2025

I thought my Part 2 approach couldn't be right, since it tossed all of Part 1 and used a couple lines of memoized recursion in <10ms. Part 1 was trickier to count.

github.com/jstanden/advent-of-

#AdventOfCode #Python #Programming




Show Original Post


08.12.2025 01:42
pytexas (@pytexas@fosstodon.org)

🚨 Deadline: Dec 7 @ 11:59p CST 🚨

We’re in the 👉 FINAL HOURS 👈 of the #PyTexasConference2026 #CFP! 🐍

Don’t miss your chance to speak at our 20th anniversary #Python conference 🎉

Your perspective could spark someone’s next breakthrough. 💛

Learn more here → pytexas.org/2026





Show Original Post


08.12.2025 01:26
clonbg (@clonbg@masto.es)

Aprender Django myblog.clonbg.es/aprender-djan #Programación #Python clonbg.es





Show Original Post


08.12.2025 01:04
hannes_s (@hannes_s@mastodon.social)

Today was the first day where i gave up on the second part. The first part was pretty straightforward, which is always a bad omen.

Ill give it a shot again another day.




Show Original Post


08.12.2025 00:42
atrus (@atrus@toot.cafe)

With free-threaded #python getting closer to production ready, and a side-project that gets a bit of a speed-boost from real threads vs multiprocessing, I'm finally playing around with samply per py-free-threading.github.io/pr

It's pretty decent. Unfortunately it's telling me the bottlenecks are largely the ones I already know about ​😂. But it's nice to see the modern tooling with much more intuitive visualization back that up effectively. #profiling #softwaredev





Show Original Post


07.12.2025 23:44
cupz (@cupz@mas.to)

Nearing my end of day 3 of the #7dfps #gamejam. Got the core gameplay mechanics going. The weapon has two chambers, load one of two colors in each, only hurtful to the same colored enemy. I had a similar #mechanics in an older game of mine but it works better here.

Started experimenting with gl lines for #explosions. Its getting to that point where I'm playing the game more than I'm coding it, which is exactly where I want to be.

#gamedev #screenshotsaturday #indiegame #panda3d #python





Show Original Post


07.12.2025 23:41
RodStephens (@RodStephens@hachyderm.io)

Use image filters to create disabled button images in Python
rodstephensbooks.com/disabled_
#Python #ImageProcessing #GUI #Buttons





Show Original Post


07.12.2025 23:17
adw99 (@adw99@mastodon.social)

Content warning:AOC Day 7 Chatter


I just completed "Laboratories" - Day 7 - Advent of Code 2025

Today got tricky. Part 1 was easy, but I initially overthought part 2. Second try was simpler, but would run forever. Restructuring and adding function-level caching once again performed magic and it went from a computational space heater to running in 20ms.

Thank you 'functools.cache', which I only learned from doing last year's AOC.

adventofcode.com/2025/day/7
github.com/adw99/advent-of-cod




Show Original Post


1 ...857 858 859 860 861 862 863 864 865 866 867 ...1571
UP