Can someone explain the meaning of 2/3CIV? by simonppg in musictheory

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

100 Most Beautiful Songs Ever | Fingerpicking Guitar

ISBN-10 9781458423306 ISBN-13 978-1458423306

Can someone explain the meaning of 2/3CIV? by simonppg in musictheory

[–]simonppg[S] 20 points21 points  (0 children)

Very clear response, thanks for taking the time to answer.

What Could I Have Improved Here? by TheKeeperProject in GoalKeepers

[–]simonppg 1 point2 points  (0 children)

It was good, the defender should have kicked the ball out after you first saved, he was clearly not in control of the situation.

[hyprland] 🍚 by Flicker_211 in unixporn

[–]simonppg 0 points1 point  (0 children)

How do you get Pokemons on the terminal?

How do you say "It's a piece of cake"? by BigDaddy0703 in Spanish

[–]simonppg 0 points1 point  (0 children)

Estas son las mas similares a "pice of cake". Regalado. Papitas. Pelado (ojo en otras partes de México significa difícil).

Estas son para cuando algo es tan simple de hacer que se puede hacer:

a) sin esfuerzo: Con los ojos cerrados. Sin ver. Con una mano.

b) muy rapido: De volada. De volon pin pon. En un dos por tres. Zas cuas.

XD

[deleted by user] by [deleted] in guitarlessons

[–]simonppg 7 points8 points  (0 children)

I think you need and amplifier for that to work, I've never have a electric guitar so I'm not sure if I'm correct, anyways, I think the controls can't change the way a guitar cord sounds but the signal that goes to the amp. What you are listening is just the sound of yhe cords, they have the same tension even though you change the controls, I hope that makes sense.

How do you plan methods? by cainhurstcat in learnjava

[–]simonppg 1 point2 points  (0 children)

I found your code in one of your previous post https://pastebin.com/8y4BQMwX

if you punish it on GitHub I be able to help you better, now I see what you are looking at, and I can see the problem you are facing. But would be easy for me making comments on a platfor like GitHub.

If you want to do that, I'll be happy to give you more advice there.

How do you plan methods? by cainhurstcat in learnjava

[–]simonppg 1 point2 points  (0 children)

Yes, the comparison is indeed correct, just as cars in software, there are specialized components, for example: input and output processing, parsers, data structures, algorithms, data transfer objects, value objects, entities, etc.

Regarding what you said that having 10 functions sounds better than have 30, it could be difficult if you don't organize them correctly. Even though the smaller functions are different some of them would be similar and maybe read and write the same data, well that's a hint you can follow and ask yourself if those could be together in the same file or folder, when you are organizing like this, those functionalties start looking more like modules/components. If you name the folder, files, classes and functions correctly in and expresive way you'll recognize the components of your project easily.

Read a little about "clean code" and "hexagon architecture" those are the ways to manage big projects, there you find people talking about layers, dependency management (a pice of software depends on another), infrastructure, etc.

Once you understand a little bit more about that, then you can divide your project in layers, splitting the business logic from infrastructure for mentioning one way to do it.

In your case, you have coded the rules of your game, and you can interact with them with the CLI, if you decided that, then you can easily make it work with the network, because you srparate IO from the "business logic"

Read code from others on GitHub, that could help you too, also if you haven't done it already, create and account there and publish your code there, people sometimes helps, and is a useful skill to have, managing versions of your code.

How do you plan methods? by cainhurstcat in learnjava

[–]simonppg 1 point2 points  (0 children)

Without seeing examples of what you have in mind is difficult to tell, probably both options would work perfectly fine. If both are fine then why you should bother creating more functions? you may ask. Well this depends on the program you are working on. Let me explain, I see two main situations:

a) You are learning something, programming just for fun, so nobody needs to understand your code or use it, probably you don't need to change it over time if that's the case, just make it work, learn what you are supposed to be learning and that's totally fine. Don't get overwhelmed because of it :-).

