« first day (762 days earlier)      last day (1394 days later) » 
00:00 - 04:0004:00 - 20:00

4:05 AM
bbc.com/news/world-asia-china-29423147 <-- What we're talking about yesterday, borrrden.
 
Enrico
 
My math works in portrait :O I need to make it work in landscape
 
in landscape i get a cell height of 433.777777
 
4:08 AM
Let me ask you a question.
Do you know the control above Facebook Messenger on iOS?
That switches between Text, Camera, etc?
Is there a GitHub library for that?
 
What control?
 
The one above the keyboard
In Messenger
To switch between text, etc.
 
Oh, how do they switch between keyboard and other stuff?
Its an accessory view probably, then just adds the subview and dismiss keyboard? IDK
 
You don't have the app installed?
 
I dont message people
 
4:17 AM
Ok
How about the one where it's like Tweetbot's cover photo?
When you zoom down, the photo zooms?
 
Hi folks. Is anyone out there?
 
I just found out that the new person's name is 一
 
zoom down?
 
Yes, the number "one" in Japanese
I've never seen that name before lol
 
You mean scroll down? Its called math enrico:P
I have it in Flow, I don't enlarge them though but its not hard
 
4:20 AM
LOL yeah like Tweetbot
 
Ya i have that
 
I don't mean to intrupt your cahat. But since I'm new here perhaps one of you good folks will direct me to the right place. Is there a chat room for general discussions? In general I'm interested in a chat room about moderator actions of this site
 
HOW MAX
 
... I can't tell you
 
What did you use lol
 
4:23 AM
autolayout?
+ math
You use a fake header view
and add a view to the background that you manipulate based off of scrolling
 
You should check the chatrooms for meta stackoverflow then
@user2943324
 
lol, damn.
 
thanks i'll give it a go @borrrden
 
What will you give me in exchange for the code Enrico?:]
Took me awhile to figure it out:O
 
He will let you complain about apple for 37 minutes
 
4:29 AM
I like that
Ok ill give you some hints
Thats the scrolling code
You're welcome for magical numbers
 
I am looking for a generous open source implementation lol
WHAT IS THIS
There's other implementations too actually
 
Thats the code for when you scroll the table view
to resize the header:D
And the open source ones are meh, mines best
Works for every device
Even iPads apparently
 
Says the guy who use magic numbers.
 
Ill be like 
"It just works"
 
One day if I ever met you I'm going to smack you so hard.
 
4:37 AM
It's a good thing you haven't met him yet then
Or you may have been in trouble for battering a minor
 
Im not a minor
Im 18
Soon to be 19
and LMFAO, well it does, Better than Tweetbots which is broken
 
No way
 
> [self.tableView addParallaxWithView:customView andHeight:160];
One line
 
Sounds complicated
 
4:42 AM
I know you aren't now
But for the majority of time that we've known you you were
 
shit you are only 4 year younger than me max
I thought you are still in the high school
 
And yet you are so much more mature, nayoso.
And you are about to propose to your beloved girlfriend.
LOLOLOLOL
 
not yet enrico not yet
LOLOLOL
maybe because I went to the android side
 
:O
Im a freshmen in college
and the youngest in my mobile app class:D and all As in the beginning information science class
I know everything!
 
"I know everything" coming from Max lol
 
4:47 AM
Lol, I didn't study and got 189/200 on the practice test for next week, only missed 3 questions, which i knew i was gunna miss anyways
Only missed them because my book has some of the stupidest stuff in it and thought it would put the stupid answer thats close enough:P
 
In order to get a Computer Science minor I had to take a few other classes my senior year
There was a competition to see who got the most correct answers in class when asked
I won as the only non-CS major :p
 
I have to take like 10 classes just to pass junior college for computer science
Next semester have to take algorithm stuff and whatnot, doesn't sound fun
 
10 classes of what? Or 10 in total?
algorithm stuff is the best :D
systems engineering sucks...it's hard haha
 
Is it?:P
Ill get the list
 
I meant 10 CS classes or 10 total classes in 2 years
10 total classes = absolutely nothing to complain about
10 classes just for CS = normal
Normal workload is between 15 and 20 credits per term if I remember correctly
 
4:51 AM
oh, 10 CS classes
I need like 60 units together
 
Hmmm that seems high but my school was quarterly
So the amount of credits per term might be different
We needed permission to take more than 20, or less than 15
 
algorithm design/Problem Solving, assembly Language Prog. for microcomputers (4) or
eNgR 303 intro to Logic design, introduction to Structured
Programming, object oriented Programming with C++, data Structures, discrete Structures for Computer Science
Those are required
and theres another class but I'm in it now, Intro to computer information science
which is learning about RAM and ROM and such
 
