Scientific PythonLecture Notes @ SUPyCGLearn Julia

Recent Posts

  • Gradcafe: Statistics

    Update time: 2020-01-20T19:08:21.327398

    Source code:

    Acronyms: A-accepted, R-rejected, I-inverviewed, W-wait listed, O-other

  • Gradcafe: Computer Science

    Update time: 2020-01-23T10:48:15.745458

    Source code:

    Acronyms: A-accepted, R-rejected, I-inverviewed, W-wait listed, O-other

  • Mel Frequency Cepstral Coefficient

    It’s the year 2020! With all the things that are taking place in my life, I reckon that this year will be decisive for my life. May everyone have a wonderful year.

    For a class project that I did this semester, I encountered a feature extraction technique for audio signals, i.e. the Mel Frequency Cepstral Coefficient, which proves to be very useful in many fields including speech recognition, music information retrieval, etc. In this article, I breifly introduce how the MFCC feature is computed.

  • Julia: Calling C Module

    In one specific task, I need to extract the DCT coefficients from a JPEG image and export them into Julia. Since there are a number of existing C libraries that are capable of doing this, it is more convenient to call them directly with Julia.

  • Global University Analysis

    I just crawled some data from US News Best Global Universities Rankings to find out some insights of the overall quality of higher education in each country. Here is the Jupyter Notebook of my work.

  • Julia: Flajolet-Martin Algorithm

    I choose to pick up Julia because of its high performance. The problem for Python is that it works nicely 95 percent of the time, when all the computationally expensive operations can be replaced by function calls to C libraries. However, it fails completely when the rest 5 percent of nasty situations show up. Recently, such an annoying instance just showed up for me. I am trying to migrate my code to Julia to see if there is a performance boost.

  • Julia: Hello World

    Let’s begin with the biggest cliche in the programming world.

  • WuBi 98 Input Method Table for ibus

    I have written a seris of posts on how to extend WuBi 98 support to various platforms. The company that is maintaining the official WuBi 98 distribution (i.e. WangMa) has put little effort into updating their software for modern operating systems. I have purchased their WuBi IME on Windows, and it kept crashing my other applications due to poor compatibility with Win10 APIs. The worse thing is that they only allow you to install their IME on three distinct computers. Since I switch hardware rather regularly, it is not feasible to use their software anymore.

  • How many rounds does the small circle rotate?

    Today I came across a very interesting problem: suppose a small circle with radius 1 is rolling on a big circle with radius 2, how many rounds does the small circle rotate when it rolls around the big circle once? Being told the correct answer is 3, I am confused as I am unable to figure it out. Therefore, I wrote a program to simulate the scenario.

    The correct answer is three rounds.
  • From LaTeX to Jekyll markdown: towards faster post compilation

    Recently, I updated my texlive distribution to 2019. I think I am experiencing a huge boost in compilation speed, though I have not yet done some serious comparison. As I start to take notes with Jekyll in this semester, a problem gradually stands out: speed. Writing with Jekyll are slow in two ways. Firstly, its compilation speed is slow. Secondly, it does not provide any navigation functionality. Therefore, if I am able to write my posts in and convert them into Jekyll markdown afterwards, I can potentially save a lot of time.