Author: Kevin

Replacing iPad Air Screen

Replacing an iPad Air screen turned out to be much simpler than what iFixit made it seem to be (43 steps!) and probably the most accomplished thing I did all winter break. However it did take a long time (maybe because I was just being to precautious)....

AP Tests are Worth it

AP Tests are supposed to get you ahead in college, and in some cases, it does. However, overloading on AP credit doesn’t really help you as much: be wise in what you take, and if you decide to take it, study! Going to college I was surprised...

Parsing Shorthand Dictionary with RMagick and RTesseract [Ruby]

Ruby Wrappers: RMagick, RTesseract (image manipulation and image recognition respectively) You can Google how to install those gems.   Here was an example page of the dictionary. The shorthand translation was pretty much adjacent to the English word.

Here is what each # does. Loads the image...

Force Selenium to not load images [Ruby]

Sometimes it is unnecessary to load images in my selenium scripts. It takes time for the images (especially large ones) to load and messes up my sleep functions. Here’s how to prevent it from loading. There are more options and it’s listed in the All Profile Options...

Final Thoughts About RelevantXKCD project

Part of my RelevantXKCD project writeup After I wrapped a simple Django server and posted it on Reddit in the subreddit /r/xkcd, I got some great feedback! For the Model As /u/drcopus helpfully enlightened me, I should’ve done data augmentation on the original training set. I could’ve...

Reddit Relevant XKCD

So I embarked on a machine learning quest as a senior project. With all these advances in AI, I wanted to have some fun myself :P. You can view it here. I was inspired by Dan Zhang and Megan Ruthven’s Relevant XKCD finder. They used ExplainXKCD to populate...

Webscraping with Selenium [Ruby, Firefox, OSX]

This article requires knowledge of Ruby, the concept of webscraping, and HTML. Make sure you have Ruby installed (use RVM if you don’t have it yet) — I’m using 2.3.1 right now. If you want a reference sheet, I’m in the process of writing one :P. Link...