In the afternoon I installed MySQL according to notes I had taken the
previous time. When I ran
mysql_secure_installation
I discovered I had to use sudo. I thought I had forgotten to write
this down. Next I tried to connect to the MySQL server as follows:
mysql -uroot -p
But I got an error: "ERROR 1698 (28000): Access denied for user
'root'@'localhost'". After some Googling I learnt that the security
model in MySQL 5.7 has changed and that sudo is required if you want
to login as user root.
In bash this replaces all occurrences of : in the variable PATH with a
newline character. For more information see
Shell Parameter Expansion in
the Bash Reference Manual.
Did the Universe have a beginning, or a time before which nothing
existed? Or did the Universe exist for an eternity, like an infinite
line extending in both directions? Or, quite possibly, is our
Universe cyclic like the circumference of a circle, where it repeats
over and over indefinitely?
Many of us have probably encountered matrices at some point in
math. They’re these tables with seemingly byzantine rules for
combining them. Take the first element of the first row, first
element of the first column, multiply them together, then add, then
spin three times fast… And this is to say nothing for the rules of
inverting.
Last week I used flex box in a project. This evening I
read
The Complete CSS Flex Box Tutorial by
Greg Sidelnikov to learn more about this useful CSS feature.
Starting with the macOS Catalina beta, your Mac uses zsh as the
default login shell and interactive shell. You can make zsh the
default in earlier versions of macOS as well.
In the evening I watched the Apple special event. From what I've heard
and seen I like where iOS, now iPadOS, on the iPad is going; features
like desktop being the default in Safari for sites, Files app with
access to USB flash drives, multiple windows of the same app, etc.
Now I just have to save up for a new iPad as my iPad Air 2 got stolen
nearly a year ago while living in Mexico.