markstos

joined 2 years ago
[–] markstos@lemmy.world 3 points 1 day ago

I host routing for customers across the US, so yes I need it all. There are ways to solve the problem with less memory but the point is that some problems really do require a huge amount of memory because of data scale and performance requirements.

[–] markstos@lemmy.world 2 points 2 days ago (2 children)

Nope. Some algorithms are fastest when a whole data set is held into memory. You could design it to page data in from disk as needed, but it would be slower.

OpenTripPlanner as an example will hold the entire road network of the US in memory for example for fast driving directions, and it uses the amount of RAM in that ballpark.

[–] markstos@lemmy.world 0 points 3 days ago

As long you give them a good life before you murder them and eat them, that changes everything.

[–] markstos@lemmy.world 21 points 4 days ago (2 children)

The same way that pigs are food and dogs are not. Cognitive dissonance.

[–] markstos@lemmy.world 1 points 6 days ago (2 children)

This one has a blue checkmark.

[–] markstos@lemmy.world 46 points 1 week ago (2 children)

May be spam. No other sites seem to be carrying this story besides this one that does not appear to a news outlet and is infested with VPN ads.

[–] markstos@lemmy.world 1 points 1 week ago

Thanks for sharing.

It does look like there’s a way to use PiHole personally for those who share the network with those who don’t want it: leave default DNS server setttings alone except for your own devices.

[–] markstos@lemmy.world 1 points 2 weeks ago (2 children)

And if you aren’t home or available?

[–] markstos@lemmy.world 1 points 2 weeks ago

I quit Sway so rarely that I don’t have a keybinding for it. I have one for suspending/locking instead.

To exit, I use the terminal: swaymsg exit.

I never type that accidentally, so no warning is needed.

[–] markstos@lemmy.world 1 points 2 weeks ago (1 children)

I use KDE Connect on Sway and don’t recall all these extra setup steps.

Each time I want to send or receive from my phone, I open KDE Connect first in Sway and that’s it.

Maybe these extra steps allow you to interact with your laptop before you open KDE Connect?

[–] markstos@lemmy.world 2 points 2 weeks ago (4 children)

Does PiHole ever break a family member’s browsing, and then they don’t know to fix the issue because it would involve understanding opening up the PiHole web interface?

[–] markstos@lemmy.world 2 points 2 weeks ago

They’ve spotted you. Duck!

 

You've got multiple monitors and watch to switch to a window several windows away.

You could switch focus there with a number of arrow key movements.

"sway-easymotion" allows you to use to press a key that prints a one or two character label on each window. Press that key and your focuses switch there.

Over the weekend I submitted patches for a couple of new features. First, I added multi-monitor support. Second, I added a visual confirmation of which window was selected.

If you are familiar with Github and Rust, you can review the patches and try them out here:

https://github.com/edzdez/sway-easyfocus/pulls

More about sway-easyfocus: https://github.com/edzdez/sway-easyfocus

 

cross-posted from: https://lemmy.world/post/29330696

Progress towards universal Copy/Paste shortcuts on Linux

 

cross-posted from: https://lemmy.world/post/29330696

Progress towards universal Copy/Paste shortcuts on Linux

 

Keyboards with custom firmware supports keycodes like XF86Copy and XF86Paste. These are great for having truly global copy/paste shortcuts that also work in apps like terminals where "Control-V" and "Control-C" aren't supported by default.

I advocated that these keycodes be supported in a web browser, Qutebrowser. The author of that project, Florian Bruhin liked the idea and submitted a patch upstream to the QT framework, which is used by many apps associated with the KDE Linux desktop. And about 5 years later, apps will be packaged with QT 6.10 that include the fix.

Here’s the change description.

This adds support for the Help, Open, Close, Save, New, Cut, Copy, Paste, Undo, Redo, Back, Forward, Refresh, ZoomIn, ZoomOut, Find, Settings, Exit, and Cancel keys to the default keyboard shortcuts.

The bug report:

https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-93269

view more: next ›