- 2 Posts
- 18 Comments
zero_gravitas@aussie.zoneto Mechanical Keyboards@lemmy.ml•From the "Mice are just a fad" department...English3·6 months agoUnicomp still makes this extra-chunky layout in a buckling spring: https://www.pckeyboard.com/mm5/merchant.mvc?Screen=PROD&Product_Code=UB40B5A
zero_gravitas@aussie.zoneto Mechanical Keyboards@lemmy.ml•From the "Mice are just a fad" department...English2·6 months agoWhy would you event need a mouse with that many arrow keys!?
zero_gravitas@aussie.zoneto Linux@lemmy.ml•[Solved] Possible to lock a folder? To prevent it from being deleted.English5·1 year agoPeople have already given direct answers, and the indirect answer of ‘set up regular automated backups’ (which everyone should set up right now if they haven’t already), but for the sake of throwing another option out there, people could take a look at ‘trash-cli’: https://github.com/andreafrancia/trash-cli
(P.S. I know OP might not have actually deleted the files with ‘rm’, but this addresses a broadly similar issue.)
zero_gravitas@aussie.zoneto Linux@lemmy.ml•[Solved] Possible to lock a folder? To prevent it from being deleted.English4·1 year agoI think it’s worth emphasising here: Don’t put it off!
There are millions who can tell you from experience that good intentions count for nothing when it comes to backups.
I’d recommend going and setting up Timeshift right now: https://github.com/linuxmint/timeshift
It’s easy to set up, it takes literally 10 minutes, and if you decide later you want to use something else, you can just uninstall Timeshift and delete its backups. But in the meantime you’ll be protected with backups.
It’s literally the first thing I install on a new system and it’s saved me multiple times from having to do a complete reinstall.
zero_gravitas@aussie.zoneto Mechanical Keyboards@lemmy.ml•TEX Shura w. TrackPoint, hotswap, and both ISO and ANSI supportEnglish1·1 year agoThanks for your thoughts, I appreciate it!
zero_gravitas@aussie.zoneto Mechanical Keyboards@lemmy.ml•TEX Shura w. TrackPoint, hotswap, and both ISO and ANSI supportEnglish1·1 year agoI assume you have got it by now? I certainly hope so! xD
Have you been enjoying it?
I’m considering buying a Shinobi - I’m inclined towards having dedicated function keys - so I’d love to know what you think about the Shura compared to the Shinobi.
zero_gravitas@aussie.zoneto Programmer Humor@lemmy.ml•know the features of your languageEnglish24·2 years agoThere’s a nice list of this feature by language on the Wikipedia page for anyone interested: https://en.wikipedia.org/wiki/Null_coalescing_operator#Examples_by_languages
zero_gravitas@aussie.zoneto Programmer Humor@lemmy.ml•know the features of your languageEnglish1·2 years agoYeah, you’re quite correct, it’s not exactly equivalent, I just went on auto-pilot because it’s used so much for that purpose 🤖
It’s much closer to being a true null-coalescing operator than ‘OR’ operators in other languages though, because there’s only two values that are falsy in Ruby:
nil
andfalse
. Some other languages treat0
and""
(and no doubt other things), as falsy. So this is probably the reason Ruby has never added a true null-coalescing operator, there’s just much fewer cases where there’s a difference.It’s going to drive me mad now I’ve seen it, though 😆 That’s usually the case with language features, though, you don’t know what you’re missing until you see it in some other language!
zero_gravitas@aussie.zoneto Programmer Humor@lemmy.ml•know the features of your languageEnglish49·2 years agoRuby:
a || b
(no
return
as last line is returned implicitly, no semicolon)EDIT: As pointed out in the comments, this is not strictly equivalent, as it will return
b
ifa
isfalse
as well as if it’snil
(these are the only two falsy values in Ruby).
That is so much better 👍
zero_gravitas@aussie.zoneto Programmer Humor@lemmy.ml•LF cheesy oneliners for my Halloween costumeEnglish15·2 years agoGo as the Blue Screen of Death: https://en.m.wikipedia.org/wiki/Blue_screen_of_death
Now that’s spooky! 🟦😱
Wear all blue clothes, and get a copy of the screen printed (not on your home printer) to wear on your chest.
Not supported yet, last I checked (within the last two weeks). There’s a feature request open on the Github.
I’ve mainly just been navigating to it manually by opening the community, it’s usually a post near the top when I’ve had cause to do it. You can also use the search functionality.
New to Linux so I’m sorry if I’m being ignorant, but it does seem crazy you can get access to a machine without the password.
This is always the case, no matter what OS you use, unless you use full-disk encryption. User credentials are all just data on a disk, so if someone has physical access to your machine, and your disk isn’t encrypted, then they can access (and change) those credentials or any other data.
See also: https://ostechnix.com/reset-windows-password-with-linux-live-cd/
What’s even the point of having a password
As you say, preventing remote access is one, but also a password will slow someone down a bit, and stop low-knowledge adversaries entirely, possibly. Also you will at least know someone has messed with your machine if they change the password.
Really, though, there’s nothing malicious someone can do to an unencrypted computer by changing the password that they couldn’t do without changing the password (copy all your files, delete all your files, install malicious software). Except I guess annoying you by making you change your password back. 😆
zero_gravitas@aussie.zoneto Linux@lemmy.ml•what are some advanced linux distros that don't have me compiling everything?English5·2 years agoThey mean ‘Guix System’. Just like there is ‘Nix’ the package manager and ‘NixOS’ the distro, there is ‘Guix’ the package manager and ‘Guix System’ the distro.
Thanks for the info!
Not sure where to find those kind of benchmarks, but you may want to look at Gentoo. It compiles everything locally, optimising specifically for the hardware.
EDIT: Best I could find for benchmarks: https://www.phoronix.com/review/spring-2020-distros
Only you can answer this. How many days of data are you prepared to lose? What are the downsides of running your backup scripts more frequently?