linuxusers.in is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
Show HN: Kreuzberg – Modern async Python library for document text extraction
Link: https://github.com/Goldziher/kreuzberg
Discussion: https://news.ycombinator.com/item?id=43057375
JesseSort: A novel sorting algorithm that is faster than Python's default sort.
Link: https://github.com/lewj85/jessesort
Discussion: https://news.ycombinator.com/item?id=43040869
#lispyGopherClimate @kentpitman #live #interview #computerScience #programming #lisp #commonLisp #python with some special announcements and releases.
#teco #emacs #conditions
https://archives.anonradio.net/202502120000_screwtape.mp3
#archive Thanks for the incredible interview and livechat everyone!
Interview 1 / ?
Please drop questions here beforehand or join us live in #lambdaMOO as always !
telnet lambda.moo.mud.org 8888
co guest
@join screwtape
#lispyGopherClimate #important #announcement
https://archives.anonradio.net/202502120000_screwtape.mp3 #archive
Possibly I didn't bang the drum enough.
@kentpitman is joining me #live for the show - 0UTC Wednesday, Tuesday evening in the Americas. I'll toot the link on mastodon a few hours before the show as always.
If you could join and ask questions live or beforehand here in this thread (if you join through the archive).
#lisp #commonLisp #python #computerScience #programming #podcast #climate
#boost visibility please
The ancient Babylonians had a way of calculating (really more like estimating) square roots.
There are a gazillion ways to do the initial "guess" Here we look for it's nearest-lower square, and then calculate the distance between them. Repeatedly.
--
def squareroute(s, tol=1e-10, max_it=100):
if s < 0:
raise ValueError("No negatives: {}".format(s))
s = float(s)
if s == 0:
return 0.0
g = 1.0
while g * g <= s:
g += 1.0
g -= 1.0
for _ in range(max_it):
new_g = (g + s / g) / 2.0
if abs(new_g - g) < tol:
return new_g
g = new_g
return g
zz = squareroute(50)
Challenge: Show off how you'd do the Babylonian Square Root algorithm, including in other languages.
Incidentally, you don't normally need 100 iterations. But as long as the tolerance is close, it'll stop way before then.
I did this in another comment in #commonlisp as well.
In this article, I talk about
how the current changes in the US are affecting the tools we use in privacy:
Each change of government can have a serious effect on data privacy legislation for better, or worse.
Privacy is a politically charged field.
Many privacy tools we use depend at least partially on government funding or on other tools which depend on government funding.
Current projects that could be impacted now or later include the Tor Project, the Python Software Foundation, and all the projects relying on these.
More on this here: https://www.privacyguides.org/articles/2025/02/03/the-future-of-privacy/
No matter what happens in the world, one thing will remain constant: me typing `.trim()` when I mean `.strip()` in #Python, every single time.
I wrote a better #medium #tutorial #article #parody of #python #programming #tutorials in which I hilariously misunderstood python to be a reference to #sbcl #commonLisp #lisp (heir to CMUCL python).
I also address two fascinating medium trends I discovered.
1. The intense swapping-whispered-ghost-stories about lisp by scientist writers
2. Most articles named "Free Python Tutorial!" have no code, but links to purchasing training.
I eventually found "11 one-liners"
Decorator JITs: Python as a DSL
Link: https://eli.thegreenplace.net/2025/decorator-jits-python-as-a-dsl/
Discussion: https://news.ycombinator.com/item?id=42918846
Hey #python #uv users: is there a good site/index for python tools you can install with uv or run with uvx?
As in:
~ uv tool list
bpytop v1.0.68
- bpytop
There's gotta be a truckload of them, but randomly browsing pypi and guessing isn't cutting it.
If there isn't a good site/showcase - what's your favorite python cli tool you can't live without?
#Python 3, Pygame, and #Debian Bookworm on the #Miyoo A30 - 4 core Cortex A7 with a Mali-400 MP GPU, 512 MB of RAM, #WiFi and an incredible little 640x480 IPS screen https://www.jtolio.com/2025/02/py3-pygame-miyoo-a30/
Python 3, Pygame, and Debian Bookworm on the Miyoo A30
Link: https://www.jtolio.com/2025/02/py3-pygame-miyoo-a30/
Discussion: https://news.ycombinator.com/item?id=42901616