frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Fabrice Bellard Releases MicroQuickJS

https://github.com/bellard/mquickjs/blob/main/README.md
69•Aissen•19m ago•3 comments

Test, don't (just) verify

https://alperenkeles.com/posts/test-dont-verify/
130•alpaylan•4h ago•68 comments

Meta Is Using the Linux Scheduler Designed for Valve's Steam Deck on Its Servers

https://www.phoronix.com/news/Meta-SCX-LAVD-Steam-Deck-Server
57•yellow_lead•44m ago•20 comments

Adobe Photoshop 1.0 Source Code (1990)

https://computerhistory.org/blog/adobe-photoshop-source-code/
344•tosh•5d ago•93 comments

Ryanair fined €256M over ‘abusive strategy’ to limit ticket sales by OTAs

https://www.theguardian.com/business/2025/dec/23/ryanair-fined-limit-online-travel-agencies-ticke...
165•aquir•6h ago•182 comments

Instant database clones with PostgreSQL 18

https://boringsql.com/posts/instant-database-clones/
279•radimm•9h ago•111 comments

Executorch: On-device AI across mobile, embedded and edge for PyTorch

https://github.com/pytorch/executorch
75•klaussilveira•5d ago•9 comments

Font with Built-In Syntax Highlighting (2024)

https://blog.glyphdrawing.club/font-with-built-in-syntax-highlighting/
107•california-og•7h ago•22 comments

Show HN: Yapi – FOSS terminal API client for power users

https://yapi.run/blog/what-is-yapi
23•jamiepond•1d ago•10 comments

Astrophotography Target Planner: Discover Hidden Nebulas

https://astroimagery.com/techniques/imaging/astrophotography-target-planner/
16•kianN•3d ago•1 comments

Show HN: CineCLI – Browse and torrent movies directly from your terminal

https://github.com/eyeblech/cinecli
253•samsep10l•12h ago•88 comments

Carnap – A formal logic framework for Haskell

https://carnap.io/
88•ravenical•8h ago•18 comments

The Coffee Warehouse

https://www.scopeofwork.net/the-coffee-warehouse/
21•NaOH•3d ago•9 comments

Snitch – A friendlier ss/netstat

https://github.com/karol-broda/snitch
273•karol-broda•16h ago•84 comments

It's Always TCP_NODELAY

https://brooker.co.za/blog/2024/05/09/nagle.html
414•eieio•20h ago•147 comments

Dancing around the rhythm space with Euclid

https://pv.wtf/posts/euclidean-rhythms
15•dracyr•1d ago•0 comments

The Illustrated Transformer

https://jalammar.github.io/illustrated-transformer/
452•auraham•22h ago•83 comments

10 years bootstrapped: €6.5M revenue with a team of 13

https://www.datocms.com/blog/a-look-back-at-2025
209•steffoz•10h ago•84 comments

Ask HN: What are the best engineering blogs with real-world depth?

261•nishilpatel•8h ago•75 comments

Ultrasound Cancer Treatment: Sound Waves Fight Tumors

https://spectrum.ieee.org/ultrasound-cancer-treatment
318•rbanffy•22h ago•88 comments

GLM-4.7: Advancing the Coding Capability

https://z.ai/blog/glm-4.7
397•pretext•23h ago•212 comments

Partial inlining

https://xania.org/202512/18-partial-inlining
43•hasheddan•5d ago•1 comments

NIST was 5 μs off UTC after last week's power cut

https://www.jeffgeerling.com/blog/2025/nist-was-5-μs-utc-after-last-weeks-power-cut
324•jtokoph•1d ago•137 comments

The Polyglot NixOS

https://x86.lol/generic/2025/12/19/polyglot.html
109•todsacerdoti•3d ago•37 comments

Inside CECOT – 60 Minutes [video]

https://archive.org/details/insidececot
1226•lawlessone•17h ago•307 comments

Diary: Val McDermid, Deep Winter

https://books.substack.com/p/diary-val-mcdermid-deep-winter
7•Vigier•4d ago•1 comments

Our New Sam Audio Model Transforms Audio Editing

https://about.fb.com/news/2025/12/our-new-sam-audio-model-transforms-audio-editing/
154•ushakov•6d ago•49 comments

Debian adds LoongArch as officially supported architecture

https://lists.debian.org/debian-devel-announce/2025/12/msg00004.html
128•cbmuser•3d ago•35 comments

The Garbage Collection Handbook

https://gchandbook.org/index.html
259•andsoitis•22h ago•42 comments

Flock Exposed Its AI-Powered Cameras to the Internet. We Tracked Ourselves

https://www.404media.co/flock-exposed-its-ai-powered-cameras-to-the-internet-we-tracked-ourselves/
744•chaps•1d ago•451 comments
Open in hackernews

Kate and Python Language Server

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

Comments

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