frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Get your Windows license refund

https://en.refund4freedom.org/
520•smartmic•5h ago•202 comments

GUIs should be fully keyboard-driven

https://ckardaris.com/blog/2026/08/28/keyboard-driven-guis.html
209•ckardaris•3h ago•133 comments

Just the rumour of a bug is enough to find an exploit these days

https://anil.recoil.org/notes/rumour-is-the-exploit
118•avsm•3h ago•40 comments

Htmx 4.0.0

https://four.htmx.org/announcements/2026-08-28-htmx-4.0.0-is-released
261•rmsaksida•5h ago•56 comments

U.S. sanctions against the A/I Collective

https://www.inventati.org/
302•exiguus•6h ago•274 comments

Inception-style curved map for turn-by-turn directions

https://www.orbify.eu/demo/
294•smoser•6h ago•103 comments

GLM-5.3 is now open-weight

https://huggingface.co/zai-org/GLM-5.3
339•jeudesprits•3h ago•128 comments

Barrier lake continues to pose flood risk, China warns

https://kathmandupost.com/national/2026/08/28/barrier-lake-continues-to-pose-flood-risk-china-warns
55•r721•3h ago•10 comments

Autonomous Mathematical Discovery in an Open-World Multi-Agent Environment

https://arxiv.org/abs/2608.23691
16•stephenchung•2h ago•0 comments

Attimet (YC F24) Is Hiring Members of Technical Staff – Engineering and Research

https://www.ycombinator.com/companies/attimet/jobs/6btZFDg-member-of-technical-staff-engineering
1•kbanothu•2h ago

Verschlimmbesserung: The Word Your Software Updates Need

https://geekyschmidt.com/post/2026-08-25-verschlimmbesserung/
57•speckx•4h ago•22 comments

The Twelve-Factor App

https://12factor.net/
129•jxmorris12•20h ago•69 comments

Global demand for sand spawned a worldwide boom in illegal mining (2015)

https://www.wired.com/2015/03/illegal-sand-mining/
25•EndXA•2d ago•8 comments

Some conservationists are helping to restore Africa’s wild dog populations

https://www.smithsonianmag.com/science-nature/africa-wild-dogs-most-hated-carnivores-continent-he...
44•speckx•4h ago•15 comments

State of the Map 2026

https://2026.stateofthemap.org/
97•lode•5h ago•37 comments

Migrating to HTTPX2

https://github.com/openai/openai-python/blob/main/httpx2.md
166•tosh•7h ago•71 comments

Hilariously fast volume computation with the divergence theorem (2018)

https://alyssarosenzweig.ca/blog/hilariously-fast-volume-computation-with-the-divergence-theorem....
214•luu•10h ago•56 comments

Don't use musl if you care about performance

https://blog.brokk.ai/dont-use-musl-if-you-care-about-performance/
53•jbellis•3h ago•32 comments

Visual Analysis of Binary Files

https://binvis.io/#/
5•vismit2000•2d ago•0 comments

An investigation into the state of corvid–human relations

https://www.audubon.org/magazine/are-crows-really-our-friends
80•speckx•6h ago•49 comments

Secrets of the Atomic City

https://longreads.com/2026/08/06/radiation-paducah-atavist/
14•mooreds•1h ago•3 comments

How Dactyl Works

https://dactyl.dev/blog/how-dactyl-works/
57•anorak27•3h ago•11 comments

Smaller reactors bring nuclear power closer to fulfilling its promise

https://www.nature.com/articles/d41586-026-02506-4
72•sohkamyung•6h ago•100 comments

EasyEffects can massively improve laptop speaker sound quality

https://www.osnews.com/story/145883/easyeffects-should-be-part-of-every-linux-distribution-and-de...
29•birdculture•3h ago•14 comments

Luanti removed from Google Play due to baseless AI copyright notice

https://blog.luanti.org/2026/08/27/luanti-dmca-tracer-ai/
315•miniBill•12h ago•108 comments

“It works better in the app”

https://shkspr.mobi/blog/2026/08/it-works-better-in-the-app/
584•blenderob•6h ago•389 comments

Debugging my new network, when 10 Gigabit Ethernet Runs at 300 Megabits

