Archive for the ‘Development’ Category

Pint Tracker Monitor Updates

Monday, December 7th, 2009

Tonight my USB extension cables came from MonoPrice. I was a little skeptical if they would work or not. If you did not know USB has a 16 foot range. If I wanted to mount a monitor by the tap I had to find a way to get way more than 16 feet away from my Mac Mini. The MonoPrice 33′ active USB cable had really good reviews so I ordered three of them. At a price of $10.20 each it is a steal. These could cost you $50 each at a place like Best Buy. But you can’t even find them any place. These are a monoprice brand not a third part brand.

61491 61492

There was a waiting list for them a few weeks ago so I signed up for their email notification. They sent me an email last week and I ordered three of them withing 30 minutes of getting the email. A few hours more and they were totally sold out. I will get into the setup in a few days when I get everything mounted correctly. Until then you will have to setting for a few iPhone photos.

IMG_6350 IMG_6351IMG_6352IMG_6353

I have to redesign the Pint Tracker UI now that I have this sweet little monitor. The new version will take up the entire screen unlike the photos above.

Twitter It!

And the Leader Board Says…

Saturday, November 21st, 2009

Last night Justin came over and we worked on his website for a while. We put a new theme on it and then I showed him how to use some of the back end features. We also tested out the Pint Tracker app. I created a fob for Justin so it was ready when he arrived.

IMG_6299

I now have Pint Tracker running as an AIR app. It is working out great. I have a shortcut down in my dock so it make it really convenient to start and stop Pint Tracker as needed. I found a real nice pint icon over at http://www.iconspedia.com
that I am using. Take a look at my dock and you can see the icon sixth from the right.

Picture 2

I also have Pint Tracker starting up when I boot or log in to the home theater computer. Now that Pint Tracker is an AIR app, I want to update the wood background. Give it rounded edges and maybe a border around it. I want to also work in a nice reduce and close icon. The only real changes I had to make to Pint Tracker to get it running as an AIR app were to make sure my links pointing to the PHP files were absolute. Otherwise Pint Tracker can’t find them. Then the last change was adding this bit of code so that I could drag the app around on the desktop.

1
2
3
4
5
backwood.addEventListener(MouseEvent.MOUSE_DOWN, back_CLICK);
     function back_CLICK(e:MouseEvent):void
     {    
          stage.nativeWindow.startMove();
     }

Previously I had been running Pint Tracker as a Mac widget. The problem with the Mac widget is that the widget is always on top of all other windows. Running Pint Tracker as a AIR app is a much better option since I can launch, reduce and quit with ease and it goes behind other open apps.

After Justin and I worked on this website for a while Ryan stopped by to see what we were up to. I had a fob ready for him as well. Here are a few “security” photos that Pint Tracker snapped when they scanned their fob for a pint.

husar_1258769849 husar_1258773273 husar_1258775983

Right now I have the camera on top of the TV mounted to the wall. Since I know it is there it is easy for me to get a good photo. Or a better framed photo anyway.

husar_1258599224

Last night just proved that people look at the fob reader and not the camera. So I need to come up with a way to have the camera and the fob reader in a box or case. Kevin suggested a cigar box so I will give that a try first. I would ideally like the camera to be up at head level. So maybe I will add a shelf next to the TV just for the fob setup. Look for an update on that in the next few weeks.

Here is the leader board after Justin and Ryan had a couple. Pint Tracker Leader Board

We did run out of beer after just 4 pints last night. I knew we were close since Pint Tracker tells me the pint count. Well kind of. Right now Pint Tracker keeps track of individual people totals and beer type totals. Since this is only the second keg I have been tracking and the first was a Boulevard Unfiltered Wheat, I could tell how many we have been pulled from the tap. But it doesn’t keep track of the current keg totals just overall totals for a particular keg type. As soon as I add another keg of Pale Ale or Unfiltered Wheat I won’t know current keg totals. So I need to show current keg total on a new screen. I will have to come up with some kind of meter to show current keg % full. Only thing I can think of is a pint decreasing it’s beer level with each tap pull. Then show a warning when it drops down below a certain level. If you have a better idea let me know. Or maybe a keg photo with a break away cut out on it to show the inside and the beer level.

I was able to get 50 pints out of the last full keg. I buy the 5.5 gallon smaller kegs since they are easy to handle and lets me swap them out quicker for more variety. Also one thing to think about is different pint sizes. I use the following three glasses most of the time.

