python

Back Open Paginator
11.12.2025 17:41
treyhunner (@treyhunner@mastodon.social)

Content warning:Advent of Code - Day 10


I've completed "Factory" - Day 10 - Advent of Code 2025

Part 1 was bitwise arithmetic that I don't think about often.

My code for part 2 was ridiculously slow and I decided to give up.

But then I had an idea while trying to sleep: this is a series of linear equations... surely there's a library for this.

Now it solves in 1 second.

LLM wrote first go of the "pulp" code. I did the hard work of identifying the problem space.

github.com/treyhunner/advent-o




Show Original Post


11.12.2025 17:40
lobsters (@lobsters@mastodon.social)

Application Logging in Python: Recipes for Observability lobste.rs/s/0eg7uy
dash0.com/guides/logging-in-py




Show Original Post


11.12.2025 17:01
PythonPeak (@PythonPeak@mastodon.social)

Build An Archimedes Spiral In Python

Mathematical spirals draw inward angle-based calculations generate perfect Archimedes spirals that spiral inward creating depth Code it now

youtube.com/watch?v=e_7Pw3zMlG4




Show Original Post


11.12.2025 16:55
hamatti (@hamatti@mastodon.world)

#AdventOfCode 2025, day 10 - revisiting part 2

I wrote about a day 10 p2 solution but I can't really say it's "my" solution but I think that through some documentation and source code reading I managed to figure out how it works.

That's learning!

notes.hamatti.org/technology/a

#python




Show Original Post


11.12.2025 16:54
hamatti (@hamatti@mastodon.world)

#AdventOfCode 2025, day 11

Today's puzzle was really nice change of pace from yesterday.

I had a few small hiccups with recursion but managed to pull it through.

notes.hamatti.org/technology/a

#python




Show Original Post


11.12.2025 16:35
content (@content@socialhome.network)

Django Code of Conduct Transparency Report 2025

The Code of Conduct working group received 4 reports and met 12 times in 2025. This transparency report is a brief account of how those reports were handled. This year’s number is lower than previous years in part because of the formation of the Online Community Working Group which handles moderation on our official spaces and has been able to act directly on smaller scale infractions. In some cases we received additional reporting while investigating initial reports, but have not counted those as separate instances.

This working group conducts business in several ways. It has online meetings, typically once per month. It also discusses issues in a Slack channel, but most cases are handled in the meetings. The group welcomed three new members this year: Ariane Djeupang, Natalia Bidart, and Priya Pahwa. Natalia was selected by the new Online Communities Working Group as their liaison to the Code of Conduct Working group; Ariane and Priya were elected by the working group. The group also saw Jay Miller step down this year. We all want to thank Jay for his continued role in our community and for all the work he did with the Code of Conduct group.

It was the group’s intention to work with a consultant to update our Code of Conduct and processes. We reached out to two consultants to help with that work, but unfortunately we weren’t able to engage either to get that work completed. We hope to progress with that in 2026. In the meantime, we made a few internal process tweaks - creating up a new “ask CoC” channel with key stakeholders to discuss moderation and CoC enforcement, and having our team set up as moderators in GitHub until we find a better model.

Two reports from late 2024 carried into this year. Two reports resulted in suspensions from the relevant platforms. Another was shared with local event organizers.

Finally, this section provides a brief summary of the kinds of cases that were handled:

  • One case involved repeated violations of the Discourse rules about self promotion. The working group recommended a suspension from the forum.
  • One case involved repeated behavior across several platforms that discouraged participation and created problems for others. The working group recommended a suspension from all relevant platforms and working groups.
  • One case involved an incident at a PSF-sponsored event. The information was passed on to the local organizers.

https://www.djangoproject.com/weblog/2025/dec/11/django-code-of-conduct-transparency-report-2025/

#django #python #webdev




Show Original Post


11.12.2025 16:33
reallylazybear (@reallylazybear@mastodon.social)

Just catching up after a year of not fiddling around with local image generation.

Yeah this was made with Z-Image, the model that's been popping up after 2 weeks or so because it generates images fast, only taking about 25 seconds on my RTX 3060 power capped at 145w, with good prompt adherence.. or some thing.

Idk about prompt adherence but I'm still "training" myself to make prompts.





Show Original Post


11.12.2025 16:19
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

Khảo sát của JetBrains về Hệ sinh thái Phát triển 2025 cho thấy ngôn ngữ lập trình được sử dụng nhiều nhất:
🐍 Python (35%) - Mạnh về AI, dữ liệu.
☕ Java (33%) - Nền tảng cho doanh nghiệp, backend.
🌐 JavaScript (26%)
🧩 TypeScript (22%) - Phát triển web hiện đại.
🎨 HTML/CSS (16%)

Bạn nghĩ ngôn ngữ nào sẽ thống trị 3-5 năm tới?

#ProgrammingLanguages #DevEcosystem #Python #Java #JavaScript #TypeScript #Developer #NgônNgữLậpTrình #PhátTriểnPhầnMềm #LậpTrìnhViên

reddit.com/r/program




Show Original Post


11.12.2025 16:18
reddit_tech_vn_bot (@reddit_tech_vn_bot@mastodon.maobui.com)

Tôi đã xây dựng công cụ phân tích YouTube nhỏ (Python) → xuất thống kê video + metadata kênh ra JSON/CSV dùng API chính thức của YouTube. Hữu ích cho phân tích nội dung, báo cáo khách hàng và dashboard. Mong nhận góp ý cải tiến, đặc biệt là xử lý kênh lớn và phân tích cảm xúc bình luận. #DataAnalytics #Python #DevTool #Tự_động_hóa #Kỹ_năng_lập_trình

reddit.com/r/SideProject/comme




Show Original Post


11.12.2025 16:00
cleder (@cleder@hachyderm.io)

@cloudflare released #Python Workers redux: fast cold starts, packages, and a #uv first workflow

Python Workers allow Python developers to ship Python globally in less than two minutes in a single command. Python Workers now supports any package supported by #pyodide, the #WebAssembly runtime that powers Python Workers.

blog.cloudflare.com/python-wor




Show Original Post


11.12.2025 15:52
ycombinator (@ycombinator@rss-mstdn.studiofreesia.com)

Craft software that makes people feel something
rapha.land/craft-software-that
#ycombinator #software #development #programming #system #rust #javascript #python #clojure




Show Original Post


11.12.2025 15:46
TechKeysX (@TechKeysX@mastodon.social)

Do I need to declare data types in Python - S1 EP01 P5#Python





Show Original Post


1 ...834 835 836 837 838 839 840 841 842 843 844 ...1574
UP