frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

mitmproxy adds --emudhra option

https://github.com/mitmproxy/mitmproxy/commit/169234499088fc2c414644a67efaed3d64ae2e3b
218•ahlCVA•2h ago•56 comments

Security Disclosure

https://blog.railway.com/p/security-disclosure-wednesday-october-21st
323•passenger•4h ago•163 comments

There isn't an easy exploit for this PHP vulnerability

https://eliastaylor.com/noexploit/
175•zkldi•3h ago•85 comments

GitLab Critical Patch Release

https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-5-1-released/
256•artooro•7h ago•64 comments

Rust Style Guide

https://google.github.io/styleguide/rustguide.html
215•kaycebasques•7h ago•120 comments

Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

https://safedep.io/litellm-pypi-compromise-credential-stealer-backdoor/
443•abhisek•12h ago•148 comments

No more icons in every menu by default

https://blog.jim-nielsen.com/2026/icons-in-every-menu/
188•riffraff•1d ago•131 comments

LLM Agents Play Pokemon Showdown

https://olivergrabner.com/research/pokemon/
3•grabnero•10m ago•0 comments

Chain of Thought for Humans

https://www.boristhebrave.com/2026/10/18/chain-of-thought-for-humans/
34•ibobev•2d ago•13 comments

Meta ordered to pay $25B penalty in New Mexico Cambridge Analytica case

https://www.cnbc.com/2026/10/21/meta-new-mexico-cambridge-analytica-penalty.html
393•cbg0•8h ago•247 comments

Today's PHP security release, and how we're strengthening security

https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-...
687•ejohnso49•10h ago•338 comments

Tiny possum and glider thought extinct for 6000 years found in remote West Papua

https://www.bbc.com/news/articles/cp814l80pw2o
159•bryanrasmussen•1d ago•25 comments

Beyond the &

https://lwn.net/Articles/1096028/
12•PaulHoule•1d ago•0 comments

PingCap TiDB Leaks

https://fulcrumsec.vg/pingcap/
216•swyx•1d ago•32 comments

OpenAI models are coming to Google Cloud

https://openai.com/index/openai-models-google-cloud/
243•armcat•13h ago•104 comments

Patch the Planet: global response coordination as agents uncover vulnerabilities

https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities/
236•nr378•12h ago•162 comments

DuckDB 2.0.0 LTS “Cinnamon Teal”

https://duckdb.org/2026/10/21/announcing-duckdb-200
369•nnx•12h ago•48 comments

Why Windows 11 still ships with Windows 95's memory manager hidden inside it

https://www.windowslatest.com/2026/10/19/why-windows-11-still-ships-with-windows-95s-memory-manag...
139•khalidkhair•2d ago•96 comments

Honey, I shrunk the TV

https://cakehonolulu.github.io/honey-i-shrunk-the-tv/
9•cakehonolulu•2d ago•19 comments

Code is clay now

https://www.albertodenia.com/writing/code-is-clay-now
97•albertodenia•2d ago•53 comments

EA is shutting down BioWare

https://www.theverge.com/games/1015647/ea-is-shutting-down-bioware
542•aaronbrethorst•8h ago•323 comments

Launch HN: Alter (YC S25) – Access control for multi-user agents

https://alterauth.com/
53•simfinii•19h ago•22 comments

Oregon lawmakers approve money to buy an iconic waterfall listed on Redfin

https://apnews.com/article/oregon-waterfall-for-sale-lawmakers-996de63462d49ec3ad9bee1629fb9488
172•surprisetalk•11h ago•84 comments

PHP 8.2.35

https://github.com/php/php-src/releases/tag/php-8.2.35
977•tuyuri•12h ago•535 comments

When Do We Become the Person We Ought to Be?

https://www.graphsaboutreligion.com/p/when-do-we-become-the-person-we-ought
17•toomuchtodo•2h ago•14 comments

Claude Duet

https://claude.com/product/claude-duet
320•kuberwastaken•7h ago•279 comments

Κ = 0.003 for integer multiplication crossed

https://github.com/CrocSwap/integer-mult-bounds/pull/4441
28•aleph_minus_one•3h ago•18 comments

Airbnb bans making guests do dishes and take out the trash

https://www.theverge.com/tech/1015844/airbnb-chores-house-rules-update
114•babelfish•2h ago•97 comments

The Rise and Fall of the Plasma Screen

https://www.construction-physics.com/p/the-rise-and-fall-of-the-plasma-screen
38•surprisetalk•2d ago•23 comments

New plastic pollution discovered: 'Plasticorals' coral rubble fused with plastic

https://www.oist.jp/news-center/news/2026/9/18/new-form-plastic-pollution-discovered-shores-vulne...
103•giuliomagnifico•10h ago•42 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