https://www.hanselman.com/blog/debugging-my-new-network-when-10-gigabit-ethernet-runs-at-300-mega...
37•speckx•4h ago•13 comments

Judge rules Trump administration’s blacklisting of Anthropic was illegal

https://www.nytimes.com/2026/08/27/technology/anthropic-government-blacklisting-ruling.html
359•jbegley•16h ago•284 comments

“Weird” is a weird word

https://www.deadlanguagesociety.com/p/weird-is-a-weird-word
50•pseudolus•5h ago•17 comments

HTTPX2 – A next-generation HTTP client for Python

https://github.com/pydantic/httpx2
100•tosh•7h ago•32 comments
Open in hackernews

Kate and Python Language Server

https://akselmo.dev/posts/kate-python-lsp/
79•todsacerdoti•1y ago

Comments

josteink•1y ago
As someone who recently set up something similar in Emacs with eglot I had to ditch Python-LSP-server.

It was so incredibly slow to respond, even on a M2 Max MBP, that it lowered my productivity by orders of magnitudes (and made Emacs laggy).

Maybe I did something wrong? I don’t know.

What I do know is that I tried pyright instead as a different LSP-server for Python and I haven’t looked back.

It’s a night and day difference. It’s snappy and everything works as expected, with venvs and mypy too.

kstrauser•1y ago
I agree. I really wanted to like python-lsp-server (aka pylsp), but I felt it's kind of a mess getting everything set up and configured. Loathe as I was to configure a server running in Node to help my editor with Python code, it's far and away the best option I've found so far.

I do hope "ruff server" will do for Python LSPs what ruff did for linting and formatting.

nerdponx•1y ago
I haven't tried the Ruff server yet, but Jedi Language Server is usably fast, and does a good enough job.
kstrauser•1y ago
Jedi's very nice for refactoring and auto-completion! I get more value from linting and type checking, though, and Jedi doesn't handle those. Pairing it with something like pyright is a great combination if your editor lets you connect to multiple servers.
kristjansson•1y ago
It's not ready yet, but https://pyrefly.org/ might be a good competitor/complement in the future
tiltowait•1y ago
Looks promising! It doesn't work with my poetry environment, but I like what I see so far. Definitely something to watch.
team_pyrefly•1y ago
Hi! I'm on the team behind Pyrefly. Thanks for taking a look and raising the need for poetry support. We added a GitHub issue to track that here: https://github.com/facebook/pyrefly/issues/166
arccy•1y ago
last time i looked the people were recommending basedpyright: https://github.com/DetachHead/basedpyright
Hasnep•1y ago
I've been recommending it whenever Pylance comes up on HN or Lobsters, the docs explain how to set it up on the most popular editors: https://docs.basedpyright.com/dev/installation/ides
wormius•1y ago
Not particularly relevant to the core article, but just a dumb thought re: the LSP/LS annoyance mentioned in the intro.

I think maybe some of it stems from 'ls' the command. If I saw something called py-ls instead of py-lsp, I may think it's a python based ls command. "Name Collision" as it were.

Anyways off to read the rest of the article...

ogoffart•1y ago
I wrote a language server too, and I also went with "-lsp" naming because it's way more recognizable. "LSP" is kind of a brand. If you look at the list at https://microsoft.github.io/language-server-protocol/impleme... a lot of them are named -lsp.
dundarious•1y ago
Might not be an issue for your typical setup, but I suggest quoting your variable expansions in bash. Otherwise, spaces, etc., will lead to issues.

It would also make sense to use path after it is defined, instead of sometimes using `$1` again.

But I'm confused by `cd`ing into `$path` and then checking paths that are prefixed by `$path`... I assume that is an error, and you won't run it like `script.sh ./work/project` and expect a path like `./work/project/work/project` or `./work/project/project` to exist. Can just `cd "$1"` and be done.

Mildly surprised the .venv/venv check isn't an elif as well.

  #!/usr/bin/env bash
  cd "$1"
  if [ -d ./.venv ]; then
    source ./.venv/bin/activate
  elif [ -d ./venv ]; then
    source ./venv/bin/activate
  fi
  exec pylsp --check-parent-process