分类目录归档:学术经验

电脑被偷偷安装了挖矿软件protect.exe一路赚钱

今天打开电脑发现word十分卡顿,非常不正常。打开任务管理器出现了一个进程,protect.exe, cpu占用率高达98%。寻找到进程的地址,C:\Program Files (x86)\YiLu\,看名字就是国内的作品。搜索相关信息确认是一个挖矿软件。查看安装时间是1月7日早上6:59, 显然不是我自己安装的软件,估计电脑被黑了。点击 C:\Program Files (x86)\YiLu\unins000.exe卸载。进一步地安装360进行电脑查杀。

查看了下软件的相关信息:

http://www.iguaji.com/yiluzhuanqian.html

1、一路赚钱是 2018 年上线的一款挂机软件。
2、官方描述:软件将利用计算机算力进行分布式计算、网速测试、广告业务等工作。
3、挂机哥经过分析,软件主要执行分布式计算,占比 90%以上,网速测试几乎很少,而广告业务相当于 0。
4、什么是分布式计算呢?挂机哥认为更合适的词应该叫区块链。一路赚钱的核心工作就是挖矿,也许是比特币,也许是其他虚拟币。为什么判断一路赚钱是挖矿呢?因为你挂机的收入多少,与 CPU 和 GPU 性能有关。
5、在一路赚钱官网,列出了用户收入排行榜,假设榜单为真实榜单,那一路赚钱是非常给力的,第一名一年收入超过 20W,第二名到第五名分别是 11 万+、10 万+、6 万+、5 万。(这是高手)
6、当然,这些高手并不是一台机器挂机产生的收入。也许他们的 CPU 和 GPU 级别都比较高,按照单机年收入 500 元算,第五名要有 100 多台配置很高的机器才行。都是需要仰望的存在!!
7、这算是挂机哥分享的第一个挖矿类的挂机项目,以此为起点,后续还将分析更多。

官方网站:https://www.yiluzhuanqian.com/,已经无法访问。https://www.5v13.com/yznr/19097.html有软件的相关介绍。

Compatibility between Microsoft Word and google docs

Microsoft word 和google doc的兼容性问题

Recently I use google docs for teamwork. However, because the original file is made of Microsoft Office Word, there are several issues that some information/feature lost when I save the file with google docs.

  1. The number of the title will not display in google doc.
Original in word
Displayed in Google doc

2. The personal format of text will not take effect in google docs.

I created a format “dasda”

open in Google Docs, my personal format is removed/lost.

3. The color and format of table in google doc is different in Microsoft Word

Table in word
The table in google doc

4, the Equation from MathType is not correct but still readable and can be normal again in Microsoft Word. You will lose all the numbers of equations.

5. Endnote is not compatible with google doc.

WordPress:如何屏蔽垃圾评论

How to block spam comments

有了网站才明白垃圾评论这么多。这里推荐三个插件阻止垃圾评论。

  1. 首先是插件Akismet,这个可以自动阻止一下显然的垃圾评论。下图是我这个网站的垃圾评论拦截记录。只是这个插件的个人版功能有限,所以还需要另一个插件进行辅助。

2. 第二个插件是WP Captcha

这个插件可以给评论设置不同的验证码,比如数学,或者计算等等。例子就在这篇文章的最下方。因为国内不能访问google,所以这个验证码相对来说还是比较弱的。

3. 第三个插件 Wp 安全

这个插件是一种防火墙,可以屏蔽特定的ip。到设置里->垃圾防护->垃圾评论的ip监控。这里可以选择“启用自动阻止垃圾评论的ip”。这样就可以防止某个ip频繁设置垃圾评论。

4. 最后wordpress自身设置

在仪表盘的设置->讨论->禁止使用的评论关键字, 这样就可以对Akismet作为补充。

EA Play Games list and comments EA play 会员以及游戏推荐

