Making a Theater Showtime Listings Website

I recently made a Flash arcade site that has been quite a bit more suc­cess­ful than I expected. I also made a word unscram­bler site that has been doing pretty well. So I thought, if I can make these sites and earn money off of them even when the mar­ket is already flooded with sim­i­lar sites, then why not make a movie show­time list­ings website?

The first step was to find some data. I was plan­ning on using Ignyte Software’s free movie API, but that recently stopped work­ing. Bummer.

I decided maybe I’d use isnoop.net’s movie RSS feed, but they got shut down by Google.

After read­ing online, I dis­cov­ered that the big com­pa­nies that col­lect the­ater data can’t copy­right their data (because it is a col­lec­tion of facts) and so it is legal to screen scrape and dis­play the data else­where, but I hate screen scrap­ing other sites (because I hate it when peo­ple screen scrape me) and it doesn’t mat­ter whether it is legal or not, Google can still sue me into obliv­ion for doing it.

So my last option was to pur­chase the data. This took a lot of work to fig­ure out who even sells the data. After some dig­ging, I found that there are 2 com­pa­nies in the US that sell the­ater show­time list­ings: West World Media and Tri­bune Com­pany.

Both offer a data feed that you can down­load that includes all the show­time list­ings for the US. Both want $1500/month for this priv­i­lege. That is the min­i­mum, the pric­ing scales based on usage.

Both offer an API you can call to get list­ings just for a spe­cific zip code. While this is cheaper (around $500/month if I remem­ber cor­rectly), you also have to pay for each query and you can only search by zip code.

So the end result? No the­ater show­time list­ings web­site. Wayyy too much money. If you hap­pen to be rich and can drop $1500/month for such a thing, I’d rec­om­mend West World Media. You get way more for your money (includ­ing movie reviews), and they just seemed to have their act together bet­ter than Tribune.

Posted in Web Dev | Leave a comment

Connecticut

I’ve only been here for a few weeks, but I’ve already come to real­ize that Con­necti­cut (at least New Haven) is a weird place.

It isn’t just that they have tag sales instead of yard sales, or that recy­cling is required by law and fail­ure to do so is pun­ish­able by death a fine, or the spar­sity of their Red­boxes, or the num­ber of jerks that think their noisy motor­cy­cles make them the shiznits of New Haven, or their abun­dance of nor­mal Wal­marts and short­age of Super Walmarts.

It might be the dri­ving. Peo­ple always joke and say that Cal­i­for­nia has the worst dri­vers, or Vir­ginia has the worst dri­vers, or <wher­ever you live> has the worst dri­vers, but I swear, Con­necti­cut truly has the absolute worst dri­vers. For exam­ple, let us say that you want to make a left turn, so you pull up to a red light in the left lane. Before your car stops mov­ing, some­one dri­ves around you on the right, and turns left in front of you. At a red light. This isn’t a fluke event, I’ve seen sim­i­lar things hap­pen sev­eral times in the few weeks I’ve been here. The road signs in gen­eral appear to be less than sug­ges­tions for what the dri­ver should be doing. Going slower than 65 MPH in a 55 MPH zone will get you honked at, even if you are in the far right lane. It wouldn’t be appro­pri­ate to post on my blog the things they do if you drive that slow in the left lane.

But before you think I’m super neg­a­tive and hate Con­necti­cut, I’d like to men­tion a few of its perks. It has a wide vari­ety of gro­cery sto­ries that carry a wide vari­ety of fruits, veg­gies, and other yummy food, includ­ing our beloved Koala cook­ies that we weren’t able to find in Williams­burg. Every­thing (includ­ing sev­eral other states) are within a few hours drive. The Man­hat­tan tem­ple is only a 2 hour train ride away. I got to hear the Blind Boys of Alabama in con­cert for free on the Green just 2 miles from my apart­ment. Fire­works are legal, and the big city fire­work dis­play is vis­i­ble from my apart­ment win­dow. Our ward is awe­somely weird with a mix of col­lege stu­dents and locals, and we go to church in some sort of con­verted four story build­ing that has neat archi­tec­ture and fancy mold­ing. Most of the class­rooms (even the nurs­ery) have ornate fire­places. The city has one of those fun R2D2 mail­boxes (actual photo). We found an Indian restau­rant that we absolutely love. The LDS Insti­tute of Reli­gion has a good amount of peo­ple, and has an air hockey table, pool table, foos­ball, and a decent library.

Any­ways, Con­necti­cut is weird, or at least, Con­necti­cut is very dif­fer­ent from the other places I’ve lived. But I love it!

Posted in Random, Rants | Leave a comment

Word Unscrambler

If you haven’t heard, I’m mov­ing to Con­necti­cut next Thurs­day. We haven’t fin­ished pack­ing, but I still found the time to make a new web­page: WordUnscrambler.info.

Here is how it works:

  1. I loaded sev­eral pop­u­lar Scrab­ble dic­tio­nar­ies into a table.
  2. I loaded Wik­tionary into a table.
  3. I cre­ated a form that lets a user entered a scram­bled word (like EMURLNRASBC).
  4. When the user clicks “Unscram­ble”, I unscram­ble the word for them:
    1. I query the dic­tio­nary table to find all words that con­tain all the let­ters (and the proper amount of each let­ter) and is the proper length. So in this exam­ple, we need all words with two R’s and one of each of those other let­ters, and it needs to be eleven char­ac­ters long.
    2. I join this list with the Wik­tionary table and find out how many def­i­n­i­tions there are for each word.
    3. I sort the list so the words with the most def­i­n­i­tions are on top. This helps a lit­tle to pre­vent obscure words from being listed first in sit­u­a­tions where there are sev­eral words made up of the same letters.
  5. I dis­play all the words that are made from the scram­bled letters.

It didn’t take too long to make, and my wife made an awe­some logo for it.

So what does EMURLNRASBC unscram­ble to? Visit Word Unscram­bler and find out!

Posted in My Sites, Web Dev | Leave a comment

The amazing config.nice

I think most any­one who com­piles their soft­ware from scratch has run into this prob­lem: They want to re-compile but can’t remem­ber what con­fig­ure options they used.

For PHP, you can use phpinfo(), but what about Apache? Or OpenSSL? Or APC?

It turns out that most pack­ages cre­ate a config.nice when you com­pile them that con­tains all the options you picked. To recom­pile with the same options, just run ./config.nice instead of ./configure. You can also edit that file to change your options, or just copy/paste the con­tents directly to the com­mand line.

Posted in Random | Leave a comment

LastPass Really Works

I’ve always hated pass­word man­agers. They’ve always seemed klunky, incon­ve­nient, and poorly thought out. This all changed with LastPass.

Last­Pass, like other pass­words man­ager, lets you save your pass­words. So what makes it better?

  • It is free. They have a paid ver­sion, but it doesn’t give any extra func­tion­al­ity that I need.
  • It works directly in your browser (Chrome, Safari, Fire­fox, your phone, etc…).
  • It can auto-login to websites.
  • It can gen­er­ate pass­words automatically.
  • It knows when you log into a web­site, and asks if you want to save your user­name and pass­word with almost no effort on your part.
  • Your pass­words are saved, encrypted, in the cloud (no more wor­ries about los­ing your only copy!).
  • Pass­words are cached in your client so you don’t have to worry about not being able to log in if their server goes down.

And best of all, it sim­ply works. I was up and run­ning in min­utes, and got so addicted to it the first day that I installed it on all my computers.

Down­load it at LastPass.com.

Posted in Reviews | Leave a comment