I'm getting the following error while testing my EHAB implementation:
ArgumentException - Event log names must consist of printable characters and cannot contain , *, ?, or spaces
The stack trace was:
{"Activation error occured while
trying to get instance of type
ExceptionPolicyImpl, key "LogPolicy""}
System.Exception Sta...
Let's suppose, for an example, that I want to partly clone Gmail's interface with jQuery Ajax and implement periodic auto-saving as well as sending. And in particular, let us suppose that I care about error handling, expecting network and other errors, and instead of just being optimistic I want sensible handling of different errors.
If...
I have recently experienced and understood the importance of "Design Patterns and Principles" implemented in our project. I was just wondering if you all would share the importance of Design patterns and principles, of how using them in your source code the project was enhanced, so that we can learn out of your vast programming experienc...
hi,
Ok so long time ago I thought of using CAB on one of my small apps I realized quickly it was a HUGE overkill. I'm building a new app now, to give you an idea after the first release it will only go upto 15,000 lines MAX.
The problem is its a slightly complicated system for a bank, half of the software is on the server and the it ha...
Background
I have a program that has implemented the two "classic" taxes for Ontario Canada: 5% GST and 8% PST. At the beginning of July (2010) the province switched to one combined HST tax of 13% for the most part. Effects and changes here but those aren't the main point of this question...
Question
What are best practices and good so...
I'm developing a ASP.NET 4.0 application with the Patterns and Practices MVP pattern. When I was debugging today I noticed that my page load was being fired twice. When I turned on Fiddler (A HTTP Traffic Monitoring Tool) I was able to pinpoint that my Page was actually being downloaded twice. I'm wondering if anyone has any idea what...
The CachingCallHandler included in Enterprise Library 4.1 was removed for Enterprise Library 5.0+. The documentation refers to using the Enterprise Contrib Library to get this functionality, if needed.
My questions:
Where is this functionality in the Enterprise Contrib Library?
Does this work with Enterprise Library 5.0?
This is the...
A few years ago I read an article about a neat way to analyze a large code-base.
The idea was to zoom out so far that patterns of indentation and block length are all that is really visible.
The author wrote about printing out code with very small fonts and looking at the results from 10 feet back. I believe the author also had some to...
I have a set of DataContracts that are serialzed through WCF.
Please note this is a very simplified example.
[DataContract]
public class MyData
{
[DataMember]
public List<int> MyList
{
get;
set;
}
}
I would like to use object oriented design so that the server and client aren't creating any unnecessary...
I often hear the adage, "Code is read more than it is written." I happen to agree with this sentiment, but I can't find any studies or statistics to back it up. Has anyone come across a substantial finding on this topic (something more than an apocryphal tale) or, better yet, done this sort of research?
...
I made some GUI desktop applications on my first years of development, but my experience and practice have changed, so now I'd like to retake this subject with better knowledge.
Most of my experience has been web since then.
I've been reading about GUI Architectures, and several related questions here on S.O.. I know I'm still not in ...
Hi,
I'm currently developing a web application for a particular niche. The point is that users can create an account, manage specific data and use that data on their website through API calls. So it's actually some sort of WordPress CMS but without the front end functionality. It is also not open source.
So in short, user can manage th...
Can you recommend articles,books and best practices on designing Flex applications? (both AIR and web).
I've read Creating components and enforcing separation of concerns with Flex and Building components by using code behind.
Does the application always have to start on the Main MXML? Can't I instantiate the first view from an Action...
In asp.net the major data stores are application, session and we also have the object cache.
I have used common sense hints/tips (e.g. never put users specific data in application, never put unmanaged resources in session etc. etc.) but to be honest I have never come across any recommendations and examples for when to use what in MSDN or...
I had to clean up code for an online college application. There's nothing particularly wrong with it, but it was complicated. Different degree programs had different prequisites, fees, required documentation, and questions. On top of that, students coming from the military get different fees, and previous students pay no fees and skip...
Hi,
I'm trying to figure out how to best lay out a set of Restlet APIs.
I have a User entity, which might have the standard CRUD operations, which fits nicely into rest, but there are other ones too like "reset password", or "terminate".
What is the best way to lay this out?
Here is what i was thinking:
/1.0/user/update //perha...
I am writing a pretty basic php app and have created a pretty big mess of functions to do various things, e.g. display_user_nav(), display_user_list() etc. I want a way to organize these in a logical way. What I really need is something like a ruby module, but I haven't been able to find a php equivalent. I also feel that from a programm...
I have a special list (a sort of queue, as in the data structure, not as in a work queue) that I want to store in MongoDB. I need to access and manipulate this single list often in my application - and I don't have several of the same type of list.
It would be easiest to store it in a single document, but the problem I'm having is figur...
In general, I'm very impressed with Android's default text to speech engine (i.e., com.svox.pico). As expected, it mispronounces some words (as do I) and it therefore occasionally needs some pronunciation guidance. So I'm wondering about best practices for phonetically spelling out those words that the pico TTS engine mispronounces.
F...
Hi,
i am looking for something similar to
http://stackoverflow.com/questions/836218/organizing-gui-code, but for Python and PyQt4. Especially, I am looking at tips and examples of how to handle and store the configuration data, general state etc.
EDIT:
I have found some hints regarding older versions under: http://www.commandprompt.co...