frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open Chaos: A self-evolving open-source project

https://www.openchaos.dev/
220•stefanvdw1•5h ago•40 comments

A Eulogy for Dark Sky, a Data Visualization Masterpiece (2023)

https://nightingaledvs.com/dark-sky-weather-data-viz/
312•skadamat•8h ago•136 comments

Show HN: I used Claude Code to discover connections between 100 books

https://trails.pieterma.es/
33•pmaze•4h ago•6 comments

AI is a business model stress test

https://dri.es/ai-is-a-business-model-stress-test
79•amarsahinovic•4h ago•112 comments

Rats caught on camera hunting flying bats

https://scienceclock.com/rats-caught-on-camera-hunting-flying-bats-for-the-first-time/
33•akg130522•2h ago•6 comments

Finding and Fixing Ghostty's Largest Memory Leak

https://mitchellh.com/writing/ghostty-memory-leak-fix
39•thorel•2h ago•2 comments

ASCII-Driven Development

https://medium.com/@calufa/ascii-driven-development-850f66661351
47•_hfqa•2d ago•29 comments

Side-by-side comparison of how AI models answer moral dilemmas

https://civai.org/p/ai-values
34•jesenator•1d ago•28 comments

Bichon: A lightweight, high-performance Rust email archiver with WebUI

https://github.com/rustmailer/bichon
31•rendx•1h ago•11 comments

I replaced Windows with Linux and everything's going great

https://www.theverge.com/tech/858910/linux-diary-gaming-desktop
369•rorylawless•5h ago•298 comments

New information extracted from Snowden PDFs through metadata version analysis

https://libroot.org/posts/going-through-snowden-documents-part-4/
233•libroot•9h ago•108 comments

ChatGPT Health is a marketplace, guess who is the product?

https://consciousdigital.org/chatgpt-health-is-a-marketplace-guess-who-is-the-product/
165•yoaviram•2d ago•189 comments

Worst of Breed Software

https://worstofbreed.net/
3•facundo_olano•36m ago•1 comments

Org Mode Syntax Is One of the Most Reasonable Markup Languages to Use for Text

https://karl-voit.at/2017/09/23/orgmode-as-markup-only/
189•adityaathalye•12h ago•151 comments

UpCodes (YC S17) is hiring PMs, SWEs to automate construction compliance

https://up.codes/careers?utm_source=HN
1•Old_Thrashbarg•4h ago

Bindless Oriented Graphics Programming

https://alextardif.com/BindlessProgramming.html
18•ibobev•3d ago•0 comments

Drones that recharge directly on transmission lines

https://www.ycombinator.com/companies/voltair
116•alphabetatango•4h ago•86 comments

UK government exempting itself from cyber law inspires little confidence

https://www.theregister.com/2026/01/10/csr_bill_analysis/
261•DyslexicAtheist•7h ago•52 comments

NASA announces unprecedented return of sick ISS astronaut and crew

https://www.livescience.com/space/space-exploration/nasa-cancels-spacewalk-and-considers-early-cr...
57•bookofjoe•7h ago•48 comments

Distributed Denial of Secrets

https://ddosecrets.com/
33•sabakhoj•2d ago•5 comments

“Erdos problem #728 was solved more or less autonomously by AI”

https://mathstodon.xyz/@tao/115855840223258103
586•cod1r•22h ago•331 comments

Httpz – Zero-Allocation HTTP/1.1 Parser for OxCaml

https://github.com/avsm/httpz
62•noelwelsh•3d ago•16 comments

O-Ring Automation

https://www.nber.org/papers/w34639
21•jandrewrogers•5d ago•9 comments

Allow me to introduce, the Citroen C15

https://eupolicy.social/@jmaris/115860595238097654
628•colinprince•10h ago•428 comments

How we made v0 an effective coding agent

https://vercel.com/blog/how-we-made-v0-an-effective-coding-agent
19•MaxLeiter•2d ago•7 comments

Sinclair C5

https://en.wikipedia.org/wiki/Sinclair_C5
12•jszymborski•49m ago•2 comments

Changes to Android Open Source Project

https://source.android.com/
271•TechTechTech•3d ago•174 comments

GPU memory snapshots: sub-second startup (2025)

https://modal.com/blog/gpu-mem-snapshots
11•jxmorris12•2d ago•4 comments

Reverse Engineering the Epson FilmScan 200 for Classic Mac

https://ronangaillard.github.io/posts/reverse-engineering-epson-filmscan-200/
82•j_leboulanger•1w ago•7 comments

Good Judgment Open

https://www.gjopen.com
9•kaycebasques•2d ago•1 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