« first day (785 days earlier)      last day (1371 days later) » 

1:17 PM
spike the water supply ?
what the
its only 2:17
i thought it was way later than that
 
Anybody know why FPS remains at 60.0 but there is guttering with the nodes?
 
I cnat say i have ended up with node guttering
but 60FPS is the expected max frame rate of iOS devices
i never go above this
and hell the human eye wont notice anyway
 
Node guttering?
 
unless its an app for pigeons then you should be concerned
i dont honestly know what node guttering is and when i google it i get loads of roofing companies trying to seel me cheap guttering.
 
You can easily notice difference between framerates, no matter how high you go
 
1:22 PM
Oh rrrrealy
 
Really.
 
can i see your working / Evidence ?
 
But what is strange is that it's only a specific sprite node that gutters! Where as my scrolling background is fine! Yet the fps never changes.
 
As science has taught me something quite different
 
Yeah, I can tell the difference between 30fps and 60fps
 
1:22 PM
thts different
 
What science?
 
The one that is like well Science
 
I can't believe people still pull out this bullshit, even after it's been debunked over and over again
 
you say its debunked
but i see no evidence backing up your claim
anyway
wha do you mean by guttering ?
 
And yet the first answer says people easily see up to 220 fps
 
1:25 PM
you said, and i quote "
You can easily notice difference between framerates, no matter how high you go"
up to denotes that there is a roof to this
and that is a fighter pilot
not the larger demographic
im am happy to be proven wrong though
 
People don't see in framerates
 
But the human brain / optical cortex can only process so much information in a given timeframe
 
And there's a very solid difference between a rendered content and filmed content
The difference namely being the motion blur
When filming things, you can get by with much lower framerates, because you have the advantage of motion blur
 
@CaptainRedmuff i think you have found your topic
sorry for the ping
Well i will have to ask the video edting / colouring company next door about that
anyway
back to working
 
When rendering discrete images, which is how computer graphics work, you'll notice easily the difference between 60 and 120 fps, providing you have no major visual impairments
 
1:30 PM
id love to know what you mean by guttering johnspicer
 
The best way to check it yourself is to find a 120Hz monitor and compare the it to a 60Hz
 
@Dev2rights You can ping me anytime, Jim ;]
 
I have been doing computer graphics for quite a while now and whilst i agree that 120hz is noticably different to a 60hz refresh rate but back to the original point on iOS rendering which the upper cap is 60FPS anymore you squeeze out of it is going to barely be noticeable
Crap now i have totally forgot what it was i was tweaking
 
Whats the topic?
framerates?
 
You won't see the difference at all because the refresh rate caps the fps totalled. That doesn't mean if an iDevice could dish out more than 60fps that you wouldn't see the difference
 
1:33 PM
I don't think i'd understand enough to give a talk on that :P
 
not if its 61fps
 
It has, urm, a latency – I don't know what else to call it. But when you see it, it stutters for a very very very short time, but it's distracting for the user to see – as it is noticeable.
@Dev2rights
 
if you can see that then you can also hopefully fly a fighter jet
Screenshot ?
 
screenshot of me flying a fighter jet?
 
Is the object static or moving?
 
1:34 PM
/me opens photoshop
 
haha yes thats how you need to open every tech talk
 
Fighters were tested to see how reliably they can identify an object shown for an extremely short duration of time
in which case, an object shown for a 1/220 s in an image was identified
 
@Dev2rights The Sprite Node is affected by gravity, and it is spawned at the top of the screen, where it falls down where the user is intended to catch the sprite nodes.
 
they would see something shown even at a lower time, but couldn't identify it
 
@Dev2rights done.
 
1:35 PM
yes there is no way i would see that
 
First slide is going to be a badly photo shopped picture of me in a fighter jet
 
though many years of sitting for many hours infornt of a computer are to blame there
i want to see that image
hahah
 
that study never tried to see how short a flash needs to be for the human eye to be unable to percieve it, which is the theoretical limit for fps percieved by the human eye
 
then a quote next to it saying, "Use the force, Harry." - Pickard
 
stuck in 3 conversations at once
a flash ?
 
1:37 PM
if you're going to use science, it's usually a good start to understand how science works, and in this case, how the experiment was laid out and what was tested for
 
Wow
haha
 
yeah, the flash, you'd be flashed an image for an extremely short duration on the screen, and asked to identify what was on the image
 
@Adis less than 10m/s
?
I've seen Fight Club.
Related:
 
lol
 
hahha
 
