« first day (572 days earlier)      last day (4394 days later) » 

10:00 PM
bool operator ==(const QuestionStickyLog& str) const
{
return qID == str.qID;
}
for the 2nd vector
 
@classdaknok_t the worse the pun, the better the pun?
 
@RMartinhoFernandes it causes it to actually produce a variable with that type and set it. the compiler shouldn't make any assumptions about the side-effects that might have.
 
@stdOrgnlDave Why not? There are no observable side-effects in doing that assignment.
 
I suppose I could set a place in memory, who knows where the f*ck >8k pointer dereferences will travel
 
@Atif those are fine, there must be an element in the second array with the qID set to mqID. Does QuestionStickyLog have: default constructor, copy constructor,move constructor, assignment operator, move assignment operator, and (possibly virtual) destructor?
 
10:02 PM
if only I could put 8k *'s...oh well
 
@RMartinhoFernandes stop that
 
> Rimshots are completely optional
 
@sehe depends on the pun.
 
@RMartinhoFernandes yes, stop that. if a compiler is making those kinds of assumptions I will stop using it
 
<rimshot>
 
10:02 PM
@stdOrgnlDave What?
 
@stdOrgnlDave every compiler I've ever used can and does make those assumptions, he is correct. I told him to stop linking tropes.
 
@stdOrgnlDave That's not assumptions.
It's specified behaviour of the 'c++ virtual machine' (or what it's termed in the standard)
 
@MooingDuck default constructor yes, and then setters/getters for the private data members
 
@Atif put in all the rest
 
10:03 PM
@RMartinhoFernandes Thank you, abstract machine :)
 
sure lemme try and do that
 
@TonyTheLion Looks like normal cars in 16:9 displayed in 4:3, mostly
 
@stdOrgnlDave C++11 Feb11 draft: § 1.9\1 "conforming implementations are required to emulate (only) the observable behavior of the abstract machine as explained below."
 
@TonyTheLion Fukken ugly, those cars. Give me a low rider.
 
10:04 PM
@sehe why did you have to be so pendantic
and ruin the joke
 
@MooingDuck Why are you using an year old draft?
 
@TonyTheLion Didn't notice the joke. Sry
 
um, who has a conforming C++11 compiler?
 
then it was a bad joke probs
 
@RMartinhoFernandes it's the one right before the official release. It's not a good reason
 
10:05 PM
if C++03 says that I'll happily concede the point!
 
@TonyTheLion I'm beginning to wonder whether I'm a little more into the autistic spectrum than anyone ever really accounted for :)
 
@sehe struggles to not post another trope link
 
@stdOrgnlDave it does. so do all the C specs.
 
OK, point conceded
 
@stdOrgnlDave But that has no DRs and no editorial fixes!
 
10:06 PM
@stdOrgnlDave that's why benchmarks are hard :(
 
still, either way, we know that every compiler is actually instantiating the templates
 
@stdOrgnlDave true enough
 
Yep, surprising as it is, when you program C++, you're programming for an abstract machine.
 
@RMartinhoFernandes wait, does C have the abstract machine thing?
 
@stdOrgnlDave some are instantiating them a lot louder than others, though
 
10:06 PM
@MooingDuck yes.
 
as opposed to a concrete machine?
 
@DeadMG k
 
@sehe should I feel bad now?
 
@stdOrgnlDave yes
 
@MooingDuck It's the portability. Quite a big thing really, for C
 
10:07 PM
@MooingDuck there was sarcasm there
 
Although in the written English language there is no standard way to denote irony or sarcasm, several forms of punctuation have been proposed. Among the oldest and frequently attested are the percontation point invented by English printer Henry Denham in the 1580s, and the irony mark, furthered by French poet Alcanter de Brahm in the 19th century. Both of these marks were represented visually by a backwards question mark (in Unicode: ). Using LaTeX, one can display it by including the graphicx package, and then using \reflectbox?. These punctuation marks are primarily used to indicate ...
 
