« first day (1039 days earlier)      last day (1117 days later) » 

user457812
1:55 AM
@EnricoSusatyo Play Quiplash.
 
2:27 AM
I can play Quiplash
If you wish.
Back from a cookout
 
 
3 hours later…
user457812
Yes and too late.
 
You should also play agar.io
 
user457812
No, you don't need to own the game to play it.
 
How come?
 
user457812
The person who hosts has to own the game. Everyone else just joins it using a browser.
 
5:06 AM
I see
 
 
2 hours later…
user457812
6:37 AM
I am sad to say that Atom is actually a usable text editor now.
 
7:34 AM
hello all
how are u
hope ur fine for all
 
 
4 hours later…
11:56 AM
wake up!
 
 
2 hours later…
1:53 PM
@Owatch there's a typo in Barnard's Star
 
 
2 hours later…
3:38 PM
@mattsven What is it?
 
@Owatch is here
 
Yes
 
4:04 PM
Oh I found it.
Ho ought to be No
 
user457812
4:45 PM
Yay, my new coffee mug shipped.
 
4:57 PM
huh?
which mug is that? Show us
 
 
1 hour later…
6:27 PM
Who loves Core Data and wants to talk for hours about it?:P
Im having fun with some concurrency
And by fun, I mean I didn't look at it and now I got to change a lot around :P
Shouldn't be that hard because I put everything into classes, lots of re-usability so fixing a bug in 1 class will fix it in 100 places in the app
Well... that was unexpected.. Reading a bunch of pages on concurrency and best practices. To fix a concurrency issue I just moved some code out of a block and it seems to be running a bit faster already
 
7:02 PM
Hiya
 
7:12 PM
Destiny, do you know about core data and threads and whatnots
 
Yeah?
 
YES?
 
YES HELLO HI WHAT DO YOU NEED
 
Uhhh.. whats the best way to be handling stuff through different threads
 
Like async/UI thread?
 
7:16 PM
Here is what I am trying to do: When a table view displays, it will use an API to get an image, and has a completion block which returns the image so I can add it
The API first checks the cache, if it is there it will return the image. Its all on the main queue still
then if it is not in the cache, then I check that the core data object has a relationship and path to a image, if so it will then have a background operation to fetch that image from the system and then on the main queue return that image
If it fails to have a relationship to an image, or if the image is not in the system it will move to code that downloads that image, but we won't focus on that right now
 
Give me a couple minutes, i'm doing snuff
 
So I mean, it works fine.. but I turned on extra debugging which stops when I do something wrong, so it has to be done on the correct thread. I have 2 solutions I guess but don't know which is better
It seemed fine and worked when I just made variables pointing to the objects data, like "let title = show.title", and then I can use title in the background block (I cannot access show.title on the background block though)
so that works fine, or I can get a reference to that show object from the background and then I think I can just run normally until I return the image back on the main thread
The second way isn't working for some reason, don't know why because its all in the background
WHOA, I am so confused right now
 
Why's that?
 
My apps memory says 0
 
Oh, I can't help you in swift. I have no idea how to do threading in swift
 
7:27 PM
Must be the extra debugging?
 
No idea
 
oh lol, I still had zombies enabled
App starts off at 37.1mb
 
ok, ready to help?
 
I don't know swift
 
7:33 PM
why not
 
Cuts it's dumb
 
Destiny, if you start learning Swift, you will save so much time you could probably take a month vacation or 2
so much faster
 
7:57 PM
That's only because it's lazy coding
 
It's not lazy, is clearer and faster
 
And safer
@Owatch Ive done it,I didn't get it much still. Im reading lots of documentation and googling now
 
Max you're adopted
 
I've just used NSOperation to handle text and UIImage loading. But threading isn't really straightforward.
 
8:04 PM
dispatch_async(dispatch_get_main_queue(), { });
Moo
 
text loading @Owatch?
 
