Asurin Software Developer

Visualize DAG with Graphviz

At GDC, we have a graph saved in database. The structure of the graph is defined with GDCDictioanry. To write tests for our softwares, we need to create and load fake data in our test database. The fake data is usually in yaml format. With complicated test cases, we will need many nodes and edges in the test data. It will be hard to create or modify those fake data. read more

Download Latest video from YouTube channel

Youtube has more and more ads nowadays and is becoming very annoying. I like to listen to youtube while trying sleep. The ads sometimes has a higher volume than the vidoe I am watching.

The suddenly change of the volume wakes me up and make me harder to get to sleep.

read more

Reading The Clean Coder

The Clean Coder After finished reading The Clean Coder yesterday, I found that many of the problems I have met in my previous company has already been talked about in this book.

The book did not show anything about the tech staff. Most importantly, it is talking about how to deal with business people, how to give an estimate about project time, and tests.

Those are the things we programmer face in day to day life but never learned from school. I have to admit that I could have done a lot better if I have read the book before. I would be more “professional”. read more

v_qq_dl a small video downloader

There is a Chinese video hosting website v.qq.com from Tencent company has many interesting tv shows. The servers are in China so it would be slow to watch in web browser. And I usually watch my TV with Nexus Player, which dose not have a program to watch online video directly from v.qq.com.

Before I started to program my own downloader, I searched github for existing downloader. There is one called youtube-dl, which while this article was written, dose not support v.qq.com.

The other one you-get supports v.qq.com. However, it only download at 2KB/s while downloading directly.

So I started to program my own downloader and use proxy and multiple threaded downloading to increase the speed. The downloader can also resume from broken downloads. read more

Shinyapp

One research in our lab is regarding the algae.

First they collected water samples from 58 locations around Florida Key. After collection, the samples are run through HPLC to get information about the species of chlorophylls. From those information, we would be able to know where different kind of algae lives.

To help people analysis those HPLC data. A leaflet map build with shiny server are used. The HPLC data for different stations are shown in a pie chart, which is built by plotly.

Figure 1. Stations read more