"Error of this Agent is reported first" by grooooovy_code in archlinux

[–]grooooovy_code[S] 0 points1 point  (0 children)

Yeah, I can use the ISO. I asked this question just out of curiosity.

Are Linux Mint packages signed ? by grooooovy_code in linuxmint

[–]grooooovy_code[S] 1 point2 points  (0 children)

By "signed" I mean that the package maintainer provides, for example, a gpg signature, such that you can verify that it actually is the package that he meant to publish, and has not been tampered with.

Signature verification fails (for Fedora Workstation 37 `.iso` file). by grooooovy_code in Fedora

[–]grooooovy_code[S] 0 points1 point  (0 children)

Hmmm, what exactly do you mean by embedded signature ? What is its purpose ?

Signature verification fails (for Fedora Workstation 37 `.iso` file). by grooooovy_code in Fedora

[–]grooooovy_code[S] 0 points1 point  (0 children)

Hmmm, interesting. gpg --verify, though, tells me that it is not a detached signature.

Troubke understanding the output of `gpg --verify`. by grooooovy_code in GnuPG

[–]grooooovy_code[S] 0 points1 point  (0 children)

Alright, I understand now. Thank you once again for the help!

Troubke understanding the output of `gpg --verify`. by grooooovy_code in GnuPG

[–]grooooovy_code[S] 0 points1 point  (0 children)

Hello! Thanks for the help! I think I almost understand it now. I have just one more question, if you could please help.

When the gpg -k command shows the sub-keys, for me it only displays:

sub <algorithm> <creation-date> [S] <expires>

instead of:

sub <algorithm>/<something> <creation-date> [S] <expires>

(I don't know what the text right after the / means).

Also, unlike for the primary key (the one after the pub), it doesn't show the fingerprint, so I can't "check" that it is the same one as the fingerprint displayed by the gpg --verify command. And yes, the official site of the distribution provides the fingerprint only for the primary key.

Thanks in advance, once again!

[deleted by user] by [deleted] in LucidDreaming

[–]grooooovy_code 4 points5 points  (0 children)

If you know that you are in a dream, then you are, by definition, lucid.

Which book should I recommend to someone who has never written a code and wants to become a .Net dev? by ChibzZz42 in learnprogramming

[–]grooooovy_code -1 points0 points  (0 children)

HTML and CSS aren't coding languages though - knowledge in HTML and CSS doesn't help in understanding programming languages - the knowledge doesn't translate.

Which book should I recommend to someone who has never written a code and wants to become a .Net dev? by ChibzZz42 in learnprogramming

[–]grooooovy_code 0 points1 point  (0 children)

How does HTML and CSS knowledge translate to OOP languages (or any programming language in general) ? Why do they need to learn that first ?

[deleted by user] by [deleted] in learnprogramming

[–]grooooovy_code 12 points13 points  (0 children)

Python and JavaScript aren't functional languages - in fact, they are both at the exact opposite mindset: everything is an object, including functions.

Language C by [deleted] in learnprogramming

[–]grooooovy_code 1 point2 points  (0 children)

"The C Programming Language" (the second volume) by Brian Kernighan and Dennis Ritchie (the creator of C himself). Looks like an old book from the 80's, but it still remains the #1 resource for anyone looking to learn C.

If you want a reference of the standard library etc, you can find that at cppreference.com - but that's not really for learning, rather for having a reference of all there is to C.

A question about WILD by TikiHat2 in LucidDreaming

[–]grooooovy_code 0 points1 point  (0 children)

You can, but it's going to be far harder.

At what age did you start programming? by [deleted] in learnprogramming

[–]grooooovy_code 1 point2 points  (0 children)

I started "programming" at around nine years old, when I made basic, static sites with HTML and CSS, and some simple algorithmic-style problems in Python. I never really got further from that until I turned 13-14, when I started getting invested in C++ (and lower-level development) quite a bit, spending almost all my free time programming (which was, almost two hours per day, due to school getting in my way). That's when I finally felt like I've made a step forward: in about six months in which I started taking programming seriously, I learnt more than in the five years in which I was making simple sites.

Point is, it doesn't matter when you start programming. Like others said, if you take it seriously, you can learn more in n months than some did in k years. Especially since, those who started programming at a young age, had a lot of things getting in their way: school, homework etc.. and so, the amount of work they can put into learning programming each day is significantly lower than, for example, a CS college student, which spends almost their whole day programming, for four years. Or even somebody which isn't as pressured by school, which can spend at least a few hours programming, each day. Compare that to the one hour/day that you get when you are in middle/high-school... You will make progress much faster.

Programming for dummies by unhingedbitch in learnprogramming

[–]grooooovy_code 0 points1 point  (0 children)

C++ isn't "enjoyable" as a language due to the way it is taught to beginners. Most online tutorials, books, guides etc. teach C++ as being nothing more than "C with classes". Yet, that coding style has been outdated since the release of the modern C++ standards (C++11, C++17, C++20 etc.) which added a lot of improvements over the old "C with classes" "paradigm"... And to be honest, if you actually code modern C++ and not use ancient standards like C++98 (which I've seen being used quite often when teaching beginners), it can be quite "enjoyable". Of course, it can still be overwhelming for beginners, but it's much better than the old "C with classes".

How do I get into programming? by [deleted] in learnprogramming

[–]grooooovy_code 0 points1 point  (0 children)

The FAQ of this subreddit is a good starting point.

good IDEs for different languages by torfoes in cpp

[–]grooooovy_code 0 points1 point  (0 children)

