« first day (1445 days earlier)      last day (3505 days later) » 

3:00 PM
Stop OCDing about names
 
Ell
@ThePhD why not?
also how come you use floats and not doubles?
 
user3010322
Because every graphics implementation in existence uses floats.
 
user3010322
And every physics library in the world uses floats.
 
@ThePhD say you have`Vector3f` as Vector3<float>. What would you use for Vector3<double>?
 
@Ell because purrformance
 
user3010322
3:01 PM
@AndyProwl Probably Vector3d
 
user3010322
Which is why I hate it, because
 
user3010322
I mean come on
 
user3010322
That's just a TERRIBLE name.
 
user3010322
Vector3d -> queue noob "Oh I should use that for 3d?"
 
@ThePhD So for consistency you could also have Vector3f
 
user3010322
3:02 PM
Then Vector2d, etc. the downward spiral continues.
 
user3010322
Vector3ptrdiff_t
 
user3010322
Moving up in the world. :v
 
Ell
what is wrong with Vector3f again?
 
@ThePhD note that you're already using Vector3 instead of Vector<3>
 
@ThePhD are you designing your library for noobs?
 
Ell
3:03 PM
Vector is ambiguous :S
 
@Ell not really
 
user3010322
@Abyx The core definition is actually
 
user3010322
template <typename T, std::size_t n>
struct Vector { };
 
Ell
oh wait
I mistyped then misunderstood
@ThePhD then why will you settle for Vector3 and not Vector3f?
 
@ThePhD his point is, you already have some form of encoding in the type alias for the second argument; why not encoding the first argument too?
 
Ell
3:04 PM
Vector<float, 3> is fine?
Vectorf3 or Vector3f
 
@rightfold I said 16 because that's how many random labyrinths I start to compute in parallel ;) It was the first number that came to mind.
 
@Ell I like Vector_f3
hate me.
 
user1804599
@FredOverflow :P
 
template<typename T>
using Vector3 = Vector<T, 3>;
template<std::size_t N>
using Vectorf = Vector<float, N>;
using Vector3f = Vector3<float>; // or Vectorf<3>
 
