« first day (941 days earlier)      last day (1215 days later) » 

3:07 PM
Oh, your work schedule is normally 9AM - 3:50 AM?
 
@Owatch While you're at it I'm also coding 18/7.
 
You can't be!
 
I'm having trouble here.
 
Some people are expecting me to give a build for App Store submisson tomorrow morning.
 
3:18 PM
Oh my . . .
What is it you are writing?
 
Jesus Christ, last Friday it was 95% done, and then suddenly we decided to work on a new feature on Saturday and Sunday.
We hired extra people, and as I predicted that can't possibly save everything.
 
Uh oh.
I'm having trouble where accessing a property for a class is suddenly causing BAD EXEC crashes
With no exceptions..
 
what class is it?
 
A subclass of NSObject called SKPlanetDescriptor.
It just holds some data, like floats and strings.
One property is an NSString that holds the name of an image.
The crash occurs when [SKSpriteNode alloc]initWithImageNamed:object.descriptor.imageName] is called
I tried modifying the property for the NSString to (nonatomic, retain)
And then doing it for the NSObject subclass too. (As it becomes a property of object).
But nope.
 
3:29 PM
Oddly, right before the line that crashes, I added a UIImage which uses the same name as the Sprite. And the crash did not occur on that line.
 
do you have an exception breakpoint?
 
Wait, I have this. .
CUICatalog: Invalid asset name supplied: (null), or invalid scale factor: 2.000000
 
I dont know what that is
Is it 11:33AM on a beautiful Sunday over there?
I think I can just change AM to PM and vice versa from my timezone to get to your timezone.
 
@EnricoSusatyo It means the property is NULL
The string with the name I need.
Actually, it looks like all information stored inside my custom NSObject class is reading null.
[ SKSpriteNode: property: Descriptor] -- > [SKPlanetDescriptor: property: NSString]
Suddenly that object is gone?
Like it's been garbage collected or something
IDK, why would that occur?
 
I have no idea...
My brain is fried
lol
 
3:39 PM
It's cool..
 
I am chugging red bull just to keep me awake so my hands can move.
 
What happens if this isn't finished in time?
 
It must.
There is no excuse.
 
Better leave NSChat then, as you're losing time talking to me. :/
Unless you're almost done.
 
3:43 PM
Fixed the categories?
 
No.
Don't use them.
 
I switch tabs when I compile :/
 
Excuse the language, but I can't think of what the f**k would stop them from working correctly.
 
I learned my lesson and would buy a laptop that can compile my big ass project in less than 2 minutes.
 
3:45 PM
I redid them several times following tutorials. Nope. Just error after error.
Right now I'm having trouble with a crash that keeps occurring from trying to access an asset.
 
4:06 PM
I'm off for the moment. See you all later.
 
4:18 PM
SEE YOU
 
 
1 hour later…
5:45 PM
hi
i am using cordova for iOS, app is overlapping status bar, I am using status bar plugin to push it down, but it is pushing to down by 40px. that is the double of actual height.... Any hint i can get?
 
6:02 PM
@EnricoSusatyo Still working man?
 