1:39 PM
I cant say i have seen the exact experiment and thanks for bringing it to my attention, however your original statement was.... adn i quote for the second time .... "
You can easily notice difference between framerates, no matter how high you go"
which means there is no upper cap
which if we can agree that there is an upper cap then were all good
Or your hair is equally a bird then i will yield
Crikey NSChat just went off :p
 
Yep, you can still notice the difference, and there will be a visible difference between 500 and 1000 fps, just not as strong as between 30 and 60 fps
 
can i see the paper that proves this ?
 
no, because it's not true.
 
im trying to find the thing about pidgeons seeing at 200fps but i cant find it
it was conducted at eitehr my old uni or my mates
 
some fighter pilots have been recorded as being able to discern between 1/250 fps
 
1:46 PM
And if you scroll just a bit to the bottom: Seeing framewise is simply not the way how the eye\brain system works.
 
I'm still going to accept that, Adis has failed to provide me with enough evidence to change my deeply held beliefs though i am still open to being wrong as all good scientists should.
ive got nothing done in the last 20 mins hahah
 
i still want to see that jet fighter image haha
johnspicer so the node is falling then and the edges look jagged i presume ?
 
The entire sprite kinda jitters
 
2d ? and how are you calculating the physics ?
as it sounds like the actual sprite's pixel position isn't calculated correctly as its falling
try debugging out a drawn line to show the path taken from the falling sprite and you should see where the path was and if it was smooth
 
1:57 PM
@Dev2rights We have top men working on it.
Top. Men.
 
HAHAHAAH
awesome
 
That's like two jokes in one.
I'm going to quit whilst i'm ahead.
 
i was trying to think of a topgun quote then and fell blank so doing the same
 
@Dev2rights Yeah it is 2D
But what can you do in this case if it is calculating incorrectly!
 
it cant be , the thing im working on now has some very harsh Bezier Curves and traversing those paths are beautifuly smooth
gravity is just a constant force anyway so there isnt a lot you can get wrong with it i agree
but sanity checking and all that
 
2:04 PM
haha ok
 
and Adis left
well that was odd
 
perhaps he just wanted to vent
 
after watching that EXPLITIF frame from Fight Club
anyway moving on
or
Now for something completley different
 
2:21 PM
haha ;]
I'm tempted to do a meta talk
a talk about creating talks
not sure i'd have enough content for that though
and it's not very techy
other than that, i'm edging towards unit testing
 
hahaha
 
the benefits of unit testing, not the implementation details.
 
that is meta
how long do you have to talk for ?
 
10mins
or less than
our designer is working on the fighter jet image
but won't get that until next week :[
he has real work to do
pft
 
Wel talk slowly
thats what i always did
being nervous and talkign fast means content runs out fast
i did one of the Uni presentations massively hungover / still drunk and i thought it was the next week and had done none of the work
smashed it and got top marks
stood at the front with my "notes" which was a blank piece of paper apart from the words "I have done no work" written at the top.
 
2:36 PM
I won't be nervous as they're all my colleagues
and I can talk for england ;]
 
win win then
 
I just need a topic
@Dev2rights hahaha
 
HAd i been caught i would have not passed
however i came out with top marks
ahh i miss Uni days
minus the last year examinations
 
I don't miss uni at all
It will be our 10year reunion in a year
Will probably pass.
This is one of the strangest NSLog's i've seen in a while
Can't find keyplane that supports type 8 for keyboard iPhone-PortraitTruffle-DecimalPad;
Truffle? 0.o
 
Hahaha
cant say i have used truffles in anything programming related
 
3:08 PM
Back
 
3:21 PM
I've decided to go with a non technical talk on unit testing
littered with photoshopped pictures of me
 
top work
 
3:40 PM
19 slides already
only 1 of those is a placeholder for some photoshopped goodness
 
not enough i say
:p
 
4:03 PM
Right!
Time for the weekend!
laters, folks!
have fun :]
 
4:48 PM
I created a tableViewCell in a nib file and added a scrollView to it. Im not able to move the scroll view within the tableViewCell
Its width is larger than the tableViewCell's content view. Im wondering if there are any lines of code that I have to write to get the scrollview to begin to move
 
 
2 hours later…
7:12 PM
any one have answer this question let me know
1
Q: Warning in IOS when keyboard appear

