Experienced people might be expected to look at that. I would not expect someone with no experience to know to do that. Same as I would not be able to expect them to craft specific enough google queries to return relevant results to many programming problems.
American English speakers (not sure if Great Britain English speakers do this so I'm being specific) will often use they, their, them for a single person being referenced as was being done in the post you commented on. I am fairly sure that is what happened in that post rather than that person assigning a pronoun to you(2nd person pronoun).
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
The answer is no. Technology and science is based on a progression from past achievements. And it is also impacted by economics. You can read up on the practical problems associated with building some of the tallest buildings in the world right now. That would include things like the base of the building, how they deal with sway and some of the tricks that they use to get to be the "tallest" without actually paying to build something useable to that height.
I`m not sure which branch this subject belongs to, D&A seems `general` enough so I`m attaching my question here. The question is is there a difference between the algorithms that operate with bits and those created for a quantum computer?
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
The quantum computer mechanics work on the qubit which is a two-state quantum-mechanical system that is one of the simplest quantum systems and the bit refers to the binary digit system which is basically a unit of the amount of information in computer.
I have a WPF app that is part of a basic n-tier design. UI <=> BL <=> DAL. It's been under construction for a while and we just keep adding features to it.
At some point in the future, 6 months or so, the BL and DAL will be hosted in a Web API in IIS on the client's server.
Right now, parts of the UI are VERY slow. There is a Project view with a detail section on top and sub tabs below. All of the data is being brought back as soon as the project is opened, and it takes a long time.
I want to do some refactoring, such as:
Lazy load the sub tabs. However, some tabs cannot be loaded unless data from other tabs is there. Other tabs are stand-alone.
Everything is synchronous. Make back end calls async.
If a tab's data is changed, for the most part the other tabs don't know about it. A few raise a changed event, but for the most part, the Project needs to be reloaded. Changes from other users are not reflected at all until the Project is reloaded. So I could keey the local data synchronized, but for data from other users, provide change notification somehow.
These are the top 3 issues. The big one is the load/save time.
For the Project opening load time and save time issue, one idea I've had is to create a 'package', which would just be a class with only the data that is needed to load the Project, and asynchronously call that when the tab is opened. Then, lazy load tabs as needed. They also would use the package concept to get only the data needed to populate that tab, which could be one or more lists of entities.
On save, load & send the Package class with only the data that has changed back to the DAL.
I'd like to hear what you guys think.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
I have an application that reads a directory's files, displays them in a grid, and offers a toolbar with buttons that invoke functions that apply to all the files in the grid.
In the following code, reduced to its essentials, when the user clicks the Trim button in the toolbar, toolTrim_Click executes, opening the form that collects the options for the Trim operation, and then invoking the method that trims the pages from the list of files. That method then invokes for each file the method that trims the pages from that particular file. The async part is just to keep the window draggable.
What would be the pros and cons of refactoring the above code like this? The difference is that we move opening the options form to the class that manages the list of files instead of keeping it in the main form class.
It seems to me that the class that manages the list of files should be the class that collects the various operation options, but I don't know which is the best practice, or what the implications are of doing it the second way.
Well, I'm using modal dialogs for the various forms that collect user input because, while any of those forms is open, the user should not be able to focus on any other form. It's like Word's Font dialog.
I suppose I could put all related code in each form. Then the Rename Files form would have its own code that renames files, and the Trim Pages code would have its own code that trims pages from the files.
But I understood from my Google "research" that forms should just be data input and validation devices. I thought it was better practice to have a class that deals with the collection (files, invoices, parts, whatever) that contains the logic for managing the collection, and separately a class for the individual item within the collect that would contain the logic for operating on the item.
Thanks for the input. You had suggested putting all the code in the form, but that violates the principle of separation of concerns.
I know the application I described is not a "data entry application." I didn't describe it as such. The question was really about code organization, not about form modality or the definition of user interface.
Please let me know if you have any answer to the question posed as is.
I confess I have not read the Analects, but I love and know by heart its first line. The Master said: To study and at due times practice what one has studied, is this not a pleasure?
Last Visit: 31-Dec-99 18:00 Last Update: 4-Oct-22 20:45