« first day (1313 days earlier)      last day (3643 days later) » 

2:00 PM
there's no reason you couldn't do localstate := lua.state(); localstate.loadfile("foo.lua");.
 
user1804599
Can I use the result of that at compile-time?
 
well, I'd probably expect that it commands the Lua file to be loaded at run-time.
 
user1804599
cpp doesn't load the header at runtime either. :v
 
yes, but C++ is typically compiled, whereas Lua is typically interpreted.
I'd say more problematically, the Lua code is mutable- mutating the Lua state- and the C++ interoperation structure is presented as immutable, only the run-time C++ objects are mutable.
so if you loaded Lua code through the compiler at run-time, then that state would be mutable at compile-time, which is ick-tastic.
 
Seriously they have their own site? How to behave in the Lounge<C++> chat room, remember newbies you have to "earn your "right to ask" in the Lounge". What is this elitist rot? — Lankymart 17 mins ago
ITT LOUNGERS ARE ELITIST
 
Xeo
2:05 PM
@Xeo How is that name funny? Yeah right, maybe if your 12. — Lankymart 35 mins ago
hahaha
 
@Xeo He started working in the games industry at 21? Impressive.
 
Xeo
@FredOverflow So did I
 
user1804599
I have no vagina, and as such I consider this room title to be complete nonsense. — rightfold 14 secs ago
 
Xeo
I'm 22 and am working at this place for over a year now :P
Reminds me, I was also the youngest guy at the Games Academy.
cause I went there as soon as I became 18, which is their minimum age for entry.
 
@BoltClock Is this still going on?
 
user1804599
2:08 PM
I came here when I was 17. :3
 
lol how exactly is Stackoverflow going to force us take question dumpings from raging newblets on this chat?? I have told you many times, it is not going to work.
 
user1804599
Though I had one school year in between.
 
And now for an unscheduled interruption:
 
dumb people don't learn
 
anyone got a good tool for static analysis? (for C++ code)
 
2:09 PM
excel vba
 
Will the people who don't agree please kindly go use the word "vagina" during their lunch hour today and let us know how it goes? Especially in front of their female colleagues. — Kyle Hale 23 hours ago
Really?
Do these people actually ever interact with women?
 
Okay, back to it.
@Lankymart: Hey, Mr Entitled over there. Did you know, you have to earn the right to free help anywhere. No? Now you do. Thanks and have a nice day. — Lightness Races in Orbit 59 secs ago
@Xeo Well, he's right there.
@DeadMG A mod just brought it back up. Which I find unfortunate.
 
@R.MartinhoFernandes Yeah, I gotta admit
 
all the other stuff, maybe I'm totally guilty of all of that, but misogyny? Really?
 
2:11 PM
@R.MartinhoFernandes IME American attitudes towards women in the workplace are a good thirty years behind European ones
 
I guess it would have been equally offensive to men if I had named it Rightfold's Penis, then.
 
And I mean that sincerely
 
No, I mean, what kind of women are offended by the use of the word "vagina"?
 
@DeadMG I'm with you there
@R.MartinhoFernandes Yeah, it's the belief of those male workers that it would be offensive to women, that I think shows how they view women.
 
2:12 PM
There's nothing in those comments that reveals how said female coworkers would actually respond, and no indication that the comment author ever actually tried it.
 
@ArneMertz Clang.
 
I know for a fact my female coworkers don't have trouble with that word.
Hell, I know for a fact pretty much every woman I interact with in a regular basis is ok with it.
 
@R.MartinhoFernandes Do you know for a fact that your "female" coworkers all have one of them, though? In this day and age, y'know..
So many genders to choose from
 
Maybe I live in a bubble of decent people.
 
@R.MartinhoFernandes Is that why you spend so much time in the Lounge? For a refreshing change?
 
2:13 PM
@DeadMG can I teach Clang to ignore some stuff that's not standard C++?
 
I think "gender fluid" is a great way to describe yourself. "Good day; I am gender fluid." "Sounds messy, mate."
 
Xeo
@LightnessRacesinOrbit Ow! That's offensive! I should flag you for that!
 
@ArneMertz Dunno. Ask #llvm.
 
Gender fluid sounds gross.
 
user1804599
@LightnessRacesinOrbit there's also Male and Female, AFAIK.
 
