« first day (1357 days earlier)      last day (3594 days later) » 

7:00 PM
ain't gonna win no web designer of the year awards, but I made a thing where you can post Wide requests to coliru.
 
user3010322
@ParkYoung-Bae It's not supposed to be, I don't think.. but I thin I found my problem.
 
user3010322
The CROSS in that wiki...
 
user3010322
... It's "backwards", I guess.
 
wrong handedness?
 
user3010322
When I switched the parameter order of both my crosses, the tests started passing (I updated fuckme.c++ to reflect)
 
user3010322
7:01 PM
@Puppy I guess, but I thought if you used consistent order it didn't matter?
 
wrong handedness.
@ThePhD You're right that you only have to use the same handedness everywhere. But it's not as simple as the order of parameters to functions. You have to check what handedness a function is made for.
 
user3010322
Well, fuck me.
 
user3010322
I'll write a cross LH and a crossRH then and then use the defines I already have to pick.
 
user3010322
FWIW the handedness of the system is Left Handed (+Z is forward)
 
it just so happens that for cross, I believe, LH cross(x, y) = RH cross(y, x) = -LH cross(x, y).
it's poor code on the part of the wikipedia author that they didn't mention which handedness they were using.
 
user3010322
7:03 PM
... Wat.
 
user3010322
Oh, that last one should be -LH cross(y, x) I think?
 
erm, not sure.
but the point is, it's just a mathematical accident of cross, not some kind of meta duality.
 
user3010322
OH WELL DOESN'T MATTER HAD INTER COURSE SECTION.
 
user3010322
<3
 
7:05 PM
you're making me about as hard as those little pricks in Magaluf
 
how bad are you writing cross product where this matters?
 
user3010322
Hey, hey!
 
user3010322
This wasn't a problem with my cross product, per se
 
why don't you have a consistent coordinate system?
 
user3010322
It was a problem with EVERYONE ELSE using a RH coordinate system
 
7:06 PM
haha
 
user3010322
With -Z is forward. When I'm using LH.
 
Dude..
Where did you learn math where -Z wasn't forward?
 
user3010322
In regular land, where positive usually forward.
 
Ell
7:07 PM
which way is forward? :P coming the way the light emanates from a monitor?
 
Show pictures.
You're confusing me now :v
 
user3010322
How is it confusing?
 
Is this what you mean?
 
user3010322
Behind me is negative. In front of me is positive.
 
user3010322
Yeah.
 
user3010322
7:08 PM
Right is +X, up is +Y, forward is +Z
 
no....
look at the axes.
JUST LOOK AT THEM
 
Oh then yeah. That's how I also learned it in Linear Algebra.
But I learned the way I posted in Calculus 3.
 
user3010322
Well, Calculus is wrong.
 
user3010322
Linear4lyfe.
 
brb
 
7:09 PM
Certainly looks arse-about-face to me..
 
I haven't seen this much fail since the last time I was in the Lounge
 
Ell
can't you just define forward, right, up vectors and then be set?
and just negate them when necessary
 
I got my calculus book
 
@LightnessRacesinOrbit BREAKING NEWS: Next time you come to The Lounge you will see MORE FAIL!
 
I remembered wrong.
 
Ell
7:10 PM
then when you decide to change handedness you can alter the definitions of said vectors
 
@Ell Sure, and defining "forward" means picking a handedness.
 
@TonyTheLion aw
 
This was how I learned it in Calculus
 
Ell
@Puppy Right but I mean you can write your library or what and if you chose the wrong one you can change it :P
 
7:11 PM
Z upwards? Woah
 
I've never seen the x mean anything but left and right
I
 
> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 11
where's my god now?
 
@Ell Doesn't really help you if you have a bunch of RH code and one function needs LH. They all have to follow the same handedness.
 
Yup.
 
I've seen in non graphics settings the z is typically up
 
7:12 PM
@AaronKyleKilleen The arbitrary rotation isn't important. The direction of +Z with respect to +X and +Y is. You can simply rotate the diagram if it makes you feel uncomfortable. But X is not "left and right" it is an axis in space.
@Jefffrey I'm here my child
 
It doesn't matter as long as you're consistent
 
@LightnessRacesinOrbit help me fix my SQL near '' pls
 
user3010322
Apparently, it matters for the order of the cross product
 
