Chapter 237: The program is buggy (ask for a subscription, ask for a monthly pass!) )
In the days of the provincial hall, Li Xiang lived a very comfortable life, unlike in Jinghai City, where he was busy solving cases every day, he could also have leisure and develop Xiaomu little by little.
After this period of busyness, Lin Feifei finally put the studio up and down.
When he was on vacation, he also went to see it, and it has begun to take shape.
Although the sparrow is small, it has all the organs, and in that recording studio alone, Lin Feifei invested two million.
The other miscellaneous expenses are added together, and the total investment of Fei Tongfan's studio is about four million.
The registered capital is five million, leaving one million as operating costs and labor wages.
This money is almost all of Lin Feifei's belongings.
This one put all the studs in.
Don't look at her hesitation before, she seems to be very timid.
But once she made up her mind, she really showed the courage to break the boat.
Li Xiang also admires her for this.
"Is there enough money? Otherwise, I'll give you the more than one million first, and the decoration of the house can be slowed down."
Li Xiang didn't want to see her under so much pressure, so he decided to take out the more than one million yuan she supported at that time and open a studio for her first.
"No, I have enough money now, don't worry, I won't talk to you if I don't have enough money, you don't know, I'm okay to take the money out of the stock market, the stock market has fallen a lot during this time, this SFC doesn't cancel high-frequency trading for a day, don't think about this stock market for a day."
"High-frequency trading? What high-frequency trading?"
"High-frequency trading is the use of computer models in the market to buy low and sell high, to earn the difference, this price change is extremely short-lived, ordinary people can not grasp it at all, but the computer can, so the birth of high-frequency trading, even if you make a penny difference at a time, but for the computer can trade tens of thousands of hands in a second, that is really a money printing machine at home."
The speaker has no intention, and the listener has the intention.
Lin Feifei lamented the damage caused by high-frequency trading to the stock market, lamented that she had gotten out of the pit and took the money to Li Xiang to decorate the house, if she still didn't make up her mind to take it out, in just a few days, she would have to lose more than 100,000 yuan.
But when Li wanted to hear the news, he instantly thought of Xiao Mu.
Police stock speculation is not a violation, right?
If you still want to avoid suspicion, keep Lin Feifei's account and use her account to speculate in stocks, there should be no problem, right?
For a while, Li Xiang became interested in this method of making money.
As Lin Feifei said, high-frequency trading is to use models to find extremely short-term price differences, which is the roughest model, and can only make some difference.
But according to Xiaomu's intelligence level, he can develop an intelligent model and analyze the data of each stock to determine which stock is sought after by funds, follow the trend and buy, and when the funds run away, his capital scale is small, and he can also run away in advance.
Together, this idea planted a seed in his heart, and it quickly took root.
"Husband, husband, what do you want? Why don't I respond when I talk to you?"
"Huh? Oh, nothing, by the way, show me your stock account."
Li Xiang was going to study what was going on with the stock first, and take a look at Fei Fei's account first.
"What do you want to do? I'm telling you, you're not allowed to speculate in stocks, this stock speculation is a pit, and it specializes in cutting leeks."
When Lin Feifei saw Li Xiang asking her for a stock account, she immediately became alert, she couldn't take Li Xiang badly.
Now I don't have much money, and if I fall into the sinkhole of the stock market again, it will be difficult to pull it out.
"I know, don't worry, I'm just going to see how you lose, besides, I'm going to play stocks, I'll open an account myself, what do I want your account for?"
Lin Feifei thought about it, if Li wanted to invest in the stock market, he could open an account by himself, and it was useless for him to ask for his own account, so he gave him the account.
After returning home, Li Xiang used his off-duty time to start studying the stock market, the K-line trend of stocks, the amount of hands, and various parameters.
But with his research, Li wanted to find one thing, and that was that it was useless to look at the data.
The only way for a stock to rise is to have money outflow, and when money goes out, the stock price will fall.
Looking at other parameters, there is no reference value.
As long as he makes a model that monitors the inflow of funds in real time, coupled with Xiaomu's intelligent trading, he can completely achieve the main wool.
After having an idea, he began to transform Xiaomu, added a stock model, and then opened a virtual disk, and the stock market began to simulate.
On the first day, a million demo disks were lost, and 10% was lost.
Li Xiang immediately began to find the cause, and the cause of the problem was a vulnerability in the model, and he immediately fixed the vulnerability.
The next day, the demo market made a profit of 2%.
In the next few days, the loss and profit of the model were not very stable, and Li Xiang took a look, and it was his parameter design that was problematic.
But when it comes to adjusting the parameters, to solve this problem, there is a person who is more suitable than him.
That's Kogi.
Xiaomu makes a profit according to his own parameters, constantly adjusts, and then records the profitability, and finally finds a parameter with relatively high profit probability and return, and finally completes the debugging of the model.
This credit is due to Li Xiang's learning ability to complete gradually.
"Let Xiao Mu use the simulated disk to operate in the stock market for a month, and then see how well Xiao Mu has been able to operate the account in the past month."
Li Xiang concentrated the computing resources of the workstation on the stock market model, which is just enough at present.
Fortunately, Li Xiang did not conflict with it, and when Xiaomu was trading stocks, he worked in the research institute and did not use a computer.
By the time he was going to use the computer, the stock market was closed, and there was no need for models.
The time for both sides to use the computing power of the workbench is perfectly staggered, so as not to delay him from continuing to improve Xiaomu.
However, after a few days of simulation calculations, Li Xiang found a problem, the computing power of his workstation is still too weak to support the learning of the stock model.
You must know that there are so many stocks in the stock market, and it is still too far-fetched to conduct simulated trading on his workbench.
When the data is relatively large, it will freeze and then restart.
According to this situation, let alone a month, even a year, this model may not be completed.
"What should I do? Is the plan going to be aborted?"
If the model is not completed, his plan to use stocks to make money will be stillborn, do you want to use this million to continue to buy chips to expand?
Li Xiang instantly rejected the idea.
This more than one million is the decoration money given to him by Lin Feifei, he can't embezzle it, in case Lin Feifei finds out, she will definitely be angry.
Besides, if this million is smashed on the chip, it will be enough to buy seven or eight yuan, but when the time comes, what can I do?
"Let's do it first."
The computing power of the workstation is not enough, and it is difficult to complete the deduction and learning of the model, so Li Xiang has to put down this money-making plan first, and then bring up this plan when the conditions allow it in the future.
In this regard, Li Xiang felt that it was a pity, but he did not have a workstation with superior computing power.
"If only I had a supercomputer."
At this time, Li Xiang was very envious of the research institute, and he was able to apply for the right to use a supercomputer, which was too powerful for the research of the project.
But a supercomputer can easily cost tens of millions of dollars, and Li Xiang can only swallow his saliva, he can't afford it, he can't afford it at all.
Even if you sell him, you can't afford it.
Although he is greedy for the permission to use the supercomputer of the research institute, he is just a painter, and the use of supercomputers is subject to strict permission review, and he does not have this permission.
But what he didn't expect was that he soon waited for the opportunity to get his hands on supercomputers.
That afternoon, Li Xiang was sitting in the studio, continuing to paint, when Xiao Qian brought the latest numbered head and took out the painting he had completed
It was at this time that he heard a quarrel outside.
"Little money, what's going on outside?"
"Brother Li, it's the core program of the skull digital restoration model in the R&D department that runs a bug, and everyone can't find it, so they argue."
"Oh? I'll take a look."
After Li Xiang heard this, he immediately put down the pen and paper in his hand, got up and walked out.
"Huh?"
Qian Zhaoping looked at the skull specimen in his hand, and didn't know what to say for a while.
You are an expert in skull restoration, and you don't have to ask about procedures.
You're just going to see what you can do? Can the program still be on its own?
Qian Zhaoping reluctantly put down his skull and followed.
I saw two people arguing outside, while Professor Xiang sat in front of the computer, checking the code, trying to find out the bugs in the program.
But looking at the way he frowned, it was obvious that he didn't find the problem.
"It's quiet, this is not a vegetable market, you have to argue and go home and argue."
Professor Xiang will also be annoyed, these two are the backbone of the R&D department, and there is nothing to say about their technical ability, but the design concept of the two is not in harmony, and now there is a problem with the system, and the two argue.
And he, as the person in charge of this project, has to coordinate the relationship between the two on the one hand, and wipe their butts on the other.
Now that there is a problem with the core program of the digital reconstruction model of the skull, he has to come over to troubleshoot the problem little by little.
As a result, he struggled here, there was still a quarrel, and his temper came up.
When the two saw that Professor Xiang was angry, they stopped arguing, and stood there quietly observing.
Li Xiang quietly walked over and also stood aside and observed.
The program is developed in the common Python language, which is one of the most widely used programming languages due to its ease of use, and it works seamlessly with data structures and other commonly used algorithms.
Based on its mature development language, many useful libraries of Python can be used in AI, such as Nupy provides scientific computing power, Scypy provides advanced computing, and Pybrain provides machine learning.
It was the perfect way to develop a digital reconstruction model of the skull.
With his ability, he only glanced behind Professor Xiang, and he understood what the problem was, their core program had a BUG, which caused the program to run contradictory, and once it ran to that critical node, it would automatically collapse.
Soon, Professor Xiang also found this system bug when he was calculating, but because this was a problem with the core program, if he wanted to solve it, he had to start over, but if he completely overturned it, the previous code would be written in vain.
He was wondering if there was a compromise to save development time.
"There's no way, there's something wrong with the core code, the logic is self-consistent, and the underlying logic can only be redesigned."
Li Xiang saw Professor Xiang's entanglement, but this is unsolvable, and it is not a trade-off that can solve the problem.
"Oh? You know the procedure, too?"
Hearing this voice, Professor Xiang looked up and found that it was actually Li Xiang's objection.
When he said this, he obviously saw the problem, but he didn't expect him to know how to program.
Qian Zhaoping also sweated when he saw that Li Xiang dared to give advice to Professor Xiang.
Didn't you see that even the director of project development was scolded just now?
When Professor Xiang was researching, he was most annoyed that someone would interrupt his train of thought, but he didn't expect Li Xiang to dare to interrupt.
It has to be said that newborn calves are not afraid of tigers.
Maybe Professor Xiang saw that Li Xiang was an expert in skull restoration surgery, and he wouldn't bother with him, but he would never let him make a casual remark here.
"Understand some, the core program seems to be logically self-consistent, but it runs contradictory and conflicting, and it will get stuck and crash every time it reaches a key node, which is a problem with the underlying program design, and it must be rebuilt and the core program restructured
It can be solved, but optimization alone cannot solve the core problem."
"Li Xiang, why do you say that there is a problem with my program? Don't think you're going to do skull restoration and you're here to point fingers, it's not your turn to talk about the procedure."
The person who spoke was one of the two people who had just participated in the quarrel, and he was also one of the directors of this project, and the underlying core code of the skull digital restoration model program was the one he took his team to participate in the research and development.
"Su Bohai, don't be unreasonable."
Seeing that the contradiction had escalated, Professor Xiang immediately stood up, and after reprimanding Su Bohai, he looked at Li Xiang, "Is there really no other way?"
Professor Xiang understood that this time the system bug was very hidden, and even Su Bohai, who developed it, did not find it, but Li Xiang just stood behind him and watched for a while before seeing the problem, and he boldly guessed that maybe Li Xiang's computer programming technology was not under him.
But to start over, he still can't make up his mind immediately.
"Professor Xiang, don't listen to him as a layman, this underlying logic was developed by our team, please give us a little more time to optimize."
Su Bohai didn't understand very much, why Professor Xiang would easily listen to Li Xiang's words, was it because he was an expert in skull restoration? Just feel free to point fingers?
You must know that in order to complete this underlying core logic code, a group of code that lasted two months without sleep to complete it, and now they don't want it, which is too arbitrary.
"There's no way to continue to optimize, you've been optimizing this program for a day, and you don't even understand the fundamental problem, how to optimize it? Even if it is forcibly optimized, the foundation is not solid, and there will be various problems when it is run in the later stage, Li Xiang is right, this core code program still has to be restarted."
Professor Xiang also seems to have made up his mind, ready to listen to Li Xiang and start over.