« first day (628 days earlier)      last day (4317 days later) » 

12:07 AM
@ManofOneWay I independently developed
@Ell I see everything
@BenVoigt Ever lurking. However, now I'm quittin:
3 hours ago, by sehe
Anyways, I'm off to bed. I'm half-dead as it is.
Go figure
 
lol
 
Honestly, after putting the kids to bed, I 'crashed' - so I did a nap on the couch. Not sure it makes my sleep pattern any more sound, but still :)
 
hey everyone :)
 
:)
 
:)
 
12:17 AM
how is everyone tonight? :)
lol im loving vb.net haha. its so simple xD
 
I don't know what I am looking for, but help me.
 
@Takarakaka with?
 
12:40 AM
@Takarakaka nice joke
 
@Takarakaka Awesome, you just made the "not a real question" close reason redundant and obsolete. All NaRQs can now be closed as a duplicate of your comment.
2
 
lol
 
So tempting to make that a question, tag it c++-faq, answer with "My crystal ball is on strike today. However, it can be persuaded to return to work for just $500.", and start tagging questions as exact duplicate thereof.
 
12:56 AM
That would be hilarious... I'd upvote it. :)
 
... I need a good title. The site rejects "Help me".
 
It'd be hard to keep the question open.
I keep forgetting it's July 4th. Been working all day... no break for me this week.
 
about to go live...
 
The town I'm in is probably too small to have fireworks... so it's not like I can just walk outside and see anything.
 
nope, new title rejected also "the most asked question about C++"
 
1:05 AM
I still remember seeing a title like, "HELP ME PLEEEAAAAAAAAAAAAAASSSSSE!!!". I don't remember how many seconds it took to close it.
 
got it
0
Q: The most common query about C++

Ben VoigtIn the true spirit of the c++-faq tag, this question is intended as a target for close-as-exact-duplicate when similar questions are encountered, to consolidate answers and comments in a single thread.

 
are you serious?
 
I blame you for encouraging me.
 
0
Q: The most common query about C++

Ben VoigtIn the true spirit of the c++-faq tag, this question is intended as a target for close-as-exact-duplicate when similar questions are encountered, to consolidate answers and comments in a single thread.

 
HAHAHA
 
1:08 AM
first downvote
 
That would work pretty well as an April fools joke though.
 
is there no longer a way to make a question CW?
 
@BenVoigt nope, you have to flag it
 
Let's see whether the explanation accompanying the question, combined with my reputation, actually causes it to stay open.
 
lol
6 min. and no close votes... lol
 
1:12 AM
nope, there is one
and it is mine
 
Mocking with me around SO, well thank you all. :(
 
akappa, we're trying to get rid of the NaRQ close reason, and just use close as dupe instead (see discussion above) ;)
 
@BenVoigt: this is outright offensive!
flagged that question for moderator attention
 
aww, spoilsport
 
yup
 
1:14 AM
What's offensive though? The idea that bad questions are common in the C++ tag?
 
the idea that I might find your explanation (combined with your rep) reasonable
 
@BenVoigt I think at this point, you might as well just delete the whole thing.
 
We can still close as duplicate of a closed question though (I think)
 
I am human too @BenVoigt. It hurts me when someone offend me just in the way it hurts you when you are offended.
 
Though you'll have to undo your upvote on Takarak's answer.
 
1:15 AM
@Mysticial It has answers...
 
@Takarakaka: I'm not really serious, though
 
You can delete if there are no upvoted answers. You can delete your own answer. And edit + undo upvote on Takarak's answer. Then you can delete the question.
 
About what? @akappa
 
Once it gets closed, it will be hard to delete.
 
@Takarakaka: I'm not really offended
 
1:17 AM
@Mysticial ah yes, that worked
 
Lets upvote it?!
 
it has been removed
 
@BenVoigt, why did you delete it? It was so good, man.
I actually laughed all the time. :D
 
yeah, it was a placeholder for badly written questions
 
Because clearly some people never would have rested until they convinced a diamond mod to delete it.
 
1:19 AM
makes so much sense
 
@akappa He was clearly bored on July 4th night...
 
Ah, forget it, I am diamond mod, I would open it in the case someone has closed it. :)
Godzilla agreed not to close it. :D
 
