How to determine the Http Method type being implemented for web service API

2013-06-24 Thread Omkar Ramtekkar
Hello, I'm working on a project, where in I need to get the data from server through RESTful web services. Server side people have implemented a few web services. I need to use those methods, but I'm not sure which http method to use Get or POST. If I use GET as http method and if the server

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Ian Joyner
The other reason I can think of for not classifying CoreData as a database is that CD is only meant for one application (at a time anyway), whereas specific databases (as in DB management systems DBMS) are meant to be shared on a massive scale. Another interesting point from Codd is that he

Re: How to determine the Http Method type being implemented for web service API

2013-06-24 Thread Andreas Liebschner
On Mon, Jun 24, 2013 at 8:05 AM, Omkar Ramtekkar omkar_ramtek...@persistent.co.in wrote: I'm working on a project, where in I need to get the data from server through RESTful web services. Server side people have implemented a few web services. I need to use those methods, but I'm not sure

Re: Why is it wrong to have relationships without an inverse

2013-06-24 Thread Ian Joyner
On 24 Jun 2013, at 02:11, Gordon Apple g...@ed4u.com wrote: You mentioned MacApp. I was heavily involved in that for awhile and even got into the credits. I don¹t know if you remember Bob Krause. When I was running the developer sig at LA Mac Group, I had him down for a presentation on his

Re: Getting the location of the Library

2013-06-24 Thread Mike Abdullah
On 23 Jun 2013, at 23:09, Kyle Sluder k...@ksluder.com wrote: On Jun 23, 2013, at 1:49 PM, Pax 45rpmli...@googlemail.com wrote: Just a quickie, I hope! I'm writing a sandboxed application that uses plugins. The plugin directories that I want to load from are '/Library/Application

Re: Getting the location of the Library

2013-06-24 Thread Pax
Are you sure about this? Because my sandboxed app seems to be able to load plugins from the root library application support folder without difficulty. In addition, I can't see how it breaches the sandbox to load plugins from anywhere - no files are being modified (just code loaded from the

Re: Core Data Reverse Engineering KickStarter Project

2013-06-24 Thread Michael Crawford
Scott, How do you do it? Honestly I want to know. The best I've ever been able to come up with is that if someone always writes the same kind of code, say repeatedly writing eCommerce sites for different clients, then they can base an estimate for a new project on experience with past project.

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Scott Ribe
On Jun 23, 2013, at 7:51 PM, Ian Joyner wrote: I'd have to do some more thinking as to whether that is a weakness in CoreData or not, but it seems to be erring in the ER direction. Hmm. My own private ORM has no such pointers--instead using methods which rely on std::map's of primary keys to

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Alex Zavatone
Scott, your use of the apostrophe is confusing, since those terms don't appear to be possessive or contractions Instead of : std::map's of and multimap's of Did you mean std::maps of and multimaps of ? On Jun 24, 2013, at 9:06 AM, Scott Ribe wrote: On Jun 23, 2013, at 7:51

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Roland King
it's a not-uncommon usage in the programming world where the apostrophe separates the actual name of the thing from the 's' denoting a plural and it means 'more than one std::map'. I've seen this one for years, along with std::map(s) but that takes one extra character to type. On 24 Jun,

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Scott Ribe
On Jun 24, 2013, at 7:23 AM, Alex Zavatone wrote: Scott, your use of the apostrophe is confusing, since those terms don't appear to be possessive or contractions Instead of : std::map's of and multimap's of Did you mean std::maps of and multimaps of ? I was treating

Re: Cocoa-dev Digest, Vol 10, Issue 388

2013-06-24 Thread Flavio Donadio
Hello, people! After reading all this thread and watching it deviate from the problem at hand into a philosophical argument, I think it's time to answer the unanswered question... Rick Mann, I don't understand why you need a separate relationship to retrieve the active Child objects. Please,

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Flavio Donadio
* Re-sending because of wrong subject line - Sorry! * Hello, people! After reading all this thread and watching it deviate from the problem at hand into a philosophical argument, I think it's time to answer the unanswered question... Rick Mann, I don't understand why you need a separate

Re: How to determine the Http Method type being implemented for web service API

2013-06-24 Thread Keary Suska
On Jun 24, 2013, at 12:05 AM, Omkar Ramtekkar wrote: I'm working on a project, where in I need to get the data from server through RESTful web services. Server side people have implemented a few web services. I need to use those methods, but I'm not sure which http method to use Get or

