frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Three Ways to Get Paid (2018)

https://jasonzweig.com/three-ways-to-get-paid/
121•nate•1h ago•70 comments

A walking tour of surveillance infrastructure in Seattle

https://coveillance.org/a-walking-tour-of-surveillance-infrastructure-in-seattle/
261•eustoria•5h ago•131 comments

Adafruit Receives Demand Letter from Fenwick Legal Counsel on Behalf of Flux.ai

https://blog.adafruit.com/
490•semanser•8h ago•212 comments

Fidonet: Technology, Use, Tools, and History (1993)

https://www.fidonet.org/inet92_Randy_Bush.txt
111•BruceEel•4h ago•34 comments

Trump signs downsized AI order after weeks of reversals

https://www.politico.com/news/2026/06/02/trump-signs-downsized-ai-order-00946389
45•_alternator_•2h ago•31 comments

Coreutils for Windows

https://github.com/microsoft/coreutils
124•gigel82•1h ago•109 comments

Why Janet? (2023)

https://ianthehenry.com/posts/why-janet/
377•yacin•9h ago•190 comments

Morningstar values SpaceX at $780B, half its IPO target

https://www.reuters.com/business/media-telecom/morningstar-values-spacex-780-billion-half-its-ipo...
62•berkeleyjunk•38m ago•36 comments

Expanding Project Glasswing

https://www.anthropic.com/news/expanding-project-glasswing
118•surprisetalk•5h ago•123 comments

Anthropic scales Claude Mythos to critical infrastructure in 15 countries

https://techcrunch.com/2026/06/02/anthropic-scales-claude-mythos-to-critical-infrastructure-in-15...
25•Timofeibu•1h ago•6 comments

Rethinking Search as Code Generation

https://research.perplexity.ai/articles/rethinking-search-as-code-generation
24•1zael•2h ago•2 comments

GitHub Copilot App

https://github.com/features/preview/github-app
8•theanonymousone•49m ago•3 comments

Love systemd timers

https://blog.tjll.net/you-dont-love-systemd-timers-enough/
253•yacin•9h ago•172 comments

QBE – Compiler Back end: Version 1.3

https://c9x.me/compile/release/qbe-1.3.html
9•birdculture•1h ago•0 comments

Stop Ruining It

https://seths.blog/2026/06/stop-ruining-it/
177•herbertl•8h ago•88 comments

CSS-Native Parallax Effect

https://dan-webnotes.com/posts/2026-06-02-css-native-parallax-effect/
113•dandep•8h ago•46 comments

Can the stockmarket swallow Anthropic, SpaceX and OpenAI?

https://www.economist.com/finance-and-economics/2026/06/01/can-the-stockmarket-swallow-anthropic-...
635•1vuio0pswjnm7•19h ago•1097 comments

Show HN: Eyeball

https://eyeball.rory.codes/
185•mrroryflint•9h ago•64 comments

BQN: What Is a Primitive?

https://mlochbaum.github.io/BQN/commentary/primitive.html
4•tosh•3d ago•1 comments

Great Question (YC W21) Is Hiring Applied AI Interns

https://www.ycombinator.com/companies/great-question/jobs/J5TNvQH-ai-engineer-intern
1•nedwin•6h ago

Reviving Teletext for Ham Radio

https://spectrum.ieee.org/reviving-teletext-for-ham-radio
48•yarapavan•4d ago•22 comments

Key Chemistry Question Answered, No Quantum Computer Required

https://www.quantamagazine.org/key-chemistry-question-answered-no-quantum-computer-required-20260...
12•defrost•4d ago•0 comments

Why Custom Attributes in .NET Give Me Nightmares

https://blog.washi.dev/posts/custom-attributes-and-why-they-suck/
66•jandeboevrie•2d ago•21 comments

On the nature of autobiographical memory

https://theamericanscholar.org/you-must-remember-this/
8•prismatic•18h ago•2 comments

Show HN: RePlaya – self-hosted browser session replay with live tailing

https://github.com/s2-streamstore/replaya
6•shikhar•1h ago•0 comments

Squillions: How money laundering won

https://www.lrb.co.uk/the-paper/v48/n09/john-lanchester/squillions
134•rwmj•2d ago•123 comments

Apple rejected my dictation app for using the accessibility API

https://www.mitmllc.com/blog/apple-rejected-my-dictation-app/
250•RZelaya•6h ago•152 comments

Larry Ellison: "Citizens will be on their best behavior because we’re recording"

https://www.techradar.com/pro/quote-of-the-day-by-oracle-co-founder-larry-ellison-citizens-will-b...
207•CharlesW•1h ago•126 comments

Preparing for KDE Plasma's Last X11-Supported Release

https://blog.davidedmundson.co.uk/blog/596/
96•jandeboevrie•4h ago•102 comments

Webcam head tracking, webcam to control in‑game FOV

https://www.openfov.com/
80•mwit2023•3d ago•38 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