In the afternoon I installed MySQL according to notes I had taken the
previous time. When I ran
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.
The shy calico cat
In the evening my mother spotted a calico cat. I took my iPhone 5 and
tried to take a few photos but the cat was very shy.
The shy calico cat playing peek-a-boo.
Finding a user's ID on MacOS
If you want to know a users uid on MacOS or OS X you can use the
directory service command line utility as follows:
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 Time Have A Beginning?
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
In the afternoon I listened to a new Pixies track, On Graveyard
Hill, from their
upcoming album "Beneath the Eyrie" out September 13, 2019.
WWDC Apple Special Event
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.