« first day (760 days earlier)      last day (1396 days later) » 
00:00 - 06:0006:00 - 23:00

12:02 AM
Just moved priorities around, it is due to a iOS bug still, iOS sets a width on the keyboard and it thinks the constraints want the views to be bigger than the keyboards width, and so you have to set priorities less than 1000. I forget where but in applications it does something to one of the views as well (scroll views probably?) and you have to set priority to 999 for it to work
 
12:15 AM
I just got a hundred rep for no reason???
O.o
3
A: Why is iOS Simulator not running?

E.A. WilsonYou probably are running two different instances of the iOS Simulator. Clean the project. (CMD+SHIFT+K) Quit Xcode. Quit all instances of iOS Simulator. Restart the computer. Log in. Make sure no instances of iOS Simulator are running (I had a wrong version set to Open At Login) Run your proje...

On this question I got a hundred fifteen rep
by something called an Association Bonus
What is going on?
 
Ethen, I guess you're special.
 
Lol I guess so
Can't complain I guess lol
Now I'm over the 200 landmark which is awesome
@nil This sounds so much like you nil
lol
So Duncan
 
You've got a lot of badges for somebody with only 317 rep.
 
I got into my high school's Chamber Orchestra last week
 
You play the Violin, right?
 
12:18 AM
@DuncanC I've been on SO for like 15 months now
Yeah
And last night we played dinner music for this academic awards ceremony for old fancy people
And it was very fun and very scary
 
My nephew is a very talented cellist. First cello in the McLean (VA) youth orchestra.
 
Oh wow! Cellos are really cool.
How old is he?
 
16?
I think that's right.
 
... Is that a question?
 
Sadly, yes.
He's either 15 or 16.
Oh lordy, he's gonna be driving soon.
In VA you can't get your license until 6 months after you turn 16. Before then you have a learner's permit.
Hardly seems fair.
 
12:21 AM
I auditioned for the DSYO last Sunday and I am waiting to receive a placement email within the next few hours
 
I got my driver's license on my 16th birthday.
 
I don't want to learn how to drive ever
 
DSYO?
 
Duluth Superior Youth Orchestra
 
Really? I couldn't wait.
Cool.
You're confident you're going to get a position?
 
12:22 AM
The only way people will be able to convince me to get into a car is if I have an under-the-table deal going on with the hospital
 
As the driver you mean, or at all
 
The DSYO has three orchestras, each of different skill levels
 
It's a bit hard to live in the US without getting into a car from time to time.
 
As the driver
So many people will end up in the hospital if I start driving, I might as well make some money off of it
 
How old are you again?
Hi Max.
 
12:24 AM
Ugh
 
I'm confident I will be able to get into the lowest orchestra, Sinfonia, at least, but I hope I can get into Concert Orchestra (the middle one)
 
Who works on auto layout at , they need to be fired, NOW
 
Fourteen
Hey Max
 
You have a couple of years yet. There's a big difference between 14 and 16 in terms of maturity and physical development.
 
@Maximilian Have you watched the WWDC video?
 
12:25 AM
If you add a subview with top, bottom, leading, and trailing constraints should you EVER get an error?
 
In WI people start driving at 15
 
Yes, I was at WWDC too. I should have fired them myself right then and there
 
Sure Max. If you also have size constraints and the combination doesn't work that would cause an error.
 
without size constraints Duncan
 
There are lots of ways to cause errors with constraints.
What kind of view? Just a generic UIView?
 
