-
Reply frequently used
Common phrases for not having an opinion: I’ve never given it much thought. I don’t have strong feelings either way. It doesn’t make any difference to me. I have no opinion on the matter. Common phrases for agreeing: Exactly. Absolutely. That’s so true. That’s for sure. I agree 100% I couldn’t agree with you more. (in... Read More
-
Some Research advice
先看综述,后看论著。 看综述搞清概念,看论著掌握方法。 早动手。 在师兄师姐离开之前学会关键技术。 多数文章看摘要,少数文章看全文。 掌握了一点查全文的技巧,往往会以搞到全文为乐,以至于没有时间看文章的内容,更不屑于看摘要。真正有用的全文并不多,过分追求全文是浪费,不可走极端。当然只看摘要也是不对的。 集中时间看文献。 看过总会遗忘,看文献的时间越分散,浪费时间越多。集中时间看更容易联系起来,形成整体印象。 做好记录和标记。 复印或打印的文献,直接用笔标记或批注。pdf 或html 格式的文献,可以用编辑器标亮或改变文字颜色。这是避免时间浪费的又一重要手段。否则等于没看。 ... Read More
-
Iterable and hashable in Python
Hashable An object is hashable if it has a hash value which never changes during its lifetime (it needs a hash() method), and can be compared to other objects (it needs an eq() or cmp() method). Hashable objects which compare equal must have the same hash value. Hashability makes an object usable as a dictionary key and a set member, because t... Read More
-
Difference between .sty and .cls
Notice the headline of class and style: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{minimal}[1995/10/30 Standard LaTeX minimal class] \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{eecs} Reference use style diff def Read More
-
Some useful LaTex commands you could define(II)
Basic linear programming \begin{equation}\label{equation} \begin{aligned} \mbox{max} \quad & x \\ \mbox{s.t.} \quad & x \\ & x \geq 0, \mbox{integer}\quad \mbox{for}~ i=1,\ldots,m,\\ \end{aligned} \end{equation} Algorithm \begin{algorithm}[H]\label{algo} \caption{The algorithm} \begin{description} \item[Step ... Read More
-
Some useful LaTex commands you could define
LaTeX Reference for Probability Shortcuts These are commands you would define in the preamble. \documentclass{article} \usepackage{amsmath} % COMMANDS GO HERE \begin{document} Absolute Value \newcommand{\abs}[1]{\lvert #1 \rvert} \newcommand{\bigabs}[1]{\Bigl \lvert #1 \Bigr \rvert} \abs{x} becomes \(\lvert x \rvert\) \bigabs{\fra... Read More
-
How to open Jyputer Notebook with a specified environment.
conda install nb_conda Check the environment. conda env list Enter into the environment. conda activate env install a package at your new env conda install ipykernel or conda install -n your_env ipykernel python -m ipykernel install --env Read More
-
How to change the address of Jyputer Notebook.
Change the default address Find the folder which is used to store ‘config’: In cmd, input jupyter notebook --generate-config find the file: ‘jupyter_notebook_config.py’, open it. c.NotebookApp.notebook_dir = 'specified path' delete the comment # reboot, done. Remark: ‘c.NotebookApp.browser’ can change th... Read More
-
How to set the domain name
Buy the domain name 域名备案 DNS(域名解析) 搭建(购买)服务器 / 或 CNAME For github, go to your repository(yourname.github.io), choose ‘pages’, force ‘https’. Read More
-
Terms of Service Agreement
Acceptance By using the HKUST Learning Management System (“LMS”, “Service”) provided by Instructure, Inc. (“Service Provider”) and managed by HKUST LMS Administrator (“Administrator”, “We”, ‘Us”), you (“User”, “Users”) are agreeing to be bound by the following terms and conditions (“Terms of Service”). User restriction Users ar... Read More