Convert SVG to PNG in Python
When we developing a project, SVG (Scalable Vector Graphics) is a good picture format, but sometimes we also need PNG format to build our interface layout.
Read More »Convert SVG to PNG in PythonWhen we developing a project, SVG (Scalable Vector Graphics) is a good picture format, but sometimes we also need PNG format to build our interface layout.
Read More »Convert SVG to PNG in Python“Word Embedding” is a technology that is often used in natural language processing (NLP), and its concept is convert text into numerical format (numbers).
Read More »[NLP] What is “Word Embedding”In Ubuntu operating system, most of the software is installed and managed by APT. However, if the software we need is not officially included, we usually use the PPA (Personal Package Archive) to install the software.
Read More »[Linux] How to remove PPA that is no longer usedSometimes when we downloading a file via crawler, maybe network fluctuations or other work interrupt us …… but we don’t have to download the file again.
If we can resume our downloading in breakpoint, we can resume the download progress, continue to finished it.
Read More »[Python] Crawler download a file via resume breakpointWhen we using PyQt5 tool to design the program graphical interface, sometimes maybe we want to hide the title bar to make our interface beauty:
Read More »[PyQt5] Hide the title bar and use mouse to move the interfaceI often got this error message when I learning about machine learning by Python, recently.
'Object arrays cannot be loaded when allow_pickle=False'
The reason for this message is actually very clearly. In fact, it’s just that “allow_pickle” is adjusted to False after Numpy package is upgraded.
And it caused us to be hindered when reading some pickle-encapsulated training data.
Read More »[Solved] ‘Object arrays cannot be loaded when allow_pickle=False’For a long time, if we want to use Linux OS to connect to Windows with graphic user interface, we have many choices, such as Chrome remote, Teamviewer, RDP … etc.
Today I want to record how to configure Linux to use RDP software to connect to Windows. At the beginning, I want to say that these two different operating systems might be in conflict with each other, and they are not so easy to configure. In fact, it takes less than 20 minutes to configure.
So, let’s go.
Read More »[Linux] Using RDP to connect Windows OSWhen we using terminal to connect remote server, we can open the remote GUI program on the local device via some simple configures.
Read More »[Linux] Open remote server GUI program via terminalToday I saw the news and found the sudo tool commonly used in unix-liked operating systems has a heap overflow BUG (number CVE-2021-3156).
At present, it has been confirmed that full root permissions can be obtained in the following version:
According the news, as well as several discussion forums I have roughly read, almost all of them are suggesting that everyone quickly upgrade the package version. This bug was be found in 2021/01 and was notified to the sudo development group.
After a week, the new version of the fix was already online.
And then, I record how to upgrade our sudo package version.
Read More »[Linux] How to upgrade sudo packageWhen we using Chrome browser, sometimes if we went to HTTP website, the browser will redirect to the HTTPS website. (I’m not sure other browser will help us to do it)
Sure, if it can help us to redirect the SSL website is better, but when we are develop a new website and we need to test it step by step, redirect to HTTPS website is trouble. It may be make us can’t test our website.
Read More »Cancel HTTP website to redirect to HTTPS website