This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FailedBankInfo.h | |
----------------- | |
#import <CoreData/CoreData.h> | |
@class FailedBankDetails; | |
@interface FailedBankInfo : NSManagedObject | |
@property (nonatomic, retain) NSString * name; | |
@property (nonatomic, retain) NSString * city; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Venue.h | |
------- | |
@class Location; | |
@class Stats ; | |
@interface Venue : NSObject | |
@property (nonatomic, strong) NSString *name; | |
@property (nonatomic, strong) Location *location; | |
@property (nonatomic, strong) Stats *stats; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (NSFetchedResultsController *)fetchedResultsController { | |
if (_fetchedResultsController != nil) { | |
return _fetchedResultsController; | |
} | |
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init]; | |
NSEntityDescription *entity = [NSEntityDescription | |
entityForName:@"FailedBankInfo" inManagedObjectContext:managedObjectContext]; | |
[fetchRequest setEntity:entity]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIAlertView* alert = [[UIAlertView alloc] initWithTitle:@"Alert !!!" message:@"This message should pop us as soon as the app loads" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil]; | |
[alert show]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)addPetToContacts: (UIButton *) petButton{ | |
NSString *petFirstName; | |
NSString *petLastName; | |
NSString *petPhoneNumber; | |
NSData *petImageData; | |
if (petButton.tag == 1){ | |
petFirstName = @"Cheesy"; | |
petLastName = @"Cat"; | |
petPhoneNumber = @"2015552398"; | |
petImageData = UIImageJPEGRepresentation([UIImage imageNamed:@"contact_Cheesy.jpg"], 0.7f); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FailedBankInfo.h | |
---------------- | |
@interface FailedBankInfo : NSObject { | |
int _uniqueId; | |
NSString *_name; | |
NSString *_city; | |
NSString *_state; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
What is a habit? | |
---------------- | |
Cognitive psychologists define habits as “automatic behaviors triggered by situational cues”: things we do with little or no | |
conscious thought. You can also say, A habit is when not doing an action causes a bit of pain. | |
Why it is important to create habits? | |
------------------------------------- | |
- Lower customer retention cost( Because habits mean returning users without external triggers. Essentially users come back without spending further money) | |
- Higher CLTV (Because customers stay with your product longer) | |
- Greater Pricing Flexibility (Because people would not like to leave the product because of price) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Relational databases have been a successful technology for twenty years providing | |
- persistence | |
- concurrency control (Multiple apps and multiple users access the DB at the same time) | |
- integration mechanism (This is what prevented object oriented DBs to flourish) | |
Drawbacks of Relational DBs | |
- Impedance mismatch (In-memory(object) model of an application is different from (relational) model on disk). | |
That's why there are ORM frameworks which lead to loss of performance | |
- They are not designed to run efficiently on clusters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Properties of Data Platform: | |
- Data should be consolidated (with different sources together) | |
- It should be fast and efficient | |
- It should be approachable (discoverable, explorable, self-serve, viewable) | |
- It should be secure (governance, ACLs, provenance) | |
- ML on top of that using Spark | |
- Last and most important, it should be relevant and driven by business needs | |
These are based on the following document | |
https://drive.google.com/open?id=0B8eAsKPWNEi6M3d5Mm1qaFNPY3c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We have seen technology evolve at a rapid pace in last 3 decades. From a point where computers were accessible to few to a world where they | |
are everywhere and connected. Internet moving from a point of rarity to ubiquity. This book by Kevin Kelly describes a dozen of inevitable | |
technological forces that have governed these changes and will continue to shape the next 30 years. He has captured their change into 12 | |
verbs, such as accessing, tracking, and sharing. To be more accurate, these are not just verbs, but present participles, the grammatical | |
form that conveys continuous action. These forces are accelerating actions. Essentially these are getting amplified as we are changing | |
as a society. These forces are Becoming, Cognifying, Flowing, Screening, Accessing, Sharing, Filtering, Remixing, Interacting, Tracking, | |
Questioning, and then Beginning. | |
Before we move to the actual forces, we should have a note around the change itself. So, here it is. | |
---------------------------------------------------------- |
OlderNewer