|
Unfortunately, this happens in the middle of the ocean and we're on the clock and have to keep going, so it's restart with some random cursing and get back at it. I brought my development machine out once and ran the program through the VS debugger, but the break was not helpful at all. Definitely not a power off or hibernate, that stuff is all turned off, it might be USB, but there are three other peripherals running through the application on their own threads and have never had a problem. Of course, the other three are also not constantly streaming.
Back at sea in a few weeks, I'll definitely check the event log...as you said, w/out much hope! Not sure I've ever gotten any help there.
Don't have much time to spend on this, thought I'd throw this out there and see what came back.
Thanks for your feedback,
TnM
If you're not sure you're in a cult, you are.
-- Stephen Colbert
|
|
|
|
|
I'm looking to build a desktop application which primarily is used for data entry. However, the application needs to have a few features that assist the user in selecting the appropriate data. If you have experience designing applications and have good models/ frameworks that you think would be best after reading this, please let me know. Here are many of the details.
The application idea is to create a UI with one page that has a host of listboxes, comboboxes, textboxes, and tabcontrols. The user will select the data from the combination of controls, then press CREATE RECORDS somewhere in the application. The data that is entered is either going to be entered directly into a database ( postgresql) or will begin in a datagrid and then after review of the records ( perhaps a separate tabitem) , will be placed into the database. The best part about this application would be the speed at which it is able to build records based on looping through the controls. Many of the records that are currently being created have data that is easily created by looping through controls such as listboxes as the data on the records is only different by a slight change in the value that can be shown in a listbox and selected with a multiselect.
I would like to separate the application into its parts as this seems to be common practice for application design and efficiency gains when coding. ( MVVM is just one I have read about recently.) I am going to be using NPGSQL as a data adapter and the rest is simply up for design grabs. If you have any recommendations, please let me know. I would really like to know if there is a better framework to design such an application and have so far been working looking into WPF. All knowledge and recommendations are welcomed. Thank you so much.
|
|
|
|
|
|
Hi Peter, and thank you for the reference material that microsoft wrote. It appears that the article has some relevent information for me, specifically approaches to creating a n-tier application. However, do you feel that this document is slightly outdated considering it was written 12 years ago??
|
|
|
|
|
|
Member 10420054 wrote: The best part about this application would be the speed at which it is able to build records based on looping through the controls That simply means that you should not be doing a blocking database-insert from the UI-thread.
Get the data, when the user presses "enter" create a new thread and have it insert the data. Reset the UI at the same time so that the user can continue inserting data. That way they can type without having to wait for the server.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy Vluggen wrote: Get the data, when the user presses "enter" create a new thread and have it insert the data. Reset the UI at the same time so that the user can continue inserting data. That way they can type without having to wait for the server.
That can be done also by using MQ (Message Queueing). Put your output record on the OUT queue and get on with life without bothering about creating a new thread.
|
|
|
|
|
Member 10420054 wrote: ...which primarily is used for data entry.... that assist the user in selecting the appropriate data
People who actually do data entry where speed matters typically don't need 'help'. Attempts to make it faster for them tends to slow it down because they type based on patterns. Thus it doesn't matter to them if they must type values into 10 fields but if they must learn that sometimes the only type values in 7 fields, or 4 fields, then they must learn not only what to type but must also learn the rules that is trying to help them in the first place.
If on the other hand you are not dealing with real data entry people or perhaps in terms of training new data entry people then finding a solution there depends on the application. But a knowledge based tutorial which one can use while learning (and can be turned off) might be suitable.
Member 10420054 wrote: I would like to separate the application into its parts ...
No, no, no.
As this forum suggests there is a reason someone starts with "Design and Architecture". You don't look at technology UNTIL you know what your application needs to do. And you don't know that yet.
|
|
|
|
|
Please I need guide on how to design webserver using Linux operating system
|
|
|
|
|
|
You forgot to say the magic words: "Plz send codz. Urgenz."
|
|
|
|
|
Would anyone be willing to give me some constructive feedback on my most recent article?
ITAdvisor Blog
All constructive feedback is genuinely appreciated.
Thanks
JD
http://www.seitmc.com/seitmcWP
|
|
|
|
|
Actually articles are expected to be posted here on CP, not simply advertised here...
|
|
|
|
|
Why not you link your CP account to your blog - it will give you a larger publicity and us something to read...
Also you will get all the feedback you ever wanted (I don't know about constructive )
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
The truth? Lots of words (with rather poor grammar) but very little useful meaning in them. Your title is "ARCHITECTING BIG DATA SOLUTIONS", but I did not see anything that would actually help to do that, as it is such a high level overview. Sorry to be so negative but I think you would do well to go back and review it from a reader's perspective.
|
|
|
|
|
He asked for constructive feedback, yours much like destructive ...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
There was nothing constructive that could be said about it.
|
|
|
|
|
Thank you all for your comments. I am working on becoming a better writer so your comments, as long as they help me do that, are welcome. "The harsh words of a friend are better than the kisses of an enemy."
I am starting to think that this may not be the place for this type of article. My audience was the 'C' level suite to provide some general thinking guidelines. They don't want the same level of details that we as developers need. Should have probably put that in the initial request.
Again thank you for taking your time to help me. I appreciate it.
JD
Thanks
JD
http://www.seitmc.com/seitmcWP
|
|
|
|
|
You should also appreciate that this forum is not the place for this. If you wish to write articles then you can submit them by following the Article Submission Guidelines[^]. They will then go into the general review queue where CP members can review and provide feedback, without further prompting from you.
|
|
|
|
|
I wonder what optimization algorithm should be used for such a problem:
x: independent variable
y: dependent variable
For y = f(x), find all x such that:
sum of y is > p where p is a positive integer
sum of y is the minimum of all sums that are greater than p
|
|
|
|
|
Try the Algorithms forum.
|
|
|
|
|
I am looking to find some mathematical way to determine a relative rating among users.
For example, ( A1:5 = completion of task A1, taking 5 seconds)
Bob : A1:5 A2:6 A3:15
Joe : A1:5 A2:10 A3:15
What I am looking to come up with is a numeric rating of who is better at the "A" task based on how fast they complete each task. ( the shorter the time, the better )
So in the above example, Bob, would have a higher rating, and this is pretty easy to figure out.
However, when more, and unequal completion of the tasks are added... it starts to get complex:
Bob : A1:3 A2:9 A3:12 B1:20 B2:10 B3:1 D1:15 D2:20
Joe : A1:5 A2:11 A3:13 B1:15 B2:12 B3:2 C1:4
Is there a mathematical model that describes what I am trying to achieve?
modified 5-Mar-14 13:19pm.
|
|
|
|
|
M i s t e r L i s t e r wrote: Is there a mathematical model that describes what I am trying to achieve?
Probably, but we'd need to know what you're trying to achieve first!
With your first example, it looks like you're summing the time for all the tasks, and ranking the users based on the total. Would that work for your second example?
Are you ranking each user on each task, summing the ranks, and then ranking the users on that total?
Try to talk exactly through what you want to do step-by-step. If the answer doesn't jump out at you, write down the steps and post them here.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
So what I am trying to achieve is this:
A bunch of users perform N number of tasks. Each task can have 1-M sub tasks. eg:
Task[ 0 ] : Sub tasks = 2
Task[ 1 ] : sub tasks = 3
User A
Task[0][0] = 20
Task[0][1] = 35
Task[1][0] = 45
Task[1][1] = 42
Task[1][2] = 56
User B
Task[0][0] = 15
Task[0][1] = 26
Task[1][0] = 49
Task[1][1] = 22
Task[1][2] = 39
|
|
|
|
|
OK, but how are you wanting to rank the users?
Are you just summing the total time for all sub-tasks of all tasks and ranking based on that?
Are you summing the time for the sub-tasks of each task, ranking the users per task, summing the ranks for all tasks, and then ranking the users based on that?
You need to explain how you want to get from a series of tasks, sub-tasks and times to a rank for the user.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|