frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Since Chromium 148, Math.tanh is now fingerprintable to link underlying OS

https://scrapfly.dev/posts/browser-math-os-fingerprint/
364•joahnn_s•6h ago•171 comments

GhostLock, a stack-UAF that has existed in all Linux distributions for 15 years

https://nebusec.ai/research/ionstack-part-2/
128•ranger_danger•4d ago•47 comments

Cyberpunk Comics, Manga and Graphic Novels

https://shellzine.net/cyberpunk-comics/
102•zdw•4h ago•23 comments

Tiny Emulators

https://floooh.github.io/tiny8bit-preview/index.html
170•naves•7h ago•10 comments

Designing and assembling my first PCB

https://vilkeliskis.com/b/2026/0711.html
66•tadasv•4h ago•18 comments

So you want to learn physics (second edition, 2021)

https://www.susanrigetti.com/physics
120•azhenley•5d ago•16 comments

Modernizing Property Tax Assessments in Allegheny County

https://www.prohousingpgh.org/blog/new-report-modernizing-property-tax-assessments-in-allegheny-c...
26•mooreds•1h ago•11 comments

Ask HN: Add flag for AI-generated articles

164•levkk•2h ago•110 comments

Why Vanilla JavaScript

https://guseyn.com/html/posts/why-vanilla-js.html
88•guseyn•4h ago•43 comments

Ask HN: What Are You Working On? (July 2026)

91•david927•6h ago•270 comments

Migrating a production AI agent to GPT-5.6: 2.2x faster, 27% cheaper

https://ploy.ai/blog/migrating-a-production-ai-agent-to-gpt-5-6
153•brryant•10h ago•52 comments

Claude Code sends 33k tokens before reading the prompt; OpenCode sends 7k

https://systima.ai/blog/claude-code-vs-opencode-token-overhead
493•systima•9h ago•277 comments

How we can reduce traffic congestion

https://research.google/blog/the-power-of-collaboration-how-we-can-reduce-traffic-congestion/
90•raahelb•12h ago•107 comments

Kode Dot Programmable pocket device for makers, pentesters and geeks

https://kode.diy
49•iNic•6h ago•13 comments

LARP – Revenue infrastructure for serious founders

https://www.larp.website/
174•BerislavLopac•10h ago•38 comments

Why write code in 2026

https://softwaredoug.com/blog/2026/07/09/write-code
125•softwaredoug•2d ago•162 comments

I Learned to Read Again

https://substack.magazinenongrata.com/p/how-i-learned-to-read-again
110•georgex7•9h ago•48 comments

First look at Quest, the final ship of Antarctic explorer Shackleton

https://www.cbc.ca/news/canada/quest-shipwreck-expedition-images-9.7262229
7•curmudgeon22•4d ago•0 comments

The four horsemen behind Postgres outages

https://malisper.me/the-four-horsemen-behind-thousands-of-postgres-outages/
24•craigkerstiens•3d ago•10 comments

Vint Cerf, “father of the Internet”, is retiring

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
286•compiler-guy•3d ago•163 comments

Calculix: A Free Software Three-Dimensional Structural Finite Element Program

https://www.calculix.de/
8•joebig•3d ago•1 comments

Architecture Description Languages [pdf]

https://ics.uci.edu/~taylor/documents/2000-ADLs-TSE.pdf
26•ascent817•4h ago•1 comments

Automation Without Understanding

https://arxiv.org/abs/2607.06377
103•root-parent•10h ago•44 comments

Profiling the "Abundance" housing bottleneck with real data

https://laxmena.com/same-capacity-less-throughput
33•laxmena•5h ago•14 comments

Mechanistic interpretability researchers applying causality theory to LLMs

https://cacm.acm.org/news/can-we-understand-how-large-language-models-reason/
87•adunk•9h ago•65 comments

Flash-MSA: Accelerating Million-Token Training with Sparse Attention Kernels

https://nanduruganesh.github.io/flash-msa/
30•rawsh•6h ago•1 comments

Against Usefulness

https://www.motivenotes.ai/p/against-usefulness
90•supo•9h ago•23 comments

I love LLMs, I hate hype

https://geohot.github.io//blog/jekyll/update/2026/07/12/i-love-llms.html
355•therepanic•9h ago•215 comments

What xAI's Grok build CLI sends to xAI: A wire-level analysis

https://gist.github.com/cereblab/dc9a40bc26120f4540e4e09b75ffb547
411•jhoho•1d ago•161 comments

How to read more books

https://scotto.me/blog/2026-07-12-how-to-read-more-books/
276•silcoon•11h ago•155 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