What is the Turing community?

Question 1: What should I do if the Turing Community does not have kindle? Hello, I recommend a good website to you: kindle114/

Question 2: The Turing Community reads the smartest people in the world. What kind of study they are doing? For them, life is really short, but it is enough to seize the time. As for why I say this, I recommend you to read Leonardo da Vinci's biography.

Question 3: Turing Community Reading Why use API? Under what circumstances should you avoid using APIs? The original meaning of web is spider web and web. In web design, we call it web page. Now it is widely translated into technical fields such as network and Internet. It manifests in three forms, namely hypertext, hypermedia, hypertext transfer protocol (HTTP), etc.

Question 4: Turing Community Reading Original: Why is JavaScript a synonym?

Question 5: Turing Community Reading found good foreign books, how to recommend the introduction of published books? It is very simple.

Question 6: How does the Turing Community book switch from other languages ??to Objective-C? The book you mentioned is very comprehensive, and the advantage is that the content is relatively new. It can be used as a reference book and tool book, but one of its flaws is that it does not describe in detail some basic mechanisms that need to be known in development. People I teach sometimes do not understand some parts of this book (follow it) They can make it, but they don’t know the principle, so they often change the form and they can’t do it). Therefore, I still recommend Stanford’s open courses and the Turing series of books. Below are the three stages that I summarized the iOS development learning process based on experience. It is purely based on experience. You can refer to it.

The first step is to learn the development language Objective-C. For reference, just read the Objective-C Basics Tutorial. After reading the book, I need to add some knowledge about object-oriented. Generally, computer major students are exposed to this kind of thinking when they learn C++. There will also be some explanations in the reference book I recommend. For advanced learning, you need to read the information later. There is no specific textbook, because object-oriented is a programming idea. Fortunately, Objective-C itself is the embodiment of this idea.

Question 7: Turing Community Reading How to use mathematical formulas in Markdown. Example of inline formula: Riemann_zeta. This formula is the Riemann zeta function. Here's another formula: pi/4, discovered by John Machin in 1706. It should be noted that these three inline formulas (the single Greek letter ζ in front is also an inline formula) all use the \textstyle command at the beginning of the formula, so that the formula is typeset according to the font size in the text line formula, and also changes the The way sum limits are formatted in formulas.

Question 8: Turing Community Reading How to use mathematical formulas in Markdown When writing articles using Markdown in Turing Community, if you add four spaces or a tab character at the beginning of each line of a paragraph of text (Tab), this text will be regarded as program code. In this way, the programming language used will be automatically recognized, code coloring, and syntax highlighting will be performed.

Question 9: Turing Community Reading Is Java ready to support HTML5? Every new Apple mobile device and Apple notebook supports the latest HTML5 standard. Some large social networking sites, including FACEBOOK, have already used HTML5 technology in content push functions. But senior JAVA application developers still have a question: Is the JAVA community ready to make efforts for the development and integration of HTML5?