dispatch_async(coming_for_that_booty, {
gotem();
};
 
I am creating a custom one right now to do image downloading. Probably going overboard but I want to clean up some stuff
 
@Maximilian Yes, making NSAttributedStrings and putting them in UITextView
Loading them from plists
(HTML)
 
8:23 PM
oh. Nice
 
MAX
HOW ARE YOU DOING
 
I'm sure you know more than I do, but you could move all the image loading off into a separate NSOperation subclass, making it easier to manage.
 
Guys, I have a serious question
 
Im going to keep the image manager as a class, because it has a cache and all. But I am moving image downloading (only when it has to get it from the network) into an operation
Owatch, do we have to call something to tell the system that it is finished?
 
8:49 PM
@destinyfaith do you?
 
@Maximilian You can manually cancel
But no, you do not 'finish' or kill threads/
That is not under your control. (And there's no telling when exactly the thread will stop running)
 
Documentation says otherwise
Says you have to do some stuff and tell it to finish. Its kinda confusing I think
 
@Owatch @Maximilian @DestinyFaith are here
 
@Maximilian Can I see the part in question?
 
ya, hang on
Swift issue :/ gotta fix
Ugh, this is annoying
I hate concurrency
Owatch, gah
This makes no sense
 
9:15 PM
Is documentation not enlightening you?
 
Im not on the docs
Its a different issue
I have extra debugging on, if I access something from the wrong queue then it will stop
Right now, I have a GDC background block to initialize and add my custom operation onto a custom background operation queue
and its crashing saying I'm on the wrong thread, I'm using a background thread
 
I don't understand why it would say wrong thread?
When you try to access something on the thread?
 
I may have found it
From example code I was reading earlier, they have a method that creates a new background NSManagedObjectContext
In my class that initializes my core data store and all, I have 1 main queue context and 1 background (or private) context
In the sample code from earlier talking about concurrency, they have a method to create a new private context when they need it.. So I guess I can't even use the background context in the background, since it was made on the main queue? I don't know
Its confusing and strange
 
What did you do for the 4th?
 
It was my grandmas birthday. I had breakfast at her house with my family then went to my cousins friends house to swim and play board games and then watched fireworks
 
9:24 PM
Did you find the type?
*typo
 
Ho vs No?
Think I did.
@Maximilian Nice. I went to my cousins house and also swam+fireworks stuff
 
Nice
Can someone please help with this concurrency:( I don't get what is happening
 
Sure
 
user457812
We now have a bot in my work HipChat that, among the actually useful things it does, has a command to quote me. O_o
 
Here is my operation queue, private let operationQueue = NSOperationQueue()
operationQueue.name = "Image Download Queue"
operationQueue.qualityOfService = NSQualityOfService.Background
so it is background
 
9:30 PM
Ah Swift
go on
 
This is how I create my custom NSOperation, let imageDownloadOperation = ImageDownloadOperation(showObjectID: showManagedObjectID)
 
hmm
ok.
 
In the init method, this is where it crashes saying I am violating the concurrency
context = CoreDataStack.sharedStack.newPrivateContext()
println(NSThread.currentThread())
if let show = context.objectWithID(showObjectID) as? TVBaseShow
the last line, if let
 
So what's the purpose of this NSOperation? what is it supposed to do?
 
I can't use the showObjectID for some reason
It downloads images from online
 
9:31 PM
And does what with them?
 
Saves them into the system
Into the documents folder
 
And associates them with a show, or something? I'm trying to see how Core Data is being used
 
I just tested it without the extra debugging, works as expected
 
And you may want to store it in the cache folder
 
Hold your horses
It does
 
9:33 PM
you said documents folder....
 
So basically, app launches and shows a table view.. text is filled, no background images.. then each cell on screen makes a call to my helper class to get their background image
In that class it does a check, is that image in the cache. the key is the shows title
If so, return image. If not, then check the documents folder for the image. If it is in the documents, it saves it to the cache and returns that image
If not, it then goes to where I am now, downloading the image from the server
Core Data is involved because each show has to know which image is theirs, its not like "gotham.png" its all random, so Core Data stores like image size and the relative path in the system
But, I'm not even there yet for concurrency. Its crashing when I try to get the show on the new thread (so then I can assign and save the relationship later
 
OK, I think I see. Also side note: How do you avoid instances where two different shows might have the same title?
I'm going to show you how my NSOperation subclass is set up
 
In the cache? Well.. I dont
If they have the same name, sucks to be them
 
lol
ok
 
JK, good point. Ill do it with a more unique key that I have
but thats not the current issue:P
We need to fix this concurrency issue
Also, BTW if you want to do this as well to see if your app does it correctly, add this to the scheme, -com.apple.CoreData.ConcurrencyDebug 1
I mean, my app runs fine. but it can be way faster if I fix the concurrency issues
but it doesn't really give much debugging help. Just says you are doing it wrong in X place, so thats why I've been working on this 1 line for an hour and a half now
 
9:41 PM
huh, that's cool
I wasn't aware of that parmeter
 
Yup
Theres a lot of stuff you can try and will help to debug
I am trying something new now. I don't think its possible to initialize the object in the init method I guess
Well.. it kinda worked
Moving the code into main, I can use performBlock now with the context (self is not accessible in init())
But the block was called after a check so it was cancelled, I'm sure that is what performBlockAndWait is for?
 
I see
Nice code
 
aw, shucks
 
Close! It got up to starting the download, but crashed again inside
 
9:45 PM
:(
brb
 
Its pretty obvious why this one crashed though, NSOperationQueue.mainQueue().addOperationWithBlock lol
 
lol
 
crashed again
Crash everywhere!
 
Fatal Error: seriously, man...come on
 
lol
Well... this sucks
 
9:56 PM
?
 
Nothing. Just wish I knew more about this
But ya, the app is all over the place.
1) <NSThread: 0x1740766c0>{number = 1, name = main}
2) <NSThread: 0x1702745c0>{number = 2, name = (null)}
<NSThread: 0x17027bc80>{number = 4, name = (null)}
Goes to a bunch of threads
 
Sounds like you have a thread creation issue...
 
Well, I guess its on the main, but then I add it to the background operation queue, then there is some networking because it has to get the images from online
More like thread switching issues
oh, just got father
Now its actually saving
It worked :O
Ya, threads are crazy
1) <NSThread: 0x17006b100>{number = 1, name = main}
2) <NSThread: 0x170266f80>{number = 2, name = (null)}
3) <NSThread: 0x17426d640>{number = 4, name = (null)}
1) <NSThread: 0x17006b100>{number = 1, name = main}
2) <NSThread: 0x174078dc0>{number = 5, name = (null)}
3) <NSThread: 0x174076f80>{number = 6, name = (null)}
1 is the start of a new class
 
