modeling

What is the best option for creating an in-browser UI-editor?

I want to create an simple UI-editor that can be used within the browser. It basically should have a UI-control palette and a canvas to layout and modify the controls. The resulting user-created UI model should be stored in some kind of backend and comply to an (abstract) UI description language (e.g. XForms). The UI-model should be down...

Trying to design/model simple database app

I'm trying to learn more about db interactions which has me developing a local app to get started. Well, basically, what I've done so far has had some mixed results and I've changed so much stuff I'm not even sure what I've change at this point, lol. I'm not quite sure one of my tables was correct, so I've decided to just start that over...

How would you model a "default child" flag with an ORM?

Hi everyone! I'm using an ORM (SQLAlchemy, but my question is quite implementation-agnostic) to model a many-to-many relationship between a parent class and its children.. I was wondering, what would be a simple way to express the concept "one of the children is the default/main one"? For example, I'd need to persist the following: Th...

Packages in MatLab for a beginner?

I need MatLab for 2D and 3D modeling. I have little experience in MatLab. Which packages should I study first to learn modeling in MatLab? ...

How can I make a country plot in Sage/Maxima?

I heard today that Maxima can do the country plot by contour_plot in Sage. I tried the following unsuccessfully to import Maxima: from Maxima import contour_plot I would like to make a similar map as here. ...

Where can I get the x, y, z -coordinates for California to use a contour plot?

I would like to make California's map by the contour plot. However, I do not know how to get the necessary x, y and z -coordinates. ...

How can you move a list from Excel to Sage?

I have a column in Excel, which I need to move from Excel to Sage. ...

Simple simulations for Physics in Python?

I would like to know similar, concrete simulations, as the simulation about watering a field here. What is your favorite library/internet page for such simulations in Python? I know little Simpy, Numpy and Pygame. I would like to get examples about them. ...

Best way to write a Proof of Concept (PoC) app?

I am currently working on a project with which I need to program up a bit of a proof of concept app. I have written PoC apps before but they have only been really small and haven't really had lots of layers where as the app I'm writing now has a: Form layer - talks to data layer. Data layer - talks to Database and Interop layer. Inter...

looking for automated modeling tool for ASP.Net class diagramming

I'm walking into a project with 500+ classes, and am wondering if anyone has had good experiences with automated modeling tools that can import from ASP.Net /C#? It would be a bonus if I could get an automated model based on all the objects called to completely load a single ASP.Net page, with relationships indicating which objects are ...

Best approach to what I think is a machine learning problem

Hello.. I am wanting some expert guidance here on what the best approach is for me to solve a problem. I have investigated some machine learning, neural networks, and stuff like that. I've investigated weka, some sort of baesian solution.. R.. several different things. I'm not sure how to really proceed, though. Here's my problem. ...

Is there a standard notation for translating a class into another?

I'm working on an enterprise integration platform which has to translate data structures understood by one system into equivalent structures understood by another. Suppose, for instance, that I have a class Employee: class Employee { private String lastName; private String firstName; private int age; } which has to be transform...

information criteria for confusion matrices

One can measure goodness of fit of a statistical model using Akaike Information Criterion (AIC), which accounts for goodness of fit and for the number of parameters that were used for model creation. AIC involves calculation of maximized value of likelihood function for that model (L). How can one compute L, given prediction results of ...

Keyboard friendly light weight UML modeling tool?

I'm looking for a free UML tool that runs on Windows and lets me create simple diagrams very fast, with as little mouse fiddling as possible. I have no need for code generation or fancy stuff, just UML style boxes with arrows. What I would like is something that for example lets me add a new class with a keyboard shortcut and lets me e...

How can I model complex role relationships where only certain groups of entities can take part in a role?

Let's say I have to model the meals of a diner. A meal can consist of several "components": (Fries OR rice OR wedges) AND (One of six different beverages) AND (One or two out of seven different sauces OR none at all) Another meal can consist of: (Salad OR rice) AND (Garlic OR no garlic) Further meals can consist of: Just fries...

What methodologies, processes, and tools are available for designing and modeling non-object-oriented applications?

I'm quite familiar with UML for modeling object-oriented applications. However, I'm not familiar with anything specifically designed for designing and/or modeling procedural, functional, or any other paradigm. How do you design or model applications written in a non-object-oriented language? ...

MySQL database modeling problem from a newbie

Ok, I have a problem that i've searched and searched for solutions to online and can't find any leads, here it is (oh, and i'm very new to this database stuff ;-) Lets say I have thousands of retail stores and each one can carry 1 to 100 products, but there are 10,000 possible products available. I need each store owner to be able to se...

What diagramming techniques (not tools) do you use during your programming?

What diagramming technique(s) do you use while programming to help you or others understand your program or design. I am not talking about a person's favorite tool, though a good tool probable helps a person greatly with diagramming. My intent in this question is to find the simple useful diagramming techniques people actually use and f...

Is there a visual diagram format for gui event mapping?

Hi, Does anyone know of any kind of UML variation which can map events in a GUI system? I have a quite complex event driven GUI system and I would like to create a diagram so new developers can easily get an overview of events fired by various views and what models/controllers or view are instantiated/effected by these events. I was l...

Have you ever found graphical modeling (UML, CASE tools) to be useful in software development?

I am curious if you might share your experiences developing software using graphical models of any kind. Flowcharts, state diagrams, whatever. Have you found any graphical tools that dramatically increased your productivity over working in pure code? ...