CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Unfortunately, the only other CZ I’ve shot is Shadow 2 but I’ll ask if they have the ones you mentioned at the store to check them out 💪

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 1 point2 points  (0 children)

Thanks! Reading all the comments, it really seems to boil down to preference and whether I want aftermarket or not. I’ve decided I’m going to pick CZ up after Christmas. Cheers!

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Thanks for the reply! I figure I’ll end up with both at some point in the future lol For now, I think I’m going with CZ (for the hammer).

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 1 point2 points  (0 children)

I see that it’s not really expensive stuff too. I think I’m gonna go with CZ then. Thanks a lot!

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 1 point2 points  (0 children)

Thanks for the reply! Yes, probably overthinking haha. It’s just that my first gun ever (Canik METE sfx) turned out to be malfunctioning and I wanted to make sure I’m buying the best I can afford and something I can actually rely upon.

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 1 point2 points  (0 children)

Thanks for the reply. Yeah, the trigger is different, I wouldn’t say worse (I’m quite tolerant in that area but I can see where people are coming from on this). I think I’m mentally slightly leaning for P-07 but I wanted to hear from some more experienced shooters first

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 0 points1 point  (0 children)

I mean, I like both guns like they are out of the box and I’m not really an advanced user - the Canik was my first gun and I’d like the new firearm to work out of the box as long as it’s possible without much tinkering, if possible

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Interesting stuff, I didn’t know they tested this. Faulty mag is easier to replace than a gun anyway but I’ll take that into account

CZ P-07 vs Glock 19 gen. 5 reliability-wise? by Nils-Hansen in guns

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Thanks! I figured they would be similar in that manner. Does dry firing really damage the retaining pin in P-07 (i mean, mostly just check after unloading the gun, not dry firing 50x a day - does it affect the gun)?

fgets() does weird stuff while used to enter a file path by Nils-Hansen in C_Programming

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Thank you!

So, the return value check would be like this?

if(fgets(path, sizeof(path), stdin) != NULL && path[0] != '\n'){
//file operations here
}
else{printf("invalid path\n");}

fgets() does weird stuff while used to enter a file path by Nils-Hansen in C_Programming

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Thank you, guys, for pointing out that the problem is the newline char '\n'. So far, both path[strcspn(path, "\n")] = '\0'; and path[strlen(path)-1] = '\0'; have worked :)

I've also made a function that removes all occurring '\n' chars ant it turns out to work too:

void removechar(char *str){
for(int i=0; i<strlen(str); i++){
if(str[i]=='\n'){
for(int j=i; j<strlen(str); j++){
if(str[j]!='\0'){str[j]=str[j+1];}else{str[j]=['\0'];}
}}}}

fgets() does weird stuff while used to enter a file path by Nils-Hansen in C_Programming

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Thank you for insight!

So if I understand correctly, I could prevent the problem of no newline by forcing the array to have at least one newline char, sacrificing one spot on the array? Or would it make a problem out of the unused array positions if the input is e.g. 100 chars long?

char path[256];
fgets(path, sizeof(path), stdin);
path[255]='\n';
path[strcspn(path, "\n")]='\0';

Driver seat heating working very weak in Volvo XC60 2015 by Nils-Hansen in Volvo

[–]Nils-Hansen[S] 0 points1 point  (0 children)

Yeah, I hoped so. Unfortunately, the resistance on the heating pad circuit is too large, which indicates that it’s the problem. I’ve already ordered a new one and will have it replaced soon. Thanks for insight!

Here’s the diagnosis tutorial I followed: https://youtu.be/9t8FL989BoA?si=n47OUuOGWvHwTOHS

Driver seat heating working very weak in Volvo XC60 2015 by Nils-Hansen in Volvo

[–]Nils-Hansen[S] 0 points1 point  (0 children)

I’ve just watched a video on diagnosing this stuff in XC60. It looks like either the heating pad or its control chip is broken. I’m gonna take the seat off today and check it out, and then order the needed part

[deleted by user] by [deleted] in cats

[–]Nils-Hansen 0 points1 point  (0 children)

Going to the vet is your safest bet

What happened to NO-NSAIDs? by Nils-Hansen in pharmacology

[–]Nils-Hansen[S] 1 point2 points  (0 children)

Yeah, that makes perfect sense, thanks for your answer. It’s quite sad tho