同理自己討厭的人
如果要從大學四年所看過的書選擇一本最推薦的,《好人總是自以為是》 (The Rightious Mind, Jonathan Haidt) 會是我推薦的那本。就書的背後理論思維而言,其實《好人總是自以為是》與另一本非常有名的書《快思慢想》(Thinking, Fast and Slow, Daniel Kahneman) 相當類似,闡述的皆是心理學中影響廣泛的 dual process theory—亦即人類認知上在處理資訊時,有兩種非常不一樣的方式:直覺式、自動化的 vs. 控制的、費力思考的。我認為《好人總是自以為是》比《快思慢想》有趣的是,它的主題與我們的生活習習相關—為何人們在道德、政治及宗教立場上,分化與對立的現象如此嚴重?
近幾年不論是新聞內容或是周遭朋友同學轉發的內容,...
Convert SVGs to PNGs with Your Web Browser
I recently found a great course about web programming on edX and learned a lot from it (I knew little about back-end web development and were unfamiliar with JavaScript). When I learned that it is possible to draw an SVG with the mouse in the browser, some interesting stuff came up to me
將 Jupyter Notebook 整理成一本書
從學期初修 Python1 就一直在吃老本,直到最近學到物件導向2才開始認真思索寫筆記這件事。就寫筆記而言,我最熟悉的工具3當然是 R Markdown,而 RStudio 目前對 Python 也有不錯的支援。但我平常把 JupyterLab 當成 Python 的 IDE 在使用,自然比較習慣這個環境,因此就決定使用 Jupyter Notebook 來寫筆記。我第一個想到的問題就是:R Markdown 的世界裡有 bookdown 將多個 .Rmd 變成一本書 (網頁),但 Jupyter Notebook 似乎沒有這麼方便的工具4。我錯了。好概念傳播的很快,受到 bookdown 的啟發,Jupyter 的世界裡也出現了一套類似的工具 — Jupyter Book。
Wha...
Tips to Reduce the Complexity of Slide Making with Xaringan
Although I’m a strong believer in R Markdown, I’m not so sure about it in the realm of slide making. After using GUI slide making tools such as Powerpoint or Google Slides for years, it is not easy to get used to making slides with markdown, since it requires additional processing in the brain – the conversion between images in the brain and the...
Wrapper of knitr::include_graphics to Handle URLs & PDF Outputs
Those who use knitr::include_graphics() frequently in their R Markdown files may discover some inconsistencies (from the user point of view) if the same Rmd is used for multiple output formats, especially when PDF (LaTeX) is involved.
The following code works fine for HTML outputs but fails when the outputs are PDFs:
knitr::include_gra...
ntuthesis:用 Markdown 撰寫博碩士論文
去年十月份的研究所甄試,實在找不到合乎主題的文章報告可以附在審查資料。想想自己可以拿來說嘴的大概只剩 R Markdown,於是寫了一篇 (硬是扯上語言學的) 文章交了上去。
閱讀筆記:Origins of Human Communication
去年秋天在準備研究所甄試時,發現市面上的語言學概論課本對於筆試幾乎沒有任何幫助,於是去找認知語言學相關的專著和文章來閱讀。我找的第一本書是 George Lakoff 的 Metaphors We Live By。
安裝 UEFI 開機功能之 Windows To Go
這學期修課 (地圖與地理資訊系統) 需要使用 ArcGIS。由於 ArcGIS 僅能運行於 Windows 上,加上
我真的受不了 Virtualbox 跑 Windows 的速度
我不想在我的電腦 dual boot Windows
36 post articles, 5 pages.