posted on July 04, 2012

This series has concentrated more on why than on how. This installment offers concrete advice about how to make programming easier when you use asymmetric bounds.

 
Yea, a little bit of fun would be cool... :)
akappa and Michael were the ones that put downvote on your Q. , @BenVoigt
 
I believe there were three downvotes (net -2, with Mystical voting +1)
 
1:23 AM
I don't waste a rep. point for something which will be removed soon
 
@akappa You get it back after it gets deleted.
 
good to know!
 
Yea, one of the mods put downvote too, but I can't name him here, I told him not to flag it for closing and he agreed. ;) @BenVoigt
 
So cast all the downvotes you want on things that are clearly spam.
@Takarakaka Nope, you flagged a post. The post was deleted. The flag is automatically cleared as helpful by the system.
Nobody looked at it.
 
No one flagged a post, Ben deleted it on his own. :) @Mysticial
 
1:26 AM
I flagged it
 
Didn't see it.
 
you have a mean of 1BS/line of chat. Impressive defeat
 
It records only one downvote from your activity on that Q.
 
votes on deleted posts do count on your total votes in your profile.
They changed that a while back. It used to exclude deleted posts.
 
and he keeps going!
 
1:27 AM
Activity: cast - [link]akappa[03:21:32][-1]
 
I hardly ever downvote things. And IIRC, everything that I've downvoted has been deleted.
 
I have ~500 up and ~40 down. Dunno if my down/up ratio is above or below the average
 
@akappa I'd say that the average is highly skewed. High rep users probably downvote a lot more than low-rep users.
I've seen quite a lot of high-rep users have more than a 5:1 ratio of up/down votes.
 
because they fear less the rep. change?
or because they are boring perfectionists?
 
Probably cause they're faster to spot errors in other answers.
And if they play the repwhoring game, it gives an excuse to downvote computing answers.
 
1:32 AM
this voting mechanism is bot a bless and a curse
 
Especially in the C/C++ tags where there are a lot of pedantic details. Get one wrong, and you'll get downvoted like crazy.
Of course, I'm not good those all those pedantic C/C++ stuff, so I can rarely answer those questions anyway...
 
This easiest way to get downvoted in the C++ tag is to use C constructs.
 
@Mysticial And of course, that is also true if you answer a C question with a C++ answer or vice-versa. (Although the latter happens way more often.)
 
I saw a lot of highly-rep users answer questions which has been posted 30 seconds ago, with the techinique "put a placeholder and start improving it"
pathetic
 
@RMartinhoFernandes very true. :)
 
1:35 AM
@RMartinhoFernandes: or use some news instead of automatic storage
 
445
Q: Fastest Gun in the West Problem

Omer van KloetenI feel like there's a problem with Stack Overflow, as the number of people prowling it increases. Each question's answers are sorted by descending score and then descending time of posting. This means that if a person sits down and answers a question in a long, thorough way, going through every ...

 
@RMartinhoFernandes Not always; if the answer manages to avoid being linked here, then it'll probably go around unmolested.
 
@Insilico: yeah, that.
 
I was a notorious repwhore for my first few months... then it got old... lol
 
@EtiennedeMartel lol, yeah, we're a QA squad.
 
1:36 AM
@Mysticial: or you got a GF?
 
@Mysticial That was me when I'm close to getting some kind of new privilege (e.g. close to 3K, 10K, 20K)
Now I really don't give a damn. :-P
 
@Mysticial are you learning Japanese or something?
 
what you get at 10k?
 
@akappa um, no. lol
 