user1804599
2:16 PM
@ArneMertz designated initialisers (for example) work in clang but raise a warning because they are non-standard.
 
user1804599
You can disable specific warnings.
 
@DeadMG: That comment is going to cost you an arm and a leg. — Lightness Races in Orbit 6 secs ago
@rightfold don't be so offensive omg
 
This chat in fact does take on newbies - I am sure we were all a newblet on this chat some point in time
 
user1804599
You being offended is your problem, not mine.
 
@rightfold and now I'm making it your problem bitch
if that offends you, that's your problem, not mine
 
user1804599
2:18 PM
@LightnessRacesinOrbit Not really.
 
@rightfold I was thinking about compiler extensions
 
Xeo
@LightnessRacesinOrbit Good thing I said "changed" in past tense
 
user1804599
@ArneMertz what do you mean by that?
 
Actually it's interesting that @Kyle jumped to the conclusion that puppy is misogynistic purely on the basis that he is male. I think you'll find, mate, that this is called sexism. — Lightness Races in Orbit 6 secs ago
teehee
@Xeo ah, dammit
 
user1804599
2:20 PM
Designated initialisers are a language extension.
 
speaking of being dumb, I bought a pair of prada sunglasses, which costed me over $500. Although my health fund is paying 75% of that
 
@rightfold I mean, I am looking for a static analyzer tool to complement the nonexistent and buggy compiletime analysis our Embarcadro C++ compiler does.
 
that's better
Actually it's interesting that @Kyle jumped to the conclusion that puppy is misogynistic purely on the basis that he is male. I think you'll find, mate, that this is called sexism and gender discrimination. Check your privilege! — Lightness Races in Orbit 2 mins ago
 
well
to be entirely accurate, you assume that I'm male because I say that I am, but only Tony and ThePhD have actually met me in person.
 
I'm glad you lot of elites are talking about social issues related to gender
 
user1804599
2:22 PM
gen...der? :c
 
@DeadMG I didn't say you are male. I merely pointed out that Kyle assumed you were and made a ridiculous judgement based on that assumption.
 
fair enough.
 
ITT American still never had a female president
 
Also I'm glad my Stack Exchange inbox is just as enthusiastic about the comments
 
2:23 PM
speaking of sexism
 
in which case, I guess he has statistical evidence that I'm likely male but far from any hard evidence.
@BoltClock I am so sorry about that.
 
@chmod711telkitty ikr
 
user1804599
@chmod711telkitty that is not necessarily a result of sexism.
 
@DeadMG reading you telling us that you are male is way more insightful than meeting you in person when it comes to knowing your gender ;-)
 
plenty of people lie about their gender on the Internet.
 
2:23 PM
@BoltClock r u neutrois
 
hell, when I was 14 and I played WoW then I claimed I was female.
so what
 
action speaks louder than words
 
"the community above referred to as "this elitist rot"" works better than "the Lounge".
 
user1804599
DeadMarvelousGlamorous
 
@LightnessRacesinOrbit TIL neutrois = agender. Interesting word form
 
user1804599
2:25 PM
0m9 w3 4r3 50 31337
 
@DeadMG here in the Lounge? cough
 
lol
 
Is (DBL_MAX+1) undefined behavior?
 
I'm frankly still not sure what gender Cicada is, not that I particularly care, and Rightfold doesn't seem to be particularly attached to his.
4
 
2:27 PM
direct that to robot
 
@RikayanBandyopadhyay No. Doubles don't overflow.
 
@DeadMG theirs******
 
@DeadMG Either male or a masculine-looking person otherwise.
 
Afternoon.
 
personally it's not that I give a particular shit about having a penis, it would just be so much effort to have a vagina instead and it probably wouldn't be the same as having one naturally and if you decided you didn't like it then changing back would not be simple and it probably wouldn't be the same again, and mild curiosity is certainly not a big enough force to overcome those obstacles.
 
2:28 PM
@DeadMG and let's not even talk about Etienne
 
Room topic changed to: Rot<Elite>
@chmod711telkitty no thanks.
 
Chavs is so noughties.
 
user1804599
GABBERS
 
@DeadMG I wish they'd gone away before 2011
 
2:29 PM
lol
 
@chmod711telkitty Why?
inb4 why not
 
@R.MartinhoFernandes ahem
 