Re: Core Data Reverse Engineering KickStarter Project

2013-06-24 Thread Jeffrey Oleander
On 2013 Jun 24, at 06:10, Michael Crawford wrote: Scott, How do you do it? Honestly I want to know. The best I've ever been able to come up with is that if someone always writes the same kind of code, say repeatedly writing eCommerce sites for different clients, then they can base an

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Rick Mann
On Jun 24, 2013, at 07:49 , Flavio Donadio fla...@donadio.com.br wrote: After reading all this thread and watching it deviate from the problem at hand into a philosophical argument, I think it's time to answer the unanswered question... Rick Mann, I don't understand why you need a

Re: How to determine the Http Method type being implemented for web service API

2013-06-24 Thread Jens Alfke
On Jun 23, 2013, at 11:05 PM, Omkar Ramtekkar omkar_ramtek...@persistent.co.in wrote: Server side people have implemented a few web services. I need to use those methods, but I'm not sure which http method to use Get or POST”. If it’s really a RESTful API, then you use GET to retrieve the

Re: Search field in menu, like Help menu has

2013-06-24 Thread Jerry Krinock
On 2013 Jun 10, at 09:59, Kyle Sluder k...@ksluder.com wrote: The same way they do the Spotlight “menu”: a borderless window that looks like a menu. Thank you, Kyle. That seems to be the only sensible explanation. Sadly, I don't know if there's a way to hook into the menu manager to get

Re: How to determine the Http Method type being implemented for web service API

