« first day (691 days earlier)      last day (1465 days later) » 
00:00 - 15:0015:00 - 00:00

3:03 PM
Hi guys.
If I have project in xcworkspace, e.g. actual project and cocoa pods. And then I add some scheme (within command line (calabash actually)) to xcodeproj of actual project, xcode will add this scheme to xcworkspace after you just open project in xcode.
How do I do this within command line? How do I sync xcodeparoj schemes with xcworkspace schemes?
 
3:18 PM
afternoon y'all
 
@borrrden Thanks for your help dude, did as you said and got some further help on SO. For reference it was here: stackoverflow.com/questions/24883924/…
 
3:28 PM
In case nobody saw this....I'm looking for a CGImageRef guru who just can't wait to answer a question. Here: stackoverflow.com/q/24875874/1735836
 
Isn't there a method for creating uiimage from bytes?
 
yes
 
so... what's the problem?
@Lucy
base64 -decode> bytes -UIImage.fromBytes(or whatever)-> uiimage.cgimage
nah? ok then
 
@folex - It appears since I start off with this type:
UIImage *processedImage = [UIImage imageNamed:@"myFile.jpg"];

// UIImage to unsigned char *
CGImageRef imageRef = processedImage.CGImage;
NSData *data1 = (NSData *) CFBridgingRelease(CGDataProviderCopyData(CGImageGetDataProvider(imageRef)));
That when I get the data back, I need to put it back into that type:
CGImageRef
I find lots of posts to get the CGImageRef from the image but I cannot find any information out there to go the other way.
How do I do this:
CFDataRef dataRef = CFDataCreate( NULL, (const UInt8*) byteString.data(), byteString.length() );
CGDataProviderRef dataProvider = CGDataProviderCreateWithCFData(dataRef);

CGImageRef imageRef = CGImageCreateWith ....... ; // Maybe ?
 
3:55 PM
Can anyone find it in their hearts to try and stomach an abomination of an OSX Cocoa app written in Swift, and give me a bit of help?
This is the related SO, but I assume someone willing to help might need further detail or discussion that I'm not aware of yet ... stackoverflow.com/questions/24880135/…
If nothing else, help improving the question would be great.
 
@Lucy
CGImageCreateWith ... == UIImage fromBytes and then get cgimage
 
@folex - But I don't have a UIImage. All I have is a std::string of bytes.
CFDataRef dataRef = CFDataCreate( NULL, (const UInt8*) byteString.data(), byteString.length() );
That's my problem.
 
4:45 PM
The Gist of the question linked above is basically that my drawRect gets continually called once I trigger a needsDisplay programatically via a mouseDown event. Though it's strange because a window resize triggers a drawRect but does not exibit the same (problem behavior).
also, once I resize the window it snaps back to looking correct.
 
honesty sounds like it isnt forcing the view to redraw
im not up on OSX
so cant help sorry
 
no worries, thanks.
 
5:49 PM
@Lucy @nil Listen. I got a permanent job
 
Great news!!!!!
 
Thanks
@nil I need help in English. Please talk to me
@Lucy Will you help me?
 
Sure. Whatcha need?
 
First please read the following statement:
The agreement states that you will reimburse Company for your visa costs should you not join Company after the transfer is complete, resign your employment from Company or be terminated for misconduct / performance. Costs incurred for the transfer will be your responsibility to repay for a term of 18 months.
What is the meaning of the last sentence?
 
Not sure. Are they saying that the transfer time to completion is 18 months?
 
6:02 PM
No
Transfer will be done in 2 weeks
I'm also confused
What he's trying to say
 
Ah! I think they are saying that you will have 18 months to reimburse the company
 
6:29 PM
hmm
 
6:49 PM
The key is "... should you not join Company after the transfer is complete, resign your employment from Company, or be terminated for misconduct / performance."
 
hmm
 
I believe that means you only must reimburse the company if one of those things happen
 
But what are the other ways to leave the company besides not resigning and getting terminated (for misconduct or performance)
??
Even if performance is good, they will say it's not and terminate me
And what does this mean - Costs incurred for the transfer will be your responsibility to repay for a term of 18 months.
 
Seems like you could simply request clarification
 
Hello.
Does anyone know about Constrains in iOS
???
 
6:55 PM
I know
 
Hi @Gudiya
I get this error...
 
Hi
 
I'm resizing a tableview cell
But when I reload to refresh the table
does not show the resized textview
 
English is not my first language. I thought Americans speak and write good English. But look at his email. His statements are full of loopholes.
 
Contract Language is a particularly horrid subset of the English language... meant to confuse.
 
6:59 PM
@eddwinpaz What are your constraints that are causing the errors?
 
I deleted them
Want to see ?
are you online on skype?
 
I'm in office. So can't Skype right now.
 
