strategy

How to determine a development strategy change from the middle management?

We are a start-up, with a few (14) clients using our products. These products were developed in a close source web development framework only maintained by one developer on the core. Basically the framework server is required to be able to run any application built in it. So there is no code, in our layer of the application. Think of...

Data structure enabling "Search by order"

I would like to know what data structure / storage strategy I should use for this problem. Each data entry in the database consists of a list of multiple ordered items, such as A-B-C-D, where A, B, C, D are different items. Suppose I have 3 entries in a database, A-B-C-D E-F-G G-H-B-A When the user entered some unordered items, I h...

Deciding on a comprehensive mobile strategy

I have an idea for a mobile application (initially targeting iPhone but would like to target others in the future) and am trying to decide the best way to package/sell the product. For lack of a better term, the app would be a "platform" that potential clients could use to create their own branded application. There will be a server-side...

Recommending to a friend a strategy to build a rich internet application using Flex and (maybe) Java or Ruby on Rails

My friend has an idea for a web application. The application is relatively straight-forward: no more difficult than a flash game (so I'm told) that exchanges minimal data with a server. Only thing is, he is a beginner. I don't know anything about developing Flash/Flex applications. Nevertheless, this is what I've recommended he do. ...

Capturing delegates in anonymous methods

Consider Action _captureAction; private void TestSimpleCapturedAction() { Action action = new Action(delegate { }); Action printAction = () => Console.WriteLine("Printing..."); action += printAction; CaptureActionFromParam(action); action -= printAction; _captureAction(); //p...

City building strategy algorithms

I'm looking for some papers on finding an infrastructure development strategy in games like Starcraft / Age of Empires. Basic facts characterising those games are: continuous time (well - it could be split into 10s periods, or something like that) many variables describing growth (many resources, buildings levels, etc.) many variables ...

What is the Difference between a Heuristic and an Algorithm?

What is the Difference between a Heuristic and an Algorithm? ...

Git Merge subdirectory to branch to root directory of master

I have a branch that has the content of the master branch as a subdirectory. Now I made some changes to this subdirectory. Ideally I want to be able to merge these changes back into the master branch. Branch layout: index.html subdirectory > a.txt > b.txt Master layout a.txt b.txt How would I go about doing this? Is it even a ...

How do I create a generic overall .NET programming structure for my company?

I'm in a company that writes their own business data applications when there's no good off the shelf alternative. Most often it's - a login screen - some screens that are mostly visualizations of SQL Server tables - some reports In the past they've used MS Access. These are not exactly the most elite coders but they mostly get how ...

Multi-Threading - Cleanup strategy at program end

What is the best way to finish a multi-threaded application in a clean way? I am starting several socket connections from the main thread in seperate sockets and wait until the end of my business day in the main thread and use currently System.Environment.Exit(0) to terminate it. This leads to an unhandled execption in one of the childs....

git strategy to have a set of commits limited to a particular branch

I need to merge between dev and master frequently. I also have a commit that I need to apply to dev only, for things to work locally. Earlier I only merged from dev to master, so I had a branch production_changes that contained the "undo commit" of the dev special commit. and from the master, I merged this. Used to work fine. Now each...

Web crawler update strategy

I want to crawl useful resource (like background picture .. ) from certain websites. It is not a hard job, especially with the help of some wonderful projects like scrapy. The problem here is I not only just want crawl this site ONE TIME. I also want to keep my crawl long running and crawl the updated resource. So I want to know is ther...

Confused about distinct/aggregate queries with (N)Hibernate

I'm not sure how to approach queries that don't map 1:1 to my persistent entities - in other words, distinct and aggregate queries. For example, I need to retrieve a distinct list of property values for populating a drop-down list. Should I write a class and a mapping for the "entities" that are returned by this query? Or should I just u...

What is the correct way to merge/transform a dev branch into a stable branch in Mercurial?

I work for a web development company that uses Mercurial as its DVCS of choice. We're currently in the process of creating a new version of a site that is already in production. Both a stable and a development branch of the site exist in the same repository. The production site runs off the stable branch, and developers obviously code a...

If you had to work with horrible HTML, what would you do?

I was looking over some of my friend’s HTML and CSS, and I was speechless (in a bad way). If I had to work with that, such as putting AJAX into it, then it would have been a lot of work. I would have to rebuild a lot of the HTML aspects, otherwise it wouldn't work well with the AJAX. What would you do in a situation like so? Would you: ...

Open Source Turn-Based Strategy Game Engine?

Is anyone aware of a turn-based based strategy game engine that is open source? ...

design an extendable database model

Hi! Currently I'm doing a project whose specifications are unclear - well who doesn't. I wonder what's the best development strategy to design a DB, that's going to be extended sooner or later with additional tables and relations. I want to include "changeability". My main concern is that I want to apply design patterns (it's a univer...

Find optimal/good-enough strategy and AI for the game 'Proximity'?

'Proximity' is a strategy game of territorial domination similar to Othello, Go and Risk. Two players, uses a 10x12 hex grid. Game invented by Brian Cable in 2007. Seems to be a worthy game for discussing a) optimal algorithm then b) how to build an AI. Strategies are going to be probabilistic or heuristic-based, due to the randomness f...

Test Strategy for Addins

I was wondering if someone from the forum, can help me in uderstanding the type of Testing that will be performed, I mean a Test Strategy, we need to test things like Add-ins. Also need to know how can I reply to the person who has replied to my question, I kow its a bit not so mature quesiton, but if someone can explain. Regards Amit ...

What information do you capture when your software crashes in the field?

I am working on rewriting my unexpected error handling process, and I would like to ask the community: What information do you capture both automatic, and manually, when software you have written crashes? Right now, I capture a few items, some of which are: Automatic: Name of app that crashed Version of app that crashed Stack trace...