« first day (602 days earlier)      last day (1554 days later) » 

2:05 PM
How heavy is the NSTimer scheduling?
 
2:33 PM
I am not aware of any performance hit with NSTimer
it just depends on what you do when it fires @folex
If you simply ping server with some stuff and do something on the background, UI should not take any hit. If you instead do something on the main thread, then maybe your UI might take a hit
 
Back
 
wow
hi Laddu
long time no see
 
Yeah. How are you and everything?
 
I'm good
just started a new contract
how 'bout you?
still in Cali?
 
I am in Atlanta, GA.
The employer cancelled the Cali location/client at the end moment.
 
2:40 PM
oh
you haven't won a ticket on the wwdc lottery either?
 
Nope
Did you?
 
Max did
out of all of us
 
lol
no good deed goes unpunished
 
well, let's put it this way: he needs it most
 
Have you been to WWDC Rage?
 
2:42 PM
the past two years
 
What is the best part about it?
 
labs
and talking to people
 
Those labs, what do you do? sit around working out how a new feature works?
 
nope
you take all your problems and questions there to get answers, solutions, suggestions even new ideas for your apps
 
I see
 
2:44 PM
the stuff I learned there I couldn't have learned anywhere else
 
For example?
 
like how to use GameKit for music streaming
 
Hmm
 
or what implications did using GCD so heavily had on one of my apps
last year with iOS7
 
Maybe I should go once, just to say I did. heh
 
2:46 PM
one of my mates sat in a lab for a whole hour with an Apple UI engineer redesigning the UI of his app
those one hour sessions had to be booked though
 
Well, you do pay for it.. you should at least get a chance
 
but they managed to get it done in two session, it would have taken him at least two weeks otherwise
 
cool
 
and it's not just the Apple engineers
other devs as well
nice to meet people
maybe get a new job or a partnership
 
I panic in front of too many people :)
 
2:48 PM
the trick is not to go in there naked
 
I wear a tophat
 
only?
 
yes. only.
 
not the best for such an event
 
sometime I use monocle
with the tophat
 
2:50 PM
yes, that's very traditional
but may not be enough
 
but of course!
 
you should at least consider putting some socks on
 
cannot, they don't make them for hobbits
 
they do in new zealand
I know they don't elsewhere, that's why the vietnamese wear slippers
 
I think you might have just gone racist?
 
2:54 PM
so making comments on hobbits isn't?
just because you think they don't exist
 
fictional characters don't count ;)
 
now you're really breaking my heart
I have to cancel my trip to new zealand...
 
@Byte Thanks.
 
They said in their fine prints "[b]y the way, hobbits don't exist" on their visa ToS
did you not read ToS?
Always spend at least a couple of hours reading the ToS when signing up for anything like normal people do
 
nope
I don't need a visa
 
2:59 PM
It's probably written somewhere in the airline ToS
 
I'm taking the train
look
even if they don't exist
 
Eh... well
 
I'll make sure they are genetically engineered and then cloned into existence
next time you'll say Klingons don't exist...
ridiculous
 
If I can genetically engineer and clone someone, I would have put it to a much better use. Trust me I am an engineer.
Klingons exists...
The language though.
 
well, Tolkien fashioned hobbits after the rural population of the UK
so to some extent they exist
although making them into hobbits in a book isn't a nice comment either :)
 
3:05 PM
Well at least they show hobbits as heroes, so ... silver lining?
 
yes, they are simple but honest folks
@LadduHasADHD so apart from having moved to GA
is everything alright?
you enjoying life in the US?
 
3:21 PM
Yes, everything's alright besides I'm not able to save money lol
 
you're not making enough then
 
Yeah
I'm getting $40 per hour but my employer is making $80 or $90 from me and giving me almost half of it.
 
that's about right actually
they need to make that sort of profit on your hours for the business to be viable
 
I will try to get a permanent job in some other company
 
yes, that may be better
 
3:24 PM
$40 is not that bad
 
I want my $80 or $90 full
 
I only make $7.50 vacuuming floors
 
what?
 
Byte, you'd make more if you worked in your aunt's restaurant
 
Untrue, I did worked there for a bit
I got paid nothing...
 
3:26 PM
:)
that's family for ya
 
In her defense, she did let me sleep in her house and fed me
 
that's classified as paid work
 
but yes family = free work force
 
