frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Terminal UI for AWS

https://github.com/huseyinbabal/taws
170•huseyinbabal•4h ago•82 comments

Why does a least squares fit appear to have a bias when applied to simple data?

https://stats.stackexchange.com/questions/674129/why-does-a-linear-least-squares-fit-appear-to-ha...
120•azeemba•4h ago•23 comments

Lessons from 14 Years at Google

https://addyosmani.com/blog/21-lessons/
780•cdrnsf•9h ago•364 comments

Eurostar AI vulnerability: When a chatbot goes off the rails

https://www.pentestpartners.com/security-blog/eurostar-ai-vulnerability-when-a-chatbot-goes-off-t...
85•speckx•4h ago•23 comments

Linear Address Spaces: Unsafe at any speed (2022)

https://queue.acm.org/detail.cfm?id=3534854
111•nithssh•4d ago•68 comments

The Unbearable Joy of Sitting Alone in a Café

https://candost.blog/the-unbearable-joy-of-sitting-alone-in-a-cafe/
414•mooreds•10h ago•255 comments

Street Fighter II, the World Warrier (2021)

https://fabiensanglard.net/sf2_warrier/
302•birdculture•10h ago•46 comments

Millennium Challenge: A corrupted military exercise and its legacy (2015)

https://warontherocks.com/2015/11/millennium-challenge-the-real-story-of-a-corrupted-military-exe...
11•lifeisstillgood•1h ago•5 comments

Ripple, a puzzle game about 2nd and 3rd order effects

https://ripplegame.app/
72•mooreds•7h ago•12 comments

The Year of the 3D Printed Miniature (and Other Lies We Tell Ourselves)

https://matduggan.com/the-year-of-the-3d-printed-miniature-and-other-lies-we-tell-ourselves/
84•sagacity•6d ago•47 comments

Web development is fun again

https://ma.ttias.be/web-development-is-fun-again/
267•Mojah•10h ago•351 comments

Six Harmless Bugs Lead to Remote Code Execution

https://mehmetince.net/the-story-of-a-perfect-exploit-chain-six-bugs-that-looked-harmless-until-t...
13•ozirus•3d ago•1 comments

Show HN: An interactive guide to how browsers work

https://howbrowserswork.com/
167•krasun•10h ago•28 comments

Server-rendered multiplayer games with Lua (no client code)

https://cleoselene.com/
48•brunovcosta•5h ago•28 comments

Ask HN: In the real world we pay for everything so why not software?

16•asim•6d ago•37 comments

Stop Forwarding Errors, Start Designing Them

https://fast.github.io/blog/stop-forwarding-errors-start-designing-them/
68•andylokandy•6h ago•42 comments

Claude Code On-the-Go

https://granda.org/en/2026/01/02/claude-code-on-the-go/
197•todsacerdoti•5h ago•135 comments

Agentic Patterns

https://github.com/nibzard/awesome-agentic-patterns
61•PretzelFisch•5h ago•5 comments

OpenGitOps

https://opengitops.dev/
30•locknitpicker•4h ago•27 comments

Show HN: An LLM-Powered PCB Schematic Checker (Major Update)

https://traceformer.io/
26•wafflesfreak•3h ago•10 comments

The great shift of English prose

https://www.worksinprogress.news/p/english-prose-has-become-much-easier
26•dsubburam•3d ago•17 comments

Trellis AI (YC W24) is hiring engineers to build AI agents for healthcare access

https://www.ycombinator.com/companies/trellis-ai/jobs/ngvfeaq-member-of-technical-staff-full-time
1•macklinkachorn•8h ago

Show HN: Hover – IDE style hover documentation on any webpage

https://github.com/Sampsoon/hover
31•sampsonj•6h ago•14 comments

Moiré Explorer

https://play.ertdfgcvb.xyz/#/src/demos/moire_explorer
119•Luc•12h ago•17 comments

Maybe comments should explain 'what' (2017)

https://www.hillelwayne.com/post/what-comments/
182•zahrevsky•14h ago•177 comments

Using Hinge as a Command and Control Server

https://mattwie.se/hinge-command-control-c2
85•mattwiese•11h ago•42 comments

FreeBSD Home NAS, part 3: WireGuard VPN, routing, and Linux peers

https://rtfm.co.ua/en/freebsd-home-nas-part-3-wireguard-vpn-linux-peer-and-routing/
140•todsacerdoti•13h ago•7 comments

Bison return to Illinois' Kane County after 200 years

https://phys.org/news/2025-12-bison-illinois-kane-county-years.html
113•bikenaga•5d ago•31 comments

Show HN: Quantum Tunnel

https://chuanqisun.github.io/quantum-tunnel/
11•osmoscraft•1h ago•4 comments

How I archived 10 years of memories using Spotify

https://notes.xdavidhu.me/notes/how-i-archived-10-years-of-memories-using-spotify
77•xdavidhu•10h ago•36 comments
Open in hackernews

Kate and Python Language Server

https://akselmo.dev/posts/kate-python-lsp/
79•todsacerdoti•8mo ago

Comments

josteink•8mo 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•8mo 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•8mo ago
I haven't tried the Ruff server yet, but Jedi Language Server is usably fast, and does a good enough job.
kstrauser•8mo 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•8mo ago
It's not ready yet, but https://pyrefly.org/ might be a good competitor/complement in the future
tiltowait•8mo 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•8mo 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•8mo ago
last time i looked the people were recommending basedpyright: https://github.com/DetachHead/basedpyright
Hasnep•8mo 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•8mo 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•8mo 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•8mo 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