user1804599
@LightnessRacesinOrbit YOU RACIST
 
@rightfold Racism Races in Lightness
 
@Jefffrey never seen a man gives a lady a bath? @_@ ... the hen seems to be enjoying it ...
 
2:30 PM
@chmod711telkitty There's no water.
 
@chmod711telkitty What on hearth are you even
 
So tempted to flag that image.
 
go ahead
Dust bathing (also called sand bathing) is an animal behavior characterized by the act of grooming while rolling or moving around in dust or sand, with the purpose of cleaning fur, feathers or skin, and removing parasites. Dust bathing is a maintenance behavior performed by a wide range of mammalian and avian species. For some animals, dust baths are necessary to clean the feathers, skin, or fur, similar to bathing in water or wallowing in mud. In some mammals, dust bathing may be a way of transmitting chemical signals (or pheromones) to the ground which marks an individual's territory...
 
user1804599
I hate chicken.
 
@LightnessRacesinOrbit I'm a man-shaped human.
 
2:32 PM
@rightfold I also despise chicken.
 
user1804599
They taste as horrible as their eggs do.
 
eggs are tasty when cooked correctly.
 
Chicken eggs are awesome.
You just take them, crack open, pour a little salt and drink.
 
I don't understand this reluctance to just say "I'm a man".
I'm a man.
Saying that doesn't preclude "I'm a person".
 
2:33 PM
because it's a trivial external detail
 
user1804599
I'm inhuman.
 
it's kinda like saying, "I have a small birthmark on my right hand".
I mean, congratulations, I guess.
 
@DeadMG I'm referring to circumlocutions like "I'm a man-shaped human."
 
hm
 
@R.MartinhoFernandes Saying "I'm Canadian" doesn't preclude "I am from Quebec", either, but let's not go there (oops)
 
2:34 PM
in that case, I certainly agree with you.
 
@R.MartinhoFernandes It was made in jest.
 
user1804599
Je m'appelle rightfold.
 
@DeadMG It's hardly trivial
 
I have a class derived from a List<MyObject> in C#, why can't I cast var foo = (myBase)mylistofmyobjects;?
 
like it or not, men and women are quite different
inb4 but its not relevant
my response to that is how is your fucking CV coming?
 
2:35 PM
lol
 
user1804599
@TonyTheLion you can (IOW SSCCE)
 
erm
 
@LightnessRacesinOrbit It seems quite relevant for a fucking CV.
 
actually not badly.
 
I thought this was quite good:
@Lankymart: That doesn't mean that anyone ever gets to do anything anywhere that they like. This is a public community and, as such, you are asked to follow the conventions set out by the majority already occupying any particular space. — Lightness Races in Orbit 8 mins ago
 
2:35 PM
not sure if it's going well but certainly better than before.
 
I'm not even sure if deriving from List<T> is a good or bad thing in C#?
 
@R.MartinhoFernandes People are generally advised not to list gender or their name, nowadays. It's crazy.
 
@TonyTheLion Because you can't case from Base to Derived if the object is not really a Derived?
 
user1804599
@TonyTheLion Why are you doing it? Perhaps consider implementing IList<T> instead.
 
@TonyTheLion um....
 
2:36 PM
@TonyTheLion It should really be an IList<T> instead.
 
Try casting a Base** to a Derived**, and you'll see
 
@LightnessRacesinOrbit Hmm, it seems that I don't list my gender, but I wouldn't censor anyone for doing it.
 
@LightnessRacesinOrbit In Canada, it's illegal to ask about someone's gender in an interview.
 
it's so silly
 
Yeah, overblown PC is common that side of the pond.
 
2:37 PM
It's mostly because they don't want some of that good old gender discrimination.
 
if a guy goes to an interview dressed in a Tinkerbell costume and a tiara, the interviewer has every right to be concerned that the rest of the team will feel totally uncomfortable working with this person on a daily basis
 
@EtiennedeMartel Yes, it works very well.
 
people need to start taking responsibility for themselves, even for things that are not their fault but that are properties of self
 
oh, that reminds me.
 
Gender discrimination won't happen if no one asks you your gender.
 
