frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A website to destroy all websites

https://henry.codes/writing/a-website-to-destroy-all-websites/
114•g0xA52A2A•1h ago•42 comments

Cameras and Lenses (2020)

https://ciechanow.ski/cameras-and-lenses/
293•sebg•5h ago•25 comments

Can Bundler Be as Fast as Uv?

https://tenderlovemaking.com/2025/12/29/can-bundler-be-as-fast-as-uv/
23•ibobev•52m ago•3 comments

Linux is good now; to feel like you actually own your PC, put Linux on it

https://www.pcgamer.com/software/linux/im-brave-enough-to-say-it-linux-is-good-now-and-if-you-wan...
250•Vinnl•1h ago•186 comments

Show HN: OpenWorkers – Self-hosted Cloudflare workers in Rust

https://openworkers.com/introducing-openworkers
320•max_lt•7h ago•104 comments

Dell's version of the DGX Spark fixes pain points

https://www.jeffgeerling.com/blog/2025/dells-version-dgx-spark-fixes-pain-points
55•thomasjb•3h ago•16 comments

Python numbers every programmer should know

https://mkennedy.codes/posts/python-numbers-every-programmer-should-know/
223•WoodenChair•7h ago•102 comments

Gemini 3.0 Deciphered the Mystery of a Nuremberg Chronicle Leaf's

https://blog.gdeltproject.org/gemini-as-indiana-jones-how-gemini-3-0-deciphered-the-mystery-of-a-...
48•kilroy123•4h ago•11 comments

BYD Sells 4.6M Vehicles in 2025, Meets Revised Sales Goal

https://www.bloomberg.com/news/articles/2026-01-01/byd-sells-4-6-million-vehicles-in-2025-meets-r...
109•toomuchtodo•6h ago•128 comments

2025 Letter

https://danwang.co/2025-letter/
208•Amorymeltzer•7h ago•120 comments

Straussian Memes: A Lens on Techniques for Mass Persuasion

https://www.lesswrong.com/posts/CAwnnKoFdcQucq4hG/straussian-memes-a-lens-on-techniques-for-mass-...
5•kp1197•1h ago•2 comments

iOS allows alternative browser engines in Japan

https://developer.apple.com/support/alternative-browser-engines-jp/
313•eklavya•8h ago•236 comments

C-events, yet another event loop, simpler, smaller, faster, safer

https://zelang-dev.github.io/c-events/
47•thetechstech•6d ago•7 comments

Building an internal agent: Code-driven vs. LLM-driven workflows

https://lethain.com/agents-coordinators/
39•pavel_lishin•3h ago•10 comments

Quickemu: Quickly create and run optimised Windows, macOS and Linux VMs

https://github.com/quickemu-project/quickemu
85•teekert•2d ago•12 comments

How to construct complex data declaratively and progressively?

https://github.com/allmonday/pydantic-resolve
11•tank-34•5d ago•0 comments

Bluetooth Headphone Jacking: A Key to Your Phone [video]

https://media.ccc.de/v/39c3-bluetooth-headphone-jacking-a-key-to-your-phone
395•AndrewDucker•11h ago•128 comments

Prompting People

https://kuber.studio/blog/Reflections/Prompting-People
12•kuberwastaken•2h ago•4 comments

All my Deutschlandtickets gone: Fraud at an industrial scale [video]

https://media.ccc.de/v/39c3-all-my-deutschlandtickets-gone-fraud-at-an-industrial-scale
76•Kyro38•4d ago•23 comments

I rebooted my social life

https://takes.jamesomalley.co.uk/p/this-might-be-oversharing
291•edent•11h ago•232 comments

Build a Deep Learning Library

https://zekcrates.quarto.pub/deep-learning-library/
85•butanyways•7h ago•12 comments

Common Lisp SDK for the Datastar Hypermedia Framework

https://github.com/fsmunoz/datastar-cl
61•fsmunoz•6h ago•7 comments

Memory Subsystem Optimizations

https://johnnysswlab.com/memory-subsystem-optimizations/
35•mfiguiere•4h ago•9 comments

Cycling Game (Mini Neural Net Demo)

https://www.doc.ic.ac.uk/~ajd/Cycling/
7•ungreased0675•1h ago•1 comments

Street-Fighting Mathematics (2008)

https://ocw.mit.edu/courses/18-098-street-fighting-mathematics-january-iap-2008/pages/readings/
8•mpweiher•4h ago•1 comments

Love your customers

https://bcantrill.dtrace.org/2025/12/31/love-your-customers/
79•chmaynard•1d ago•16 comments

Show HN: Wario Synth – Turn any song into Game Boy version

https://www.wario.style
30•birdmania•12h ago•6 comments

Implementing HNSW (Hierarchical Navigable Small World) Vector Search in PHP

https://centamori.com/index.php?slug=hierarchical-navigable-small-world-hnsw-php&lang=en
75•centamiv•6h ago•14 comments

Show HN: Tasker – An open-source desktop agent for browser and OS automation

https://automatewithtasker.com/
11•schnetzlerjoe•1h ago•5 comments

A silly diffuse shading model

https://lisyarus.github.io/blog/posts/a-silly-diffuse-shading-model.html
4•ibobev•1h ago•1 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