« first day (202 days earlier)      last day (1954 days later) » 

5:04 PM
I am back
 
with a vengeance?
 
And a passion
 
lol
 
Its too late today
 
ah, I figured out the problem. The fonts were already being copied, but I hadn't registered them in <appname>-Info.plist
 
5:08 PM
i'm having dinner, getting energy
 
thanks for the hint @RichardJ.RossIII
 
ohh
 
one of the few things I am allowed to eat
 
Chacaron macaron anyone?
 
I've finished the app today. I mean I've finished the development phase weeks ago, but today the client of my client has signed it off
I'm celebrating
tomorrow back to hardware development
 
5:11 PM
I had good day today. Worked on JBoss Server on Linux platform.
 
Well, you could have picked a better place to celebrate than with us.
Just saying
 
like what?
I'm going out with mates on Friday
 
I don't know, some place in the real world?
 
when I celebrate with my wife that's none of your business
:)
 
Haha, well enjoy
 
5:12 PM
I'm thinking about doing a course in environmental engineering
renewable energy technology
£25 pw
how about that?
broadening my engineering skills
I always wanted to be an engineer, I never got into architecture although I love it, I can't draw properly
 
Architectural Drawing Subject was very boring to me,
We had to draw an objects top view, side view, etc
 
cause you're not interested in it
 
That was easy
 
I am very much so
 
But from side view, top view we had to draw the object
That was very difficult
 
5:15 PM
nah, it's more than that
 
I scored 42/100 and got the bail
40 was passing
 
they actually wanted to see whole architectural designs freehand
designs, not plans
 
Dunno why they put mechanical subjects for CS students
 
what is your degree called?
 
You did engineering
 
5:16 PM
CS
 
right?
 
Computer Engineering
 
well, then that shouldn't be required
 
ya from your home town
 
id did IT Engineering, which is a bit broader
 
5:17 PM
Yes, I agree. But first year is common to all branches.
First year has mechanical, computers, electronics, etc subjects
 
includes a lot of hardware and even factory process planning
 
And interestingly being a CS student, I passed all those irrelevant subject but failed in C language lol
 
the project I'm working on tomorrow is actually half hardware development
:D
 
Actually
I didn't use to study
 
it's just that my boss ordered the wrong chassis touchscreen and now he has to order another one
 
5:19 PM
I only studied diagrams as they are easy to remember
 
which makes me late
 
And for answers I studied only headings that are usually not more than 5 words long
 
:)
that's not really enough
 
and then based on the headings I used to write anything that comes in my mind
And then I used to repeat the same thing in passive voice
 
my record for an exam was maximum grade in 5 minutes
 
5:20 PM
that made the answer big
 
I mean I was out of the building in 5 minutes
 
and then I explain the diagram in words
Like this is connected to that, output from this is going as input to that, etc
Answer becomes bigger
Just 1-2 days of study for each subject and I get passing marks
I told this trick to my friends, who used to fail even after so much study
 
I was supposed to write the thing on paper, but I told the teacher this is rubbish and I want to be first to have a go at it
 
But they didn't listen
 
it was verbal once you've worked it out on paper
so in 3 minutes I said everything there was to know about the topic, cashed in the score and left
there were a bunch of people on the hallway shitting their pants
they thought I failed instantly cause I got out so quickly
 
5:23 PM
@Matt You've write access. Please read the House Rules.
 
You mugged up concept in one two days
 
whats going on?
 
@Matt Welcome in NSChat
 
no mugging up, Just remember 5-6 headings/sentences for each answer
And diagrams if any
2 days are enough
 
Ohh seminar on how to pass BE exams?
by silly
 
5:24 PM
yes
 
yes
 
@Silly Thank you very much
hello everyone. does anybody here have any previous experience with the Sensible TableView framework?
 
no I always use a rubbish one
 
My aggregate percentile was 59%, just 1% short of first class. And First class is needed for all companies.
 
Silly is giving seminar on BE exams
then how you get entry in cognizant
 
5:25 PM
60% is first class?
60% was pass margin for us
 
Ya 60% is first class. 75% is distinction and 90% is merit
 
pf
 
40% is passing
 
@Silly then how you got entry in cognizant
 
80% was first class and 95% was never seen
ever
that was distinction
 