12:27 AM
Well they shouldn't happen if there is just the leading, trailing and top/bottom, ever
and ya
OK, changing my constraints to have 0 for the constant produces no errors now, (as far as i know, doesn't print them every time:/)
but if i change them to reasonable numbers, it gives errors.
I have a UIView, for the test I made the superview have a height of 40 and a width of 30, on each side should be 2.5 spacing, on top and bottom should be 5 spacing
and it has errors, now if the view is a width of 5 then ya that would be kinda strange, but with a width of 30 it should be a width of 20 inside? Why is it giving so many errors:OOOOO
 
Not related to your problem but it's best to avoid placing UI elements on half-pixel positions. It causes blurry looking rendering on non-retina devices
 
Hmmm. Restored the constants for the width, all is good
So it only cares about the top!?!? theres plenty of room there also
 
I've been working in Mac OS for the last month and a half (For a client) after several years doing almost all iOS.
 
I do 2.5 because its the best spacing
 
I'm out of practice with Mac OS.
 
12:31 AM
because 2 keys with side constraints of 2.5 = 5.0 spacing between keys:D
 
Make your view 1 point narrower and use 3 point space on either side instead of 2.5 It looks quite bit better.
 
ugh, I just looked at the constraints,  Strikes again with the error above
to fix getting erros I have to make a constraint variable and set its priority
to 999, because  added a UIView-Encapsulated-Layout-Height
 
So I have a created a model called NNPercentDrivenTransition
based on UIPercentDrivenTransition
And it will be created by a controller object, and once created
 
which is required and does absolutely nothing besides give developers hell:/ why make a required priority constraint, If  is going to keep the encapsulated constraints, required needs to change to 999 or they need to break their rule and make their encapsulated constraints a priority of 1001
 
The controller object gives a @property (nonatomic, copy) CGFloat (^yForX)(CGFloat);
 
user457812
12:35 AM
@E.A.Wilson wat
 
And then the NNPercentDrivenTransition tells the controller what y is (by calculating x) every few seconds
 
user457812
Oh right, pocket watch. It's sort of inheritance.
 
So that it can be used to tell a view to animate
And I have built everything
 
user457812
i.e., it was my grandfather's and my dad doesn't use it and I was looking for a watch that I didn't have to strap to my arm so I could keep the time without carrying my phone with me all the time
 
user457812
Since I have a bad track record with wristwatches. They all die.
 
12:36 AM
@DuncanC How do you mean make my view 1 point narrower?:O Also in auto layout without width constraints wouldn't that be odd spacing?
 
@nil Even if I had use for a pocket watch, I would lose it like every two days
 
so like @"H:|-5-[view]-6-|"
 
So I've built everything except the part that tells the controller what y is
 
I don't use any widths, the 30 was for example because I didn't want to see 1000 errors, so i had to disable all the other views which disables the automatic width spacing. with it enabled I have no idea the widths of buttons
 
Because I don't know how often I should be doing it
Should I do it at a constant rate, like every three milliseconds or something?
 
user457812
12:38 AM
At any rate, I'm in the process of getting everything I need to use a keyboard from 1994 at work
 
Or should I wait to receive a message from something that tells me it's time to have a new frame
Or what
 
user457812
Because I can't find any quieter mechanical keyboards and this one's pretty quiet for a mechanical
 
Keyboards are too old fanshioned
 
So make the spacing 3 on either side instead of 2.5
 
12:38 AM
Use dictation
 
user457812
Also, this one has some interesting key switches
 
3 on either side?!?!:O Uhhh... thats going to be big
 
user457812
 
Thats 2.5f in the screenshot
 
user457812
Very unusual switch. Also patented.
 
12:40 AM
@duncanc here is 3.0
 
It's a storm trooper.
 
user457812
It's actually called a space invader switch
 
user457812
Or, in China, it's the angry bear switch
 
Which looks better Duncan
 
user457812
It's actually kind of interesting from an engineering POV just because it has the same travel as a normal key but it's actually much smaller than other switches from the same period, so the keyboards made with it aren't as tall as, say, a Model M.
 
user457812
12:43 AM
Which is entirely keyboard nerdery because it's an uncommon-ish switch now
 
LOL
 
12:58 AM
lmfao!
In my schoolbook, in one section it calls the iOS home screen the "start screen" which is displayed when the system is launched or when the home button is pressed-_-
then 5 pages later in the dedicated  part it properly calls it the home screen, obviously 2 people wrote this section and did not talk to each other, also one of them obviously is a windows and android user. they suck
 
I would guess Windows haha
Windows actually does have a start screen
 
It doesn't? well then they crapped all over the windows section as well
Windows 8 notes in the book are exactly "Replaced the Start button with the Start screen"
Also my teacher said Mac runs iOS twice before this chapter then he said Mac runs Mac OS, Im so confused, and wondering why nobody else says anything or if its just me hearing all these inconsistencies:P I mean i would rather have him and the book say it runs iOS the entire time instead of them switching it even if its wrong:P
 
I said it does
 
Oh lol, I read "doesn't", ok well then they got that right, but still. iOS doesn't have a start screen:P
Also they completely ignored the lock screen on any system
lets leave these computers unlocked book:P
 
1:29 AM
Can you use KVO to subscribe to a primitive?
 
1
Q: KVO Core Data and primitive accessors

timosdkI am having issues with my custom accessor method for a core data property on an iPhone app. I want to do a little more than just pull out the primitive type and return it. I have an NSSet of possible activityTypes and if there is no primitiveType for the object then I want to look in that set ...

 
 
1 hour later…
2:36 AM
Client is so obnoxious in their use of full-width apostrophes
They insist on having them that way for whatever ridiculous reason...
wtf is this ugly white background on UISegmentedControl
This is an old issue but I have no idea how to get rid of it...
 
2:55 AM
Looks like an Xcode 5 mistake...using the wrong value for "clearColor"
 
good morning everyone
hey guys puzzle for you, how many characters can we encode in uint_16 ?
 
Every character in UCS-2
Actually, what do you mean by that question?
Do you mean strictly using one 16-byte storage unit per character?
 
nope2
 
Then the answer is "infinite"
 
so as long as I know the max value for uint_16 is 65535 right?
 
3:10 AM
Yes
 
so for one uint_16 it will take 2 bytes
in that space how much character can I store?
 
It depends on how many characters you want to be able to represent...
 
for now I can only think 2
OK let's say all the alphabet
26
 
If you want capital letters that will be 52 :p
 
ah yeah
hahahha
ok let's say all lower case
 
3:11 AM
So each character can be represented in 6 bits
Lower case? 5 bits then
16 bytes is 128 bits, so 128 / 5 is 25.6 so you can store 25 characters
 
ok now how to store it? in int form
actually this is my original question ahhaha
 
That is entirely up to you
But it will involve bit shifting
Is there a specific reason you need to do this?
 
yeah
 
Because if you are just doing it for the hell of it I will mock you
 
I need to send data with limited space
so I want to send data via this
that's the only space that I can modify freely in the ibeacon
 
3:16 AM
You're doing beacon stuff, nayoso?
 
Send data to?
 
yeah enrico
 
Me too
 
send data between apps
that's cool man
 
Any apps or just yours?
 
3:18 AM
just mine
because it's on specific UUID
 
Ah I see
 
You can't make a subclass with additional info? Or it won't send it?
 
I thought in your company.
 
ah in my company enrico
nope
 
weird...it seems kinda hacky
 
3:19 AM
Oh I see
 
With an identifier like "major" I would expect it to be a major version number
 
77
Q: What is the iBeacon Bluetooth Profile

ChinaPaulI'd like to create my own iBeacon with some bluetooth low energy dev kits. Apple has yet to release a specification for iBeacons, however a few hardware developers have reverse Engineered the iBeacon from the AirLocate Sample code and started selling iBeacon dev kits. So what is the iBeacon Blu...

oh man it's much text
I will delete
you can see the bluetooth profile there jim
and yeah it's kinda hacky
I want to use major and minor
I already have some idea
like have my own set of character and use it to encode the character to number
and decode it again in the receiver
 
I'd be afraid of that
Do you know how major and minor are used?
I would think that the app would only pair with a beacon with the specified major version
 
yes it's usually used for identifying something
nope usually we use UUID for that
 
But all your beacons should have the same UUID
 
3:26 AM
yeah
that's why we currently not placing a beacon near another beacon
 
Hmmmm, well the docs say it should be OK
Those numbers are not used for versioning it seems
 
yes
I think it can be used for multiple purpose
 
In that case I guess you can be creative, but I don't see what the purpose would be
Oh, I kinda do I guess
You could get a "mini-twitter" message from it :p
 
yes
super mini twitter
hahaha
or yo!
 
If you want to use the exclamation point then you need to add a new character lol
Remember the 25 character limit is based on lower case only (no punctuation)
 
3:30 AM
yeah hahah
 
3:41 AM
I used cocoapods for the first time this past weekend :p
 
LOL borrrden
And what is this with you and the LINE game addiction
I got another message from you last night or something lol.
 
Yeah I think you gave up on it too fast
Try a harder one!
 
No
I played it for 10 minutes.
I didn't like it.
And I suddenly miss playing Skyward Sword actually.
Maybe because yesterday I went hiking with my girlfriend and the cloud was so pretty like the one in Skyward Sword.
 
It says you only played one song
You don't like rhythm games?
 
I did only play 1 song
lol
I'm not a big fan.
 
3:46 AM
Pfffffffff
I love them :D
 
I quite like the Brown and Cony animation in the game though.
 
You can get that on any line game haha
 
awww, that's sooo kute!
 
Btw there's a riot here.
I woke up to this news and I was a bit scared to go to work lol
 
It doesn't say anything about the goal of the protest...
 
3:49 AM
preserving some semblance of democracy
which is certainly nothing the mainland government is enthusiastic about letting happen
 
The Wall Street Journal does a better job than SMH, as always: blogs.wsj.com/chinarealtime/2014/09/28/…
 
Hmmm looks like it's about voting rights
 
But really more about China tightening its grasp
 
Speaking of which, we (me and @nayoso) just got our rights to vote local leaders taken too.
 
3:51 AM
I also have no right to vote in local U.S. elections
Only federal
And of course no right to vote in Japan
 
why do you say that? My sister lives in a different country and if she wants, she could vote in the city & state election where I come from.
 
Well we had the right for 10 years. Now it's taken away.
Yeah I can vote for Indonesian government in Sydney too.
 
Hmmm, perhaps I do then but it's not guaranteed nationally
 
What do you mean by it's not guaranteed nationally?
 
It varies by state legislature
I'm referring to Michael's point
 
3:54 AM
Ah, yeah I see. That's how I understand the US works too.
Current Indonesian president is pretty much the most hated man in Indonesia now.
He was trending on Twitter for 2 days straight lol.
And it's such a dumb thing to do in the last month of his presidency.
 
Why?
If he's leaving anyway...
He might as well do whatever he wants lol
 
He wouldn't come down as a good man in history, I think you wouldn't want that.
> The strong protests against Yudhoyono, who will be leaving office next month, emerged because the country’s sixth president had previously publicly declared that he fully supported the direct-election system through a video uploaded to the party’s Youtube account, named Suara Demokrat.
Oh man should I shout to him on Twitter too?
 
4:10 AM
Oh! deinit is not called in playgrounds
That's a bit startling
 
back
after lunch
yeah it was a very bad decision enrico
but that trending topic is already taken down by twitter
 
Well, there's other hashtags that people are using lol.
 
lol
by the way how about the condition in hong kong right now?
 
4:28 AM
The riot is about 3-4 km away from where I am at the moment, I think.
 
would it be fun to participate?
 
It may be, but I have to work.
 
life would be so much better if everyone just sat down and had a beer.
 
Or this:
 
I don't know if people would appreciate you implying they have fleas and ticks that need to be vacuumed away.
 
4:40 AM
gajitz.com/… Or spend their effort doing something kick ass like this
 
I'm implying that being vacuumed looks pretty comfortable.
 
it is? why? you've had that done to yourself, eh?
 
I haven't.
 
it's okay... you can admit to it. We're all friends here. And hardly anyone knows about this room, unlike... say... the Javascript room.
 
user457812
@EnricoSusatyo I need to do that to the keyboard I found.
 
4:55 AM
Jesus...I gave scripts to the designers to use ages ago and only now are they trying to figure out how to use them...
 
they probably feel like they had more important things to do than figure out the developer's scripts.
 
It's their job to use them
Actually I might be jumping to conclusions. I will give them the benefit of the doubt and assume that something has suddenly started going wrong
 
@nil NIL MY FRIEND
You gave a script to your designer? LOL
 
It's a double click script
 
5:00 AM
They double click it and follow the instructions
 
And then all the stuff they made gets packed into a bundle for the application to consume
Page layouts, images, question data, section study data, workbook data
This app has too many features...
 
My God, I finally remember the cute girl who's sent me a Facebook friend request a few months ago.
This is why you shouldn't put duck faces as your profile photo, it makes me hard to recognise her.
 
I thought you already have a girlfriend enrico
 
you should add a bunch of girls as friends. Your girlfriend shouldn't take you for granted, and they really love it when you add a bunch of new friends at one time.
 
5:13 AM
good advice as always michael
 
just trying to keep the peace!
 
nayoso: Why can't I have other female friends on Facebook? Lol
And Michael, wat.
 
exactly. You should add a couple dozen female friends on Facebook. :-)
 