Data Structures was one of my favorite classes
Discrete structures not so much, but then again the professor was kinda weird
He was eastern european and his voice cracked every other word
And now that I think about it the Data Structures teacher was pretty much a neckbeard
But he was an awesome neckbeard
Really smart and chill
 
Is discrete structures hard?
 
Not hard, just not terribly interesting if I recall
But all of this stuff is useful and you would do well to soak up every bit of it
 
4:56 AM
Ill probably take most of them up to the C++, I have to have stupid pre-requisites for after that. I was in the C++ class but said i couldn't be there since i didn't pass the pre-reqs:P
I was like cmon
 
If you ever can't get into a class, talk to your advisor
And the teacher of the course
Nothing is really set in stone
Maybe they will allow you to test out of the prereqs
 
I know, thats how i got into the mobile programming class
Same pre-reqs and got in
 
Oh good for you then
 
So ill probably do that for next semester because since i didn't get into all the beginning classes this semester it will take longer to complete all, so ill just need to ask to get into some while taking the pre-reqs as well
 
But every class you listed, with the possible exception of assembly programming, is something I would consider required study for any serious programmers
Be it through classical education or self study
 
4:58 AM
Id rather self-study although I don't think jobs care if you self-study it, need it on paper:P
 
That depends on the location
In tech valley the opposite is sometimes true
The best thing you can show to a potential employer is code that you've written and cared for
A lot of companies do require degrees though
And actually a 4 year degree is practically required to get a working visa for Japan
But a degree usually can't hurt (1% it can, in some radical companies...but they are not really normal)
 
at least you need to have a degree to have working visa in many countries
 
I imagine so
 
I need foooooood
 
5:06 AM
I need food too
 
I ate very luxury lunch today
at it only cost me 1000 yen
 
Its 10PM
I still need to read and do homework but still working on tab switcher
Got cell sizing working correctly, although have not tested on 4" device for landscape:O This won't be fun
Then need to cache every web page view and scale down to tab view
 
WTF is up with that
Where is windows 9!
 
Screw 9...it ain't nothing but an upside down 6
They are going to beta test it for a whole year? lol
 
5:12 AM
why lolling?
Thats good
Apple needs to do this
iOS 8 is not ready, 8.1 is not ready. iOS 9 won't be ready for the mess that was made
 
It just seems like they should spend more time actually MAKING it
8.1 only came out a few months ago
8.1 update 1 I mean
And now Windows 10 is in beta?
 
I was talking about iOS 8
Apple should test their software a year+
This was too big
 
I know what you were referring to
OMG I know why they skipped 9
It just occurred to me haha
 
why
 
So much badly written software detects Windows 95 Windows 98 by searching for the Windows 9 substring
This will avoid that problem
 
5:17 AM
:O
 
Aha.
 
Also doing this will generate tons of internet buzz
This is what I was thinking of -> thedailywtf.com/Articles/Wheres-Windows.aspx
 
LOL jim
 
Whats the fastest way I should save images for tabs?
Like cache each image every time the page changes?
 
5:41 AM
@borrrden AHAHAHAHAHAHAHA
 
There is a Japanese thread
See if you can work out this pun @nayoso 9はナインだ!
 
there is no 9?
 
Yes but read it out loud
And read the 9 as an English word
 
HAHAHA
 
Is there any downsides of not providing @1x in iPhone app running iOS 7 and above?
 
5:47 AM
Nope
Only iOS 7 pads have @1x images
And iOS 8 pads ><
 
Even on iPads, if I only provide @2x, will it be nicely down scaled?
 
Depends on your definition of "nice"
Artists will probably scream
Actually this is hilarious but...
We have yet to release an app with any retina images at all
We're still using only @1x
And for multiplatform, we used iPad sized images for all
 
Exception up = new Exception();
throw up; // ha, ha...
 
@borrrden WTF REALLY??
LOLOLOLOLOLOLOLOLOLOOL
OMG
 
int getRandomize(int randMax)
{
srand ( time(NULL) );
int randNum; = rand() % randMax + 1;
return 2;
}
LOLOLOLOL
I'm not sure this is trolling or what
 
 
3 hours later…
9:02 AM
hi all
any one worked on mixed panel in ios
pls guide me how to notify mixpanel that some even has occured in my app
so that it wil push notification
 
Your question is too broad and not understandable
Make a stack overflow question and be specific about what your problem is
Also, don't bother if you have not tried anything yet
 
could you pls tell me is possible to notify mixpannel that that some even has occured in my app
@borrrden
 
He answered your question. Make a Stack Overflow question.
 
Communication with bots is hard...
 
9:08 AM
Do you know what he is talking about?
"mixpanel"?
 
I know mixpanel.
 
What is it?
 
It's some analytics thingy.
 