and requires a work visa
 
I was on a visitor visa and I was learning British :)
 
3:28 PM
doesn't matter
if you help out in the restaurant that's work as soon as you get anything in return, like food and board
so you violated your visa
 
anyways Laddu, that $80~$90 includes more than that meets the eye
 
yep, I agree with Byte on that one
there is a lot of overhead
and $40 is really not that bad
 
it is not work, I did it out of my good will and expected nothing back.
She let me stay with her and fed me out of goodwill
 
exchange of good will is work
 
no way, what kind of society do you live in
good will is good will
 
3:30 PM
well UK laws are as such
 
what a distopia
 
if you did it out of good will it would be alright if you didn't get any sort of benefit from her at all
 
I did not she just happened to fed me
those 2 incidents are no related
 
that's enough to be considered benefits in exchange
I get your reasoning, but Immigration Officers would disagree
had you been registered as a student, then it would have been allowed
but that's a different visa then
 
Imagine, you walked around town and you found litter on the floor. you picked it up and throw it away. A cleaning lady happened to walked by and she happened to have too much cash on hand and hand some to you.
although they benefit each other, they arent related
 
3:33 PM
you'd have to refuse
 
that would then hurt the lady's feeling
why would you want to hurt other people's feeling?
 
because you get deported
 
So if you don't hurt other people, you get deported? what kind of law is that!!
you just got Lawyered! ;)
 
you know perfectly well what it's about
 
What happened to the good o' day when there were no laws...
and top hat alone was suffice for WWDC
 
3:42 PM
those days are long past
and I'm done for today
 
@LadduHasADHD if you want to get those $80 you can by create your own company, hire yourself and have 1 client. Get a good accountant, and you will get probably $75
 
keep on the good work everyone
 
Cheers!
 
see ya
 
Hmm
I want green card first. That's my first priority.
If opening company helps me do that, I will.
 
3:57 PM
Hey Laddu
 
Hi
whats up?
 
huh?
 
