« first day (1328 days earlier)      last day (3846 days later) » 

10:00
Hey, I do start the day with a message like that, how about that
already noticed
user1804599
@ThePhD They exist. Deal with it. By not having spaces in your filenames.
Spaces in filenames are inconvenient anyway
I just imagine someone parsing through your command string with << stream commands and it getting broken into two separate parts
user1804599
Use asterisks. :P
10:03
@CatPlusPlus s/spaces in//
Though if you install things to C: root then you're a horrible slob
Your opinions are terrible.
user1804599
I have no C:.
user1804599
I have / :>
yeah, nothing is more convenient than cd c:\ming
10:04
Ugh
user1804599
Ming vase.
I use this guys mingw distro because vs and code blocks have too many options I don't want to deal with nuwen.net/mingw.html
@AaronKyleKilleen yay STL
user3010322
:O
user3010322
I GOT THE COMMAND TO WORK
user1804599
10:06
emerge clang
user3010322
ZomGomZOmGomZOMgOmZOmgomZomgomZomGomZ
Your comment is a bit confusing. It's sounds like the array is converting to something when it's passed. However the array is always a pointer to the first element, even before passing it. — Melkon 2 mins ago
for fuck's sake
the "arrays are pointers" crowd is getting surer of themselves
this cannot be a good thing
@LightnessRacesinOrbit Its the same bullshit as references are const pointers
@Arcoth now that seems much less plausable
@Arcoth heh yeah
References are in fact immutable handles, to pick a generic term that isn't overloaded in C++
user3010322
10:09
user3010322
@Rapptz It's WORKING
user3010322
YAAAY
user3010322
... Except I have to entire it manually into the console. :v
congratulations I suppose.
user3010322
10:09
But the command works, yeah?
I've got this awesome idea to avoid using VMs and all that crap for database assignments
Qt isn't loading your gdbinit probably
it sets autoload to off maybe
@AaronKyleKilleen That's a good distro.
user3010322
It is.
use the MySQL database on the server on which I host my website
user3010322
10:10
But it's automatically saying NO to every source file
user3010322
rather than YES
@LightnessRacesinOrbit I blame the inventors of C. The array-to-pointer conversion is very confusing.
user3010322
And I don't know how to tell it to not be a dick about that.
@FredOverflow not really...
Its comprehensible
> With 1.23, MediaWiki starts to behave more like a modern website
10:11
@Arcoth It is.
user1804599
It's a bad idea.
@FredOverflow It was for backwards compatibility even then.
user1804599
@CatPlusPlus inb4 ajax for page loading
@Griwes And function to pointer decay?
user3010322
gdbinit is unfortunately loaded before any of the files that could possibly be concerned come into play. :(
10:13
@Arcoth It's less confusing, since it doesn't lose any information.
@DeadMG For B? :D
user1804599
@Arcoth Also a bad idea.
user3010322
So when GDB checks against its source files list, it sees no source files are loaded and then QtCreator goes beserk-no and rejects everything.
user1804599
Explicit is better than implicit.
@rightfold (******foo)() hue
user3010322
10:14
Ugh.
user3010322
Damnit QtCreator.
user1804599
I always use &foo.
user3010322
Don't be like this baby. :(
@FredOverflow It's consistently misleading for newbies, yes
Which is why all the professors and books get it wrong
It makes me genuinely sad that there's no way to counter the sheer volume of C++ misinformation being taught daily. It's a little like how they still teach Jesus in schools. It just propagates over and over again.
user1804599
Nuke Earth.
10:15
I tried helping my university
I did okay.
@LightnessRacesinOrbit yeah I use STL, who wants to use VS where whenever you open a .cpp file it opens up several windows all over your screen and then just to start writing you have to go through like 12 different menus and choose one of the 50+ project types 99% of which you never use
user3010322
Nukeness Deplots From Orbit.
@LightnessRacesinOrbit Mind elaborating why you say I pass a pointer to its first element while funcA(&myArray[0]); looks like it is passing by reference? Thanks! — user3437460 3 mins ago
Now this is C++'s fault.
@AaronKyleKilleen s/STL/the standard library/g
quick before he sees.
@LightnessRacesinOrbit if you knew the book "C++ from A to Z" (german one), thats a notorious piece of garbage with good critics on amazon (by either paid people or idiots)
10:16
@Rapptz yeah I mean mingw
@Rapptz Well, he's talking about STL's MinGW distro, so..
@Arcoth Why is the title in English?
I have 1/2 my screen blocked :v
@LightnessRacesinOrbit translated it for you hon
Original is "c++ von a bis z"
user3010322
Is there a way
user3010322
10:18
to cue up an automatic "yes" to a command in GDB?
user3010322
@DeadMG :(
^^
also it's "queue", peasant :P
also, isn't it like, 5am where you are?
@LightnessRacesinOrbit the author derives the class bread from supermarket (or the other way around) lol
user3010322
Nah, it's not 5 AM.
@Mehrdad: In a question asking whether the lecturer or book is wrong, it absolutely "adds something" to analyse the statements of the lecturer and the book. Please don't remove crucial parts of my answer. — Lightness Races in Orbit 39 secs ago
sigh
user1804599
10:20
@LightnessRacesinOrbit You cannot say bad things about HOLY TEACHER.
which is ironic, since he is presumably teaching computer science, but applying the scientific process to his teachings is unacceptable.
Beep boop you must answer the question and in minimum amount of words beep boop
@rightfold :D
I've noticed the quality of Mehrdad's existence has degraded somewhat steadily over the past year or so
"That's really suspicious." what, you think I'm the lecturer or something? Why am I even wasting my time on you... — Mehrdad 13 secs ago
for example
that's why you just use vectors to do that, jeaze
user3010322
Lol
user3010322
10:25
The fix to my problem is an unassigned bug to nobody at all in the gdb team since 2013.
It may have been several years ago, but in the wake of the "black chainsaw" debacle, he's going to struggle to wiggle out of all of this now.
user1804599
@LightnessRacesinOrbit Why does that page download a file named 10931 to my downloads folder?
@ThePhD At least it's filed
@rightfold Because your computer is hopelessly misconfigured? Could only guess.
user1804599
The website is broken.
10:27
Honestly I shouldn't know this but.
> Everyone just calm down!! Stop worrying, we only got 9 more months before he turns 21 and more than likely drunkenly wraps his car around a tree in a horrifically awesome and painful self-cremation public service announcement.
haha
@LightnessRacesinOrbit Sensationalist headline and article.
@rightfold Nope. It's you.
but it affirms bias for all the people who hate Justin Bieber so it doesn't matter
10:28
@Rapptz Er, how so? It's entirely accurate.
Because, it's just there to portray negativity to something an idiotic child has done.
indeed
He's 1) already apologised and 2) released the video so that he can own up to it and take all that flack he's getting
@Rapptz Yes, that is its purpose. It is reporting a negative event. What more do you want? Singing chickens?
Because he was being blackmailed for it.
10:29
"black" mailed
giggle
you bored?
user3010322
Oh lord.
we all did stupid things when we were 14.
Speak for yourself, puppy... don't speak for me.
user3010322
10:29
Or did we?
@LightnessRacesinOrbit if im a sexist, youre a racist. There you go.
it's not that I don't think that Bieber is a total idiot, but that's hardly news.
I most certainly didn't go around bashing blacks on camera at 14, or at any age.
@DeadMG Well I don't think anyone's claiming that this article is a surprise.
@LightnessRacesinOrbit and scott meyers didn't go on camera bashing c++
@Arcoth I don't think encapsulating the English word "black" with quotation marks quite equates to expressing sheer shock that a girl could possibly have "just jumped into programming" or have such incredible C++ talents as mine. But, sure, I'm "racist"...
10:31
@LightnessRacesinOrbit i never said that you're a incredible C++ Programmer! Its your Ego which heard that!
@Mehrdad: Will they be sending a new agent to take your place? I do sincerely hope the ritual beheading is quick and painless. :( — Lightness Races in Orbit 5 secs ago
snigger
user1804599
Everyone is a racist.
Speak for yourself, rightfold... don't speak for me.
user1804599
Today, racism is a synonym for "I'm offended."
@LightnessRacesinOrbit Array-to-pointer decay is much worse then Jesus ;)
10:33
Array-to-pointer decay takes full damage
20 hours ago, by Lightness Races in Orbit
> I'm not sexist, but women are too stupid to be amazing programmers like you. — Arcoth (paraphrased)
Quoting only for fun. Indeed I made the ego part up.
user1804599
@FredOverflow jesus_cast<wine>(water)
(Though it was somewhat implied)
20 hours ago, by Arcoth
@LightnessRacesinOrbit Don't think im a chauvinist, but i was wondering how a woman could've dived into Programming like that.
@rightfold Terminated: cup overflow
@rightfold Today and every other day
@FredOverflow Indeed
@LightnessRacesinOrbit see? I never said you're good at it, i just said you spend a lot of time with it.
Train is not departing, it's been one minute since the scheduled time OMG
10:35
Dont forget that english isn't even my second language.
user1804599
@R.MartinhoFernandes Who cares, as long as it doesn't depart too early and arrives on time.
@R.MartinhoFernandes you should walk away in protest
user1804599
Bomb the train.
@LightnessRacesinOrbit Why are you posting so many comments of yourself? :) Let me try it:
In the third example, why would you even use sizeof when you already know that the array has U elements? :) — FredOverflow 1 min ago
I wonder what these people would think of Glastonbury's Pyramid Stage nowadays:
user1804599
10:39
@FredOverflow Ewww, U.
@FredOverflow To draw attention to the discussion behind them, and to solicit upvotes :)
It means "please come and support me here"
user1804599
Also std::array.
@FredOverflow: So if U changes you don't have to remember to change it in two places, or risk silent bugs... Autonomy! — Lightness Races in Orbit 22 secs ago
@Arcoth That's okay; it's not mine either.
@LightnessRacesinOrbit I already get notified for replies to my comments on regular SO ;)
@LightnessRacesinOrbit By the way, im a girl myself, just like you ;)
@Arcoth I don't think he's a girl.
@Arcoth Lightness is a 30 year old man. His avatar is an actress.
@FredOverflow omfg dude stop it
Im just trying to bullshit people, let me and him have some fun
Henceforth, my Name is Yvonne
@Arcoth The Lounge is a place for serious discussions. Fun has no place here.
And... I'm single ;)
10:45
Oh yeah? I'm double.
@FredOverflow this is more fun
20 hours ago, by Arcoth
Lightness is a she, yarly
Jun 1 at 21:21, by Lightness Races in Orbit
@Arcoth Here's me at a Star Trek convention:
@FredOverflow and i can take a long double ;)
and now we wait till my avatar refreshes
no it's not an actress pic.
@LightnessRacesinOrbit Your legs are way too thin. You should eat more.
10:47
argahrgharghargh Indian abuse of "the" arhgarghargharghargh
user1804599
@BartekBanachewicz dat new avatar.
e.g. "Quoting from the FredOverflow's answer:"
FUCK OFF AND DIE WITH YOUR BROKEN ENGRISH KTHX
user1804599
(Shift+F5)
and why do you not read the edit and think to yourself "oh, okay, then I won't make that mistake any more. thanks!"
user1804599
Reminds me of Rudolph.
10:48
instead of, y'know, completely ignoring it and making the same error OVER AND OVER AGAIN FOR THE REST OF YOUR NATURAL LIFE
asdufygaskudyfgaksudyfgaksudygfasfa
@BartekBanachewicz oh, my
oho, it shows for me.
there's a new avatar I could use if I didn't love this one so much
great.
now I'll confuse people again
@LightnessRacesinOrbit What are you talking about?
10:50
lol :D
@FredOverflow which part is confusing?
@LightnessRacesinOrbit "I'm so high right now"
@BartekBanachewicz it's updated now as of this msg I'm replying to
@LightnessRacesinOrbit I can't remember me saying anything even remotely resembling "FUCK OFF AND DIE WITH YOUR BROKEN ENGRISH KTHX".
@FredOverflow I can't remember ever claiming that you did....
10:51
3 mins ago, by Lightness Races in Orbit
argahrgharghargh Indian abuse of "the" arhgarghargharghargh
3 mins ago, by Lightness Races in Orbit
e.g. "Quoting from the FredOverflow's answer:"
but, sure, assume that everything ever said by anyone ever must be about you...
> e.g.
Latin is hard
@CatPlusPlus you have no idea
user1804599
10:52
> the
Oh. This was more confusing than array-to-pointer decay!
I don't think it would have been possible to misinterpret my soliloquy more than you did just then, @FredOverflow.
I blame Jesus.
> :
@FredOverflow ok
Wrongness Races in Jesus
Wrongness Races in Lounge?
user1804599
10:54
@LightnessRacesinOrbit Thorns Sting in Jesus
@LightnessRacesinOrbit Malicious races in Jesus' butthole.
while(i != infile.eof()) looks very wrong. — FredOverflow 8 secs ago
Wait, weren't there actual races in the crusades? What about needless Races in the Crusades?
they picked a truly awful logo for our new product, after getting progressively better with the initial concept and then just throwing it out and going with something totally unrelated for the final design
as the guy who actually made the thing you'd think I'd get some sort of say, but no
sigh
@FredOverflow Now you're getting it
@Arcoth Sacred race-car appropriate for sacred races.
10:59
@FredOverflow while(i.good())
while (i.spy(this->little_eye))
4
@AaronKyleKilleen You cannot call member functions on an int.
well I meant to say while(infile.good())
Still bad
That will read one element too much or something, right?
11:01
Never loop on eof()
user1804599
@FredOverflow You can call the destructor in some contexts!
user1804599
At least, syntactically. :P
Well, not unless you're handling input errors properly, which this post is not
@CatPlusPlus can't it end up corrupted and set a bad bit before the end of file?
user1804599
11:02
@FredOverflow pass istream iterators to the constructor of vector. :P
what's wrong with while(infile.good()) ?
user1804599
Off-by-one crap.
@FredOverflow let me guess - the car of a stupid-ass 'murican christian who believes in the bible? I'm trying to be offending so we can have some entertainment.
@Arcoth If you want to truly offend me, say something nice about C++.
user1804599
std::vector<int> primes(std::istream_iterator<int>(infile), (std::istream_iterator<int>())); <3
11:06
111
Q: Why is iostream::eof inside a loop condition considered wrong?

