frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Meta's Pyrefly sabotages competing Python extensions without telling you

https://github.com/facebook/pyrefly/issues/3292
34•FossAndFurious•1h ago

Comments

FossAndFurious•1h ago
Pyrefly is Meta's new Python type checker and VS Code extension, released earlier this year. While auditing the VSIX before installing it, I found that on activation it silently writes `disableLanguageServices = true` to the user's global settings for three named extensions: basedpyright, windsurfpyright, and cursorpyright.

The write uses `ConfigurationTarget.Global`, so it affects all workspaces. There is no `deactivate()` cleanup, so the setting persists after Pyrefly is uninstalled.

This was verified by live reproduction: installed Pyrefly alongside basedpyright, opened a Python file, and observed the key appear in `settings.json`. Uninstalled Pyrefly — key remained, basedpyright still broken.

The code is in plain TypeScript in the public repo (`lsp/src/extension-interop.ts`), added December 2025. This isn't obfuscated or hidden — it just hasn't been noticed.

Bug report with full details, source references, and reproduction steps: https://github.com/facebook/pyrefly/issues/3292

The fix is straightforward: ask the user before touching settings they didn't set, and restore them in `deactivate()`.

PufPufPuf•28m ago
"it's not X, m-dash, it's Y"
refulgentis•17m ago
A, B, C.

A, B, C — D.

IceDane•10m ago
Have you just completely retired your brain in favor of a bidirectional pipe to an LLM?
jqpabc123•1h ago
Once again; if it has a Meta label, it most likely has added "features" you may not expect ... or want.
jaen•36m ago
Noticed this myself as a VSCode-derivative user.

But I think this is just because having multiple Python extensions enabled generally breaks the UX...

Since VSCode doesn't really have a nice way for multiple language extensions to cooperate, this looks like just a quick hack to make the initial UX better, unlikely to be "malicious".

EDIT: Silent downvotes, really? Prejudice is strong here...

pityJuke•35m ago
Could they not gate this behind a notification on install?
PufPufPuf•30m ago
Fixed title: Pyrefly automatically disables conflicting extensions on installation.

That's a convenient thing to do: if user installs Pyrefly, they probably want to use Pyrefly. Everyone likes a good outrage against Meta, but this is a nothingburger.

LaurensBER•27m ago
Agreed, it should definitely be documented and undone on uninstall but the action itself is reasonable.

I spent some time figuring out how to disable the default language server after installing Ty.

hamandcheese•18m ago
> but the action itself is reasonable.

I'm not outraged (the intentions were probably good), but I also strongly disagree. Don't touch my config without my consent.

NewsaHackO•25m ago
Yeah, I think the OP is overreacting. I am pretty sure it even says it in the initial installation instructions and gives a clear reason why it interferes with other language servers. In the "Features" section of the VsCodium extensions "Adds language features from Pyrefly's analysis like go-to definition, hover, etc. (full list here) and disables Pylance completely (VSCode's built-in Python extension)". I suspect there is an element of LLM-sycophancy-driven activism here.
d_sem•14m ago
OP is an LLM.
axus•14m ago
Never attribute to malice what can be explained by vibe-coding
3darl•9m ago
This is typical in the Python space. Windows is also broken after installing Conda.

Given that now one has to pray that one does not get Shai Hulud when using PyPI, the best thing Meta could do is switch Instagram to PHP/Hack and PyTorch back to Lua (or Haskell or whatever).

You Have No Idea How Much You Still Use BlackBerry

https://www.wsj.com/tech/blackberry-qnx-software-cars-bf2a2280
1•Brajeshwar•1m ago•0 comments

Ask HN: Where do you promote your writing in 2026?

1•rickcarlino•2m ago•0 comments

Is China decoupling on food? [yes]

https://www.ft.com/content/637215a5-4814-49c4-ae24-c6a96adb56cf
1•alecco•7m ago•1 comments

Was physical education as bad as people remember it? A Qualitative Thematic Rev

https://journals.uol.edu.pk/the-sky/article/view/2071/1020
1•adrianhon•7m ago•0 comments

Transport for London Interchange Signs Standard [pdf]

https://content.tfl.gov.uk/tfl-interchange-signs-standard.pdf
1•susam•8m ago•0 comments