2013-06-24 Thread Tito Ciuro
Let's not forget about PATCH: http://tools.ietf.org/html/rfc5789 I'm not sure if it's been ratified already, but it could be around the corner. It's already part of technologies like Node.js, for example. -- Tito On Jun 24, 2013, at 11:14, Jens Alfke j...@mooseyard.com wrote: On Jun 23,

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Alex Zavatone
Awesome. Thanks. In today's world, so many people don't seem to pay attention to proper use of the apostrophe, that I thought I'd ask rather than assume. Noting this, is it wise(r) to actually use (s) to indicate a plural in this case? On Jun 24, 2013, at 9:33 AM, Roland King wrote: it's

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Howard Moon
Now we're straying off into grammar, but… How about adding a word to indicate that you're talking about objects, as in std::map objects or multimap objects? (I'd rather be clear than save a few keystrokes any day.) -Howard On Jun 24, 2013, at 1:00 PM, Alex Zavatone wrote: Awesome. Thanks.

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Rick Mann
I agree it's a bit off-topic, but I find too many people use apostrophes. Style manuals differ in their recommendations, but I tend to fall into the camp that suggests apostrophes should not be used unless absolutely necessary. The best thing for the programming case, where you want to avoid

Protocol Buffers in iOS?

2013-06-24 Thread Rick Mann
In debugging an issue with iOS7, I investigated things on iOS 6. Our project includes Google Protocol Buffers source code and uses it for some of the funtionality. But I see now that iOS 6 includes libprotobuf.dylib, and a number of related .dylibs, that can be added in the link build phase.

Re: Getting the location of the Library

2013-06-24 Thread Greg Parker
On Jun 24, 2013, at 2:00 AM, Pax 45rpmli...@googlemail.com wrote: I can't see how it breaches the sandbox to load plugins from anywhere - no files are being modified (just code loaded from the plugin), and the plugin is subject to my application's sandbox privileges (and thus unable to do

Re: Getting the location of the Library

2013-06-24 Thread Kyle Sluder
On Mon, Jun 24, 2013, at 02:00 AM, Pax wrote: Are you sure about this? Because my sandboxed app seems to be able to load plugins from the root library application support folder without difficulty. By root library application support folder, are you referring to /Library (as opposed to

NSFileWrapper NSKeyedArchiver and Mutability

2013-06-24 Thread Trygve Inda
NSMutableDictionary* myMutDict = [[NSMutableDictionary alloc] init]; NSData* myMutData = [NSKeyedArchiver archivedDataWithRootObject:myMutDict]; If I unarchive this, I was under the impression that it would return an immutable object. However, if I do: NSFileWrapper* myWrapper =

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Graham Cox
On 25/06/2013, at 7:12 AM, Rick Mann rm...@latencyzero.com wrote: In any case, far too many people use far too many apostrophes when pluralizing, and it's causing me to make more such mistakes just from constantly reading theirs. Please stop. I would second that. An apostrophe is NEVER

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Graham Cox
On 25/06/2013, at 12:49 AM, Flavio Donadio fla...@donadio.com.br wrote: Rick Mann, I don't understand why you need a separate relationship to retrieve the active Child objects. Please, consider doing this: Parent children to-many to Child Child parent to-one to Parent

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Flavio Donadio
On 24/06/2013, at 22:01, Graham Cox wrote: On 25/06/2013, at 12:49 AM, Flavio Donadio fla...@donadio.com.br wrote: Rick Mann, I don't understand why you need a separate relationship to retrieve the active Child objects. Please, consider doing this: Parent children to-many to Child

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Ian Joyner
So I think, if I understand what Graham is suggesting, that in a relational DB design you would model this with three relations 1) Parent 2) children (which could be the same as parent) 3) active_children. If a child is active you insert it in the active_children set (relation is a particular

Re: Why is it wrong to have relationships without an inverse in Core Data?

2013-06-24 Thread Alex Zavatone
On Jun 24, 2013, at 8:52 PM, Graham Cox wrote: Grocers (or should that be Grocer's?) are the only profession allowed to use an apostrophe to indicate that there's an 's' about to come up at the end of the word. That's not even a valid excuse.

Re: Core Data Reverse Engineering KickStarter Project

2013-06-24 Thread Ian Joyner
On 23 Jun 2013, at 11:38, Michael Crawford mdcrawf...@gmail.com wrote: To me, it's not that you'd have to write all the code from scratch that makes Core Data concerning, it's the fact that the format is undocumented. If Apple published a complete specification for the format, I'd be

Re: Recomputing non-standard Core Data attributes when child MOC is saved?

2013-06-24 Thread Noah Desch
I have had really weird issues with NSManagedObjects KVOing themselves. I would recommend you instead override the dynamic setters for all the attributes whose value affects your computed property and clear your pre computed value there. Noah Desch On Jun 19, 2013, at 3:21 AM, Rick Mann

NSScrollView content is jumping when resizing

2013-06-24 Thread Nguyen Huu Phuoc
Dear All, This problem just occurs in Mac OX 10.6 (10.7, 10.8 isnot). The problem is recorded in the movie clip: http://www.youtube.com/watch?v=WRyPSkgh5HY Are there any solution? Thanks in advance! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

NSOutlineView (Cell based) loses Text

2013-06-24 Thread Robert Fiedler
Hi All, I have an question about NSOutlineView and an Image an Text Cell. I use an NSTreeController and have bind arangedObjects to the OutlineView and objectValue.ResourceIcon (NSImage*) to the ImageView and objectValue.ItemName (NSString*) to the TextFileld of the CellView. Now I see the

Wolfram Research is seeking iOS / Cocoa / Mac developers

2013-06-24 Thread Jason Harris
Hi All, Wolfram research is looking for 2 or 3 full time Cocoa / iOS / Mac developers, preferably with C++ experience. You will be able to work remotely. If you are interested please see: http://www.wolfram.com/company/careers/user-interface-developers.html Yours, Jason Harris Senior

Re: NSScrollView content is jumping when resizing

2013-06-24 Thread Nguyen Huu Phuoc
Please help me approve the previous email Thanks On Mon, Jun 24, 2013 at 11:26 AM, Nguyen Huu Phuoc nhph...@oesf.jp wrote: Dear All, This problem just occurs in Mac OX 10.6 (10.7, 10.8 isnot). The problem is recorded in the movie clip: http://www.youtube.com/watch?v=WRyPSkgh5HY Are there

Re: NSOutlineView (Cell based) loses Text

2013-06-24 Thread Quincey Morris
On Jun 24, 2013, at 14:41 , Robert Fiedler robert.fied...@kryptowelt.de wrote: Does anybody have an idea what could be the reason for that behavior or in what direction I should dig? I believe I've seen similar behavior caused by malfunctioning auto-layout constraints on the text and image

Re: NSFileWrapper NSKeyedArchiver and Mutability

2013-06-24 Thread Graham Cox
On 25/06/2013, at 8:53 AM, Trygve Inda cocoa...@xericdesign.com wrote: NSMutableDictionary* myMutDict = [[NSMutableDictionary alloc] init]; NSData* myMutData = [NSKeyedArchiver archivedDataWithRootObject:myMutDict]; If I unarchive this, I was under the impression that it would return an