@TonyTheLion Nope. Just an observation I make as the years pass. I have a knack of missing jokes like that, by just looking at the presented info, not the intent of the presenter.
 
Monday my final exams I have. Excited I am.
 
lol, "love point"
 
10:08 PM
Besides that, I obviously love to take things literally, or the wrong way
I call it laterally thinking, but in reality it's probably just an excuse for dealing with the fact that my brain comes up with different logical 'first responses' than most people
 
I wonder if there's a geordi ICC bot somewhere that I can go spike for a few hours with that
 
@stdOrgnlDave evil. other newbie users might want to test decent code against it
 
@sehe I prefer to call it "being 2000 times smarter than everyone else"
 
@DeadMG I noticed that
 
10:11 PM
@johnathon I have already explained I like to torture geordi
 
measured by Scienceâ„¢
 
@stdOrgnlDave yes, indeed.
 
!!Science!! is a superior method.
 
personally, I prefer std::vector<Science> method; method.resize(9999999);
 
@sehe *knack for, I guess
 
10:12 PM
here's the thing I don't get: a compiler should detect template recursions pretty quickly. it should have a counter that starts at 0 when a "base" template starts compiling, and increments each time it instantiates another template. then it can hit its internal limit even if you "trick" it
 
@DeadMG cycle [science] is superior.
 
nah
@stdOrgnlDave That's how it's supposed to work
 
@sehe could also have been the image I presented, and not you. But I guess that's for you decide
 
@stdOrgnlDave you seem to be implying that it's better to crash than to compile my code slowly. I'd disagree.
 
It's better to compile my code fast.
And shut up about any mistakes I made.
 
10:16 PM
@TonyTheLion I have already been as far as decided
 
@MooingDuck no, I'm saying that it should reach its instantiation limit like it's supposed to before it crashes
 
@sehe oh k :)
 
@stdOrgnlDave And they do.
 
@stdOrgnlDave oh, eh. I'd still disagree. That'd slow it down, and lower whatever the limit is, for no real reason.
 
Ah. The robot will know: what compiler was that that said, instead of `0 errors, 0 warnings`:
-- The compiler was unable to detect any of your errors.
 
10:17 PM
I'd rather it gave 100% effort than give up because it was hard.
 
@MooingDuck The price of incrementing a counter per template instantiation is absolutely negligible.
 
I don't understand what you guys are discussing.
 
@DeadMG still places an artificial limit
@RMartinhoFernandes maximum template depth I think
 
Yup
 
Which compiler has template recursion depth limit but doesn't actually check it?
 
10:19 PM
@MooingDuck Sure. Because the compiler vendors didn't build their template systems for arbitrary instantiations. Those instantiations take up actual memory, for example.
you don't want the compiler to ICE because it hit the virtual memory limit
 
Judging for the ridiculousness of that sentence I'd hazard it's MSVC. Am I right?
 
@RMartinhoFernandes the point is that all of the tested compilers have al imit and don't use a specific easy method to check it that would stop them from doing this
 
@stdOrgnlDave They do.
GCC uses 255 by default.
 
also
my neck hurts
 
@MooingDuck What?
 
10:20 PM
@MooingDuck "copy constructor,move constructor, assignment operator, move assignment operator, virtual destructor " seem to be more diffucult then i imagined ... but m learning them one by one through google
 
@RMartinhoFernandes oh, that's why they go to more than 6,400 and crash
 
@stdOrgnlDave See that code never recurses deeper than ~160 levels.
 
@Atif That's a little more than you have to put on one single class.
 
@DeadMG I'd rather it ICE than give up because it was "hard".
 
@RMartinhoFernandes hmmmm. good point.
 
10:20 PM
That's why it has add_more_pointers and it's not just add_pointers<6400...
 
you can re-use the copy/move constructors to implement the assignment operator, and most classes which require value types don't need a virtual destructor
 
Compilers have trouble chewing it because it generates lots of crazy big template-ids.
 
