[-] FizzyOrange@programming.dev 5 points 2 months ago

If you use VSCode, open both files and then ctrl-shift-P "Compare active file with ..."

You're welcome.

[-] FizzyOrange@programming.dev 5 points 2 months ago

It's sooo sloooow though.

[-] FizzyOrange@programming.dev 5 points 2 months ago

To be fair if it's an exceptional error message (i.e. database timeout; not incorrect password) I don't think i18n matters that much. Most people will just be googling the error message anyway, and if not it should be rare enough that using Google translate isn't an issue.

[-] FizzyOrange@programming.dev 4 points 3 months ago

I dunno maybe once a week or so? We don't actually have a system that detects if your pip install is out of sync with pyproject.toml yet so I run it occasionally just to make sure.

And it runs in CI around a dozen times for each PR. Yeah not ideal but there are goodish reasons which I can explain if you want.

[-] FizzyOrange@programming.dev 5 points 3 months ago

Sorry that example was a bit too limited to demonstrate the problem actually. Add a second lambda and you hit the issue:

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=eb99d3d670bdd9d92006f4672444d611

Still totally fine from a safety point of view, but the borrow checker can't figure that out.

[-] FizzyOrange@programming.dev 5 points 3 months ago

So either you agree with what it's called or you're "disruptive" and should be banned? Hmm.

I read a load of his comments and they seem quite reasonable. A million miles from ban-worthy.

[-] FizzyOrange@programming.dev 5 points 3 months ago

Come on, surely by now everyone knows TIOBE is meaningless bullshit?

[-] FizzyOrange@programming.dev 5 points 3 months ago

Yeah there's no way I trust their methodology has stayed that stable over 15 years. Hell if you just look in the last year supposedly 3% of global users jumped from Mac to Windows in a single month (Nov 2023).

There are also loads of new Linux device classes that may have Linux in their user agent but aren't really "the year of the Linux desktop" that you're thinking of. It seems they try to count ChromeOS (though badly - seems like "Unknown" contains a lot of ChromeOS depending on the month), and obviously Android, but what about Steam Deck? Smart devices with web browsers built in? Is your Tesla desktop Linux?

I'd buy it's gone up; not to 4% though. I would be moderately surprised if 4% of web users had even heard of Linux.

[-] FizzyOrange@programming.dev 5 points 3 months ago

Windows and Mac are far easier to use and have much better hardware support than Linux and very rarely force you to the command line. Maybe I missed your point...

[-] FizzyOrange@programming.dev 5 points 3 months ago

You can leave comments on a commit message. What do you mean exactly?

[-] FizzyOrange@programming.dev 4 points 5 months ago

Yeah I think RISC-V is probably still about 10 years away from being a sensible choice for a laptop. There's a load of platform stuff around things like ACPI and Device Tree that's still being decided. Also some ISA extensions that are standard on x86/ARM are either unratified or very recently ratified (e.g. Vector).

For microcontrollers it's ready now, and for server applications it's probably doable now and will be solid in a few years. Laptops & phones will be last though.

[-] FizzyOrange@programming.dev 4 points 7 months ago

I think he's being downvoted because he's one of those "who needs type safety?" fools. And because of the general rambling nonsense. Yeah JSON works fine for 99% of use cases but that isn't what he said.

view more: ‹ prev next ›

FizzyOrange

joined 1 year ago