@akappa I saw an answer like that once. It was basically "It's really easy, check this out in a few minutes for the answer"
 
1:36 AM
Unless the SO people come up with a 30K privilege or something.
 
We downvoted it to oblivion.
 
@EtiennedeMartel I just downvote those.
 
@EtiennedeMartel If it's really easy do you need a few minutes to write the answer? :-P
 
@Insilico Shhhh.
 
I'm fine if you post "The solution is X", and then later on expand on what X is, or whatever. But if you post something with zero content, I'll just -1.
 
1:38 AM
That loop question was a huge "heads up" for me that, there are better things to do on SO than to repwhore...
 
@Insilico: because you have to put a detailed description of all the principles from basic constructs up to the problem at hand, plus some drawings, to impress the people and get some upvotes
 
@akappa If you do that, you don't need to be there first.
 
@akappa No. You just need to quote the Standard. Bam, +10 upvotes guaranteed.
 
You only need to be there first to get votes for no effort.
 
@EtiennedeMartel: depends on the kind of questions. In C++ questions, sure
in those in the algorithm tag it doesn't work like that
 
1:39 AM
@EtiennedeMartel We might be close to pretty much duplicating the entire standard in some form on SO.
 
A well played image = 100+ votes guaranteed. :)
 
@RMartinhoFernandes: and what about those who visit the question at the beginning? You'd lose those precious upvotes!
 
Where's that randomness question...
 
@Mysticial *pop!*
 
1:41 AM
1179
A: Understanding "randomness"

belisariusJust a clarification Although the previous answers are right whenever you try to spot the randomness of a pseudo-random variable or its multiplication, you should be aware that while Random() is usually uniformly distributed, Random() * Random() is not. Example This is a uniform random distr...

778
A: How does this CSS triangle shape work?

sdleihssirhcCSS Triangles: A Tragedy in Five Acts As alex said, borders of equal width butt up against each other at 45 degree angles: When you have no top border, it looks like this: Then you give it a width of 0... ...and a height of 0... ...and finally, you make the two side borders transpare...

And of course there's mine...
But I didn't rely entirely on the image. It already had 80+ votes on it before I added the layman example/train analogy.
 
Quality answers, such as "CSS Triangles: A Tragedy in Five Acts," is made possible by the generous upvotes of readers like you. — sdleihssirhc Aug 16 '11 at 4:18
Upvotes tend to go exponentially.
The more people see it, the more it spreads, and so on.
 
1014
A: How do I find Waldo with Mathematica?

HeikeI've found Waldo! How I've done it First, I'm filtering out all colours that aren't red waldo = Import["http://www.findwaldo.com/fankit/graphics/IntlManOfLiterature/Scenes/DepartmentStore.jpg"]; red = Fold[ImageSubtract, #[[1]], Rest[#]] &@ColorSeparate[waldo]; Next, I'm calculating th...

So yeah, pictures work. You just have to play them right.
I think there's been about 10 instances where I used a picture. 3 of them turned out well.
Time to see if my town has any fireworks...
later
 
going to bed
 
2:05 AM
dammit, canceled because of extreme weather... lol
 
ugh... my video driver crashed on my vista laptop when i set it up to my external monitor >.>
cant wait till i get a new laptop >.> this thing is a POC -_-
 
@ITNinja What's stopping you from getting a new laptop?
 
Money >.>
im thinking about getting a desktop instead though, and using that for school, then using my newer win7 laptop for programming on (I have a tendency to crash my computer alot :P)
 
@RMartinhoFernandes wtf?
 
2:19 AM
LOL!
im todally going to buy one....
totally*
xD
oh, i dont think ive said it yet, but happy fourth! :)
 
It's the fifth.
 
east coast N.A is the 4th still :)
anyways, i will talk to yall later. Im off to watch dr.who :)
bye :)
 
