[LINUX] Programming Learned from Books May 8

Principles and practices of programming in C ++


Chapter 19 vector, template, exception

--Class templates are also called type generators --The process of creating a type (class) from a class template based on template arguments is called specialization or template instantiation. --The simplest definition of generic programming is to use templates --Generic programming is to write the code corresponding to various people represented as arguments. However, it is assumed that their argument types meet specific Kumon requirements and semantic requirements. --Use a function template if the parameterization target is a function --Such a function is often called a parameterized function, but it is also called an algorithm. For this reason, generic programming is also called algorithm-oriented programming. --The difference between object-oriented programming using class hierarchies and virtual functions and generic programming using templates is that in the former the function to be called is not determined until runtime, but in the latter it is determined at compile time. ――It is effective to combine the two --It doesn't work to use a container of derived class objects as a container of base class objects --It will be a problem if vector <Shape *> is regarded as vector <Circle *> somewhere. --Just because D is B does not mean that `C <D>` is `C <B>`

Data Scientist Training Reader: Introduction to Machine Learning


Chapter 3 Machine learning to be introduced into business

--Regression analysis is a method of formulating the relationship between the objective variable and the explanatory variable and predicting the numerical value of the explanatory variable when the objective variable of the way is given. --The linear regression model is a model that predicts the numerical value of the objective variable with one explanatory variable y = Ax + B ――Random forest is a method that enables highly accurate discriminant analysis and regression analysis by group learning of decision tree models. Linear regression-It can handle complicated problems that cannot be done, and it works effectively even if there are missing values.

Chapter 4 Forefront of Deep Learning

――In deep learning, you mainly learn a function called a neural network. --The process of calculating the input of the next layer from the output of a certain one can be implemented by multiplying the weight matrix and adding the bias vector. --Four frameworks for deep learning Caffe Torch7 Theano / Pylearn2 Chainer ――First master one framework and then learn other frameworks as needed

How did I learn the Linux kernel? Yutaka's technical book


Chapter 5 Linux operation flow

--If there is a defect in the kernel, booting fails, and you cannot log in to the OS, you cannot do anything. --The messages output by the Linux kernel and device drivers are from printk (). You can understand the meaning of the message by finding the part you are reading this and reading it carefully.

Chapter 6 Role of the Linux Kernel

--The English notation of runaway is runaway --The kernel activates Out of Memory before it really runs out of memory and gets stuck.

A book where you can learn the basics of LPIC in a week


Chapter 2 Linux Basic Operations, Files and Directories

--In Linux, CUI (Character-based User interface), which is a method of operating only with character information using a keyboard, is basic. --The advantage of CUI is that once you get used to it, you can operate it faster than GUI. It is easy to automate a series of operations. It is easy to operate a computer in a remote place via a network, etc. --The root user is called the superuser, and the others are called general users. --If you log in as the root user and work, even a small mistake can cause fatal damage to the entire system. --For root user, $` `` changes to` `#` `` --Log out withexit --The `` `cal command displays the calendar --The calendar for August 2020 is displayed with cal 8 2020 -- cal -m -3 displays 3 months before and after with Monday at the beginning. --The order in which multiple options are specified at the same time does not matter. Also, space is not required --Basically, it is specified in the order of option arguments --You can see the online manual at `man``` --``` man cal``` to display the manual of cal command --You can specify the section like man 5 passwd --If you don't know what section the online manual has, you can use the whatis``` command to extract and display only the first line of the manual. --Some commands display a brief description of the online manual catechism with the `` --help option. --Only the root user can use the `` `shutdown command. -- shutdown -r reboot after system shutdown reboot -- -h Shut down the system and stop it -- -c Cancel a running shutdown --You can specify `23:45``` or `+ 5 (after 5 minutes) for the argument time. -- shutdown -h now immediately shuts down the system -- shutdown -r now restarts immediately -- shutdown -r + 10``` restarts after 10 minutes

CODE COMPLETE Aiming for perfect programming


Chapter 1 Welcome to Software Construction

--Construction generally indicates the practical part of making something

Buddha's words

https://amzn.to/2A4nVdf ** I think we need to know human weaknesses to create artificial intelligence that saves humans **

Chapter 3 Great Chapter

—— Don't be hungry, eat, be greedy, and be greedy. ――The two types of observation methods are to know the cause of suffering and to know the way to the disappearance of suffering. --People who do not know the book in which suffering occurs and who do not know where suffering perishes or how to reach extinction of suffering cannot extinguish reincarnation.

Learn from the internet

--I tried to block all sites in the hosts file and specify exception sites for about 2 hours, but I couldn't find any information.


--Schedule of 2020 fall semester --I took a UNIX lab and a structure and algorithm. Screen Shot 2020-05-08 at 2.25.37 PM.png ――Recommended because it became easier to read e-books on the monitor after missing the blue light-cut orange lens glasses.

Source: It is described in the amazon link.

Recommended Posts

Programming Learned from Books May 8
Programming Learned from Books May 9
Programming learned from books May 11
Programming to learn from books May 10
Programming to learn from books May 7
Iptables learned from documentation
Deep Python learned from DEAP
This and that learned from boost.python
[Python] Object-oriented programming learned with Pokemon