Geek trivia

Posted on January 16, 2016


To handle an individual key press, implement onKeyDown() or onKeyUp() as appropriate. Usually, you should use onKeyUp() if you want to be sure that you receive only one event. If the user presses and holds the button, then onKeyDown() is called multiple times.

That’s from  and I just wouldn’t have thought of that…

I’m trying to figure out a way to address that common misconception that “two negatives make a positive,” including having my app notice, when user is first presented w/ neg plus neg, if the first key struck is not hte negative key.  I don’t want to wait ’til they hit “enter.” I want it to just stop them in their tracks and ask “are you thinking two negatives “make” a positive”?   Maybe have an animated “two negatives make a positive” getting STOMPED by “BUT TWO WRONGS DON’T MAKE A RIGHT!!!”

Or something gentler 😉   … but if that misconception is in their solid, it’s going to take explosions to unearth it.   Maybe “You are smarter than your misconceptions”?

Time for a little ride.  Just like last Saturday… it’s going to get worse for riding tomorrow.(snow).. and this time, downright nasty (below zero) Monday.

… how to have the cognitive resonance win???