[Ubuntu 20.04][MySQL5.7]Problems installing mysql5.7 on Ubuntu 20.04

E: Sub-process /usr/bin/dpkg returned an error code (1)
by n 2022.01.03

First, you’ll need to follow this artical cause installing mysql5.7 to ubuntu 20.04 requires lots of manual settings.

https://computingforgeeks.com/how-to-install-mysql-on-ubuntu-focal/

Or follow this artical if you need to down grade from MySQL8

https://www.digitalocean.com/community/questions/how-can-i-properly-downgrade-from-mysql-8-to-5-7-on-ubuntu-20-04

After this, you have a chance to…

[Research][Report]淺讀NVIDIA Video Codec SDK

請多多指教!
NZI -2020.08.27 final edit

0. 前言:

本文嘗試以初學者報告的形式介紹 NVIDIA Video Codec SDK。
內文皆為個人結論,由於我不識專精C++,若有錯誤之處,還煩請告知,不勝感激!

1. 簡介 NVIDIA Video Codec SDK

Nvidia的官網上對於這組SDK的總結是這樣的 ”A comprehensive set of API including hig …

[LeetCode][python3]0029. Divide Two Integers

Start the journey
N2I -2020.07.27

  1. My first solution
class Solution:
def divide(self, dividend: int, divisor: int) -> int:
d=False
if dividend<0:
d=not d
dividend=-dividend
if divisor<0:
divisor=-divisor
d=not d
res=dividend//divisor
if d:
res=-res
if res>2147483647:
return 2147483647
elif res<-2147483648:
return -2147483648
else:
return res

N2I

HI I’m N2I. Now a Computer Science and Engineering Student of NCHU in Taiwan. Check out more about me in https://nzi2020.blogspot.com/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store