Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > Other Topics > Programming

Notices

Programming Discussions about computer programming

Reply
 
Thread Tools Display Modes
Old 07-07-2012, 10:21 AM   #4351
Carpal \'Tunnel
 
Join Date: Aug 2004
Posts: 7,140
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by gaming_mouse View Post
What's hard isn't writing a query to figure out what questions they havn't answered. What's hard is all the UX issues it raises:

Do you silently omit the question?
Do you display it but greyed out with the existing answer which cannot be changed?
Do you just show a message saying Question 6 has been skipped because you already answered it? Or do you just renumber the questions? Etc, etc.

You really have to think hard about your business goals and the user experience to answer questions like this. They might seem trivial and easy, but ime figuring stuff like this out is by far the hardest and most time consuming part of application development.
great post. this articulates well what i'm going through right now acutally. if you have any links on user experience ideas/guidelines that would be cool too. i had never heard of the term or the acronym until now
greg nice is offline   Reply With Quote
Old 07-07-2012, 10:54 AM   #4352
Carpal \'Tunnel
 
Gullanian's Avatar
 
Join Date: Dec 2006
Location: London
Posts: 13,011
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by gaming_mouse View Post
Gull,

The whole cart feels really slick -- nice work. i especially love the subtle graphic effects when things change. One tiny tiny nit -- remove the "update" button and just make the cart update as you type a new quantity, or maybe when you leave the form field?
Thanks! I think doing it in real time could be a little disconcerting for the user - I thought a lot about that and in the end decided to copy how Amazon do it
Gullanian is offline   Reply With Quote
Old 07-07-2012, 11:37 AM   #4353
Carpal \'Tunnel
 
gaming_mouse's Avatar
 
Join Date: Oct 2004
Location: taking notes on u (see profile)
Posts: 11,934
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by greg nice View Post
great post. this articulates well what i'm going through right now acutally. if you have any links on user experience ideas/guidelines that would be cool too. i had never heard of the term or the acronym until now
i'm not an expert at it, but doing BDD has been the most helpful thing so far. and by that i mean not only stuff like cucumber, but more importantly the process of first thinking through and writing down what a specific kind of user wants to do in a specific scenario.

so if you were thinking about twoplustwo, two important user types to think about would be regular forum users and new users. what are the tasks a regular user comes to the site to complete? one of them is to see new activity on threads he's participated in. so how do you present info to him to make those tasks easiest? 2p2 has the subscribed threads feature, eg, for the first task. but it's sort of hidden away. if you were redesigning it, you might want to make it more prominent, or even make it the homescreen, etc. now think about a new user. his goals are completely different. you may have to balance conflicting goals for different user types.

the specific answers aren't my point here though -- it's the process of starting with a user and what he wants to do in a specific case. Writing that down with no concept of how you are going to solve it, no thought of UI whatsoever. That's where you need to start.

sort of on this topic, i recently read this article and found it helpful.
gaming_mouse is offline   Reply With Quote
Old 07-07-2012, 01:14 PM   #4354
Carpal \'Tunnel
 
Join Date: Aug 2004
Posts: 7,140
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

very interesting, thanks
greg nice is offline   Reply With Quote
Old 07-08-2012, 12:49 AM   #4355
Carpal \'Tunnel
 
Ryanb9's Avatar
 
Join Date: Aug 2006
Location: NEVA!
Posts: 6,369
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

In C# when I make an instance of A that inside it has an instance of B which inside that has an instance of C... when I want an event raised by A to be handled by C without A knowing about C i do a.EventName += b.HandleEventName and inside B i do HandleEventName { get{return c.HandleEventName;} }.
First of all is this standard / okay? And my main question is what is the easiest way to do the reverse of this (i.e. event raised by C that gets handled by A without C knowing about) A. I can only think of two ways, one is have B receive an event from C and immediately raise its own event i.e.
Code:
(B) public void HandleCEvent(object s, args e)
{
     EventHandler<args> handler = copyEvent;
     if(handler != null) handler(s,e);
}
And just have A subscribe to B's copyEvent. The other one is something like
Code:
(A) b.foo(HandleEventMethod);
(b) public void foo(EventHandler<args> method)
{
    c.event += method;
}
Is there any other ways this can be done? Is one of the two above better than the other?
Ryanb9 is offline   Reply With Quote
Old 07-08-2012, 03:48 AM   #4356
grinder
 
