frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

My security camera shipped a GitHub admin token in its login page

https://hhh.hn/hanwha-github-token/
162•hhh•3h ago•55 comments

India's first privately-developed rocket reaches orbit on dramatic debut launch

https://arstechnica.com/space/2026/07/indias-first-privately-developed-rocket-reaches-orbit-on-dr...
131•sohkamyung•4d ago•32 comments

It's getting harder to focus every day

https://glyphack.com/attention/
410•peykar•6h ago•214 comments

Flux 3 X Mimic: The Next Generation of Video-Action Models

https://bfl.ai/blog/flux-3-mimic
228•kensai•5h ago•28 comments

3GPP Version 19

https://www.3gpp.org/specifications-technologies/releases/release-19
11•mlhpdx•40m ago•2 comments

Flux 3

https://bfl.ai/blog/flux-3
455•ThouYS•8h ago•112 comments

IRGC Claims It Destroyed Amazon's Bahrain Data Center

https://houseofsaud.com/irgc-claims-destroyed-amazon-bahrain-data-center/
116•thisislife2•5h ago•52 comments

Em dashes are fucking amazing

https://psychotechnology.substack.com/p/em-dashes-are-fucking-amazing
130•surprisetalk•2h ago•113 comments

Co-Opting Linux Processes for High-Performance Network Simulation (2022)

https://www.usenix.org/conference/atc22/presentation/jansen
5•teleforce•35m ago•0 comments

Buz – A fork of Bun using modern Zig, with sub-1s incremental builds

https://ziggit.dev/t/buz-a-drop-in-replacement-for-bun-using-modern-zig-with-sub-1s-incremental-b...
144•kristoff_it•5h ago•106 comments

Why is programming so captivating, yet so agonizing?

https://elsewhere.news/en/zhenfund/why-is-programming-so-captivating-yet-so-agonizing
32•ilreb•2h ago•25 comments

How Do We Stop Vibe Coding?

https://alexklos.ca/blog/how-do-we-stop-vibe-coding
47•prohobo•4h ago•35 comments

Claude Cookbook

https://platform.claude.com/cookbook/
203•saikatsg•9h ago•99 comments

Open Weights and American AI Leadership [pdf]

https://images.nvidia.com/pdf/Open-Weights-and-American-AI-Leadership.pdf
35•lairv•1h ago•11 comments

Mag Computer: A Mag History of RAM (1960–2025)

https://magworld.pw/episodes/computer/
3•evakhoury•38m ago•0 comments

Preventing line breaks in <code> elements

https://alexwlchan.net/2026/non-breaking-code/
3•surprisetalk•44m ago•0 comments

The IBM PC, Part 1: Arrival

https://technicshistory.com/2026/07/24/the-ibm-pc-part-1-arrival/
40•cfmcdonald•3h ago•10 comments

Latest Airbus Single Aisle Aircraft Innovations

https://www.airbus.com/en/newsroom/stories/2026-07-how-the-a321xlr-is-redefining-single-aisle-com...
7•r2sk5t•2d ago•4 comments

Kaizen #4: Overhauled Homelab

https://timharek.no/blog/kaizen-4/
11•meysamazad•1h ago•2 comments

Half-Life 2 running natively on HaikuOS

https://discuss.haiku-os.org/t/haiku-nvidia-porting-nvidia-driver-for-turing-gpus/16520?page=18
10•m0do1•2h ago•0 comments

Game of Trees – Git-based version control from OpenBSD folks

https://www.gameoftrees.org/
36•gregnavis•4h ago•3 comments

Interview with a Maintainer

https://nesbitt.io/2026/07/24/interview-with-a-maintainer.html
3•ryangibb•1h ago•0 comments

Show HN: Echo – Fable-level results at 1/3 the cost using open-weight models

426•adam_rida•19h ago•209 comments

Computational chemistry, Locally? My rant on SSH

https://chillphysicsenjoyer.substack.com/p/computational-chemistry-locally
34•crescit_eundo•2d ago•22 comments

The Book Prize Index

https://book-prize-index.vercel.app
43•Luc•6h ago•4 comments

AMD's Instinct MI455X: Aiming for the Sun

https://chipsandcheese.com/p/amds-instinct-mi455x-aiming-for-the
61•ingve•8h ago•25 comments

Writing by hand is good for your brain

https://nealstephenson.substack.com/p/writing-by-hand-is-good-for-your
1387•dwwoelfel•1d ago•627 comments

Hetzner is working on LLM Inference

https://sliplane.io/blog/hetzner-inference
123•jonas_scholz•5h ago•50 comments

Nothing works and everyone is euphoric

https://ptrchm.com/posts/nothing-works-and-everyone-is-euphoric/
244•pchm•5h ago•200 comments

Tangleflow: Converts GitHub Actions workflows to tangled workflows and back

https://github.com/43081j/tangleflow
22•wertyk•2d ago•7 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