frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Notes on gotchas while migrating 35kb preprompts from Opus to self-hosted Ollama

https://patrickmccanna.net/notes-on-migrating-large-prompts-away-from-anthropic-openai-to-self-ho...
53•0o_MrPatrick_o0•2h ago•19 comments

RubyGems Open Source Supply Chain Security and OpenAI

https://rietta.com/blog/rubygems-supply-chain-openai/
35•rietta•1h ago•5 comments

Foundation Model Engineering: From Theory to Production

https://sungeuns.github.io/foundation-model-engineering/
9•sungeuns•49m ago•1 comments

Where has Construction Automation been successful?

https://www.construction-physics.com/p/where-has-construction-automation
34•ltononro•2h ago•37 comments

EuroBirdPortal – Live bird movements across Europe

https://www.eurobirdportal.org/ebp/en/
188•NKosmatos•7h ago•52 comments

An atlas of periodic solutions to the three-body problem

https://www.threebodyorbits.com/
218•danielmorozoff•2d ago•46 comments

A 386 PC for Your RP2350

https://github.com/rh1tech/frank-386
165•SamuraiLion•7h ago•46 comments

Trying to Make a Loop Auto-Vectorize

https://jsgroth.dev/blog/posts/trying-to-make-a-loop-auto-vectorize/
17•zdw•4d ago•4 comments

Adversarial Fashion Makes a Statement on AI Panopticon

https://spectrum.ieee.org/adversarial-fashion
24•rbanffy•2h ago•10 comments

Devil's Arrows: Ancient builders hauled 55k-lb stones 11 miles for UK stone row

https://www.sciencedaily.com/releases/2026/09/260909005152.htm
33•bookofjoe•3d ago•26 comments

How to write an effective software design document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
210•fagnerbrack•3h ago•77 comments

Richat Structure

https://en.wikipedia.org/wiki/Richat_Structure
9•jonbaer•2d ago•0 comments

Show HN: Pelican-bicycle alternatives (updated for 2026)

https://gally.net/temp/20260914pelican-alternatives/index.html
42•tkgally•2h ago•13 comments

Apple's Siri AI Can Be Swapped Out for Claude, ChatGPT, Code Shows

https://www.macrumors.com/2026/09/14/siri-can-be-swapped-out-for-chatgpt-claude/
181•tosh•4h ago•102 comments

Jabber/XMPP: How Do We Gain Traction?

https://gultsch.de/posts/how-do-we-gain-traction/
69•inputmice•1h ago•56 comments

Principles for Fast Tokio Applications

https://dial9-rs.github.io/blog/principles-for-fast-tokio-applications/
15•carllerche•49m ago•4 comments

Show HN: Kinesis – Control your Mac with the Meta Neural Band

https://github.com/callbacked/kinesis
91•callbacked•4h ago•27 comments

Anthropic tells investors it will be profitable for second straight quarter

https://www.reuters.com/business/retail-consumer/anthropic-tells-investors-it-will-be-profitable-...
16•alephnerd•29m ago•10 comments

Texas judge rules TikTok misled users on child safety feature

https://www.reuters.com/legal/litigation/texas-judge-rules-tiktok-misled-users-child-safety-featu...
113•1vuio0pswjnm7•3h ago•47 comments

Apple's Dimensional Drawings

https://developer.apple.com/accessories/dimensional-drawings/
336•herbertl•16h ago•111 comments

OpenArch – PyTorch implementations of modern LLM architectures

https://github.com/anuj0456/OpenArch
117•anuj0456•8h ago•28 comments

Spaceships (Reverse Asteroid)

https://spaceships.treybastian.com/
335•zdw•4d ago•67 comments

SDR–; open source SDR with a patchable signal graph, Rust DSP, web UI

https://github.com/Newspicel/sdrminusminus
36•newspicel•3h ago•4 comments

Fable 5.1 Solves the Cyphral Distich, a 370-year-old cipher

https://www.vals.ai/blogs/fable-solves-cyphral-distich
1145•u1hcw9nx•19h ago•526 comments

Largest known Roman mosaic, beneath Baths of Trajan, opens to the public

https://www.theartnewspaper.com/2026/09/14/largest-roman-mosaic-opens-to-the-public
27•bookofjoe•3h ago•4 comments

The case against JPEG XL

https://giannirosato.com/blog/post/case-against-jxl/
239•contact9879•15h ago•308 comments

China's Regulators Take Aim at "AI Boyfriends"

https://spectrum.ieee.org/china-ai-chatbot-regulation
11•andai•46m ago•0 comments

Optimizing Anamorphic Sculptures

https://tncardoso.com/blog/2026/09/optimizing-anamorphic-sculptures/
15•zbsc•3d ago•0 comments

Mullenweg has returned as CEO after attempted board ouster

https://techcrunch.com/2026/09/12/automattic-confirms-mullenweg-has-returned-as-ceo-after-attempt...
252•ilamont•19h ago•333 comments

Ask HN: What are you working on? (September 2026)

247•david927•22h ago•749 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