frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Kate and Python Language Server

https://akselmo.dev/posts/kate-python-lsp/
79•todsacerdoti•8mo ago

Comments

josteink•8mo 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•8mo 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•8mo ago
I haven't tried the Ruff server yet, but Jedi Language Server is usably fast, and does a good enough job.
kstrauser•8mo 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•8mo ago
It's not ready yet, but https://pyrefly.org/ might be a good competitor/complement in the future
tiltowait•8mo 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•8mo 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•8mo ago
last time i looked the people were recommending basedpyright: https://github.com/DetachHead/basedpyright
Hasnep•8mo 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•8mo 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•8mo 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•8mo 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

The Vietnam government has banned rooted phones from using any banking app

https://xdaforums.com/t/discussion-the-root-and-mod-hiding-fingerprint-spoofing-keybox-stealing-c...
146•Magnusmaster•1h ago•147 comments

Show HN: I made a memory game to teach you to play piano by ear

https://lend-me-your-ears.specr.net
24•vunderba•48m ago•6 comments

Why is SendGrid emailing me about supporting ICE?

https://fredbenenson.com/blog/2026/01/09/why-is-sendgrid-emailing-me-about-supporting-ice/
24•mecredis•1h ago•4 comments

London–Calcutta Bus Service

https://en.wikipedia.org/wiki/London%E2%80%93Calcutta_bus_service
234•thunderbong•3h ago•116 comments

When Kitty Litter Caused a Nuclear Catastrophe

https://practical.engineering/blog/2025/4/15/when-kitty-litter-caused-a-nuclear-catastrophe
83•tape_measure•4d ago•41 comments

Replit (YC W18) Is Hiring

https://jobs.ashbyhq.com/replit
1•amasad•5m ago

Mathematics for Computer Science (2018) [pdf]

https://courses.csail.mit.edu/6.042/spring18/mcs.pdf
296•vismit2000•10h ago•52 comments

Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

https://www.hackster.io/news/jesse-taube-gets-linux-up-and-running-on-the-raspberry-pi-rp2350-s-h...
109•walterbell•6d ago•38 comments

Show HN: Similarity = cosine(your_GitHub_stars, Karpathy) Client-side

https://puzer.github.io/github_recommender/
13•puzer•3d ago•3 comments

Cloudspecs: Cloud Hardware Evolution Through the Looking Glass

http://muratbuffalo.blogspot.com/2026/01/cloudspecs-cloud-hardware-evolution.html
13•speckx•1h ago•0 comments

How Will the Miracle Happen Today?

https://kk.org/thetechnium/how-will-the-miracle-happen-today/
168•zdw•5d ago•124 comments

Kagi releases alpha version of Orion for Linux

https://help.kagi.com/orion/misc/linux-status.html
245•HelloUsername•5h ago•174 comments

Cloudflare CEO on the Italy Fines

https://twitter.com/eastdakota/status/2009654937303896492
91•sidcool•1h ago•79 comments

How to Code Claude Code in 200 Lines of Code

https://www.mihaileric.com/The-Emperor-Has-No-Clothes/
659•nutellalover•22h ago•210 comments

Sorted string tables (SST) from first principles

https://www.bitsxpages.com/p/sorted-string-tables-sst-from-first
41•apurvamehta•3d ago•4 comments

Latest SteamOS Beta Now Includes Ntsync Kernel Driver

https://www.phoronix.com/news/Steam-OS-Beta-NTSYNC
22•LorenDB•1h ago•4 comments

Hacking a Casio F-91W digital watch (2023)

https://medium.com/infosec-watchtower/how-i-hacked-casio-f-91w-digital-watch-892bd519bd15
182•jollyjerry•5d ago•53 comments

Sopro TTS: A 169M model with zero-shot voice cloning that runs on the CPU

https://github.com/samuel-vitorino/sopro
318•sammyyyyyyy•21h ago•115 comments

Embassy: Modern embedded framework, using Rust and async

https://github.com/embassy-rs/embassy
283•birdculture•19h ago•128 comments

Bose has released API docs and opened the API for its EoL SoundTouch speakers

https://arstechnica.com/gadgets/2026/01/bose-open-sources-its-soundtouch-home-theater-smart-speak...
2448•rayrey•1d ago•371 comments

Richard D. James aka Aphex Twin speaks to Tatsuya Takahashi (2017)

https://web.archive.org/web/20180719052026/http://item.warp.net/interview/aphex-twin-speaks-to-ta...
245•lelandfe•20h ago•82 comments

What happened to WebAssembly

https://emnudge.dev/blog/what-happened-to-webassembly/
283•enz•10h ago•259 comments

How Samba Was Written (2003)

https://download.samba.org/pub/tridge/misc/french_cafe.txt
145•tosh•5d ago•57 comments

The Jeff Dean Facts

https://github.com/LRitzdorf/TheJeffDeanFacts
527•ravenical•1d ago•175 comments

Photographing the hidden world of slime mould

https://www.bbc.com/news/articles/c9d9409p76qo
87•1659447091•1w ago•25 comments

The unreasonable effectiveness of the Fourier transform

https://joshuawise.com/resources/ofdm/
284•voxadam•23h ago•136 comments

AI coding assistants are getting worse?

https://spectrum.ieee.org/ai-coding-degrades
407•voxadam•1d ago•646 comments

Show HN: Executable Markdown files with Unix pipes

95•jedwhite•15h ago•77 comments

Replit founder Amjad Masad isn’t afraid of Silicon Valley

https://sfstandard.com/2026/01/07/called-terrorist-sympathizer-now-ai-company-valued-3b/
271•newusertoday•1d ago•413 comments

Why I left iNaturalist

https://kueda.net/blog/2026/01/06/why-i-left-inat/
248•erutuon•16h ago•142 comments