15 bits is possible if you encode the state in base-3, where each digit represents one of the cells
15 bits is possible if you encode the state in base-3, where each digit represents one of the cells
deleted by creator
Yes, but only if the compiler has seen it. The compiler reads from top to bottom
The function prototype serves as a function declaration. The function header + body serves as a function definition, and since all definitions are declarations, it’s also a declaration
1
2 is a function header followed by the opening curly brace of a function body
I think you meant https://www.learncp.com/
I don’t configure Vim :)
I do this too. I refuse to change the keyboard shortcuts in any application I use, except to mimic the shortcuts of a more popular application
For example, I use GNOME Terminal’s keyboard shortcuts in kitty
How did you post this in the future?
Separating them allows you to add additional interfaces, such as command-line interfaces, APIs and web pages
The official Pokémon Center shop has launched its latest plush toy - and it’s for Wiglett, the long, pink-tipped worm-like creature that stands erect at 10-and-a-quarter inches.
Wiglett debuted in last year’s Pokémon Scarlet and Violet, and quickly became something of a f avourite.
Wigglet’s design features a bulbous base, long pale shaft and then redder tip - that’s its nose.
If you’d like one for your room, its measurements are 26cm in height and 12cm in girth
Thanks, Tom.
Some apps (like banking) may not work on rooted phones.
They use Google SafetyNet to check for root. There are ways to trick SafetyNet on a per-app basis
Even if you root your phone properly, you may not be able to unroot it.
With Magisk, it’s as easy as flashing a single file, and if you want to be thorough, you can just wipe a few partitions and re-install your ROM
anyone can boot into that subsystem and access/alter the OS
Right. I was looking at it from a malware point of view, since OP’s question “is it safe” is vague and can have one of at least three meanings. If your phone is rooted and the wrong person has physical access to it, they can bypass factory reset protection, among other things
However, most phones nowadays encrypt their user’s data using the lock screen password as the encryption key. I think this would limit an attacker’s access to user data, but don’t quote me on that
It means getting access to parts of an operating system that you usually don’t have access to. This allows you to improve the performance of your phone, increase its battery life, browse protected files, change the boot animation, customize the UI, change certain behaviors, set a battery charging limit, use v4a (an amazing equalizer app), uninstall system apps, and much more
The process of rooting is a little convoluted and depends on the phone, but you should be able to find a guide for your phone if you look for one. Things can go wrong if you don’t follow the steps perfectly, but there’s always a way out
Your phone will be wiped, so you need to back up your data
Your warranty will get voided in the process, but can often un-void it by unrooting
Your phone will be no less secure, as long as you use a good superuser app (everyone recommends Magisk) and only give root access to apps you trust. Think of it as “run as administrator”
And blocking someone on Lemmy doesn’t block them on Reddit. What did you expect?
I’ll admit that I’ve never made a post on XDA. I just created an account – hopefully I can get some of my burning questions answered
That’s fair, though I’ve found it hard to find information on these topics. I still only half-understand what I’m doing when installing a custom ROM or sideloading Magisk because I usually just blindly follow the accompanying steps
Is what youre saying is that i cant run xrandr before login?
So, same thing, it cant be done before login??
Yes and yes
You might wanna proofread this, mate
Your service is starting, as is evident from the logged message “Started My Shell Script.”
It’s odd that you’re using sudo in the script. The script is already run as root by the service. Also, sudo asks for a password, but you can’t give it one because you’re not running it from the terminal. Xrandr doesn’t even need root
I believe the error message is happening because xrandr needs the DISPLAY environment variable, which is inherited by applications launched from the desktop (e.g. by the “startup applications” feature of your desktop environment, from .xinitrc, or when running it from a terminal window)
See https://wiki.archlinux.org/title/Xrandr#Configuration_using_arandr for something you could try
Base-3: 15 bits
Legal states only: 13 bits
Redundancy due to symmetry eliminated: 12 bits
Combining the previous two: I estimate 10 bits