frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ti-84 Evo

https://education.ti.com/en/products/calculators/graphing-calculators/ti-84-evo
243•thatxliner•4h ago•250 comments

New research suggests people can communicate and practice skills while dreaming

https://www.newyorker.com/culture/annals-of-inquiry/its-possible-to-learn-in-our-sleep-should-we
215•XzetaU8•6h ago•119 comments

The smelly baby problem

https://www.worksinprogress.news/p/how-disposable-diapers-conquered
78•dionysou•2d ago•31 comments

What did you love about VB6?

https://evilgeniuslabs.ca/blog/vb6-modern-dotnet-question
10•andsoitis•32m ago•1 comments

Eka’s robotic claw feels like we're approaching a ChatGPT moment

https://www.wired.com/story/when-robots-have-their-chatgpt-moment-remember-these-pincers/
81•zdw•2d ago•93 comments

Ask HN: Who is hiring? (May 2026)

222•whoishiring•9h ago•242 comments

Lib0xc: A set of C standard library-adjacent APIs for safer systems programming

https://github.com/microsoft/lib0xc
60•wooster•5h ago•19 comments

Artemis II Photo Timeline

https://artemistimeline.com/#artemis-ii-walkout-nhq202604010003
12•geerlingguy•2d ago•2 comments

Whimsical Animations Course Open House

https://courses.joshwcomeau.com/wham/open-house/00-introduction
54•SpyCoder77•5h ago•9 comments

Whohas – Command-line utility for cross-distro, cross-repository package search

https://github.com/whohas/whohas
121•peter_d_sherman•9h ago•27 comments

SpaceX rocket set for unintentional moon landing – well, a piece of it anyway

https://www.theregister.com/2026/05/01/spacex_debris_landing/
43•beardyw•13h ago•26 comments

Credit cards are vulnerable to brute force kind attacks

https://metin.nextc.org/posts/Credit_Cards_Are_Vulnerable_To_Brute_Force_Kind_Attacks.html
182•kodbraker•4h ago•149 comments

City Learns Flock Accessed Cameras in Children's Gymnastics Room as a Sales Demo

https://www.404media.co/city-learns-flock-accessed-cameras-in-childrens-gymnastics-room-as-a-sale...
280•joshcsimmons•6h ago•83 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
396•sleepingNomad•15h ago•128 comments

Show HN: AI CAD Harness

https://fusion.adam.new/install
58•zachdive•6h ago•61 comments

Apocalypse Early Warning System

https://ews.kylemcdonald.net/
105•carlsborg•8h ago•58 comments

The gay jailbreak technique

https://github.com/Exocija/ZetaLib/blob/main/The%20Gay%20Jailbreak/The%20Gay%20Jailbreak.md
356•bobsmooth•7h ago•130 comments

Ask HN: Who wants to be hired? (May 2026)

116•whoishiring•9h ago•238 comments

Understand Anything

https://github.com/Lum1104/Understand-Anything
96•taubek•7h ago•27 comments

AI uses less water than the public thinks

https://californiawaterblog.com/2026/04/26/ai-water-use-distractions-and-lessons-for-california/
324•hirpslop•7h ago•288 comments

A Report on Burnout in Open Source Software Communities (2025) [pdf]

https://mirandaheath.website/static/oss_burnout_report_mh_25.pdf
5•susam•1h ago•0 comments

Spotify adds 'Verified' badges to distinguish human artists from AI

https://www.bbc.com/news/articles/c5yerr4m1yno
193•reconnecting•7h ago•211 comments

Artemis II fault tolerance

https://alearningaday.blog/2026/05/01/artemis-ii-fault-tolerance/
56•speckx•7h ago•30 comments

Sally McKee, who coined the term "the memory wall", has died

https://www.online-tribute.com/SallyMcKee
103•deater•9h ago•21 comments

Historic Tennessee hotel is also home to the greatest duck tradition (2016)

https://www.audubon.org/magazine/tennessees-most-historic-hotel-also-home-greatest-duck-tradition
23•NaOH•2d ago•1 comments

U.S. to Withdraw 5k Troops from Germany, Pentagon Says

https://www.nytimes.com/2026/05/01/us/politics/us-troops-germany.html
17•mikhael•48m ago•2 comments

Running Adobe's 1991 PostScript Interpreter in the Browser

https://www.pagetable.com/?p=1854
121•ingve•12h ago•27 comments

I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA

117•proberts•9h ago•187 comments

Ubuntu servers taken offline by "sustained, cross-border attack"

https://arstechnica.com/security/2026/05/ubuntu-infrastructure-has-been-down-for-more-than-a-day/
97•RattlesnakeJake•5h ago•19 comments

A Letter from Dijkstra on APL (1982)

https://www.jsoftware.com/papers/Dijkstra_Letter.htm
52•tosh•12h ago•50 comments
Open in hackernews

Kate and Python Language Server

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

Comments

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