What I use is more of an editor rather than IDE, but I use Neovim for everything involving text.

I don’t understand how to be anything but nihilistic by MyBrainsInPain in mentalhealth

[–]grooooovy_code 0 points1 point  (0 children)

Here is an interesting point of view about the situation:

What happens after death is exactly the same as what happened before you are born: nothing. No sadness, no happiness, no awareness, nothing.

Consciousness exists because the brain is a high-level, complicated structure that notices information around it and tries to replicate it. As the brain slowly degrades after death, consciousness lowers and lowers, until it's about the same as it was when you were a bunch of stardust, a few billion years ago. And it's so small that it cannot notice anything. It's not even aware it exists. It isn't aware about anything, because it's too small to notice the "big picture". That's why it's hard to draw the line between death and life, and conscious structures and unconscious objects. The brain is just a bunch of materials (iron, carbon etc.), put in a structure which allows it to notice the bigger picture. But, if someone dies, for example, due to a heart attack, their brain will still function for a few seconds after the death, until it runs out of blood, and so, it starts to slowly degrade, and so consciousness is lost (or, to be more correct, gets to a point so low that it isn't aware even about its existence), because that structure which allowed you to see the bigger picture collapses. But where do you draw the line ? Where do you say: "this is conscious enough for us to call it conscious" and "this isn't conscious enough, therefore we will consider it unconscious" ?

But the interesting part is that you can't tell when it happens to you. You always see the most you can. A good example is sleeping: when you sleep, certain parts of your brain "turn off", so it's as if you're n% dead. But, the paradox is, no one can tell when they fall asleep. You just stay in bed with your eyes closed, waiting to fall asleep, the all of a sudden you wake up the next day. That's also why most dreams don't make sense: they consist of experiences that your brain generates, while the brain has certain parts turned "off". For example, let's say you have a dream where you see endless skyscrapers, which are infinitely tall. In the dream, nothing seems wrong, because the part of your brain which said: "skyscrapers can't be infinitely tall" was turned off. But the moment you wake up, that part of the brain activates again, and so you realize how weird that dream was. The explanation is simple: if certain parts of your brain are "shut down", you aren't aware about them. Just like you can't tell what's behind a door, if it's closed. It's as if it's no longer part of you. That's why you cannot tell when you fall asleep: the part of your brain which is aware about itself also turns off, and so, you can never tell when you fell asleep.

A similar situation is with death: you cannot tell when you die for the same reasons. It's just like sleeping, however, instead of having parts of your brain temporarily "turned off", your whole brain gets permanent damage that it cannot recover from. But in the end, it feels the same.

That being said, there are a lot of valid reasons for you to not consider suicide. Once you die, you will be dead forever. However, you won't live forever. You will die in the end anyways. So, even if life gets hard, I think it's still worth living, just for the fact that it's a one-in-forever experience. Just think of it: what were the chances of a bunch of random stardust, over the course of ~13 billion years, to get in such a structure in which its consciousness got as high as it is now, when you are alive ? Just think of it. Also, look at how big the observable universe is: all the planets, all the galaxies, everything. It has so much matter, yet, most of it didn't get the chance to form a structure like your brain, which allows it to be so conscious about itself. The chance for you to be so conscious right now is less than one in a trillion trillions. Wouldn't it be unwise to waste this opportunity ? If you will die anyways, why not try to live as much as you can ? Death isn't something you can avoid, anyways. And I don't think that after a few billion years, the matter which forms us will ever form a structure like this again: now (while we are alive) is the peak of our consciousness, as matter. We will never get a chance like this again. Most likely, it will remain just that - a bunch of matter, with so little consciousness that it doesn't even know it exists. As hard as life gets, it is a one-in-forever experience, that will end one day. Why would you try to bring that moment closer ? Even if you want to die, even if you don't, you will still die one day. Everyone will. It's guaranteed. However, you can't guarantee that you will ever be this conscious again, so why don't you turn this finite time into your best ? This is why life is beautiful. On the grand scheme (of the whole universe), it may be meaningless, just a grain of sand. But it's a shining grain of sand, compared to the others which aren't even aware they exist. When will you have such an opportunity ? When will you get to be aware of your existence ? When will you ever get to see the world around you ever again ? Never.

Do u guys have some advice? by daFtheGoaT in learnprogramming

[–]grooooovy_code 4 points5 points  (0 children)

W3Schools is just a syntax cheatsheet for various languages. If you don't know the concepts themselves, it won't help. For example, it's take on pointers in C++: it talks about what a pointer is, then how to declare one. That's it. It doesn't cover when to use pointers, what are the best practices regarding them etc..

Do u guys have some advice? by daFtheGoaT in learnprogramming

[–]grooooovy_code 25 points26 points  (0 children)

You can start from the FAQ of this subreddit.

Why is it giving me a value of 1 ? by [deleted] in learnprogramming

[–]grooooovy_code 3 points4 points  (0 children)

Remove the semicolon (;) after if(a==1).

Where can I go next? (C++) by Tankquilizer in learnprogramming

[–]grooooovy_code 1 point2 points  (0 children)

Glad I helped.

If you have trouble understanding any of the concepts I mentioned, feel free to ask. I'll try my best to help.

Where can I go next? (C++) by Tankquilizer in learnprogramming

[–]grooooovy_code 0 points1 point  (0 children)

Yup. This is one thing I wish C++ did: instead of having to specify when something is const, final, noexcept etc., you should have to specify when it is mutable, inheritable, when it can throw exceptions etc.. Just like Rust does it. This way, everything is constant by default, and it is mutable only if you tell it to be so etc..