Twitpic Viewer (with source)

So one night not too long ago I was sitting on my couch interneting and I started playing with search.twitter.com looking at the mass amounts of people posting photos to Twitter via Twitpic . I found the amount of photos getting uploaded astounding, at times close to 10 photos a second. But with that many photos getting posted every second its hard to visually comprehend, so I came up with an idea for an app, WHAM, Twitpic-viewer was conceived.

So using the Twitter API, I run a search for “twitpic.com”, return some JSON, parse it and loadin the photos.

I think it works pretty well, it is kinda like a train wreck though, you just can’t look away. Also be aware I don’t control the content, so odds are you will some nudity and other questionable content, enjoy!twitpic-viewer screenshot*I currently DO NOT limit how many images will be loaded in, so eventually it will crash your browser if you let it run long enough.

** joekromer.com is in no way affilated with twitpic.com

*** for those interested here is the source for twitpic-viewer.

May 22nd, 2009 at 10:53
Posted in AS3
Posted to: , , ,

Pittsburgh Brewers Ball

brewers09copyWe are only a week away from the 2nd annual Brewers Ball and I can barely contain my excitement. Last year I attended this event and it was an amazing time, so much of a good time, this year I volunteered for the event.

The Brewers Ball is a beer tasting and food pairing event. $65 dollars ($60 if you preorder tickets) gets you in the door, tasting glass, all the beer you can drink and all the food you can eat. Bring your check book too, as there will be tons of amazing items being auctioned off.

To preorder your tickets go to http://www.brewersball.org.

It’s cocktail attire so come dressed in your best!

Other Links:
Facebook Event
Western PA Chapter of CF

Confirmed Brewery’s & Restaurants:
Fat Head’s Brewery & Saloon – Cleveland, OH
Fat Head’s Saloon – Pittsburgh, PA
Peak Organic Brewing Company – Portland, ME
Terrapin Beer Company – Athens, GA
Bocktown Beer & Grill -North Fayette, PA
Rock Bottom Restaurant & Brewery – Homestead, PA
Rivertowne Pour House – Monroeville, PA
Victory Brewing Company – Downingtown, PA
Tröegs Brewing Company – Harrisburg, PA
Dogfish Head – Milton, DE
Barley’s & Hops Bottle Shop – Bethel Park, PA
Great Lakes Brewing Company – Cleveland, OH
Bella Frutetto – Wexford, PA
Magic Hat Brewing Company – South Burlington, VT
New Holland Brewing Company – Holland, MI
Southern Tier – Lakewood, NY
Brewery Ommegang – Cooperstown, NY
Rogue Ales – Portland, OR
Unibroue, Inc. – Chambly, Québec
Southampton Ales & Lagers – Southampton, NY
Brillobox – Pittsburgh, PA
Pennsylvania Brewing Company – Pittsburgh, PA

April 24th, 2009 at 11:02

Flash app used to pick winner.

We recently selected @matthewwithanm as the winner of the Flashpitt suggestion contest, he will receive a complimentary ticket to Flashpitt.

Prior to choosing a winner we had to decide, just that, how we were going to choose the winner. The obvious way would have been to print off everyones names, cut them up, put them in a hat and pick one. Since it is 2009 I figure I can do better than the analog way and I don’t have to risk trees, paper cuts, or loss of fingers (my scissor skills are not the best), so out comes flash and a 20 min code session begins.

I came up with this little gem, where you enter the number of entries you have and a number greater than or equal to 1. The application uses this number to select a random number to decide how many times the Math.random function is ran before the winner is selected.

i.e. say you put 50 in that section the Application grabs a random number between 1 and 50, say 44, then determines that the 44th random number selected will be the winner.

Test it out here.

This movie requires Flash Player 9

I know it’s pretty lame but maybe it will help you in selecting a winner for some drawing your doing. Plus I wanted to post it so when I do another drawing for Flashpitt I can just use this one.

Click here to download the source.

Happy Flashing.

March 16th, 2009 at 11:56