« first day (886 days earlier)      last day (4070 days later) » 

user1357851
3:00 AM
Edit: too explicit for a public chatroom
 
:8364888 Just remember that hookers and clients have a N:N relationship.
And that the total number of matches is N^2.
 
user1357851
@MarkGarcia precisely, thus, data mining and prediction model
 
user1357851
cloud based
 
@MarkGarcia, cloned my MAC adress in the router settings and everything works just fine.
 
Ah. Linotype Gold Edition. Just a dream (8K euros).
@Jueecy SO's back? (Hint: compressed statement)
:)
 
3:07 AM
Killing redcoats with a tomahawk is surprisingly entertaining.
 
ACIII ?
 
@MarkGarcia, I read it was something along the lines of me getting my IP banned from the SO server due to having multiple devices connected simultaneously. Thanks for the support man
 
@Jueecy SO is causing much traffic on them? Wow.
 
@MarkGarcia, I don't know. Seems strange. I only have a computer and a phone I'm browsing SO with.
 
3:10 AM
@ThePhD Because, as you know, as a Québécois, I am automatically full of hatred against the British.
 
@EtiennedeMartel Doesn't the Queen still visit Canada though?
 
@ThePhD Once a year, on July 1st, for Canada Day.
 
@ThePhD lol she doesnt come to Quebec when she does. iirc
 
July 1st is known in Quebec as the Moving Day.
As for the Queen, her visit usually features shaking a few hands and watching a boring concert in crappy weather.
 
> Narrow and curved staircases add to the challenge of moving
 
3:13 AM
LINQ is cool
I'm having more fun already
 
Wow.
Wikipedia, I never knew Moving could be so hard.
Thank you, Wikipedia, for letting me know.
 
@ThePhD Moving a fucking fridge to the third floor, at 30°C?
No time to fuck around.
 
Pay someone to do it
 
@CatPlusPlus Money wasted when you've got your own arms, yo.
If you take enough time, and you can do the whole thing yourself.
 
@CatPlusPlus Then how can I amass the required amount of Whine Credits to be able to whine all year long?
 
3:15 AM
Also I've moved 4 times in past 3 years
@ThePhD Arms wasted when you've got your own money, yo
 
@ScottW You want me to request money from you?
 
@CatPlusPlus Touche. Touche...
 
@CatPlusPlus Yeah, but unlike you, our arms don't look like a bunch of twigs.
 
Also if you don't value your time then I don't know what to say
 
@CatPlusPlus lol
And why does excel keep on alerting me to save when I close an unmodified document?!!
 
