I was just thinking if there was a way to programmatically open and close connections to the database via the dataset classes we've added into the project.
I am trying to avoid one specific problem. Assume there is an EmployeeTableAdapter. It has two methods IsValid(string EmployeeID) and HasDepartmentAccess(string EmployeeID, string De...
Let's say I have an object that has other objects in it. For example an NSMutableArray object "list" that has a few other objects.
If I no longer use any of them, can I just type [list release]?
Or do I have to release the objects in the list 1 by 1? ie.
for (int i=0; i < [list count]; i++)
[[list objectAtIndex(i)] release];
If...
In my project, every bug and/or enhancement must be developed in a branch before getting merge in the trunk. Since the branch (copy trunk) are not deleted after completion, we have actually more than 200 branch unused in our repository (new project).
I recently notice a slow down from the server for small operation in the repository. My...
hello,
I am a java developer with 2.5 years of exp.I also do some lead a small team in my organisation.Can you tell me if I study CFA(Chartered Financial Analyst) then will it help me in my career?
i am open to go to finance field or stay in IT with finance domain
thnx
...
Hi,
I have been tasked with the job of creating a web based system to add system users to our Ubuntu linux server. I have been reading up online, and there seems to be a fair few different ways to go about doing it, none of which really have examples.
I understand the best way for me to do it would be to temporary give sudo to the apac...
What is the correct way to print an image containing an embedded icc profile?
The way I am trying right now is to:
call DocumentProperties to get the size of a DEVMODE struct
call DocumentProperties to get a default DEVMODE
set dmICMMethod = DMICMMETHOD_SYSTEM and dmICMIntent = DMICM_CONTRAST
call DocumentProperties to merge my setti...
I have to prepare a case to convince managers to promote development using an ORM. I don't want to go into technical details in this case, the benefits have to be visible to business people.
I'm not quite happy with the arguments I've written down until now Are there any points I'm forgetting, both PRO and CONTRA?
The case I'm going to...
I am preparing a presentation about unit testing to managers. My team has been writing unit tests for years now but other areas of the company seem to have a hard time adopting it. I can get developers excited about it, but if there is not a buy-in from management, it will not become a standard.
Do you guys have suggestions how to best...
Hi,
I would like to make the User Profiles from SharePoint 2010, to be managed by a non-farm account. Is there a solution for this? Or do I have to make a custom Web Application that communicates with the User Profiles Service Application?
Thanks,
Voicu Seiche.
...
Please give me idea about the management of data in GWT. I am using Gwt in my travel portal project and my web pages is related to previous page data but when i press the refresh button of browser's then my data is lost . so please inform me if there is any way to manage this problem.
...
As a lead developer I often get handed specifications for a new project, and get asked how long it'll take to complete the programming side of the work involved, in terms of hours.
I was just wondering how other developers calculate these times accurately?
Thanks!
Oh and I hope this isn't considered as a argumentitive question, I'm ju...
HI
Im trying to figure out a way to differenciate between free users and premium users in a mysql database.
Both users need to register with thier username, password and email. When premium users register though, i need a way of distinguising them from feee uers once in the users table.
Is there a way of autamatically populating a f...
Looking for some ideas for good diagram software, OR diagram art libraries..
looking for web/technology style of diagram art such as the one here:
http://www.strangeloopnetworks.com/products/
I am aware of 2 so far:
http://www.smartdraw.com/
http://lovelycharts.com/
...
Let's say I'm developing a game. I run the following class method thousands of times:
NSBundle *bundle=[NSBundle mainBundle];
I do not create an autorelease pool and release the objects that call the above class method all the time. I create an object, it calls the above class method, I release it, and on, and on, thousands of times.
...
3 correlated questions:
1.Do the code snippets below provide the very same results in terms of memory?
NSBundle *bundle=[[NSBundle alloc] init];
[bundle release];
bundle=nil;
and
NSAutoreleasePool *pool=[[NSAutoreleasePool alloc] init];
NSBundle *bundle=[NSBundle mainBundle];
[pool drain];
pool=nil;
bundle=nil;
2.Why in
NSBundle...
Is there any way to query the number of objects that reside in a given NSAutoreleasePool?
This is really important for me, because in my game there are several loops and I need to know how effectively I'm autoreleasing my autoreleased objects.
...
What's the best way to achieve central management of a cluster of Tomcat servers in production? Specifically, I'm looking for automatic application (WAR) deployment, consolidated logs, and basic health monitoring at a minimum. What open source or commercial management tools are people using for this?
...
I am programming an online iPad shop however you can't buy products, only view their details.
I had part 1 of this question answered here http://stackoverflow.com/questions/3501768/which-database-should-you-use-to-program-an-iphone-ipad-application
Part 2 is this.
The catalogue must be fast, so the database and images it displays must...
We have a small support department that has recently started using MS Dynamics CRM. As a developer, I occasional check active cases to see what problems are occurring in our software so it may be addressed. However, I usually find the cases emails, notes, questions asked, resolutions etc are not to my satisfaction.
Does anyone have any g...
As above, for calculation, analysis and graph.
The data is purely number.
How do I create the database table and the calculation/analysis/graph table separately? For example, I might want to create a separate table of "countif" from the database and etc.
Please suggest the name of the programme and their pro and cons as well.
...