Nice share jim!
actually I reshared you post about misplaced new line hahah
 
5:28 AM
Hahah
Or the lack of new line...
Like one of the last ones...it was crazy
 
5:39 AM
I WANT AN IPHONE 6
┻━┻ ︵ ლ(ಠ益ಠლ)
 
Why does Xcode keep on complaining that it "could not inspect the application package"?
 
Maybe the application is shy
 
LOL
:P
 
I wonder how long before SUICA is on iPhone 6
 
seriously though…it's driving me nuts
 
5:42 AM
What is SUICA?
 
Suica (スイカ, Suika) is a rechargeable contactless smart card used as a fare card on train lines in Japan. Launched in November 18, 2001, the card is usable currently in the Kantō region, at JR East stations near Sendai and Niigata. The card can also be used interchangeably with JR West's ICOCA card in the Kansai region and San'yō region in Okayama, Hiroshima, and Yamaguchi Prefectures, and also with JR Central's TOICA starting from spring of 2008, JR Kyushu's SUGOCA, Nishitetsu's Nimoca, and Fukuoka City Subway's Hayakaken area in Fukuoka City and its suburb areas, starting from spring of 2010....
 
daviesgeek: did you google it?
4
Q: “could not inspect application package” Xcode

user2014474For some reason I imported some files in xcode (a third party SDK), and even if the app builds successfully I receive this error: Xcode Error Message: “could not inspect application package”. What does it mean? the app doesn't run on a real device but works on a simulator IOS...

