Skip to content

Blog

[Solved] 'Object arrays cannot be loaded when allow_pickle=False'

python
Display Python code on the screen

Introduction

I 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'

[Linux] Using RDP to connect Windows OS

Linux is an operating system that can do all the functions you imagine
Courtesy of Wiki

Introduction

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 OS

[Linux] How to upgrade sudo package

Linux is an operating system that can do all the functions you imagine

Introduction

Today 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:

  • Ubuntu 20.04(sudo 1.8.31)
  • Debian 10(sudo 1.8.27)
  • Fedora 33(sudo 1.9.2)\

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 package

Cancel HTTP website to redirect to HTTPS website

  • Clay 
  • Uncategorized
Cryptocurrency mining equipment, isometric ethereum digital currency extract, blockchain system dark blue vector illustration

Introduction

When 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