ooo i see
 
If your app isn't confidential, then you can share it with me later when I'm at home. Even if it's confidential you can share by trusting me. But I hope it gets resolved before that.
Or try to explain the constraints
 
Right now I deleted the constrains
And the table resize but the textview does not.
If I use constrains on the textview
 
7:02 PM
What are the constraints given to the text for resizing?
 
it resizes the second tableview cell and the first one does not being resize
 
The text view doesn't resize. It's fine. Is the cell resizing?
 
the textview resizes programmatically
 
Why are you giving height programmatically? It might conflict with the height that it would get from constraints for height in the IB.
@MichaelDautermann is back. Mike - Help me decode the American English.
1 hour ago, by Gudiya
The agreement states that you will reimburse Company for your visa costs should you not join Company after the transfer is complete, resign your employment from Company or be terminated for misconduct / performance. Costs incurred for the transfer will be your responsibility to repay for a term of 18 months.
 
that's not American English
that's lawyer-style weasel words
 
7:09 PM
It's an email by an American. So it's an American English... who is a lawyer.
haha
Who is an HR
 
Its right english
 
with lawyer qualities
 
are you about to switch employers?
 
yes
It's a Permanent Job I am getting
 
it's the American way!
 
7:10 PM
I will be a direct employee
 
you're staying in Atlanta FOREVER now!
ho ho ho
 
Unless I resign again
 
then you have to pay them for the visa costs.
 
I resize the textview to calculate the tableview hight
since the textview cannot resize
 
I assume I will be rich enough by that time
 
7:11 PM
automatically
 
Why would you need to calculate the table view height?
 
so the textview will be shown
 
@MichaelDautermann Tell me what that statement means
 
table view cell
 
it means you pay for your visa transfer, PERIOD.
 
7:12 PM
@eddwinpaz You need to specify the cell height appropriately to show the cell completely. Not the table view height.
 
if you resign or get fired, you still have to pay for the visa transfer.
it looks like you have to always pay for your visa transfer.
 
I knew it
 
I meant table view cell
 
and the only way you don't pay for your visa transfer is if you die at your desk.
 
I calculate the number of lines the textview has and pass the hight of textview to the table view cell.
 
7:13 PM
Or they terminate me graciously?
 
@MichaelDautermann I love your sarcasm
 
there is no such thing as being terminated graciously.
maybe if you were laid off you don't have to pay the visa transfer fee.
 
@eddwinpaz Set the constraints in the IB for text view like this - It's bottom and top to be aligned to the cell's content view's bottom and top.
 
does that cost too much the visa fee?
 
Then compute the cell's height based on the text view's text
Visa Transfer Fee is $2k with $1k more for Premium Processing.
 
7:15 PM
Let me try
wow.!
 
huh?
Tomorrow I need to give presentation on iOS 8 Extensions. I am thinking to instead give presentation how I'd be resigning from the company.
 
when are you going to do another NSChat presentation?
 
as a suprise?
 
Yes
 
Your boss is kind?
 
7:18 PM
I am ready for the next NSChat presentation whenever few more are
 
I know EddwinPaz wants to do a NSChat presentation.
 
My boss is Technically challenged person
 
and it would be nice to have Jon David John do something, too.
 
What is an Avarage salary for iOS development Python/Django and Nodejs?
 
in US Dollars or pork & beans?
 
7:21 PM
US
 
I am getting $90k for this new job
 
now that's more like it.
you were being severely underpaid at the one you're doing now.
 
I make 2.5K a month
for Full Stack Dev
 
I'm not a full stack developer... I'm a few cards short of a full deck.
 
I know (Server Setting, Python, Django, iOS, Nodejs, Mobile Usability, Responsive Design, Scala)
But now I just want to become expert on Python and iOS and Nodejs only
 
7:24 PM
Is that working?
 
I know (Sleeping, Showering, Microwaving)
 
Because keeping up with all this takes a lot of time
 
but you're so smart Eddwin... you can be my role model!
 
@Gudiya Storyboard marks an Error if I use only top and bottom
LOL
 
Well, of course it would need other two. Trailing and Leading
But that is your choice as I assumed the issue is with height not resizing
 
7:26 PM
sorry but i calculate only the hight of the tableview cell
but the textview is not being resized
only table view.
Constrains do resize only 1 of the 2
 
Can you send your project to me in email?
 
Nope.
Not allowed
 
Can you send me money in an envelope?
 
@Gudiya is your job in california?
 
Georgia
 
7:29 PM
she was supposed to come to California and she decided on Georgia again
booooooooooooooring.
 
lol
This was a F2F interview so they are confident.
They also asked me to write code on white board
 
I've never been on the US
nither any english speaking country
 
Brb Need to call the Hr to clarify
 