I'll pray day and night for a week
 
user3010322
which makes sense, because cross( x, y ) != cross( y, x )
 
7:13 PM
@Jefffrey You have an extra ; before ON DUPLICATE KEY
 
@ThePhD I'm sorry, I can't find a single image with this axis lol
 
user3010322
@Rapptz All of them are wrong and deserve to burn in hell.
 
@LightnessRacesinOrbit Oh, wow. Thanks very much my lord.
 
Ell
Well my problem is that prosody is not finding it's dependencies. I ought to investigate how lua does #include<>
 
I think this one is close
 
7:13 PM
@Jefffrey yw
 
user3010322
WTF
 
but this is weird
 
user3010322
That's like retarded RH
 
lol yeah
 
user3010322
7:14 PM
I'm talking about plain, regular, left-handed coordinates
 
that looks like graphics coordinates to me
 
doesn't directX do something stupid like that
 
user3010322
Stick your index finger forward, your middle finger to the right, and your thumb up
 
your ass
 
user3010322
Index is +z, thumb is +y, and middle finger is +x
 
user3010322
7:14 PM
@ParkYoung-Bae Only if it's yours baby.
 
hmm
 
Just do sane coordinates with Z facing up.
 
user3010322
That doesn't make any sense
 
I spent two seconds thinking about editing the coliru q&a, and Google showed me the changes under my real name.
fuck you sideways, Google.
 
it does
 
user3010322
7:15 PM
I want the cartesian graph paper planes facing me
 
it makes perfect sense
 
user3010322
Not to be kicked over
 
well
whatever the case
pick a coordinate system that is actually used in mathematics
 
user3010322
 
user3010322
The left one!
 
7:17 PM
I know
use the one has the -Z away from me and +Z towards me
or Z facing up :v
which is clearly the superior coordinate system
 
personally I prefer LH over RH
 
user3010322
Whoever kicked their graph paper over to make that bullshit deserves to die.
 
you're all inordinately stupid #hth
 
why would handedness matter for a cross product?!
 
user3010322
@LightnessRacesinOrbit I'm in-ordinately stupid but co-ordinately smart!
 
user3010322
7:20 PM
 
user3010322
@ParkYoung-Bae It depends on the basis vectors ijk
 
14 mins ago, by Rapptz
how bad are you writing cross product where this matters?
 
user3010322
Which have a signedness and handedness
 
user3010322
Hey, HEY
 
user3010322
It's on the wiki even
 
7:20 PM
@ParkYoung-Bae It matters in 3D space.
 
user3010322
the Cross Product wiki
 
@ThePhD Yeah how could you not be consistent?!
 
user3010322
they mention handedness!
 
user3010322
@Rapptz I AM consistent, it's when I read algorithms from other people using whatever coordinate system they want!
 
it's not a problem using LH or RH, it's only a problem when you don't say so people don't account for it.
 
7:22 PM
@Puppy tbh I do too. I'm just bored and messing with ThePhD.
 
Ell
what things are dependent on handedness?
 
cross product and all its derivative operations
 
user3010322
Everything based on the basis vectors
 
user3010322
Cross Products of vectors, Quaternions, Matrices, etc. etc.
 
:v
 
7:24 PM
lol
Angels have taken that beautiful code into heaven.
 
yeah, you tell yourself that
 
Poopy are you still doing interviews and stuff
 
user3010322
With a thick enough accent, Puppy could indeed sound like Poopy.
 
user3010322
Or maybe Poupy.
 
gonna restart next week now surgery's done
 
7:33 PM
Oh, surgery for your bladder? (was it?)
 
no.
they stuck a camera in and had a look around and grabbed a couple samples
 
Oh, did it go well?
 
user3010322
I need to get StackWalker.
 
user3010322
Lmao. Nice graph.
 
7:35 PM
shit, I started reading about bosnia after that anime world cup stuff
and naturally I went to read about their cuisine
while hungry
 
user3010322
You deserve it.
 
