linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Limitless_screaming, (edited ) in MacOS Accessibility Cursor
@Limitless_screaming@kbin.social avatar

KDE Plasma has a desktop effect called "Track Mouse" after you activate it you can use it by pressing Ctrl+Meta. It doesn't look like the MacOS variant, but it does the job.

waigl,

Thanks for pointing that out, I found the setting on my laptop and tried it out. I do like the jiggle approach better, though, simply because that is something many people (myself included) instinctively do when losing track of the mouse cursor.

Limitless_screaming,
@Limitless_screaming@kbin.social avatar

I just added it because the current answer (jiggle) is a Gnome shell extension. So this is just my answer for Plasma.

java,

Wow, it’s even easier to find on the screen. Thanks!

FaceDeer, in My First Regular Expressions
@FaceDeer@kbin.social avatar

Just to chip in because I haven't seen it mentioned yet, but I fing LLMs like ChatGPT or Microsoft Copilot are really good at making regexes and also at explaining regexes. So if you're learning them or just want to get the darned thing to work so you can go to bed those are a good resource.

harsh3466,

You know, I haven’t yet used ChatGPT for anything, I might check it out for this reason.

spittingimage,
@spittingimage@lemmy.world avatar

I use it to tell me which page of the Pathfinder 1e manual I should look on for the rules I need.

adespoton, in My First Regular Expressions
harsh3466,

That looks like a great way to practice

adespoton,

It’s definitely a way to get your regex-fu to the next level, especially if you have people to compete against.

harsh3466,

Oh gosh. There are regex competitions out there, aren’t there.

adespoton,

Yup, including for the largest “in production” regular expression….

tdawg, in MacOS Accessibility Cursor

Such an underrated feature

Centillionaire,

Apple software team is on another level. You don’t even have to try to find the feature. We all instinctively shake the mouse to locate the cursor, so it just happens.

TheAnonymouseJoker, in Ending support for Windows 10 could send 240 million computers to the landfill. Why not install Linux on them?
@TheAnonymouseJoker@lemmy.ml avatar

LMAO the clickbait delusion… has anybody not learnt for how long people stuck to Windows XP and 7? 10 is incomparably more secure and robust than 7 was, and 11 is almost a meaningless cosmetic upgrade. People that do not want to, will not use Linux, and keep using 10. Comfort and compatibility take precedence over security and privacy. People that do install Linux, however, will still want to keep 10 or 11 separately installed, and Microsoft officially suggests workaround to install 11 on any computers.

victron,
@victron@programming.dev avatar

Exactly. Most people don’t care about linux, why is this so hard to understand?

Trent, in Why do you use the terminal?

Command line is a lot more powerful for a lot of cases. Most CLI programs are written with the idea that the caller might be another program, so they tend to be easy to chain with pipes and redirection. So you have tons of simple tools that you can combine however you need.

umbrella,
@umbrella@lemmy.ml avatar

this and its sometimes faster than sifting though a gui

juli, in MacOS Accessibility Cursor
ComradePedro,
@ComradePedro@lemmy.ml avatar

🤓

waigl,

FWIW, this entire comment section:

lemmy.world/post/1940961?scrollToComments=true

Back to the to the topic, yes, Linux is not technically Unix by pedigree. In practice, it doesn’t matter that it isn’t and it wouldn’t matter if it were, both for this issue in particular and for most others you are likely to encounter.

The actually relevant technology here is the graphics subsystem, and MacOS’s Cocoa has always been radically different from anything else in the Unix/Linux space. There is no relation whatsoever to either X11 or Wayland. The only thing worth “porting” here is the basic idea. Which is pretty neat, though. Let’s hope Apple hasn’t patented it.

prettybunnys,

I feel like this was something back on windows 7 for some reason

waigl,

If it was, I don’t think it was a default. I had been using Windows 7 for quite a while back in the day, and I cannot remember ever seeing something like this. On the other hand, I can certainly remember losing track of where on my monitors my mouse cursor was on various occasions…

Unaware7013, (edited )

