frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Attention Kmart shoppers – music played over the store PA

https://www.attentionshoppers.net/
176•ChrisArchitect•4h ago•46 comments

Beating Floating Point at Its Own Game: Posit Arithmetic [pdf]

http://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf
14•xenophonf•48m ago•0 comments

Optimizing Rustc's next trait solver

https://donsz.nl/blog/optimizing-rustcs-next-trait-solver
77•g0xA52A2A•3d ago•3 comments

PocketBase has moved off GitHub

https://github.com/pocketbase/pocketbase/issues/7872
277•p2detar•8h ago•118 comments

Show HN: I made a tiny live replica of SFO

https://tinysfo.com/
403•eiiot•10h ago•121 comments

Show HN: RK3588 QEMU emulator running unmodified Armbian images

https://github.com/petabyt/clanker-rkqemu
16•petabyt•1h ago•3 comments

Elephant in the Server Room: >50% of WordPress Sites Run PHP That's EOL by Jan

https://adamgreenough.net/blog/wordpress-php-versions/
52•xadz•5h ago•13 comments

The importance of understanding what the fuck is going on

https://blog.jsbarretto.com/post/understanding
279•notfried•8h ago•170 comments

Gmail "Send as" ends January 2027

https://emailfa.st/blog/gmail-send-as-ending-cloudflare-email-routing
369•tombakerbuilds•10h ago•212 comments

The Rise of Low Precision Floating Point

https://arxiv.org/abs/2611.00301
17•matt_d•4d ago•1 comments

Silently degrading the model's capabilities is sabotage

https://twitter.com/TimSweeneyEpic/status/2126682647862862063
769•tosh•14h ago•313 comments

Computer Disease (2020)

https://blog.adafruit.com/2020/01/13/richard-feynman-on-computer-disease/
231•jvanderbot•13h ago•88 comments

Cryptography Incident Review Group

https://cirg.org/
50•heavensteeth•5h ago•15 comments

Lua as a Query Language

https://remy.wang/blog/lua-ql.html
55•remywang•6h ago•16 comments

Audible removes download option for purchased audiobooks

https://consumerrights.wiki/w/Audible_removes_download_option_for_purchased_audiobooks
1271•DeepLogin•18h ago•475 comments

Hacker Laws

https://github.com/dwmkerr/hacker-laws
13•Olshansky•2h ago•2 comments

M 5.0 earthquake - 5 km SW of Manhattan Beach, CA

https://earthquake.usgs.gov/earthquakes/eventpage/ci41581136/executive
185•dboreham•12h ago•114 comments

Conductive Dyes Could Turn Hair into EEG Electrodes

https://spectrum.ieee.org/hair-dye-eeg-electroencephalography
42•dverlaeckt80•2d ago•6 comments

Show HN: Archive95, an independent archive of the early web

https://archive95.net/
94•WumboSpasm•9h ago•13 comments

Show HN: Peat, a fork of Neon's serverless Postgres, on Postgres 18 and 19

https://github.com/Zabaca/peat
66•uptownhr•7h ago•12 comments

Tilapia are multi-jawed monsters

https://signoregalilei.com/2026/11/01/tilapia-are-multi-jawed-monsters/
76•surprisetalk•3d ago•19 comments

Guitar Hero, but for Hand Bells

https://dingdonghero.com
10•devbytes•3d ago•1 comments

Werner Vogels' Tech predictions for 2027 and beyond

https://www.allthingsdistributed.com/2026/11/tech-predictions-for-2027-and-beyond.html
77•simonebrunozzi•9h ago•29 comments

Doug Lea's Malloc

https://gee.cs.oswego.edu/dl/html/malloc.html
21•grep_it•3d ago•7 comments

What Changes When You Upgrade from PostgreSQL 18 to 19

https://rishigoomar.com/postgresql-19-what-changes-when-you-upgrade-from-18
85•rgoomar•2d ago•23 comments

Rez Dreamcast, Its Prototypes: When Psychedelic Gaming Came to Consoles

https://www.sega-dreamcast-info.com/en/rez-dreamcast-development-history-prototypes-minidv-archive
101•zdw•4d ago•37 comments

Show HN: Interactive model benchmarks from routing real development work

https://oreshkin-model-atlas.cybertest.workers.dev/
5•vedmed•2h ago•0 comments

An Update from Lapham's Quarterly

https://laphamsquarterly.substack.com/p/three-years-on-help-us-with-the-next
14•m-hodges•1h ago•0 comments

Does Task Framing Change How Claude Code Works? A Preliminary Study

https://xinyadu.github.io/blog/claude-code-sabotage.html
954•abedelez•19h ago•374 comments

Farewell

https://github.com/p-e-w/heretic/issues/601
1100•nolist_policy•18h ago•425 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