The reason Obj-C is in demand is because all of the REAL hipsters instead have been wandering the desert with shit like Titanium and refuse to touch raw Objective-C code.
Huge swaths of the internet dedicated to Rails guys desperately trying to port ActiveRecord to CoreData, write REST adapters, so that they can just point it at a Rails server URL and hope the app will somehow piece itself together.
I've made a nice career of cleaning up after their mess and doing it the right way.
I don't know, if I was in the desert I'd prefer to use my divining rod rather than some crazy diwining rod. What is that, moon language, get off my lawn.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
I actually work in the medical field but we usually work with brutally anonymized data so HIPAA isn't a direct concern by the time anything comes to my desk.
0
GnomeTankWhat the what?Portland, OregonRegistered Userregular
Errr, why would Rails guys be trying to do anything with Cocoa/iOS? Have they never heard the "tool for the job" axiom? I love Ruby, and I love Rails...but umm, it has a pretty set in stone niche that it's good at...and iOS development is not part of that package.
Errr, why would Rails guys be trying to do anything with Cocoa/iOS? Have they never heard the "tool for the job" axiom? I love Ruby, and I love Rails...but umm, it has a pretty set in stone niche that it's good at...and iOS development is not part of that package.
All of the silicon startups need to have 'apps' these days, and a lot of the valley cretins are lifetime Rails folk, and that's basically how it comes together.
From what I've been told in coworker reports from the frontline, Rails people outnumber Objective-C people 4-5 to 1 in Austin coffee shops.
The first startup I worked for, I inherited the 1.0 iOS app from a Rails guy who had the app rigged on first run to query Rails for all records in the database, and had a framework that mimicked ActiveRecord function calls on the client side to retrieve his data from CoreData
and every time the app started it would reconcile with Rails to update the entire DB
Almost literally slaving CoreData to a remote SQL database
it was not good
I can't remember the name of the framework... but it's out there, and quite popular.
I actually work in the medical field but we usually work with brutally anonymized data so HIPAA isn't a direct concern by the time anything comes to my desk.
Yeah bit HIPAA compliancy isn't even a thing that you'd need to worry about. You should be employing at the bare minimum what HIPAA requires just because it's critical/personal data. Especially transfer over the wire.
Why they were charging us that much to ensure compliance is retarded, how about you design non-retarded software then.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
$50k sounds like a "we've never done HIPAA before actually don't know what it is so here's a number to cover our asses"
That's what I would quote I didn't know what those letters stood for
I told them we needed a 256-512 bit encryption on data from the server to the client and that would cover HIPAA compliancy other than having to do authentication locally against the server to make sure we have another layer in case the device was "compromised."
I explained the requirements pretty much outright and they wouldn't be held liable if it violated compliancy as I would inherit the codebase from them either way.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
10 year veteran java programmer for the DoD doing helicopter guidance software who transition to Rails and was billing triple digits per hour
on my third day on the job, his version of the app took 10 minutes to boot on the first run because was inserting into CoreData 1 record at a time (70k+ records)
six weeks later he was fired
But he's the prototypical hipster
Speaks at all the regional un-official TED conferences and everything
10 year veteran java programmer for the DoD who transition to Rails and was billing triple digits per hour
on my third day on the job, his version of the app took 10 minutes to boot on the first run because was inserting into CoreData 1 record at a time (70k+ records)
six weeks later he was fired
But he's the prototypical hipster
Speaks at all the regional un-official TED conferences and everything
... wat.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
0
admanbunionize your workplaceSeattle, WARegistered Userregular
RoR uses sqlite doesn't it? WTF was that guy thinking Jasc?
RoR has adapters for Postress, MySQL and Sqlite out of the box, and there are SQL Server and Oracle adapters readily available. There are even MongoDB bindings.
What could an application possibly need to insert into a database at boot, anyways?
It was more likely that the ActiveRecord/Rails side of things was running all available Rails Migrations at app startup, to make sure the database was up to date from a DDL perspective. In RoR, Rails drives the database structure, not the other way around.
What could an application possibly need to insert into a database at boot, anyways?
The app was for photography, and instead of making remote calls to the Rails server based on user inputs in the app, he wanted to download the entire DB and run queries locally.
So literally "get all photos for X user", instead of that being a web service call (which requires you to actually program in Objective-C and do callbacks and such), he wanted to have the entire DB in CoreData so that he could effectively write a CoreData fetch once and call it as needed, assuming the database would always be synced.
To be clear, when I said app startup, I meant iPhone app startup. Took 10 minutes.
The saddest part is that he probably thought he was terribly clever, and got one over on those nerdy programmers and their efficiency and best practice tomfoolery.
Also I don't trust Netbeans to be my SVN... Am I the only one? I know I'm the only one in my office that doesn't use Netbeans for my SVN (I use Tortoise).
What could an application possibly need to insert into a database at boot, anyways?
The app was for photography, and instead of making remote calls to the Rails server based on user inputs in the app, he wanted to download the entire DB and run queries locally.
So literally "get all photos for X user", instead of that being a web service call (which requires you to actually program in Objective-C and do callbacks and such), he wanted to have the entire DB in CoreData so that he could effectively write a CoreData fetch once and call it as needed, assuming the database would always be synced.
So has anyone here used D? I think I might play around with it for a bit
Looking up D makes it look like a mix of C# and C++ and that looks pretty sweet if that's the case. Domain languages are cool, runtime interop is cool too.
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Could you elaborate on that point? I don't have the best opinion of PostgreSQL because of my experience in integrating with a VOIP switch platform that uses it for an underlining database for their stuff. I couldn't tell for sure if some of the goofiness that we encountered was the DB platform as a whole or just the particular implementation using it.
Could you elaborate on that point? I don't have the best opinion of PostgreSQL because of my experience in integrating with a VOIP switch platform that uses it for an underlining database for their stuff. I couldn't tell for sure if some of the goofiness that we encountered was the DB platform as a whole or just the particular implementation using it.
There's nothing to say. I don't have any problems with it. Has served me fine, but most of my stuff has been pretty small potatoes, from a load perspective.
jackalFuck Yes. That is an orderly anal warehouse.Registered Userregular
I mean if the instance has "15" and you pass in an instance with "bloop" it returns 15 (meaning the instance is greater), but if you have the instance with "bloop" and you pass in the instance with "15" you return 0 (meaning they are equal). The order you get will depend on what order the items are compared in and that won't be stable or probably even well defined.
I guess I would do a regex and bool to see if it's a numeric value whatsoever. Then do parseint (and error out if it catches something outside the range of an int, because the regex won't check that).
I'm not a big fan of "do a try/catch to test things" sort a guy though. That's the kind of thinking that ends you up with a local cache of an entire database on a cellphone.
bowen on
not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Posts
I don't know, if I was in the desert I'd prefer to use my divining rod rather than some crazy diwining rod. What is that, moon language, get off my lawn.
All of the silicon startups need to have 'apps' these days, and a lot of the valley cretins are lifetime Rails folk, and that's basically how it comes together.
From what I've been told in coworker reports from the frontline, Rails people outnumber Objective-C people 4-5 to 1 in Austin coffee shops.
The first startup I worked for, I inherited the 1.0 iOS app from a Rails guy who had the app rigged on first run to query Rails for all records in the database, and had a framework that mimicked ActiveRecord function calls on the client side to retrieve his data from CoreData
and every time the app started it would reconcile with Rails to update the entire DB
Almost literally slaving CoreData to a remote SQL database
it was not good
I can't remember the name of the framework... but it's out there, and quite popular.
Yeah bit HIPAA compliancy isn't even a thing that you'd need to worry about. You should be employing at the bare minimum what HIPAA requires just because it's critical/personal data. Especially transfer over the wire.
Why they were charging us that much to ensure compliance is retarded, how about you design non-retarded software then.
That's what I would quote I didn't know what those letters stood for
I told them we needed a 256-512 bit encryption on data from the server to the client and that would cover HIPAA compliancy other than having to do authentication locally against the server to make sure we have another layer in case the device was "compromised."
I explained the requirements pretty much outright and they wouldn't be held liable if it violated compliancy as I would inherit the codebase from them either way.
He was thinking he was a super genius
10 year veteran java programmer for the DoD doing helicopter guidance software who transition to Rails and was billing triple digits per hour
on my third day on the job, his version of the app took 10 minutes to boot on the first run because was inserting into CoreData 1 record at a time (70k+ records)
six weeks later he was fired
But he's the prototypical hipster
Speaks at all the regional un-official TED conferences and everything
... wat.
RoR can handle a swath of SQL databases. The default has transitioned from MySQL to Sqlite.
RoR has adapters for Postress, MySQL and Sqlite out of the box, and there are SQL Server and Oracle adapters readily available. There are even MongoDB bindings.
The library used to be called "CoreResource"
but it appears as if their site is defunct and I can't find it on Github anymore
Too bad. I was hoping we could all share a laugh.
It had a fancy wood texture background and CSS3 and stuff on it
It was more likely that the ActiveRecord/Rails side of things was running all available Rails Migrations at app startup, to make sure the database was up to date from a DDL perspective. In RoR, Rails drives the database structure, not the other way around.
The app was for photography, and instead of making remote calls to the Rails server based on user inputs in the app, he wanted to download the entire DB and run queries locally.
So literally "get all photos for X user", instead of that being a web service call (which requires you to actually program in Objective-C and do callbacks and such), he wanted to have the entire DB in CoreData so that he could effectively write a CoreData fetch once and call it as needed, assuming the database would always be synced.
The saddest part is that he probably thought he was terribly clever, and got one over on those nerdy programmers and their efficiency and best practice tomfoolery.
God I hope this isn't true... I have a TON of Collections.sort() in my program that I still need to test on Mac...
Keep in mind:
Don't assume bad intentions over neglect and misunderstanding.
Looking up D makes it look like a mix of C# and C++ and that looks pretty sweet if that's the case. Domain languages are cool, runtime interop is cool too.
Nintendo ID: Incindium
PSN: IncindiumX
There's nothing to say. I don't have any problems with it. Has served me fine, but most of my stuff has been pretty small potatoes, from a load perspective.
Ahh okay.
Are you using a custom Comparator that can could cause the sort to be unstable I expect.
int myTime = -1; try { myTime = Integer.parseInt(time); int p2Time = Integer.parseInt(arg0.time); return myTime - p2Time; } catch(NumberFormatException e){ if(myTime > -1) return myTime; return 0; }On windows it stays stable, on mac in switches every time I click on the list(that triggers a sort).
By this is Java isn't it?
I'm not a big fan of "do a try/catch to test things" sort a guy though. That's the kind of thinking that ends you up with a local cache of an entire database on a cellphone.