darkI have just put textfield in my controller class and select keyboard type to number pad from interface builder. I have seen this warning in console when keyboard appears. Can't find keyplane that supports type 5 for keyboard iPhone-Portrait-PhonePad; using 2870935746_Portrait_iPhone-Complex-Pa...

 
7:25 PM
@enricosusatyo IVE BEEN HIT WITH AN IMPOSSIBLE BUG
god dammit I'm done with auto layout. its terrible! How does anyone get anything done with this!
without auto layout its 1 line, i tell it where to go and it goes!
Autolayout i got like 30 lines, and it just crashes because it can't find a head!?!?!?!! what does that even mean!!!!
its literally the easiest thing in the world and it can't do it
But if i copy and put the EXACT code on keyboard load, hey it works! :/
So i need 2 keyboards it looks like for 2 different sides because iOS can't handle removing constraints and then adding them back
Why have a powerful device if it can't do that
@"H:|[view1(320)][view2]|" <- Too powerful for iOS.
"Cannot find an outgoing row head for incoming head UIInputView:0x15c607590.Width{id: 7}, which should never happen.'"
 
Hi room.
Hi Noel, Max.
 
The only thing that takes longer to arrive than a fucking Android update is Friday.
Hey, Duncan.
 
7:41 PM
Now it works fine with only 2 lines of code.. Goodbye Autolayout, you suck
Ok well.. That is my rant of the day..
If you are working on a keyboard, DO NOT use auto layout on the views connecting to the self.view UNLESS you have 1 view only
Multiple views as subview of self.view = head crash and headaches
 
user457812
Doop doop de doop.
 
anyone around that feels like answering what is probably dumb and reinventing-the-wheel type question?
 
user457812
Asking to ask is bad form.
 
i'm writing some values to an NSData object directly. How do I handle them in such a way that I can write them to disk? I have verified that the NSData object that I am creating has the appropriate number of bytes, but when I try to use it later it is only a pointer to the NSData and does not have the bytes that I am writing into it here:
-(NSData *) customEncode {
    int type = _type;
    int damageLevel = _damageLevel;
    int chunkSize = _chunkSize;
    int posX = _position.x;
    int posY = _position.y;
    int chunkPosX = _chunkPosition.x;
    int chunkPosY = _chunkPosition.y;
    int theBytes[] = {type, damageLevel, chunkSize, posX, posY, chunkPosX, chunkPosY};

    return [NSData dataWithBytes:&theBytes length:sizeof(theBytes)];
}
 
user457812
Ask on SO.
 
7:55 PM
I did, and I got an acceptable answer, but it does not directly explain how to get the real values from an NSData pointer.
0
Q: Custom Encoding with NSData, initializes but crashes

bazolaI've spent some serious time debugging this problem and I am stumped. I'm trying to pack custom objects tightly into NSData to save space when they are saved to disk. I have implemented custom encoding and decoding methods for these custom objects. When I pack and unpack the objects, everyth...

 
user457812
8:13 PM
Get real values?
 
i want to read the integer values that I have saved in the NSData back out, but when I try to access it later it is a pointer to the NSData and it has been automatically deallocated by ARC. it saves it as 28 bytes when I write it to the NSData, but then when I try to access that it is a 4 byte pointer
 
I am having an interesting problem in xcode 6
actually, its 6.1
 
user457812
How are you accessing the memory held by the NSData instance?
 
this method calls the original method that I posted above, and adds a bunch of those NSDatas to an array (to try to save them)
 
If I control+drag from a UIBarButton to the exit icon at the top, the exit icon blinks several times, but nothing happens in the simulator when the UIBarButton is pressed.
 
user457812
8:16 PM
What exactly do you think NSData is other than essentially a smart pointer to read-only data?
 
-(NSData *) customEncode {
    NSMutableData *data = [[NSMutableData alloc]init];

    NSData* blocks[_blocks.allValues.count];

    int count = 0;
    for (DWBlock *block in _blocks.allValues) {
        blocks[count] = [block customEncode];
        count++;
    }
    NSLog(@"blocksSize = %lu", sizeof(blocks));
    [data appendBytes:&blocks length:sizeof(blocks)];

    return data;
}
 
Any ideas?
 
@nil I do understand that. It seems like what I want is something like &data, but that doesn't seem to work? or maybe [data bytes] would get the raw data?
 
8:52 PM
Hello...
Currently I'm trying to get the full value of the keyboard height from the keyboard frame.size.height but when the user enables Predictive text. I dont get full size value any Idea hoy to get the keyboard height with this new feature?
 
user457812
@bazola I don't have my docsets on hand right now, but probably [data bytes]. Whichever one returns the raw pointer to the data.
 
@nil thank you i appreciate the help
 

« first day (785 days earlier)      last day (1371 days later) »