Readit News logoReadit News
takluyver commented on How to choose colors for your CLI applications (2023)   blog.xoria.org/terminal-c... · Posted by u/kruuuder
JoshTriplett · a month ago
It's not recent, and most terminals support it. You send an escape sequence to the terminal, and get back a sequence that tells you the exact background color.
takluyver · a month ago
Huh, indeed. I still can't find much information about this, but this page is very informative: https://jwodder.github.io/kbits/posts/term-fgbg/
takluyver commented on How to choose colors for your CLI applications (2023)   blog.xoria.org/terminal-c... · Posted by u/kruuuder
JoshTriplett · a month ago
CLI apps can detect the background color of the terminal, and determine contrasting colors accordingly.
takluyver · a month ago
They can? Is this a recent thing? I remember wanting to detect the background colour years ago, and not finding any way to do it.
takluyver commented on Gnome and Mozilla Discuss Proposal to Disable Middle Mouse Paste on Linux   linuxiac.com/gnome-and-mo... · Posted by u/raphinou
doodlesdev · 2 months ago

   > WHY the fuck would they disable it?
Because it's one of the most annoying and unintuitive things the GNOME desktop has for anyone that isn't a power user. Almost every single user I've shown GNOME to was surprised or bothered by this being the default instead of the usual scrolling you'd see in Windows.

I personally dislike this feature a lot, and it's very common for me to middle-click paste accidentally, even after years of using Fedora Linux as my one and only operating system across all of my machines. I've previously used a Firefox extension to override this default, but was bothered by the fact that other applications would still just middle-click paste.

Not everyone is a power user. Not everyone has the same workflow as you. Decisions like these have to be taken based on what the target audience for a desktop wishes. Arguably, GNOME is absolutely not for power users (just take a look at how similar it is to the macOS desktop environment to notice that).

takluyver · 2 months ago
Also, power users are the ones who will find and change the setting - that's pretty much what being a power user means. Picking defaults that work for novices makes sense, even if that's slightly more inconvenient for me.

I think this whole discussion is based on an assumption that changing the default is part of an agenda to get rid of middle-click-paste entirely. I don't think it is.

takluyver commented on Gnome and Mozilla Discuss Proposal to Disable Middle Mouse Paste on Linux   linuxiac.com/gnome-and-mo... · Posted by u/raphinou
shevy-java · 2 months ago
> it doesn't seem like this is as dire as the author is trying to make it out.

First you make it as an option.

Then you remove the option.

This is GNOME development style.

takluyver · 2 months ago
Not unlike Firefox, Gnome has a lot of hidden options which aren't exposed in the regular settings UI. There has been an option to control 'primary paste' for 9 years, and it's exposed in Gnome tweaks. There's no obvious reason that changing the default means the option will be removed entirely.
takluyver commented on Gnome and Mozilla Discuss Proposal to Disable Middle Mouse Paste on Linux   linuxiac.com/gnome-and-mo... · Posted by u/raphinou
palata · 2 months ago
> It's still a large security hole though!

May I ask how it is a large security hole and how it is larger than the "Ctrl+C" clipboard? Genuinely interested.

takluyver · 2 months ago
A web page with Javascript can see & send off something you paste into a text box as soon as it appears. So if you accidentally paste some confidential information, like a password, that's a security hole even if you notice and delete it straight away. This happens even for totally innocent reasons, like search-as-you-type.

Ctrl-C/Ctrl-V copy and paste is not such a big issue because far more people are familiar with it, and it requires more deliberate actions on both sides (copying and pasting). So you're less likely to accidentally copy something around that you didn't mean to.

takluyver commented on Is Mozilla trying hard to kill itself?   infosec.press/brunomiguel... · Posted by u/pabs3
mcv · 3 months ago
What's wrong with Gecko?
takluyver · 3 months ago
There's nothing particularly wrong with it, but developing a browser engine and keeping up with new web standards is quite a bit of work. And web developers won't all test on a browser with 2-3% market share, so there's more risk of sites not rendering quite right because the engine is different.
takluyver commented on Is Mozilla trying hard to kill itself?   infosec.press/brunomiguel... · Posted by u/pabs3
tdeck · 3 months ago
Because Chrome was built by the world's biggest advertising company. If the World Wildlife Fund started selling ivory to pay the bills, would that not be surprising?
takluyver · 3 months ago
That analogy doesn't really work, though: Mozilla's goal is not specifically to fight against online advertising. Ad-blocking is connected to their goals, definitely, but they clearly have to make compromises, and I'm not that surprised that they'd think about that one.
takluyver commented on Is Mozilla trying hard to kill itself?   infosec.press/brunomiguel... · Posted by u/pabs3
fijuv · 3 months ago
I think it's too late for Mozilla, since it seems they already squandered most of their good will, userbase and money.

At any rate, I think their only good path of to get rid of Gecko.

The best would be to replace it with a finished version of Servo, which would give them a technically superior browser, assuming Google doesn't also drop Blink for Servo. It may be too late for this, but AI agents may perhaps make finishing Servo realistic.

The other path would be to switch to Chromium, which would free all the Gecko developers to work on differentiating a Chromium-based Firefox from Chrome, and guarantee that Firefox is always better than Chrome.

takluyver · 3 months ago
I doubt AI agents are going to greatly accelerate the development of something as big and complex as Servo. It seems more realistic that Firefox would be built around either Blink (from Chromium) or Webkit to lean on Google/Apple.
takluyver commented on Is Mozilla trying hard to kill itself?   infosec.press/brunomiguel... · Posted by u/pabs3
kuschku · 3 months ago
You wouldn't calculate the expected RoI of killing adblockers if killing adblockers was never considered.
takluyver · 3 months ago
I agree with all the people saying it would drive a lot of the remaining users away, and I hope they don't do it. But I'm not remotely surprised that they considered following what their biggest competitor (Chrome) already did.
takluyver commented on No AI* Here – A Response to Mozilla's Next Chapter   waterfox.com/blog/no-ai-h... · Posted by u/MrAlex94
PunchyHamster · 3 months ago
It's frankly desperate trend chasing from management that lost after starting from near total market domination, and have no idea what to do now.
takluyver · 3 months ago
> starting from near total market domination

That's not really accurate: Firefox peaked somewhere around 30% market share back when IE was dominant, and then Chrome took over the top spot within a few years of launching.

FWIW, I think there's just no good move for Mozilla. They're competing against 3 of the biggest companies in the world who can cross-subsidise browser development as a loss-leader, and can push their own browsers as the defaults on their respective platforms. The most obvious way to make money from a browser - harvesting user data - is largely unavailable to them.

u/takluyver

KarmaCake day1627May 21, 2012View Original