Recently, I bought the EA play membership and have tried a few games. Here I will give some comments of the game. Here I just give the comments.

  1. Battlefield series. Battlefield 1 and 5 has the best picture quality and the campaigns are also good. The battle with tanks and planes are quite cool. Aside from these two, the picture qualities of the other seires are just soso because of the early release (>5 years ago). Battlefield hardline is not recommed, bored in play. Battlefield Bad company 2, amazing.
  2. Plants vs. Zombies. Good games to relax. The classic 2D one does not have a high resolution setting not suitable for 4k monitor. The 3D ones (Garden warfare, GW2 and Battle for Neighborville) are simillar with good picture quality and cute charaters. The Neighborville has more characters and the nut is the best one to me, funny to play.
  3. Sea of Solitude. The sunny scence is beautiful but the black one is not comfortable to me. The game is not recommended because of the dark style. Aslo like the name of the game, you will fell bad for the story (quarrel between parents, campus bullying) during playing the game. Don’t play this in the evening.
  4. Titanfall. Good game, nice story and the way to play. The only drawback is the unstable server of EA so that you are not sure wethere you can play the online game or not.
  5. Mass effect. Not finished yet, but the story is cool from others’ review. The picture quality of 1 is so so and not attractive to me. 2 and 3 are better and look relative good.
  6. Crysis remastered. Have not played yet. The picture quality is not as cool as I expected.
  7. Need for speed. A car game. Even though the new ones have better picture quality but my favourite one of this series is “need for Speed Most Wanted (2005)” which is not avaible. Need for Speed™ Hot Pursuit Remastered is similar to Most Wanted (2005), good to play, the the access to free roam is enabled by pressing “L ctrl” in the career page.
  8. Star War: Jedi: Fallen Order has about 20 hours to finish the main mission. It is funning to play as a Jedi. The game has a lot elements similar to Titan Fall 2 and Assassin’s Creed that Jedi is able to run on the wall and climb on the wall.

My hardware is Lenovo Legion 5 Pro 16 82JQ001PGE. AMD 5800H, 32 GB Ram, an external monitor, 4k resolution.

Shortcomings of the Bluetooth speaker Sony SRS-XB12

There are two shortcomings of the Sony SRS-XB12. First, it can not be held on or stay asleep without connection to any device. It will automatically shut down. So you need to turn it on every time when u use it. If you have two of them and make them as a pair, then you need to turn on each of them. The most dissatisfying stuff is that if you have two of them as a pair and you want to connect them with another device, then you will have trouble. You need to operate many times, press the “power button” and the “add button” to successfully connect them to another device. All in a word, it is not recommended to buy this model.

Davinci 17 is not running well on Windows 11

It takes sveral mins to load the project on windows 11 which only takes 1 second on windows 10. The hardware is the same, no idea what happened. I do not recommend upgrading to windows11.

不能理解达芬奇的软件设计,自从更新了windows11之后,打开project奇慢无比。loading界面也是。

重装软件之后运行又快了。这里不能安装davinci的control panel。

Nature 投稿记录

Manuscript under consideration 18th January 22

Manuscript received 17th January 22

Manuscript under submission 17th January 22

虽然投nature 被拒了,但是这里也记录一下时间线,按照nature 投稿系统的排序结构,这里时间上由近到远。

Decision sent to author (Rejected) 20th September 21

Manuscript under consideration 09th Sept 21

All Reviewers Assigned 25th Aug 21

这之后editor会给corresponding author发邮件问confirmation form,顺便通知准备送审。

Editor Decision Started 26th July 21

Manuscript under consideration 23rd July 21

Editor assigned 23rd July 21

Manuscript received 22nd July 21

Manuscript under submission 22nd July 21

How to Run Matlab with Visual Studio Code (vs code)

visual studio code 与matlab的配置方法

In order to have a more decent program editor for windows, I try to use vs code to write the m file for Matlab, however, I cannot run it in vs code. Then I start to search for a way to run Matlab script in vs code. Because of the updates of the vs code and related plugins, it takes me about one hour to figure out how to do this. I have read a Chinese tutorial, which is helpful but not enough. Here, I try to list the key steps for the configuration in vs code.

First, install plugins: Code runner (publisher:”Jun Han”), Matlab (publisher:”Xavier Hahn”), Matlab-formatter (publisher:”AffenWiesel”). Just choose the most popular one. Here, matlab-formatter is not necessary.

Second, modify the settings.json of vs code. the file of the setting.json is located in “C:\Users\Rocket\AppData\Roaming\Code\User\settings.json” if you install the vs code in the default directory. The modification parts are highlighted below. You may install Matlab in other folders that you need to change the related path as well.