don't forget to tell the HR people that they are morons.
that will always win you friends in high places.
Do you think you could handle being far from your family and friends, Eddwin?
 
yes
I live alone
Like being alone
 
7:34 PM
 
you don't even need one of these?
 
Back off Mike, this time I win ;)
 
yeah... I do approve of that song.
I don't even to click on the movie to know which song it is.
 
It was hiralous
 
I've a girlfriend
 
7:37 PM
is it a nice pillow?
 
does not look confortable
 
I talke to the Hr. She says that I will need to reimburse the fee to company if I leave in 18 months
This one was the HR head
I think thats what the last sentence means
 
welp... you're quitting your current job after what, 4 - 6 months?
 
Yes 6 Months
This is a contractual job.
 
you can't stay at a job for more than a year... let alone 18 months.
 
7:41 PM
and the contract is for 1.5 years? How much do you have to pay?
 
It will require me to pack my bags every now and then. I cannot settle down at one place comfortably.
Because of that I don't have enough furnitures at home
I don't have to pay anything if I leave after 18 months
Otherwise I have to pay for my visa transfer fee that they will be paying now
 
Start applying for big companies, they will do all that for you
 
@Gudiya When you leave from one place to another things does not change, you are the one that need to change.
 
The company I am joining is #1 in the area they work for.
 
definitely avoid all contracting job as they will bleed you dry
 
7:43 PM
who is the new company, Gudiya?
 
Watch as I will delete it soon,
 
never heard of them
 
Me too
 
where are they #1? Georgia?
 
In world for the area they specialize in
 
7:44 PM
I worked for hootsuite for a while
 
Mike, go to their site, you will see they are LEADER
I believe that is the maximum size for a font ;)
Well I know their mother company, but never heard of the subsidiary
 
I don't have any problem unless somebody makes fun of it working for a better company than that.
 
They must be pretty good, the acquisition was quite large
good luck!
 
To me - whichever company provides me green card is the best company.
 
user457812
8:00 PM
8 messages moved to bin
 
uh oh... nil woke up.
everyone look busy!
 
user457812
@Gudiya I'm not a lawyer, don't ask me.
 
Hi room.
 
Hello Duncan
 
user457812
'Lo
 
8:02 PM
Howzit?
 
I know. Nobody is a lawyer here. So none could decode it.
 
Noel, you were in the conversation the other day about the TED talk on swarming behavior in quad copters, right?
 
user457812
Boring. Haven't heard back from the folks I interviewed with last Thursday and haven't heard anything from anyone else in a while.
 
I got selected
 
No success with constrains
 
user457812
8:03 PM
Yeah, was talking with you and WingFlaps, I think?
 
Sounds right. I found the link. It is VERY worth a watch:
 
user457812
TED is doing a good job of totally not loading that video.
 
pity
Might be a regional thing. It's loading fine for me.
 
user457812
It started working after a few minutes when it went "ok let's use a flash object"
 
user457812
I like the guy's idea of using them to find survivors and whatnot following disasters, considering they're small enough to navigate unusual spaces
 
user457812
8:20 PM
Oh, neat, a flying kinect
 
Check out the way it builds a 3D model of the space it flies through. Very cool stuff.
Awesome application of technology.
However also scary. Can you say "Skynet?"
 
user457812
Not too concerned about that since the NSA already built it.
 
Here's a related talk that shows individual copters doing physically agile things:
 
user457812
I'm mostly interested in drones as tools for search and rescue ops
 
Those drones do things that NSA can't do yet.
Like swarming behavior, autonomous problem solving, mapping 3D spaces, etc.
 
user457812
8:30 PM
Since right now we have robots that'll do that, but the little kinect copter they built has the potential to really improve it
 
Imagine a SWAT team with one of those kinect drones
 
user457812
Would probably make them less likely to do something stupid.
 
Add a taser and/or a flash-bang and it could be a very useful (if kind of scary) police tool.
 
user457812
Since, frankly, they do a lot of guess work, and that can backfire
 
user457812
Unrelated: it's annoying that ⌘← jumps to the start of the line in Xcode.
 
user457812
8:35 PM
Rather than, say, the first non-whitespace character (i.e., ignores indentation), like every other editor.
 
I actually like that feature. Commnand right arrow jumps to the end.
Option left and right arrow jumps by words. That's probably what you want.
 
user457812
Not if there are multiple words.
 
user457812
The other problem is that I need Option left/right to not ignore symbols
 
Sure it does. Each key press jumps by 1 word.
True, symbols mess it up.
 
