[-] [email protected] 24 points 4 months ago

To anyone with a TV running Android I recommend SmartTubeNext: https://github.com/yuliskov/smarttube

[-] [email protected] 43 points 4 months ago* (last edited 4 months ago)

Did you unlock your bootloader? Some apps just scan for Google Play SafetyNet or in some other way to check whether you unlocked your bootloader or rooted and if they think you do they will vaguely state you are rooted.

Other's concern about your phone being infected are justified and I recommend you to try whether a dedicated root checking app thinks your phone is rooted. These usually don't lie.

Regarding your rooting situation I always rooted the lazy way. Renamed magisk.apk to magisk.zip, flashed it and it always worked for me. But I rooted only 2 phones in my life really and this is not the recommended method by magisk developer.

[-] [email protected] 37 points 4 months ago* (last edited 4 months ago)

It is not only ironic but pathetic. They promote it as the new open standard and people who just don't look further into the details believe it.

[-] [email protected] 10 points 4 months ago

I agree. Most custom ROMs already have such option.

24
submitted 6 months ago by [email protected] to c/[email protected]

I know this is probably a primitive topic for most, but I just got into coding in c++ because a simple project I am working on that uses esp8266 which can be programmed using c++. Before this I only had experiemce with python, javascript and typescript.

Now to my problem: I am trying to split my code that is getting longer into multiple files.

I already think that I understand right that each library has a header (.h) file and source (.cpp or .c in case of c) file. The first thing I already have problem with is that as you are defining your functions and classes in the header file and then implementing them in the source file you are repeating yourself with the declarations which is not something I would like. I presume that most IDEs will probably automatically help you with generating or editing the header file automatically as you change code in the source file and I guess I will need to learn to live with it.

Then there's the thing with importing. It may happen that if you create a library it also has some dependencies that it needs to include. But as far as I understand one library shouldn't be included multiple times. So from what I can see most libraries check whether a global variable with an ARBITRARY name that the library chooses itself is not defined and then if that's true it defines that variable to indicate it has been included (the name of the variable is not compketely arbitrary and usually follows LIBRARY_NAME_H but the convention cannot be really relyed on). When the library includes other library it also needs to check whether the variable of that library that is defined on its import is defined. The main file should also probably check this for every library it includes because it can't know what lins were already imported by libs it imported? Am I getting something wrong or is it sometimes ok for some libraries to be included multiple times. There's the #pragma once to handle these situations?

[-] [email protected] 8 points 9 months ago* (last edited 9 months ago)

And also FOSS is just cool. That's a cherry on top.

[-] [email protected] 9 points 9 months ago* (last edited 9 months ago)

YouTube has gone far from Material Design long time ago. The thin ugly icons are just one from many of the examples.

[-] [email protected] 9 points 10 months ago

Is this really the fault of the format or the fact that it just isn't that much well supported?

[-] [email protected] 8 points 10 months ago* (last edited 10 months ago)

Meta services is not a part of any package, but it's an independent package com.facebook.services that a lot of manufacturers preinstall as a system app, because they get paid for that by meta. The package runs in the background and most meta apps communicate with it, use it for push notifications etc... You can uninstall the app with ADB command adb shell pm uninstall -k --user 0 com.facebook.services.

If you have com.facebook.services you may also other meta system packages com.facebook.system and com.facebook.appmanager preinstalled on your phone.

[-] [email protected] 12 points 10 months ago* (last edited 10 months ago)

Because he hates his child and wants her/him to suffer, so he forces him to use windows vista. That's an obvious answer

[-] [email protected] 19 points 10 months ago* (last edited 10 months ago)

But it should still work in cases when you lost your phone and nobody else rebooted it, shut it down, or even wiped it, which is still a large portion of cases. I wouldn't call it "completely useless" in that case.

[-] [email protected] 16 points 11 months ago

You won't get video recommendations on your home feed (and maybe also other parts of youtube) if you have watch history disabled in your google account settings (you request google not to save your watch history).

view more: next ›

FrameXX

joined 1 year ago