« first day (1064 days earlier)      last day (1092 days later) » 
01:00 - 22:0022:00 - 00:00

1:10 AM
Why do my cells keep reloading there data as i scroll up and down? How can I prevent this from happening?
 
1:47 AM
Because they're being reused likely
And thus are going through the "load" as if new again.
 
1:57 AM
Is there any way to stop it?
 
2:10 AM
I need to cause my images are loading super slow
 
2:24 AM
Your optimization efforts are misdirected
 
@Maximilian I have no idea what you're talking about, I haven't programmed for the watch.
morning
 
How can i fix it?
 
Fix your images/image loading method
 
 
2 hours later…
4:33 AM
WAKE UP EVERYONE IT'S A NEW DAY
IT'S A NEW START
 
hi i need help on caching data from url for offline mode pls help
 
IT'S ALIVE WITH THE BEATING OF YOUNG HEARTS
 
user457812
And so Enrico begins his day the same as every other day: by surgically removing the still-beating hearts of innocents.
 
Jesus nil, that's dark.
Btw, how close is Idaho to Utah?
 
user457812
OK, upgraded to El Capitan B2, now to upgrade to B3.
 
4:37 AM
Nevermind, let me Google it myself.
 
user457812
Looking forward to getting my iWatch tomorrow.
 
Wait, Idaho is next to Utah.
My dad's in Utah right now.
 
user457812
If only because it means I no longer have to take my phone out of my pocket while working to change songs.
 
user457812
There are a lot of people in Utah. Insert joke about Mormons here.
 
Funny you say that.
My dad said everyone is that.
My dad's in Salt Lake City.
Sounds like a bad tasting city.
 
user457812
4:44 AM
Utah is basically the Mormon capital of the US.
 
Wait, it took my dad 2 hours from SF to Salt Lake City?
 
user457812
As a result, it's regarded as sort of creepy. Salt Late City is the creepiest of places.
 
Jesus, my US scale is so broken.
 
user457812
Did he drive or fly?
 
user457812
The US is huge.
 
4:44 AM
I thought to go from end to end only takes about 3-4 hours.
He flew.
 
user457812
Most people in Europe live in countries that are the size of one or two of our states.
 
I thought SF - New York is only like 4 hours, so SF - Salt Lake must be an hour or so.
 
user457812
A lot of countries are like a fraction of the western states.
 
user457812
SF to New York is something like 6 to 9 hours depending on how you do it.
 
user457812
By plane.
 
4:46 AM
Jesus, SF - New York is 9 hours?
 
user457812
They're opposite ends of the country.
 
user457812
It's a bit under 3,000 miles, basically. It'd take almost two days of non-stop driving, which would probably get someone killed.
 
How do someone die from driving...
 
user457812
Getting tired and driving 1) off a cliff 2) off the road into the water 3) off the road into a tree 4) into oncoming traffic N) etc.
 
user457812
This happens fairly regularly.
 
4:49 AM
Holy shit.
Ok, just scaled US to Australia.
I think end-to-end, US is like 1.5x of Australia
But most of Australia are barren desserts.
 
user457812
Most of the US is a wasteland.
 
user457812
The middle of the US is fairly sparse being outside of a large city in the middle of the US means you're doomed.
 
user457812
It also usually means you're a farmer.
 
You're talking about Nevada?
 
user457812
No. Middle.
 
Um... I don't get the joke.
You mean Canada?
 
user457812
No. Nevada is not the middle of the US.
 
user457812
Look at the map.
 
user457812
Nevada's part of the western US.
 
Ah ok I misread Nebraska.
 
user457812
4:54 AM
Also just found out that Google Earth has semi-3D models of my old house in California.
 
Show me
You used to live in California?
 
user457812
Can even see the stump from the tree we cut down in the middle of the back yard.
 
SHOW ME
 
user457812
The barn to the south, the pasture to the north, and the pasture to the west were all where I grew up.
 