@DeadMG no idea as m new to c++ and do what some people advice here
learning my way up hoping i can have my program compile and behave as it should
 
@Atif depends on the class, but I guessed one or more of those was the root cause of your bug
 
@MooingDuck hoping for the same ... and learning a few things at the same time
would be worth the effort if it resolves the bug in the end
 
10:23 PM
@Atif can you give us an Ideone link to your QuestionStickyLog class?
 
Wow, that ideone link was lucky.
 
yeah i got a nice name combination
 
if I were you I'd keep that ideone link and sell it
 
lol
 
10:26 PM
@Atif that class only has POD members and no pointers, seems unlikely that constructors/assignment/destructors are the cause of your problem.
@Atif: which again just leaves us with the fact that an element was in the second vector with that particular qID.
 
hey
hey
if every website has unique IP address, why when I type my website's IP address, it just redirects to my hosting's webpage? It's shared hosting
how it knows to show my website then?
 
@hey every website does not have a unique IP address.
 
@Atif not that it'll make any difference, but did you try making that constructor explicit?
 
@hey it has a unique URL
@hey you enter the room and say your own name?
 
i can probaby show the outout of the StickyLogVector proving its not in there
 
10:28 PM
@hey Read about DNS.
And possibly HTTP as well.
 
hey
@R. Could you explain it very briefly? I watched youtube video
 
Process Sticky Log ID: 14
Question Sticky Log ID: 1
Question Sticky Log Ans: 1
Question Sticky Log ID: 3
Question Sticky Log Ans: 2
Question Sticky Log ID: 4
Question Sticky Log Ans: 2
 
hey
some people say all websites has unique address
 
OMG VS9 handles multiple XML files poorly
 
The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. A Domain Name Service translates queries for domain names (which are easier to understand and utilize when accessing the internet) into IP addresses for the purpose of locating computer services and devices worldwide. An often-used analogy to explain the Domain Name System is that it serves as the phone book for the Internet by tr...
 
hey
10:30 PM
and it would make snse.
 
1 hour, 20 minutes...
 
@hey some people say we didn't land on the moon too. And that the stuff behind airplanes is mind control poison.
 
@Mysticial roflol. whats its memory usage at?
 
@stdOrgnlDave A boring 50 MB...
 
note question 2 is missing for process 14 .... as user never entered the question .... and fromt he same file output a few lines below
 
10:31 PM
wtf?
1 hr 20 mins in its at 50MB?
 
@Atif and what was the qID you're looking for
 
so what you're saying is, this compiler is great for really fast machines with very small amounts of RAM
 
@stdOrgnlDave Like, a Porsche Boxter
 
@stdOrgnlDave well none of your templates is exactly large...
 
what i am doing is .. there is a master document with all the questions .. i put them in a vector and pick one question at a time ... compare it with the user questions in the stickylog and if the question is present, give it appropriate score ... otherwise give it zero
 
10:33 PM
@MooingDuck MSVC goes up to about 500mb before it craps out, so I expected a bit more than 50mb
 
@Atif put print statements all over that function, print the elements in the array all over the place. We can't see the data, nor the calling function.
 
this 2nd for loop always finds the same tuple in the QuestionStickylog ... for every process .... (1,2) then (2,3) then (3,2) and then (4,1) .. same answer sequence for all the questions
ohh i ahve print statement all over in the program ...
 
Lol someone telling me that "you should not use deprecated OpenGL functionality" is "just my opinion".
 
i print the questionstickylog before entering the vectors in the loop .. it shows the correct data
 
@Atif then they will show you the problem
@Atif then you need more print statements
 
10:35 PM
Gawd some people.
 
as soon as it enters the 2nd loop ... they print the wrong data .. data which is not even valid
and print is the first thing i do as soon as i enter the 2nd loop ... my gut tells me its a case of pointer gone wrong sumwhr ....
 
@Atif I didn't see any pointers in your code
 
i meant the vectors ...
 
