frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Exploit brokers pay $500k for WordPress RCEs. I found one with GPT5.6 and $25

https://slcyber.io/research-center/exploit-brokers-pay-500000-for-a-wordpress-rce-i-found-one-wit...
171•infosecau•3h ago•86 comments

Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s

2459•section33•21h ago•267 comments

Moonshine: Lets you stream games from your PC to any device running Moonlight

https://github.com/hgaiser/moonshine
221•wertyk•11h ago•91 comments

Airbus Takes Flight from AWS

https://www.theregister.com/columnists/2026/07/20/airbus-takes-flight-from-aws-what-happens-next-...
55•bbg2401•1h ago•37 comments

LoRA Speedrun – a public wall-clock leaderboard for fine-tuning techniques

https://github.com/Saivineeth147/lora-speedrun
97•Vineeth147•7h ago•17 comments

Claude Code uses Bun written in Rust now

https://simonwillison.net/2026/Jul/19/claude-code-in-bun-in-rust/
548•tosh•1d ago•725 comments

Eliminating Go bounds checks with unsafe

https://blog.andr2i.com/posts/2026-07-06-eliminating-go-bound-checks-with-unsafe
22•abnercoimbre•5d ago•15 comments

What does the Riemann zeta function have to do with the distribution of primes?

https://hidden-phenomena.com/articles/rh
17•mb1699•2d ago•2 comments

Orion Browser by Kagi

https://orionbrowser.com/
228•sebjones•16h ago•158 comments

Xiaomi-Robotics-1

https://robotics.xiaomi.com/xiaomi-robotics-1.html
267•ilreb•7h ago•191 comments

What I learned selling 2,500 MIDI recorders: Hardware is not so hard

https://chipweinberger.com/articles/20260719-hardware-is-not-so-hard
511•chipweinberger•1d ago•232 comments

Self-Powered Trailers Promise Leaner Freight Runs

https://spectrum.ieee.org/self-powered-trailers-freight-decarbonization
50•rbanffy•1w ago•27 comments

GitHub's 2FA is to become mandatory on September 2, 2026

10•itvision•1h ago•2 comments

Why is it so hard for the U.S. to win wars?

https://www.npr.org/2026/07/18/g-s1-134037/why-is-it-so-hard-for-the-u-s-to-win-wars
8•rbanffy•30m ago•1 comments

Minecraft: Java Edition now uses SDL3

https://www.minecraft.net/en-us/article/minecraft-26-3-snapshot-4
328•ObviouslyFlamer•1d ago•213 comments

Sealed tomb filled with paintings and inscriptions discovered in Egypt

https://www.labrujulaverde.com/en/2026/07/sealed-tomb-of-a-high-official-or-priest-filled-with-pa...
56•isaacfrond•5d ago•45 comments

The Zen of Parallel Programming

https://smolnero.com/posts/the-zen-of-parallel-programming
172•edgar_ortega•5d ago•24 comments

Moist Towelette Museum

https://moisttowelettemuseum.com/
4•bookofjoe•3d ago•0 comments

When can a power company take your land for data center infrastructure?

https://theconversation.com/when-can-a-power-company-take-your-land-for-data-center-infrastructur...
120•1vuio0pswjnm7•7h ago•91 comments

Bananas sprout in Rayleigh Garden UK after 15 years

https://www.bbc.com/news/articles/cvg8edqq5g5o
164•teleforce•22h ago•127 comments

Qwen 3.8

https://twitter.com/Alibaba_Qwen/status/2078759124914098291
896•nh43215rgb•1d ago•624 comments

11,700 Free Photos from John Margolies' Archive of Americana Architecture

https://www.openculture.com/2026/07/free-photos-from-john-margolies-archive-of-americana-architec...
77•gslin•4d ago•3 comments

HomeLab #1: MikroTik as a Home Router

https://justsomebody.dev/blog/mikrotik-home-router
133•rafal_opilowski•16h ago•105 comments

I joined the IndieWeb, here's what I learned

https://en.andros.dev/blog/0b8e451e/i-joined-the-indieweb-heres-what-i-learned/
217•andros•1d ago•112 comments

1-Bit LLM in the Browser

https://huggingface.co/spaces/webml-community/bonsai-webgpu
49•simonebrunozzi•3d ago•19 comments

How proprietary formats have become Microsoft’s main tool for lock-in

https://blog.documentfoundation.org/blog/2026/07/17/microsofts-main-tool-for-lock-in/
122•cube00•7h ago•84 comments

Claude Fable produced a counterexample to the Jacobian Conjecture

https://xcancel.com/__alpoge__/status/2079028340955197566
469•loubbrad•9h ago•297 comments

I burned all my tokens researching how to save tokens

https://quesma.com/blog/custom-deep-research-pipeline/
141•bkotrys•23h ago•189 comments

Who Is America's Homer?

https://www.plough.com/articles/who-is-americas-homer
88•samclemens•5d ago•184 comments

HMD Touch 4G

https://www.hmd.com/en_int/hmd-touch-4g
82•thisislife2•18h ago•93 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