MAKI just found a comment in this answer saying that using iostream::eof in a loop condition is "almost certainly wrong". I generally use something like while(cin>>n) - which I guess implicitly checks for EOF, why is checking for eof explicitly using iostream::eof wrong? How is it different from ...

@FredOverflow I love name resolution in templates. It is intuitive and easy to implement for compilers.
@rightfold thats the way to go (in c++03)
user1804599
@FredOverflow It's also duplicate code, because >> already checks for errors.
@rightfold I almost thought this was a function declaration, but then I noticed the ( before the second argument :)
user1804599
Fred the Compiler.
user1804599
I use braces only for std::initializer_list<T>.
11:08
C++ syntax is so terrible. I really love keywords that denote "Here comes a variable" or "Here comes a function".
user1804599
@FredOverflow Me too.
Parsers love them too
user1804599
@AaronKyleKilleen Me too.
@rightfold Why don't you post this as an answer?
11:09
I hated programming in php and C just seemed like a neutered very anal version of c++
@rightfold Liar
@CatPlusPlus Humans are parsers, too!
Not really no
@AaronKyleKilleen C a neutered C++? Are saying C++ has balls? :)
11:11
What part of C++ exactly is the balls part?
user1804599
@FredOverflow Done. :P
I remember programming in C and getting a message that told me I couldn't declare an int in a for loop's parenthesis
@PaulEvans: Just because it appears to work doesn't mean it's correct. If the loop did more than i++, or if the value of i were used for anything later, you'd see why it's wrong. Propagating this broken method of iteration in a teaching capacity is downright irresponsible. — Lightness Races in Orbit 45 secs ago
@FredOverflow I'm just saying how it doesn't babysit you like other languages you're free to fuck shit up
@AaronKyleKilleen That's C89 for you. It's possible since C99.
11:13
@AaronKyleKilleen thats what is so 1337 about it
@FredOverflow well then whoever was programming the unix server that we compiled our assignments on for my networking class is a fool
@AaronKyleKilleen Almost certainly
By the way you can replace the second parameter with just {} so std::vector<int> primes(std::istream_iterator<int>{infile},{}); works. — Veritas 31 secs ago
@rightfold Is that true?
user1804599
I have no idea.
user1804599
11:16
7 mins ago, by rightfold
I use braces only for std::initializer_list<T>.
@FredOverflow yes!
user1804599
(Except for this answer, because I knew people would complain about the lack of braces.)
Thats a nice thing about template argument deduction: non-deduced contexts dont cause a compiler error if the argument can be deduced elsewhere
@FredOverflow yup
11:18
@Arcoth That is incredibly sexy code. I feel somewhat aroused.
But uniform-initialization is shit in general.
"shit" as in "awesome" or "terrible"?
Shit as in pretty great.
shit = terrible, the shit = awesome
funny how that works
@FredOverflow shit as in terrible
11:19
just like how something can be burning up as it's burning down
that analogy is totally sick
@LightnessRacesinOrbit yo mama... You know what, nevermind
@FredOverflow see this then
@Arcoth It isn't.
@Rapptz it is. I cant show you the arguments though, im on a mobile device
11:23
Convincing.
More specifically, an old blackberry
Quoted by lightness, "black" giggle
@DeadMG If VS2012 is used by cavemen, who uses Visual C++ 6? :)
@FredOverflow microsoft.
Is it acceptable for a test framework's header to pull the unofficial Boost.Process, since the library depends on it anyway?
@Rapptz have you ever tried copying an aggregate with list-initializatuon?
11:25
@Arcoth as distinct from a "white" giggle.
@FredOverflow primordial eels
works fine
ftr, there's only one negative thing about uniform init.
@Rapptz no, thats the point.
@Arcoth what are you talking about? list-initialisation for aggregates is well defined. it uses aggregate initialisation.
Std::array<int> arr{ std::array<int>{} };
they really need to figure out a way to let us dereference void pointers
11:28
@Arcoth missing the size parameter there btw.
@LightnessRacesinOrbit thanks captain obvious :))
@Rapptz doesn't change anything.
Still the same shit.
Its simply inconsistent, and that annoys me.
That's a consequence of special casing std::array
Recently read this.
I think anyway.
Do you also dislike the practice of using upper case for constants?
@Rapptz you should
11:30
@StackedCrooked No.
Granted, it's a big Hungarian, but I like it anyway.
I only upper-case "properly constant" things, not any old const name
Recently there was a bug in boost because their enumerator UTC_TIME is defined as a macro in C11.
@StackedCrooked I don't really do it.
@LightnessRacesinOrbit how bout enums?
@StackedCrooked That's C++'s fault for inheriting any macros whatsoever.
@StackedCrooked Yep.
I don't feel so strongly about it, though, that I'd try to convince anyone else to do it.
Tell ya what, though; if it's that easy to get published in ACCU, I'm giving it a bloody go
Yeah, it's very subjective.
11:32
Being published is epic for a CV and Wakely makes it look fucking easy; just submit a ranty blog post!
@AaronKyleKilleen Only if you're batshit insane.
@StackedCrooked lol yes, he's around quite a lot.
@StackedCrooked Yes, we know
@AaronKyleKilleen enter the void
@LightnessRacesinOrbit I didn't until now.
11:34
@StackedCrooked Do you know that he's a lead on libstdc++?
I do now.
@StackedCrooked slow
I also knew that
The avatar looks familiar though.
11:38
just iterate over the map, remove each element that isn't in the set. oh that's the question. — Cheers and hth. - Alf 2 hours ago
Thanks, Captain Cheers and wtf. - Alf.
lol wth
hmmm
f() { std.cout << "side effect"; return int; } Main() { typeid(f()); }
prints or not?
are you serious?
yes.
btw why does wide look like c++? just use c++ then...
except return int which is wtf
11:48
it's interrupt
@LightnessRacesinOrbit types are variables in wide. Or somesuch.
puppy is going low level
@DeadMG no..
objects, really.
I mean, we spend our time pissing at PHP for stuff like isset() not being real functions, and then we turn around and do the exact same thing with int() but int isn't a function.
Speak for yourself (again - fuck you); I never write int(). Or "piss at PHP" for isset().
11:49
I don't spend time pissing at PHP for anything.
well, yes, it was a pretty collective "we".
Yeah me neither bub.
So, "collective 'we'" as in "just me"?
I guessed in advance that neither of you would be part of that collective.
You do this a lot and it's fucking irritating
11:50
I hate php
you're fucking irritating but you don't see me spend all my time complaining
I hate html even more than I hate php
php deserves to be pissed on, granted I'm no master of php, but nonetheless this is the kind of bullshit I ended up having to write to get shit to work in php:
$myform = <<<_HTML
<table><form method="post" action=$_SERVER[PHP_SELF]>
_HTML;
for($i = 0; $i <count($formarray); $i++)
{
$myform .= '<tr><td align="right">' . $formarray[$i];
$i++;
$myform .= '</td><td><input type="text" name="' .$formarray[$i] .'"></td></tr>';
}
$myform .= '<tr><td align="right"><input type="submit" value="save"></td><tr></form></table>';
it's just terrible
@AaronKyleKilleen Why would you think anyone of us would want to see this?
11:56
it's an example of how terrible php is

« first day (1328 days earlier)      last day (3846 days later) »