4:58 AM
Ah, I see.
And your mother's maiden name is?
Lol
 
user457812
If you look at it facing east at an angle, you can also see the 2-3 story pine tree we had that I and my brother spent a lot of time climbing in.
 
user457812
Not actually sure if it's pine or some other special kind.
 
user457812
The trees behind it weren't there originally. We'd only just planted a bunch of them before we moved.
 
And that farm to the right of the house is also your family's?
 
user457812
They've gotten enormous.
 
user457812
5:00 AM
I don't know what right is. You need to use compass directions.
 
Ahem. North.
 
user457812
North is a pasture, not a farm.
 
user457812
The pasture that's between Lopes and Swetzer was ours.
 
Actually it's more like just a big backyard.
 
user457812
That would be the front of the house.
 
5:03 AM
Wait, how long did you live here?
Jesus that is a big area.
 
user457812
Until I was 11.
 
user457812
It looks like they paved the driveway.
 
user457812
If you go north down Swetzer is Penryn Elementary, which is where I went to school until 2nd grade.
 
user457812
Then east down English Colony past the curve and boat repair shop (I don't know if it's still a boat repair but it's got boats still) is the post office.
 
user457812
Most of this stuff is just stuck in my head, really.
 
5:09 AM
My childhood is also stuck in my head.
 
user457812
And found my grandparents' old houses.
 
user457812
Those have changed a lot.
 
user457812
They're pretty easy to recognize 'cause you can see the stuff my grandpa built.
 
user457812
On the other hand, they got turned into these weird upper-class looking places
 
Why did you decide to move to Idaho again?
 
user457812
5:13 AM
My parents moved.
 
Because of work?
 
user457812
My dad retired and my parents didn't want to live in California anymore.
 
I see.
 
user457812
California is a very weird state.
 
Yeah?
It's pretty left-wing I'd say.
 
user457812
5:16 AM
Not really.
 
I'm pretty left-wing myself, but I think I'd still find California weird to me too.
 
user457812
At any rate, it's the only state I feel any sort of attachment to.
 
user457812
That's why it's weird.
 
user457812
California and New York both have the same effect on people, I think, politics aside.
 
Really? Aren't they one of the first states that legalise/decriminalise lots of weird things usually?
 
user457812
5:17 AM
Not really. They tend to legalize things very briefly and then make them illegal again because people can ram through just about anything with enough money.
 
Huh, I thought they've been legalising many "weird" stuff in the past 20 years.
 
user457812
Various same-sex rights laws had been passed to make life better for gay/lesbian people, but they just as quickly got replaced with laws to make things worse, as an example.
 
user457812
It's the only state where you probably have more protections as a worker than normal, but you're simultaneously boned in myriad horrible ways.
 
Why is twerking a thing in this universe.
Twerking is pretty lame.
I can't believe someone is saying "It can't be I am right or you are right": stackoverflow.com/a/31715590/361247
And it's coming from someone with 100k rep...
Are people really that user-blind
 
 
1 hour later…
6:59 AM
hello guys
 
 
3 hours later…
9:32 AM
Hello friends,

I have problem to get all photos from photoLibrary got an error "Connection to assetsd was interrupted or assetsd died " in IPAD
 
 
1 hour later…
11:01 AM
does anyone here know of a good way to calculate the height of an uitableviewcell other than systemLayoutSizeFittingSize. This seems like the only method that gets the correct height for a cell though
I'm showing 100+ items in a uitableview and this method is taking up 60% of 2secs
 
11:15 AM
geez
 
11:39 AM
talking about my question?
 
11:54 AM
yes
but, I haven't played around with auto-sizing AutoLayout cells much
I usually do my calculations manually
for simpler things, that is
 
12:23 PM
we'll I'm thinking about doing that more and more too
autolayout is so crappy. much rather ask the frame what position is has and what it's height is
have some complex views that were slowed down by constraints
manually laying out views is nearly 10x faster with complex views
I'm now using a nib with a dynamic height textview
systemLayoutSizeFittingSize gets the right height
but it's absurdly slow
2 seconds to switch from the menu to the new controller
frame.size.height does not have the correct height
keeps having the nib original height is seems
 
1:08 PM
Pow
 
 
1 hour later…
2:21 PM
is there a good way to update the height of xib files?
updateConstraints seems to do nothing
i use a xib file for a uitableviewcell
 
 
2 hours later…
4:22 PM
I have an custom cell, how can i access an IBoutlet in scrollViewDidScroll?
 
4:50 PM
Hey guys do you have experience with AdMob on iOS?
 
Any help would be appreciated:
1
Q: File upload application returning internal server error from PHP file

DemCodeLinesI am trying to build a simple file uploading iOS app in Swift, but keep getting the following Internal Server Error in the console upon clicking the Upload Image button: ********* response = <NSHTTPURLResponse: 0x7f95284b65c0> { URL: http://website.com/upload.php } { status code: 500, headers { ...

 
@DemCodeLines What does your server log file says?
 
@BrianS I'm on a shared host, so I don't have access to it :(
 
Your server statues code is status code: 500
 
What I am confused about is that directly browsing to /upload.php in a browser doesn't show 500, instead it shows an error message by design. It's only on Xcode console that I see 500 error
So altering the dash on the boundary actually did do the trick...
 
5:01 PM
You good?
@DemCodeLines you will be shocked how many days I try to solve that problem.
 
I want to give up:/ Cant build my project anymore
"The binary is invalid. The encryption info in the LC_ENCRYPTION_INFO load command is either missing or invalid" WTF DOES THIS MEAN
 
@Maximilian don't
be string man
 
I should have just finished the app on iOS 8 and submitted
 
You should practice backup
 
I have one:/ But I added many features
and IDC to go back.
 
5:09 PM
Just go back
but never give up
 
No, thats like a wasted 2 weeks
Ill call technical support and ask WTF is wrong with Xcode
 
Can someone tell me how to use IBOutlet of custom cell in scrollViewDidScroll?
LMAO
What version your using?
 
What beta?
 
4
You can submit iOS 9 betas they say
 
5:12 PM
ugh man, thats actually a good version, super fast
 
not really
 
Are you using IOS 9?
 
More like super stupid
yes
 
lol
its working super fine for me, and i have a really huge project
All my codes are intact and working fine.
did you convert?
 
5:15 PM
Is there a way to track the progress on a progress bar when uploading the image?
 
I ported it myself
 
@DemCodeLines Nope, you kinda have to fake the animation
 
Like I click on the upload button and a progress bar appears, showing the upload progress.
@BrianS Doesn't iMessage have that sort of thing when you send a message?
 
Sorry i though you mean Activity Indicator
Yes, you can let me see if I can find good tutorial for you
@DemCodeLines This is a good start stackoverflow.com/questions/29846049/…
 
Well.. I give up. Wont be releasing this app ever:/
0 answers on the internet
Not allowed to get help from  until iOS 9 is out of beta, by then it doesn't even matter
Is it fine to send Apple a full project?
 
5:36 PM
God damn it ad mob I don't understand this api
 
I got a glitch that sometimes, when I open my interface builder, my views are moved and even though they have the right constraints, I have to replace the frames. Anyone know how to avoir this issue ?
*avoid
 
Wow, Developer forums didn't help, Stackoverflow didn't help.. Twitter helped
Maybe
Im re-archiving, guess you can submit iOS 9 betas but not watchOS 2 betas-_-
Ya, LC_ENCRYPTION_INFO = watchOS 2, How does anyone guess that!?
 
Learned the hard way that NSUrlSession doesn't encode HTTP headers the way HttpClient does.
 
I dunno if it will succeed
It worked:D Its uploading
 
Encountered a 403 error that only occurred on one tester's ipad, and only on the background downloads, none of the other web requests. Turns out it was the apostrophe in his ipad's name, which we send in the HTTP headers.
 
5:46 PM
Xcode makes no sense to me
I copied a random path, put it for Framework Search Paths, and it worked for the issue earlier, it leads to no directory though and its relative to the target its placed in.
made no sense
 
6:18 PM
Hey OWatch
lol
 
Hello
 
Hey guys I have an OOP design problem here
 
Got my project to archive and submit, Apple doesn't support iOS 9 betas still. What a great day :)
 
It's probably pretty simple, but I'm having a brain fart
SpriteKit has sprite node classes called SKSpriteNode
It has an optional variable called 'scene' of type 'SKScene'
I have a subclass of SKSpriteNode
Is there any way to "override" and downcast that scene variable into my own subclass of SKScene?
And if there is, is that bad practice? I feel like I've done something like this a million times.
I have subclasses of SKScene, I need my damn Sprite Nodes to know it's MY subclass of SKScene and not just an SKScene
 
Isn't it easy to downcast?
 
6:24 PM
ya but it's an API variable
 
(SKCustomScene *)self.scene?
 
Right, in a method you could always just cast it every single time and see if it works I guess
 
You want self.scene to always be known as SKCustomScene?
 
But I'd rather they just know all the time so I don't have to do "if let scene = self.scene as? MySKScene { }"
 
oh, I guess iOS 9 betas are only for internal testers.. well shit
 
6:24 PM
Every single time
 
That sucks
 
Oh.
What exactly is the situation?
Why must your sprites reference SKScene?
I never need to.
 
I guess in a way I might be just going down the wrong path lol
I guess they shouldn't be referring to it in the first place
 
7:23 PM
is it possible keep track of a contraint during auto layout ?
For example, if I have a 4 seconds animation, and that I want to know the size for the view at a specific time, let's say for the example 3 seconds. Of course I could calculate that if it's a linear translation, knowing the original time, I could know the width. But I would rather put an observer on it to know it's value. And even better then that, I would like to put an observer on that property. Any way to do that ?
 
8:02 PM
Max is dumb and #stuff
 
AWS + Swift + Good Design = Life
 
No.
Swift
<<<<
 
Yes
Are you familiar with cells?
 
Jail cells? No, but i'm sure @Maximilian can help you with that department.
 
No UItableview cell
 
8:11 PM
Yes, I'm familiar with those
 
@DestinyFaith did @Owatch send you spider, yet?
 
@BrianS You're a horrible person
 
lol
 
HORRIBLE
 
So apparently my cells photo cover each other when user scroll down and then up
:( why?
 
8:12 PM
No help for you now
 
lol
 
NOOOOOOPE.
I EXCEL at cells. Hardy har har.
Ok no way I'm helping you now fuck that
 
Ok, bye
 
They're all @Owatch friend :)
Look how cute that are @DestinyFaith
curling into your bed while sleeping
 
user457812
8:27 PM
Only jumping spiders are acceptable.
 
9:06 PM
I am here.
@BrianS Spiders?
I've not got spiders. But I do have a picture of a cat who's face resembles Destiny's
 
lmao
close
 
IKR
 
Why black people always talk about money in Rap?
Im not being racist
2
Just a question
 
heh!
Because it is a bragging thing.
Who has the most bling.
You live in D.C, why are you asking me?
 
but bling doesn't mean your rich
yeah lol
Im mean Im listening to rap, and all this new shit is all about money and hoes
WTF
 
9:11 PM
It's a social status/competition thing.
A **** measuring contest.
 
RIP 2pac and biggie
is there for if statement?
 
I don't know.
Did you go to university?
 
Nope
y?
 
Are you going to?
 
Nope
I went to college for 1 year
 
9:16 PM
Where did you go to high school?
 
Pre-Med
QO Maryland
 
Okay.
 
Why you asked?
 
I wanted help with a problem I was doing in math. Thought you might have covered it.
Maybe you have, I can still ask.
 
Yep
 
9:20 PM
I am doing integration of improper rational expressions. And you need to do long division on the expression because these problems always have a larger numerator than denominator. But during long division, the example I am using is as follows:
x + 4 | x^2 + 8x + 10
I need to for instance, write that x goes into x^2 'x' times. Because x*x is x^2. But if it has a coeffecient of like 3x^2, must I say it goes in 3x times or just x times?
I feel like It is logical to say x goes into 3x^2 '3x' times. That makes sense to me, but I was just unsure.
 
how to load html with hyper link in a UIWebview
I just cannot figure how to get the links to work
 
@Owatch nope I can't respond
 
ok. Its hard because I can't really write the problem
:(
 
func scrollViewDidScroll(scrollView: UIScrollView) {
        let offsetY = self.tableView.contentOffset.y
        for cell in self.tableView.visibleCells as! [NormalPostTableViewCell] {
            let x = cell.postPhoto.frame.origin.x
            let w = cell.postPhoto.bounds.width
            let h = cell.postPhoto.bounds.height
            let y = ((offsetY - cell.frame.origin.y) / h) * 35
            cell.postPhoto.frame = CGRectMake(x, y, w, h)
        }

    }
I get an error fatal error: NSArray element failed to match the Swift Array Element type
:(
 
On what, for 'cell'?
 
9:27 PM
yep
 
Is self.tableView.visibleCells an array?
 
its a parallax effect as you scroll, but some cell don't have the image
So is thrown that error
 
It looks like a type problem. So the Cell you are pulling is somehow not the right type.
Also, why is there an as!?
 
Yes I want the scrolling effect to only apply to one type of cell
 
I don't know swift, but isn't '!' normally a "not" symbol.
Like A != B
 
9:29 PM
no ! mean unwrap
 
How about
[NormalPostTableViewCell class]
 
you need to cast it before using the class
 
??
 
no that won't work
 
IDK Swift, maybe that is the same thing.
 
9:31 PM
If I remove the second cell type, the code will work
but if I include second cell, the app crash and throw the error
 
So why include the cell type?
Why not put an if statement?
 
cause the app need multiple cell type
Yes
 
if type is 'NormalPostTableViewCell'
Then ... do x
Perhaps you are inadvertently declaring them all as a certain type when they aren't, even though the syntax looks like you're just asking "for cells of type x"
 
Yes I know i have to put it into if statement
but I don't know what to check it against
 
What do you mean?
 
9:34 PM
cause the type can't be used before Initialization
Im using func scrollViewDidScroll(scrollView: UIScrollView) {}
 
Can't you just go: if [cell isKindOfClass...
 
Let me see
Nope
 
Well.
 
As it scroll I need to check the type of cell
By the way how is your stuff coming together? @Owatch
 
For some reason, you seem unable to check the class of the visible cells though.
@BrianS What do you mean, my App?
 
9:44 PM
Yes I don't know how to check
Yes your app
 
Oh I know that i mean did you fix the lang issue?
 
Yes.
It took like a week and a whole new version but yes.
 
Nice
Any sales yet?
 
Also, iOS 9 brings a brand new problem! The method SKAction. Does not work. Just doesn't. No errors, no warnings. It just has no effect. I've posted a ticket on bug report, but it will likely get ignored.
I've sold about 3 units. One I bought myself.
If you want, I have tons of promo codes
 
9:49 PM
so $1.40? you got 998.60 to go
Send it to my email
 
ok, done.
BTW
I am considering making it free.
 
yeah then add adMob from google
 
I think I'd just make it free, with no catches or anything.
Because I feel it's not that great.
In my next App, I will do something more clever.
 
first app?
 
Are you asking if this one is my first ?
 
9:56 PM
Yes
 
It is.
(BRB)
 
Sure
Good start
 
01:00 - 22:0022:00 - 00:00

« first day (1064 days earlier)      last day (1092 days later) »