they have so much in common with our cuisine
I wonder if there's actually a type of food that's completely Romanian and not cooked somewhere else
Mămăligă () is a porridge made out of yellow maize flour, traditional in Romania, Moldova, and Western Ukraine. History Historically a peasant food, it was often used as a substitute for bread or even as a staple food in the poor rural areas. However, in the last decades it has emerged as an upscale dish available in the finest restaurants. Roman influence Historically, porridge is the oldest form of consumption of grains in the whole of humanity, long before the appearance of bread. Originally, the seeds used to prepare slurries were very diverse as millet or einkorn. Before the in...
even our most iconic type of food is also traditionally done in Ukraine
 
Xeo
FFS, why won't this chat stay scrolled down
 
Could anyone who's read Introduction to Algorithms please tell me what the notation |V| means in terms of vertices of a graph?
Or anyone who's done CompSci actually?
Or anyone who just knows!?
 
@Xeo refresh
works for me
 
7:38 PM
@Etienne Crisse je viens de découvrir "Le Coeur a ses Raisons", c'est excellent !
 
Xeo
@AlexM. I did. Thrice.
@dav_i isn't that usually just the number of vertices or something?
 
huh, weird
I also just open a new chat tab and kill the previous
 
@Xeo That makes sense from the context, but I had never seen that notation before
 
it's a pretty common notation?
 
Xeo
7:40 PM
> The order of a graph is |V| (the number of vertices).
 
user3010322
@Xeo You're doing Graphy Theory?
 
Xeo
No?
 
@Xeo Cheers.
 
user3010322
Ooh.
 
user3010322
Someone else.
 
7:40 PM
In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality (size) of sets. The cardinality of a finite set is a natural number – the number of elements in the set. The transfinite cardinal numbers describe the sizes of infinite sets. Cardinality is defined in terms of bijective functions. Two sets have the same cardinality if and only if there is a bijection between them. In the case of finite sets, this agrees with the intuitive notion of size. In the case of infinite sets, the behavior is more complex. A fundam...
 
Xeo
@dav_i send me 10 bucks to my paypal, kthx
 
Best to check before I dive into a chapter making assumptions about notation!
 
user1804599
Assumption is the mother of all fuck-ups.
 
@Xeo negative 10 USD to your paypal, got it.
 
if I remember my high school math right
for a set X, |X| = card(X)
i.e. the size of X
 
7:42 PM
I'm from a physics background so |x| usally means sqrt(x^2)
 
in other words the "size" or "magnitude" of x
 
@dav_i how do you square root a set that was raised to the power of two? O_o
 
@AlexM. Exactly
 
mathematically, absolute value and cardinality of a set are very closely related
 
@Code-Apprentice True, but the only positive-ness of the available values made me doubt it
Doesn't exactly make sense to have an array of negative size
or a graph with negative vertices
anyway, thanks for your help people
 
7:46 PM
I should try to make some traditional recipes, I've always sorta ignored ours for some reason
and they look so good :'(
 
@ParkYoung-Bae Il était temps.
 
user3010322
@Mgetz You wrote a two-parameter allocator that handles MSVC's nonsense, right?
 
yes
 
user3010322
You have a gist of it, right?
 
an online class: "I do not accept electronic submissions of assignments". Is he saying we have to mail him a physical copy...?
 
You are using reserved identifiers.
 
@Crow Deliver it via Amazon Drone.
 
@Rapptz hmm?
probably
 
400
Q: What are the rules about using an underscore in a C++ identifier?

Roger LipscombeIt's common in C++ to name member variables with some kind of prefix to denote the fact that they're member variables, rather than local variables or parameters. If you've come from an MFC background, you'll probably use "m_foo". I've also seen "myFoo" occasionally. C# (or possibly just .NET) se...

 
ah right
it was mostly copypasta
 
7:55 PM
copypasta?
 
The standard library can use the reserved identifiers but you can't
 
@Rapptz You can, but you risk killing everyone you love.
 
Well, you shouldn't
 
I'll fix it
but I'm busy at the moment
 
user3010322
He's using reserved names because he's taken the allocator traits almost straight out of an existing stdlib. o.0
 
7:58 PM
Every single day with the "how do I start" questions
 
I'm not sure why he even bothered
 
user3010322
VC++ is broken
 
user3010322
And can't handle an allocator with std::size_t arguments
 
user3010322
I'll have to file bugs against that in the new VC++ if the problem is still there
 
@JerryCoffin I know I'm late to the party, but please don't seriously say you think Christianity was founded around 0AD.
 

« first day (1357 days earlier)      last day (3594 days later) »