frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Claude Code now reads AGENTS.md if there is no Claude.md

https://code.claude.com/docs/en/changelog
254•datadrivenangel•1h ago•99 comments

Android 17 is the first since 3.x to add new APIs without releasing to the AOSP

https://grapheneos.social/@GrapheneOS/117282080803799576
376•theanonymousone•3h ago•173 comments

Saving another 100TB of RAM

https://blog.cloudflare.com/saving-100-tb-of-ram-with-math/
149•f311a•3h ago•32 comments

Cloudflare Quick Tunnels

https://try.cloudflare.com/
497•jcbhmr•8h ago•216 comments

Xcode 27.1 Beta Release Notes

https://developer.apple.com/documentation/xcode-release-notes/xcode-27_1-release-notes
100•CameronBanga•4h ago•55 comments

Cache-to-Cache: Direct Semantic Communication Between LLMs (2025)

https://arxiv.org/abs/2510.03215
52•rochansinha•3h ago•11 comments

Photon-Emission-Guided Laser Fault Injection Enables RP2350 Secure Debug

https://donjon.ledger.com/blog/rp2350-secure-debug-laser-fault-injection/
135•synack•5h ago•42 comments

Show HN: Cactus Needle 3: 8-29MB automation models can match DeepSeek V4 Flash

https://cactuscompute.com/needle
144•HenryNdubuaku•22h ago•71 comments

How to Write with an LLM

https://sockpuppet.org/blog/2026/09/17/how-to-write-with-an-llm/
341•joeriddles•1d ago•236 comments

OpenJev

https://openjev.com/
515•ilreb•12h ago•234 comments

Cyclomatic Complexity in C#

https://blog.ndepend.com/understanding-cyclomatic-complexity/
14•gone35•2d ago•7 comments

The first new cat species discovered in 100 years

https://www.nationalgeographic.com/animals/article/meet-the-first-new-cat-species-discovered-in-1...
108•ohjeez•1d ago•32 comments

The Implications of Linguistic Illegibility for LLM Security

https://arxiv.org/abs/2609.02852
38•tomjakubowski•3h ago•14 comments

Two parallel neural ectoderm progenitors contribute to the developing brain

https://www.newscientist.com/article/2589739-our-brain-evolved-from-two-primitive-nervous-systems...
95•Jimmc414•7h ago•50 comments

A search-and-inference database from scratch in pure Zig

https://antfly.io/research/antfly-zig
43•kingcauchy•3d ago•14 comments

From Geometry to Algebra and Back Again: 4000 Years of Papers (2023) [video]

https://www.youtube.com/watch?v=1cRFfYQYGxE
21•surprisetalk•1d ago•0 comments

C++26: Trivial infinite loops are no longer undefined behaviour

https://www.sandordargo.com/blog/2026/09/16/cpp26-trivial-infinite-loops
127•ibobev•1d ago•162 comments

How SpaceX streamlined the Raptor engine

https://www.construction-physics.com/p/how-spacex-streamlined-the-raptor
137•JumpCrisscross•1d ago•21 comments

Minimal Phone 2

https://minimalcompany.com/
150•nashashmi•20h ago•140 comments

Inside ZCode: Silently uploading your Git history to the cloud

https://blog.ferstar.org/en/posts/zcode-silent-workspace-snapshot-upload/
237•csmantle•16h ago•88 comments

I vibed a proof of Conway's conjecture

https://overreacted.io/how-i-vibed-a-proof-of-conways-conjecture/
196•m-hodges•8h ago•173 comments

Warez: The Infrastructure and Aesthetics of Piracy (2021)

https://archive.org/details/b904a8eb-9c98-4bb1-bf25-3cb9d075b157
74•succinct_ideas•19h ago•12 comments

Size-Specialized Memory Allocation

https://go.dev/blog/size-specialized-allocations
7•spacey•1d ago•2 comments

Korea raises data breach fines to 10% of revenue

https://www.koreajoongangdaily.com/business/korea-raises-data-breach-fines-to-10-of-revenue/12869899
214•throw7•2h ago•68 comments

US Military had close call after using AI for hallucinated intelligence report

https://www.cnn.com/2026/09/18/politics/us-military-ai-false-intelligence-china-ship
336•realsarm•5h ago•266 comments

Cekura (YC F24) Is Hiring

https://www.ycombinator.com/companies/cekura-ai/jobs/AiWwUxI-forward-deployed-engineer-us
1•atarus•10h ago

Border agents can search cellphones without a warrant or reasonable suspicion

https://lawandcrime.com/high-profile/the-government-was-entitled-trumps-border-agents-can-now-sea...
167•mmh0000•4h ago•125 comments

North Korean nuclear test sets off years of earthquakes

https://www.science.org/content/article/north-korean-nuclear-test-sets-years-earthquakes
164•rbanffy•7h ago•145 comments

Mathematicians Build Long-Awaited Graph Sandwich

https://www.quantamagazine.org/mathematicians-build-long-awaited-graph-sandwich-20260918/
63•ibobev•8h ago•15 comments

Show HN: Scry, programmable internet search w/ congestion pricing

https://scry.io/
41•Xyra•23h ago•18 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