user457812
e.g., If I hit ⌥→ when my caret is before a (, it should go to just after the (, not until the end of the next alphanumeric word
 
user457812
8:39 PM
It also turns out that I can just crash the autocompletion stuff in Swift by putting my caret over a return keyword.
 
user457812
Probably the weirdest bug I've found so far.
 
What are you guys talking about
 
user457812
I wonder if there's a simple way to get the keypath of a property without just passing around string keypaths
 
user457812
We're talking about editor behavior, since every editor is different.
 
ok
 
user457812
8:46 PM
I really need to clean up my home directory
 
user457812
So full of repos
 
user457812
Was wondering how ReactiveCocoa did their RACAble thing, turns out it is just a macro
 
9:33 PM
OK, gang. I have a new question out there. Same problem, just different approach. If I ask enough questions I just might get an answer I can work with. :-)
0
Q: How to create CGImageRef from NSData string data (NOT UIImage)

LucyHow does one create a new CGImageRef without a UIImage? I can't use image.CGImage I am receiving a base64 encoded image as a std::string from a server process. The first part of the code below simulates receiving the encoded string. - (UIImage *)testChangeImageToBase64String { UIImage *pro...

 
user457812
9:51 PM
What format is the image in?
 
Bitmap
 
user457812
No, format
 
user457812
BMP is a format, but I don't think that's what you're using considering it comes in as a jpeg and goes out as a what
 
user457812
What you're going to have to do is pick a format before you decide to send/receive data, or at least know what format you're receiving
 
user457812
So what format is the CGImage you're getting the data from in?
 
9:55 PM
ARGB_8888
 
user457812
Then you need to create a CGImage using that info.
 
user457812
That is, using CGImageCreate.
 
user457812
If you have a more specific question about using CGImageCreate, then you should probably ask that, since actually creating an image is pretty straight-forward.
 
I'm back
 
user457812
10:05 PM
God help us all
 
@nil - OK. I'm new to all this image stuff. Since all I really have is a string, I was hoping there was a better way.
 
user457812
There is no easier way than simply allocating an image using info only you know.
 
10:35 PM
Hey, @nil, why don't you post your answer and rack up a few points? "What you're going to have to do is pick a format before you decide to send/receive data, or at least know what format you're receiving." "Then you need to create a CGImage using that info. That is, using CGImageCreate." "There is no easier way than simply allocating an image using info only you know." That is the answer. :-)
 
What is @MichaelDautermann doing
 
user457812
Eh, I can if you want.
 
writing code... what are you doing
 
Preparing for tomorrow's presentation
The Manager loser chose me
 
are you going to put in your notice tomorrow?
 
10:38 PM
The Mobile team is starting the presentation story from me. Im the first person to give presentation
No
They are doing background check
Then they will start Visa Transfer
After that
 
I can imagine what your presentation will be like...
 
It will be slightly different. Even me will sleeping like others.
 
10:53 PM
Hello.
 
Has anyone here installed Xcode 6 Beta 4?
 
not yet...
thanks for reminding me
is it everything you ever dreamed of?
 
Okay, sure. I saw in the change log that the unwind/exit segue method was no longer listed under bugs, and it did successfully connect, which was pretty exciting, but I haven't gotten it to actually work :( Was wondering if anyone else had this problem, or if I'm doing something wrong.
 
Who me?
 
10:55 PM
There is a fairly good-looking redesign, inline with Yosemite. I like it a lot.
 
I can think of no stronger endorsement than what I just heard.
 
What endorsement?
 
Redesign or exit?
The redesign's mostly icons, though. I think a lot of the menu/toolbar stuff changes if you actually use it in Yosemite.
 
I have installed Xcode 6 beta 4
 
Cool. Have you gotten an exit segue to work?
 
11:09 PM
1 sec. Lemme see if I can do it real quick
Well the connections tab for it is blank...
 
@nil - Go for it
 
Ya... I dunno, doesn't look like you can set it up
 
Yeah, I'm having troubles too. Were you able to connect it?
 
Either they changed the way it works... Or you cannot
nvm
I just remembered how to do it
Ok, I vaguely remember how to do it, but from what I tried, didn't work. (setting up the exit segue connecting it to a button, etc.)
 
user457812
@Lucy Ok, answer posted, albeit with a code block that more or less illustrates creating an image.
 
user457812
11:16 PM
You should make sure this actually works before accepting it as an answer.
 
Thank you. I almost have it.
 
Okay. I had the same problem, I got it to connect but it wasn't called (using a breakpoint). Probably still a bug, thanks for your help.
 
11:45 PM
I'm not dead yet
 
Ethen is back
 
I'm a big boy now
 
How?
 
lol
You're small boy. I can see from your profile pic.
 
user457812
11:51 PM
Says the room's resident short person.
 
I'm 5'2". Not short.
 
It's short compared to Godzilla
My parents are 14'4"
And they are godzilla babies
 
The new Godzilla movie was crap
 
Did it taste good?
 
00:00 - 15:0015:00 - 00:00

« first day (691 days earlier)      last day (1465 days later) »