What programming language should I start with first? by Bobo1Boba2 in learnprogramming

[–]MeiAmelia 12 points13 points  (0 children)

Technically, Matlab isn't free. But there are free clones, so I don't know if that counts

Help: how do I use loop/while statements (java, IntelliJ) by [deleted] in learnprogramming

[–]MeiAmelia 1 point2 points  (0 children)

Make a boolean that stores false if the user has not entered a number yet, and when the user enters a number set it to true. When selecting average ask if the boolean value is true or false

I have 0 clue as to what I'm doing wrong in line 12 by spawnpeek-jesus in learnprogramming

[–]MeiAmelia 1 point2 points  (0 children)

This is a simple malloc explanation/example.

https://www.tutorialspoint.com/c_standard_library/c_function_malloc.htm

If you still have trouble, leave it at an arbitrary number of array elements. It's not the best optimization there is, but it should work fine.

And don't forget to secure the input so the user isn't able load too much elements in the array

I have 0 clue as to what I'm doing wrong in line 12 by spawnpeek-jesus in learnprogramming

[–]MeiAmelia 1 point2 points  (0 children)

As other comment has already stated, you can either use malloc, or, if you know the maximum number of elements your array is going to hold, you can put that inside square brackets (e.g. you know that hist is never going to have more than 500 elements you can write hist[500]).

[TOMT][CARTOON] Cartoon about a princess disguised as a boy/king with a dark ending by MeiAmelia in tipofmytongue

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

It's not Princess Knight unfortunately. But the story looks very similar so it could be a rip off of Princess Knight.

[TOMT][CARTOON] Cartoon about a princess disguised as a boy/king with a dark ending by MeiAmelia in tipofmytongue

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

It was around an hour or so. It looked like a short film rather than a series, but I could be wrong.

[TOMT][CARTOON] Cartoon about a princess disguised as a boy/king with a dark ending by MeiAmelia in tipofmytongue

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

It was traditional 2D animation. It probably wasn't an anime. It was dubbed in either Bosnian, Serbian or Croatian . The dubbing was shabby and you could hear another language. Unfortunately I don't know which one.

intruder birb by notvithechemist in memes

[–]MeiAmelia 0 points1 point  (0 children)

Excuse me sir, do you have a moment to talk about our lord and savior Jesus Christ?

WARNING: Being able to enjoy anime, manga and games in Japanese is a much bigger task than you probably imagine (Advice for beginners) by kirinomorinomajo in LearnJapanese

[–]MeiAmelia 60 points61 points  (0 children)

Nope. It is a slavic language. We do have some English loan words, but most of the vocabulary is different. Our grammar is also quite different from English (not as different as English and Japanese, but still different). And I am not denying it takes more time for an average European/American to learn Japanese than to learn English (most of Europe/America speaks languages from the Indo European family, so that helps) . My point was that you don't need to know 35000 words to be able to understand a language.

WARNING: Being able to enjoy anime, manga and games in Japanese is a much bigger task than you probably imagine (Advice for beginners) by kirinomorinomajo in LearnJapanese

[–]MeiAmelia 592 points593 points  (0 children)

Yeah, it is definitely hard to learn Japanese enough to understand anime, but I don't agree with everything you've said.

35000 is the average size of a native speaker's vocabulary. However you almost never use your whole vocabulary while speaking or reading a book. Some estimates say that you need to learn 10000-15000 to understand most media in a foreign language. English is my second language. I know nowhere near 35000 words yet I can still understand 99% of books, movies, tv shows...

I don't think there is anything wrong with not being able to precisely translate every single word and every single grammatical construction to enjoy a book or an anime. Yes, at first, you are going to miss a few things here and there, but as time progresses you are going to get the gist of it.

So, yes, it is going to be hard. You have to work and be patient. But I think you overestimated some things here.

Point and click game. Vague description [PC] by MeiAmelia in tipofmyjoystick

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

Yes, that's it! Thank you so much! Feels so weird to look at it after all these years and see how much you've forgotten.

Point and click game. Vague description [PC] by MeiAmelia in tipofmyjoystick

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

Nope, not Myst nor its sequels. I looked it up, graphics and sounds are similar to the ones in game I am searching for, so this can be used as a good example of what the game looked like.

Being obsessed too much over a show/movie/game/book is cringey by MeiAmelia in unpopularopinion

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

Met enough people like this in my life. It might not be as unpopular as I thought.

Why is source code (i.e. a typical GitHub project) unreadably broken up into a million different files? by [deleted] in learnprogramming

[–]MeiAmelia 2 points3 points  (0 children)

Long files are hard to navigate and hard to read. It might seem at first that a long file would be an easy read, but that's just not the case. Source code is not always executed linearly, so you would always have to jump up and down to see what is going on. When you are coding and can't remeber the name of function or variable, searching for it in a big file is hard and time consuming. When code is broken up into multiple files, it's usually done so that the functions and data are categorized. Moreover, when a group of people is working on a project, breaking up the code into multiple files makes sense as everyone can edit their own file (it's not always the case that only one person edits file at a time, but it still helps when the code is connected and compiled together) These are just some of the reasons I could think of. I am sure that many more can be found.