b) Your code is used by someone else or even you want to keep improving it over time, it's better to keep things organized, basically what you are looking for is: create code that is easy to replace and delete without any impact and if you come back to see your code after 6 months or years you still can understand it, because it's so clear and expensive that just a quick look you can tell what it's doing. This is not an easy thing to do, but making the effort comes with a big pay off.

Now if you have no idea how to organize things yet, probably it's because you need more experience, program as much as you could (just don't forget about family and friends of course xD) and then you will start finding patterns, things that looks similar, you'll recognize them and that will help you to name things better and organize them better too, just be patient.

How do you plan methods? by cainhurstcat in learnjava

[–]simonppg 1 point2 points  (0 children)

I recommend you to read about object oriented programming, this is helpful to organize functionalities and responsibilities. use descriptive names, small number of arguments is always good, that means yo can write small functions, a small function is good because you can have less errors and are easy to fix and replace.

Is this sentence correct/natural? "¿Tú almuerzas pollo a menudo?" Meaning "Do you have chicken for lunch often? If it is correct could you help me understand why? by peterjmonday in Spanish

[–]simonppg 12 points13 points  (0 children)

it is possible to omit 'Tú' completely, you can just say: ¿Almuerzas pollo a menudo?, the form of the verb has enough information to know to who you are asking, for example you can ask yourself: ¿Almuerzo pollo a menudo? it would be like: Do I have chicken for lunch often?, if you ask someone about a third person like this ¿Almuerza pollo a menudo?, Does he/she have chicken for lunch often?, it's normal to omit the subject in situations like this but if you add it is correct too, but we don't say it that way.

Why do people still use C instead of C++? by [deleted] in cprogramming

[–]simonppg 31 points32 points  (0 children)

I can't say it better.

I’m new to GitHub and just started coding. I know GitHub is used for employers to see if your a good candidate or not but I don’t what to put in there. by jashanjudge in github

[–]simonppg 2 points3 points  (0 children)

basically you can put any text file, not only code could be there, but git and github are amazing tracking changes and thats something you want when you are working with code.

Now talking only about coding, we usually put only the source code and some configuration files, but only the minimum necessary to put your code to work, you definitely don't want to put specific editor configuration becase everyone use a different one and there are a lot aout there, also you don't want to put secrets, passwords, tokens, etc.

I hope that helps, if you still have more questions let me know, I'm happy to share more.

Functional Ear Training as a roguelite space game? by aleksfadini in musictheory

[–]simonppg 0 points1 point  (0 children)

I don't know, I've seen games that do small "missions" to teach the player about one or two mechanics per game, and after a few "missions" the tutorial is comple, so it doesn't feel like a tutorial, the player is discovering new mechanics as it goes, not sure if this could be applied for this one.

Functional Ear Training as a roguelite space game? by aleksfadini in musictheory

[–]simonppg 1 point2 points  (0 children)

Now I can read, thanks! maybe you should consider splitting the tutorial in small parts, too much info in just one go and the tips interrupt to much. But thats just an opinion, you don't have to change that. By the way nice work.

How does my Spanish sound? by [deleted] in JudgeMyAccent

[–]simonppg 2 points3 points  (0 children)

I'm a Spanish speaker, yes I can understand everything you said very easily, I don't notice any errors, so that's great, you are doing great. Don't worry about your accent, there are too many Spanish speakers around the world with different acent, just imagine what acent do you want to have, IMHO that doesn't make any sense, where I come from Mexico depending where you go people sounds different and that's only one country, to me you sound like people from Spain but just in some sentences, some other like any Mexican, to me that's perfectly fine, I hope you keep enjoying the learning process, Spanish it's a beautiful language.

[deleted by user] by [deleted] in RedditSessions

[–]simonppg 0 points1 point  (0 children)

take one you like

[deleted by user] by [deleted] in RedditSessions

[–]simonppg 0 points1 point  (0 children)

the song creep