I Interviewed and dint get selected ..:(
Now I have to get out of Florida and look more
 
Not in florida? Why?
 
4:01 PM
No IT companies
 
Oh
Can't you do online interviews?
Date Formatters don't handle daylights!?
 
Did you ask for ET or EDT or EST
 
Yes I can ..I meant to say that have to look for more options outside of Florida
 
try asking for ET
not sure if it works that way, but oh well
 
4:06 PM
Yeah it's tiresome. I'm sure you will get it.
It's Day light going on now, right? So it should be EDT
 
it is EDT
sorry what u mean by doesnt handle daylight?
 
Give date formatter a date in string form of a different time zone and ask it for date in NSDate form for another time zone.
It ignores the day light
 
ask the server to hand you a UTC
then convert it from there
should be better than getting an EDT or EST
 
UTC we can always get by [NSDate date]. I was experimenting if date formatters handle day lights.
 
i got a meeting but when im back i ll tell u what i do
 
4:13 PM
ok
 
 
2 hours later…
6:09 PM
Finally, I established a connection between central and peripheral in my sample core bluetooth application.
Now I need to send and receive data.
 
hi good evening to all
plz tell me any body
 
 
1 hour later…
7:12 PM
good night bye
 
user457812
8:09 PM
Debating if I should bin all of @user3222991's messages because holy crap chat-speak
 
user457812
@LadduHasADHD Why the flipping hell did you encourage them?
 
oohhh
 
user457812
170 messages moved to bin
 
He was a bit annoying too. He wasn't getting a simple thing.
 
8:29 PM
@LadduHasADHD here it is pastebin.com/UtDf9yM4
So The server gives me UTC in string, I convert it into NSDate then use the pasted method to handle time correctly.
Since NSDate is zone insensitive, it is always the correct time
If I need to save, I use UTC string format
 
user457812
I like the way Go does date-time string parsing
 
user457812
It's incredibly smart.
 
user457812
Would probably be interesting to try porting that to a non-Go library.
 
8:44 PM
Haven't a chance to touch Go yet
I ll let there be more people drowning in it so I can leech codes from them Muh-hu-hu-hu
 
@Byte Thanks. I will see what that does.
 
It just one of the way to print out the correct time zone depending on where ur device is
 
I successfully sent and received data using core bluetooth using my iPhone as transmitter and Mac as receiver.
Now I need to send a complex data like a pdf file.
 
user457812
Speaking of files and iPhones and Macs, I hope Airdrop stops being completely useless
 
user457812
As a file-sharing thing between Macs and Macs and between iOS devices and iOS devices, it's a completely useless feature.
 
user457812
8:48 PM
The moment it gets sharing between Macs and iOS devices, everyone will use that to send crap back and forth.
 
All that is good and all but can it make me coffee?
If not, then it is useless
@LadduHasADHD Do ping me if you get something like that to work, I am very interested in it
 
user457812
iOS 8: makes you coffee.
 
user457812
Well, Siri does via smart coffee appliances.
 
Siri does not talk to lowly app developed by lowly people like us
 
user457812
Just requires a water source and for you to occasionally fill a coffee bean pouch that it pulls beans from to grind into your delicious mouth-hole-energy-dirt-water
 
user4203923
8:54 PM
Hi all
 
user457812
The only greeting we recognize here is a synchronized flexing of the biceps.
 
handshakes are also acceptable.
 
user457812
But only if veins are showing on your arms.
 
Winks on the other hand, ain't
 
user457812
Winks are a declaration of war.
 
user4203923
8:56 PM
Someone know a little about Reachability ?
 
my co worker kept winking at me...
 
user457812
Don your power armor and take the fight to them.
 
in his culture it is treated as friendly...
 
I'm just trying to learn core bluetooth framework. I think it will be very useful in future and there are many ideas coming up with BLE.
 
user457812
Just tell them to stop being an Abradolf Lincler.
 
8:58 PM
@Tchi everyone here knows a little something about something, just shoot the question, maybe someone will come and answer, maybe not.
 
user457812
The question must be posted on Stack Overflow first.
 
I just know what Reachability does. Haven't worked with it yet.
 
Definitely not as good as main SO
 
user4203923
I saw a lot of topics about Reachability but there are a little old .. So I wonder what is to best way to manage it in iOS 7 ?
 
last I check it was undocumented the way I do it, so nothing on iOS7 that I know of.
 
user4203923
9:01 PM
Do you know some good tuto I can check and not obsolete ?
 
nevermind, they did.
Yea this site has all the tutorials - Google.com
 
user4203923
Why you removed it ? ^^
 
The statement was false.
This statement is false
 
9:21 PM
this statement is true
 
user457812
I just got a recruiting email from a company that I probably wouldn't mind working for. HURRAY.
 
user457812
Also includes relocation. Multiply that HURRAY by two.
 
congrats
 
grats
 
which location?
when is interview?
what is job profile?
 
user457812
9:36 PM
It's a recruiting email, there's no guarantee of anything yet. It's just one from a company I'm glad to get an email from.
 
user457812
As for other details, I'm not saying.
 
which platform?
at least that you can tell
 
user457812
I'd be doing Android stuff, though probably also other platforms given the team they're recruiting for.
 
user457812
Man, my iPhone gets really hot while charging.
 
Anybody able to help with a view in a UINavigationController that has the navigationBar.barTintColor set in viewWillAppear, is animating after it becomes visible?
 
9:41 PM
Yes
I had the same problem
if ((self.isMovingToParentViewController || self.isBeingPresented))
{

}
Put this in viewwill appear and set the tint inside this block
 
user457812
hisses at having the opening brace on the next line
 
user457812
That is not the K&R way!
 
Heh, that's the way I like it.
 
user457812
hisses more for good measure
 
testing your solution...
 
9:50 PM
I can't imagine how that would change it though :/
Whether it animates in viewWillAppear, that is.
 
Unfortunately it does not seem to be going into that block. I am getting No and No for each of them when I NSLog them out.
I also tried self.navigationController, to try to look at its parent, but no dice
 
Why not just subclass UINavigationController
unless the functionality should be present already or something
 
I am about to try it... though This should be present already. the whole point of viewWillAppear is to do things before the view appears.
 
Eh, technically.
 
Even the UIBarButtonItem in that bar updates correctly when i set the normal tintColor... so I really don't know why this is not working.
 
9:57 PM
I've had issues with whether animations in viewWillAppear act correctly.
 
And this appears to by my first T_T
 
Isn't he only setting the tint color?
 
I would rather it take longer to load become visible than be visible and flicker.
 
Do it in viewDidAppear method then.
That should work.
 
I am setting the barTintColor (the background) and the tintColor (the foreground (for barButtonItems)).
 
9:58 PM
It will, but it's not the effect he wants.
 
Yeah, it should be colored before the view comes onscreen, not shortly thereafter.
 
Nick
can you explain the problem again
 
So, I have a main viewController that is embedded in a UINavigationController. This is embedded in a UITabBarController. On another tab, I have another viewController where I can change settings (in this case, the color scheme).
When I go to the settings tab, change the color scheme, and return to that main view controller, the background of that viewController is the correct color, and even a barbuttonitem in the navigation controller is the correct color, but the UINavigationBar is not. It is the old color. In about 0.25 seconds or so, it updates to the new color.
I am trying to keep it from flickering, and just to be the correct color when it becomes visible.
 
Funny
 
I am doing exactly the same thing
 
10:06 PM
@MaxHasADHD had the same problem
 
[[UINavigationBar appearance] setBarTintColor:CAMELANAVIGATIONBARCOLOR];
[[UINavigationBar appearance] setBackgroundColor:CAMELANAVIGATIONBARCOLOR];
[[UINavigationBar appearance] setTintColor:CAMELANAVIGATIONBARCOLOR];
in viewWillAppear
 
when I put the code into my viewWill Appear, it would not enter the if statement. I printed out the values of isMovingToParentViewController and isBeingPresented, and they both showed as "NO"
 
try without if condition
 
user457812
Why no underscores or PascalCase for constants?
 
@ShikhaShah Same Problem... unfortunately.
It's a very frustrating problem. Not entirely sure why it is beign so difficult. I even started digging around in the assembly... but since I can't really read assembly, that wasn't too helpful either.
Is there some way to force a repaint while offscreen? Or to delay the first viewcontroller from showing up while it has time to rerender?
 
10:28 PM
[UIView setNeedsDisplay]...
I would honestly just subclass UINavigationController and be through with it
 
I'm not entirely sure what I would do differently in my subclasses UINavigationController to fix it.
....
[[UINavigationBar appearance] setBarTintColor:nil];
[[UINavigationBar appearance] setBarTintColor:backGround];
 
subclass it's viewWillAppear, and have it update the UINavigationBar.
That is, if I'm fully understanding your problem
 
I think I just solved it.... I set the backgroudn to nil, and RIGHT afterwards, set it again
 
...
wat
 
this makes it act like it just loaded... i guess
 
10:34 PM
what a weird workaround
but it works so ;)
 
