frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Sudoku's Hidden Rule

https://cyrusjavan.com/posts/solving-with-uniqueness/
99•multifasciatus•2h ago•40 comments

Claude and I found a dwarf planet candidate

https://www.joshuawolk.com/writing/claude-and-i-found-a-dwarf-planet-candidate
271•nhatcher•6h ago•116 comments

Post-quantum encryption adoption

https://radar.cloudflare.com/post-quantum
198•mfiguiere•7h ago•87 comments

Ozempic indirectly boosts fertility, causing surprise pregnancies

https://health.clevelandclinic.org/ozempic-babies
112•illidan1000•6h ago•68 comments

If you want failover to work well, use it often

https://bencane.com/posts/2026-11-25-failover-often/
367•madflojo•13h ago•88 comments

The state of Rust allocators in 2026: stabilised

https://cetra3.github.io/blog/state-of-allocators-2026-finally-stabilised/
10•fanf2•1d ago•0 comments

Self-hosted software development factory

https://kudmitry.com/articles/self-hosted-software-development-factory/
115•ingve•6h ago•47 comments

Historic Great Lakes Bulker Departs for Boneyard

https://maritime-executive.com/article/historic-great-lakes-bulker-set-to-depart-for-boneyard
13•hermitdev•2d ago•1 comments

Cyanobacterium can adapt to simulated Martian conditions

https://bioengineer.org/simulated-martian-conditions-reshape-cyanobacterial-growth-and-lipid-meta...
75•hackthemack•6h ago•22 comments

Lessons from Charlie Munger's Harvard School Commencement Speech

https://www.umr.io/blog/charlie-munger-harvard-speech
52•umerf•4h ago•10 comments

How to Brew Solar Powered Coffee

https://solar.lowtechmagazine.com/2025/11/how-to-brew-solar-powered-coffee/
51•Sir_Twist•2d ago•24 comments

TrojanMaxxing: One-shotting VLM backdoors with weight-space programming

https://arxiv.org/abs/2611.27425
216•hvp1621•13h ago•71 comments

Nearly 2B credentials exposed in a publicly accessible database

https://www.expressvpn.com/research/2billion-credentials-exposed
227•basilgohar•13h ago•110 comments

Banned from Google?

https://bannedfromgoogle.com/
445•ondas•7h ago•206 comments

New York Ban AI Chatbot Toys for 5 Years

https://www.governor.ny.gov/news/consumers-begin-their-holiday-shopping-season-governor-hochul-si...
92•DeepLogin•5d ago•38 comments

Happy 60th Birthday to PDP-10, running ITS and Zork

https://hyperties.org/machine/games/zork/
28•DonHopkins•2d ago•2 comments

So, I rewrote my game in C3

https://www.madrigalgames.com/blog/so-i-rewrote-my-game-in-c3/
97•lerno•2d ago•16 comments

Mass Destruction of Weapons

https://computer.rip/2026-11-22-mass-destruction-of-weapons.html
57•Sniffnoy•6d ago•23 comments

Anthropic has made a major breakthrough in theoretical cryptanalysis

https://twitter.com/AndrewCurran_/status/2127127873802911864
367•bifftastic•10h ago•323 comments

Why I can't sell you a €1 email inbox

https://www.jannis.io/why-i-cant-sell-you-a-eur1-email-inbox/
756•amaccuish•11h ago•336 comments

Microplastics in household dust

https://idw-online.de/en/news881452
174•randycupertino•12h ago•178 comments

Nvidia reportedly cuts gaming GPU supply by another 20-30% for Q4

https://videocardz.com/newz/nvidia-reportedly-cuts-gaming-gpu-supply-by-another-20-30-for-q4
136•extasetoi12•5h ago•68 comments

Underrated reasons to be thankful VI

https://dynomight.net/thanks-6/
169•Curiositry•12h ago•51 comments

Emulator for Symbolics XL-1200 Lisp machine

https://unya.github.io/xl1200-emu/
13•p_l•2h ago•1 comments

"This message has been on the screen for almost two hours now."

https://unsung.aresluna.org/this-message-has-been-on-the-screen-for-almost-two-hours-now/
257•firloop•1d ago•157 comments

Porting Old Llamasoft Games to iOS

https://blog.gingerbeardman.com/2026/11/29/porting-old-llamasoft-games-to-ios/
29•ingve•6h ago•7 comments

Looped Models are Fast Multi-Token Predictors

https://arxiv.org/abs/2611.33896
85•ComputedCamp995•5h ago•14 comments

Borland's DOS compilers, rebuilt from their own binaries

https://github.com/abedegno/borland-reborn
221•frostbyte7•17h ago•81 comments

The Math Behind Counter-Strike Surfing

https://healeycodes.com/the-math-behind-counter-strike-surfing
344•v3gas•2d ago•58 comments

Four federal cases trace $974M in Nvidia chips and servers to China

https://ailately.com/articles/chip-smuggling-route-to-china
283•ryanedennis•12h ago•121 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