Drinking calculator - Home Brew Forums
Register Now For Free!

Home Brew Forums > Home Brewing Community > General Chit Chat > Drinking calculator

Reply
 
Thread Tools
Old 04-17-2013, 12:30 AM   #1
rhunter
Recipes 
 
Apr 2013
Posts: 3


I just put this together on GetDrunkNotFat and wanted to get feedback: http://getdrunknotfat.com/drinking-calculator/

Pulls accurate ABV and serving size from just about every commercial alcoholic drink you can think of and gives you precise blood alcohol level, calories and carbs based on your input.

 
Reply With Quote
Old 04-17-2013, 12:35 AM   #2
weirdboy
HBT_LIFETIMESUPPORTER.png
Recipes 
 
May 2009
Los Angeles
Posts: 8,219
Liked 493 Times on 398 Posts


It's not every commercial alcoholic drink I can think of. In fact it's a pretty short list IMO.

From a user interface perspective, that drop down list has got to go. Scrolling through dozens of names trying to find the name of the thing you're looking for is awful, especially if the thing you're looking for isn't even on the list, or is named slightly differently so it ends up in a different spot. It should instead be a text box and 2-D table of items underneath which filter down as you type. Easy to do with something like datatables.net. Another option would be to have stuff in a tree and organized into categories/subcategories/etc. that you can plus through. You could even do the tree combined with a filter if you wanted.

In general, I hate those drop down lists for anything more than a few items. Although on the plus side, it might be better for mobile users since phone browsers can handle them pretty well.

 
Reply With Quote
Old 04-17-2013, 12:41 AM   #3
rhunter
Recipes 
 
Apr 2013
Posts: 3

Hopefully you check out the homepage which has just the search feature you are suggesting. This is version 1.0 of the calculator so certainly improvements to come. Thank you for the feedback.

 
Reply With Quote
Old 04-17-2013, 03:13 AM   #4
dkwolf
HBT_SUPPORTER.png
Recipes 
 
Feb 2012
Sac City, IA
Posts: 961
Liked 379 Times on 225 Posts


Quote:
Originally Posted by rhunter View Post
Hopefully you check out the homepage which has just the search feature you are suggesting. This is version 1.0 of the calculator so certainly improvements to come. Thank you for the feedback.
You linked to the calculator, not the homepage. So it's natural to assume THAT's what you were asking for feedback on. And that's what you got.

 
Reply With Quote
Old 04-17-2013, 03:23 AM   #5
dkwolf
HBT_SUPPORTER.png
Recipes 
 
Feb 2012
Sac City, IA
Posts: 961
Liked 379 Times on 225 Posts


And yeah, I'd change your description from "just about any commercial alcoholic drink" to "many of the major, popular commercial alcoholic drinks". Or maybe even "some of the popular, commercial drinks" I don't consider my beer list knowledge to be incredibly vast, and as I scrolled through the list I could think of 2-3 beers in each letter that weren't there.

 
Reply With Quote
Old 04-17-2013, 05:05 AM   #6
weirdboy
HBT_LIFETIMESUPPORTER.png
Recipes 
 
May 2009
Los Angeles
Posts: 8,219
Liked 493 Times on 398 Posts


Well I looked at the homepage and I feel like your stuff under the hood is a bit "chatty". Every time you type a letter in that search box you are sending a query to a php page and returning a list of tr elements with every matching result. Probably not an issue right now with no users and a relatively small DB, but it definitely has potential to be a problem later on.

Also I noticed that your php is returning this header information with every query result, which it probably should not be:

Code:
<html>
<link rel="stylesheet" type="text/css" href="./include/main.css">
<link rel="stylesheet" type="text/css" href="./include/menu.css">

Frankly, I wouldn't want ANY HTML tags being returned from the server like that, because it just burns up bandwidth. Better to return something more concise like a JSON object, or even better a gzipped JSON object.

 
Reply With Quote
Old 04-18-2013, 03:17 PM   #7
rhunter
Recipes 
 
Apr 2013
Posts: 3

Thank you guys so much for the feedback! I have remove this section completely from the php as it was not needed:

<html>
<link rel="stylesheet" type="text/css" href="./include/main.css">
<link rel="stylesheet" type="text/css" href="./include/menu.css">

Also we average about 4,000 visitors per day so the performance has held up but all optimizations will be critical as we continue to grow. Thanks again.

 
Reply With Quote
Old 04-18-2013, 03:33 PM   #8
sweetcell
HBT_SUPPORTER.png
 
sweetcell's Avatar
Recipes 
 
Jan 2012
Rockville, MD
Posts: 5,168
Liked 987 Times on 715 Posts


- needs the ability to manually enter drinks (Ex: my 7.1% homebrew)
- needs ability to add more than one type of drink (what if i had a beer and a scotch?)
__________________
What hops should I grow? Looking for cheap honey?
- Fermenting: Empty-the-freezer DIPA (1 pound of hops in last 5 mins, Chico & 644 split)
- Drinking: English Barleywine (half on brett), local sour cherry kriek #2, Imperial Chocolate Milk Stout on vanilla, sour blond on second-use cherries
- Aging: 3726 saison w/ brett x2 (dregs mix & Lochristi), GNO 3724 saison w/ brett mix, cherry mead, acerglyn, and a few other sours...

 
Reply With Quote
Old 04-19-2013, 07:53 PM   #9
daksin
HBT_SUPPORTER.png
 
daksin's Avatar
Recipes 
 
Aug 2011
San Diego, CA
Posts: 4,617
Liked 357 Times on 311 Posts


Needs moar craft beer.
__________________
I can't be arsed to keep up this list of what's in the fermenters, but hey, check out the cool brewery I own!

twitter.com/2kidsbrewing .. facebook.com/2kidsbrewing .. 2kidsbrewing.com

 
Reply With Quote
Reply
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hop Calculator BikeAndBrew General Beer Discussion 4 04-03-2013 09:41 PM
Is there a calculator? el_caro Beginners Beer Brewing Forum 5 01-01-2012 05:26 AM
IBU Calculator bheliker Brewing Software 0 12-10-2011 11:53 PM
calculator says <0.1 psi?! erykmynn Bottling/Kegging 6 02-27-2010 03:19 PM
Can Someone Put This in Their Calculator? shot0rum247 General Beer Discussion 4 08-19-2008 04:02 PM


Forum Jump