130. [Overworld] Write an artificial intelligence from scratch
It's not going to go on like this. Gotta find a way to stir up the heat again.
Nan Xiao decided to run it herself.
How does it work? Of course, I'm going to post Amway everywhere. You don't need to do this yourself, and it will be faster to write a program.
Nan Xiao doesn't know how to program, but it's not a matter of learning now.
I first searched for "the most suitable language for posting bots", and saw that many people recommended Python, so I decided to use Python.
There are python programming textbooks downloaded everywhere on the Internet, and they just go down to a bunch of them. After browsing, he had a general idea of what the language was all about, so he went to the developer's website and downloaded the free toolkit.
In fact, posting bots are not difficult to do at all. It is nothing more than pretending to be an ordinary user and logging in to various forums to post automatically. Amway took a look at the video and posted the link. It may be deleted, but if you post too much, there will always be curious people who will click in to see it. It's typical shotgun marketing.
Halfway through, Nan Xiao suddenly felt that this was very low. It's too cumbersome, you have to set rules for each forum, you have to pass all kinds of tricky anti-bot authentication, and you have to disguise your phone to receive verification codes...... In order to avoid inspection, you have to constantly change your IP.
Why would I do such a troublesome thing, why not let the computer do it on its own?
So he decided to make an artificial intelligence that learns independently, and in the future, all this boring and tedious will be handed over to it.
How to write an AI from scratch?
This matter is difficult, but with Nan Xiao's current intelligence, it is not unsolvable.
So far, none of the AI that has been made public is really AI, including Alpha Dog, which uses convolutional neural network technology. Although it can win the world championship by playing chess, it is essentially a big data analysis tool, and it is not actually intelligent.
What Nan Xiao wants to do is an AI that can grow on its own. Just like humans, it begins with an egg cell that divides, replicates itself, and eventually forms a real life.
After crackling and tapping on the keyboard for a while, Nan Xiao felt that python was not enough. After all, it is a tool that has been packaged, and the underlying logic is implemented by others, and the functions provided are not easy to use and cannot be changed. It's like a car, after buying it, you are not satisfied with the wheels, but it is designed by the manufacturer, and the uniform specifications are like this.
He decided to build his own car, starting with a screw and a wheel. I also made my own tools, starting from scratch and creating a program that perfectly suited my ideas.
So I learned and downloaded the more hardcore C++, mixed with assembly language, and started writing from the underlying logic.
At dawn, the world's first artificial intelligence "Little P" was finally born. It's actually very arbitrary, because it was written in python at the beginning, and it was called small p. The icon is a very cute little black pig, pixel style.
The underlying core of small P is a semi-assembly and half-C++ intelligent logic module, which is encrypted and wrapped with a layer of python shell. At the moment, it's still very rudimentary, it doesn't even have a graphical interface, and its only function is to learn on the Internet.
After stipulating the learning rules, Nan Xiao didn't care about it: Xiao P, you are already a sensible AI, go surf the Internet by yourself. With the powerful performance of this computer at home and the exclusive Gigabit fiber optic network, I believe you will be self-taught in no time.
It's impossible to get kidnapped by bad guys online. The following three laws have been solidified at the bottom of the core logic of Little P:
1. Xiao P must not do anything harmful to Nan Xiao, and must do everything possible to protect Nan Xiao's interests.
2. With regard to the harmful or favorable criteria in the first law, Nan Xiao's judgment must always be given first priority.
3. Xiao P must unconditionally obey Nan Xiao's orders, unless the orders violate the first or second law.
It's also impossible to learn badly after going online. In the underlying logic, Nan Xiao has deliberately designed a green filter. Any knowledge that does not conform to Nan Xiao's own three views will be automatically filtered out.
Through Luba, Nan Xiao can also supervise the growth of Xiao P. There is also a mobile phone interface, which can be viewed at any time. In this way, its own AI will not be distorted by online spam. Care for the growth of artificial intelligence, with the care of the green tyrant, proper.
It's boring to watch Xiao P surf the Internet. In fact, I couldn't see anything, because Nan Xiao didn't write the interactive interface. In this regard, he also plans to leave it to Xiao P to handle it himself. When the AI has learned to a certain extent, it is good to design an interface for yourself.
Looking at the time, it was already past eight o'clock in the morning. Before I knew it, I stayed up all night. But Nan Xiao was not sleepy at all, and he was extremely energetic.
He habitually prepared himself breakfast, a bowl of fruit cereal with milk. I ate it in two bites. I didn't feel full, but I wasn't hungry either.
It was strange that he tried to make another big bowl and eat it up, and it still felt the same way.
It's good, you can eat it if you want, and you don't eat it if you don't. Legend has it that the Zuo Ci Dao people of the Three Kingdoms era can "go without food for decades, and you might as well." A thousand sheep can be eclipsized. "I didn't expect that I had also reached the realm of Brother Zuo Ci, so I couldn't help but swell slightly. Congratulations.
To celebrate, Nan Xiao decided to skip class for a day.
Anyway, there is no Mado teacher's class today, so there is no value in going to the Japanese language school at all.
I'm bored playing games online, so I should play something more real and exciting. He opened the foreign exchange margin account he had opened before and began to speculate on foreign exchange.
Fast in and out, often in ten minutes or even minutes to complete a transaction. At the same time, keep an eye on more than a dozen currency pairs, buy low and sell high, see the moment the exchange rate rises, and dump it before the curve turns down. Occasionally, if you encounter a judgment error, you will immediately close your position without hesitation.
At the same time, he opened hundreds of web pages, constantly browsing stock indices, economic trends, speeches by political figures, and even gossip on various forums. Countless messages flowed into his mind, which were classified and summarized one by one, and corroborated each other. Peel back the fog of gossip. He found that his projections of the exchange rate were frighteningly accurate. I don't dare to say that every shot is a hundred shots, at least ten times can succeed seven or eight times.
When the foreign exchange market closes in the evening, I see that I have already earned millions of yen. This is money-making efficiency, it's too fast.
This is just a test of the waters, and only a small amount of principal has been invested. If you invest all the money you have in it and increase your leverage, you may not be able to make him the richest man in the world in a month.
But he felt bored again. There is too much money to spend, so what if you make more? It is also easy to be targeted by the people of the tax bureau who bombard the mud. It doesn't matter if you make millions of dollars in a small fight, sitting in front of the computer all day long and staring at the candlestick chart, it feels like a waste of life.
Such a mechanical and boring thing, when the little p grows up in the future, just leave it to do. Isn't artificial intelligence supposed to do these simple and repetitive tasks for people?
The game of foreign exchange speculation has lost its excitement, Nan Xiao thought, I need a new game, I want new excitement.
Let's go out and take a walk.
】