Hi there 👋

Welcome to my blog

Using Python to obtain data from Reddit

Introduction As of March 2022, Reddit ranks as the 9th-most-visited website in the world and 6th most-visited website in the US according to Wikipedia. What is interesting about Reddit is that it has subreddits for people with different interests. For example, there are subreddits on prorgramming, technology or even about funny things at funny. There are a few approaches one can take to obtain data from Reddit. Here is one way to do it....

November 7, 2022 · 1626 words · Jian

Using JPlag for measuring code similarity for Intro to Programming

Automating the processing of extracting and cleaning files for JPlag input

November 5, 2022 · 5 min · Jian

Generating Anime "Art" with Stable Diffusion using the "Waifu Diffusion" Model

Recently, generating images with AI has gotten a lot of traction, so I decided to play around with it. It is easy to get it working as there is a web user interface fork of it on GitHub located here. Basically, it is working out of the box with minimal configuration needed. Instead of using the suggested model, I used the “Waifu Diffusion” model instead located here. Waifu diffusion is “a latent text-to-image diffusion model that has been conditioned on high-quality anime images through fine-tuning”....

October 21, 2022 · 2 min · Jian

Process of Exam Papers Assessment

This post explains the examination marking process so that it is consistent and fair to the students. This is before the age of e-exams

October 20, 2022 · 12 min · Jian

Setting up PiHole as an ad blocker

An educational approach to crawling Reddit using Python and AWS EC2 without using Reddit API

October 20, 2022 · 4 min · 734 words · Jian