:)
 
Sadly, I'm sure there is a lot more code I need to update now
But I need lunch now:P
Been working on this since 10 am
Thanks @mattsven and @Owatch for helping
And, if you use core data and want extra debugging you can use -com.apple.CoreData.ConcurrencyDebug 1 to make sure you are using thread safety and -com.apple.CoreData.SQLDebug 1 to see the SQL in the logs
 
10:11 PM
thanks, i will
 
10:39 PM
@Maximilian lol, I barely helped at all
But YW
@mattsven I've corrected the typo. But I'm waiting for anything terribly wrong I need to fix crop up before I push the next build.
I want to be done soon, but with the 4th and all everyone's been pretty preoccupied.
I can put out an update tonight unless you find anything major that needs fixing. I know I haven't added an in-scene tutorial, but that would be pretty difficult to do, so I have not gone about making one yet.
 
10:54 PM
gotcha
I don't have any other notes, atm
 
Okay. I will update then.
Last things I will do is update credits, take screenshots then submit for final review.
Unless anyone else has anything to say about it. <_< >_>
 
about the screenshots?
 
You can and probably ought to upload screenshots of your App for the Appstore. It has screenshot sections for all screen sizes. So you need to go through and capture screenshots on the simulator for each device.
I don't do it because things change between builds, and I don't want them to be out of date. I already had to remove old ones.
 
That makes sense.
 
I believe it will take about 8 days for my App to be approved.
(Or rejected I guess)
 
11:05 PM
Bunker down, make sure you have rations.
 
In this time, I will determine the best Twitch streamers to contact, and begin drafting an email to that podcast I want to use.
If you have not seen this, it might be of use: appreviewtimes.com
 
no, I didn't
thanks. you plan on contacting twitch streamers?
 
I heard you get a larger audience
 
for some reason I didn't think twitch streamers would accept promotions, but I guess duh, of course they would
What types of streamers do you plan on targeting?
got the update
 
I'll look at people who stream Kerbal Space Program and other stuff like that.
People that have a decent audience, but not enough to ask for thousands for a mention.
 
11:12 PM
I see
sounds like a solid plan
scribbles
 
-_-
That's weird
There's this line above my #pragma mark statement..
 
redraw issue
 
It is gone now. I guess so.
Damnit, I have to scroll down like 2 pages to find KSP on Twitch's games page..
(Low viewer count)
 
@EnricoSusatyo @Gudiya @DuncanC I have a question for you all, whenever you're online:
 
I started watching Prison Break
Its good
 
11:21 PM
GOSHDARNIT MAX
 
lol
What
 
sigh...
 
He was typing something
':'
To follow up his ping
 
lol
 
By the way Max, you're out of date on my App/
Like seriously out of date.
 
11:23 PM
also he interrupts messages
 
Your iPhone 6 Plus is on 1.0(2)
 
Like. beta 2 out of date
I know where I'm at
 
The latest is 1.0(11).
 
Guys, he's on to me!
 
lol
@EnricoSusatyo @Gudiya @DuncanC:
What model do you think is better, in terms of enticing users/maximizing revenue:

