frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Hospitals and universities repurposing drugs at 90% lower cost

https://www.kcl.ac.uk/news/hospitals-and-universities-repurposing-drugs-at-90-lower-cost
49•giuliomagnifico•1h ago•12 comments

Midjourney Medical

https://www.midjourney.com/medical/blogpost
888•ricochet11•10h ago•611 comments

DeepSeek Introduces Vision

https://chat.deepseek.com/
202•RIshabh235•5h ago•87 comments

Local Qwen isn't a worse Opus, it's a different tool

https://blog.alexellis.io/local-ai-is-not-opus/
267•alphabettsy•9h ago•132 comments

I need your clothes, your boots, and your motorcycle

https://rbelmont.mameworld.info/?p=1725
64•ingve•3h ago•48 comments

Lore – Open source version control system designed for scalability

https://lore.org/
1164•regnerba•21h ago•620 comments

I hate compilers

https://xeiaso.net/notes/2026/anubis-wasm-vendor-binary/
96•xena•6h ago•72 comments

Vinyl Cache and Varnish Cache

https://vinyl-cache.org/organization/on_vinyl_cache_and_varnish_cache.html#org-vinyl-varnish
16•embedding-shape•3d ago•1 comments

AMD silently removes memory encryption from consumer Ryzen CPUs

https://www.tomshardware.com/pc-components/cpus/amd-silently-removes-memory-encryption-from-consu...
184•lompad•4h ago•95 comments

US holds off blacklisting DeepSeek, more than 100 firms deemed security risks

https://www.reuters.com/world/china/us-holds-off-blacklisting-chinas-deepseek-more-than-100-firms...
474•giuliomagnifico•1d ago•521 comments

Challenging the Narrative of European Decline

https://paulkrugman.substack.com/p/challenging-the-narrative-of-european-478
15•vrganj•35m ago•1 comments

Sogen – High-performance Windows and Linux userspace emulator

https://sogen.dev/
41•fratellobigio•3d ago•10 comments

The 2-Year Apartment Rule

https://tadaima.bearblog.dev/the-2-year-apartment-rule/
44•surprisetalk•2d ago•101 comments

Clojure Hosted on Go

https://github.com/glojurelang/glojure
158•dnlo•12h ago•17 comments

How we run Firecracker VMs inside EC2 and start browsers in less than 1s

https://browser-use.com/posts/firecracker-browser-infra
289•gregpr07•1d ago•195 comments

How Madrid built its metro cheaply (2024)

https://worksinprogress.co/issue/how-madrid-built-its-metro-cheaply/
164•trymas•16h ago•106 comments

The Alaska Server

https://serialport.org/blog/the-alaska-server/
29•speckx•2d ago•6 comments

Storied Colors – A catalogue of named colors

https://storiedcolors.com/
183•susiecambria•14h ago•42 comments

Taxonomy of the Occlupanida (parasitoids on bread bag tags)

https://www.horg.com/horg/?page_id=921
156•beatthatflight•12h ago•39 comments

Smashed Toilet Phone Web Server

https://www.offthebricks.com/articles/smashed-toilet-phone-web-server
24•mircerlancerous•3d ago•13 comments

About ASCII art and Jgs font (2023)

https://velvetyne.fr/news/about-ascii-art-and-jgs-font/
14•Luc•2d ago•1 comments

Loreline – Tools for writing interactive fiction

https://loreline.app/en/
182•smartmic•15h ago•30 comments

RFC 10008: The new HTTP Query Method

https://www.rfc-editor.org/info/rfc10008/
384•schappim•1d ago•159 comments

Launch HN: Adam (YC W25) – Open-Source AI CAD

https://github.com/Adam-CAD/CADAM
191•zachdive•19h ago•88 comments

Nim Conf 2026 (Online, Sat June 20)

https://conf.nim-lang.org/
56•pietroppeter•8h ago•11 comments

The Australian Government to Require SMS/MMS Sender ID Registraion

https://www.acma.gov.au/sms-sender-id-register
114•anitil•5h ago•63 comments

Seven Perfect Shuffles Randomize a Deck of Cards. But How Many Sloppy Ones?

https://www.quantamagazine.org/seven-perfect-shuffles-randomize-a-deck-of-cards-but-how-many-slop...
5•layer8•3h ago•2 comments

Why thinking out loud with someone beats thinking alone

https://www.thesignalist.io/s/the-dialogue-dividend/
284•kodesko•23h ago•124 comments

Show HN: We built an 8-bit CPU as 2nd year EE students

https://github.com/c0rRupT9/STEPLA-1
85•CorRupT9•2d ago•21 comments

AI Compute Extensions (ACE) Specification

https://x86ecosystem.org/resource/ai-compute-extensions-ace-specification/
46•matt_d•9h 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