I really like this! I recently started making simple cocktails, and I am certainly going to use this.
Things I'd like to see:
* I prefer milliliters over oz (I didn't even know what it was before I googled it, since I live in Europe), please make this an option
* Some form of autocomplete, preferably with a dropdown list (but make sure it doesn't obstruct the next textbox). There's a jquery plugin that does dropdown autocomplete well.
* Pressing enter should make the next textbox active (seems more intuitive than tab in this case)
* It would be nice if the ingredients in the ingredient list below a cocktail were clickable. Clicking them should add them in the list of selected ingredients and update the cocktails visible.
While I appreciate the use of history, I promise you I don't need to hold my position on the page for every single letter I type in the search box: http://screencast.com/t/1qFwxlz5
I ended up with a history entry for "search results for 'c'", "search results for 'co'", "search results for 'cog'", etc.
Maybe trim this down to only firing after 10s on inactivity in a text input or use onblur? I'm not too sure what the answer is but it (page history) definitely loses any usefulness when architected in this manner.
The primary reason why I am using the history API, is that you can bookmark and send links to a specific search. However I agree that when you are actually using the history, it becomes annoying to have any search that was executed while you were typing in your history.
However when updating the history only every 10s, you might have to wait until you can copy the link to your search from the address bar. And if you aren't typing fast enough there still can be incomplete searches in your history.
Using onblur would be better. But what would you think about, updating the history as soon, as the cursor is moved? I think I like that idea pretty much.
They reset the timout everytime you type another letter. That approach seems to work quite well, unless you are a very slow typer.
However I have just implemented another approach to deal with that issue. Now, the history is updated either when the current field lost focus or when you move the mouse, after you entered something. Please try it out and let me know what you think.
Thank you very much for the feedback. However the problem is, that the ingredients as imported from the websites I crawl aren't in any structured format. I didn't found a reliable way to extract the amount and the actual name of each ingredient. And without that, auto-completion and converting amounts is impossible to do. However if somebody is smarter than me, suggestions (and pull requests) are welcome. :)
In that sense, all games are rendering in 2D, because screens are 2D. They just do it in a much more complicated way.
What I'm seeing in this demo is 3D in every sense, the code is basically a very simple 3D engine, and it requires knowledge of computer graphics to understand it, so the top-level commenter here asked a valid question.
Who is insulting him? People are just saying that his age is not relavent to what he did, and I agree. His post should describe the project. It should be about how awesome his project is, not about how awesome he is.
>because most young people are not interested in creating
Clearly you need to work with young people more :)
There is that misconception that all teenagers care about is watching TV or hanging out with their friends and doing nothing "creative" or "productive".
How wrong! I've worked with hundreds of teenagers over the past few years, and I've never met one who wasn't interested in creating.
By default, kids and teenagers have a thirst to create, to see how they can imprint the world they live in.
Sure, for a lot of them, what they wish to create is what HN would (sadly) scoff at (those dreaming of becoming athletes, singers, actors, writers, etc.). But the intent to create is there.
What makes the difference ultimately is how seriously they're taken. In our current society, they're just dismissed as ignorant teenagers, and that's what they become in a sad self-fulfilling prophecy. But when they're given the proper encouragement and tools to act upon their creative impulses, that's where the magic happens.
I may have chosen my words incorrectly, since in many ways I agree with you about the teenager's (or young adult's) thirst to make an impression in the world.
That said, there's a huge difference between wanting to be a creator, and actually creating stuff. In my experience, most young people quickly settle down into caring less about the acts of creation and self-expression, and focus more on 'making an impression' in their immediate peers. This path leads to obvious, uninteresting, facile, lazy, short-term, me-too, style-over-substance, meaningless creations that I can barely label as such.
Is it down to proper encouragement and guidance? For sure that must help a lot, especially when dealing with setbacks and lack of validation. But I believe there needs to be a level of inner dialogue and disregard for what's popular around oneself, that is a) at odds with the desire for teens to 'fit', b) rarely encouraged in practice in our society, and c) hard to sustain against the amount of noise (media, fashion, etc) we surround ourselves with.
>In my experience, most young people quickly settle down into caring less about the acts of creation and self-expression, and focus more on 'making an impression' in their immediate peers. This path leads to obvious, uninteresting, facile, lazy, short-term, me-too, style-over-substance, meaningless creations that I can barely label as such.
Of course- but one must give them time! They're barely starting to figure out how to interact with their peers and themselves, and you want them to create masterpieces on the side? "On n'est pas sérieux quand on a 17 ans!" ("We are not serious when we are 17" - Rimbaud had it right)
Everything in its moment; the important thing is that their creations should not be dismissed as "obvious, uninteresting, lazy [...]", because negativity is the mother of sterility.
> But I believe there needs to be a level of inner dialogue and disregard for what's popular around oneself, that is a) at odds with the desire for teens to 'fit', b) rarely encouraged in practice in our society, and c) hard to sustain against the amount of noise (media, fashion, etc) we surround ourselves with.
Some of them can figure that out on their own; some don't (and most are in between).
That's where we come in as educators (which I believe every philosopher implicitly is [as in us, φιλόσοφος, lovers of wisdom- which is a description HNers rally under]) :)
The proportion of those under twenty that are interested in, to put it generally, 'creating things' has not significantly changed over the years. There will always be a large number that are passive, that simply want to be catered to.
The difference is that with the internet and social media we can actually see how large that proportion is. In the age of television, newspapers, and strictly controlled publishing you wouldn't hear from these people at all. They'd be invisible.
The ability of young people to interact directly with the creators they admire has never been greater and we're seeing a lot of achievement in that group that wasn't possible before. Instead of being shunned by publishers, these kids are just going it alone and self-publishing and in some cases, succeeding, something that would never have happened twenty years ago.
There always has been and always will be lazy people.