release

What version number should an unreleased project receive?

Note: I'm new to version numbering. Please excuse my ignorance. I have a project where an attempted major release (Version B) was abandoned then later re-attempted and release (Version C). Each version has major changes from the previous version that I wouldn't consider an minor update. Little to nothing of Version B made it into Versio...

Django: auto minifying css/js files before release

Hi, I have following case: I want to use uncompressed js/css files during development (to debug js for example) but on production I want to switch automatically to minified versions of that files. some simple solution is to put in your template: <script src="some_js.{% if not debug %}min.{% endif %}js".... but this require manully p...

Obj-C: Calling 'release' too many times?

I was looking at someone else's code and noticed they called 'release' on an NSString they didn't own (never called alloc/retain/copy anywhere and it wasn't a property). This looked a bit strange to me and it made me wonder if any strange behaviour can occur if you call 'release' on an object that you either don't 'own' or whose ref cou...

iPhone .. NSString being released & dealloc -- but I cannot tell where or why...

This is KILLING me! I have a view. in the .h file i do this: @interface SearchLogs : UIViewController <UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate, UIActionSheetDelegate, UIPickerViewDelegate> { NSString *startDate; NSDateFormatter *thisFormatter; } @property (nonatomic, retain) NSString *startDate; @property (n...

HUGE framerate difference between release/debug builds

I'm working on a DirectX game and I'm finding that during release builds I'm getting 170fps average, however in debug builds I'm getting ~20fps. I was wondering if this massive difference is normal between release and debug builds especially since in debug I don't have any traces being out put? I know there hsould be a performance gap b...

Maven release plugin - how to set svn:ignores

I have a maven project which generates files which are ignored in Eclipse by the global setting (Team -> Ignored Resources) and therefore are not going into svn. If I want to release the project on our build server with hudson it fails as it says that the local copy has local changes (the generated files). How to I tell maven there to i...

retain cycle with core-data

Hello, I think I have a problem, maybe linked to a retain cycle in Core-Data. The code is a follow, where self.image is also a NSManagedObject: - (void)setImage:(UIImage*)image1 andThumbnail:(UIImage*)image2 { self.image.data = UIImageJPEGRepresentation(image1, 0.85); // This is autoreleased self.thumbnail = UIImageJPEGRepresen...

Objective-C: Point of releasing a View

Hello I made a static mainmenu with a TableView. Sometimes it crashes because my Subview has allready deallocated a subview. Is also ok to release a View in the dealloc mehtod of the local object instead of that: [NavController pushViewController:self.AnotherView animated:YES]; [self.AnotherView release]; //This line into (void)viewDi...

iPhone app versions: release micro-updates often, or major updates less frequently?

I released a new iPhone app 5 days ago. Already it has received high ratings, and many downloads, so I think it can be quite successful. (It's currently ranked in the top 10 paid music apps.) What do you think is the best release strategy: Release many micro-updates, often. (Just 1 or 2 new features per update, as they are completed.)...

Managing a release branch in Git

So I've been using git for the first time, and there is a scenario that I don't quite know how to solve. I've got a simple webapp (only html, css and js), and I want to produce regular releases that can be tracked with a version number. This is easy to do with git tag. But the catch is that for my releases I want to do some extra things...

bluetooth socket difference debug release in visual studio 2005

Hi, I have a bluetooth RFCOMM socket waiting in accept, after an incomming connection I send a command to the remote devie and read the answer with recv. This works perfect if I use the debugger or the debug build exe. In the release build I got a connection and send the command after that the select before recv is returning for receive...

iphone: memory question

Hello, Still new to the memory management in iPhone apps, I have a newbee question. Let say I have some method that use attributes of the AppDelegate. At the beginning of those methods, I get the delegate like: // Get delegate MyAppDelegate *delegate = (MyAppDelegate *)[[UIApplication sharedApplication] delegate]; Do I need to perform...

Visual Studio - Debug vs Release

I built a windows service, targeted for .NET 2.0 in VS 2008. I run it as a console app to debug it. Console app is working great. I put it on my local computer as a service, compiled in debug mode, still working great. I'm ready to release now, and suddenly, when I set it to release mode, the service compiles and installs, but nothing ...

To release or not to release a button (whose content is loaded from a nib), that is the question...

Hi, I have a very classical class which contains buttons and label, etc... : @interface ExerciseViewController : UIViewController { // Hardcoding for outlets to XIB file // Outlets can be passed only as singe variables in Interface Builder. // Therefore, we can only declare stupid variables, not arrays of buttons. // Bid array // La...

Is removeAllObjects and release of an NSMutableArray are both have same functionality?

Hi Guys, I have one doubt NSMutableArray *array=[[NSMutableArray alloc]init]; here some memory is allocated then how can we release this memory, whether using removeAllObjects method or [array release]; Are both have same functionality? Thank You, Madan Mohan. ...

Release /Debug hell, with V-studio C++ project

I'm so tired of this happening. I'm working in Visual studio using C++, and go a little to far in developemnt before attempting a release build/run cycle, only to find my release build crashes. It leaves me no way to fix the problem beyond to hack out big chunks of code looking for all potential violators. Anyway, If I go into my "relea...

AdaGide: debug mode and release mode

hi, If I understand correctly then the release mode enables a program to run faster than running the program in debug mode. A general question will be if one has to run the program first in debug mode and then switch to run the program in release mode in order for the release mode to "skip over" checks it normally makes when running...

release problems in objective C iPhone

Hello, I would like to ask about the memory management problems in objective C. I am the green of the objective C. When I read some of the sample program from the Apple website, I saw a [XXX release]. I guess this statement is used to release the use of the variable. However, when I use this statement in my program, I got some problems...

What is the better way of handling temporary strings?

I have a situation where I need to use some strings temporarily but I've read so many conflicting things that I'm a bit confused as to what the best way to proceed is. I need to assign some strings inside an if structure but use them outside the if structure so they need to be created outside the if, I was thinking something like: NSSt...

Flex release build issue!!!

Hello guys.. I am trying to finish up my applications but encounter a big problem.. I have 3 applications that will display on different page. ex:product.html will contain product.mxml, new product.html will contain newProduct.mxml,user.html will contain user.mxml.... They are three different projects and I want to put them together ...