hey
it makes no sense :D
 
@Atif what happens when you print the second vector before the first loop begins
 
10:39 PM
i might be tempted to forsake the vector and pick map instead .... it might perform better espc for key value pairings
before the 2nd loop .. it shows the correct data
 
hey
@Mooin: Explain please
 
in the questionstickylog
 
@Atif if they're paired, use a map, please.
 
they are paired as question-> answer
 
@Atif that can't be right, but I can't help you without the the full code and a debugger
@Atif then use a map, or a pair
 
10:40 PM
and Process -> questions
is there an easy gui based debugger for gcc ?
currently i use terminal and can only work with print statements
 
@Mysticial ping me if/when it ever finishes? I'm watching TV
 
lol
 
@Atif Eclipse, Netbeans, CodeBlocks, and others
 
ohhh i completely forgot about that ... for some reason i thought it would be some terminal based app
yeah i migth have to do the debugging ... its getting on my nerves now ... thanks bro
 
user406009
I am fairly sure all of them use the terminal based application gdb.
 
10:45 PM
let me try that and i would get back to you if required .. apperetiate your advices
 
@Atif debugging is more than 60% of programming. You'll have to get used to it :(
@EthanSteinberg I don't think it's a lot less than "all" of us
 
gdb i cant understand although i tried to do it ....
 
@Atif don't bother, too hard. Get Eclipse or something
 
yeah i will start with eclipse .. tonite either this goes down or ..... i dont even wanna think abt the OR :)
 
user406009
DDD might also work with less setup.
 
10:47 PM
thanks guys and c ya in some time :)
 
@EthanSteinberg never heard of it. How hard is it to randomly pick up and use?
 
user406009
Not as easily as the better designed eclipse and family. But it is a standalone program.
 
Someday I'll find a linux C++ IDE+debugger I like, and I'll finally learn to Linux.
 
@MooingDuck A man can dream
 
@MooingDuck use a VM and run Windows on your Linux
 
10:52 PM
@stdOrgnlDave I run linux in a VM on my Windows on my Macbook hardware :D
 
@stdOrgnlDave Or run linux on your windows
 
I'm going to star that just so you stop editing it
 
@MooingDuck You just have to make the plunge and use it for like a month full time
 
and by "run linux" I mean "boot it every couple months to install updates, and shut it down again"
 
You may say that man with a dream that hasn't come true is a looser, but it's not true, a man without any dream is a looser for not having something to thrive for.
 
10:54 PM
@Collin I game, and code between games. Linux fulltime is less of an option than mac was.
 
Some day, it will come true, @MooingDuck . :)
 
@SerenityStackHolder codeblocks looks good, maybe I'll try that next
 
@MooingDuck Ahh, yeah I have linux on my laptop and windows on the desktop computer for exactly that reason
 
Sure, have a try! Codeblocks is fine for me. :)
 
Hi all
 
10:55 PM
@Collin or maybe I can try QT.
 
Hello friend
 
@MooingDuck I've done very little in QT, but thought it was kinda nice
 
There is FileStorage class. I can write to files: ` FileStorage fs; fs << "key" << "value";`
How to do the same, if I have `fsp` variable that is pointer to `FileStorage` ?
 
ooh, code blocks imports VS projects, that's a major plus!
 
@Innuendo *fsp << "key" << "value";
 
user406009
10:56 PM
Code blocks just needs better code completion.
 
user406009
They should integrate clang.
 
@Collin that's way the first way I tried ;)
 
