Category Archives: Projects - Page 2

IDEA: automatically untag facebook photos

Perhaps this will never reach implementation stage, but here’s a nifty idea: automatically untag yourself from facebook photos. I remember the photo tags section of the API having a delete function. It looks like this is no longer the case. So I can’t exactly put this in a script to run as a cron job.

However we can still probably scrape the page and click the link programmatically. First step would be to query the facebook photo tag API and get a list of photos where you’re tagged. The list contains a link to each photo in facebook. From here we have to options.

  1. Click on the “remove tag” button and record the http request. Reverse engineer it to see if we can replay with with a unique ID of another photo. If that is the case then great, the only thing that’s stopping us are session cookies.
  2. Option 2 is just to click “remove tag” button via some software. People already had ideas like that but the testing software package Selenium comes to mind. It can find the “remove tab” by itself and click it.

I was about to implement this idea, but realized that my privacy settings already allow only me to see photos that I’m tagged in. So this effort would be for vanity since people can’t see my photos anyway.

If any of you would actually like to see this done hit my up on twitter @pavel987 and I’ll probably be motivated enough to write it.

MultiWord

MultiWord is a program I wrote WAY back in High School to speed up the mundane process of defining words for English class. Basically you can define multiple words at once. Just put in a comma separated list of words and press Define.

Download MultiWord The file is about 25 megabytes because it contains an English WordNet dictionary.

It’s a standard Java project that should run on JRE 1.4 or higher. You probably already have a java virtual machine installed (who doesn’t?) but just in case here’s a link: http://www.java.com/en/download/manual.jsp. To run the Jar file you can look up instructions on wikiHow.

I’m fairly sure this program is no longer needed, but if someone finds it useful then contact me. If I know someone uses it then I’ll add more features and just generally make the program better/simpler.

wspace

Hello all Whitespace enthusiasts!

Here you can find information about my whitespace endeavor.

This is a whitespace interpreter written in C++, it has a little more features than the original interpreter written by Edwin Brady. I wrote this because I wanted a bit of C++ practice and had some free time over the summer. You can find out more information about the original idea on the whitespace website.

Limitations

I used type long to represent all the stored data and memory. This means that if you try to store a number greater than LONG_MAX it will wrap around and be negative. Same goes for memory, you can’t address memory higher than LONG_MAX. Hopefully this won’t impede on any programs, although the factorial program hits its limit at 25! 🙁

Download

Download the source
Download the x86_64 binary

Everything is GNU/GPL of course!

I realize that I have almost no documentation about it posted right now. If anyone wants to know the specifics, I’m on the whitespace mailing list. You can reach me from there. Please ask if you have questions, it will encourage me to put up more documentation.