5:26 PM
So my trick is so awesome. Qualify for all companies by studying only for 2 days per subject
 
what trick you made to get entry in cognizant .
 
@TGMCians That is applicable for freshers
I got into cognizant with some experience
 
okk..Ya I got you.
 
mine is around 55% >_<
 
Actually
I didn't know that trick until
One of my friend in second year
He failed in a subject. Applied for review
he got copy of his answer sheet
many of his answers were just correct
but given 2/10 marks
So I realized examiners are blind
And came up with a plan
And the plan "just works" :D
 
5:32 PM
I think seminar has ended now.
Silly right
 
yes
 
yeah, but I didn't get any opinions on my original question
 
Moral is
 
not gonna repeat it though
 
No need of moral we have understood.
 
5:33 PM
Tell your friends who are students to follow my plan
First tell them to take a leap of faith on one subject.
 
I want to see them at good level with totally open minded.
 
If they score good in it, or at least don't fail, use it gradually
To be safer, apply that trick on 3-4 questions in a subject. Get the photocopy of your answer sheet and see how it was examined
But make sure you pass even after applying that trick on those questions, by correctly answering the other ones
 
App Store search sucks
 
Wife: - I've put a slice of pineapple on top of your chicken in your lunchbox for tomorrow as a surprise.
Me: - How's that a surprise now?
 
lol
 
5:45 PM
I'm in the office tomorrow
see you guys on Friday
 
sea you
 
im going back to my NDK hell so im outta here
laters
 
Good Luck.
 
Bot
anyone have experience with RestKit?
 
Nope, used AFNetworking though.
What's your problem?
 
6:00 PM
My Internet has become very slow
 
Bot
just having a hard time understanding it, half the documentation for RestKit is for an old version of it
I'm needing to post a nested object to a rest service
 
So Silly where you readh in android
*reach
@Silly are you online in gmail
 
Can you see me online in gmail?
 
See your mail
which I sent you earlier.
 
No I can not
 
6:07 PM
ok
 
have you checked
 
6:22 PM
yes
but I don't use gtalk
actually no IM clients
 
ok use can use Gmail inbuild chat in web
 
I'm bored
 
I am also getting bored.
now making fun with fb friends.
 
I quit facebook to face books
 
Any OpenGL ES 2.0 Programmers around?
 
6:33 PM
nil loves openGL
 
user457812
I love OpenGL, OpenGL and OpenGL ES are different things.
 
So no ES 2.0 experience?
 
hey does anyone know if Apple have any API for face recognition? not face detection?
 
user457812
I've worked with it, but it's not really my area considering GLES 2.0 is rather different from GL 3.2 and GL 4.x despite the API being mostly a subset of GL 4.2 and later (I think it was 4.2)
 
user457812
There are a lot of oddly specific limitations, like having only one color attachment or still using gl_FragColor or having a completely outdated shader version and so on.
 
6:38 PM
Maybe you can still help me?
 
user457812
I don't know because you've somehow avoided asking your question in the first place.
 
I have a GTKViewController with two objects, I want to move one of the objects as my finder moves across the screen. How do I set up the moving object correct that I can manipulate it? I tried first changing the matrix, but of course that moves everything on the matrix. Then I tried making a NSObject for that moving object alone, and loading it on its own matrix (i guess) and calling from my viewController changes. but that seems like over kill and is still not working.
Without push and pop, I am driving myself crazy
 
I need to wake up at 5AM. So good night.
 
user457812
GLKViewController?
 
yes GLK*
my finder=finger*
 
user457812
6:43 PM
You set the modelview uniform or whatever it is in your program object, draw the first object with that modelview matrix, set the modelview again for the second object, draw second object.
 
user457812
Bear in mind that I can't do much to help you with GLKit because I do not use it.
 
won't setting the modelview again replace the original model?
 
user457812
No. The original was already drawn.
 
user457812
Or, at the very least, it was queued up to be drawn with the given uniforms and so on.
 
user457812
GL is a state machine, keep that in mind and it's probably easier to wrap your head around.
 
6:48 PM
I am still lost on how to do this. So i need something to do with uniforms?
so i need to be doing these changes in the shader.vsh?
 