user3010322
Float is overwhelmingly the common type. I want Vector2/3/4 to expand out to Vector<float, 3>. I have 3 usings for Vector2/3/4<T>. I don't want Vector3f because it's shitty suffix-based notation, despite being common (basically, I don't like it).
 
3:07 PM
@ThePhD hint: 3 is also a suffix
or you could wrap those aliases in namespaces
 
user3010322
Right, but it's not potentially confusing, like Vector2d or Vector3d.
 
and call them MyVector::float_type::Vector3
 
user3010322
.... mah syntax ;~;
 
well, I'm off :)
 
user1804599
I want salad calculus.
 
user3010322
3:09 PM
I think I'll just be Hungarian about it and keep the core templates TVector<T, n>
 
user3010322
That way I can have all the Vector3 I want, with no name collisions.
 
user3010322
If you want something special WELL NOW YOU JUST HAVE YOUR EXTRA LETTERS AND YOU LIKE IT. D:<
 
user1804599
Generate all possible combinations of double/float and 1/2/3/4/5 with Boost.Preprocessor.
 
user3010322
@rightfold And int, short, etc.
 
user1804599
3:10 PM
Yesss.
 
user3010322
Actually, I'll just make the core template types Vec3<T, n>
 
user3010322
And the typedefs will be Vec3<T> and Vector3
 
Ell
how about Vector<3>?
 
@R.MartinhoFernandes indeed I would not
 
user3010322
That'll work too I guess.
 
user1804599
3:13 PM
How about tensor<float, 1, 3>?
 
user3010322
Isn't that matrix<float, 1, 3> ?
 
@rightfold matrix.
 
user3010322
tensor could be the physics term?
 
user3010322
At least, I remember there being "tensor" in physics.
 
user1804599
1 because 1st-order tensor.
 
user1804599
3:14 PM
3 is size of the first dimension.
 
user3010322
Ah.
 
user1804599
You could leave out 1 and deduce it with sizeof... I guess.
 
user3010322
I actually want to do that for my next Matrix class. :D
 
user3010322
Or, well, I'd do it for Tensor I guess.
 
> Pedophilia or paedophilia is a psychiatric disorder in which an adult or older adolescent experiences a primary or exclusive sexual attraction to prepubescent children, generally age 11 years or younger
So two things make this entirely irrelevant: you're not talking pre-pubescent (by definition) and it's not pedophilia if the partner is also 15.
 
user3010322
3:14 PM
tensor<float, 4, 4, 4>
 
user1804599
@sehe On a scale from 1 to 10, how old is she?
 
@sehe oh yeah, "psychiatric disorder"
 
user1804599
I like sucking dicks. I wish I had access to them.
 
and sexual attraction to the people of same gender is not.
 
user3010322
Aww, tittles.
 
user3010322
3:17 PM
I guess I should rename my fixed-point class from q to Q
 
user3010322
Seeing as q is actually a common variable name for some numeric types, like goddamn axial coordinates.
 
@Abyx homosexuality is not a psychiatric disorder
 
@AndyProwl according to what?
 
@Abyx according to the fact that it doesn't make you suffer nor prevents you to live normally
it doesn't make you impaired
 
user3010322
Pedophilia on the other hand...
 
3:19 PM
@AndyProwl lolwut? pedophilia does make people suffer?
 
crap, this pedophilia thing is still going
 
@AndyProwl mental disorder is defined by people to suit their needs
 
Ell
I think that's fair really
 
user1804599
> I can't find anything in the docs
 
3:20 PM
@thecoshman But but but
 
user1804599
I look in the docs and it's the first thing I see.
 
Do I need a passport to go to the UK?
 
user3010322
Yes.
 
Ell
@R.MartinhoFernandes yup
 
user3010322
At least, they required it for me, but I'm American.
 
3:20 PM
@R.MartinhoFernandes depends where from
 
Ell
I don't think there is anything morally wrong with being a pedophile. Acting on it is a different matter mind
@ThePhD They require it for me, and I'm from the UK :P
 
@ThePhD Completely irrelevant.
 
if mental disorder is not defined, most psychiatrists would be out of job
 
Sorry, misclick.
 
Ell
haha it's okay
 
3:21 PM
there are no psychiatrists in ancient times & people did fine
 
My index finger still hurts.
 
Ell
I was just confused for a second :P
 
user3010322
@R.MartinhoFernandes Well, if I went to Germany they'd need a passport from me. But I don't need my Passport if I went to Puerto Rico.
 
user1804599
@Abyx Having sex with children is illegal in most territories. It's terrible to desire something you cannot do.
 
I mean, how is "yes" as an answer to a yes/no question irrelevant?
 
3:22 PM
anyways, my point is that just how homosexuality was wrong 100 years ago, in next 100 years pedophilia will also became a norm. and @LightnessRacesinOrbit is just an idiot.
 
user1804599
Whereas having gay sex is legal in any sane territory.
 
@Abyx what...the...hell
2
 
user1804599
And in the most sane territories not even frowned upon by the majority.
 
Ell
@Abyx I think incest will happen first
I think incest for procreation is wrong
 
That's like saying domestic abuse will be OK in 100 years.
 
Ell
3:23 PM
otherwise I don't think so
 
It used to be, but now it isn't. Same goes for paedophilia.
 
Ell
@OMGtechy how is that a comparison? :s you're comparing apples to oranges
 
Can't we get rid of this wanker already?
 
@Ell it will when medicine will be able to fix genes.
 
user1804599
3:23 PM
You can plonk him.
 
@Ell see message above yours
 
@rightfold That is an insufficient punishment.
 
Ell
@LightnessRacesinOrbit are you talking about abyx?
 
@chmod711telkitty you don't need a doctor or a psychiatrist or a therapy to stop you from mating with people of your own sex
 
I don't want to plonk abyx
 
user1804599
3:24 PM
@LightnessRacesinOrbit Become a mod and ban him.
 
@R.MartinhoFernandes The UK is out of the Schengen Zone, yes.
 
@LightnessRacesinOrbit such butthurt
 
I want to see him tell me to not post anything that has to do with japan here
over and over
 
Rape his/her children, lets see how he/she feels about paedophilia then.
 
Ell
3:24 PM
@OMGtechy Who was talking about rape?
 
user3010322
@Abyx It's unfortunately demonstrable for you that homosexuality does not victimize innocent individuals. Children below 11 are prepubescent and have no concept of sex: introducing that into their lives is exceedingly dangerous and tremendously psychologically and physically damaging.
 
@OMGtechy Not really, no.
 
user3010322
On the other hand, consensual sex between two people, regardless of gender or things involved, does not involve trauma.
 
Ell
@OMGtechy Let a guy rape a woman, let's see how people feel about heterosexuality now!
 
Fair point, but still you must be able to see what I'm getting at there.
 
3:25 PM
@ThePhD You had no concept of sex at 8 or 9? Wow...
 
Ell
@OMGtechy I think you're missing the point. We aren't saying raping children is okay
 
user3010322
@LightnessRacesinOrbit No, actually. I was an incredibly late bloomer. :(
 
@LightnessRacesinOrbit What about Ireland?
 
@ThePhD I'm no doctor, but I should imagine there's some kind of trauma involved
 
user1804599
@OMGtechy Don't rape anyone.
 
user1804599
3:26 PM
@ThePhD That is not necessarily the case.
 
@LightnessRacesinOrbit All my friends reckon 'bedunken' isn't a word... But you said it!
 
@R.MartinhoFernandes Photo ID only thanks to this
 
user1804599
One can always be disgusted afterwards.
 
Basically, if you're in the British Isles ish then you don't need a passport; otherwise you do.
 
So, no passport.
 
3:26 PM
@ThePhD oh and when we do teach children about sex?
 
There is a fundamental difference. While young children have some concept of sex, they certainly aren't in a position to give "informed consent" to participating in sex until well after 11 years of age, at least in most cases.
 
@R.MartinhoFernandes You are in Ireland?
 
I wonder how tomato + mushrooms sauce & parmesan sounds for pasta
 
Ell
@rightfold I don't understand, how can this be the case?
 
found a recipe
 
Ell
3:27 PM
@JerryCoffin this, I agree with
 
@AndyProwl animal hoarding is a mental disorder, but chicken/pig farmers don't suffer from it ...
 
Ell
Though I think it's very difficult to identify when consent can be given, I think a cut off age should be set for sure just for pragmatism
 
So is bedunken a word or not?
 
user1804599
bedankt
 
Ell
> without having the ability to properly house or care for them
 
3:28 PM
@Ell battery caged chickens are taken care of?
 
@LightnessRacesinOrbit No, but it makes "depends where from" true.
 
user1804599
I don't know why Abyx is so hostile, though.
 
@R.MartinhoFernandes This conversation is fucking riveting mate.
 
@rightfold I'm not
 
user1804599
He clearly asked at least one question on Stack Overflow, and is therefore OP, and is therefore a faggot.
 
3:29 PM
^ can't parse that
 
On most large commercialised farms, animals are not well taken care of
 
Ell
@chmod711telkitty you just said farmers. I don't think battery caged chickens are taken care of
but I think ethically raised animals are
 
I came in to read the context of the flag. you guys have stranger conversations than the JS room. that's saying something :P
 
look at test3.cpp
sorry I mean TEST3.CPP
 
3:30 PM
@Ell lol? your point is? both are in regards to animals, when motivated by money, it is okay to treat animals like shit? No, it does not make sense ... at least hoarder did try to give unwanted animals a chance
 
user3010322
@LightnessRacesinOrbit Lel, that VC++ 4.0
 
user3010322
2 stronk
 
Ell
@chmod711telkitty my point is that some farmers take care of their chickens
 
there are so many things wrong with that page I can't even enumerate them
how do some organisations fuck up this much
 
Ell
I don't think it's okay to treat animals like shit in any case
 
user1804599
3:31 PM
@LightnessRacesinOrbit dat pun
 
user1804599
@LightnessRacesinOrbit empty knowledge bases in employees' heads
 
@chmod711telkitty don't tell it to @LightnessRacesinOrbit
 
3:32 PM
@chmod711telkitty those look quite good
 
user3010322
@rightfold Oh, by the by: consensual kidnapping is a thing: boingboing.net/2013/04/06/consensual-kidnapping-service.html
 
@Ell can confirm: I work in agri -- not everyone is a dickhole.
 
user3010322
Makes me wonder if you can pay for consensual rape. <_>
 
user1804599
@ThePhD That might be useful.
 
Ell
@chmod711telkitty what? Are you claiming no farmer in the world takes care of their chickens?
 
user3010322
3:33 PM
The world is weird.
 
user1804599
If you have to go to a meeting, but you don't want to, you can just fake being kidnapped.
 
user3010322
@rightfold 10/10 best meeting avoidance yet
 
4 mins ago, by chmod 711 telkitty
On most large commercialised farms, animals are not well taken care of
 
@rlemon By now you should already be aware that we're the best. :P
 
user1804599
When your child goes to sleep you can say you have a kid napping.
 
3:34 PM
and it is not classified as a mental illness because ... well we don't want pricey chicken/pork do we?
 
@Ell she sad "large commercialised farms". it's not about small farmer businesses
 
user3010322
Uh oh.
 
@Abyx What? I'm well aware of that. Just because you've decided I'm totally ignorant does not mean that such a viewpoint has any actual basis in reality.
 
Chicken in large commercialised farms are not pets.
Chicken in small farmer businesses are not pets!
 
@LightnessRacesinOrbit I just can't forget that elephant story.
 
3:35 PM
@Abyx what
I showed empathy for an elephant that had been chained up in horrendous conditions for decades, therefore I have no idea what caged chickens are like
 
user3010322
Why do doing generic things always invoke the worst kind of pain ever? ;~;
 
16 mins ago, by chmod 711 telkitty
@AndyProwl mental disorder is defined by people to suit their needs
 
Honestly, was it just my imagination when Abyx used to be at least marginally sane?
 
user3010322
Maybe I can cheat with std::is_arithmetic...
 
just like religion
 
user3010322
3:36 PM
And everything else I can consider to be a Range
 
user3010322
good_enough.png
 
I need to change the package name of this shit and I can't because everything is dynamically generated based on it, including the JNI function to call
 
@LightnessRacesinOrbit I don't see any difference between that elephant and those chickens.
 
who the fuck came up with this shit
I want to die right now
 
user3010322
:3c
 
3:37 PM
this is idiocy taken to the next level
 
all of them are just some animals. I don't see why anyone should care about any of them.
 
@AlexM. gradually losing faith in humanity. I didn't even know I had any left.
 
you'd think that having a single huge 12GB god project that encompasses all technologies ever was enough of a signal that something is wrong
but no
 
user3010322
♩ Never know what you have 'till it's gone ♩
 
@chmod711telkitty psychiatry is like religion and vaccination is like rape.
@ThePhD ♩ Never gonna give you up ♩
 
user1804599
3:40 PM
Food time.
 
In other news:
in Game Development on The Stack Exchange Network Chat, 1 min ago, by Wardy
@OMGtechy Taking a kinder egg across american borders is a $50k fine
What O_O
 
And ffs people, you can simply read the fucking wikipedia page you linked to yourselves.
 
@R.MartinhoFernandes Well, I used to believe law has to be fair, until I take law in postgrad & the lecturer said "law is only there to create certainty"
 
Its illegal to sell candy that has toys completely surrounded by the candy @OMGtechy
 
@AttackingHobo I've never seen you here before :O
 
3:42 PM
@chmod711telkitty I used to believe people read the wikipedia pages they linked to.
I'm not even thinking about reading the sources.
The wikipedia article is the bare minimum that should be expected.
 
@OMGtechy I've never seen you link a chat from this room before.
 
Ell
@Abyx yeah, only after though
anyway.
 
@R.MartinhoFernandes the concept "humans act in herds" was taught in the leadership course from one of the top uni on the face of earth
 
@Ell But it's not about either, so it's irrelevant.
@chmod711telkitty And spelling was taught in English courses... almost everywhere.
Also, dammit, I should have used a non sequitur instead.
Works better with telkitty.
 
why do you think they only teach it in the 'leadership' course when doing a postgrad degree?
because I don't think the followers need to realise this fact
followers should just follow
 
3:45 PM
@chmod711telkitty Because President Kennedy was the fastest random speaker in the world with upwards of 350 words per minute.
That's why in the average lifetime, a person will walk the equivalent of 5 times around the equator.
 
user3010322
MC P. Kennendy: spittin' on the mic before Kanye was in diapers.
 
there's this configuration file in which I could theoretically change the package name only
 
Oo, bedtime ... nothing can be more interesting right now ^_^
 
but I guess they also wanted to say "fuck you", because on each new build it gets overwritten
by generated stuff
I'll just change the apk itself
fuck this
 
telkitty reminds me of this guy I know that will steer any conversation towards solar energy, no matter what.
 
3:48 PM
-4
A: How to avoid many singletons in game architecture?

itcouldevenbeaboatYou should not avoid Singletons. You should have as many Singletons as your application needs, no more and no less. Singletons are one of many available programming constructs available to programmers to help abstract away the machine code that your program eventually becomes. You do not use Si...

Mother of god.
 
For her it's either some money bullshit or some sheeple bullshit. Or both.
@OMGtechy I don't get these people.
 
user3010322
@R.MartinhoFernandes And birds. Or fat. Don't forget fat.
 
> 30 Singletons is not very many. A game like Assassin's Creed probably has 1000 or more.
 
What kind of question is "How to avoid singletons"?
Just... don't use them.
 
> 30 Singletons is not very many. A game like Assassin's Creed probably has 1000 or more.
 
user3010322
3:51 PM
@AndyProwl He's probably not wrong.
 
lol
 
They don't prop up naturally.
 
user3010322
After looking at Unreal....
 
user3010322
..................
 
user3010322
So, how's the weather?
 
3:51 PM
for the next jam I will write a game with only singletons
 
Box2dManager
Gosh.
 
@AlexM. yeah that made me laugh xD
 
@Griwes you're slow
 
I wanted to high-five you, now I will just try to invent a way to insult you.
 
please do
 
3:53 PM
@Ell What about intestinal bacteria? Is it okay to treat them like shit?
 
EntityComponentSystemManager
 
@FredOverflow no
 
PlayerData
 
@R.MartinhoFernandes Imagine if that thing had a factory!
 
Ell
@FredOverflow I'd argue you can't treat them like shit :P
oh wait :P
 
3:54 PM
@R.MartinhoFernandes ...SingletonFactory
 
It's obviously NOT a trivially obvious problem with my code when you consider that what I was trying to accomplish has been made possible in C++11, as another responder pointed out. Evidently someone else thinks that C++ should be enabled to do this. When you look at it that way, the problem lies in a limitation of C++98, more so than in my code. — devguy24 11 mins ago
 
from what I've learned in school, there's this good kind of intestinal bacteria that lives inside most people
 
FFS PlayerData is a singleton.
 
Ell
This dog just does not look real: i.4cdn.org/b/1412089298567.webm
 
"It's not my fault I made an obvious and stupid mistake. It's a limitation of C++. There's obviously nothing wrong with me."
and, just to be clear...
Hahahahahahahahaha — Lightness Races in Orbit 33 secs ago
@Abyx that's because you're an ignorant moron who thinks there's nothing wrong with child porn and paedophilia GTFO
@AlexM. we're like 80% bacteria or something
human bodies are bacteria motherships
 
3:56 PM
nah I wish I could remember a name or something, so I can search for it on google
it was really interesting
 
@AlexM. That is correct. The majority of our immune system is made up of those good bacteria in the intestines.
 
@LightnessRacesinOrbit lol no. You got me wrong. I do think that paedophilia is wrong. Totally wrong.
 
user3010322
Agh, crap
 
the bacteria was also fighting for "territory" against other bacteria coming in
 
user3010322
I forgot the swallow trick...
 
3:56 PM
so it was also keeping out bad bacteria
 
@AlexM. anti-biotics probably kill more people by killing good bacteria than they've saved in the last ten years
 
@LightnessRacesinOrbit Yes, about 10% of the cells in our body are actually human cells :)
 
38 mins ago, by Abyx
@AndyProwl lolwut? pedophilia does make people suffer?
 
he just thinks homosexuality is a mental disease like paedophilia
 
@LightnessRacesinOrbit It makes the children suffer, doesn't it?
 
3:57 PM
@AndyProwl that.
 
Xeo
@ThePhD using swallow = int[]; (void)swallow{ 0, (void(expr), 0)... };
 
hey
 
8
A: How can I avoid having many singletons in my game architecture?

lvictorinoI won't discuss about the evilness behind singletons because Internet can do that better than me. In my games I use the Service Locator pattern to avoid having tons of Singletons/Managers. The concept is pretty simple. You only have one Singleton that acts like the only interface to reach what ...

 
well, consciousness is a "mental disease". what the fuck is a "mental disease"?
 
whats the best c++ book/site?
 
3:57 PM
Love this answer.
 
user3010322
@Xeo I was about to figure it out! D:
 
4277
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

 
Xeo
@R.MartinhoFernandes "Service Locator" :<
 
"I don't use singletons; I just make the code look a tiny bit different"
 
@elichai2 google
 
user3010322
3:58 PM
@Xeo .... But thank you anyways, Xeo-chan. ♥
 
Lightness, saw that already
there are a lot over there
 
Xeo
welp, time to go home
 
@elichai2 isocpp.org
 
any recommendation?
 
Do you know how to program (in any other language)?
Or is C++ your first programming language?
 
3:58 PM
@elichai2 at least read what @LightnessRacesinOrbit posted
 
@elichai2 Best get started.
 
@LightnessRacesinOrbit what I meant is that it doesn't make paedophile suffer.
 
@elichai2 So we put together a nice comprehensive answer to the question "what are the best books to use for C++", I link you to it, you say "it's too long" then ask me the question "what are the best books to use for C++"??
 
@LightnessRacesinOrbit No, he's just a homophobe that tries to use pedophilia as a RAA to justify his view.
 
3:59 PM
@elichai2 ISO/IEC 14882:2011 is the best boot at the moment. there will be a next edition soon!
 
I wouldn't know, but I suspect that if you think paedophiles don't suffer then you are out of your fucking mind
 
@LightnessRacesinOrbit Buy the Swan book if C++ is your first language. Buy C++ Primer else.
 
@LightnessRacesinOrbit, NO, i read every single word in that answer
 

« first day (1445 days earlier)      last day (3505 days later) »