Databasus: Free, open source tool to backup PostgreSQL

https://databasus.com
1•sea-gold•9m ago•1 comments

Agentic coding is burning me out

https://0xsid.com/blog/agentic-coding-fatigue
2•croemer•12m ago•1 comments

Is the Scientific Enterprise Too Risk-Averse?

https://support.opentodebate.org/event/is-the-scientific-enterprise-too-risk-averse/e784659
1•paulpauper•12m ago•0 comments

Combat LLM spam by building a web of trust

https://blog.tangled.org/vouching/
1•birdculture•12m ago•0 comments

Cortisone Changed Art and Became the Blueprint for Modern Medicine

https://tinamarshdalton.substack.com/p/how-cortisone-changed-art-and-became
1•paulpauper•13m ago•0 comments

Microsoft: "we expect headcount will decrease year over year"

https://timesofindia.indiatimes.com/technology/tech-news/microsoft-cfo-amy-hood-makes-it-clear-ou...
3•indigodaddy•14m ago•0 comments

AI may be coming to Windows 11's Clock app as Microsoft turns it into focus tool

https://www.windowslatest.com/2026/04/29/new-clock-app-focus-sessions/
1•Topfi•14m ago•0 comments

convention.sh – Stop AI agents from writing sloppy TypeScript

https://convention.sh
1•rhuellen•15m ago•0 comments

Show HN: IP Lookup Extension

1•TemporaryMail•15m ago•0 comments

Bash with No Letters (2024)

https://jrb.nz/posts/bash-tricks/
1•thunderbong•16m ago•0 comments

Do_not_track

https://donottrack.sh/
3•RubyGuy•16m ago•0 comments

The Consensus Draft Board Debate Is Sports Culture War at Its Worst

https://freddiedeboer.substack.com/p/the-consensus-draft-board-debate
1•paulpauper•18m ago•0 comments

Swiss plan to cap population gains ground ahead of referendum

https://www.ft.com/content/07498115-c96a-458c-a259-ce3413b210e2
2•JumpCrisscross•18m ago•0 comments

Squaring the Circle on Employee Equity

https://blog.baldassari.me/employee-equity/
1•fra•20m ago•0 comments

MicroGPT Running at 50k Tkps on Cyclone V FPGA (Pure Hardware)

https://github.com/Luthiraa/TALOS-V2
2•friedeggsunday•21m ago•0 comments

Show HN: ChameleonDB – A database toolkit with auditable schema versioning

https://www.chameleondb.dev/
1•ChameleonDB•24m ago•0 comments

Videolan Dav2d

https://code.videolan.org/videolan/dav2d
1•dabinat•25m ago•0 comments

Flue is a TypeScript framework for building the next generation of agents

https://flueframework.com/
1•momentmaker•25m ago•0 comments

Spirit Airlines Ticket Holders Should Not Go to the Airport

https://www.washingtonpost.com/politics/2026/05/02/spirit-airlines-flights-shutdown/
4•bookofjoe•29m ago•3 comments

MIT AI expert warns automating Gen Z entry-level jobs could backfire

https://fortune.com/2026/05/01/automating-gen-z-entry-level-jobs-could-backfire-mit-ai-researcher...
2•1vuio0pswjnm7•29m ago•1 comments

Welcome to Hell Developer

https://noahclements.com/Wahoo-Bolt-Hidden-Debug-Mode/
2•denysvitali•31m ago•0 comments

pgxbackup: Continuity Support for pgBackRest

https://thebuild.com/blog/2026/05/01/pgxbackup-continuity-support-for-pgbackrest/
1•Wingy•32m ago•0 comments

OSMF Local Chapter Application – Associació Catalana de L'OpenStreetMap

https://community.openstreetmap.org/t/osmf-local-chapter-application-associacio-catalana-de-lopen...
1•faebi•32m ago•0 comments

Die Original Chiemgauer Buam – Schuhplattler (Holzhacker) – 1981 [video]

https://www.youtube.com/watch?v=eSbYSNzyiOg
1•zeristor•34m ago•0 comments

Editing my LLM assisted Articles

https://idiallo.com/byte-size/editing-llm-assisted-articles
1•Brajeshwar•35m ago•0 comments