1,834 karma · joined Mar 24, 2019 (7y ago) · 407 submissions
comment 15h ago · link · parent
If your business model can be broken by people exercising their rights (by e.g. porting your program to another platform) then your business model is bad.
(And of course, one has to note that sharing the decompiled code online is illegal. Distributing tools that allow people to take their own legally purchased copy and recompile it to run on a different platform is legal. I don't know which one this project was doing)
comment 1w ago · link · parent
> disparate documentation
I've never experienced this while using a Rust library. They all use rustdoc hosted on docs.rs (or locally with $ cargo doc). They all look identical and there's a single global search bar that searches all your dependencies.
> conflicting dependencies
Since you can install two different versions of the same library, this is only an issue if two of your dependencies both expose a transitive dependency with different versions in their external APIs. (E.g. libA returns a Foo 1.0 and libB expects an argument of Foo 2.0) Only library I've ever run into this with is raw-window-handle.
> supply chain risks
> enormous .cargo
These I agree with. Although honestly the supply chain risk is not as big with these foundational libraries as it would first appear, since they are almost all maintained by the same 5 rust compiler developers. Really the only difference is that they're not in the rust-lang github organization and not shipped precompiled with the standard library
comment 1w ago · link · parent
comment 1w ago · link · parent
You always know that the package contents match the source code. And you can always add a dependency by just downloading its source code and putting it into a subdirectory. You don't have to go and set up a different build system for each library if you want to avoid the pre-built artifacts.
comment 1w ago · link · parent
comment 2w ago · link · parent
And the recommended component library for it (GPUI Kit) seems to have been 100% Clauded, down to the website and README.
comment 2w ago · link · parent
I wonder when Microsoft will stop being a "UTF-16 house" adding UTF-16 to new projects... They did it again to LSP, and that was in 2016. Maybe by 2045 Microsoft will use UTF-8 for new projects, and then by 2100 we can switch to UTF-8 by default.
[0] https://learn.microsoft.com/en-us/gaming/gdk/docs/gdk-dev/ov...
comment 2w ago · link · parent
But I agree, I think they would be better served by making a normal website and linking to the demo prominently (For comparison, see iced's website https://iced.rs, which is great IMO)
comment 2w ago · link · parent
They're not exactly friendly to that sort of thing, I wouldn't be surprised if they add some traps to catch people making their own client.
So I'd +1 the sibling comment's suggestion to consider alternatives to Discord, if you're setting up your own community
comment 4w ago · link · parent
Oh well. It was primarily designed to be a good protocol for VSCode, not for any other users. That's just the price you pay when using a corporate standard.
comment 1mo ago · link · parent
With #[non_exhaustive], adding a variant is not a breaking change, but only if that variant can safely be ignored. If it can't be, then it's still a breaking change, BUT you don't get a compiler error. That's a very big drawback IMO.
This makes me think of how the PNG format handles this. For context, PNG files consist of a list of chunks of different types (image data, color profile, text comment, etc). Each chunk has some flag bits that tell you whether it can be safely ignored when decoding the image, safely retained when the image data is changed, etc. That way the decoder can ignore unknown ignorable chunks and error on unknown non-ignorable ones.
comment 1mo ago · link · parent
So they need to give time for infra people in all different time zones to wake up, learn about the announcement, and plan how to patch it.
The intended course of action is 1. take down website a few hours before the fix drops 2. apply the fix 3. only make website public again after it has been fixed
comment 1mo ago · link · parent
DOJ sued Deloitte over DEI programs, they ended up settling for $21.5 million: https://www.reuters.com/legal/government/deloitte-pay-215-mi...
Texas Attorney General declared DEI initiatives unconstitutional in a legal opinion: https://www.gibsondunn.com/texas-attorney-general-declares-p...
Several state Attorneys General sent legal threats to 20 major law firms over DEI: https://www.reuters.com/world/us/republican-led-states-deman...
Texas Attorney General warned major banks that DEI programs violate feduciary duty: https://today.westlaw.com/Document/Ibce2fdc5dcec11efb708bbad...
comment 1mo ago · link · parent
comment 1mo ago · link · parent
AI-generated fake footage in medical science is one of the things that worries me a lot these days. Now there's practically a constant stream of papers getting retracted due to fake AI-generated microscopy, before/after photos, plots(!), ...