Oh...
 
@EnricoSusatyo pls help me.. if you could give me some hint
 
9:10 AM
[UIButton setImage: forControlState:] <-- I wonder why they never made this resize UIButton itself to fit the image, but in Storyboard it does that.
Rinku: I told you, create an SO question.
 
@EnricoSusatyo sure
 
This should help -> mixpanel.com/help/reference
 
There's only 2 people talking here, and there's hundreds of mixpanel experts in SO.
Stop pinging me
 
But from a cursory reading of the docs, it seems like it is a very basic thing to do
 
I thought so too.
 
9:14 AM
Alright I better start making the binaries for today
All 20 of them ><
 
LOLOLOLOL
Don't you ever automate this process?
 
I do
Jenkins will do it for me
(For the most part)
 
ah, you still have to copy paste etc?
 
I have to put the files onto the FTP server
I should make a Jenkins job for the Win 8 client build
The client build and internal build are slightly different...
Which is more annoying especially when I accidentally upload the wrong one ><
 
LOL
I did that a bit too in my previous job.
It is indeed a bit annoying.
I'm just so stupid. Why isn't setImage resizes my UIButton to the image size
┻━┻ ︵ ლ(ಠ益ಠლ)
 
9:17 AM
Jenkins is being a butthole lately
Well I don't think it's Jenkins' fault though
For some reason the job will randomly fail the the error message "user interaction is not allowed"
This means the the keychain is getting locked and codesign can't sign things but WHY
I set the timeout to an hour...
 
Whattt
That's really annoying
Btw is your company going to be ok if you leave?
What's the usual leaving notice in Japan?
In Australia it's 4 weeks but from what I see hardly anyone follow that closely – many leave with 1 or 2 weeks notice only.
 
I don't know if they will or not
We are having a hiring spurt next month so I think yes
About 7 or 8 more people are getting hired
My contract says 30 days
But I will work with both companies to leave on gracious terms
(Assuming I get hired...every day that passes I get more restless)
 
Sounds fair enough.
I think you should call them.
Or send them an email.
 
What's the standard timeline for doing stuff like that?
It hasn't even been a week yet haha
And it's only been a couple days since the Japanese employee said she was going to poke headquarters
 
lol, I think a few days.
Maybe 2-3 days?
Or at most a week.
 
9:25 AM
I see, in that case I guess it won't hurt
Who do you think I should contact? HR? The guy who interviewed me? The other guy who interviewed / asked for a code review? Hahaha
I suppose they are probably looking into my university and stuff
 
It depends on how many level of bureaucracy there are in the company.
The last 2 jobs I had was like within 24 hours of the interview they will get back to me on call at least.
But that's because they are very small companies.
 
Couchbase is pretty small. Actually the entire mobile team will interview me haha
And the interviewer knew the HR person who was handling my case when I mentioned her first name haha
I think I'll go with the HR person since the interviewer said that he was handing things off to her
 
That sounds like a good plan
I finally found a library which does almost what I want: github.com/HeshamMegid/HMSegmentedControl
 
9:42 AM
Fired off a quick email
Trying not to sound too nosy
 
9:53 AM
lol
 
10:19 AM
@EnricoSusatyo That looks really nice.
 
Yeah
I spent like 2 hours trying to make my own.
Then I spent 1-2 more hours researching and found this one.
Took 20 minutes to implement that.
Could've save lots of time :/
 
2
Q: How to crop an image which is coming inside circle in iOS

sanchitsinghI am working on a project where I need to show an screen same as below Here the image should be cropped which is visible only in the circle. I have tried image masking as below. But it always crop in square. - (UIImage*) maskImage1:(UIImage *) image withMask:(UIImage *) mask { CGImageRef imageR...

 
instead of trying to crop the image to be circular, why don't you just crop it into a square
then put the image in an image view with the corner radius set to half of the height?
saves you messing about trying to crop it
and you can fiddle with the corner radius of the image view to make it circular
that's almost certainly the easiest way to achieve what you want, @sanchitsingh.
 
 
3 hours later…
1:29 PM
o/
 
 
3 hours later…
4:53 PM
Whooo Apple Pay is scaring Paypal.
 
5:43 PM
maybe they were afraid of potential security issues?
 
6:21 PM
Probably. I remember Apple doesn't like Apps that link to other apps specifically for linking other apps.
Who knows though.
 
6:59 PM
hello everyone
 
what's your question today?
 
I actually dont have one right now
lol
dont worry I might soon
 
7:21 PM
YAY!
maybe you could start answering stuff too...
and change your name to "initWithIKnowAllTheAnswers"
 
7:39 PM
wake up @Shade !
 
00:00 - 04:0004:00 - 20:00

« first day (762 days earlier)      last day (1394 days later) »