FrameXX

joined 2 years ago
[–] FrameXX@discuss.tchncs.de 1 points 5 days ago* (last edited 5 days ago)

It makes sense if your phone is well supported in the custom ROM comunnity and doesn't receive feature or security updates from the manufacturer anymore. I am already 3 Android versions past the last supported Android version by the manufacturer thanks to community maintained ROMs. (Xiaomi Poco X3 NFC).

[–] FrameXX@discuss.tchncs.de 4 points 5 days ago

Google play services is a monolith, that does a plethora of stuff on the phone, including features like quick share, location services, various Firebase APIs for instant notifications stuff, find my device and whatnot, so I think the size is pretty reasonable.

[–] FrameXX@discuss.tchncs.de 5 points 1 week ago* (last edited 1 week ago)

The newer Android versions aren't that much more bloated. Sure. If you compare Android KitKat with Android 14 it is gonna be a bit more demanding probably especially on graphics, but overall there were a lot of improvements to the battery usage and memory management over the years and I have an experience of newer Android versions running better than the older ones. You can have a 6 years old phone that will run the newest Android version just fine because you flashed it with a custom ROM.

When we get to the manufacturer's custom Android skins... Well that's a different story. Most of them are gonna be more or less bloated than stock Android, but this is a problem of manufacturers and the fact that mobile OS market and ecosystem is so much locked down compared to desktop, which makes it harder to remove manufacturer's bloat from your OS, install different ROMs and tinker with it, rather than Android being bloated as an OS.

[–] FrameXX@discuss.tchncs.de 2 points 1 week ago* (last edited 1 week ago) (1 children)

I stoped using yt-dlp frontends the moment I saw youtube actually serving upscaled opus media files (very visible line on a spectrogram). Also their metadata is totally fucked-up and not very well organized and full of shit (comments with huge spaces and non useful metadata...).

Wow really? Are you sure it applies to all audio files? YouTube gathers music records from different companies so they could be of varying quality. To me the opus quality from YouTube was always decent and personally I cannot hear any compression in the audio. The metada is not perfect, but I usually use some tag editor to complete what's missing. YTDLnis on Android does a great job of scraping as much usable metada from YouTube Music as possible.

[–] FrameXX@discuss.tchncs.de 1 points 1 month ago* (last edited 1 month ago)
[–] FrameXX@discuss.tchncs.de 3 points 1 month ago* (last edited 1 month ago)

Cannot speak for other schools in other countries (and I guess this question was targeted at colleges in USA), but I am currently studying Open informatics at Faculty of Electrical Engineering at Czech technical university in Prague and all the courses I have that are not mathematical, but require to use a computer do take into account that you may not be using only Windows, but also MacOS or Linux. I haven't yet encounterered a software that we would be required to use and wouldn't work on Linux, nor did I have to go through any more hassle because I use Linux, but rather contrary to that. In some cases using Linux made things easier and more straightforward for me.

[–] FrameXX@discuss.tchncs.de 5 points 1 month ago* (last edited 1 month ago) (2 children)

The only thing I still don't like much about recommending Linux Mint to beginners is that their Cinnamon desktop still uses Xorg which has some horrible display tearing on some Nvidia graphic cards (can be usually fixed with some tinkering and this is also only my personal experience), which is usually not a thing with Wayland and being Xorg it also means it has inferior touchpad gestures (surely not as smooth as Gnome or KDE) which can be important for notebook users. While being very user friendly it is one of the more resource heavy DE's I would say even more than Gnome or KDE. It also seems to have some problems with battery life? The official Gnome and KDE desktop packages for Linux Mint are pretty outdated, are still Xorg versions and aren't officially supported AFAIK (maybe there are some good community maintained packages). Otherwise I agree it's one of the best choices.

My personal favorite for beginners is Fedora Workstation or KDE edition, because it's up to date and fairly hassle free and stable (except the frequent kernel updates which sometime cause issues, but booting the older kernel is straightforward) and does not much modify its packages from the original or push their products on you like Ubuntu.

[–] FrameXX@discuss.tchncs.de 1 points 1 month ago* (last edited 1 month ago)

You could license it under the (A)GPL, charge for downloads in the Play store or for compiled binaries on ur website and ask for donations on F-Droid.

You could even do a freemium version where some features are locked in the binaries you distribute and need a license from ur website or smth (for those who don't want to use Google Play). (iirc SD Maid 2/SE does this)

Someone else could just compile the app themselves, unlock all premium features and distribute it to play store without violating the license?

[–] FrameXX@discuss.tchncs.de 1 points 1 month ago

You mean the margins between the rounded buttons?

[–] FrameXX@discuss.tchncs.de 1 points 1 month ago* (last edited 1 month ago)

For TVs the manufacturers are the ones who control the bloated adware and make money off of it while on notebooks and laptops it is Micro$oft. Except maybe for TVs coming with Android TV OS, but I think even that can be modified to promote their services.

[–] FrameXX@discuss.tchncs.de 3 points 1 month ago* (last edited 1 month ago) (2 children)

I have a good experience with CalcYou.

 

I know this may sound like an over the top useless tinkerink, but I just like to tinker with, play around with stuff and learn, and that may be why I use Linux on my notebook.

I have read some articles about ZRAM and what might be the best configuration and even chatted with some generative models, but didn't come to a decisive conclusion regarding size, compression algorythm etc... I am asking anyone interested to respond about their experience and recommendations given my specs:

OS: Fedora Linux 41 (Workstation Edition) x86_64
CPU: AMD Ryzen 3 7330U (8) @ 4.39 GHz
GPU: Amd Barcelo [Integrated]
Memory: 5.63 GiB (2 GiB is reserved by the GPU)

I use the notebook for school, mainly lightweight programming and using the browser.

I don't expect any magical improvements from the ZRAM as I already use it with the default config, just wanted to learn something new.

18
submitted 7 months ago* (last edited 7 months ago) by FrameXX@discuss.tchncs.de to c/linux@lemmy.ml
 

I am trying to install Linux (Fedora KDE spin specifically, but this problem is probably not distribution related) on an older Acer Switch 3 (SW312-31P) tablet. The installation always fails when trying to setup grub with "failed to set new efi boot target". Grub shows up when I boot the device, however only UEFI fimware setting is present in the GRUB menu. I repartitioned the whole internal drive as GPT added ext4 partition to be mounted at /, swap partition and FAT32 EFI partition to be mounted at /boot/efi and even told the Fedora installer to reformat it as EFI, however the result is still the same. I think the problem lies somewhere within the EFI firmware of the device itself, because when I run

sudo efibootmgr -v

I get this result:

Skipping unreadable variable "Boot0000": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0001": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0002": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0003": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot0005": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot2001": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot2002": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
Skipping unreadable variable "Boot2003": Input/output error
error trace:
 efivarfs.c:271 efivarfs_get_variable(): read failed: Input/output error
 lib.c:140 efi_get_variable(): ops->get_variable failed: Input/output error
show_order(): Input/output error

Does anyone know what does this mean? I tryed asking Generative AIs, however they would usually advice me to remove faulty entries with some command that wouldn't work (usually using the efivar utility which would at least list all the variables without throwing an error).

I tryed using the "load optimized defaults" option in UEFI settings. That didn't help. I have secure boot disabled.

On start grub prints out "checking media [fail]" before showing boot options.

 

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?

view more: next ›