|
Pete O'Hanlon wrote: so changing the interface resulted in the VTable being incorrect
Not incorrect in the compiled module, so what I said then, right?
led mike wrote: My best guess is that you mean, can you modify an interface, build and distribute the assembly without breaking existing code.
led mike
|
|
|
|
|
Well - depending on versioning, yes.
|
|
|
|
|
Yep, but rather than the nicely broken like you get in .Net, it was horrible horrible things like stack corruption or jumping to a completely wrong location
|
|
|
|
|
Are there any software with modeling can get knowledge from texts?
Something like terminology extraction software
With modeling that can idenfify texts, get knowledge from texts.
Will be install on Novell Linux Enterprise, Sun Solaries, openSolaries.
OCR from books.
OCR to turn the text into a digital format
Reference, some machine learning software:
http://www.dmoz.org/Computers/Artificial_Intelligence/Machine_Learning/Software/
http://www.cs.waikato.ac.nz/~ml/weka/
http://www.ph.tn.tudelft.nl/PRInfo/software.html
http://www.fml.tuebingen.mpg.de/raetsch/workshops/MLOSS06
http://www.mloss.org/software/
http://maltman.hmdc.harvard.edu/socsci.shtml
http://home.earthlink.net/~dwaha/research/machine-learning.html
http://dir.yahoo.com/Science/Computer_Science/Artificial_Intelligence/Machine_Learning/Intelligent_Software_Agents/
http://www.google.com/Top/Computers/Artificial_Intelligence/Machine_Learning/Software/
http://www.nec-labs.com/research/machine/ml_website/main/software.php
http://www.isp.pitt.edu/information/software.html
|
|
|
|
|
Hi,
I am new to MVP architecture. Can anybody please send the sample project like student/Employee which will demonistrates the MVP architecture. The article is good help to me which is posted by you.
Thanks in advance.
|
|
|
|
|
sreenivasaraok wrote: I am new to MVP architecture. Can anybody please send the sample project
Is there something wrong with this sample project?[^]
led mike
|
|
|
|
|
|
(Cross posted from the c# forum)
A Customer can have multiple Products and a Product can be assigned to zero to more Customers
But, there are some items (such as BasePrice and DefaultPrefix) that are implicit to a customer-product relationship.
In the database this can be modeled as
Table Customer with Columns CustomerId, Name, etc.
Table Product with Columns ProductId, Name, etc.
Table CustomerProduct with Columns CustomerId, ProductId, BasePrice, DefaultPrefix, etc.
How would you model this as Domain Objects?
All I could think of is
Customer
..CustomerId
..Name
..AssignedProduct[] Products
Product
..ProductId
..Name
..Customer[] Customers
AssignedProduct : Product
..Customer Customer
..BasePrice
..DefaultPrefix
But that doesn't strike me as too slick (an Assigned Product has a Customer and a Customers[]???) and as this simplified example gets closer to what I actually have to model, this design starts to have problems among which is that NHibernate can't model some of this stuff
|
|
|
|
|
I'm toying with the idea of using 'virtual' menu items to allow a user to configure a menu. When placed in an 'edit mode', each real menu item will get extra 'virtual' child items such as 'Add Child', 'Add Above', 'Add Below', etc. which will bring up a dialogue for configuring the menu item. Any thoughts on this approach?
|
|
|
|
|
Brady Kelly wrote: Any thoughts on this approach?
Works for the Windows Forms designer.
|
|
|
|
|
Personally I hate the menu editor as it sits today. It is a real pain in the butt to use when you need to build them menu and then go back and set properties on it, etc... Just a big pain.
I am a much bigger fan of the interface used for edit toolbar buttons really. Just give me a separate window with a tree view and a property grid. Seems much more effective that using in-place editing for the menu items.
Just MHO.
|
|
|
|
|
My bad not stating it's an ASP.NET menu control I want to make editable, so it already renders a left hand, vertical tree structure that I would like to use for editing, also with a property page in the main pane.
|
|
|
|
|
I'm curently trying to simplify testing in my company by enabling the use of the command pattern.
So I need:
Command - interfact/abstract class defining public contract for concrete commands
ConcreteCommand - and command to use
Receiver - class that receives command to execute
Invoker - class that invokes the command on the receiver.
Ok so this is all standard GOF stuff, where I'm scratching my head is the implementation of the command and receiver classes.
We use selenium for testing the web apps UI and will make a call something like:
selenium.Click("link")
or
selenium.GetXPathCount("//div[@id='ctl00_MainContent_pnlWork']/table/tbody/tr")
What I want to do is enable a developer to create a command to perform a selenium action such as the code above (ok technically they're 2 different commands since one has a return and one doesn't) but I don't want to have to create a concrete class for each type of selenium action i.e. method but at the same time in my receiver class I don't want to have a huge switch statement that caters for each type of command.
I didn't want to pass the receiver to the concrete command object as I have other types of command I need, such as db commands, which need different receivers and where possible would like to use a generic interface for the receivers to enable easy expansion in the future (I already have 3 potential receivers and this may grow).
I'm using C# and Asp.Net with the .Net 3.5 framework.
Any help appreciated.
|
|
|
|
|
Lowest of the Low wrote: Any help appreciated.
Ok, I suggest you ask at least one question. That way people here might be able to help you.
led mike
|
|
|
|
|
Thought I had
To be clear I'm asking the best way to implement the ConcreteCommand & Invoker (which sort of go hand in hand as command passed through needs to be interpreted by the invoker).
Once specific example of this is utilising selenium and being able to pass a command to an invoker than will execute that command by calling a method on an instance of the selenium.
Hope thats clearer.
|
|
|
|
|
Lowest of the Low wrote: To be clear I'm asking the best way
My experience in forum discussions on design issues indicates that it's normally not possible to gain sufficient understanding of the problem domain (due to the limits of text messaging conversations) to definitively know what the "best" solution is. Most likely what you can get is some ideas. Some may not be based on a correct understanding of your problem domain and therefore won't seem very good to you because you do have a more comprehensive understanding of the problem domain. Ultimately it will be up to you to determine which is the "best" solution.
Lowest of the Low wrote: but I don't want to have to create a concrete class for each type of selenium action i.e. method but at the same time in my receiver class I don't want to have a huge switch statement that caters for each type of command.
Keep in mind what I said above about not having a clear picture, but that statement seems to say something like, we have options A and B and I don't want to do either. So I guess you are asking if someone knows of a another option. I suppose delegates or since you are in 3.5 maybe Lambda expressions could be leveraged to provide a solution that is neither a class for each selenium action nor conditional statements for each selenium action.
I am doubtful that delegates are superior to classes and I have not yet ventured into 3.5 and Lambda. However many people that have seem enamored with it, so you might want to spend some time looking at it.
led mike
|
|
|
|
|
Thanks for the feedback.
I think I'll post in the C# forum about Linq and see if anybody can offer some advice there.
|
|
|
|
|
Lowest of the Low wrote: I think I'll post in the C# forum about Linq
Dude, there's a LINQ and .NET 3.5 forum
Last modified: after originally posted -- hahaha Link! That was a good one!
led mike
|
|
|
|
|
If you're going to make a fairly simple website which will get many clicks/concurrent visitors, e.g. 20 000, which type of project in Visual Studio 2005 or 2008 is the best choice according to performance (fast response time), meaning will there be any difference choosing one type of project over the other?
Regards
Heidi
heidihundala@gmail.com
|
|
|
|
|
heidihund wrote: which type of project in Visual Studio 2005 or 2008 is the best
I have not used VS2008 yet but in VS2005 I am only aware of one option for creating a Web Project. Could you be more specific about what different options you are concerned about?
led mike
|
|
|
|
|
led mike wrote: Could you be more specific about what different options you are concerned about?
I second that. I think they want to know which makes a better web project, VS2005 or 2008, in terms of live web application. In theory, neither should be better than the other.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Please rephrase your question as to what you are trying to find out.
Also, putting your email address in your sig is opening you up to email harvesters crawling around the Internet.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I presume you are talking about the "Web Application" project type that was introduced in VS2005 SP1, versus the "Web Site" option? AFAIK, there is no difference in performance: they are both ASP.NET applications, just with different solution explorer rules. I may be wrong...
You might have more luck posting this in the ASP.NET forum[^].
----------------------------------
Be excellent to each other
|
|
|
|
|
hai
i m interested in creating a CMS in asp.net for my main project
anybody will tell me how to do it or any TIPS.
|
|
|
|
|
nibinki333 wrote: any TIPS
The first tip that comes to mind is, what if people don't know what your acronym means "CMS"?
led mike
|
|
|
|