Bank's Avatar
 
Join Date: Aug 2008
Location: fielding error by Austin Jackson
Posts: 562
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by Colombo View Post
Could anyone give me any pointers here? I need to keep track of a user's responses, while also ensuring that each response is uniqued on (userID, questionID).
SurveyQuestion needs SurveyIndex field.

Survey doesn't need numQuestions field. (it is a derived value)

Where is your QuestionAnswer table?
Bank is offline   Reply With Quote
Old 07-08-2012, 10:37 PM   #4357
veteran
 
Join Date: Feb 2008
Location: 1st world obv
Posts: 2,850
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Hey guys, it seems like rails, python, and php are standard for REST-based APIs. I want to make different iphone apps that use them to access databases (stuff like recipe APIs, wine APIs, etc). Which of rails/python/php would I do best to spend some time learning? Also, how much of the language would I usually need to know to do this? Thanks.
alex23 is offline   Reply With Quote
Old 07-09-2012, 11:51 AM   #4358
veteran
 
Colombo's Avatar
 
Join Date: Feb 2005
Posts: 3,349
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Just want to say thanks to all those who offered advice with my survey question!
Colombo is online now   Reply With Quote
Old 07-09-2012, 01:23 PM   #4359
Carpal \'Tunnel
 
clowntable's Avatar
 
Join Date: Jun 2006
Location: 39, 46, 56, 59, 191
Posts: 39,728
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

How feasible is xulrunner, chromium whathaveu for a user interface? I feel like redoing a bit of a gameserver and am wondering what user interface would be best.

I'd say webbased LDO but I want multitabling (just pretend I develop a poker server/client). Has anyone experience with say running 4 xulrunner based user interfaces to connect to some server?

The alternative would be Qt I guess (don't care about the recent turbulences it's good enough and will be good enough imo)
clowntable is offline   Reply With Quote
Old 07-09-2012, 01:26 PM   #4360
veteran
 
WiltOnTilt's Avatar
 
Join Date: Aug 2004
Location: bbq country
Posts: 2,531
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

i'm looking for a good/easy gui for viewing multiple server logs from multiple machines. Obviously just using the command line is ok but it would be nice to be able to have some software with tabs that can hold a tail -f style log stream.

anything out there like this for mac? i tried to google but didn't have much luck (although could be me being dumb)

Thanks
WiltOnTilt is offline   Reply With Quote
Old 07-09-2012, 01:57 PM   #4361
_Pooh_Bah_
 
Join Date: Feb 2005
Location: UK
Posts: 9,133
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

does a mac terminal not have tabs? or do you mean something else?
_dave_ is offline   Reply With Quote
Old 07-09-2012, 01:58 PM   #4362
veteran
 
MrWooster's Avatar
 
Join Date: Mar 2007
Location: Shoving AK
Posts: 2,839
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I have used multitail before... its highly configurable and allows you to tail logs from any number of different sources simultaneously. Configuration can be a bit of a pain at the start.

http://www.vanheusden.com/multitail/
MrWooster is offline   Reply With Quote
Old 07-09-2012, 03:56 PM   #4363
Carpal \'Tunnel
 
Ryanb9's Avatar
 
Join Date: Aug 2006
Location: NEVA!
Posts: 6,369
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

I finally did it xD
Ryanb9 is offline   Reply With Quote
Old 07-09-2012, 04:08 PM   #4364
veteran
 
WiltOnTilt's Avatar
 
Join Date: Aug 2004
Location: bbq country
Posts: 2,531
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by MrWooster View Post
I have used multitail before... its highly configurable and allows you to tail logs from any number of different sources simultaneously. Configuration can be a bit of a pain at the start.

http://www.vanheusden.com/multitail/
thanks ill chk it out
WiltOnTilt is offline   Reply With Quote
Old 07-09-2012, 04:10 PM   #4365
veteran
 
WiltOnTilt's Avatar
 
Join Date: Aug 2004
Location: bbq country
Posts: 2,531
Re: ** UnhandledExceptionEventHandler :: OFFICIAL LC / CHATTER THREAD **

Quote:
Originally Posted by _dave_ View Post
does a mac terminal not have tabs? or do you mean something else?
i was just looking for something a bit more user friendly, like preconfigured login/pass/path to log, easily export/save/search/watch in real time. command line is ok just thought there might be something better
WiltOnTilt is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 06:09 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2008-2010, Two Plus Two Interactive