Content Blockers aren’t only for adblocking: other amazing use cases on iOS 9

My free content blocker for iOS 9 called Refine is currently available on the App Store. It comes with standard adblocking, privacy blocking, and whitelisting, but the true power of Refine, and what distinguishes from other content blockers out there, is the ability to fully customize your own blockers and share them with the public.

Over the last three days since Refine was launched, 100s of custom blockers have been shared, with amazing use cases different from standard adblocking.

Here are 5 that stand out to me, and show why Refine is the only content blocker you’ll ever need.

With Refine, simply search for one of the public blockers listed below and add it to your personal blocker list with a click of a button.

Continue reading

Why Safari Content Blockers beat standard adblocking

I’ve been building a free, fully customizable content blocker for iOS 9 called Refine and a couple of people have asked how it works. It is based on a new Safari API called content blocking that is fundamentally different to how standard adblockers like uBlock and Adblock Plus work. Although Adblock Plus has raised concerns about the limited functionality of this new paradigm, content blocking has some distinct advantages that make it better than conventional adblocking.

Download Refine now for free on the App Store!

If you’re interested in learning more about Refine, read my blog post that highlights its features. Follow @RefineApp to receive updates about my app, or to ask me questions about this post/the app!

Here are 4 reasons why Safari Content Blockers beat standard adblockers. Continue reading

Previewing Refine for iOS 9: built-in Adblock/Privacy, customize and share public blockers

I’ve been working on Refine, a free content blocking extension for iOS 9, and want to share some screenshots/preview its features.

Refine is now released on the App Store! Download it now.

Refine hides/prevents ads from appearing when browsing Safari on your iPhone/iPad, and allows customization/sharing for more expansive content blocking, such as preventing cookies on all websites, or using the Internet in html and css only mode for a clean and super-fast experience.

Follow @RefineApp on Twitter for updates on the app, or to ask me questions!


Continue reading

Monte Carlo Depth Maps from Aperture and Focus Camera Stacks

A little knowledge about cameras/optics will be useful to understand the post; I tried to include supplementary links where helpful.

This past year, I worked on a project for a Computer Vision class to construct depth maps from a scene using a stationary camera by changing aperture and focus only, via a Monte Carlo method. This a writeup of my work; comment below to discuss/ask questions!


Images borrowed from a paper by Jacobs et al. The goal of this project was to take a scene (shown left) and construct a depth map (shown right). For this project, I was interested in creating relative depth maps (where a pixel is darker/lighter if it is closer to the camera than another pixel) as opposed to an absolute depth map (where the intensity of a pixel is proportional to its distance from the camera).

Continue reading

Hacking Venmo’s $1M Money Tree Giveaway with Javascript and Chrome

Venmo is a payment system designed for mobile devices that makes it easy to pay or transfer money over to friends (

Venmo’s currently having a promotion on where they’re giving 1 million dollars in total to new Venmo users who play their game. The game is pretty self-explanatory: you have 10 seconds to click on leaves falling from the “money tree”, each green leaf clicked gets you 10 cents and each blue leaf clicked gets you 20 cents.


After you’re done, you can share the game with friends to continue playing or collect your winnings (if you’re a new visitor) by giving Venmo your phone number and installing the Venmo app:


I noticed that the game was created with Javascript and not Flash, so I thought that I could hike up my game score pretty easily by changing the javascript in the page. Chrome Developer Tools makes it pretty easy to do this by allowing you to live-edit javascript of a page and see its results in the browser (which is really cool), so I tried a little proof-of-concept to see what I could do with Venmo’s game.

Continue reading

Solving the Achievement Gap in Programming

Learning to program is difficult: 30-60% of students in university introductory programming courses fail. This is associated with a belief that only students with a natural “aptitude” or talent for programming are able to truly succeed in learning to program, while students without this aptitude are doomed for failure or at best mediocrity in programming. Although studies have shown that this programming achievement gap based on natural talent does exist in introductory courses, recent work has pointed towards pair programming as a possible solution for helping bridge this gap.

Continue reading

The RIAA forced me to shut down HypedMusic, a successful website/apps I built in high school

Just a disclaimer before I start:

I am not in any way condemning the RIAA (Recording Industry Association of America) for what they did or claiming that in some way they “wronged” me; they had the right to send me a cease-and-desist and I immediately complied. I’m simply telling my story about how my website/apps with 15 million hits a month got shut down, which others may find interesting.

The story

Continue reading