frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Asahi Linux Progress Linux 7.0

https://asahilinux.org/2026/04/progress-report-7-0/
344•elisaado•5h ago•123 comments

Clay PCB Tutorial

https://feministhackerspaces.cargo.site/Clay-PCB-Tutorial
5•j0r0b0•8m ago•0 comments

Statecharts: hierarchical state machines

https://statecharts.dev/
176•sph•6h ago•54 comments

Why SWE-bench Verified no longer measures frontier coding capabilities

https://openai.com/index/why-we-no-longer-evaluate-swe-bench-verified/
65•kmdupree•2h ago•50 comments

The Nintendo Switch Switch (2019)

https://blog.cynthia.re/post/nintendo-switch-ethernet-switch
42•zdw•1d ago•2 comments

Amateur armed with ChatGPT solves an Erdős problem

https://www.scientificamerican.com/article/amateur-armed-with-chatgpt-vibe-maths-a-60-year-old-pr...
571•pr337h4m•22h ago•394 comments

Show HN: Turning a Gaussian Splat into a videogame

https://blog.playcanvas.com/turning-a-gaussian-splat-into-a-videogame/
112•yak32•3d ago•24 comments

Why has there been so little progress on Alzheimer's disease?

https://freakonomics.com/podcast/why-has-there-been-so-little-progress-on-alzheimers-disease/
323•chiefalchemist•15h ago•213 comments

The West forgot how to make things, now it’s forgetting how to code

https://techtrenches.dev/p/the-west-forgot-how-to-make-things
814•milkglass•9h ago•493 comments

Tell HN: An app is silently installing itself on my iPhone every day

411•_-x-_•15h ago•158 comments

USB Cheat Sheet (2022)

https://fabiensanglard.net/usbcheat/index.html
417•gwerbret•18h ago•75 comments

Cheating at Tetris

https://chalkdustmagazine.com/features/cheating-at-tetris/
44•t-3•4d ago•10 comments

GnuPG – post-quantum crypto landing in mainline

https://lists.gnupg.org/pipermail/gnupg-announce/2026q2/000504.html
119•zdkaster•12h ago•39 comments

GitHub unwanted UX change: issue links now open in a popup

https://github.com/orgs/community/discussions/192666
40•luckman212•1h ago•9 comments

Exposing Floating Point – Bartosz Ciechanowski (2019)

https://ciechanow.ski/exposing-floating-point/
55•subset•8h ago•8 comments

Mahjong: A Visual Guide

https://themahjong.guide/
159•iamwil•2d ago•43 comments

Show HN: HNswered – watches for replies to your Hacker News posts and comments

https://github.com/adam-s/HNswered
26•dataviz1000•1d ago•30 comments

Mine, a Coalton and Common Lisp IDE

https://coalton-lang.github.io/20260424-mine/
61•Jach•1d ago•2 comments

Flickr: The first and last great photo platform

https://petapixel.com/2026/04/22/flickr-the-first-and-last-great-photo-platform/
225•Nrbelex•3d ago•125 comments

OpenAI Privacy Filter

https://openai.com/index/introducing-openai-privacy-filter/
260•tanelpoder•3d ago•51 comments

Terra API (YC W21) Hiring: Applied AI Strategist(Health Intelligence)

https://www.ycombinator.com/companies/terra-api/jobs/DY7BCZU-applied-ai-strategist-market-intelli...
1•kyriakosel•9h ago

The Free Universal Construction Kit

https://fffff.at/free-universal-construction-kit/
349•robinhouston•4d ago•80 comments

Using coding assistance tools to revive projects you never were going to finish

https://blog.matthewbrunelle.com/its-ok-to-use-coding-assistance-tools-to-revive-the-projects-you...
307•speckx•23h ago•196 comments

The route from Prussian military headquarters to Gary Gygax’s basement

https://asteriskmag.com/issues/14/shall-we-play-a-game
55•jger15•2d ago•9 comments

My .config Ship of Theseus

https://shift1w.com/blog/config-of-theseus/
23•jacobwiseberg•2d ago•9 comments

QNX on the Commodore 900 – Raiders of the lost hard drive [video]

https://archive.fosdem.org/2025/schedule/event/fosdem-2025-5479-raiders-of-the-lost-hard-drive/
10•rbanffy•3h ago•0 comments

The Joy of Folding Bikes

https://blog.korny.info/2026/04/19/the-joy-of-folding-bikes
224•pavel_lishin•3d ago•156 comments

The Super Nintendo Cartridges (2024)

https://fabiensanglard.net/snes_carts/
120•offbyone42•15h ago•16 comments

America's Geothermal Breakthrough

https://oilprice.com/Alternative-Energy/Geothermal-Energy/Americas-Geothermal-Breakthrough-Could-...
138•sleepyguy•20h ago•151 comments

EU Age Control: The trojan horse for digital IDs

https://juraj.bednar.io/en/blog-en/2026/04/17/eu-age-control-the-trojan-horse-for-digital-ids/
287•gasull•12h ago•147 comments
Open in hackernews

Kate and Python Language Server

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

Comments

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