3:23 AM
@CatPlusPlus Moving Day is a boon and a headache for commercial moving companies, and people often must reserve their services more than six months in advance in some cases.[4
Seems like a pain even if you do pay that you have to do it in advance, lol.
 
That feels so good.
 
@MarkGarcia So you don't cry that it didn't?
 
@CatPlusPlus Not that. I just double click at a cell and the god-damned Excel considers it as an edit! Holy Microsoft corporate crap!
 
It... is an edit?
 
user1357851
anyone here uses java on eclipse? can someone tell me how to get system.out.print to print out on console instead of logcat?
 
3:29 AM
@CatPlusPlus Sadly, yes.
@Telkitty "logcat". I like that.
 
I don't mean it in a surprised way
If you double click a cell and press Enter, you just committed a change
 
user142019
 
user142019
@ScottW I got this now.
 
user142019
:P
 
I wouldn't bother checking whether the contents changed before setting dirty flag either
 
user1357851
3:44 AM
or maybe reduce the output on logcat to only system.out.print because I don't want output debug messages to error and currently the logcat is flooded with messages
 
user1357851
doh debugging on real devices always freezes the pc/mac regardless it is iphone or Android
 
user1357851
sign dumbass devices!
 
Er don't use System.out.print to debug if you're writing an Android app?
 
user1357851
what should I use then? I need to output debug messages, I guess I could write to a file ...
 
user1357851
but I am lazy and looking for easier ways
 
3:53 AM
If I write a program to help me write a program, does that make me lazy?
 
user1357851
no
 
(It was to make a lookup table lol)
 
Use Log and filter logcat on your tags
Oi .NETters, do you have a good <random> equivalent somewhere
 
user1357851
meaning learning how tags work
 
They're strings it's not rocket science
 
user1357851
3:57 AM
maybe I should be less lazy :p
 
user1357851
now eclipse won't recognize my Android phone :/
 
user1357851
dumbass devices!!!
 
<Starred statement>                                  2★
 
★ 18 Hey, I starred myself
 
Seems like an old trick.
 
user1357851
4:04 AM
@CatPlusPlus so if I do this: System.out.printf("~~~~~~~~~~id is %s, name is %s, phone_number is %s\n", id, name, phone_number);
 
Don't touch System.out
 
user1357851
and I filter by "~~~"
 
user1357851
cool thx
 
Or just use a goddamn debugger
 
user1357851
4:06 AM
have about 200 items to debug
 
user1357851
easier with a logger
 
user1357851
I think I used log filter before ... I guess a short memory means I have to relearn old stuff once in a while
 
My damn head feels like it's going to explode.
 
@DomagojPandža Check the timer.
 
4:27 AM
can char have a value of -1?
typically speaking
 
okay cool
thanks
 
Well, char is just a byte-sized data type, a signed (which is basically implicit) char gives you [-128, 127] range like anything else. Btw. "typically speaking"? :D
 
user1357851
Oh great, my pc is frozen (for debugging on a real device again)
 
Some actually prefer the more generic term byte to show off its size.
typedef unsigned char GLboolean;
typedef signed char GLbyte;
typedef unsigned char GLubyte;
OpenGL spec is one of them.
 
4:48 AM
char's signedness is implementation defined
Also signed byte is stupid
 
@CatPlusPlus Strange, I was pretty sure char was the only type for which signedness was guaranteed.
 
Actually, char has some pretty preferential treatment due to its usage.
 
char is the only type for which signedness is not guaranteed
Other integral types are signed by default
Well, except bool
 
@CatPlusPlus Oh, so it was opposite day in my head.
 
char is crap
 
4:51 AM
But Charmander isn't.
 
Flames are bad, negative. And Charmander is good, positive. Therefore, Charmander is signed.
 
See? Total badass.
 
Yeah I said typically speaking because it's IB
 
wut
 
Greeting<T>, Myst.
 
4:55 AM
Hallo guys
 
Where is gone my profile pic....
 
dat feel
 
Reminded me of this.
 
Fuck's sake, 5 hours left
 
4:58 AM
@CatPlusPlus Until world domination?
 
Yeah, I should really go to sleep.
 
Until classes start and I still haven't finished this shitty thing
 
I cried there
 
We know xkcd exists thanks
1 message moved to bin
 
user1357851
 
5:01 AM
@CatPlusPlus, nervous?
 
user1357851
pardon me, I love to make barbie/princess jokes - the whole barbie/princess concept is very laughable. I am sure deluded people will likely to murder me with stones, but I am glad none of them frequent this lounge
 
@Telkitty His cock is pretty low.
 
Also, made some nice coffee.
 
If that's what the picture is impyling, I mean.
 
Doesn't taste like black shit.
I still can't believe compute shaders are 4.3
 
user1357851
5:04 AM
@EtiennedeMartel probably photoshopped
 
@DomagojPandža It's pretty behind by 2-3 versions compared to D3D.
 
@Telkitty I think the joke simply sucks.
 
user1357851
black humour* - generally not for laugh out loud
 
Oh, I like black humor quite a lot.
 
@MarkGarcia Yeah, it's really discouraging. The best that can be done is combine it with OpenCL, but that's really limited in terms of bending the pipeline.
 
5:05 AM
@EtiennedeMartel I humble at your mastery.
@DomagojPandža GL and CL just isn't that easy to mix.
 
@Telkitty Now, I suggest you spend the next 17 minutes of your life watching this.
 
No, do it again.
 
I'm sharing The External World everywhere I can, because it's a fucking masterpiece.
 
if you want to become an expert programmer, google SOLID, buy GOF, buy POEAA, buy Clean Code, lookup GRASP, DDD, CQRS, DCI … — NullPonyPointer 1 min ago
^^ wut
 
5:10 AM
Everyone who contains Null & Pointer in their name on SO is either a Poop Hoarding Processor fanboy or a retard.
 
NullDomagojPointer
 
@DomagojPandža The guy is probably a brony, so I'd say the latter.
(I'm so good at self-deprecating humor)
 
He's the guy who does a lot of
 
user1357851
@EtiennedeMartel lol only 98% likes, I guess people who are into princess and people who love the internet are two almost mutually exclusive sets ... almost
 
@Mysticial By acquiring and wearing many fetishes and gris-gris, the cargo cult programmer shows his command of the voodoo.
 
5:12 AM
@Telkitty I have not a single clue what you are rambling about.
 
@Rapptz The entire PHP room does that.
 
user1357851
@DomagojPandža what about people who have void & pointer in their names?
 
They even have an API for it.
 
@EtiennedeMartel You're not alone. :D
 
@Mysticial Yeah but he does it hardcore.
 
5:13 AM
@Telkitty They can swallow a ten foot pole for all I care.
Sur ces sages paroles.
I'm going to sleep.
 
bb
 
catoverflow?
 
I figured someone would steal the domain quickly.
 
Wee.
@DomagojPandža I think I need some help, Doma. :c
 
5:22 AM
@ThePhD What's teh problem?
 
I can't get Right-Handed matrices to work with Direct3D at all.
And I'm doing something horribly wrong with my DepthStencil, so nothing draws on the screen at all >_<
 
Right-handed matrices are basically just transposed in relation to the left-handed brethren. But here's the deal, HLSL takes the usual left-handed ones transposed. Therefore, a right-handed matrix can go directly over into a constant buffer as a uniform, without the mandatory transpose.
But they have to make sense within D3D.
Since it is left handed, unlike OGL.
 
I believe these are called "incomplete types". — Mysticial 21 secs ago
^^ anyone want to verify my comment?
 
@Mysticial You're correct.
 
YES!!! I KNOW C!!!
5
 
5:27 AM
@Mysticial tear in eye
 
@Mysticial Congrats.
 
@Rapptz Our little Mysticial is growing up so fast....
 
Next thing you know, he'll be working at Google by June.
 
Oh. We're so proud. He was once this... blah... blah...
 
It doesn't even matter that he's gay! We still love him! Does that make us gay, too?
 
user1357851
5:30 AM
@ThePhD I don't think mystical is growing up faster or slower than anyone else :p
 
:D
 
user1357851
@ScottW obviously I am not comparing a human baby with a kitten either :p
 
@ThePhD Oh, I didn't see the other part, what's with the depth stencil buffer?
 
@DomagojPandža I... uh. I don't know. :c
 
user1357851
@MarkGarcia drop it, you have been knowing each other for what? 2 years? ... 7 months judged by your profile >_<
 
5:32 AM
It's just rendering everything ass-backwards and shit.
Unless I disable the Depth Buffer, nothing draws.
 
@Telkitty Oh, Telkitty... You're denser than a black hole.
 
@Telkitty Less than that if actual time is considered.
 
@ThePhD Seems to me that your projection matrix is on the fritz, more specifically the recording of the depth into the normalized range.
Why are you playing around with right-handed systems anyways?
 
Well, it's what I've been using for a while.
 
Reflections usually yield a reversal, stencil reflections?
 
5:35 AM
The engine has teh capability of switching between the two, but I think in "Greater Abs(z) = Farther Away"
Which is opposite from how D3D thinks, apparently, but...
 
D3D's NDC normalizes down to the range [0, 1]. Why do you even need abs? :D
 
user1357851
 
user1357851
thank you
 
From the view, only the stuff in the frustum is considered, all +z.
 
@DomagojPandža I thought it was [-1, 1] ?
And OpenGL was [0, 2] ?
 
5:37 AM
@ThePhD That's OGL :D
 
Oh.
... FFFFFFFFFFFFFFFFFFFFF I hate my life.
 
OpenGL is [-1, 1], which means it goes from a right-handed view system to a left-handed NDC system because:

-n -> -1
-f -> 1

There's a z-reversal.
 
user1357851
as you can tell, I am in a anti-fairy tale mode
 
D3D is [0, 1]
 
@DomagojPandža I don't think any of us here are gay. I'm certainly not. (not that I care if anybody here is gay or not...)
 
5:39 AM
Yeah, every here likes Catbeef.
 
anyone know if you can copy c++ referances?
 
user1357851
why you want copy references
 
user1357851
you mean you want to make another reference to the same object
 
hmm
 
user1357851
just make another reference pointing to the same object
 
5:42 AM
ok tyvm
yep
 
So, if we take it up after the perspective w divide:

Az + B -> A + B/z = depth(z).

We have the following constraints:
depth(n) = 0 // At the near plane.
depth(f) = 1 // At the far plane

A + B/n = 0
B = - An

A + B/f = 1
A + (-An)/f = 1
A(f-n) = f
A = f / (f-n) from which follows that B = -An = - nf/(f-n)

Therefore depth(z) for a the set constraints is:

depth(z) = f/(f-n) - nf/[(f-n)z]
This is the derivation for a frustum defined by field of views, desired width and height ( therefore aspect ratio ), rather than direct points
in the context of D3D.
OpenGL requires consideration due to the coordinate system reversal from view to NDC and also to pacify the negative z coordinate because it can negate projected x and y coordinates.
On more lighter topics, how's everyone doing today?
I should really bring up a website about rendering, I really enjoy yapping about this shit.
 
You do, albeit I think I'm slightly more lost than I was before.
WHile I understand the math (sort of), it's still not helping me find out why my depth buffer is being utterly retarded. ._.
 
Can you show me your projection matrix?
 
pleaseshootme
 
user1357851
@CatPlusPlus which what?
 
5:54 AM
@CatPlusPlus You'll be fine, just keep at it. You can finish it. ^^
 
@CatPlusPlus You can do it Cat-San~
View and projection
 
user1357851
why is everyone is so nice & sweet today? >_< or do I sound rather grumpy :p
 
I changed the convention to left-handed because I was sick of the following back-to-front problem, which I'll tackle afterwards: dl.dropbox.com/u/17644642/BlarghaFrontToBack!.png
@DomagojPandža Oh, uh. Context: FoV = 45 degrees, nearplane = 0.0f, farplane = 10000.0f
 
That's your total mixup of OGL and D3D. I'll write up the proper left-handed projection matrix on paper and upload it here. Also, you will need to transpose it before sending it off to HLSL.
 
I am transposing it when I send it off to HLSL.
I always do that. Always.
Oh, uh
Matrices are row-major.
If that wasn't obvious. ._.
 

« first day (886 days earlier)      last day (4070 days later) »