frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Xbox Turns Down Netflix $500M Offer

https://www.darkhorizons.com/xbox-turns-down-netflix-500-million-offer/
43•xoxxala•1h ago•18 comments

We should be more ambitious with the software we build

https://danluu.com/ambitious/
260•ltratt•6h ago•225 comments

Cerebras Deploys Trillion-Parameter AI Models

https://www.cerebras.ai/blog/how-we-deploy-trillion-parameter-frontier-models-on-cerebras
33•gmays•2h ago•8 comments

The Goose Programming Language

https://aardappel.github.io/goose/
289•bobbydigitales•8h ago•184 comments

America has lost 200k of jobs in media, film and the arts. How much is AI?

https://www.apricitas.io/p/ai-and-the-fall-of-the-creative-class
233•gnabgib•4h ago•230 comments

Listen and read USA nuclear forces Emergency Action Messages, heard on 11175 kHz

https://missileer.watch
141•liotier•8h ago•93 comments

Small Programs and Languages

https://ratfactor.com/cards/pl-small
60•andsoitis•6h ago•5 comments

SpeedCrunch 1.1

https://www.speedcrunch.org/
99•LordNibbler•8h ago•12 comments

FindMyWeb: Apple Find My, reverse enginiered

https://codeberg.org/Misom/FindMyWeb
36•Velocifyer•4h ago•7 comments

Why Gopher in 2026?

https://gopher.muffinlabs.com/sdf.org/users/nervtoji/phlog/001.txt
43•andsoitis•4h ago•12 comments

I Built a Stereo Vision Board for Hardware Hackers

https://rootkitlabs.com/2026/10/06/i-built-a-stereo-vision-board-for-hardware-hackers/
45•machinehum•4d ago•2 comments

Social dynamics of toxic metal industry in medieval Europe

https://www.cambridge.org/core/journals/antiquity/article/social-dynamics-of-toxic-metal-industry...
24•XzetaU8•4d ago•0 comments

Show HN: Steal My Bitcoin

https://stealmybitcoin.com/
434•cloudlandsdev•7h ago•261 comments

FreeDNS

https://freedns.afraid.org/
263•esher•12h ago•66 comments

Attention people who think UB is fine

https://blog.habets.se/2026/10/Attention-people-who-think-UB-is-fine.html
3•signa11•1h ago•0 comments

I don't understand quantum physics (2018)

https://www.southampton.ac.uk/~doug/quantum_physics/index.html
289•rramadass•18h ago•230 comments

The Importance of Limitations for Creativity and Learning (2023)

https://ratfactor.com/cards/limitations
40•andsoitis•6h ago•11 comments

Meta employees say Lula’s accounts restricted in Brazil election: Report

https://www.aljazeera.com/economy/2026/10/16/meta-employees-say-lulas-accounts-restricted-in-braz...
48•nidnogg•1h ago•10 comments

The St. Helena 5 pence coin shows Jonathan, a roughly 190 year old tortoise

https://de.numista.com/9866
104•schleck8•11h ago•32 comments

Node2Shell evolves to HTTP2Shell, blast radius affects many HTTP libs and apps

https://www.aikido.dev/blog/python-packages-vulnerable-node2shell-brotli-cve-2026-111497
290•theanonymousone•19h ago•140 comments

In Rainbows

https://hitogata.neocities.org/Rainbows
9•surprisetalk•2d ago•0 comments

Neural chip decodes interactions between brain regions

https://actu.epfl.ch/news/neural-chip-decodes-interactions-between-brain-r-2/
97•giuliomagnifico•12h ago•34 comments

Roku developer repositories moved from GitHub to GitLab

https://blog.roku.com/developer/gitlab-move
270•cxr•12h ago•186 comments

Reactive Optimizers: rewrite the optimizer's source code during training

https://xingjianbai.com/reactive-optimizers/
22•matt_d•3d ago•1 comments

A story of a Figma bug that wasn't a bug at all (2021)

https://aresluna.org/this-is-a-story-of-a-figma-bug/
9•jllyhill•3d ago•0 comments

Local Wikipedia: Wikipedia, but only for things a half hour walk from you

https://edjefferson.com/localwiki/
1557•sohkamyung•2d ago•245 comments

GPU-unlock: FP/BF16 instruction issue rate on Nvidia 3000's cards

https://github.com/Zagitta/gpu-unlock
204•fragebogen•18h ago•65 comments

Bbtree: Fastest Ordered Map

https://bbtree.xiangpeng.systems/post/
70•aoli-al•9h ago•10 comments

Making a VGA Driver in SystemVerilog

https://lukaswerner.com/post/2026-10-20@bottom-up-vga
55•derHackerman•4d ago•14 comments

Physicists trap a single antimatter particle for a month

https://www.scientificamerican.com/article/physicists-trap-a-single-antimatter-particle-for-a-month/
290•mooreds•3d ago•80 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