« first day (604 days earlier)      last day (1552 days later) » 

5:33 AM
Hello all
 
 
1 hour later…
7:00 AM
major bugs i found:/ doesnt really explain this but it kind of says it briefly. I switched Flows tabs to use the device unique identifier now, but it changes when you uninstall the app. why did apple remove the device real UDID!!! I don't get it
now there is no way to track devices... at all
just kidding
good thing i googled before removing. apparently it changes when developing, but when installed from app store identifier is always the same for your app.. very confusing. how am i supposed to test accurately :P lolz
 
 
2 hours later…
9:06 AM
was the last activity really 9 hours ago?
 
user457812
10:01 AM
No, it was 3 hours ago, not counting what you said.
 
3 hours ago? what happened three hours ago?
I've never seen a chat room do that before.
 
user457812
10:48 AM
People you have on ignore said things.
 
oh yeahhhhh....
I only have one person on ignore that I know of.
 
 
1 hour later…
11:52 AM
Hello Mike.
 
Hello Praveen
middle of your day?
sleeping??
 
 
3 hours later…
3:32 PM
Back
 
Michael am i on ignore
GET ME OFFFFFFF
hmmm.. i wonder if iTunes Connect will ever be updated.. ever
 
 
4 hours later…
7:28 PM
Max: he can't hear you. Haha.
 
7:59 PM
googled all day, i see no way to get uiwebview to webarchive that works still
 
Probably won't find one
Just wrap your own solution
Trying to cache a page, right?
 
8:15 PM
i tried but it wouldnt load on mac, plist said wrong format.. i cached the request, to NSData to webarchive
 
so you're trying to generate a .webarchive file for use in safari?
 
well i was just testing, but ya i want a webarchive
 
does it have to be a webarchive, or just a complete cache of the page?
 
i tried NSCachedURLResponse
webarchive
 
8:19 PM
i used to use it
it crashed
a lot
 
haha
analyze it then :P
no dice?
 
i see how it works:P
parsed HTML puts into plist
settings icons for Flow:P
 
9:00 PM
Hmm not bad
@MaxHasADHD lacks uniformity though
Lines on the refresh icon are thicker than the stop icon...
Also Mail, Star and bookmark should be in the iOS 7 outline style too for consistency's sake
 
 
1 hour later…
10:10 PM
This is terrible
I don't even understand how I screwed up my version control this badly
user image
2
I was trying to read a version of a file from 20 commits ago
Because I was having trouble with a problem I solved there
And when I stashed my current changes and then checked out that commit
And then, not realizing that that commit was now the head, I made a commit, thinking to save my many many hours of working changes.
And then I realized that something was weird
And promptly deleted my stashes
And now I'm not sure how to get back to the my working changes
Since they were never committed
-.-
They have been uncommitted for two whole weeks
@all can someone please help me?
I don't want to screw it up more
 
user457812
looks
 
user457812
I have no idea what you did because the process confuses me.
 
Maybe there is a way to recover deleted stashes?
 
user457812
There isn't.
 
Okay
Can I try reexplaining?
 
user457812
10:22 PM
You can try, but I think you hosed everything when you deleted your stashed changes.
 
Crappppp
Okay
so
I had some uncommitted changes to a commit on my local machine
And while I was working, I decided I wanted to go look at a file from a previous commit.
So I stashed my uncommitted changes, and checked out the commit.
 
user457812
Then why didn't you stash, check out the commit, look at whatever it was, check out HEAD, and apply the stash?
 
user457812
Where did you apply the stash?
 
Well that was what I should have done
I forgot I wasn't on HEAD then, so I then proceeded to apply the stashes on the old commit, and then make another commit.
And then realized something was wrong
And deleted the stashes b/c I somehow thought that would make things clearer
facepalm
 
user457812
10:26 PM
I can't think of any situation where deleting a stash makes things clearer.
 
user457812
Considering they live off in their own little area and don't touch anything.
 
I know
I wasn't thinking
-.-
 
user457812
So, if you're still on the commit that you applied the changes to and committed, you could turn that into a branch and attempt to merge it back on top of HEAD (i.e., in the original branch).
 
user457812
Assuming the stash applied correctly.
 
user457812
You may need to rebase instead, though.
 
10:28 PM
But then won't I just get wherever my most recent commit was, and lose the uncommitted changes that I started with?
What exactly does rebase mean?
I don't want to do something that I don't know about and screw everything up
 
user457812
I don't have the mental capacity to explain rebase works beyond it being magic and the term 'rebase' making sense on its own.
 
user457812
Either way, you've currently got a dangling commit and the moment you check out any other branch, you'll lose it.
 
user457812
So I highly recommend you create a branch immediately and then create additional branches any time you plan to attempt to do something.
 
Wait, doesn't my current checkout have to be working to do that?
 
user457812
No.
 
10:30 PM
Because for some reason the stash doesn't seem perfect
 
user457812
Define perfect.
 
My currently loaded thing isn't exactly as it should be
Some files are missing
They aren't important files with many changes, so I could create them without to much work if I need to.
 
user457812
If it wasn't tracked, it wasn't stashed, though you might've accidentally nuked something if you did some variety of reset/stash options.
 