2:38 PM
(It's a bit silly with gender, of course, but the law also covers religion, sexual orientation, race, etc.)
 
my old interview suit... it won't fit my anymore.
 
@LightnessRacesinOrbit depends on the role he's applying for ...
 
@EtiennedeMartel "So, just one last question; are you sure you're Chinese?"
 
@LightnessRacesinOrbit I do get annoyed when I am required to provide my gender when signing up for whatever thing that has no business with it. However, I feel the same about any other irrelevant detail required of me in such situations.
 
@DeadMG Let's not get ahead of ourselves
@R.MartinhoFernandes Yep. Far more bothered about my home address when that happens.
 
2:39 PM
Like having to provide email address for every fucking thing you sign up for.
 
An email account doesn't have a first and last name, a birthday, a gender, or a physical address. Some people don't understand this.
 
user1804599
Soon it will be prohibited to discriminate on skills.
 
@LightnessRacesinOrbit I disagree that you should take responsibility for it, people should take responsibility for their own choices (obviously I figure that most people have a choice about a Tinkerbell outfit and tiara). But I agree that it's not the business's fault, either. It's just an unpleasant fact of life.
 
Stackoverflow might just want us to not attract perverts by forcing us change the name ... you know, some perverts might want to enter rightfold's vagina :'(
 
2:40 PM
-3
Q: Recursion vector reverse

user3661322I have a problem with the reversal of the vector, the program throws errors when reversing. my function and its call looks like this: void odwroc(int x, vector < int > tab) { if (x>=0) { int tmp = tab[x-1]; tab[x-1] = tab[tab.size() - x]; tab[tab.size() - x] = tmp; odwroc(...

 
@R.MartinhoFernandes GMail is just trying to get intimate.
 
@DeadMG So who takes responsibility for it, then? Your parents? The state? No. You got dealt an unfortunate hand but, as you say, that's life. It's on you to make the most of it, not some other person who's never even bloody met you, and has their own problems to contend with.
 
Interviewer: I'm hiring you for cook, doesn't matter you can't cook and were only ever a car mechanic.
Interviewee: OK cool, what kind of oil do you put in your food?
 
well, I think it's a bit more nuanced than that.
 
> I'm hiring you for cook
 
user1804599
2:41 PM
 
I know
 
@DeadMG I don't!
 
I was making a bad joke
 
for example, would you argue that businesses should not tend to the disabled? It's not the business's fault that you lost your legs in a car crash.
 
are you talking to me?
 
2:42 PM
no
 
@rightfold You don't? Then the wedding is off the table, sorry.
 
er, nor about you, actually.
 
I am using namespace std — user3661322 39 secs ago
 
user1804599
In the Netherlands you get a bonus from the government if you hire someone who is disabled.
 
I would probably have picked a different example if I'd noticed that you were here.
I didn't mean to imply that you were disabled or something.
 
2:42 PM
@rightfold Good.
 
@Jefffrey Not really. That's hardly fair on the undisabled, is it.
 
Are you like, for real?
 
user1804599
Also if you hire someone who is younger than 27 and has been unemployed for at least three months. XD
 
@DeadMG No, it isn't their fault. Why should they pay for it. It has nothing to do with them whatsoever.
 
do you think the state should pay for wheelchair accessibility?
 
2:44 PM
@DeadMG Yeah, probably.
The state is a bit of a different case.
 
for most public area, they have to
 
personally I think of it as insurance.
 
but
 
yeah
butt insurance
 
2:44 PM
having the business pay for it is not fundamentally different, I feel.
just imagine it as a ... premises tax.
 
I like to think that if I'll ever get disabled, I would still be able to work and keep my dignity.
 
> if I'll ever get to be [disabled]
 
I would also like to think so
rofl.
 
You make it sound like you're actively trying to.
 
right, that CV thing.
 
2:45 PM
Bad wording I guess.
 
Yeah. Just sounded funny.
 
I don't know how to put it. But I believe you all got the point.
 
@Jefffrey I think if you lost your legs, your hands, your cock, one ear, your tongue and three quarters of your teeth, you'd struggle to keep your dignity.
 
Just a flesh wound!
 
2:46 PM
Wait... I know what fallacy this is.
 
Xeo
Dammit Robot!
 
Let me look it up.
 
@DeadMG With the state, the whole country pays for it as a community. With a business, it's the business owner. In some cases, that's an individual. Hardly the same thing at all.
 
@Xeo What? VS won't compile your AS3 and you won't to blame it on me?
 
Disabled people did not ask to be born/made disabled. While it's not businesses role to go out of the way to help them, it is society's responsibility. But the fund is more or less coming out from the businesses by means of taxation
 
2:47 PM
@LightnessRacesinOrbit No, but you could argue that it's the same thing as having the state pay for it and then simply increasing taxes on businesses by the same amount.
 
@chmod711telkitty Society didn't ask for them to be born/made disabled, either, so the automatic assumption that it must be society's responsibility is offensive. It's nice when society can help out, though.
 
What is society?
 
Kids will ask that when I'm done.
 
@DeadMG Could do. Economics isn't really that simple, though.
@R.MartinhoFernandes Jefffrey wrote "society", not "all this white stuff"
 
true, but I think that if you view it from that perspective, then there's upsides and downsides to it, it's not automatically a wrong thing to do.
 
2:49 PM
Oh gosh.
 
wtf
 
that went well
 
what?
 
@LightnessRacesinOrbit You thoroughly ruined the delivery beyond salvaging.
 
2:49 PM
@DeadMG oh sure
 
@DeadMG like all of my opinions, unfortunately, I'm far more concerned about people's attitudes than about the practical ramifications ;p
 
@LightnessRacesinOrbit wow
 
can't help it
 
lol
 
2:50 PM
Australian is the richest nation by median wealth, not average wealth
 
So I bisected to the commit that made the compiler sneeze and it has not a single line of messing with templates or anything like that.
 
uniform init or init lists?
 
Nope. Quite trivial code.
"made the compiler sneeze" is quite an accurate description, it seems.
Add a bool member variable, initialise it, change it at specific points, test in a few others.
 
NSDMI?
 
2:54 PM
No, old-school member initialiser.
 
@LightnessRacesinOrbit Don't get it. I said it out loud and I still don't get it :P
 
ahaha she just added:
> Nope I'm still not getting it
 
s/own/own programming/
 
Xeo
@LightnessRacesinOrbit Wow.
That's just.. bad.
 
2:55 PM
@Xeo don't you mean "wiw"
@Xeo it's serving its purpose :D
@DeadMG Much better so far.
 
user1804599
@LightnessRacesinOrbit idgi
 
Now I'm left with randomly poking various parts of the code until it works.
Sigh.
 
Try to use the word "implementing" (and its variants) less, and perhaps put ", 'Wide'" at the end of that first sentence
 
Xeo
@DeadMG Hm, I thought CV's were ordered newest-first
 
@rightfold not you too
 
2:57 PM
@DeadMG I don't get it either.
 
@Xeo Agree
"I'M EIGHTY"
god you people are so thick
 
Not enough IPA.
 
do it in jQuery
 
Scene does not contain a lap dance.
 
@juanchopanza Not necessarily. It simply means that the new node being created needs no parameters in its constructor so the two are equivalent in this case. For example, std::string s(); works the same way, but I will agree it's not good practice like this. I've seen people initialising objects in constructor initialisation lists this way, although it's the default behaviour. They have their reasons, too long to elaborate on here. — djikay 57 secs ago
 
2:58 PM
@R.MartinhoFernandes leftover from your predecessor? how lovely ^_^
 
That was random.
 
^ this guy
just went full "C++ is not context sensitive"
 
@LightnessRacesinOrbit Oh. I thought I was supposed to say "80th" out loud and thought it may have something to do with teeth.
 
@DeadMG Still think touching on how you managed this "project" would be worthwhile, because software developers do not simply code. You presumably thought through your design and requirements before starting, and had some idea of a schedule, and use version control; all these things bear mentioning.
 
@LightnessRacesinOrbit If nobody gets the joke, then the problem lies with the delivery.
 
Xeo
2:58 PM
@LightnessRacesinOrbit hahahahaha
HAHAHAHA
 
(I'm saying you suck)
 
@EtiennedeMartel No, the problem lies with my choice of friends.
and sisters
 
Xeo
Did you ever see one of Puppy's browser-killing commits?
He better not mention that
 
@Xeo lol
@Xeo He got better.
 
@Xeo what
@Xeo oh
 
2:59 PM
He did learn a lot from it.
 
I want to know more.
 
Xeo
@R.MartinhoFernandes His latest uber-commit wasn't too long ago.
 

« first day (1313 days earlier)      last day (3643 days later) »