python

Back Open Paginator
20.01.2026 14:00
cfp (@cfp@social.callingallpapers.com)

24 hours until the CfP for "PyConf Hyderabad 2026" closes: papercall.io/cfps/6506/submiss

#cfp #conference #python




Show Original Post


20.01.2026 13:57
hasanaligultekin (@hasanaligultekin@me.dm)

Regression vs. Classification in Machine Learning

Same data, different questionโ€”and your model changes because the decision changes.

This post explains how to choose the right framing, how labels and metrics differ (RMSE vs AUC, etc.), and why โ€œturning regression into classificationโ€ can change what the model learns in practice.

:medium: hasanaligultekin.medium.com/re

#MachineLearning #DataScience #Python #Statistics

@pythonclcoding @ai @programming @pythonclcoding @towardsdatascience @chartrdaily





Show Original Post


20.01.2026 13:45
davidr (@davidr@hachyderm.io)

Or really, I should just rewrite this as a VRP, since it is so close to that anyway and the code I have was just a prototype.

#constraintprogramming #python #radar #orbit #scheduling #math #computerscience




Show Original Post


20.01.2026 13:28
sinisterporpoise (@sinisterporpoise@mastodon.online)

Probably the dumbest prank I ever pulled was at the end of a Python programming class. I wrote two versions of the required programs. The first was in Perl and I gave them a .py extension. Then I wrote them in Python and gave them a .pl extension. Because I was on #Linux, I then used the proper shebang line so the programs would run correctly. I explained when he ran the Python programs that the Python files had the .pl extension. #python #perl #programming




Show Original Post


20.01.2026 13:24
bterwijn (@bterwijn@fosstodon.org)

Four options for ๐‚๐จ๐ฉ๐ฒ in Python:

๐š’๐š–๐š™๐š˜๐š›๐š ๐šŒ๐š˜๐š™๐šข

๐š๐šŽ๐š ๐šŒ๐šž๐šœ๐š๐š˜๐š–_๐šŒ๐š˜๐š™๐šข(๐šŠ):
... ๐šŒ = ๐šŠ.๐šŒ๐š˜๐š™๐šข()
... ๐šŒ[๐Ÿท] = ๐šŠ[๐Ÿท].๐šŒ๐š˜๐š™๐šข()
... ๐š›๐šŽ๐š๐šž๐š›๐š— ๐šŒ

๐šŠ = [[๐Ÿท, ๐Ÿธ], [๐Ÿน, ๐Ÿบ]]
๐šŒ๐Ÿท = ๐šŠ
๐šŒ๐Ÿธ = ๐šŠ.๐šŒ๐š˜๐š™๐šข()
๐šŒ๐Ÿน = ๐šŒ๐šž๐šœ๐š๐š˜๐š–_๐šŒ๐š˜๐š™๐šข(๐šŠ)
๐šŒ๐Ÿบ = ๐šŒ๐š˜๐š™๐šข.๐š๐šŽ๐šŽ๐š™๐šŒ๐š˜๐š™๐šข(๐šŠ)

c1, ๐š๐ฌ๐ฌ๐ข๐ ๐ง๐ฆ๐ž๐ง๐ญ: nothing is copied, everything is shared
c2, ๐ฌ๐ก๐š๐ฅ๐ฅ๐จ๐ฐ ๐œ๐จ๐ฉ๐ฒ: first value is copied, underlying is shared
c3, ๐œ๐ฎ๐ฌ๐ญ๐จ๐ฆ ๐œ๐จ๐ฉ๐ฒ: you decide what is copied and shared
c4, ๐๐ž๐ž๐ฉ ๐œ๐จ๐ฉ๐ฒ: everything is copied, nothing is shared

see: memory-graph.com/#breakpoints=

#Python #programming #memory_graph





Show Original Post


20.01.2026 13:18
davidr (@davidr@hachyderm.io)

A true Traveling Salesman Problem on top of the Knapsack Problem takes longer than I want to spend (many minutes vs ~10s) and also does more than I want.

A forced-greedy TSP (near neighbors are all scored 1, farther nodes are all scored 0) is much faster and closer to what I want but still longer than I want (~2m)

The solution to a combinatorial problem is not a faster algorithm, it's a smaller problem.

I need to break the TSP into chunks and solve them separately. The difficult thing is that I need to do this while deliberately remaining unaware of the semantics of the nodes for larger architectural reasons.

#constraintprogramming #python #radar #orbit #scheduling #math #computerscience




Show Original Post


20.01.2026 13:05
jobsfordevelopers (@jobsfordevelopers@mastodon.world)

Affirm is hiring Senior Software Engineer, Backend (Servicing International)

๐Ÿ”ง #kotlin #python #react #vue #aws #kubernetes #mysql #seniorengineer
๐ŸŒŽ Remote; Poland
โฐ Internship
๐Ÿข Affirm

Job details jobsfordevelopers.com/jobs/sen
#jobalert #jobsearch #hiring




Show Original Post


20.01.2026 13:00
pyconde (@pyconde@fosstodon.org)

Call for On-Site Volunteers
Want to support the conference from the inside and be part of the team in Darmstadt this April?
Apply to join our on-site volunteer crew.

๐Ÿ‘‰ 2026.pycon.de/blog/call-for-vo

#PyConDE #PyData #Python #Volunteers #Community





Show Original Post


20.01.2026 12:59
notes (@notes@woem.men)

Oh "great", uv does the same thing, referencing the pip code: https://github.com/astral-sh/uv/blob/1723ed00d6e6961abcf05d09abe59aaee005a6af/crates/uv-client/src/linehaul.rs#L61-L63
Added after someone who seems to be a
#PyPA member filed an issue requesting it: https://github.com/astral-sh/uv/issues/1958

This seems to run deepโ€ฆ
โ€‹:neocat_floof_sad:โ€‹ #Python




Show Original Post


20.01.2026 12:58
cmodi (@cmodi@mastodon.social)

I recently created a lightweight web app that analyzes a stock portfolio against recent market performance. It uses FastAPI and yfinance to pull real-time data and compares the current value of each position to its highest price over the last 30 days. You can upload a CSV of your holdings, and the app gives you a clean summary of where your portfolio stands relative to recent highs. If anyoneโ€™s curious, here's the link:

github.com/cmodi306/stock_mark




Show Original Post


20.01.2026 12:48
CIT_RUG (@CIT_RUG@social.edu.nl)

๐Ÿ“ฃ Are you writing #code for a research project and do you have a problem or question? Come to the first ๐—–๐—ผ๐—ฑ๐—ฒ ๐—–๐—ฎ๐—ณรฉ on Thursday 29 January for expert help! Expertise in #R, #Python and #HPC is available, but we may also be able to assist with other problems!๐Ÿš€

๐Ÿ“… Thursday 29 January from 13:00 till 17.00
๐Ÿ“ Smitsborg, Nettelbosje 1, Groningen

โ„น๏ธ edu.nl/emhun

#code #coding #programming #research #researchsupport





Show Original Post


20.01.2026 11:58
danwald (@danwald@techhub.social)

blog.danwald.me/ors-and-ands?s Ors & Ands #python




Show Original Post


1 ...621 622 623 624 625 626 627 628 629 630 631 ...1585
UP