user457812
Either way, you applied a stash on top of something it wasn't intended to be applied to, I don't know why you expect anything to be perfect.
 
Well, there were conflicts
And I resolved them "using theirs"
That's probably why the files are gone
 
user457812
10:32 PM
That was probably a bad idea too.
 
But at least the brunt of my changes are there
Ugh I need a magic guru who can take care of all my versions of code
 
user457812
On the upside, that might mean you can get a more usable diff out of the commit.
 
user457812
Either way, you really need to create a branch so you don't have a dangling commit.
 
user457812
Because, again, the moment you check out any other branch or commit, your changes are lost.
 
What is a dangling commit?
 
user457812
10:33 PM
It's a commit that has no associated branch or tag.
 
Oh
Okay
I will create a branch
 
user457812
Or rather no branch or tag pointing to it.
 
... Very carefully
 
user457812
Just do git checkout -b branchname
 
I will do that
But are you sure that will create a new branch?
That looks like a checkout
 
user457812
10:34 PM
You could read the manpage.
 
okay
Thank you for helping me not ruin my code
:)
 
user457812
It's probably already mostly ruined.
 
And the way to avoid this in the future is to not delete stashes?
 
user457812
This just avoids you further destroying things.
 
user457812
The way to avoid this in the future is to not do weird crap.
 
user457812
10:36 PM
i.e., applying stashed changes to old commits and then committing on top of the old commit
 
Well, most of the code that is currently loaded (checked out?) is what I was working on a few hours ago
man git checkout -b branchname
 
user457812
Just doing git help checkout opens git's command manpages.
 
Oh thanks
Usually I don't use the CLI
 
user457812
Meanwhile, I do, and am convinced as usual that attempting to use git any other way is problematic.
 
user457812
10:42 PM
Because I don't have problems like this.
 
user457812
And people using GUI tools do.
 
The only good reason is b/c you already know the CLI and switching takes too much work
Correlation doesn't imply causation
I think it makes more sense to think that people using GUI are more liable to screw things up because they are the type of people who use GUIs and not CLIs, then CLIs are less problematic to use then GUIs
@LadduHasADHD For a second I thought this meant to define TRUE FALSE as // Happy Debugging
Okay, it's branching successfully
I feel accomplished!
G2G
 
11:36 PM
So, um, stupid question here.
 
user457812
Maybe.
 
Well, actually, kind of solved it
But I'll run it by you anyways.
So, subclassing UIViewController.
in -init I'm doing self.delegate = self.weakSelf, where weakSelf is (nonatomic, weak)
There's no easy way to break that retain cycle, besides doing self.delegate = nil & self.weakSelf = nil, is there?
 
user457812
Delegates aren't retained.
 
user457812
Or rather, they shouldn't be retained.
 
Specifically, I'm setting transitioningDelegate which is defined as @property (nonatomic,assign) id <UIViewControllerTransitioningDelegate> transitioningDelegate
 
user457812
11:47 PM
Which means it's not retained.
 
OK...so I wonder why I'm still seeing a retain. Hmm
Maybe side-effect
 
user457812
I'm also not sure what weakSelf is, so I'm guessing that's either yours or a category or something else, since it's not showing up in my documentation.
 
right, weak self is a property set to self
 
user457812
Why wouldn't you just create a dynamic property that returns self?
 
user457812
There's really no point in allocating storage for that.
 
11:48 PM
explain?
 
user457812
There are two kinds of properties: synthesized and dynamic. Dynamic is just a way of saying you're defining the methods for the property yourself.
 
user457812
Synthesized says to generate methods (if you haven't defined them yourself).
 
user457812
So, doing @dynamic weakSelf says to the compiler that you're the one defining the method, so no code will be generated for it and as a result you're not pointlessly wasting storage on a circular weak reference.
 
user457812
You will need to define the method yourself, of course, and it shouldn't be assignable.
 
I think I understand.
So, with synthesized, the compiler generates the getter and setter for the property, dynamic allows you to define those methods yourself.
That's what I was thinking about doing, but I wasn't sure exactly how to.
So with synthesized properties, the compiler 1.) makes an ivar 2.) generates getter/setters 3.) property, right?
 
user457812
11:54 PM
1 and 2 are correct, I don't know what you mean by "property"
 
user457812
@property (readonly, weak) instancetype weakSelf;
@dynamic weakSelf;
- (instancetype) weakSelf { return self; }
 
user457812
Not sure if instancetype is usable as a property type, but that doesn't really matter.
 
user457812
You might also be able to use a templated function: template <class T> __weak T *weaken(__strong T *o) { return o; }
 
user457812
Never tried that though.
 
well that second one looks like a potential alien transmission
 
user457812
11:58 PM
Upside to a weaken function: just do auto weakSelf = weaken(self);
 
user457812
Downside: I have no idea if this works and whether Obj-C will play nice with templates.
 
user457812
Ideally it should because templates are more or less a way of saying to generate code and the weaken call would probably be inlined, but ARC has a way of screwing multiple pooches simultaneously
 

« first day (604 days earlier)      last day (1552 days later) »