to delete a local branch: git branch -d bname to delete a remote branch git push origin –delete bname https://www.git-tower.com/learn/git/faq/delete-remote-branch/
Author Archives: epsilon
run/debug pytest in VScode
https://code.visualstudio.com/docs/python/testing#_test-configuration-settings
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 …
git clone a specific directory
https://atulsingh0.medium.com/git-use-sparse-checkout-pull-specific-folder-from-repository-1091b2da52bf
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
transactions-when-writing-to-Transactions when writing to two or more different data-storages
not sure whether this is the correct answer, but this is something I can find: https://stackoverflow.com/questions/16441645/transactions-when-writing-to-two-or-more-different-data-storages
consistency for sql with cache
https://yunpengn.github.io/blog/2019/05/04/consistent-redis-sql/
a brief discussion about rest, rcp and http
https://etherealbits.com/2012/12/debunking-the-myths-of-rpc-rest/
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 the change I made is to replace auth_socket with 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.
understand cost function
cost function for logistic regression and softmax regression http://deeplearning.stanford.edu/tutorial/supervised/SoftmaxRegression/