2
33
Araozu

@lemmy.world

Araozu 16 points 3 years ago

Google silently shipping signed chrome executables soon...

And then people wonder why non chromium browsers are important

path: 0 1564944 1565940 1567690 1568073 1568370, hotness: undefined, score: 16, children: 3
Araozu 15 points 3 years ago

How about "php enables me to code like a moron", or even better, "php breaks common conventions and forces me to think about every little detail and special edge case, slowing me down if I don't want to accidentally 'code like a moron' "

Nested ternary operators emerge because of the lack of if/switch expressions (which is C fault), so they are "useful" (they shouldn't be). However, PHP is the only language that treats it as left associative. This has 2 problems:

  • You are forced to use parenthesis. Some (insane) people might do: (cond1) ? "A" : (cond2) ? "B" : "C"

And it makes sense. Its ugly af, but it makes sense. But PHP now forces you to use more parethesis. It's making you work more.

  • It breaks convention. If you come from any other language and use ternary operators, you will get unexpected results. After hours of banging your head against the wall, you realize the problem. And now you have to learn a new edge case in the language, and what to do to actually use the language.

"But you shouldn't use ternary operators anyway! Use if/switch/polymorphic dispatch/goto/anything else"

True, but still, the feature is there, and its bad. The fact that there are other alternatives doesn't make the PHP ternary operator worse than other languages' ternary operator.

PHP works against you. That's the problem. The ternary operator is not a good example, since there are alternatives. But look at something so simple, so mundane like strpos.

If strpos doesn't find returns false. Every other language returns -1. And if you then use this value elsewhere, PHP will cast it to 0 for you. Boom, your program is broken, and you have to stare at the screen for hours, looking for the error.

"BuT yOU sHoUlD AlwAyS cHEcK tHe rETurN eRRor!"

And even if that's true, if we all must check the return value, does PHP force you to do so? Like checked exceptions in Java? Or all the Option & Result in Rust? throws, throws, throws... unwrap, unwrap, unwrap... (Many) people hate those features

PHP works against you. And that's why its bad.

path: 0 1262279 1266737 1299009, hotness: undefined, score: 15, children: 1
Araozu 15 points 3 years ago

You have to accept to being tracked by Google, having an advertising id, all the data Firebase collects. Their ToS is large.

Users were asking for it, that's true. I guess users don't really care about being tracked, allowing google into their phone and indirectly supporting them controlling the web, thus enabling them to do things like manifest v3 or the web integrity API.

Ads? understandable, the dev has bills to pay. Not open source? Purists may hate it, but not the end of the world. Tracking? Google? No thanks, the beautiful design is not worth it.

path: 0 1985960 1993708, hotness: undefined, score: 15, children: 3
Araozu 13 points 3 years ago

cries of apple fanbois on the distance

path: 0 3055042 3058342, hotness: undefined, score: 13, children: 0
Araozu 11 points 3 years ago

Marketing version (23.04 or just 23) and semver (3.11.3)

Change my mind

path: 0 1566174 1568549, hotness: undefined, score: 11, children: 1
Araozu 10 points 3 years ago

Posted from my LineageOS phone, no gapps, microG, only foss apps.

I hope you felt good and happy writing your comment, unlike the rabid, angry, superior acting, elite hacker, bitches, knobs, baffoons FOSS fanboys.

path: 0 2031364 2034555, hotness: undefined, score: 10, children: 1
Araozu 10 points 3 years ago

Why would you say something so controversial yet so brave?

path: 0 1438196 1439200, hotness: undefined, score: 10, children: 0
Araozu 9 points 3 years ago

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

path: 0 3109739, hotness: undefined, score: 9, children: 5
Araozu 9 points 3 years ago

I think it depends on how you enter, Liftoff and Connect do

path: 0 1598678 1599293 1599457, hotness: undefined, score: 9, children: 2
Araozu 9 points 3 years ago

Wouldn't spoofing work? Like, if the browser just sends "yes, no extensions, adblock, blah blah" then how would the attestation server know if that's true? Or does it require signed binaries, or some special hardware?

path: 0 1564944 1565940 1567690, hotness: undefined, score: 9, children: 6
Araozu 9 points 3 years ago

Do you know yourself for a fact that no data is being taken by Sync itself?

And its a fact that Google and Firebase are taking your data. Even if Sync itself doesn't collect any data, it uses Google products (as stated in their Privacy Policy which I'm 1000% you did read), and any and all google products will take your data.

That's the point of using a FOSS client, if it collected data people would know, the code is public. And the data collection can be removed, since the code is public.

Even outside of data collection or privacy, which clearly you don't care about, we should avoid giving Google more power. Look at manifest v3 or the web integrity API. That affects not only your privacy, but your security and ability to use the internet. And not only yours, but the whole world

path: 0 2026895 2027514 2031377 2033615 2033788 2034187, hotness: undefined, score: 9, children: 6
Araozu 8 points 3 years ago

I think the issue is not with wether the dev collects data, its about the dev using google products, which do collect, store and sell data.

There are alternatives to Firebase, (i think they can even be self hosted), so its something that can be improved without affecting much the development time or other aspects.

path: 0 2017569 2022615 2035137, hotness: undefined, score: 8, children: 2
Araozu 5 points 3 years ago

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..

path: 0 2064630 2071531, hotness: undefined, score: 5, children: 0
Araozu 5 points 3 years ago

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?

path: 0 2121321, hotness: undefined, score: 5, children: 4
Araozu 5 points 3 years ago

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.

path: 0 2886525 2891600 2893974, hotness: undefined, score: 5, children: 1
Araozu 4 points 3 years ago

I will check qos, i think i saw it enabled or something, thanks

path: 0 1836338 1836798, hotness: undefined, score: 4, children: 0
Araozu 3 points 3 years ago

You can try LibreTube, it has almost all the features of youtube. Only downside is some videos are slow to load, but if you can host your own Piped instance that's solved. It has sponsorblock built in, regular updates, and a better ui imo

path: 0 1398540 1400479 1400609, hotness: undefined, score: 3, children: 0
Araozu 3 points 3 years ago

There're many games I want to play,

But dota 2 says no, so...

path: 0 1717401, hotness: undefined, score: 3, children: 0
Araozu 3 points 3 years ago

From my internal IP (192.168.1.xx), I don't access it from the outside (can't open ports on residential connection in my country :c )

All my devices are connected to my own router, then that router connects to my isp router, which then connects to the internet, so its very weird.

The only thing I configured was reserving an ip address for my server on my router, but I don't think that should influence...

path: 0 1836343 1836610, hotness: undefined, score: 3, children: 3
Araozu 3 points 3 years ago

If I have to be awake at a certain time, inside my dreams I'd be always reminding myself to be awake at that time. Not the best sleep, but at least im where and when I need to be

path: 0 1478917 1484596, hotness: undefined, score: 3, children: 1

thanks for using Leebra!

go to feed...