frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Publish (On Your) Own Site, Syndicate Elsewhere

https://indieweb.org/POSSE#
152•47thpresident•1h ago•34 comments

Unix v4 (1973) – Live Terminal

https://unixv4.dev/
77•pjmlp•2h ago•30 comments

Ask HN: Who is hiring? (January 2026)

219•whoishiring•5h ago•125 comments

TinyTinyTPU: 2×2 systolic-array TPU-style matrix-multiply unit deployed on FPGA

https://github.com/Alanma23/tinytinyTPU-co
51•Xenograph•2h ago•12 comments

Clicks Communicator

https://www.clicksphone.com/en/communicator
194•microflash•4h ago•141 comments

FracturedJson

https://github.com/j-brooke/FracturedJson/wiki
449•PretzelFisch•8h ago•117 comments

Fighting Fire with Fire: Scalable Oral Exams

https://www.behind-the-enemy-lines.com/2025/12/fighting-fire-with-fire-scalable-oral.html
74•sethbannon•3h ago•79 comments

IPv6 just turned 30 and still hasn't taken over the world

https://www.theregister.com/2025/12/31/ipv6_at_30/
156•Brajeshwar•6h ago•289 comments

10 years of personal finances in plain text files

https://sgoel.dev/posts/10-years-of-personal-finances-in-plain-text-files/
382•wrxd•10h ago•158 comments

Punkt. Unveils MC03 Smartphone

https://www.punkt.ch/blogs/news/punkt-unveils-mc03
98•ChrisArchitect•5h ago•82 comments

Jank Lang Hit Alpha

https://github.com/jank-lang/jank
23•makemethrowaway•2h ago•5 comments

Accounting for Computer Scientists (2011)

https://martin.kleppmann.com/2011/03/07/accounting-for-computer-scientists.html
31•tosh•3h ago•4 comments

What you need to know before touching a video file

https://gist.github.com/arch1t3cht/b5b9552633567fa7658deee5aec60453/
227•qbow883•6d ago•145 comments

C –> Java != Java –> LLM

http://www.observationalhazard.com/2025/12/c-java-java-llm.html
27•WoodenChair•5d ago•24 comments

The rsync algorithm (1996) [pdf]

https://www.andrew.cmu.edu/course/15-749/READINGS/required/cas/tridgell96.pdf
41•vortex_ape•4h ago•1 comments

Standard Ebooks: Public Domain Day 2026 in Literature

https://standardebooks.org/blog/public-domain-day-2026
311•WithinReason•13h ago•48 comments

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

71•whoishiring•5h ago•124 comments

Uxn32: Uxn Emulator for Windows and Wine

https://github.com/randrew/uxn32
4•ibobev•5d ago•0 comments

Assorted less(1) tips

https://blog.thechases.com/posts/assorted-less-tips/
146•todsacerdoti•9h ago•32 comments

39th Chaos Communication Congress Videos

https://media.ccc.de/b/congress/2025
330•Jommi•8h ago•58 comments

I wrote a batch script to keep my 2011 ThinkPad alive for 24/7 streaming

https://github.com/patrick48001/ThinkPad-Stream-Sentinel-VLC-Video-Source-reset-disable-stream-sh...
10•techenthuziast•2h ago•1 comments

HPV vaccination reduces oncogenic HPV16/18 prevalence from 16% to <1% in Denmark

https://www.eurosurveillance.org/content/10.2807/1560-7917.ES.2025.30.27.2400820
438•stared•11h ago•237 comments

Ask HN: What tech job would let me get away with the least real work possible?

26•makemethrowaway•1h ago•11 comments

List, inspect and explore OCI container images, their layers and contents

https://github.com/bschaatsbergen/lix
9•bschaatsbergen•5d ago•1 comments

Miri: Practical Undefined Behavior Detection for Rust [pdf]

https://research.ralfj.de/papers/2026-popl-miri.pdf
51•ingve•5d ago•9 comments

ThingsBoard: Open-Source IoT Platform

https://github.com/thingsboard/thingsboard
43•pretext•5d ago•5 comments

A small collection of text-only websites

https://shkspr.mobi/blog/2025/12/a-small-collection-of-text-only-websites/
103•danielfalbo•10h ago•43 comments

One Number I Trust: Plain-Text Accounting for a Multi-Currency Household

https://lalitm.com/post/one-number-i-trust/
112•ayi•11h ago•65 comments

Parental controls aren't for parents

https://beasthacker.com/til/parental-controls-arent-for-parents.html
296•beasthacker•8h ago•298 comments

Going immutable on macOS, using Nix-Darwin

https://carette.xyz/posts/going_immutable_macos/
108•weird_trousers•13h ago•73 comments
Open in hackernews

Kate and Python Language Server

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

Comments

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