Q: I'm very disappointed about the quoted delivery times for this item. Is there anyway that the delivery of these particles can be accelerated?
A: Yes indeed. Australia post can get your particles up to 99.99% of the speed of light however the electricity cost will incur additional carbon tax...
 
2:40 AM
Wow I just got a proner. — Marko 5 mins ago
um... lol
I had to look that up...
 
2:59 AM
-1
Q: Recycling machine works? How do I choose recycling machine?

machineryI want to use a recycling machine,How should I choose?

^ What the hell? Someone close this.
 
 
2 hours later…
5:12 AM
Morning
 
evening
 
afternoon
 
@Mysticial You still haven't told me why you left California ;)
 
5:29 AM
@ManofOneWay When did you ask me that?
 
7 hours ago, by Man of One Way
Why have you left? =)
 
Oh, you never pinged me. That's why I didn't see it.
I'm away for college.
 
@Mysticial Why did you decide to not chose a college in CA? I thought they were the best
 
Simple: Of the ones that I got into, California schools were definitely not the best.
 
@Mysticial You were lazy in high school? :D
 
5:38 AM
As much as I wanted to stay in California, I couldn't because only the shitty schools accepted me.
 
Ah okey :(
 
@DomagojPandža Laziness has nothing to do with high school performance.
 
@Mysticial Well, you're not dumb. So what was it? Competition?
 
5:56 AM
@DomagojPandža Grades sucked, SAT scores sucked. Everything academic about me sucked. And I was in a neighborhood where failing get into Ivy league meant suicide was the best option.
 
@Mysticial The important thing is that you don't suck. And society pressure - society can go choke on it.
 
@DomagojPandža And I fully understood that. That's why I'm still hanging on.
 
@Mysticial Mate, from what I've seen, your Ivy league fancy neighbourhood is hanging on. You're standing on rock solid ground made out of pi digits.
 
It's not fun graduating at the bottom quartile of the class. But I managed. However hard it was...
I did better in College though. All my classmates graduated top of their classes in high school. So they were all cocky - thought they could handle anything. I knew what was coming so I took it easy. Then I watched at they all crashed and cried...
 
That's the best part :D
 
6:06 AM
cause clearly few if them ever had any academic hardship prior to college.
 
 
1 hour later…
7:31 AM
0
A: What are the key terms **rvalue** and **lvalue**?

FredOverflowThe terms are somewhat language-specific; they were first introduced in CPL. Being an lvalue or an rvalue is a property of an expression; that is, every expression is either an lvalue or an rvalue. You will often find explanations that deal with the left and right side of an assignment. That is ...

 
There, have an upvote.
 
reading some Chinese code - i32 buff_create_dong_by_att() I wonder what actually this function does o_O
 
AFAIK "dong" is a currency
 
			f32 Demage_Value = 0.f;
			Demage_Value +=	calc_reflcet_pawn(src_ptr->get_pawn_att_client((ERoleState)ERS_HP),reflect_pawn_ptr->ReflectAtt.Att[ERS_HP]);
			Demage_Value +=	calc_reflcet_pawn(src_ptr->get_pawn_att_client((ERoleState)ERS_MP),reflect_pawn_ptr->ReflectAtt.Att[ERS_MP]);
^ oh my... it should be "buff_create_*dmg*_by_att"
 
:\
 
7:43 AM
@refp currency? afaik it's another thing - urbandictionary.com/define.php?term=dong
 
@Abyx it even says currency in the link you provided.. I'm in no mood for jokes at this hour, sorry.
 
unfortunately it's not a joke, it's a code I maintain :'(
 
Heh.
XTerm 256-color is cool.
 
@Abyx Lucky you. The only chinese code I've had to deal with was all in chinese...
I see you're debugging a MMO also.
 
@Cicada yep
 
7:48 AM
Which one?
 
afaik it's sorta not known beyond China and Russia (and in those countries also)
 
That's not an answer.
 
even en.wikipedia.org doesn't know it %)
but tvtropes knows about everything.
 
I'm writing a function to be something like Output("Hello, world!", Color(0.0, 0.0, 1.0)). Would it be bad if the RGB values of a Color object couldn't be retrieved after it's constructed?
 
@Maxpm show the Color code
 
8:03 AM
@Abyx Just a moment. (It's in D, but the same principles apply.)
 
also what do you mean by "values couldn't be retrieved"?
 
morning
 
morning.
 
@Maxpm Yes.
 
@DeadMG Really? I figured that it really only exists to pack things into one argument, and people wouldn't really pass them around themselves.
 
8:10 AM
@DeadMG Morning
 
@Cicada merci beaucoup
 
8:20 AM
@Maxpm No.
how are you going to send a Color to the GPU or another drawing API?
it can't possibly serve any purpose, whatsoever, if you cannot inspect the contents
 
It's for ANSI escape codes. There's a module-protected member function to get the code for that color.
 
ah
so in other words, you have invented a Colour class, but restricted it so that it is only possibly useful for yourself
 
I'm trying to work around the issue of what happens when someone tries to retrieve the RGB values of a basic ANSI color, which are undefined.
@DeadMG Pretty much, yeah.
 
give them the colours they passed in the constructor...?
also, WTF is an ANSI colour?
 
The eight color codes that are actually in the standard, as opposed to XTerm's 256-color extension.
 
8:26 AM
@DeadMG color codes, for *nix consoles
 
They have defined names (RED, BLACK, etc.) but not defined RGB values.
 
right
but if you've gone from RGB to defined name, then you have already defined a mapping
 
-3
Q: High Performance computing and multithreading

user1503343i want to know about high performance computing http://anandiyer1990.blogspot.com

Two more close votes needed.
 
+1 sarcastic answer
 
@Maxpm your Color needs to be an interface
that way you can have RGBColor, ANSIColor, WebColor, etc.
 
8:30 AM
@ecatmur Preferably some Singletons and ProxyBeanAdapterBridgeStrategyFactories too
 
D structs can't inherit. You need classes for that, and then it basically becomes Java.
Nobody wants to do Output("Hi.", new Color(1.0, 1.0, 0.0)).
 
@DeadMG You should've seen @BenVoigt 's prank question from earlier.
 
@Maxpm ewwwww, D.
 
@DeadMG I'm not going from RGB to defined name.
 
really? cause 1.0, 1.0, 0.0 sure looks like R,G,B to me
 
8:35 AM
Right...?
 
then WTF are the arguments?
 
That gets converted into an escape code that looks something like \033[37;5;123.
The 123 at the end would be a byte with the RGB packed in.
ANSI colors get converted into escape codes that look like \033[31, \033[32, etc.
 
well that's just a supremely confusing interface
if you want to give out ANSI colours, just make 8 constants for them and call them a day
 
yeah, most terminals let you customise the ANSI colours so they can't be said to have RGB values
 
That's what I'm doing. The idea is that Color objects, when constructed directly by calling code, represent XTerm 256-color colors. There's a module-protected constructor that makes them represent ANSI colors.
There would be eight constants that use the module-protected constructor.
 
8:39 AM
Oh ICC u so stronk
 
but if ANSI colours can't be defined from RGB, how can the module-protected constructor possibly work?
 
It takes a single number that represents the character's index, from 0 to 9. (8 is used in 256-color escape codes, and 9 is used for resetting the default color.)
 
so you're using the same class to represent two completely different kinds of thing?
 
Well, they're used interchangeably, and I can't do inheritance here.
 
then get new language which does allow best practice
 
8:46 AM
@DeadMG There's a new girl in the chat, and she seems to be looking for C++ Developers.
 
:\
 
hmm, sounds good to me
 
@Koriandr Do you have work for a genius?
 
I might be able to use a template for it, but that seems kind of clunky.
 
@Maxpm Overload?
 
8:51 AM
@DeadMG I'd need to make four functions, but that's an option.
Here's what I was talking about before.
 
you should make people call a special function, IMO, if the function is only supported on some systems
not to mention the fact that your interface takes a range of colours which you can't possibly support
in fact, a separate type seems like the best bet, because people who take a Colour have no idea if it's good to use or not.
 
Good point.
My friend suggested that I allow RGB retrieval, and return -1 when the object is an ANSI color. But that reminds me too much of Java's OperationNotSupportedException.
 
I agree with you
thats just bad
 
Another option is to have a struct that holds a union and an enum representing which part of the union is initialized.
I briefly considered some kind of Lisp-y nesting thing.
 
hello
大家好!
 
8:59 AM
Output("Hello, " Colorize(BLUE, "world!"));
But support would be a little half-assed, because evaluation order is undefined.
You could fix some of it with lazy evaluation, but people wouldn't be able to concatenate stuff in an output statement.
 
that's really quite silly
D doesn't have defined evaluation order for function arguments?
thought they were trying to be better than C++
 
I don't think so.
I'm not sure where to look.
I know for sure that I'm trying to avoid something stream-like. I don't want Output("Hello, ", Colorize(0.0, 1.0, 0.0), "world!", RESET), although that would probably make things a lot easier.
 
if you need a strict evaluation order then you don't have much choice
 
Because people don't say, "Make everything after this green, except when it's after this. Then make it the default color again." They say, "Make this green." For every application of the library that I can think of, people know ahead of time what they want colorized.
 
I personally went for Output(arg1)(arg2)(arg3)(arg4)
 
9:06 AM
Why all the parentheses?
 
function call chaining?
better than <<
 
How would that look in an actual call?
 
what, for you, or in Wide?
 
In Wide.
 
well, actually, since you can call Output with a tuple, you can just do Output(arg1, arg2, ..., argN) as well
I don't even know why I added the chaining
but the output order is well-defined
 
9:14 AM
@DeadMG What's the return type of Output there
 
decltype(Output) (insofar as I have decltype)
the Standard i/o/e streams are of undefined type
 
So it's a stream, not a function?
 
what, I can't overload operator() and have both?
 
it can be ctor - struct Output { Output(..); Output& operator()(..); };
 
If you want. Not my taste. I'd rather go for Output.Write(...).Write(...).Write(...)
 
9:19 AM
@Cicada No need for that. You can call Output with as many args as you like. It's the equivalent of a variadic template.
 
@Cicada it makes sense only if you have WriteSome() and WriteAnother(), for only one function operator() is better
 
No, what I meant is : if you really want method chaining, at least make it obvious
As in Object.Method().Method()
And not just Object()()()
 
operator() is obvious %)
 
right... but objects with only one function should be operator(), IMO
 
Matter of taste anyway
 
9:22 AM
anyways, the only reason you'd actually use that feature is if you were gonna flush it afterwards
Output(args...).Flush();
 
Output(a)(b)(c) & Flush;
 
@Abyx egad
 
OH HAI !
 
hi
 
9:39 AM
I'm impressed, first time actually talking C++ since I came here !
Even if I'm a noob here
 
21 hours ago, by jalf
This chat is not for asking questions on. It is for slacking
 
It wasn't question, it was argueing. So it's stay in topic
it stays **
 
Topic? What topic?
 
I don't remember any topic
 
the topic is "The Great Procrastination Drive"
 
9:45 AM
the topic is ... I can't be bothered to state it
 
sbi
We apologize for talking C++. The room will revert to normal operation shortly.
7
 
thank you !
 
room topic changed to Lounge<C++>: We apologize for talking C++. The room will revert to normal operation shortly. [c++] [c++11] [c++-faq]
Hi.
 
sbi
> The single most important scientific discovery in modern physics is now yours to own!@JamesMcNellis
 

« first day (628 days earlier)      last day (4317 days later) »