frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Amazon Ergo: A fast, cost-effective open-weights model

https://www.aboutamazon.com/amazon-ergo
1426•mtw14•14h ago•574 comments

TinyGo 0.45.0 Released

https://github.com/tinygo-org/tinygo/releases/tag/v0.45.0
134•iaaan•4h ago•14 comments

Code-driven AI illustrations are more useful than images from image models

https://simonwillison.net/2026/Nov/28/code-driven-ai-illustrations/
176•gmays•6h ago•104 comments

OpenMono: The open-source mono font

https://openmono.com/
145•hn-aarvin•5h ago•47 comments

Paprika Powers This Village in Serbia

https://www.nytimes.com/interactive/2026/11/28/dining/paprika-pepper-serbia.html
31•mooreds•2d ago•1 comments

Advent of Code 2026

https://adventofcode.com/
515•saisundar•1d ago•569 comments

Bacteria linked to inflammatory bowel disease identified with help from gamers

https://today.ucsd.edu/story/bacteria-linked-to-inflammatory-bowel-disease-identified-with-help-f...
249•gmays•12h ago•82 comments

Ty 1.0: Fast Python type checker and language server

https://astral.sh/blog/ty-1.0
579•burntsushi•15h ago•133 comments

Michael Levin's "Platonic Space Hypothesis" aims to explain emergent behavior

https://www.quantamagazine.org/does-behavior-emerge-from-beyond-the-physical-world-20261130/
178•ivell•14h ago•121 comments

ATProto's private data protocol is now in beta

https://atproto.com/blog/the-spaces-public-beta-is-now-live
315•pfraze•13h ago•136 comments

Microcontrôland: A fictional country simulated by 7 ESP32 microcontrollers

https://www.microcontroland.org/en/projet.html
55•dverlaeckt80•10h ago•14 comments

Cryptopocalypse

https://www.argmin.net/p/cryptopocalypse
588•_delirium•17h ago•313 comments

Repository Is Maintained by the New Official Heretic Community

https://github.com/Vinay-Umrethe/heretic
144•jacquesm•6h ago•13 comments

Caveling-2-Mini (post-trained/fine-tuned Inkling-2-Mini)

https://caveman.so/news/introducing-caveling-2-mini
122•cobychapple•11h ago•16 comments

CellGemma: Predicting cell responses to help accelerate cancer research

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/cellgemma/
233•carlesonielfa•15h ago•70 comments

Finding your ISP router's credentials

https://xetera.dev/article/finding-your-isp-routers-credentials
101•8organicbits•8h ago•39 comments

Can we stop with the vulnerability fear, uncertainty and doubt, please

https://shubs.io/can-we-stop-with-the-vulnerability-fear-uncertainty-and-doubt-please/
244•infosecau•7h ago•172 comments

Micromorts – visualizing your chances of dying doing everyday activities

https://hugo0.com/micromorts
360•montenegrohugo•18h ago•183 comments

Warren Buffett has died

https://www.cnbc.com/2026/12/01/warren-buffett-dies-at-age-96.html
1755•United857•9h ago•654 comments

Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pauses

https://www.requesty.ai/blog/claude-5-minute-prompt-cache
389•danvdb•16h ago•171 comments

Show HN: Gully Cricket

https://varun.ca/gully-cricket/
82•winkerVSbecks•2d ago•22 comments

The cost of a story, and how it’s gone since we removed the paywall

https://www.sltrib.com/annual-report-2026/
113•danso•11h ago•39 comments

TCP/IP over the air with LinHT

https://m17project.org/2026/11/27/tcp-ip-over-the-air-with-linht/
156•otto-mate•2d ago•24 comments

Amazon S3 now supports reading parts of multipart uploads in progress

https://aws.amazon.com/about-aws/whats-new/2026/11/amazon-s3-supports-reading-parts-multipart-upl...
201•dabinat•2d ago•45 comments

Show HN: Learn Japanese kanji by understanding their parts

https://p.migdal.pl/kanly/
73•stared•2d ago•33 comments

Cyclospora Forever?

https://ambrook.com/offrange/crops/cyclospora-forever
18•surprisetalk•1d ago•2 comments

Minimal dark mode styles for Hacker News

https://antonz.org/hn-dark-mode/
7•ingve•1h ago•0 comments

Cognitive Surrender – Addyosmani.com

https://addyosmani.com/blog/cognitive-surrender/
91•JohnBerryman•4h ago•66 comments

Swarm Scaling

https://www.tobyord.com/writing/swarm-scaling
5•xtacy•1d ago•0 comments

Unnatural Maths

https://www.lrb.co.uk/blog/2026/december/unnatural-maths
118•themgt•11h ago•53 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