instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
I am currently trying to figure out ways to run Lua scripts using FastCGI with either lighttpd or Nginx. The only thing I was able to dig up yet was WSAPI of the Kepler project. But I wonder if there are other possibilities. Important for me is: should be as lightweight as possible should be stable enough to use in a ...
stackexchange/codereview
I'm working with a NSTextView and have a delegate set for its -textStorage property. Upon receipt of -textStorageDidProcessEditing: I need to apply attributes to portions of the text. My attributes are being applied, but they are always applied to the text before I made the edit, even though I'm invoking NSLayoutManag...
stackexchange/codereview
Is it bad practice to write inline event handlers ? For me, I prefer use it when I want to use a local variable in the event handler like the following: I prefer this: // This is just a sample private void Foo() { Timer timer = new Timer() { Interval = 1000 }; int counter = 0; // counter has just this mission ...
stackexchange/codereview
I always use UIViewController(As RootViewController) to switch the view of 3 different UIViewControllers. There are some commonly-used functions in the RootViewController. I setup the protocol for the 3 different UIViewControllers to access. The actual function body codes are in RootViewController.m If I want to call ...
stackexchange/codereview
I'm using node.js and the "less" compiler middleware: app.configure(function() { // ... app.use(express.compiler({ src: __dirname + '/public', enable: ['less'] })) // ... }) Now i've got a faulty .less-file, but I can't find any docs on how to get the error message. The page I receive is this: <html> <he...
stackexchange/codereview
I want to add a context menu entry with C++. I've been searching but all I can find is some jackass trying to sell me some BS program that does it for me which is not what I am looking for. I'm not looking for anything that uses .NET or Visual C++ either. I want the straight C++ way of doing this.
stackexchange/codereview
This is a follow up to my other question. I thought that mylist = list(Rep().all().fetch(50)) makes mylist a list. But when I try to get its length I get the message self.response.out.write(len(P)) TypeError: object of type 'Rep' has no len() Can anyone explain what I am doing wrong? Rep().replist = L ...
stackexchange/codereview
What is a classic programming puzzle which will require a lot of conditional logic and branches to solve? Thanks
stackexchange/codereview
I was wondering what would be the best way to implement a morse code generator. The way it would work is the user types in a word or phrase and then that NSString would be passed into my method as an argument for processing. The way I want to process is to loop through each character in the string and then play the cor...
stackexchange/codereview
can someone out there help me out with understanding how to use flexpaper for my rails application? it needs swf formats, and our rails wud converted any supported file type to pdf. i'm clueless on how to proceed further with converting pdf to swf on the fly and displaying it via the flexpaper app. if any1s aware of th...
stackexchange/codereview
I plan to create a YQL open table for a site which does not have an XML/JSON based API. I plan to use HTML scrapping to get data from the site and return it to YQL. Is this possible and is any of the Open Tables similar in nature?
stackexchange/codereview
I've had the IO monad described to me as a State monad where the state is "the real world". The proponents of this approach to IO argue that this makes IO operations pure, as in referentially transparent. Why is that? From my perspective it appears that code inside the IO monad have plenty of observable side effects. A...
stackexchange/codereview
m_X509Certificate = X509Certificate.CreateFromCertFile("Test.cer") Says it can't find the file. But it's in the same directory as the project. Is my path wrong?
stackexchange/codereview
I need to create a Model Popup, but my company is using federated css for things. From what I understand, the jQuery UI requires a very specific CSS/HTML structure to work. Is there another other solution that I can use with my own custom css? I suppose I could roll my own, but wanted to get some feedback before goin...
stackexchange/codereview
I guess floats are not ideal for currency. Mongoid supports Float and BigInteger. What's the best approach for storing and working with currency values?
stackexchange/codereview
I have experience building iPhone applications, however I'm new to the facebook API for iOS. Does anyone know of a good example of an iOS app that will post to user's facebook wall? I'm trying to integrate this functionality into an existing app that I'm working on. Thanks!
stackexchange/codereview
This is my first post. I'm trying to do some basic meta-programming with javascript, and I was wondering if there is a way of get the id of a particular object and with that id, access to the variable name, or get simply the variable name of a particular object. I wanna recreate a situation in which you first create ev...
stackexchange/codereview
I'm trying to load a video file into my iPad app as an AVURLAsset, using the asynchronous-loading stuff to wait for it to be ready. Problem is, when I run it, I get a completely generic "failure" error message that I have no idea what to do with. The video works if I hand it to an MPMoviePlayerController, but AVURLAsse...
stackexchange/codereview
I have created a simple page with a button on the center. Now I want that when I click the button then the current page is completly rewritten with new HTML and Javascript code loaded from the server. How can I do this with ajax ?
stackexchange/codereview
I'm trying to create a NSManagedObjectContext object. They error reads as follows: Expected specifier-qualifier-list before 'NSManagedObjectContext' and here is my header file: #import <UIKit/UIKit.h> @interface FavouritesViewController : UITableViewController { NSArray *favourites; NSManagedObjectContext *co...
stackexchange/codereview
I'm thinking about desiging a language similar to qbasic in syntax but even simpler so that a new programmer can learn some programming without being discouraged by something like C,C++, or C#. For example, use Write "Hello World" instead of PRINT "Hello World" or In "Enter your name" Read = name instead of INPUT...
stackexchange/codereview
Based on the question jQuery code not working in IE, text/javascript is used in HTML documents so Internet Explorer can understand it. But I’m wondering, when would you use application/javascript, and more importantly, why would you use it instead of text/javascript?
stackexchange/codereview
def update debugger @email_blast = EmailBlast.find(params[:id]) if @email_blast.update_attributes(params[:email_blast]) debugger # changes mail_type here flash[:notice] = 'Email Blast Saved.' if params[:id] == "1" Delayed::Job.enqueue MassEmail.new(params[:email_blast][:subje...
stackexchange/codereview
Hey, just a quick question, I was using the focus function on elements and it seemed to be working fine because it was working in IE7, IE8 and all of the good browsers. When I tried it in IE6...nothing. It is a very basic line. element.focus(); VERY basic. So does IE6 have a bug or problem with this function? I know t...
stackexchange/codereview
I use target="_blank" to open links in a new tab. But in IE it opens a new window which is completely logical because that is what _blank is supposed to do. And i don't know how target="_blank" behaves in other browsers. Is there something to force links to open in a new tab. If the browser supports tabs... else make ...
stackexchange/codereview
I have a stored procedure that receives some XML like this: <Root> <pickh attribute1="897" attribute2="GGG" ....> <pickd attribute1="123" attribute2="678" ..../> </pickh> </Root> or <Root> <rcpth attribute1="ABC" attribute2 ="DEF" ....> <rcptd attribute1="012" attribute2="345" ..../> </rcpth> </R...
stackexchange/codereview
How do i run a specific target with the antrun-plugin from the command line? mvn antrun:run doesn't make it run. <project> ... <build> <plugins> ... <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution>...
stackexchange/codereview
Our CEO asked it in a meeting and emphasized it's possible under normal conditions on every pc !
stackexchange/codereview
I'm writing a solution where the data entities are passed to clients using datasets through a WCF service, with nHibernate as ORM. My predecessor has written some translator classes, converting datasets to entities and vice versa. In most cases he's declared the return object as a parameter for the object. For example:...
stackexchange/codereview
This is the second time I found myself writing this kind of code, and decided that there must be a more readable way to accomplish this: My code tries to figure something out, that's not exactly well defined, or there are many ways to accomplish it. I want my code to try out several ways to figure it out, until it succ...
stackexchange/codereview
I am really struggling with finding a community devoted to all things SVG. There are all kinds of places and forums for JS, RoR, PHP and now the buzz with HTML5 canvas but where is the love for SVG? I have read some insightful responses from STackoverflow members like 'Echoflow' & 'Erik Dahlström' on few things SVG but...
stackexchange/codereview
I have this HTML input: <font size="5"><p>some text</p> <p> another text</p></font> I'd like to use regex to remove the HTML tags so that the output is: some text another text Can anyone suggest how to do this with regex?
stackexchange/codereview
I have searched online for how to do this but I don't understand. The only thing that I find is people telling each other to look at the example that came with cocos2d. What example is that? Where is it located? All I can find are class files. And I do not know how to link UIKit and Cocos2d together which makes it...
stackexchange/codereview
I have a photo_album which has several photos, IDs: 4,9,10,11,31 -- all for photo_album:3 I have the following for my DEF SHOW in my Photos controller: @photo = @photoalbum.photos.order("created_at ASC").paginate :page => params[:page], :per_page => 1 Problem is, if the URL is: /photo_albums/3/photos/10 The code above...
stackexchange/codereview
what does this sybol means please? "<<" for example: if (1 << var) I want the name of the thing to study. Thank you.
stackexchange/codereview
I'm still pretty new to programming so I have somewhat of a noob question. When you have an instance variable, in my case of type CLLocationManager, in my appDelegate.m file, I thought I could allocate and initialize my CLLocationManager instance variable in the applicationDidFinishLaunching method. And then I could ...
stackexchange/codereview
I am getting the error - Unable to load the metadata for assembly 'Aurora.UIResources'. This assembly may have been downloaded from the web. See http://go.microsoft.com/fwlink/?LinkId=179545. The following error was encountered during load: Could not load file or assembly 'Aurora.UIResources, Version=1.0.0.0, Cultur...
stackexchange/codereview
Say I have my CSS like this: div.some-class table So I have: <div class="some-class"> <table ...> .. </table> </div> Now if I need to have a child div inside the table, the child seems to inherit from the parent style, and I want this to be styled differently. <div class="some-class"> <table ...> <div> <...
stackexchange/codereview
What is the exact use of flush()? What is the difference between stream and buffer? Why do we need buffer?
stackexchange/codereview
I'm a C/C++ developer. I am just intrigued why some of my colleagues are shifting to java. They actually have a lot to say why Java is better than C++. This is actually more of a trivial question, but I know for sure it would be a source of enlightenment for many also for novices like me. Knowing only C++ and a litt...
stackexchange/codereview
Can i use like webclient or webrequest (I dont know) to do the following: click a button, once its click it send a string lets say "Hello" to a website's textbox, for example: button1 click, write "Hello" on textbox1 on website http://Test.com
stackexchange/codereview
I'm creating a real-time strategy game based on XNA. Which design patterns are worth considering?
stackexchange/codereview
Check the menu on this Microsoft site: http://www.microsoft.com/windowsserver2008/en/us/system-requirements.aspx Check the Main menu bar, Sub menu bar and the Drop down menu bar on this site. Does anyone know how can we implement such menu? It there any control in ASP.NET for this?
stackexchange/codereview
How do I change the color of the horizonal and vertical lines? I'd like to make them a little lighter, yet leave the X and Y axis black, probably. Edited: indyfromoz suggestion resulted in this: The effect I want is this: (Subtler horiz and vertical lines, maybe even no vertical lines.)
stackexchange/codereview
I need help on the selecting right control in the QT for animation. i need to show the animation in my QT application. The animation is in real time. i will get data from my hardware for every 5msec, every 100msec i need to update the animation. The animation nothing but drawing the line based on the my hardware inpu...
stackexchange/codereview
I would like to know whether we can create Test Suites for WATIN. Im using WATIN to automate my Web Application. I was planning to create a set of Test Cases and save them in an Excel sheet and use WATIN to read data from them. But since its not posible using WATIN, I'm planning to create a Test Suite.
stackexchange/codereview
jQuery trim not working. I wrote the following command to remove white space. Whats wrong in it? var str = $('input').val(); str = jquery.trim(str); console.log(str); Fiddle example.
stackexchange/codereview
I want to make window-base application in c++, I have listen about wxwidgets. Can any one tell me how can I use wxwidgets library in my application, any link or tutorial which give me direction.
stackexchange/codereview
Thanks in advance.. As in my previous question i have set the discount code for the product on fly its working fine but i want to apply this rule for specific product only is this possible by changing previous code. please help me... Thanks, Jitendra for your information the code is here.... function generateUniqueId(...
stackexchange/codereview
Can Anyone tell me the differences between Flex SDK and Flash Builder ?? Like - "Mobile development using Adobe Flex SDK "Hero" and Flash Builder "Burrito" Are Both same ?? Please clarify in details. We understand that Flex is an IDE or SDK(software development kit ) where we build,compile and deploy projects with set...
stackexchange/codereview
How can i have a section in iPhone web site(header) to remain in a fixed position and rest of the site to scroll(preventDefault or watever) so that it behaves like a native app...any safari api's or javascript that i can use to do this?
stackexchange/codereview
I am starting to develop in Android and decided to have a go at the native java language. When starting to use new languages, I tend to create a library of code creating routines with the same name which perform the same function as in the libraries I already have. F.i. in my Classic Asp library I have a IntToStr() ......
stackexchange/codereview
How would you limit the number of operations per second? Lets say we have to copy files from one location to another and we don't want more than 5 files to be processed per second. Please see what I am doing private static string currentStamp; private static int processedInCurrentStamp = 0; private static void Main(st...
stackexchange/codereview
I have a SqlMap query that returns 2 columns, an ID and a string. I know how to return a list of maps where the ID is the key and the string is the value. There is one list item for each row returned. How can I return 1 map with the IDs as keys and strings as values?
stackexchange/codereview
I use the PackageManager to get the list of installed Android applications. But some stock applications cannot be uninstalled from the device. How do I check for those programmatically? Intent i = new Intent(Intent.ACTION_MAIN, null); i.addCategory(Intent.CATEGORY_LAUNCHER); PackageManager pm = this.getPackageManager()...
stackexchange/codereview
I have implemented custom cancellation logic as described in Concurrency in Practice. Encapsulating nonstandard cancellation in a task with newTaskFor. This works fine and I can call cancel on the a future and the task is cancelled as expected. I need to be able to destroy my executor service which i am using by call...
stackexchange/codereview
I have been trying to strip information out of a dynamically generated page and then insert the information into a database, this is only a one time thing. to explain the layout: I have a list of 700 IP addresses in my database currently but they have no location linked to them, I am using the following code to retriev...
stackexchange/codereview
I'm having issue with calling a method with l-value of an abstract class. The class definition is: class SimulatorSequenceItemBase { public: SimulatorSequenceItemBase(); virtual ~SimulatorSequenceItemBase(); virtual uint32_t GetResult(uint32_t p_nSite) = 0; virtual bool MoveNext(SimulatorSequenceItemBa...
stackexchange/codereview
counter.txt 1 2 3 4 5 6 7 8 9 void split_str(char line_str[10]) { int i, j; i=0; char sub_str[10][20]; char *token; token = strtok(line_str," "); while (token != NULL) { strcpy(sub_str[i], token); i=i+1; token=strtok(NULL," "); } for (j=0;...
stackexchange/codereview
I am developing a site in asp.net mvc 2.0 .Here i want to send the url link to the user email on user registration.I want to send the url format in such a way that if user clicks on that link it will take him to the index page of user module where he can enter his user name and password and login to the user module. Pl...
stackexchange/codereview
I use Xml.Linq for manage xml configuration files. I have XElement (Company.CalidadCodigo.ParserSQL.Reglas), and I need remove duplicate values in XElement (nodes Add-Key-Value, which Value is repeated). I use Union but not right. var reglasComunes = reglasParaTarget.Union(reglasParaSecundario); Any sample code about...
stackexchange/codereview
I have a web server with a lot of web sites with many database operations, and i am tryng sql caching as a way to improve the performance of my server. In general, is there any disadvantage about sql caching in a common environment? Thanks
stackexchange/codereview
I read the documentation and some articles that talk about the package, but I'm new to Haskell and did not understand much but I tried .... Below is what I did: module Main where {-# LANGUAGE BangPatterns #-} import Control.Parallel(par,pseq) import Control.Exception import Data.List import IO import ...
stackexchange/codereview
How can I populate a menu using intents? I didn't understand that thing. Or is there any better way for that? Update: Suppose I have an application that need to resize the image,and there are many other applications that have a capability of resizing the image. How can I show the list of applications on a menu in my ap...
stackexchange/codereview
I was trying out TestCocoon the other day, and everything seemed great. I compiled my code using cscl,cslib and cslink and I was expecting this to take care of all the instrumentation. I get some .csmes files and .exe.csmes files, but when I load them into the CoverageBrowser I cannot see anything relevant. No covered/...
stackexchange/codereview
I'm using a DataGridView with object data binding to display information about logging entities in a system, retrieved via SOAP from a remote service. One of the columns is called "Last action" and means the last time the entity logged a message. It is a System.DateTime value. When I read the SOAP response (example bel...
stackexchange/codereview
I can use a task queue to change the database value, but how can I get the return value like Ajax using task queue? This is my code: from google.appengine.api.labs import taskqueue from google.appengine.ext import db from google.appengine.ext import webapp from google.appengine.ext.webapp import template from google.ap...
stackexchange/codereview
I am trying to install jbpm on Eclipse to work with tomcat. I downloaded jbpm-installer-3.2.7 but do not understand how to install it on eclipse!
stackexchange/codereview
I'm using F# to create a lambda calculus. I am currently stuck trying to figure out how I would implement the fixed-point operator (also called Y combinator). I think everything else is in order. Expressions are represented by the following discriminated union: type Expr = | Const of int | Plus of Expr * Expr | Tim...
stackexchange/codereview
I have data on SQL server like this: ItemID Quantity 1 3 2 0 3 7 I would like to display that data in GridView using templates. The thing is that instead of Quantity in numbers I would like to display text: Green text saying "item on stock" when Quantity > 0 Red text saying "item unavailable" w...
stackexchange/codereview
I am having some issues in attempting to display a recordset from my webservice. Currently my application involves a client feeding their values into my webservice. The webservice will then call a vb.net database class, which executes a SQL stored procedure, returns a recordset to the database class, and the class wi...
stackexchange/codereview
A website to change add records delete etc website is not connected architecture, so i cant expect sql to refuse writes to a table being edit by some one else also. As data is only written when its sent back to server by the grid.. so is there a way using c# and asp.net, some code , by which i cant explicitly tell ...
stackexchange/codereview
Look at this query please SELECT max( val_amd ) FROM `best_deposits` I have the max value in the table equal to 14.6(the fields has type float), But it returns 14.3599996566772 why does it happen, and how can i get the exact value? Thanks much
stackexchange/codereview
How do i display the values that JSON returns? function akaiphoneResponse(searchText){ $.ajax({ type: "GET", url: Drupal.settings.basePath + 'akaiphone/response', data: 'search_text=' + searchText, success: function(data) { $("#search-results", this).empty(); va...
stackexchange/codereview
if I run a SELECT query that returns 10 rows, is there a way to select the 2nd item in the result set right in the SELECT statement (effectively getting a single row result)? psedudo code: SELECT id from MYTABLE where MYTABLE.foo = 0 and RESULT_INDEX = 2; this would return the 2nd item from a multi item result set.
stackexchange/codereview
I have a simple model class (UserAddress) that is not being passed properly to the HttpPost function. The data always has null values for all the member data. public class User { public string Name { get; set; } } public class Address { public string Address1; public string Address2; } public class UserAd...
stackexchange/codereview
I am trying to understand Java's polymorphism, and I have one question about downcasting an object. Let's say for this example I have two subclasses Dog and Cat that inherit from a superclass Animal From what I understood, the only way to downcast an object is if this Object is already of the good type, like this: Anim...
stackexchange/codereview
This is little different from what already been asked for here I would like to know what topics/APIs are most important for Java interviews. for example - Concurrency, Collections .....and like that. The reason is because implementations like ConcurrentHashMap (read here) have so much details in them, that one...
stackexchange/codereview
I have a Silverlight LOB application that has a page that will need to be visited 4 times before moving on to the next page. I want a data structure to hold a marker to the point in that sequence. I might render a display to show where you are like this: o---●---o---o I tried an enum, but I need to associate each poi...
stackexchange/codereview
I am working with a custom report engine that uses XML and XSL to output the report data to the browser. Each report can have multiple parameters of different value types (integers, strings, dates). Each report has its own class (inheriting from a base report class) and XSLT that gets the data from the DB based on th...
stackexchange/codereview
Say for example I had an application sending the following HTTP headers to set to cookie named "a": Set-Cookie: a=1;Path=/;Version=1 Set-Cookie: a=2;Path=/example;Version=1 If I access /example on the server both paths are valid, so I have two cookies named "a"! Since the browser doesn't send any path information, the...
stackexchange/codereview
I need to generate html (for the body of an email message) specific to a Customer object I thought of making a View that gets a Customer object and renders the appropriate text. Is there a way to call a view and get the rendered output without associating it to a controller action? Ideally in pseydocode I would do some...
stackexchange/codereview
I have entires, equipments, brands, times and seasons. entries: id time equipment_1 equipment_2 equipments: id id_brand brands: id name times: id id_season seasons: id name My actual SQL query is: SELECT entries.*, times.id_season AS id_season FROM entries, seasons WHERE entries.time = times.id But in the fi...
stackexchange/codereview
In Rails 2 I know of a few plugins for enumerations such as acts_as_enumeration and enumerate_by but they don't seem to be maintained or updated for Rails 3. Preferably, the solution would store the enum in memory rather than a database for performance reasons but really any method would be useful since it can always b...
stackexchange/codereview
Suppose i have an image with width 1px and height 40px. I want to load it with lets say imagecreatefrompng and want to x-repeat it, just like css repeat-x. Is this possible with PHP GD?
stackexchange/codereview
A have listbox <ListBox> <ListBox.ItemTemplate> <DataTemplate> <DockPanel> <Button Content="{Binding name_trainer}" Tag="{Binding idPersonTrainer}" DockPanel.Dock="Top" HorizontalAlignment="Center"> </Button> </DockPanel> </DataTemplate> </ListBox.ItemTemplate> </ListBox>...
stackexchange/codereview
I have a table called users_msgs with these columns: id | uID | nData and it has these rows: 1 | 2 | 20 2 | 2 | 20 3 | 2 | 20 4 | 2 | 20 5 | 2 | 25 6 | 2 | 25 7 | 2 | 25 8 | 2 | 25 uID is userid. So user 2 has written in a nDataid 20 four times, the same he did in nDataid 25. I want to make so you only get one popup ...
stackexchange/codereview
I am not quite sure how to draw a Rectangle (not filled) when I drag my mousedown while left clicking the mouse. I have this so far private void canevas_MouseDown( object sender , MouseEventArgs e ) { if( e.Button == MouseButtons.Left ) { ...
stackexchange/codereview
There are a few very good authorization gems, like cancan and declarative_authorization. But here's a problem: authorization rules are seperated in class, but i need to place them in table or maybe some yaml config file to change them in admin panel eventually. Perfectly, if i can either change permissons for user grou...
stackexchange/codereview
I want to set something up on my computer where if something (program, browser, whatever) makes a request (to a certain domain, I guess) I can send my own response to the request. I once saw a program that did that, and I was wondering how it did it. How would it be done?
stackexchange/codereview
Would anyone care to share their workflow for a BDD/TDD approach using Cucumber and starting with an empty rails app? I am trying to learn how to pattern my design approach for writing tests first via cucumber. An example scenario: A Post model has a title and a body -- no relationships or anything fancy and is gen...
stackexchange/codereview
Say I have a system with Products that can have various decoration (or printing) options. Most products will have a similar range of printing options names, but some maybe unique for a single product. For example, I could have a cap that could have three different decoration options: Unbranded One Color Print Embroid...
stackexchange/codereview
I want to show a modal UIViewController with a custom frame in iPad, centered on top of its parent view controller. I tried using a form sheet but as far I know the frame and shadow effect can't be changed. vc.modalPresentationStyle = UIModalPresentationFormSheet; [self presentModalViewController:cv animated:YES]; I a...
stackexchange/codereview
If I declare a vector as such: vector<char *> charStarVec(4); and then add values to it like so: charStarVec.at(0) = (char *) "one"; charStarVec.at(1) = (char *) "two"; charStarVec.at(2) = (char *) "three"; charStarVec.at(3) = (char *) "four"; Then no problems result. (I can print out all the vector elements just fine...
stackexchange/codereview
Is there some way by which I can configure eclipse to run a program with certain command line arguments for debugging.
stackexchange/codereview
I'm using Devise for authentication, but I'm using two user models, Buyer and Seller. By default, Devise will generate two methods such as current_buyer and current_seller. I want to clean up my code and in a before_filter in my ApplicationController, I would like to alias the appropriate method to current_user. What's...
stackexchange/codereview
Were building an app that works with some external hardware. We would like to have some kind of in app UNLOCK mechanism whereby if a user purchases the external accessory they get a PIN code that lets them fully unlock the app. We looked at in app purchase but it seems it would require a fee to get an in app unlock g...
stackexchange/codereview
I'm displaying a MFMailComposeViewController like so: - (IBAction) contactUs: (id) sender { [Tracker trackContactUsPressed: [MFMailComposeViewController canSendMail]]; if ([MFMailComposeViewController canSendMail] == NO) { UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"Email Error" ...
stackexchange/codereview
I do some calculations concurrently, however I want to animate the display of the results. eg. a button is clicked, a NSInvocationOperation or an async nsnotification is posted, to perform the calculations. in the mean time the view transits to another view. How do I animated the displaying of the calculations in the n...
stackexchange/codereview
What does this mean? Detected an attempt to call a symbol in system libraries that is not present on the iPhone: _Unwind_Resume called from function -[NSSQLCore performChanges] in image CoreData.
stackexchange/codereview