AH, Suica, I used Icoca when I was in Japan.
 
You used....what?
 
I thought that now everyone uses Icoca?
 
@EnricoSusatyo Yep. That didn't work
 
5:43 AM
Oh
 
The ICOCA (イコカ, Ikoka) card is a rechargeable contactless smart card used on JR West rail network in Japan. The card was launched on November 1, 2003 for usage on the Urban Network, which encompasses the major cities of Osaka, Kyoto and Kobe (Keihanshin). It is now usable on many other networks. ICOCA stands for IC Operating CArd, but it is also a play on the phrase "Iko ka" (行こか), an informal invitation meaning "Shall we go?" in Kansai dialect. The mascots for the ICOCA program consist of a blue platypus (or duckbill) called Ico the Platypus (カモノハシのイコちゃん, Kamonohashi no Iko-chan) and Icota and...
 
I thought everyone simply uses ca$h
 
That's for Western Japan
 
But when I came they made it work for Tokyo too.
 
It may be a codesigning issue, but it wasn't a problem before
 
5:43 AM
if that volcano keeps exploding, maybe Japan will be split into two islands
 
They enabled that feature literally a few weeks before I came to Japan lol.
 
You can interuse between certain providers
 
and then China will likely claim the west half of it as their long lost territory.
 
There are two in Tokyo. PASMO and SUICA, but you can use both in place of the other lol
 
5:44 AM
I pretty much have no idea davies lol, you have to keep trying what you find in Google.
 
Thanks :)
 
I bought a Haruka-Icoca when I came over there. I think they gave me a Miku design one.
 
I'm usually not this problematic lol
I can usually figure it out for myself
 
OH this is what I got:
I mistaken Hello Kitty for Miku. That is pretty shameful.
 
Hello Kitty is not a cat. I think that's shameful, too.
 
5:46 AM
I never said it was a cat
I think I may just be having konbini food for lunch today.
 
why? too nervous about going too far outside?
 
LOL this convo...
Designer: The script gave an error (attached screen shot of error saying files not found)
Me: Did you put the files in the correct path?
(time passes...)
Designer: It works now
 
HAHAHAHAHAHHA
Happened to me a few times too...
Michael: No, konbini is outside too lol.
I just don't know where to eat.
It's pretty cold in here and I'm just wearing a short and a sandal in the office.
 
00:00 - 06:0006:00 - 23:00

« first day (760 days earlier)      last day (1396 days later) »