user457812
No, you need to be setting the modelview uniform, whatever that may be in your case and however you might do it in your case, since you appear to be using GLKit and I don't know what exactly it does for shaders, if anything.
 
user457812
This would be easier to explain if you were actually using GL APIs and not GLKit
 
I am only using GLK for the update function and the view. I am using OpenGL api for everything else.
 
user457812
Then do you ever call glGetUniformLocation?
 
I have not.
 
user457812
6:56 PM
Does your shader have any uniforms in it?
 
I am not using any shaders.
 
user457812
Then how do you expect to render anything?
 
user457812
OpenGL ES 2.0 requires you to provide a shader.
 
i'll show you one second.
 
user457812
FYI, make sure to put stuff in a pastebin if you plan on pasting code.
 
user457812
6:58 PM
In the meantime, I shall walk down to a vending machine and get a coke because I don't feel like drinking something as benign as water.
 
user457812
Must slowly destroy body. Muuuuuust destroy body.
 
now exactly what I do in the viewDidload and the glkView, I do twice to add a second object.
 
user457812
Well, first thing's first, you are using shaders. That's what GLK*Effects are.
 
user457812
They're basically conveniently packaged shaders that imitate the old fixed-function pipeline.
 
Well, then I am using shaders. Good to know.
 
user457812
7:05 PM
So, the question right now is how are you applying transforms to the drawn objects?
 
user457812
'Cause the way you're supposed to do it, if I'm reading the docs right, is to use the transform property of the effect.
 
user457812
But I don't see anything setting that
 
user457812
Ok, after you set the transform, call prepareToDraw each time, since I'm not sure if actually assigning something to the property sets the uniform immediately or if it's deferred until prepareToDraw is called.
 
user457812
From what I can see, you do have to call prepareToDraw each time you alter the effect properties.
 
user457812
7:08 PM
So, assuming you do that, you should end up with your objects drawing as they're supposed to.
 
the transform works and I am doing prepareToDraw in the glkView. The issue is the transform in this case scales everything, not one object. which i don't understand how to select one object only.
 
user457812
You select one object by drawing only one object's indices/vertices.
 
@Byte Whats the difference between recognition and detection?
 
user457812
@Charan Difference in word meaning?
 
I don't know that was a question from byte
35 mins ago, by Byte
hey does anyone know if Apple have any API for face recognition? not face detection?
 
user457812
7:11 PM
They probably do and they're probably private.
 
Yup, I've look through the camera frameworks, definitely private
I can't recall the name of the class used, though..
 
@nil then that means i can't have two objects on the screen at the same time?
 
I still don't know the difference between recognition and detection, i'm thinking that both are same.
 
user457812
No, you just draw them separately.
 
John, no need to ping people here. I've pinged byte because i've replied him almost after half an hour.
 
7:14 PM
@Charan but pinging is fun!
 
user457812
Face recognition is identifying a face as a specific person's
 
I thought the arrow button on his post ment i was going to quote his comment.
 
user457812
Face detection is just going "HEY, FACE HERE, LOOK, A FACE, I FOUND A FACE"
 
lol
 
user457812
I wonder why "going" works as a speech verb...
 
7:16 PM
and i have replied him because i've worked on it using CIDetector :p
 
user457812
It's not actually a speech verb
 
Ok, i got the difference
Face Recognition: Recognising a face from a group of people.
Face Detection: Detecting eyes etc from a particular face.
I may be wrong.
I'm not sure.
 
I'll never figure out this transform thing.
 
user457812
You probably need to revisit GL basics in that case.
 
user457812
Which tends to happen. A lot. Because GL's a pain in the neck.
 
7:30 PM
all the tutorials are one object...
 
user457812
Rendering multiple things isn't hard. It's just drawing two things.
 
rendering isn't my issue. moving one object and keeping another still is..
 
user457812
How do you draw the first object?
 
you have seen it?
I draw my first and second object the same way.
 
user457812
So you only have one call to glDrawArrays ever?
 
7:34 PM
 
user457812
That doesn't answer the question since I'm not sure if you're duplicating code or just calling glDrawArrays once for both objects.
 
duplicating code.
 
user457812
So you do or do not call glDrawArrays once and only once ever?
 
twice
 
user457812
So why does your paste only include one instance of it?
 