yeah
hence why I didn't try it before... because that should NOT work
 
it actually makes sense
 
wow
I am just really surprised that that worked.
I made a sample project that has no color set initially, and when I set the color the first time in the settings screen, and went to the main screen, it would be correct, I would not see white, and then update to the color, it was just the right color.
So I thought... well... maybe if I set it to nil, it will be like it had just loaded... aparantly that is the case.
 
great!!
 
nice problem solving
 
10:40 PM
Heh, if somebody wants credit for it, I had a question up here: stackoverflow.com/questions/23274417/…
I know I can answer it, but you two were definitely helpful, so, if either of you want the credit, I can give it to one, at least.
 
yay..ladies first
 
LOL
 
go ahead matt
 
heh
 
hah
I'm good
busy anyways
brb
 
10:44 PM
Nonetheless, thanks to everyone that helped. This has been bugging me since the weekend.
It even helped the splotchy updating of the background for the nav bar on the settings screen... but the tab bar has a bit of a delay still.. but that's okay, it is fine when it goes to another view.
 
Helloooo happy easter!!!
 
Happy Easter!
 
I need to trigger an event after loading any pageviewcontroller page...
but pageViewController:(UIPageViewController *)pageViewController didFinishAnimating:... only works on the second time a page is shown OR if i only do "gesture" transitions...
 
11:00 PM
I've not used a UIPageViewController.... so I'm probably not much help yet... but I could try testing a bit.
 
back
 
11:22 PM
Given my just learning about this, and using the AppCoda page as a starting project for UIPageViewControllers... I seem to get pageViewController:didFinishAnimating:.... running when I swipe, and when I tap on the page selector dot thing at the bottom...
So that's probably not helpful... but so far I see it being called each time.
 
11:44 PM
Anyone know of any tools/programs to extend the default OSX color picker?
 

« first day (602 days earlier)      last day (1554 days later) »