frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Nobel Prize in Physics goes to Francis Halzen

https://www.nobelprize.org/prizes/physics/2026/
148•solarist•2h ago•36 comments

Gleam doesn't compile to Erlang source anymore

https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/
54•ingve•3h ago•7 comments

Beam: Reflection's 501B open-weight model

https://reflection.ai/blog/introducing-beam
477•Philpax•16h ago•152 comments

Find the flattest route between any two points in SF

https://flattensf.com/
224•ishan0102•14h ago•78 comments

Dust: Pretraining Transformers Without Backpropagation

https://qlabs.sh/research/dust
215•E-Reverance•14h ago•55 comments

Friendship ended with Deno, now Node is my best friend

https://dbushell.com/2026/10/03/deno-to-node/
200•ibobev•13h ago•119 comments

Accountability mechanisms can be joyful (2024)

https://liquidbrain.net/blog/accountability-and-joy/
47•luu•2d ago•13 comments

Web Search API

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/
561•tosh•1d ago•257 comments

ASOS app users receive push notifications apparently sent by hackers

https://www.bbc.co.uk/news/articles/cj62ylzpr6d3o
22•helsinkiandrew•1h ago•7 comments

Opus 5.5 agents discover two room-temperature magnetic semiconductor candidates

https://www.vals.ai/blogs/room-temperature-magnetic-semiconductors
378•outlier99•14h ago•257 comments

Resurrecting iChat Audio and Video Conferencing

https://blog.pipetogrep.org/2026/09/11/resurrecting-ichat-audio-and-video-conferencing/
64•thepipetogrep•8h ago•14 comments

Example.com just launched the biggest redesign in decades

https://www.debugbear.com/blog/example-dot-com-redesign-history
247•jgx0•13h ago•157 comments

Testing 12 different Zigbee temperature/humidity sensors

https://smarthomescene.com/reviews/best-selling-zigbee-temperature-sensors-tested/
136•walrus01•2d ago•73 comments

Competitive Programmer's Handbook (2018) [pdf]

https://cses.fi/book/book.pdf
226•vinhnx•2d ago•54 comments

Direct retinal projection display for smart glasses using a meta-optic mirror

https://www.tdk.com/en/news_center/press/20261002_01.html
42•bookofjoe•2d ago•6 comments

The complement of true is true, except when it's false

https://dryperspective.github.io/posts/complement-of-true/
27•aw1621107•1d ago•4 comments

Using A.I. and machine learning to decode communication of sperm whales

https://blue-continuum.com/the-man-who-listens-to-whales
36•dnetesn•2d ago•23 comments

Global Solar Atlas: summary of solar power potential globally

https://globalsolaratlas.info/
64•stratts•13h ago•40 comments

The lamps in my house

https://arslan.io/2026/10/05/the-lamps-in-my-house/
231•farslan•21h ago•102 comments

Why Common Lisp is now the best programming language

https://www.vivienhenz.com/common-lisp
214•misterchocolat•9h ago•263 comments

An algorithmic failure beneath the secret ballot

https://blog.citp.princeton.edu/2026/08/03/an-algorithmic-failure-beneath-the-secret-ballot/
89•leecoursey•2d ago•68 comments

Show HN: Entombed in a Raycaster

https://www.stelabouras.com/blog/entombed-raycaster/
29•stelabouras•2d ago•6 comments

DEDA – Tracking Dots Extraction, Decoding and Anonymisation Toolkit

https://github.com/dfd-tud/deda
70•greyface-•1d ago•7 comments

Ephemeral Testing

https://lemire.me/blog/2026/10/05/ephemeral-testing/
67•ibobev•12h ago•20 comments

Apple and a hacker's future

https://stratechery.com/2026/apple-and-a-hackers-future/
268•maguay•1d ago•228 comments

Samon: Designing a Zen Garden Raking Puzzle

https://gwern.net/doc/design/2026-10-03-gwern-samon.html
47•networked•12h ago•22 comments

Making a GTK application in Haskell, part 1

https://floreal.tech/blog/2026/making-a-gtk-app-in-haskell-part-1/
162•Vosporos•21h ago•46 comments

Qualcomm licenses patents on Huawei’s LogicFolding chip tech

https://www.bloomberg.com/news/articles/2026-10-05/qualcomm-licenses-patents-on-huawei-s-logicfol...
196•0xedb•1d ago•126 comments

The first fully implanted cochlear implant reaches patients

https://spectrum.ieee.org/fully-implantable-cochlear-implant
95•rbanffy•4d ago•77 comments

ChatGPT is adding real cartoonists' signatures to fake New Yorker cartoons

https://www.niemanlab.org/2026/10/chatgpt-is-adding-real-cartoonists-signatures-to-fake-new-yorke...
468•rdmuser•13h ago•347 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