A.) Releasing two versions of an app. One version is free and ad-supported/slightly limited. The other is paid, without ads & full features.
B.) Releasing two version of an app. One version is the paid full version. The other a limited version with the goal of acting as a 'trial' and enticing them to buy the full version.
C.) Just realising a paid version.

I know this is relative, just wanting opinions. I see A as being better than the others because free version users create
also feel free to chime in, @Maximilian
Oh, also, Max, did you bother with NDAs when doing an app beta?
 
11:29 PM
I like apps
 
What app?
 
Angry Birds
 
:O He's one of those
JK, I miss playing games on iOS
 
@Owatch lol, nicely played
 
they are all 💩 now
 
11:31 PM
not at all
well, the majority are.
but you have to dig a bit to find the gems.
 
NDAs? No
 
I usually use toucharcade.com for that
 
I just tell my testers not to tell people
 
LOL
 
But anyways, I do option C. but doing a paid version, then a version with ads + iAp could be good for both
 
11:32 PM
"btw, whoever squeals takes a dirt nap"
@Maximilian huh, i see...
that's good too, didn't think of that
 
Is there a touch arcade for non-game apps?
Oh nice, Max updated.
 
Guys, he's stalking me
 
Max, what do you think about Owatch's question? about the non-game apps thing
nothing comes immediately to mind
 
nope
 
btw, Owatch, toucharcade's forum has a non-game section, they also have a developer section where you can ask questions
 
11:38 PM
Three weeks later, Owatch had still received no downloads from his submission to the Education section. The only contact he had had with any customers came from Muriel's Kindergarten academy, which had asked to use his App for free in return for a handmade card by the students
 
that's a better deal than most indie developers get
 
Do you have trouble using the 6 Plus simulator Matt?
It's larger than my screen
 
even on 50% scale?
 
If I scale down, it begins to look choppy.
Low quality lines, ect.
IDK why.
 
That's always been the case, but I'm not sure if it even matters - you're taking screenshots, right?
Just scale them down in an image editing program
 
11:44 PM
I just use the simulator built in screenshot feature.
I don't need to scale them
 
oh i see
 
When you upload them, they actually have to be the right resolution.
So scaling is a no-no.
 
I don't think your screenshot will look distorted like it does in the simulator.
3
A: Adjusting the XCode iPhone simulator scale and size

DrenYou can set any scale you wish. It`s became actual after 6+ simulator been presented To obtain it follow next easy steps: quit simulator if open open terminal (from spotlight for example) paste next text to terminal and press enter defaults write ~/Library/Preferences/com.apple.iphonesimulat...

 
No, likely not.
It's not a huge deal.
I'm beginning to fear that my App might not be up to standards.
 
Guys I really need a quick answer here
 
11:48 PM
Looking at all this stuff in Touch Arcade
 
?
 
When making assets for the iPhone 6+, there are two resolutions, the down-sampled one that displays on the screen, and the "real" resolution in the software
Like shown there^
 
You're not really making a game, though owatch?
 
So when I make assets for my game, which resolution do I take into account when sizing my sprites?
 
@mattsven No, not really.
 
11:49 PM
The downsampled resolution that displays on the screen or the one before downsampling?
 
I think you would need both, lespommes
but I'm no expert
 
It still all looks cooler. Well some of it.
 
@Owatch just received a test Flight update for your app bro
@Owatch is apple reviewing your stuff on the weekend?
 
Once I pass Beta App review once, I can update instantly without having to go through the process again.
 
my first build passed that
 
11:52 PM
I just need to check the button saying I didn't make any major changes and I haven't touched or modified any encryption/security stuff.
 
how can you avoid reviews again?
 
Then submit for review, and it will clear right away.
 
When you add an update, are you uploading new builds everytime?
cause I never had the option to select that...i think
 
Yes.
I upload a new build to iTunes
 
right, from xcode correct?
 
11:54 PM
Fill out the stuff I want to write in the notes. Then hit submit for review.
 
then go into prereleases
There's no "submit for review" on mine, it just says "save"
 
Like so
Well, you don't see 'submit for review'
 
ohhhhh i get it
 
Since I already did it. But it is there.
 
I was changing my version and build in xcode everytime I submitted
you leave that the same everytime you upload the build, correct?
 
11:57 PM
I just change my build:
I went from 1 to 12 since I began testing. But you can do it however you like.
 
No you can't, if you change the version, then it has to be reviewd again
@Owatch that's what i was doing wrong
i think
 
Oh. I didn't know that.
 
Okay so the iPhone 6+ resolution is 1242 × 2208
But SpriteKit only allows a max atlas size of 2048x2048
Fucking stupid
 

« first day (1039 days earlier)      last day (1117 days later) »