[-] akunohana@piefed.blahaj.zone 1 points 1 day ago* (last edited 1 day ago)

I'm really not deep enough into that culture to understand what you mean. Either that, or it's that I'm a non native speaker? ๐Ÿ˜… Please explain. ๐Ÿ™ Is it not just a nerdy way of saying "making a Linux desktop environment look fancy"?

Nah, tried it, but alas... I just went home and did it with LibreOffice on my Linux rig.

Why? People above ricing now? ๐Ÿคฃ

Didn't work for some reason. Now I'm guessing the files were read-only. But then again, LibreOffice opened them without issues on my Linux rig a few minutes ago...

Done and done ๐Ÿ‘Œ thanks! ๐Ÿ˜Š

Yeah, it's pretty sweet! There's even a whole sub over at Reddit. But be warned: I once asked politely why they insist on ricing their termux instances - expecting some sincere replies - and I got bullied out of there faster than the Millennium Falcon did the Kessel Run...

Yep, that still seems to be the case.

Yeah, I'm on my way home now to do this on my Linux rig. Ugh... Would've been nice to be able to do it from my tab at the cafe, but, we can't have it all, I guess ๐Ÿคฃ

Thanks! Unfortunately, neither were able to open my .docx files.

Nice! Thanks! As a last resort, I'm considering X11 + LibreOffice on Termux.

31

Iโ€™d like to process some Microsoft Word documents on my android tab. Do you have any recommendations on FOSS word editors that work with .doc and .docx on android?

1
submitted 4 days ago* (last edited 4 days ago) by akunohana@piefed.blahaj.zone to c/asklemmy@lemmy.world

Edit: After prompting the user to choose between "login (1)" and "create an account (2)", I am trying to have the program check that:

  • the input is an integer
  • that the input, in case of an integer, is only valid if one (1) or two (2)
  • (optionally) that the data size of the user input is not greater than the integer number one (1) or two (2), as a security measure, to hinder overflow exploits

If I allocate [] or [1] to intCheck the program goes into an endless loop from the very start. No user input required. If, however, I allocate [2] or more, the program works as intended, as long as the total size of bytes of the user input is less than the number of bytes previously allocated. If, however, the user input results in a byte size greater than what was preallocated, the program repeats the else condition of the while loop - here, printf - that number of times. Is this an overflow of choice or what?

//Bank of Haruhi  
 
//TODO  
// - Create user account: require user first name, last name, user name, password, age (deny if < 20 yrs)  
// - Prompt login (deny if != password && username)  
// - Display menu ("About the Bank of Haru", "Account Settings", "Check your balance", "Deposit", "Withdraw", "Close account", "Logout")  
 
#include <stdio.h>  
#include <string.h>  
#include <stdbool.h>  
 
int main(void) {  
 
//Base 
char intCheck[3] = ""; //Will "if (sscanf(char,%d,&int) == true)" check for ANY "char" or a predetermined amount of "char"?  
 
//Registration and login  
char firstName[] = "";  
char lastName[] = "";  
char password[] = "";  
int age = 0;  
 
//Menues and selections  
int choice = 0;  
int arithmeticChoice = 0;  
 
//Balance, deposit and withdrawal  
float balance = 0.0;  
float deposit = 0.0;  
float withdraw = 0.0;  
 
printf("Welcome to the Bank of Haruhi! Please login (1) or create an account (2): ");  
 
while (fgets(intCheck, sizeof(intCheck),stdin)) {  
intCheck[strlen(intCheck) - 1] = '\0';  
if (sscanf(intCheck, "%d", &choice) == true && sizeof(intCheck) == 4 && choice == 1 || choice == 2) break; //I'm keeping "sizeof(intCheck)" in order to excercise byte size input validation, but I could just remove it and let "if choice == 1 || 2" restrict the valid input.  
else printf("Please enter ""1"" to login or ""2"" to create a new account: ");  
}  
 
return 0;  
 
}  

The program is, of course, not nearly complete. I just stopped doing anything else, as soon as I stumbled upon this phenomenon.

1

Good evening! I am reading up on electricity just for the fun of it. I am still a complete beginner.

With that out of the way, I wonder: are electrons negatively charged inanimate objects, perhaps particles, or are they merely negative charge with no physical form? But perhaps without there being an object to exert charge there is no charge?

An other way of asking this question would to my beginner mind be: could we tag and track an individual electron as it flows - perhaps in a piece of copper without significant voltage so that the electron doesn't rush away in the speed of light?

I guess I want to know this in order to understand whether electrons actually loop around in a closed DC circuit in the speed of light or are they just pushing the electron in front of them, creating a domino effect, not actually traveling very far?

Please excuse my incoherent formulation. It's late at night where I am and of course these questions come to mind when I'm trying to sleep.

[-] akunohana@piefed.blahaj.zone 7 points 1 week ago

Just installed and tried out Echoes of the End. After having played extremely story driven titles - like the two Horizon games - I just couldn't learn to love this one. Which is weird, since I LOVED Nier:Automata, for instance.

On another note, this week, I also installed and beat three times, MiSide. I'm absolutely in love. What is wrong with me. ๐Ÿคฃ

On yet another note, anybody going to this: https://www.musicofsquareenix.com/tour

[-] akunohana@piefed.blahaj.zone 5 points 1 week ago

๐Ÿ“–+โœ๏ธ๐Ÿ—’๏ธ+๐Ÿ‘‚+๐Ÿ‘„

15
submitted 1 week ago* (last edited 1 week ago) by akunohana@piefed.blahaj.zone to c/privacy@lemmy.ml

I'm on a rooted Samsung smartphone, running One UI 7.0 and Android 15. Not quite ready to switch to Graphene OS yet. Also, my threat model doesn't require it. Yet. ๐Ÿคฃ

In addition to having debloated with UAD-NG and using HaGeZi's Ultimate DNS Blocklist in AdAway, I have also blocked:

android.clients.google.com  
deviceintegritytokens-pa.googleapis.com  
es11.samsungsm-ds.com  
mtalk.google.com  
pinning-02.secb2b.com  
play-lh.googleusercontent.com  
playstoregatewayadapter-pa.googleapis.com  
prod-lt-playstoregatewayadapter-pa.googleapis.com  
shop.line-scdn.net  

I haven't noticed any unexpected behaviors yet. I also tried blocking:

i.ytimg.com  
play.googleapis.com  
digitalassetlinks.googleapis.com  
android.googleapis.com  

But the first one is needed to load thumbnails on NewPipe and the latter three are needed to login to the Play Store whenever you want to update whatever you have installed through the Play Store - two apps in my case. I have logged out of my Google account and blocked the Play Store with a firewall and only unblock it once a month or so to update Play services and such.

Just wanted to share what can be blocked with a hosts file on a Samsung smartphone. ๐Ÿ˜Š

view more: next โ€บ

akunohana

joined 1 month ago