Data Science and Programming Blog

Yang (Simon) Guo

Data Science and Machine Learning

  • [Monty Hall problem simulation]

    How did I solve the Monty Hall problem. Read more.

  • [Use K-NN on UCI letter recognition data set]

    K-NN Demo using Data Set: UCI Letter Recognition. Achieved accuracy of 97%. Read more.

  • [Notes on Dr. Greg Wilson's seminar on October 18 2019]

    Notes on Dr. Greg Wilson's seminar held by the UVic Matrix Institute on October 18, 2019. Read more.

  • [Using NetworkX to find all reachable nodes in graph]

    Finding reachable nodes (and edges) from a given node is sometimes very useful to help the discovery of close relationships in the network. Read more.

Statistics

  • [Simulating null distribution function of the Mann-Whitney (Wilcoxon) rank sum statistic]

    An R function to evaluate the null distribution function of the Mann-Whitney rank sum statistic W through simulation. Read more.

Programming Language

  • [Java Constructors - Order of execution in an inheritance hierarchy and variables' initialization]

    My memo regarding execution order of Java Constructors in an inheritance hierarchy as well as order of variables' initialization. Read more.

  • [Java 'try-catch-finally' and their affair with 'return']

    My understanding of try-catch-finally-return exception handling in Java. Read more.

  • [WTCCC dataset: batch decryption utilizing shell]

    My solution to decrypt the WTCCC dataset. Read more.

  • [Python: my first crawler]

    My solution for .m3u8 video's downloading. Read more.

  • [Linux trivia]

    Getting to know and use Linux better, bits by bits. Read more.

  • [Handling large number in R]

    Concepts could also apply to other programming language. Read more.

Tools' Tutorial

  • [What I use FFmpeg for]

    Some of the things I do using FFmpeg (e.g. split, concatenate, and extract). Read more.

  • [Installing R and package devtools in Base-Dockerfile images]

    Select the right Ubuntu Archive Mirror first, then install three system-wide library dependencies that are used and required by many R packages. Read more.

  • [Fixing a problem where Safari won't connect to the internet but other browsers will]

    Fixing a problem where Safari won't connect to the internet in a user-satisfying amount of time but other browsers will. Read more.

  • [Git cheatsheet (as I work my way around it)]

    A cheatsheet for git as I work my way around it. Read more.

  • [From Parallel Desktop Lite to VirtualBox]

    Use VirtualBox to run Parallel Desktop Lite `.pvm` file. Read more.

  • [Operating on Compute Canada Clusters: a brief introduction]

    A short guide on using Compute Canada clusters based on my experience. Read more.

  • [Raspberry Pi as Wi-Fi Repeater (part 1)]

    Part 1 of making your Raspberry Pi a Wi-Fi Repeater: a guide to directly connect Raspberry Pi to a Linux laptop using an ethernet cable. Read more.

  • [Updating Homebrew in macOS Mojave]

    Updating Homebrew that was installed back in macOS Sierra to a more current version in macOS Mojave. Read more.

  • [From txt to mobi]

    Tutorial on making your own Kindle mobi E-book. Read more.

  • [Windows10-Pop!OS-ChromeOS triple boot guide]

    A step-by-step guide to help you create a triple boot laptop of Windows 10, Pop! OS, and Chrome OS (brunch). Can also be used to set up Windows 10 and Pop! OS dual boot! Read more.

  • [My solution when facing 'PowerPoint can't accept an Office file dragged onto it' error]

    Here is how I fixed 'PowerPoint can't accept an Office file dragged onto it. To insert Office content here, use Insert > Slides From or use Insert > Object' error. Read more.

  • [Raspbian upgrade from buster to bullseye]

    Tutorial on upgrading from Raspbian 10 to 11. Read more.

Casual Talks

  • [MacOS is a darn good system, until it drives you crazy]

    MacOS is so good, it makes you forget it exists. It's just you, and productivity. What a great fantasy. Until some bugs drag you out of your dream and hit you in the balls. Read more.

  • [My First Casio Digital Wristwatch]

    Okay, in all fairness, what I mean was the first watch picked by myself and paid with my own money. Read more.

  • [Lifelogging Changelog]

    Changelog documenting the changes that I have made to my lifelogging process. Read more.

  • [SK-8115: the Legend Continues]

    Keyboards that I owned for the past few years. Read more.

Coming soon

My short list of upcoming blogs.

This list is evolving. If you see something you're excited about let me know.