emacs in mac os

use this emacs version from eamcsformacosx. sometime, if os x complains the version, use an old version. also, brew install emacs will install core, only in the terminal. you can view them as two separate emacs. to use gui, one need permissions, grant disk access to /usr/bin/ruby and emacs. to see /usr/bin/ruby, press ctrl+cmd+period to show hidden files, like the one mentioned below.

https://emacsformacosx.com/builds

https://emacs.stackexchange.com/questions/53026/how-to-restore-file-system-access-in-macos-catalina

caching strategies (cache aside, write through etc)

https://codeahoy.com/2017/08/11/caching-strategies-and-how-to-choose-the-right-one/

https://shahriar.svbtle.com/Understanding-writethrough-writearound-and-writeback-caching-with-python

https://yunpengn.github.io/blog/2019/05/04/consistent-redis-sql/

https://www.reddit.com/r/AskComputerScience/comments/bqrt4a/write_around_cache/eo783s4/

https://medium.com/system-design-blog/what-is-caching-1492abb92143

how to create new user for mysql database and connected through workbench

https://stackoverflow.com/questions/39281594/error-1698-28000-access-denied-for-user-rootlocalhost

sudo mysql -u root # I had to use "sudo" since is new installation

mysql> USE mysql;
mysql> CREATE USER 'YOUR_SYSTEM_USER'@'localhost' IDENTIFIED BY 'YOUR_PASSWD';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'YOUR_SYSTEM_USER'@'localhost';
mysql> UPDATE user SET plugin='auth_socket' WHERE User='YOUR_SYSTEM_USER';
mysql> FLUSH PRIVILEGES;
mysql> exit;

$ sudo service mysql restart

the change I made is to replace auth_socket with

mysql_native_password

this will allow to type password. I found through the auth_socket, no password is needed in terminal, but i cannot use it to connect through workbench.