7:39 PM
one for each object.
because my code is more complex then what i gave you but each objects has its own vertexbuffer, vertexArray, etc.
 
user457812
So show me the actual code and not the dumbed down version.
 
user457812
So at what point between your two calls to prepareToDraw do you set the transform for the effect?
 
user457812
And when does 'draw' get called that would allow it to affect state for each individual call to glDrawArrays?
 
user457812
7:49 PM
Do you see what I'm getting at yet? That you're not actually changing the transform at any point when drawing the objects?
 
when the mouse moves.
or finger
 
user457812
No. Bad.
 
user457812
I'd hit you but the internet has a way of limiting that.
 
alright, ha.. I feel the awfulness of this.
 
user457812
See comments: pastebin.com/wGBiLFde
 
7:55 PM
alright, think you gave me a new outlook. I'll take what you have said so far and try something new. Thanks nil.
 
user457812
Also, stop using GLKit. It's clearly going to cause you problems since you don't know how it works.
 
user457812
I wonder when I'll get some Hotline Miami DLC.
 
GLKit says its suppose to make things easier.
 
user457812
It is, but it only makes things easier if you already know how to use OpenGL.
 
user457812
Granted it doesn't really make anything easier. It just makes things complex in different ways.
 
8:02 PM
I'll go back to basics then.
 
user457812
The main benefit to it is the maths code, which is all worth using.
 
user457812
That said, I use my own maths code since GLKit isn't available outside of Apple platforms.
 
hello
I am trying to fetch only a week of dates
for that I am using this predicate
NSPredicate *predicate = [NSPredicate predicateWithFormat:
@"p_date >= %@ or p_date <= %@",dateString,dateString2];
[fetchRequest setPredicate:predicate];
But I got a whole month
found it
or --> and
 
user457812
shrugs and goes back to beating people to death with a pipe in Hotline Miami
 
8:27 PM
nil should i only call glDrawArrays once?
 
user457812
8:39 PM
No.
 
with the modelviewMatrix how do i select the right one to transform?
ie
GLKMatrix4 baseModelViewMatrix = GLKMatrix4MakeTranslation(0.0f, 0.0f, 0.0f);
baseModelViewMatrix = GLKMatrix4Scale(baseModelViewMatrix, _zooming, _zooming, 0.0f);
self.effect.transform.modelviewMatrix = baseModelViewMatrix;
 
user457812
Right one to transform?
 
.-. select one object over another.
 
user457812
You don't.
 
user457812
You set the transform, draw, then set it again when you draw something else.
 
8:45 PM
so there is no such think as two objects, it a matrix with vertices. Even if you place multiple vertices the only way to edit them is to redraw each object with its new placement?
 
user457812
GL has no concept of 'objects' in the sense that you're thinking of.
 
its just redrawing?
 
user457812
It's just drawing.
 
user457812
It draws whatever you tell it to with whatever state is currently set.
 
I think OpenGL is something I should not be working with. I semi understand the theory, but no where near understand what I am even to do.
 
user457812
8:59 PM
I think what you probably need to do is stop thinking about GL as though it's anything other than a dumb pipe for shaders and primitives
 
hmmm I almost figured it out!
I must be missing one little thing
but if i drag my finger, it moves all objects, but if i zoom, it only zooms (pinch zoom) one object. on release i can move the specific object with my finger, but when i let go, everything goes to the place i let go. So i must be near it eh?
 
user457812
Probably.
 
user457812
Keep at it and keep breaking things. That's pretty much the only way to learn.
 
any idea on how to stop a transform after one object gets transformed?
 
user457812
Set the transform again.
 
9:11 PM
and that wont stop the transform that happened before hand?
 
user457812
Again, OpenGL will only draw with current settings. Once you've drawn something, nothing you do will change what was drawn.
 
user457812
Remember: state machine and dumb pipe.
 
dumb pipe is making a fool of me.
 
user457812
Think of it this way: if I draw a triangle to the screen, is it really reasonable that OpenGL is going to go back, wipe out that triangle and somehow recover what was there before it was drawn, and then modify that triangle because I changed a uniform or some state after drawing it?
 
I get your point. I need to program around it now.
 

« first day (202 days earlier)      last day (1954 days later) »