6:12 PM
@Owatch :(((((
Only the final boss left
need to make this fucking constraints work with iPhone 4s and 5.
 
Take a walk if you can.
Will wake you up.
 
It's dark out there.
2:13am.
Pretty sure all these code I'm writing are buggy, I didn't thoroughly test every single thing.
 
I know.
 
what are you up to
 
I got back from a long walk.
I've still got that problem where for some reason these objects get deallocated or recycled so all their properties are NULLED.
So I'm going to redesign it all.
It may not help though. Objects created in a VC shouldn't just disappear. . .
 
6:23 PM
the walk must have been nice
I just want to sleep... then walk
 
It's bright and sunny out.
 
Cows
 
There's still a sizeable amount of snow here. So it all reflects sunlight everywhere, makes it hard to see without squinting.
 
My sister wants to test my TV show app
She said it looks cool
 
damn
I am so sleepy
 
6:28 PM
I was as well
 
It's 2:28am over here.
I need to wake up early tomorrow.
 
I couldn't even walk this morning, but you push through and then you become awake
 
I chugged down more caffeine than I should've.
 
Throw a party
 
please just let this app be submitted tomorrow and all my pain will end
and Apple... please accept it
 
6:29 PM
yes
it seems like jQuery mobile is adding extra height/padding above app header
 
Jesus, I will never ever design without considering iPhone 4 anymore.
I am so sorry iPhone 4 I forget about you until the very end.
 
iPhone 4 FTW.
 
is that your phone?
 
Well yes.
A 4S.
 
My mom's phone.
Do you feel some of the apps are more buggy than before?
 
6:37 PM
In what sense? Frequent crashes, stuttering animations?
 
layout sense
as in, do you feel people lay out their content more to bigger phone's coordinates?
 
What is up with one shot?
 
Not necessarily.
I don't use a whole lot of Apps.
 
Its annoying
 
Banking App, some currency exchangers, ect. Mostly utilities.
If anyone's App feels weird, it's my own.
Why, do you get that sense when using your mom's phone?
I've never owned another phone, so I am a bit biased.
 
6:41 PM
What movie should I watch
 
A Beautiful Mind.
 
I get a sense that auto layout is quite terrible to support many sizes if it's not a scroll view or table view.
^Yes, a beautiful mind.
I have just written a horrible code, God please forgive my sins.
okay
I am done
I am DONE
 
God is bad at auto layout
 
TIME TO SLEEEEEP
 
Goodnight
Well done
 
7:23 PM
Oh wow.
Enceladus, a Moon of Saturn, only has a radius of 262 Km
That's nothing
 
7:47 PM
Haha
I like how entering 0.00005 doesn't do anything in google Sheets
But entering 0.17 puts it in scientific notation.
The problem here is that despite my attempts to make Planetary scales more understandable, the sheer scale to which the sun overshadows all other objects in both mass and size makes them unfeasible to represent onscreen.
Perhaps I'll just use Jupiter as the largest object instead.
Hah, Jupiter doesn't make it much better, it is still incredibly huge compared to all other objects
 
8:19 PM
I am tired
 
I'm exasperated.
Well, more like drained really.
I've got no idea how to load and save data.
And I need to add it.
I think I'll just archive it. The thing is I shouldn't have to do this.
 
Save me
From sleep
 
drink coffee
works for me
 
8:35 PM
Back
 
I'm having more problems Guidya. . .
Suddenly, objects that used to have no problem being accessed are throwing NULL's and EXEC_BAD_ACCESS whenever I try to access them..
 
Looks like they got deallocated/freed from memory but still being accessed via variables.
 
8:50 PM
The objects are custom subclasses of NSObject
These are listed inside an array in the ViewController.
When adding a Sprite to the scene, it has a property for these objects to which one is assigned from the array.
So adding Sprite (Mars) gets NSObject (Mars) from the array assigned to it.
The subclass is nice because it has properties useful to planetary bodies stored in it.
For example, if I want the imageName used with the Sprite, it is stored there under a property called imageName
So sprite.property -> myNSObject -> imageName.
I did not use to have any problems using this.
However, suddenly, for some reason, trying to access imageName throws an EXEC_BAD_ACCESS.
I've tried modifying the properties to retain, or strong. But it doesn't help. :/
 
retain is functionally same as strong. So that might not help.
 
I suppose.
 
What is the property declaration of the imageName?
 
NSString
 
retain/strong?
 
8:56 PM
No
 
then?
 
Didn't think of touching it.
I'll try now.
 
What will you try?
 
I'm trying to use an NSRegularExpression with a non-capture group (?:) and it's capturing the group I put in there. Any suggestions?
 
Changing the property to retain?
 
8:58 PM
What was the original property declaration of imageName?
 
@property (nonatomic) NSString *imageName;
 
Thats the problem
Nothing means it's assign
And assign will not retain the object in memory. If the object goes away, it's a dangling pointer which when accessed crashes the app
 
Another thing I should mention is that all properties of the NSObject subclass are nulled when I try to read them.
 
Change it to @property(nonatomic, copy)
Probably because all of them are @property(nonatomic)
 
Some are readonly
 
9:01 PM
Or Even Change it to @property(nonatomic, strong) will do
 
If someone has a second to check this out: pastebin.com/vbhxHDc2 miffed as to why it would be capturing my non-capture group
 
Well, I did that.
It has not worked. .
 
Show me .h file of your class
 
I've copy pasted it since it is very short
#import <Foundation/Foundation.h>

@interface SKPlanetDescriptor : NSObject

@property (nonatomic) NSString *name;
@property (nonatomic,readonly) NSString *description; // Overriding Default description [!]
@property (nonatomic,readonly) NSString *type;
@property (nonatomic) NSString *imageName;
@property (nonatomic) float mass;
@property (nonatomic) float radius;
@property (nonatomic) float relativeScale;

-(instancetype)initWithName:(NSString *)name Image:(NSString *)image Type:(NSString *)type Mass:(float)mass Radius:(float)radius RelativeScale:(float)relativeScale;
(I changed them all back)
You know what.
I think I may just throw this all out.
 
I asked you to add copy attribute in imageName property declaration
 
9:04 PM
I did, it made no difference. I made the change across all variables.
But, I have a better suggestion.
There are some problems with the way I've setup the entire system for describing planets, ect. I need a lot more features I hadn't anticipated.
I'm going to remove this, create a new one, and if I still have problems with it I'll come back and ask.
 
9:20 PM
hey
 
9:44 PM
Ugh.. I dont understand Apples strategy of selling devices
Just like how 6+ was hard to get first day, Apple stores will have little to no stock of the Apple Watches
Well, I have $100 to the store, so make me wait Apple, but as soon as a bad review comes out, I'm not buying one-_-
 
Owatch please use Gist to paste code snippets
 
Dev2rights getting Watch?
 
10:05 PM
nope
i like mechanical watches
unless i get some work to make an app on onei doubt ill get one at all
Hmm no documentation tool in Swift yet
v upsetting
 
10:34 PM
documentation tool in Swift?
What are you talking about
 
There is no docs tool that is completed
 
Very confused
Like code documentation or what
 
Oh ok
It seems to work for me
Well, from what I notice
I only documented 1 method
 
10:47 PM
OMG
My app still crashes-_- Now I may have to recode the app in Objective-C.. fuck
 
11:05 PM
Good news, morning class is canceled tomorrow.
 
Spring break
 
11:21 PM
What? Swift being worse than Obj-C? (;
Hey @Maximilian
 
11:33 PM
Max isn't here
@DestinyFaith not the language, just the optimizer
 
Oh
I'm gonna go to bed
I don't feel good
 
Just delete the app, in another hour Ill upload the new version. Also it works for me on any of my phones, but limited the features on that one...
 
Will do
Goodnight
 
hey max
need a beta tester?
@M
@Maximilian
O.o
 

« first day (941 days earlier)      last day (1215 days later) »