frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Pill to treat pancreatic cancer hailed as 'biggest breakthrough in decades'

https://www.theguardian.com/society/2026/nov/20/pill-pancreatic-cancer-breakthrough-daraxonrasib
561•rafaelc•1d ago•137 comments

Lean verification of the Riemann Hypothesis

https://leanprover-community.github.io/blog/posts/riemann-hypothesis/
809•g-b-r•10h ago•647 comments

Inkling-2-Mini in 5.4 GB Memory

https://github.com/ShinMegamiBoson/lookatmyquant
344•k__•6h ago•92 comments

PcapAnalyzer – self-hosted pcap analyzer with 27 problem detectors

https://github.com/sebaandrada-cell/PcapAnalyzer
47•sebaandrada•2h ago•4 comments

Brazil's tax authority open-sources its tax calculator on GitHub under MIT

https://www.gov.br/receitafederal/pt-br/assuntos/noticias/2026/novembro/receita-federal-publica-p...
739•dvaplima•4d ago•237 comments

Detonating a pile of lead azide

https://www.science.org/content/blog-post/detonating-huge-pile-lead-azide-really
509•beginning_end•11h ago•341 comments

Getting the mind to steer the body to steer you

https://notnottalmud.substack.com/p/getting-the-mind-to-steer-the-body
140•jger15•1d ago•50 comments

Hurried Announcement: Alessandro Masullo GRH

https://math216.wordpress.com/2026/11/20/hurried-announcement-alessandro-masullo-grh/
2388•jasondavies•1d ago•1160 comments

My monitor was cutting my download speed by 75%

https://blog.tymscar.com/posts/studiodisplayethernet/
473•soheilpro•14h ago•227 comments

Advice for the next 100 Rust GUIs

https://linebender.org/blog/next-100-guis/
74•raphlinus•3h ago•6 comments

PostgreSQL Extensions in Go

https://jespino.github.io/gopgext/
117•valyala•7h ago•20 comments

Windows has two settings that bring work back after restart, both off by default

https://www.makeuseof.com/windows-can-bring-your-work-back-after-restart/
33•surprisetalk•2d ago•30 comments

The Emergence of Inequality in the Czech Corded Ware Culture

https://www.jna.uni-kiel.de/index.php/jna/article/view/1560/1746
24•marojejian•3h ago•11 comments

Tasklet (YC P26) Is Hiring Product and Agent Infra Engineers

https://tasklet.ai/careers
1•mayop100•3h ago

Upload2Shell (CVE-2026-125396)

https://pwn.ai/upload2shell
75•f311a•6h ago•29 comments

Pandex – Official European Law for AI Agents, over MCP

https://www.pandex.io
24•vasie•4h ago•4 comments

Inkling 2 Mini

https://thinkingmachines.ai/news/inkling-2-mini/
1380•jasondavies•1d ago•280 comments

Tropical Rainforests Species may be surprisingly young

https://phys.org/news/2026-11-species-tropical-rainforests-young-emergence.html
39•PaulHoule•4d ago•18 comments

Show HN: Zero C# – C# without a runtime or GC

https://onurgumus.github.io/zero-csharp/index.html
124•reverseblade2•9h ago•96 comments

Bolt's Scooters Are Becoming Accessibility Sensors

https://geoawesome.com/bolt-scooters-accessibility-mapping-wheels4wheels/
30•chippy•4d ago•32 comments

Verification files for the Lean proof of the Riemann Hypothesis

https://math.mit.edu/~drew/grh/
90•Bluestein•9h ago•36 comments

Exponential Behavior in Magic: The Gathering

https://levineuwirth.org/essays/exponential-magic/
88•neuwirth•3d ago•62 comments

RCE in Gnupg

https://lists.gnupg.org/pipermail/gnupg-announce/2026q4/000517.html
228•gdgghhhhh•16h ago•93 comments

LLMs can read and write executables byte by byte from a hex dump

https://sgiannopoulos.github.io/blog/machine-code-programming/
186•fortran77•3d ago•119 comments

Why there are still no non-WebKit browsers on iOS

https://blog.mozilla.org/en/mozilla/internet-policy/apple-ios-browser-engine-rules/
476•lapcat•1d ago•266 comments

Ask HN: I have been unemployed for 2y. 15 years of experience, US. What to do?

606•LetThingsBeDiff•1d ago•675 comments

International UN talks on controlling use of autonomous weapons collapse

https://www.theguardian.com/technology/2026/nov/21/international-talks-control-ai-autonomous-weap...
30•nephihaha•1h ago•4 comments

I'm quite pleased by the tech architecture of my art website

https://klauria.tech/klauria-art/
146•evakhoury•1d ago•33 comments

Context-Generic Programming v0.8.0 – Pluggable trait implementations for Rust

https://contextgeneric.dev/blog/v0.8.0-release/
17•maybevoid•3d ago•0 comments

Right Code, Wrong Comment: The Pointer Chase Inside Zlib

https://www.dataisland.org/blog/zlib-overlay-chase.html
4•dataisland99•2d ago•2 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