frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

SearXNG: A free internet metasearch engine

https://github.com/searxng/searxng
23•theanonymousone•59m ago•3 comments

Espionage Against the European Parliament

https://citizenlab.ca/research/member-of-committee-investigating-spyware-hacked-with-pegasus/
14•ledoge•37m ago•0 comments

Jamesob's guide to running SOTA LLMs locally

https://github.com/jamesob/local-llm
208•livestyle•6h ago•99 comments

Costco is the anti-Amazon

https://phenomenalworld.org/analysis/the-anti-amazon/
179•bookofjoe•6h ago•144 comments

FreeBSD ate my RAM

https://crocidb.com/post/freebsd-ate-my-ram/
39•theanonymousone•2h ago•4 comments

Infracost (YC W21) Is Hiring a Marketing Lead to Shift FinOps Left

https://www.ycombinator.com/companies/infracost/jobs/YTJcFwr-marketing-lead
1•akh•14m ago

Pet projects are getting too big to pet

https://www.nnehdi.me/p/pet-projects-are-getting-too-big
11•nnehdi•1h ago•4 comments

Factories are just rooms

https://interconnected.org/home/2026/07/03/factories
144•arbesman•6h ago•60 comments

Kagi Changelog (July 2): Heads, tails, and an AI toggle

https://kagi.com/changelog#10959
6•mroche•1h ago•0 comments

Hunting a 16-year-old SQLite WAL bug with TLA+

https://ubuntu.com/blog/hunting-a-16-year-old-sqlite-bug-with-tla-is-dqlite-affected
141•peterparker204•3d ago•8 comments

Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

https://github.com/kerlenton/mcpsnoop
35•kerlenton•4h ago•12 comments

PostgreSQL and the OOM killer: Why we use strict memory overcommit

https://www.ubicloud.com/blog/postgresql-and-the-oom-killer-why-we-use-strict-memory-overcommit
133•furkansahin•8h ago•71 comments

Oak: Git for Agents

https://oak.space/
11•handfuloflight•1h ago•7 comments

Wordgard: In-browser rich-text editor from the creator of ProseMirror

https://wordgard.net/
225•indy•12h ago•82 comments

My dad helped build North America's oat supply chain: Can it be remade?

https://ambrook.com/offrange/perspective/how-we-lost-our-oats
70•surprisetalk•3d ago•36 comments

Valve open-source the Steam Machine e-ink screen so you can make your own

https://www.gamingonlinux.com/2026/07/valve-open-source-the-steam-machine-e-ink-screen-so-you-can...
479•ahlCVA•8h ago•84 comments

Farmer, marketer at odds over sales of white nectarines

https://apnews.com/article/california-farmer-nectarines-lawsuit-patent-4f7bc8ab185e8b9cbdd6d6ad4f...
96•djoldman•3h ago•93 comments

A peek into Reddit's anti-spam internals

https://lyra.horse/blog/2026/06/reddit-spam-internals/
127•OuterVale•6d ago•37 comments

60% Fable cost cut by converting code to images and having the model OCR it

https://github.com/teamchong/pxpipe
163•dimitropoulos•5h ago•59 comments

Half-Baked Product

https://weli.dev/blog/half-baked-product/
1149•weli•12h ago•351 comments

Ask HN: Is anyone experimenting with different ways of using LLMs for coding?

81•yehiaabdelm•14h ago•101 comments

Best Simple System for Now (2025)

https://dannorth.net/blog/best-simple-system-for-now/
65•daan-k•6h ago•14 comments

Holes

https://xkcd.com/3266/large/
94•caminanteblanco•3h ago•17 comments

The Fall and Rise of Screwworm

https://www.construction-physics.com/p/the-fall-and-rise-of-screwworm
118•crescit_eundo•8h ago•44 comments

Flexible metaprogramming with Rhombus

https://lwn.net/SubscriberLink/1079001/67840550991151ed/
94•spdegabrielle•1d ago•2 comments

Show HN: Topics, Not Feeds

https://blogsreader.com
3•jdeibele•1h ago•1 comments

Why Being Overqualified Is a Risk

https://newsletter.bphogan.com/archive/issue-52-run-coding-models-locally-and-why-being/
3•mooreds•1h ago•1 comments

The Life and Times of Maxis, Part 1: SimEverything

https://www.filfre.net/2026/07/the-life-and-times-of-maxis-part-1-simeverything/
90•doppp•5h ago•5 comments

America, 1926: A forgotten 100-year-old report

https://www.derekthompson.org/p/america-1926-an-absurdly-deep-dive
110•momentmaker•6h ago•146 comments

International chess federation sanctions Kramnik

https://www.fide.com/fide-ethics-disciplinary-commission-issues-a-decision-in-case-involving-gm-v...
84•DarkContinent•4h ago•40 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