IIRC, the windows version of this is a setting where you can hit CTRL and it makes a moderately large circle that contracts towards the pointer. It's been in since at least W7/Vista, possibly XP. I've used it on and off for years (especially with 3 27" monitors) because of how easy it is to lose the cursor.

Dexx1s,

And that functionality is in Gnome, but disabled by default IIRC. I’ve had it on for years in both PopOS and Debian so I may be wrong but I do believe it’s a Gnome feature.

juli,

It’s within the accessibility features

kbotc,

Quartz is the old macOS graphics framework, but the mouse shaking is probably just a cool show off feature of Core Animation. There’s uncontested Windows ports on GitHub, so I doubt Apple will throw any fits for Linux.

floofloof, (edited ) in Intel Core Ultra performance in Linux is 15% higher than in Windows

In my experience, every computer is faster with Linux than with Windows. But if this measures just the processor performance on similar tasks I guess it’s news.

fuckwit_mcbumcrumble,

Consequently battery life tends to suffer on Linux vs windows. Especially on newer hardware before people figure out how to manage performance and battery life.

ReakDuck,

Usually, applying the same tricks that Windows does, its not true.

But by default, mostl Linux ditros dont do something special for having performance managing.

But actually. Windows does neither, at least the pure Vanilla form. Its a huge difference when using my Levono Ideapad with the preinstalled Windows versus Windows that is reinstalled Vanilla without drivers. Then Linux is more plug and play and better at this job than Windows.

fuckwit_mcbumcrumble, (edited )

Maybe they do it differently on ideapads. But on all of the modern thinkpads I own the all install at set up the same power profiles and dynamic tuning that the factory image does. Factory install vs fresh install performance is the same on these machines once windows update has done it’s thing. Even the random POS HPs will do the same thing.

Older machines yes absolutely.

henfredemars,

I think it comes down to the culture. A minuscule improvement to a file system is big news in the Linux community. There’s also lots of academic interest in the performance critical parts of the kernel that you just can’t emulate with a closed source model. Is anyone writing papers on how to obtain a 2% improvement in the task scheduler on Windows?

Linux dominates the server market, so even small improvements matter when you’re talking about a server farm with thousands of machines or the latest supercomputer. Many, many people care about the scalability of Linux. On Windows, we say: NTFS? It’s good enough. The user won’t notice on modern SSDs.

dgriffith, (edited )

A lot of the software components under the hood in Linux are replaceable.

So you have a bunch of different CPU and disk IO schedulers to suit different workloads, the networking stack and memory management can be tweaked to hell and back, etc etc.

Meanwhile Windows Server 2022 has… ?

lorty, in Why do you use the terminal?
@lorty@lemmy.ml avatar

Because every IDE implementa a different git interface and I can’t be bothered to figure out where they hid the commit, push, pull etc. buttons this time.

richieadler,

Damn I hate with a passion the IDE interactions with source control software. I may make use of the visual information they give me, but I still execute the commands in the console.

c10l,

Same. Git GUIs can be great for examining commit trees, visualising patches, etc. For any write operations (this includes things like fecth and pull which write to .git), it’s all in the shell.

azimir,

When teaching programming classes it’s awful trying to figure out every IDE’s git interface that my students are using. Each IDE puts the buttons in very different layouts and they even change the names of the buttons because they don’t like the way git itself named operations. It’s untenable to know them all and actually be efficient and helpful as the instructor.

Instead, I say they’re welcome to use the IDE, but the class materials use the canonical underlying command line tools and terminology. They just need to search for how to translate the real git interface to however their chosen tool does the same operation, but it’s up to them to figure it out.

When they do ask for help, I bring up the terminal (usually even inside the IDE) and run the git commands just like we went over in class.

OpenStars, in My First Regular Expressions
@OpenStars@kbin.social avatar

Regexps are awesome! And also not at the same time:-P. 🎉 Congrats👏!:-)

harsh3466,

Thank you!

juli, in My First Regular Expressions

That’s cool! Kudos!

My biggest project was to remove leading and trailing whitespaces but I think I failed twice 😅

harsh3466,

🤣

I went though about 20 iterations to get all of this to work correctly.

NegativeLookBehind,
@NegativeLookBehind@kbin.social avatar

Why spend 20 minutes manually changing text in a file, when you can spend 90 minutes figuring out a single RegEx to do it?

harsh3466,

So much truth here.

mcepl, (edited ) in My First Regular Expressions
@mcepl@lemmy.world avatar

Give a man a regular expression and he’ll match a string… teach him to make his own regular expressions and you’ve got a man with problems. – yakugo in regex.info/blog/2006-09-15/247#comment-3022 (and yes, it is http:// never https:// for this domain)

harsh3466,

Guess I’ve got problems!

prowess2956, in My First Regular Expressions

I think the most impressive part of this is that your wife cares.

...does she have a sister?

sab,
@sab@kbin.social avatar

I'm currently seeing a girl I started dating after she had problems with her regex and I helped her out.

So far so good.

harsh3466,

She does but, I’d stay away from the sister. 🤣

davel, in My First Regular Expressions
@davel@lemmy.ml avatar

“regex” means “regular expression”, so “regex expression” means “regular expression expression”.

harsh3466,

Dang! I read through my post three times to make sure I didn’t do that and completely missed that I did it right in the title. (Now fixed).

Trent, in My First Regular Expressions

Just adding my congrats. Good job, OP. Regex is super useful stuff.

harsh3466,

Thank you!!!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #