frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Linux Sandboxes and Fil-C

https://fil-c.org/seccomp
138•pizlonator•5h ago•29 comments

An Implementation of J

https://www.jsoftware.com/ioj/ioj.htm
31•ofalkaed•3h ago•9 comments

Closures as Win32 Window Procedures

https://nullprogram.com/blog/2025/12/12/
49•ibobev•4h ago•3 comments

Recovering Anthony Bourdain's (really) lost Li.st's

https://sandyuraz.com/blogs/bourdain/
138•thecsw•6h ago•47 comments

I fed 24 years of my blog posts to a Markov model

https://susam.net/fed-24-years-of-posts-to-markov-model.html
121•zdw•7h ago•51 comments

Using E-Ink tablet as monitor for Linux

https://alavi.me/blog/e-ink-tablet-as-monitor-linux/
40•yolkedgeek•4d ago•15 comments

I tried Gleam for Advent of Code

https://blog.tymscar.com/posts/gleamaoc2025/
245•tymscar•11h ago•135 comments

VPN location claims don't match real traffic exits

https://ipinfo.io/blog/vpn-location-mismatch-report
286•mmaia•8h ago•167 comments

Cat Gap

https://en.wikipedia.org/wiki/Cat_gap
66•Petiver•4d ago•6 comments

Lean Theorem Prover Mathlib

https://github.com/leanprover-community/mathlib4
7•downboots•2h ago•0 comments

Therapeutic Use of Cannabis and Cannabinoids: A Review

https://jamanetwork.com/journals/jama/fullarticle/2842072?guestAccessKey=a368e622-e374-4a0c-8d3b-...
11•bookofjoe•2h ago•0 comments

The Rise of Computer Games, Part I: Adventure

https://technicshistory.com/2025/12/13/the-rise-of-computer-games-part-i-adventure/
63•cfmcdonald•7h ago•19 comments

Why Twilio Segment moved from microservices back to a monolith

https://www.twilio.com/en-us/blog/developers/best-practices/goodbye-microservices
191•birdculture•7h ago•144 comments

Rocket Lab – 'Raise and Shine' Launch for JAXA [video]

https://www.youtube.com/watch?v=cMP328yoUu4
6•schappim•58m ago•0 comments

Awesome-Jj: Jujutsu Things

https://github.com/Necior/awesome-jj
22•n3t•3h ago•3 comments

Useful patterns for building HTML tools

https://simonwillison.net/2025/Dec/10/html-tools/
255•simonw•3d ago•74 comments

Dhtml Lemmings (2004)

https://www.elizium.nu/scripts/lemmings/index.php
9•tetris11•5d ago•4 comments

Free Software Awards Winners Announced: Andy Wingo, Alx Sa, Govdirectory

https://www.fsf.org/news/2024-free-software-awards-winners
23•pseudolus•2h ago•0 comments

Cryptids

https://wiki.bbchallenge.org/wiki/Cryptids
101•frozenseven•1w ago•15 comments

Ask HN: How can I get better at using AI for programming?

255•lemonlime227•12h ago•289 comments

From Azure Functions to FreeBSD

https://jmmv.dev/2025/12/from-azure-functions-to-freebsd.html
79•todsacerdoti•5d ago•9 comments

1 html search engine

https://k8o5.github.io/search
3•k8o5•4d ago•3 comments

Go Proposal: Secret Mode

https://antonz.org/accepted/runtime-secret/
170•enz•4d ago•77 comments

Some surprising things about DuckDuckGo

https://gabrielweinberg.com/p/some-surprising-things-about-duckduckgo
79•ArmageddonIt•6h ago•55 comments

Flat-pack washing machine spins a fairer future

https://www.positive.news/society/flat-pack-washing-machine-spins-a-fairer-future/
71•ohjeez•5h ago•36 comments

What is the nicest thing a stranger has ever done for you?

https://louplummer.lol/nice-stranger/
325•speckx•2d ago•244 comments

EasyPost (YC S13) Is Hiring

https://www.easypost.com/careers
1•jstreebin•11h ago

A Giant Ball Will Help This Man Survive a Year on an Iceberg

https://www.outsideonline.com/outdoor-adventure/exploration-survival/how-giant-ball-will-help-man...
47•areoform•12h ago•39 comments

Using Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
103•birdculture•5d ago•78 comments

Researchers seeking better measures of cognitive fatigue

https://www.nature.com/articles/d41586-025-03974-w
111•bikenaga•3d ago•32 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