These two questions, such as those that have recently been invited to answer,
How to calculate the air state point on the enthalpy wet diagram with matlab?
How to find double integral with matlab?
Perhaps the first question is still a bit complicated, but the second question is too much, it is completely to know as Baidu knows or StackOverflow. (not to belittle the meaning of StackOverflow, but to illustrate the scope of specialization)
I think, in the knowledge of computers, the topic of discussion should be higher (such as the methodological level?). ), such as the characteristics of the analysis language, comparison of the merits and demerits of programming languages, and the following,
We have encountered in MATLAB which slot points?
What is the most beautiful programming language in grammar?
What are the pros and cons of several major math software?
A problem like this,
Is there a simpler way to generate such a matrix m in MATLAB?
It is generally acceptable, because it is a specific problem, but it can inspire some ideas. I remember it was a similar question that prompted me to transfer from Matlab to Python.
Reply content:
I recently answered two more specific programming questions:
- How to output 100 in C language! The first 100 bits? -Milo Yip's answer
- Write a procedure for a prime number within 100? -Milo Yip's answer
I am dissatisfied that both of these issues have been marked as "personal tasks done on their behalf" and have been closed.
These are clearly defined problems, and there are many correct answers, no standard answer.
questions need to be met: Other people may experience similar problems, or the solution to the problem can be helpful to others. If you encounter difficulties by other means, please ask questions and explain your knowledge process.
I think these questions need to be analyzed, and may lead to different attempts, and readers can learn more about these issues and not only help the questioner. Even the answer to the process of answering is to think, and to learn new knowledge in the process of answering and communicating. The other answers to the second question above also open my eyes, isn't that a valuable knowledge?
If the problem itself is too boring, naturally no one is concerned, and no one is willing to answer.
As a person trying to answer, I do not care about the object of the problem, nor can I know its purpose. The "Personal task done on behalf of" is purely a guess for a problem that is not personal.
Sometimes, I think it may be that some people think that the problem is too simple, or that there are problems in the school, will report. I think the above question is not intrinsically different from the following.
- How can I tell if there is overlap between a rectangle and a circle on the plane? -Milo Yip's answer
- How do I execute a statement before the main () function in C + +? -Milo Yip's answer
- How to generate random floating-point numbers between (0,1) in C language? -Milo Yip's answer
- How do I simplify bounding polygons?
These problems are more meaningful than those of professional counseling. Moreover, the last one above is my "personal task", report it.
-----
Update: I looked for a similar question about Stackflow and Quora, listed below.
- Integer-calculating large factorials in C + +
- C + +-Calculate the factorial of an arbitrarily large number, showing all the digits
- C + +-Can Anyone explain this algorithm for calculating large factorials?
- How does I find and print factorial of numbers greater than in C programming?
- I wrote a code for calculating the factorial of the first and natural numbers in C + + 4.3.2. I saved the individual digits in a array, but it's giving the right answer for initial numbers is only up to about 20. Why so?
- Python-fastest-by-list all primes below N
- C-determine If a number is prime
- C #-Check If number is prime number
- C + +-which is the fastest algorithm to find prime numbers?
- C #-What's the best, most performant algorithm to find all primes up to a given number?
- How do we make a program in C language to make the first prime number digits?
----
Same day update: Within two hours after this answer was published, the two questions were reopened. Thanks to the advice of the Administrator, I will try to add more explanations after the answer.
So complicated to do, who did not know when the hand of the party ah, see but eyes don't answer.
Some too high-level problems, even if they will not really want to answer, rather than write a blog, see a little more people, do not have to contend with others.
I think the problem of specific and standard answers is much better than the queued of attitude and I think StackOverflow is much taller than I know. The quality of the former answer is about dozens of blocks.
Do not have any superiority, as long as the official permission, nothing is not possible. The following are easier to beat:
1. Give a piece of code that you do not know what code to do for someone to help Debug.
2. How to evaluate XXX, then just a headline in that bare Ben.
As you say how to complete the 1-100 prime is easy to be sealed, but you say 1-10000! Number of primes? Isn't it easy to be blocked? So the next time you want to write the question looks a little bit more ... Note that it is looking. The problem is not good, research attitude is against. Everything is going to be easy after that, knowledge should be shared, first scholars and scholars to share experience, help Yimeimei less detours, I think is a very good thing. I think "Google it" is sometimes very irresponsible, Google will get a lot of uneven results, then why not share their experience to other friends? If there are more specialized, in-depth questions, I feel that the style of knowing will not become lower, but would become even higher. Instead, I think the technical problem of "what language is best and most beautiful" is the most inferior. There is nothing wrong with the specific question, but the problem description should include at least the following points:
1, complete, clear, concise description;
2, clearly explain their own ideas. If necessary, paste the pseudo code or the condensed code. Then seek the correctness and disadvantage of the idea;
3, explain the location of the card, such as related code, compiler error, runtime errors, inconsistent with the expected place.
Can do the above points, I believe there will be good answer to the Lord.
The master can also put the above into English sent to StackOverflow, certainly can receive good reply. Asking questions like these are mostly dumb people.
I believe that Baidu's "MATLAB double points" will be more rapid than to ask a question here. Chip Demon W
I think there are two reasons why it is not suitable to ask a specific programming question. First, the quality of the specific problem is a little uneven, a few difficult to answer, most people do not want to answer just want to spit groove this person himself completely did not start to learn not to start thinking on the only hand to the code ... It is not pleasant to ask such a party question in any place.
What, you say Baidu know?? All right...
Second, it is not a professional to the technology of the website, most will be willing to seriously answer the question is a certain reflection, summary of the comparison ... "Humanities" (? ) question? In such a large environment, it is not a place to raise such a very hardcore problem. In contrast, the question of algorithmic questions, but because of the openness of the problem, is not very likely to be questioned/hated.
---------
No matter where you ask a specific programming question, or if you're asking someone privately, it's a question that the basic non-offensive person can easily get answers to:
0 careful and rigorous description of the problem
1 Give your current ideas/ideas/completed parts
2 probably analyze the place where your thoughts are broken/guess the direction of the bottleneck you are encountering
The question is sincere and saves some time? It is easier to get a serious and pertinent reply.
Of course, if you are a sister, you can sell Moe ... Meow W
And most of the time people are not too willing to help you look at this kind of problem or to teach you something carefully? More willing to throw code directly to you ... Save his time.
So I still think it's better to ask in private than to ask the public, unless it's a high-level problem (it's almost never happened.)
Don't spit out the groove of the others are commented out ... You can't see that. ow o