Mirco Code News [/2018/04/23]

Deep into free store & stack

Q: May I ask what book to read if you want to understand the concepts of free store or stack mentioned in the C++ book? Looking at stroutrup's programming practice and principles.

A: Continue to read the book completely. If you are finished, read the following two books. In the middle, you can search for some keywords and find some articles written by others to confirm. If there is something you don’t understand, you can write more code to verify it yourself.

Choosing a Name for Your Computer

RFC1178 This guide discusses how to name a computer, including some bad naming and some good naming entries, and explains the reasons respectively, it is a good guide.

Don't:

  • Don't overload other terms already in common use.
  • Don't choose a name after a project unique to that machine.
  • Don't use your own name.
  • Don't use long names.
  • Avoid alternate spellings.
  • Avoid domain names.
  • Avoid domain-like names.
  • Don't use antagonistic or otherwise embarrassing names.
  • Don't use digits at the beginning of the name.
  • Don't use non-alphanumeric characters in a name.
  • Don't expect case to be preserved.

Do:

  • Use words/names that are rarely used.
  • Use theme names.
  • Use real words.
  • Don't worry about reusing someone else's hostname.

"Most people don't have the opportunity to name more than one or two computers, while site administrators name large numbers of them. By choosing a name wisely, both user and administrator will have an easier time of remembering, discussing and typing the names of their computers."

Eddy currents and innovations in scientific research

http://wap.sciencenet.cn/blogview.aspx?id=1084959

"The basic definition of turbulent flow phenomena for academic 'innovation' is: due to the large number of researchers (large pipe flow velocity) and long research time (large circular pipe length), resulting in a certain period of time (a certain downstream position of the circular pipe) There is a cessation of no substantial research progress (the occurrence of turbulent stagnation) and, in the recent and current (sometimes, local academic groups), further academic regression (the turbulent zone may have backflow along the pipe wall) Phenomenon)."

The authors summarize their understanding of innovation in scientific research:

** In short, the principle of consensus cannot be used to evaluate "innovation"; violation of consensus is not true "innovation".
** Violation of common formula (denial of existing academic achievements) + inability to accommodate most experiments (arguing on a few experiments) = false innovation.
**Intrinsic innovation (absorbing and digesting the nature of consensus) + formal consensus violation (reinterpreting relevant majority experiments) = true innovation.

Case by Case copywriting routine

What Makes a Great Extension?
introduction
...
Make It Dynamic 
....
Make It Fun
...
Make It Functional
...
Make It Firefox
...
Make It Clear
...
Make It Fresh
...
Submit Your Extension Today
...

Factfullness

Just read a chapter of the book Factfulness and found it interesting. The author first asked the students to demonstrate the stereotypes of "developing" and "developed" in their brains by asking "child birth rates in different countries", and then the author used statistical data to challenge the students' perception.

The students also suggested that "the number of children per family is small and the overall survival rate is high" to distinguish "developed" from "developing." At this point, the author believes that the time is ripe, and first shows a bubble statistic, which "greatly supports the students' point of view." Indeed, developing countries have more children in each family, and the overall survival rate is lower than 95%. For example, China And India; while developed countries have fewer children per family and overall survival rates are higher than 90%, such as the United States. There is a clear gap between the two sets.

But then there was a turning point, this statistic was from 1965, and in fact the statistics now show that most countries are located in areas with "low number of children per family and overall survival rate above 90%", Only a handful of countries are in the zone with "more children per family and overall survival rates below 95%", and a few are better.

Therefore, the author believes that journalists, politicians, teachers, etc. are still using "developing/developed", as well as "East/West", "us/you" and other binary concepts of distinction are wrong, in fact In many areas, most countries are in the middle, and there are a few at both ends.

The book looks interesting, and there are 9 other authors who think it's a stereotype of misunderstanding the world. In this way, statistics can better help people understand mindsets that contradict the facts.

Click:

C.R.Rao

I saw a column worth paying attention to: Wang Dingding's History of Economic Thought at Peking University in 2018: People who don't understand these three sentences should not enter. The first article is just a picture with three sentences in it:

  • All knowledge is, in final analysis, history
  • All sciences are, in the abstract, mathematics
  • All judgments are, in their rational, statistics
    -- from C,R,Rao

查了下,C,R,Rao:zh.wikipedia.org/wiki/%E5%8D%A1%E5%88%A9%E5%AE%89%E6%99%AE%E8%BF%AA%C2%B7%E6%8B%89%E8%BE%BE%E5%85%8B%E9%87%8C%E5%B8%8C%E7%BA%B3%C2%B7%E6%8B%89%E5%A5%A5

Calyampudi Radhakrishna Rao (born September 20, 1920) is an outstanding contemporary Indian statistician and mathematician. He is currently a professor emeritus at Penn State University and a research professor at the State University of New York at Buffalo. Rao has received many different honorary degrees and in 2002 received the National Medal of Science. The American Statistical Association called him "a living legend whose research has had an impact not only on statistics, but also on other disciplines such as economics, genetics, anthropology, geology, demography, vital statistics, medicine It has a far-reaching impact on science, etc." The Times of India listed Rao as one of the top ten outstanding scientists in India.

Its mentor is Fisher:
en.wikipedia.org/wiki/%E7%BE%85%E7%B4%8D%E5%BE%B7%C2%B7%E6%84%9B%E7%88%BE%E9 %BB%98%C2%B7%E8%B2%BB%E9%9B%AA

Sir Ronald Aylmer Fisher, FRS (17 February 1890 – 29 July 1962; English pronunciation [ˈɹɒnḷd ˈeɪlmə ˈfɪʃə]), British statistician, Evolutionary biologists and geneticists. He is one of the founders of modern statistics and modern evolutionary theory. Anders Halder called him "a genius who established modern statistical science almost alone", and Richard Dawkins considered him "Darwin's greatest successor."

Super language of JavaScript

There are many upper-level languages ​​that can compile and generate JavaScript, such as TypeScript, Flow, Reason, PureScript, Elm, etc. They all have Union Types, but after the Union Types of these languages ​​are compiled into JavaScript, they are actually different. This is: abstraction leak problem.

This article compares the code using Union Type in the above-mentioned different languages, and the similarities and differences of the JavaScript code compiled into them:
Click: https://blog.jez.io/union-types-flow-reason/

When writing code in the super language of JavaScript, after a long time, there will be a problem that the high-level code cannot be directly mapped into the JavaScript language in the brain. This is a neutral description, neither good nor bad. After all, we write code in C, and it is impossible to directly imagine what the generated assembly language looks like. In fact, it is not necessary, as long as you understand the general principle.

However, JavaScript is natively supported on browsers. In fact, this language represents the browser platform, and there is no way to directly ignore it like assembly or lower-level WebAssembly.

-end-

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324688619&siteId=291194637