Pint Sizes I would like to standardize to the two far left glasses since they are the same oz. size. That will give me a better reading on a keg’s pint count. Also I have to drain off a little with each session to get the warm beer out of the line. I would estimate that is about 3-5 pints over the life of a keg or a quarter pint with each session.

With a 5.5 gallon keg there are 704 oz. Using 16 oz glasses that is 44 pints, with 12oz pints that is about 59 pints, and with an average of 14oz per pint that is 50 pints. I had 50 pints out of this keg of Pale Ale and that is not counting drain off pints. I may be off a few pints this time because I have been testing and deleting those records from the database. I will get a new keg today of Fat Time so it adds another beer on the leader board. It will be interesting to see the beer count with another full keg. Also I need to start showing recent keg lifespans. I can see a few new screens being added very soon.

Sorry for such a long post but this is exciting (geek) stuff! Do you have any ideas to enhance the system? Let me hear them if you do!

Twitter It!

Who Wants a FOB (aka Beer)

Wednesday, November 18th, 2009

I ordered and received 10 new FOBbs this week. Planning on having a few friend over in the next few weekends. I needed to get some FOBs ready to be scanned for Pint Tracking. I now need to assign the FOBs to a few select people so they are ready when they come over.

New FOBs

Also on Pint Tracker I exported as a Adobe Air App so I am now running that full time now on my media center PC. Here is the latest beer totals.

Pint Tracker 11.18 Pint Tracker 11.18

Twitter It!

Pint Tracker 1.1 – Leader Boards

Sunday, November 15th, 2009

Here are a few screens from Pint Tracker 1.1. I have updated the Beer Leader Boards and the Member’s Leader Board. I like the new screens and this is real data by the way. But I need more people on the leader board. I feel bad burying Terra so bad.

Pint Tracker 1.1 Beer Leader Board Pint Trackers 1.1 Member's Leader Board

Twitter It!

Pint Tracker 1.1 (or ITSFMB) version

Wednesday, November 11th, 2009

I had a chance really late last night to add some new functionality to Pint Tracker. This is a sneak peak into v1.1 or what I’m calling ITSFMB (I’m Too Sexy for my Beer) version. The “I’m” being the application and not me by the way.

The web cam idea was one of the things on the TO DO list. I am happy to say that is workign 100%. When anyone swipes a valid fob the app now snaps a photo. It really makes the app a lot more fun. I just need to have people over so I can start gathering a bunch of photos from different people in the pub. I was able to adapt some code that others had already written so it was pretty easy. Kevin shared some of his Flash camera code with me and blog.vamapaull.com has some example code online as well. From those two examples I was able to make my own photo functionality from within Flash.

Here is now it works. You swipe your fob and Pint Tracker verifies that you are a valid member of the pub. Then the app fires off the quick cam and snaps your photo. A nice camera nap sounds is played for effect. Pint Tracker then uses some PHP to save the photo to the web server in a predefined directory. The photo is displayed on your profile page along with your beer stats. I have also added a new rotating display that shows the ‘Latest Security Photo’ witch is the last photo taken with the quick cam. There is a unfinished screen shot below of what that looks like.

I also had time to polish up a few other screens and add a more sexy look to the app. Thus the I’m Too Sexy for my Beer note above. There is now a check mark animation on the opening screen that I really like. 5 pints are shown and 5 check marks animate. Check out the screens below.

Pint Tracker v1.1 - Opening Screen
The above screen is the new opening screen. It also cycles this screen as part of waiting on a fob to be scanned animation. The check marks animate as a bonus. Pretty sexy don’t you think?

Pint Tracker v1.1 - What's On Tap
The above screen is the new ‘On Tap’ view or second screen in the waiting process. The beer glass label tells you what is currently on tap and changes with each new keg.

Pint Tracker v1.1 - Quick Cam
This is an unfinished screen but I had to show it. It shows the last photo that was captured and saved when a valid fob is scanned.

So there you have part of the new look of Pint Tracker v1.1. I still have work to do on the new stats screens that is not pictured above. As soon as I get v1.1 done I will get a new video up to show the features in action.

Also, the Boulevard Unfiltered Wheat was finished off on Sunday. We put in a keg of Boulevard Pale Ale last night. Also, I only get the smaller 6 gallon kegs not a full keg. Just in case you were wondering.

Twitter It!