@EthanSteinberg oh, forgot about that, code completion is massive :(
 
@Innuendo maybe the parens? (*fsp) << "key" << "value";
 
@Innuendo and did it work?
 
10:57 PM
* has higher precedence
 
@Pubby that's what I thought
 
Hm.. maybe. I'll try now. without parens didn't work
 
And code complete is annoying in most IDEs
 
@Innuendo What does "didn't work" mean?
 
@Pubby are we talking completion or suggestion?
 
10:59 PM
@MooingDuck One day I'll understand this massive dependency on code completion.
 
I live VS' suggestions, I hate netbeans completion.
 
@Mysticial is the little slugger still going? :-(
 
@MooingDuck Personally find it close to worthless without concepts.
 
@stdOrgnlDave :)
 
Damn, stop scrolling!
I failed two plinks.
 
10:59 PM
@RMartinhoFernandes touché
Didn't I do that to you earlier? The robot has a long memory.
 
@MooingDuck cgdb is nice (curses implementation of gdb that lets you see the source code as you debug)
 
It's possible. It happens with some regularity.
 
@Collin, @MooingDuck: Sorry. It worked... I've tried again with just *fsp and it works!. Now I've tried with simpler example, but then when didn't work, it maybe was an error with passed type of value
 
@Innuendo Ah, yes if there's no overload for that type for '<<' you'd get an error as well
 
11:17 PM
I just built ICU as a static library with g++ on Windows and it made a .dll, .lib, and .a for each library
which one should I use?
 
The .as are the static ones.
 
@RMartinhoFernandes is it just -llibblah then for those as well?
 
@RMartinhoFernandes I don't recall seeing .a before, I thought .lib were static libraries.
 
@MooingDuck MSVC uses .lib
 
11:19 PM
@RMartinhoFernandes mingw/cygwin use .a?
 
why open id login disappeared on SO?
 
@RMartinhoFernandes How does it tell whether I want to link the .lib or .a?
they have the same names
 
@SethCarnegie Dunno. If you compile with -static it picks whatever is the right one.
(Which I'm guessing is the .a)
@CheersandhthAlf Hmm, it didn't.
 
@RMartinhoFernandes yesterday and today only 4 buttons. no openid
 
11:21 PM
@RMartinhoFernandes so then I have to compile my program with -static?
 
@CheersandhthAlf There's a "Show more login options..." thing below.
 
huh, bastards!
to power up your TV set, open the underside compartment labeled "advanced"
 
@CheersandhthAlf what, like touch my TV?
 
yep, that's a "touch-TV"
 
11:24 PM
@SethCarnegie I believe -static makes it pick static libraries for any lib specified after it in the command-line. I really recommend reading what the manual says, as GCC likes to be crazy with the flags.
 
Oh my, I've got an anti-macro idiot on my tails, downvoting answers with macros
The retarded are so annoying sometimes, I forget my manners
 
@CheersandhthAlf lol
 
-2
A: Defects of the STL

Cheers and hth. - AlfRegarding algorithms such as sort, just define wrappers as you like them. And if you don't like to define individual wrappers, then define a macro #define ALL_OF( container ) startOf( container ), endOf( container ) With suitable startOf and endOf function templates this works nicely for both...

 
@Mysticial what was the total runtime? :-D
 
^ Almost understandable downvote
 
11:29 PM
@stdOrgnlDave 2 hours 20 min. and still going... :)
I'll let it go overnight. If it doesn't finish by this time tomorrow I'll probably kill it.
 
-2
A: Cleanly duplicate an instance of a baseclass or subclass in C++?

Cheers and hth. - AlfYour last example, ... Food* food1 = dynamic_cast<Food*>(apple1); Apple* clone2 = f1->clone(); ... won't work, even with the speling eror corrected. You need the cast the other way: Food* food1 = apple1; Apple* clone2 = dynamic_cast<Apple*>( f1->clone() ); Apart from that,...

^ The reason I know that it's a moron on my tail.
 
Xeo
@CheersandhthAlf You could actually update that answer with std::begin and std::end from C++11
Nevermind that
 
@Mysticial this is ridiculous. still 50mb?
@Mysticial I wonder if it just hit an infinite loop bug
 
@stdOrgnlDave It went up to........ 55MB
 
lol
I'm beginning to wonder if it doesn't work like the C pre-processor.... process template and write it out. ok, there's another template? process that and write it out. repeat ad infinatum
 
11:33 PM
Hm, yet another downvote of the first one. Reddit, or idiot present in the lounge?
It is very annoying with morons everywhere, with the right to vote
 
how do i get my .cxx file to work in eclipse ?
 
I want voting on SO to have a requirement of first answer an arithmetic or logic question correctly
 
@CheersandhthAlf you seriously advise to define such macro?
 
Xeo
@CheersandhthAlf Maybe you should explain why the macro?
 
@CheersandhthAlf If it was reddit, there'd be a lot more than 300 views on those.
 
Xeo
11:34 PM
It's not immediatly obvious. :P
@Abyx Solve it without a macro.
And I mean that exact same purpose
Answer: You can't have two arguments as a return from a single function
 
@Abyx Of course, for C++03. It has no problems and great practical advantage. An alternative is to wrap every function, like sort.
 
Xeo
@CheersandhthAlf tbh, the double-evaluation is a problem, albeit a minor one. IMHO, anyways.
 
I wish people would stop using things like "Animal: Person: Man" or "Food: Fruit: Apple" or whatever to show simple inheritance hierarchies. the fact is that sometimes what is intuitive for some is counterintuitive for others
 
@Xeo boost.range2
 
Xeo
@Abyx I know of that, I love it, and I advise to use it whenever I can, but I explicitly said "that exact same purpose" of wrapping the calls to startOf and endOf
 
11:37 PM
Oh my, a fourth downvote in short order!
 
Xeo
This one might actually be by @Abyx
 
Who are the two persons?
 
@CheersandhthAlf it was mine. Because of macro.
 
@Abyx Provide an alternative without the macro then.
If you can't, admit that you didn't understand the problem.
 
11:40 PM
@CheersandhthAlf mine, macro, and it should be in the library, and DeadMG's solutions. Yes it's more wrappers, but I prefer those to macros.
 
amdrunk
How are you?
 
@MooingDuck what do you mean, it doesn't even parse. are you saying you have a solution i some library somewhere?
 
roflcakes, seriously, who can't make a template to construct an STL iterator?
it's one of the more trivial things I can think of
 
@CheersandhthAlf in every case, it's wrong idea to use a macro definitions in C++.
 
@CheersandhthAlf DeadMG's wrappers should have been in the standard library, and are preferable in either case to macros.
 
11:41 PM
Wrong brandy-cola proportions make you drunk.
Really.
 
@CatPlusPlus I knew there was a lolcat in you
 
@stdOrgnlDave you need to pass on two of them. if that's trivial to you then you're better than me. i seriously doubt that you are.
 
@Abyx not in every case
@stdOrgnlDave what are you talking about?
 
@MooingDuck can you show such a wrapper and explain it. are you talking about wrapping every function that takes two iterators?
 
@CheersandhthAlf yes
 
11:43 PM
if so, then that's not a solution: it's the problem
so, plain stupid
 
I am talking about a generic iterator you can use for say, C arrays
 
@stdOrgnlDave nobody else is, why are you changing the subject?
 
or whatever else you want to .begin() or .end()
 
@CheersandhthAlf I disagree. And so do many others apperently
@stdOrgnlDave I think you have no idea what we're debating
 
@CheersandhthAlf why do you think I am not "better than you"?
 
11:44 PM
Am not loclat.
4
 
@stdOrgnlDave don't go there ;P
 
@MooingDuck probably true, I just stuck my head in and saw an argument about macros and thought it had todo with the macro/iterator thingy
 
@stdOrgnlDave it does, but making an iterator solves nothing
 
just because I'm an ignorant ass in here doesn't mean I'm a poor coder. I let my ignorance out so it can be replaced with wisdom.
 
The opposite of ignorance is knowledge, not wisdom
Why isn't windows letting me cd into another drive
 
11:47 PM
wisdom is applied knowledge. what other stupid platitudes would you like to drag out?
 
@SethCarnegie can't cd to another drive, each drive has it's own cwd. Just type "D:"
 
@stdOrgnlDave i think, saying something is "trivial" when you have not understood it at all and can't offer a solution, that's the mark of incompetence
 
@CheersandhthAlf he can offer a solution, he just didn't. Because he's not talking about the same thing we were.
 
@MooingDuck Ah thanks
 
saying you don't understand something, that's the opposite
not that anyone's done that yet
 
11:47 PM
@CheersandhthAlf I so too can offer a template that satisfies that!
well, except for what @MooingDuck says
what are you talking about?
 
@CheersandhthAlf You got on someones tail. :D
 
@stdOrgnlDave passing containers to standard algorithms instead of iterators
 
@stdOrgnlDave How on earth is that a platitude
it's a definition
 
so why can't you use a template to solve that?
 
@stdOrgnlDave ...Actually, I think it can be done, in a very strange way
 
11:49 PM
@stdOrgnlDave you can, but it involves C++11 argument forwarding, or non-trivial techniques in C++03. too involved for an SO answer two years ago. and not something to recommend as a general technique for SO readers.
 
it's not about "containers and algorithms", it's about insane #define foo(oneArg) arg1(oneArg), arg2(oneArg) solution
 
is it passing iterators itself that you don't like, or implementing them, or just you don't like the syntax?
 
 std::vector<int> things = {3, 2, 1};
 std::sort(things);
@stdOrgnlDave does not compile
@johnathon waitwhat?
 
template<typename T>std::sort(T &a) { std::sort(a.begin(), a.end(), you get the idea
 
11:52 PM
@stdOrgnlDave for each and every algorithm?
 
@MooingDuck well the other easy alternative is an iterator template shrug
 
I wouldn't want std::sort(vec) to work. Conceptually, sorting a vector doesn't make sense. Sorting a vector's data does. So something like std::sort(vec.all()), where all() returns a range delimiting all of it's data.
 
@stdOrgnlDave can you show that
 
@stdOrgnlDave I fail to see how you'd do that
 
the syntax would end up being like
 
11:55 PM
Anyway, at the moment i'm very angry with certain morons. OK to be stupid, but not to sabotage for others.
 
std::sort(wrapper<vec,start>,wrapper<vec,end>
not really an improvement if you're looking to just be able to pass one argument. but it's not like there's that many standard algorithms if you want to overload them the first way
 
@CheersandhthAlf we're merely disagreeing with your statement. Hardly sabotage.
@stdOrgnlDave now that's just silly
 
Dear old Occam had a thing about needless multiplication of entities. I think you're maybe into that here.
 
@CheersandhthAlf just imagine that you may be wrong.
 
@Abyx "wrong" is a stronger statement than applies to his answer. His answer is not "wrong".
 
11:56 PM
Something about haksell.
 
@MooingDuck well it was a GOOD answer, because it was correct, and novel. Now no more fresh SO readers, and in particular googlers, will see that answer. That's sabotage. Also the whole discussion following was interesting. Nobody will see that either, and that's plain sabotage. Fucking morons. I'm so angry.
 
anyway, I'm off. Later
 
@CheersandhthAlf and that's great that noobs can't see that macro.
 
@Abyx just imagine that you're wrong. hey wait, you don't have to imagine it. you know it.
 
@MooingDuck silly, but you can make one for an array really easily just by doing that. etc. etc. once you have that template, you use the original function overload template I suggested and bam-wham, ya-got a std::sort that'll take just about anything. and how hard is it to replace std::sort with other algorithm names and glom em into a .h file? I'm beginning to think I should do this, I never thought it was this big of a deal that people wrote papers and had flamewars over it
 
11:58 PM
@Abyx you'd like them to instead struggle with extreme verbosity? why?
 
@CatPlusPlus want cheezburgs n likker?
 
@CatPlusPlus just go sleep
 
Hello.
 
@Abyx But there's still alcohol lef.t
 

« first day (572 days earlier)      last day (4394 days later) »