HTML5 provides more interactive content directly using the browser, simplifying rich The content push process reduces reliance on patented technologies (such as Adobe Flash and Microsoft's Silverlight), improving the user experience.

In the field of rich content, the only pure JAVA solution provided by Oracle is JavaFX. When integrated with HTML5, its living environment will also be threatened by the latter.

At the JavaOne conference in September 2011, Cameron Purdy and Adam Messinger unveiled the Avatar project to simplify the development of applications that leverage HTML 5 technology. "Although you can now use HTML5 for front-end work and Java for back-end work, but this will not bring you any fun. This combination is easy to use, and it is not easy for Java developers and HTML5 developers to cooperate. It’s very difficult,” Adam Messinger said when talking about the current development of HTML5 technology and standard Java technology.

Unfortunately, after the conference, Adam Messinger no longer served as vice president of Oracle's Fusion Middleware department, but joined Twitter as vice president of the Infrastructure Engineering department. Although it has been six months since Avatar was first unveiled, there is almost no mention of the project on Oracle's website.

Of course, others in the Java community will argue that Java is actually ready for integration with HTML5. For most enterprise applications, Java runs on the server and pushes content from the server to the Web. The content pushed out is usually not considered to be generated by the bytecode running on the JVM. The Model-View-Controller (MVC) approach means that the Web layer (view) will be developed separately from the control logic, data, and business logic implemented in Java.

With the independent web layer, moving from HTML4 to HTML5 only takes a few lessons, upgrade development skills such as new HTML5 features, and then start taking advantage of HTML5 canvas, silencer and video. Although the Java community firmly believes that their applications can be developed with complete separation of the view layer and the logic layer, in fact, the rendering technology of many websites is closely linked to the HTML4 specification.

For example, JSF (a Java EE standard designed for the development of the UI layer of Web applications) contains a large number of tags that map directly to the HTML4 specification. This tight coupling has attracted widespread attention, and JSF is likely to be firmly bound to HTML4 before the next version of the standard is released. But many experts predict that the transition from HTML4 to HTML5 will be faster than imagined for JSF developers.

Making JSF ready for HTML5

The JSF specification separates its logic layer and rendering layer, which means that it can be accommodated by simply replacing the renderer on an existing JSF component new standards.

Switching from other technologies to HTML5 is easy, you just need to change the renderer. Even if you only need to update it, you don’t need to replace it. This is fundamentally different from treating HTML5 as a brand new technology. So you just need to update the renderer to include HTML5 tags, and you're done. I'm sure they are discussing support for HTML5 tags in JSF2.x. If you look at the rich component library, you'll find that actually converting other technologies to HTML5 is easier than you think because the renderer is not specifically tied to the implementation. They only need to update the components and functions of the HTML5 form.

In addition, JSF is born for very strong flexibility and customization, so we see that many position documents have been applied and display HTML5...>>

Question 10: Turing Community Reading Why should we choose Python language to implement machine learning algorithms? Hello

Based on the following three reasons, we choose Python as the programming language to implement machine learning algorithms: (1) Python The syntax is clear; (2) it is easy to operate plain text files; (3) it is widely used and there is a large amount of development documentation.

Executable pseudo-code

Python has a clear grammatical structure, and everyone also calls it executable pseudo-code. The Python development environment installed by default already comes with many advanced data types, such as lists, tuples, dictionaries, ***, queues, etc. You can use the operations of these data types without further programming. Using these data types makes implementing abstract mathematical concepts very simple. In addition, readers can use familiar programming styles, such as object-oriented programming, procedural programming, or functional programming. Readers who are not familiar with Python can refer to Appendix A, which provides a detailed introduction to the Python language, the data types used by Python, and installation guidelines.

The Python language is very simple to process and operate text files, and it is very easy to process non-numeric data. The Python language provides a wealth of regular expression functions and many function libraries for accessing Web pages, making extracting data from HTML very simple and intuitive.

Python is more popular

The Python language is widely used and there are many code examples, making it easy for readers to learn and master quickly. In addition, when developing actual applications, you can also use the rich module library to shorten the development cycle.

In the fields of science and finance, the Python language has been widely used. Many scientific function libraries such as SciPy and NumPy implement vector and matrix operations. These function libraries increase the readability of the code. Anyone who has studied linear algebra can understand the actual function of the code. In addition, the scientific function libraries SciPy and NumPy are written in underlying languages ??(C and Fortran), improving the computing performance of related applications. This book will make heavy use of Python's NumPy.

Python's scientific tools can work together with the drawing tool Matplotlib. Matplotlib can draw 2D and 3D graphics, and can also process graphics often used in scientific research, so this book will also use Matplotlib extensively.

The Python development environment also provides an interactive shell environment, allowing users to view and detect program content when developing programs.

The Python development environment will also integrate the Pylab module in the future, which will merge NumPy, SciPy and Matplotlib into one development environment. At the time of writing this book, Pylab has not yet been integrated into the Python environment, but we will certainly be able to find it in the Python development environment in the near future.

Features of the Python language

High-level programming languages ??such as MATLAB and Mathematica also allow users to perform matrix operations. MATLAB even has many built-in features that can easily construct machine learning applications. Moreover, MATLAB's calculation speed is also very fast. However, the disadvantage of MATLAB is that the software cost is too high, and a single software license costs thousands of dollars. Although there are third-party plug-ins suitable for MATLAB, there is not an influential large-scale open source project.

Strongly typed programming languages ??such as Java and C also have matrix mathematics libraries. However, the biggest problem for these programming languages ??is that a large amount of code must be written even to complete simple operations. Programmers first need to define the type of the variable. For Java, they also need to implement getter and setter methods every time they encapsulate a property.

Also remember to implement subclasses. Even if you don't want to use subclasses, you must implement subclass methods. In order to complete a simple job, we have to spend a lot of time writing a lot of useless and verbose code. The Python language is completely different from Java and C. It is clear, concise, and easy to understand. Even non-programmers can understand the meaning of the program, while Java and C are as difficult to understand as bibles for non-programmers.

Everyone has learned to write in the second grade of elementary school, yet most people have to engage in other more important jobs.

——Bobby Knight

Maybe one day, we can replace "writing" with "writing code" in this sentence, although some people are very uncomfortable with writing code. Interested, but for most people, programming is just... >>