Database Access and Swift? (ODBC, native libraries)

2014-09-21 Thread Andrew Satori
Well folks, it's me again. Your slightly off kilter and sometimes obsessed with database stuff developer... With the upcoming migration to Swift as the language of choice for OS X development, there is a decided lack of tools for getting from Cocoa to the RDBMS' of the world, and unfortunately

Re: NSStrings to CStrings and hex encoding...

2014-06-24 Thread Andrew Satori
u > put TextEdit into plain text mode it still does the smart quotes. > > > On Tue, Jun 24, 2014 at 9:15 PM, Andrew Satori wrote: > Alright, I am stumped so I am asking for help (and it is annoying me because > I am 100% certain that the answer will be stupid simple). > &

NSStrings to CStrings and hex encoding...

2014-06-24 Thread Andrew Satori
Alright, I am stumped so I am asking for help (and it is annoying me because I am 100% certain that the answer will be stupid simple). I have a bit of code (old code I might add) that I am updating to ARC and other such modern features. Unfortunately, I have run into a little snag. The code c

Re: Core Data with ODBC databases?

2013-10-17 Thread Andrew Satori
On Oct 17, 2013, at 11:45 AM, Scott Ribe wrote: > >> I think there’s a huge need for something like this in SMB. > > Agreed. Probably assuming always-on connectivity, since people usually have > 3G or 4G. Do a decent job with managing bandwidth demands and controlling the > number of request

Re: Core Data with ODBC databases?

2013-10-17 Thread Andrew Satori
On Oct 17, 2013, at 11:03 AM, Flavio Donadio wrote: > Dru, > > > I am not sure if I understand you, but here it goes! > >> Actually, there is no reason CoreData can't be used in this manner, but >> there are things that will have to be dealt with outside of CoreData. How >> do you deal wit

Re: Core Data with ODBC databases?

2013-10-17 Thread Andrew Satori
Actually, there is no reason CoreData can't be used in this manner, but there are things that will have to be dealt with outside of CoreData. How do you deal with two people making changes to the same record concurrently as an example ( this is not an issue exclusive to CoreData, but multi-user

Re: Core Data with ODBC databases?

2013-10-16 Thread Andrew Satori
Well... This is why I LOVE Objective-C and Cocoa for this work. What follows is a little complex, and honestly still in very raw form as I've had limited time to really finish all the work for something that is a line of business bit of work, but wasn't really built to be made generally availa

Re: Core Data with ODBC databases?

2013-10-16 Thread Andrew Satori
, and I push it hard. But at the end of the day, it is an abstraction layer, and adding another in the form and an ORM just isn't a great idea (IMO) that factored into the demise of Enterprise Objects. Dru On Oct 16, 2013, at 9:56 AM, Jens Alfke wrote: > > On Oct 16, 2013, a

Re: Core Data with ODBC databases?

2013-10-16 Thread Andrew Satori
I'd like to take this a step further. CoreData is a really nice tool, but CoreData really isn't the tool for using a multi-user RDMS since it skips over some of the frequently forgotten concepts like locking and data concurrency. Most of the time when people talk about CoreData and ODBC, they

Re: "Introducing ioscomponents.com"

2013-08-28 Thread Andrew Satori
And do yourself a huge favor. Repeat to yourself every morning (and anytime you get frustrated), "Developers are friends not food". I use that analogy intentionally, you are selling to the most critical market you will ever sell to. Not just other developers, which is bad enough, but Apple/iO

Re: dev site down time is ridiculous

2013-07-24 Thread Andrew Satori
I hear Microsoft pays for apps in their app stores On Jul 24, 2013, at 1:26 PM, Hunter Hillegas wrote: > I don’t think you’re the only one. I’m upset too and not being able to > provision stuff is really messing with my business… I’m trying to find > constructive things to do instead of c

Re: Sizing NSTableView to data

2012-07-18 Thread Andrew Satori
Unfortunately, the sizeToFit method seems to create and infinite loop condition. trying to sort out WHY it happens. On Jul 18, 2012, at 1:13 AM, Kyle Sluder wrote: > On Thu, Jun 28, 2012, at 04:42 PM, Maury Markowitz wrote: >> I am working on the ODBCkit's Query Tool to make it work across

Sandbox Frustrations - A Good Idea handicapped by poor docs

2012-04-27 Thread Andrew Satori
Don't get me wrong, I think the sandbox is a good idea in the long run, but at the moment, it seems to be incomplete at best. For me, I am running into an issue where I need access to ipc-sysv-shm. Apparently this is restricted. There is no entitlement to allow it. There is no documentation

Sandboxing and NSTask

2011-08-14 Thread Andrew Satori
Having spent the weekend trying to migrate to supporting sandboxing, I think I have hit a snag that may well be terminal. The situation: My application contains a bundle that embeds a set of programs (a local instance of the PostgreSQL RDMS). Outside of the sandbox, it properly creates the

Re: Cocoa Database Connection

2008-03-26 Thread Andrew Satori
port for saving the login connections to the keychain, and does support reading them back from the keychain. Feel free to ask questions, I'll do my best to answer promptly, though I am in the middle of building up the 8.3.1 packages. Andrew Satori - Owner & Janitor Druware Softw