frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The time the x86 emulator team found code so bad they fixed it during emulation

https://devblogs.microsoft.com/oldnewthing/20260615-00/?p=112419
167•paulmooreparks•2h ago•42 comments

John Carmack on Fabrice Bellard

https://twitter.com/ID_AA_Carmack/status/2064095424420487226
123•apitman•2h ago•58 comments

A backdoor in a LinkedIn job offer

https://roman.pt/posts/linkedin-backdoor/
1040•lwhsiao•11h ago•195 comments

Banned Book Library in a Wi-Fi Smart Light Bulb

https://www.richardosgood.com/posts/banned-book-library/
334•sohkamyung•8h ago•170 comments

Iroh 1.0

https://www.iroh.computer/blog/v1
1123•chadfowler•16h ago•332 comments

Show HN: Garden of Flowers – an archive of pictorial typography before ASCII art

https://garden-of-flowers.heikkilotvonen.com/
47•california-og•3h ago•9 comments

Ask HN: Has anyone replaced Claude/GPT with a local model for daily coding?

908•cloudking•16h ago•416 comments

TinyWind: A pixel pirate sailing game with real wind physics (380k+ kms sailed)

https://tinywind.io
772•tinywind•15h ago•151 comments

I hacked into the worst e-bike and fixed it [video]

https://www.youtube.com/watch?v=hPrtVGimBYs
61•alexis-d•5d ago•24 comments

I Love the Computer

https://michaelenger.com/blog/i-love-the-computer/
211•speckx•11h ago•124 comments

Humanity isn't ready for the coming intelligence explosion

https://www.economist.com/by-invitation/2026/06/15/humanity-isnt-ready-for-the-coming-intelligenc...
64•andsoitis•5h ago•143 comments

Amazon Announces Multibillion-Dollar Data Center in Missouri

https://www.narracomm.com/amazon-announces-multibillion-dollar-data-center-in-missouri/
101•thelonelyborg•7h ago•88 comments

Cohere's First Model for Developers

https://cohere.com/blog/north-mini-code
73•hmokiguess•4d ago•17 comments

Why I email complete strangers

https://www.goodinternetmagazine.com/why-i-email-complete-strangers/
135•karakoram•9h ago•59 comments

My Homelab AI Dev Platform

https://rsgm.dev/post/ai-dev-platform/
295•rsgm•16h ago•51 comments

Peopleless economy? Not technically impossible

https://gmalandrakis.com/writings/ad-economicum.html
166•l0new0lf-G•10h ago•282 comments

Hetzner Price Adjustment

https://docs.hetzner.com/general/infrastructure-and-availability/price-adjustment/#cloud-servers
408•tuhtah•18h ago•562 comments

The 90-year-old idea behind JEPA models: Canonical Correlation Analysis

https://shonczinner.github.io/posts/embedding-prediction/
46•Anon84•4d ago•7 comments

The Null Is Always False (Except When It Is True) (2014)

http://daniellakens.blogspot.com/2014/06/the-null-is-always-false-except-when-it.html
4•mkl95•2d ago•0 comments

Fox to buy Roku

https://www.wsj.com/business/deals/fox-roku-deal-f6e564f9
315•thm•18h ago•387 comments

What job interviews taught me about Kubernetes

https://notnotp.com/notes/what-job-interviews-taught-me-about-kubernetes/
162•chmaynard•11h ago•117 comments

What every coder should know about gamma (2016)

https://blog.johnnovak.net/2016/09/21/what-every-coder-should-know-about-gamma/
92•sph•2d ago•27 comments

Copper transport drug restores memory and clears toxic Alzheimer's proteins

https://www.monash.edu/news/articles/copper-drug-restores-memory-and-clears-toxic-alzheimers-prot...
289•bookofjoe•16h ago•108 comments

Salesforce to Acquire Fin (formerly Intercom) for $3.6B

https://www.salesforce.com/news/press-releases/2026/06/15/salesforce-signs-definitive-agreement-t...
301•colesantiago•19h ago•220 comments

Chili peppers of the world: cultivars, species, and heat

https://www.notesfromtheroad.com/desertmexico/chili-peppers.html
29•fanf2•3d ago•3 comments

Game Engine White Papers: Commander Keen

https://forgottenbytes.net/commander_keen.html
192•mfiguiere•13h ago•64 comments

How TimescaleDB compresses time-series data

https://roszigit.com/en/blog/timescaledb-compression-hypercore
146•lkanwoqwp•14h ago•17 comments

Launch HN: Drafted (YC P26) – Models for residential architecture

52•PrimalNick•14h ago•58 comments

Show HN: Veterinarian turned founder, AI lawn diagnosis

https://grassdx.com/
61•andrewbr•13h ago•55 comments

Claude Corps

https://www.anthropic.com/news/claude-corps
121•Mustan•13h ago•81 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