frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

My server is a phone now

https://seg6.space/posts/phone-server/
175•seg6•5h ago•72 comments

Os8088: A powerful Mac-like OS for the IBM XT, 286, 386

https://os8088.com/
83•jggonz•4h ago•33 comments

Improving Heuristics for A* Pathfinding

https://www.redblobgames.com/pathfinding/heuristics/differential.html
118•bobbiechen•1w ago•15 comments

Fastmail offers EU data region

https://www.fastmail.com/blog/fastmail-offers-eu-data-region/
344•groomlake•12h ago•170 comments

The phone book that led us to Assad's spy chief in hiding

https://www.bbc.com/news/articles/c4gyrzn8p94o
29•cwwc•2h ago•7 comments

Shopify replaced Redis with MySQL for inventory reservations–and it scaled

https://shopify.engineering/scaling-inventory-reservations
90•adletbalzhanov•5h ago•50 comments

Dithered QR Codes

https://www.andrewt.net/dithered-qr-codes/wtf/
74•jmusall•5h ago•11 comments

Unexpected events and prosocial behavior: the Batman effect

https://www.nature.com/articles/s44184-025-00171-5
25•davidbarker•6d ago•0 comments

_for-sale DNS records

https://specification.website/spec/foundations/for-sale-dns/
367•shaunpud•14h ago•135 comments

Open-source interactive map for the Aug 12 total solar eclipse

https://eclipsefan.org/?v=2&t=max&layers=eclipse%2Cbesselian%2Cumbra-live%2Cshadow-3d%2Ccloud-pro...
102•MarcoDewey•8h ago•22 comments

Making difficulty curves in games

http://www.davetech.co.uk/difficultycurves
75•hakkikonu•3d ago•29 comments

Timeline of the OpenAI accidental attack against Hugging Face

https://simonwillison.net/2026/Aug/7/openai-timeline/
369•882542F3884314B•17h ago•360 comments

The Sound and Music of 'Hyper Light Drifter' [video]

https://gdcvault.com/play/1024135/The-Sound-and-Music-of
33•hyperific•3d ago•6 comments

TheoremDB · A public workspace for machine mathematics

https://theoremdb.org/
10•frozenseven•2h ago•0 comments

US Military's cyber command unit grapples with cluster of deaths by suicide

https://www.bloomberg.com/news/articles/2026-08-06/us-military-s-cyber-command-unit-grapples-with...
267•rbanffy•18h ago•417 comments

Triton: DirectX 11 Driver for QEMU

https://blog.getutm.app/2026/introducing-triton-directx-11-driver-for-qemu/
148•electricant•14h ago•28 comments

Incentives Are for Losers

https://www.experimental-history.com/p/incentives-are-for-losers
8•bkudria•2h ago•0 comments

Building a local positioning system to track runners using Ultra-Wideband

https://zeus.ugent.be/blog/25-26/12urenloop-uwb/
52•robinpdev•1w ago•3 comments

Retraction: The App Store Rejection of the Week That Was a Correct Rejection

https://daringfireball.net/2026/08/retraction_app_store_rejection_of_the_week
17•minimaxir•50m ago•1 comments

Fixing my tooltip accessibility mistake

https://jakearchibald.com/2026/my-tooltip-a11y-mistake/
6•robin_reala•1w ago•0 comments

Can Intel finally beat ARM on performance per Watt?

https://hackaday.com/2026/08/08/want-energy-efficiency-dude-youre-getting-a-dell/
177•gumby•12h ago•134 comments

Preventing Misfolding by Preventing Folding

https://www.science.org/content/blog-post/preventing-misfolding-preventing-folding
50•surprisetalk•4d ago•3 comments

Lost my phone at the office. Claude suggested tracking Bluetooth signal strength

https://twitter.com/un1c0rnioz/status/2084686552299634805
241•ilamont•1d ago•178 comments

When Feature Flags Do and Don't Make Sense

https://software.rajivprab.com/2019/12/19/when-feature-flags-do-and-dont-make-sense/
12•whack•5d ago•7 comments

DDisasm: Reversible (bi-directional) Disassembler

https://github.com/GrammaTech/ddisasm
27•aboardRat4•6d ago•5 comments

ChatGPT starts blocking direct requests to copy an author's style

https://arstechnica.com/ai/2026/07/chatgpt-stops-cloning-famous-writers-voices-but-may-capture-a-...
19•Eloissssss•2h ago•8 comments

TinySol, a tiny solitaire game for DOS

https://classicbits.net/coding-and-software/my-software/monosol/
51•skibz•10h ago•14 comments

“Code was never the hard part” is an insult to all programmers

https://blog.senko.net/code-was-never-the-hard-part-is-an-insult-to-all-programmers
621•senko•13h ago•393 comments

Danish high schoolers will have to verbally defend written assignments

https://mezha.net/eng/bukvy/ca117584_denmark_requires_oral/
535•theanonymousone•10h ago•248 comments

Gateway 2000's hilariously bad ads in the 90s (Part II)

https://buttondown.com/suchbadtechads/archive/gateway-2000-part-2/
108•rfarley04•15h ago•88 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