{
    "python.pythonPath": "C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.9_3.9.1776.0_x64__qbz5n2kfra8p0\\python3.9.exe",
    "editor.renderControlCharacters": true,
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter-notebook",
        "*.m": "default"
    },
    "python.languageServer": "Pylance",
    "auto-build.defaultEnv.name": "STM32F103RET6_creality",
    "security.workspace.trust.untrustedFiles": "open",
    "python.defaultInterpreterPath": "C:\\Program Files\\Python39\\python.exe",
    "diffEditor.renderSideBySide": false,
    "matlab.matlabpath": "C:\\Program Files\\MATLAB\\R2021a\\bin\\matlab.exe",
    "matlab.mlintpath": "C:\\Program Files\\MATLAB\\R2021a\\bin\\win64\\mlint.exe",
    "matlab.linterEncoding": "utf8",
    "code-runner.runInTerminal": true,
    "code-runner.executorMapByFileExtension": {
        ".m" :"cd $dir && matlab -nosplash -nodesktop -r $fileNameWithoutExt",
        ".vb": "cd $dir && vbc /nologo $fileName && $dir$fileNameWithoutExt",
        ".vbs": "cscript //Nologo",
        ".scala": "scala",
        ".jl": "julia",
        ".cr": "crystal",
        ".ml": "ocaml",
        ".exs": "elixir",
        ".hx": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
        ".rkt": "racket",
        ".scm": "csi -script",
        ".ahk": "autohotkey",
        ".au3": "autoit3",
        ".kt": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar",
        ".kts": "kotlinc -script",
        ".dart": "dart",
        ".pas": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        ".pp": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
        ".d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
        ".hs": "runhaskell",
        ".nim": "nim compile --verbosity:0 --hints:off --run",
        ".csproj": "dotnet run --project",
        ".fsproj": "dotnet run --project",
        ".lisp": "sbcl --script",
        ".kit": "kitc --run",
        ".v": "v run",
        ".vsh": "v run",
        ".sass": "sass --style expanded",
        ".cu": "cd $dir && nvcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
    }
}

The third step, save the JSON files and try to run the Matlab file in vs code.

To use matlab-formatter, you need to right-click the open m file and choose the command ” format document”.

the running window is as follows:

The drawback of this method is that the running result will show up in a new window rather than in the terminal of vs code. And also be careful of the name of the running script, the program (Matlab ) may run the script with the same name but in a different folder.

after using this several times, it is not convenient. it is better to editor the script with vs code but run the script in Matlab GUI, then no need to close the pop-up windows. The MathWorks company should do something, even the live script is developed, but not convenient to use.

A review of 3d printer, Ender5 pro from Creality 3D

Recently buy the Ender5 pro, a very cheap version, and only 299 euros from 3Djake.at. The frame of the 3D printer is very solid, no complaints.

Do a simple modification of the 3D printer and update the printer with a BLTouch sensor and use a Raspberry Pi (with Octoprinter) to control it.

Because the motherboard is V4.2.2 which is special and it costs some time to figure out how to connect the BLtouch with the 3D printer. We change the firmware with Marlin. Before this mode, I also install the BLtouch with CR-10S which is simpler. And be careful of the compatibility between the Marlin Version and the build environment. For the Ender 5 pro, you need to use PlatformIO. I suggest using Microsoft visual studio code with the Marlin plugin (quite easy to modify).

Marlin Version Platform(s)Instructions

1.1.x or 2.x8-bit AVRInstall Marlin with Arduino IDE

1.1.9 or 2.x8-bit AVR, 32-bit ARMInstall Marlin with PlatformIO

2.0LPC1768 (Re-Arm)Install Marlin on Re-ARM

https://marlinfw.org/docs/basics/install.html

The print bed is very nice, easy to clean, and also easy to remove the printed parts. however, because of the open-frame design, sometimes the 3D printer will have trouble reaching a high temperature, especially for the bed. One suggestion is not to turn the side cooling fan on if the temperature of the printing head is higher than 250 degrees.

The bearings for the z-axis threaded rod are low quality which generates a lot of high-frequency noise. By lubricate with some oil, the noise is released. a similar problem can be found in https://forums.creality3dofficial.com/community/ender-55pro/ender-5-pro-noisy-bearings/.

One bad thing for this printer is once there is an error from the printer, for example when the bed loses too much heat, the printer will shut down and generate an extremely loud warning sound also the connection between the Octoprinter is cut off. A full restart is required to reboot the 3D printer meanwhile the raspberry Pi needs disconnecting from the 3D printer. After the 3D printer works again, then plug the raspberry Pi into the 3D printer and reconnect the printer with the Octoprinter. A little bit sad about this design and don’t want to change it at this moment by myself. with the older CR-10s, when there is an error, the printer will restart by itself and just need to reconnect the Octoprinter with the 3D printer in the browser by clicking a button.

For the printing head, we have tried both 0.4 mm and 0.2 mm nozzles. Quality is fine. 0.1 mm nozzle is not support.