# Posts

### CV online

It has been two year since the moment that I updated my CV for PhD application. It was a nightmare using MS word to make a beautiful two-page pdf file. Mouse-click items, align section titles, change font bold and italics. A whole day gone. So, since I am getting used to Rmarkdown-generated documents for any particular purpose, why not make a CV from it? I occasionally saw this post that uses Rmarkdown for making academic CV.

### 測試中文貼文

# 測試註解

### Run R script on HPC

Run R on HPC Load R from module Install packages Run R script with arguments in command line Run R in batch mode Node, core, and other jargons Submit the batch job Pipeline I was trying to run simulation about my migration project on Yale HPC (high performance cluster). After spending a day working on how to do it, I think it’s probably a good time to take a note and dust off my website.

### Custom Domain and Commenting

Custom domain Commenting plug-in A quick update about new functions of this website. Two slight changes I have made: relocate the website to a customized domain, and enable the commenting function. In case you want to know how this website was intially built, I wrote a guide. It’s a simple guide that contains other well-written tutorials and some caveats I’ve encounterd. Custom domain Again, I found myself struggling with the terms for a while.

### Generalized Birthday Problem: Rcpp

Rcpp Generalized birthday problem GeneralBirthdayProblem package In the previous post, I tried to use some algorithms to speed up simulation. Now in this post, I will introduce a pretty powerful package Rcpp, which has the potential to fundementally change the way you do simulation if you want to employ a time-consuming simulation in R. Let’s finish this project! Rcpp Generalized birthday problem GeneralBirthdayProblem Package

### Generalized Birthday Problem

What’s probability of one birthday shared by two persons in any size of room? Binary search Replicate size This tiny project comes from the coding class I am taking this semester. The simplest birthday problem is as followed: how many people should be in a room such that the probability of a birthday shared by at least two persons is just above 0.5? I found this problem is very interesting.

### How to build up this website?

Intro Tutorials Caveats I have jumped in Intro The first (meaningful) post for this new website! After searching for many blog managers, I finally found out a cool and nice way to generate a good-looking website. The whole website is built under a R package blogdown, which is based on another pretty handy package rmarkdown that helps you markdown pdf or html file in Rstudio. blogdown employs a site generator