frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

AI Destroys Institutions

https://cyberlaw.stanford.edu/publications/how-ai-destroys-institutions/
115•JeanKage•53m ago•68 comments

EU–INC – One Europe. One Standard. – Pan-European Legal Entity

https://www.eu-inc.org/
396•tilt•3h ago•271 comments

Vibecoding #2

https://matklad.github.io/2026/01/20/vibecoding-2.html
53•ibobev•1h ago•17 comments

Anthropic's original take home assignment open sourced

https://github.com/anthropics/original_performance_takehome
456•myahio•11h ago•218 comments

SETI@home is in hiberation

https://setiathome.berkeley.edu/
110•keepamovin•4h ago•61 comments

Batmobile: 10-20x Faster CUDA Kernels for Equivariant Graph Neural Networks

https://elliotarledge.com/blog/batmobile
46•ipnon•3d ago•8 comments

Stories removed from the Hacker News Front Page, updated in real time (2024)

https://github.com/vitoplantamura/HackerNewsRemovals
121•akyuu•2h ago•53 comments

RTS for Agents

https://www.getagentcraft.com/
14•summoned•4d ago•2 comments

EmuDevz: A game about developing emulators

https://afska.github.io/emudevz/
89•ingve•3d ago•19 comments

Nested Code Fences in Markdown

https://susam.net/nested-code-fences.html
23•todsacerdoti•1h ago•2 comments

Hightouch (YC S19) Is Hiring

https://hightouch.com/careers
1•joshwget•2h ago

What Is a PC Compatible?

https://codon.org.uk/~mjg59/blog/p/what-is-a-pc-compatible/
28•edward•5d ago•4 comments

Ireland wants to give its cops spyware, ability to crack encrypted messages

https://www.theregister.com/2026/01/21/ireland_wants_to_give_police/
19•jjgreen•44m ago•0 comments

A 26,000-year astronomical monument hidden in plain sight (2019)

https://longnow.org/ideas/the-26000-year-astronomical-monument-hidden-in-plain-sight/
514•mkmk•20h ago•102 comments

RSS.Social – the latest and best from small sites across the web

https://rss.social/
143•Curiositry•11h ago•32 comments

The percentage of Show HN posts is increasing, but their scores are decreasing

https://snubi.net/posts/Show-HN/
142•plastic041•7h ago•103 comments

Uber Faces Growing Pressure over Sexual Assault Record

https://www.nytimes.com/2026/01/21/business/uber-scrutiny-sexual-assault.html
12•buellerbueller•30m ago•3 comments

cURL removes bug bounties

https://etn.se/index.php/nyheter/72808-curl-removes-bug-bounties.html
312•jnord•8h ago•178 comments

The challenges of soft delete

https://atlas9.dev/blog/soft-delete.html
211•buchanae•17h ago•118 comments

Nukeproof: Manifesto for European Data Sovereignty

https://nukeproof.org/
52•jamesblonde•2h ago•19 comments

Libbbf: Bound Book Format, A high-performance container for comics and manga

https://github.com/ef1500/libbbf
84•zdw•10h ago•47 comments

Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs

https://github.com/mastra-ai/mastra
190•calcsam•21h ago•57 comments

Which AI Lies Best? A game theory classic designed by John Nash

https://so-long-sucker.vercel.app/
158•lout332•16h ago•69 comments

IPv6 is not insecure because it lacks a NAT

https://www.johnmaguire.me/blog/ipv6-is-not-insecure-because-it-lacks-nat/
247•johnmaguire•19h ago•344 comments

Instabridge has acquired Nova Launcher

https://novalauncher.com/nova-is-here-to-stay
230•KORraN•19h ago•156 comments

Comic-Con Bans AI Art After Artist Pushback

https://www.404media.co/comic-con-bans-ai-art-after-artist-pushback/
6•cdrnsf•24m ago•0 comments

200 MB RAM FreeBSD Desktop

https://vermaden.wordpress.com/2026/01/18/200-mb-ram-freebsd-desktop/
141•vermaden•3d ago•121 comments

Unconventional PostgreSQL Optimizations

https://hakibenita.com/postgresql-unconventional-optimizations
393•haki•1d ago•63 comments

The GDB JIT Interface

https://bernsteinbear.com/blog/gdb-jit/
56•surprisetalk•4d ago•8 comments

The Unix Pipe Card Game

https://punkx.org/unix-pipe-game/
236•kykeonaut•21h ago•73 comments
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