frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Your ePub Is fine

https://andreklein.net/your-epub-is-fine-kobo-disagrees-blame-adobe/
374•sohkamyung•6h ago•152 comments

Even more batteries included with Emacs

https://karthinks.com/software/even-more-batteries-included-with-emacs/
74•signa11•3h ago•14 comments

Show HN: Kage – Shadow any website to a single binary for offline viewing

https://github.com/tamnd/kage
480•tamnd•12h ago•99 comments

Bitsy

https://bitsy.org/
99•tosh•3d ago•3 comments

Prove you're human by winning a claw machine

https://feralui.vercel.app/#/captcha
32•speckx•2d ago•21 comments

21 years and counting of 'eight fallacies of distributed computing' (2025)

https://blog.apnic.net/2025/12/08/21-years-and-counting-of-eight-fallacies-of-distributed-computing/
52•teleforce•5h ago•9 comments

Firewood Splitting Simulator

https://screen.toys/firewood/
728•memalign•5d ago•228 comments

Why does paper fold so well?

https://www.bbc.co.uk/programmes/w3ct8k70
13•zeristor•1d ago•1 comments

Rio de Janeiro's "homegrown" LLM appears to be a merge of an existing model

https://github.com/nex-agi/Nex-N2/issues/4
316•unrvl22•14h ago•172 comments

Show HN: Trace – Offline Mac meeting transcripts you can flag mid-call

https://traceapp.info
136•AG342•1d ago•53 comments

A short history of Cerro Torre, the most controversial mountain (2012)

https://www.markhorrell.com/blog/2012/a-short-history-of-cerro-torre/
22•joebig•4d ago•6 comments

Ask HN: What are you working on? (June 2026)

188•david927•13h ago•708 comments

Formal methods and the future of programming

https://blog.janestreet.com/formal-methods-at-jane-street-index/?from_theconsensus=1
229•eatonphil•17h ago•82 comments

Chaosnet (1981)

https://tumbleweed.nu/r/lm-3/uv/amber.html
75•RGBCube•10h ago•8 comments

Write for One Person

https://wizardzines.com/comics/write-for-one-person/
173•evakhoury•2d ago•57 comments

TorchCodec 0.14: HDR Video Decoding for CPU and CUDA, and Fast Wav Decoder

https://github.com/meta-pytorch/torchcodec/releases/tag/v0.14.0
34•scott_s•4d ago•3 comments

Show HN: Discover Wikipedia articles popular on Hacker News

https://www.orangecrumbs.com/
83•octopus143•11h ago•24 comments

Perlisisms (1982)

https://www.cs.yale.edu/homes/perlis-alan/quotes.html
106•tosh•14h ago•52 comments

Segmented type appreciation corner (2018)

https://aresluna.org/segmented-type/
70•unexpectedVCR•3d ago•16 comments

Windows 11 users are tired of MS account requirements creeping into everything

https://www.windowscentral.com/microsoft/windows-11/windows-11-users-are-tired-of-microsoft-accou...
179•josephcsible•8h ago•111 comments

Caddy compatibility for zeroserve: 3x throughput and 70% lower latency

https://su3.io/posts/zeroserve-caddy-compat
169•losfair•16h ago•49 comments

The only scalable delete in Postgres is DROP TABLE

https://planetscale.com/blog/the-only-scalable-delete
149•hollylawly•3d ago•54 comments

I indexed 669 GB of my GoPro videos using my M1 Max computer and local ML models

328•iliashad•14h ago•80 comments

FarOutCompany

https://faroutcompany.com/
113•bookofjoe•15h ago•17 comments

The hallucinogenic mushroom that contains no known psychedelic

https://psychedelics.co.uk/news/a-mushroom-genus-that-gets-people-high-but-not-the
54•thunderbong•4h ago•28 comments

Chopped, Stored, Secured – The Story of the Hash Function

https://0xkrt26.github.io/math_behind_security/2026/06/09/the-story-of-the-hash-function.html
32•denismenace•4d ago•7 comments

How to earn a billion dollars

https://paulgraham.com/earn.html
531•kingstoned•17h ago•1544 comments

The Birth and Death of JavaScript (2014)

https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
222•subset•17h ago•127 comments

USB Power Delivery: Plugging into the Benefits

https://www.aptiv.com/en/insights/article/usb-power-delivery-plugging-into-the-benefits
44•mooreds•3d ago•91 comments

Lisp's Influence on Ruby

https://blog.tacoda.dev/lisps-influence-on-ruby-6a54f1a7740e
231•tacoda•3d ago•67 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