0 Followers
0 Following
2 Posts
Maybe not as much, it would seem that way, but the same thing happened with Sync last month and people were defending the app, ads & google because the app is prettier, more convenient or familiar.

B-but the pretty colors and design!

They don’t care. Never have. They are happy to give away their soul to Google if it means it’s a little more convenient/pretty.

They are not in lemmy because of fediverse/descentralization/privacy/foss, they are here just because they don’t want to be in reddit.

Huh, I thought most keybindings where tied to the position of the keys, being vim “motions”, as in how you move your fingers or something like that.

Maybe there are vim layouts for dvorak that I can use? Because I think I’d prefer to have the keybindings in the same place.

I use a dvorak-based layout personally, but spanish QWERTY at work. Some time ago I learned EMACS with qwerty, so when I switched to dvorak my muscle memory was ruined, even if I knew the keybindings. I wonder if it’s worth it learning 2 keybindings to be able to switch layouts

Makes sense. Spanish keyboards have Ñ instead of semicolon, so it’d break. But I’m sure other things break in France, where they use AZERTY. So it’s not that universal.

That makes me wonder, is there a way to get a keypress based on the position of the key, rather than the keycode? Would that be useful? Would assuming everyone is using a normal keyboard with letters in the same place even make sense? How would that interop with things like QMK?

My main problem with vim is that they use hjkl instead of jkl; , it doesn’t make sense to me why they’d do that.

And my second problem is that I use my own custom keyboard layout instead of qwerty, so I’d have to remap all the keys. Why spend hours learning and then rebinding all the keys when I can instead play some Dota? /s

cries of apple fanbois on the distance

You’ll get better with practice. When I started with my Corne i was typing at 5-10 letters per minute the first week. After a month of practice I reached around 50 wpm, and hit a ceiling of ~90 wpm.

Speed should be a metric, not a target. It should be a side effect of using a better keyboard, so don’t focus on speed. Instead focus on accuracy, and learning exactly where each key is.

Since we are talking about printers, doesn’t CUPS require drivers to be installed? I have an EPSON L3150 & L395 at work and they are the only thing keeping me from installing linux in all the computers.

So basically I just need to set the print quality to high, and use the scanner. I’ve tried the official DEB drivers in Ubuntu, compiled the source code in Ubuntu & Arch, and nothing works. I can’t set the print quality (the option isn’t even listed when printing/in the printer settings)

Those epsons have their own scanner program, Epson Scanner or something. Installed from DEB and source, they work only sometimes. Tried skanlite, also sometimes work. Sometimes it detects the scanner, other times it doesn’t.

Tried using CUPS, it still required me to install the printer drivers.

Tried generic built-in drivers, don’t work.

Tried epson-inkjet-printer-escpr from AUR. Doesn’t work.

All done while having the printer directly connected to the PC. Nothing reliably works.

How does one even setup IPP? It’s easier to find documentation about the latest JS frontend framework than setting up IPP

Am i dumb?

Argument datatype dependant of previous arguments?

https://lemmy.world/post/2697004

Argument datatype dependant of previous arguments? - Lemmy.world

While working with a dynamically typed lang, I came across this: hash(password, algorithm, algorithmOptions) Where algorithm is a constant signaling which hashing algorithm to use, and algorithmOptions is a dict whose keys depend on algorithm. So I thought, can we dictate that if a previous parameter has this value, then this parameter has to have this other value? E.g. enum HashAlgo { Bcrypt, Argon2, } type BcryptOptions = { Int optionA, Int optionB, } type Argon2Options = { String optionC, String optionD, } // Here I make this type "depend" on an argument of type HashAlgo type HashOptions = [HashAlgo] => { HashAlgo::Bcrypt => BcryptOptions, HashAlgo::Argon2 => Argon2Options, } fun hash( String password, HashAlgo algorithm, // Here I use HashOptions, passing the prev. argument HashOptions[algorithm] options, ) This way the compiler can ensure the correct dict is used, based on the value of algorithm Does something like this exist? I now realize that it would be impossible to type check in compile time based on a runtime value, but if it was allowed only for constants? What do you think?

Yeah, I once tried to switch to Kubuntu, wanted my macos style global menu. In arch I just

yay -S plasma5-applets-window-appmenu

In Kubuntu, I had to download source and spend 2h compiling, every 5 minutes CMake complained a dependency was missing, searching how the dependency package is called, installing, now another dependency…