« first day (1311 days earlier)      last day (3622 days later) » 

1:00 PM
holy shit why all recent c++ questions are so bad
 
because, why break the trend?
 
Summertime is here.
 
shut up
no it is not.
it's the middle of fucking winter.
that's what I tell myself every day, anyway.
 
why
 
it's the amazonian rainy season in Romania
 
1:01 PM
why can't the stupid climate just hover around an acceptable temperature
 
@DeadMG what? ur on drugs again?
 
instead of going from "Freezing cold" to "Melting hot".
 
@AlexM. why?
 
@Abyx If by "again" you mean "still since I need them to live"
 
btw it's +31 C here
 
1:02 PM
@DeadMG i agree
 
Oh noes. He did it
 
It's the "hahaha you were fooled" season here.
 
@Jefffrey because the internet is a better way to find jobs than a job fair at any time :D since it's not event based
I'm also getting contacted regularly on linkedin, which is something normal as long as headhunter companies exist
 
@sehe yes im in full retard mode now
@sehe like this is some unwritten tard rule
 
Someone agreed. In the lounge.
 
1:03 PM
it's a pity I'm a retard ruining any opportunity :D
 
@Wardy I wonder why you're here. I reckon it's to prove that you have a life.
 
I got this nice invitation from a Finnish company opening a branch in my city and refused it because HOLY SHIT WAS I DUMB
 
Wait, why doesn't Ctrl+F5 cause the usual "Press any key to continue..." prompt after the program finishes?
 
that was on careers.so
 
Did they remove that feature in VS2013?
 
1:04 PM
@sehe i dont even know c++
 
@Wardy It is.
 
i like the crowd in here
you guys are insulted by life
simply disturbed by it
 
alright.
a whole 32 passes out of 128.
 
@Wardy That's an advantage. People will take your trolling much more seriously. Do, however, invest some time in ornithology. Or you will soon find yourself outclassed by chook-wielding cock-lovers
 
Xeo
@R.MartinhoFernandes That would be hilarious.
 
1:06 PM
@Xeo Would fit the general theme in VS.
 
@sehe whats a chook?
 
user3010322
using is so wonderful.
 
@Wardy I really like the way you reach the right conclusions so much faster than most. No wonder you ditched the losers in the C# room
44 mins ago, by sehe
@Crow it's a utility that encourages you to google
 
@sehe lol ... really
 
@Xeo Yep, seems like it to me :<
 
1:07 PM
@sehe are people that insulted when they come here that they cry like when you say stuff like "i disagree with that comment sir" in any other room
 
I don't want to resort to stupid breakpoints or bullshit like that.
WTF is wrong with those guys.
 
@Wardy EPARSEFAIL
 
user1804599
I think you mean ENOPARS.
 
Can someone test this?
 
user3010322
I'm your man!
 
Xeo
1:09 PM
Sorry, no VS13 here
 
Make a simple C++ console project in VS, and press Ctrl+F5. Does it stop with "Press any key to continue...", or does it do the just disappear immediately thing it does when you run with the debugger?
 
RIP VS's best feature
 
@sehe eh? ok
@sehe are you trying to break some sort of message chain record or something in the SO database?
@sehe thus the need for all this reply-to !!!
 
user3010322
Let's give it a shot.
 
1 hour ago, by sehe
4 mins ago, by sehe
@Wardy You must be new here
 
1:10 PM
@VáclavZeman One of my own making, but you led me to it by engaging. I swapped my erroneous pointer-to-zero-timeout for a NULL, then eventually decided to go for a 250ms; this is in a function that could block on I/O forever, except that I want it to be interruptible.
 
@R.MartinhoFernandes it does run pause
 
@Abyx Former or latter?
 
@ThePhD that only works if everything you type is a reply-to another message
@sehe yeh only been around a few days
 
FFS, what's wrong here, then.
 
@Wardy this room, kid
 
1:11 PM
@Abyx Can you test with this solution: github.com/rmartinho/nonius/tree/devel/msvc?
 
@sehe i came here under the conclusion that c++ guys were meant to be smarter than the average c#'er ... clearly i was mistaken
 
@R.MartinhoFernandes ok
 
fucking birds
 
Xeo
@R.MartinhoFernandes Unbound the shortcut and it just does F5 instead of ctrl-F5? :D
 
mating on my roof
 
user3010322
1:12 PM
Lol.
 
@Xeo Nope, it still says "run without debugger".
 
Xeo
hm
 
I find it so funny. Here's the troll that comes into a new room, immediately pointing out that reply-to is retarded.
 
@Rapptz i have that problem ... i got cats ... now they make more noise shouting at the birds they cant reach
 
And not contributing anything else. Goes on to propose record-attempt message-chaining.
I'm most impressed by your life priorities
 
1:13 PM
Hmm, same with a fresh new solution.
 
@Wardy you remind me of mick, a lot
 
@sehe yes its completely retarded ... dont you think?
 
Same by using the menus instead.
 
you're doing what he did when he last came here, months ago
 
@sehe i merely asked if that was someone elses reason for the demand not that i was proposing such an attempt
 
1:13 PM
> Version 12.0.30110.00 Update 1
 
@AlexM. how long did it get?
 
get what?
 
@AlexM. can we get stats like that from the SO db?
@AlexM. the message chain length
 
that's not really the point
 
@AlexM. what was the point?
 
1:15 PM
the point is you can't stand mick because you're like him tbh
 
@Rapptz any chance to adopt any cute, fluffy baby of theirs?
 
I just wanted you to know this in case you didn't already know
I'll go back to work now
 
@AlexM. mick who ?
@AlexM. i never said i couldn't stand him ... just that he gives me grief
@AlexM. hang on a minute are you suggesting that @sehe is also @Mick
 
Googling for this is impossible :S
It's all people with the usual "window disappears" thing and people suggesting Ctrl+F5.
 
@R.MartinhoFernandes googling for what?
@R.MartinhoFernandes sounds like a typical case of ... have you tried turning it off and on again ...
@R.MartinhoFernandes i hate crap like that
 
1:17 PM
Shut up.
 
man, I really need to fix my rvalue references.
 
user3010322
Or just throw them out altogether.
 
nope.
 
5
Q: Console windows closes right after I hit ctrl+F5 in visual studio tools for python

MitulI have installed Python Tools for Visual Studio and I cannot see the output in the console window like I see output when I run a C# console application within visual studio upon hitting the following Shortcut keys. F5 -- Starts debugging the program and closes the console window in c# and in P...

That's the only relevant thing I can find.
Ah, this one is better: stackoverflow.com/q/20736648/46642
 
@R.MartinhoFernandes hm... no it doesn't pause
 
1:20 PM
@R.MartinhoFernandes brutal
 
HAHAHAHAHAHAHAHA
Hilarious.
 
@R.MartinhoFernandes have you considered adding a readkey / readline call on the end of your python script?
@R.MartinhoFernandes mod ... he's picking on me
 
welp just sent my smallest commit ever- like 7 loc.
 
Wardy
 
It only does so if you set it to the Console subsystem.
 
Xeo
1:22 PM
well
 
@Rapptz sup?
 
Xeo
If you don't have a console app, what good is keeping the console open, right?
 
@Xeo sounds to me like his console app is running and finishing thus the window is closed
 
@Xeo It's a console app.
 
@Xeo typical behaviour ...
 
1:23 PM
It opens a console and all.
 
Xeo
@R.MartinhoFernandes Then why is it not set to subsystem:console?
 
Because it's an empty project.
 
@Wardy Stop pinging.
 
Xeo
lol
 
@R.MartinhoFernandes can still be the Win32 subsystem, with AllocConsoie/AttachConsole
 
1:24 PM
The subsystem is not set.
 
Hey remember when mods wanted us to bother them, maybe we should
 
btw robot
 
Well, that splains. I reckon it defautls to win32
 
I was thinking of changing my initializer list syntax
 
@CatPlusPlus I did already.
 
1:25 PM
I have type(args) : member(expr) {} like C++
 
And it did... nothing, because how else
 
but I'm thinking of changing it to type(args) member := expr; which is more Wide.
 
@sehe Nope. That would require WinMain.
 
@Wardy I told you no such thing. Not even once. Point me at it. </troll-ban>
 
It defaults to console because I have a main.
 
1:25 PM
Stop replying
 
Will do. Just don't want this all to come down on me. Somehow, I've earned his focus. Oh joy. I moved messages of the wrong troll. I'll be cursed for life
 
inb4 plonk
 
@sehe wtf? ... you binned it when i complained
 
I don't like initialisation lists in C++.
I feel like it should have been the default from doing it in the constructor body
Not the other way around :s
 
@Wardy Yeah, what's the difference, really. For the record, I binned your inflammatory ranting, I don't care what it was about
 
1:27 PM
@sehe You touched it and now it wants to touch you
 
Xeo
@Rapptz Wait, what?
 
@DeadMG Hmm, that looks nice.
 
@sehe inflammatory ranting ... i was just mingling ...
@CatPlusPlus ewww gross
 
well, the core problem is that member(expr) fails when I need complex expressions like, say, vector(int) or header.cpptype instead of member for base classes.
whereas having member := expr is more consistent and permits arbitrary expressions as member.
 
struct x {
    const int y;
    x(): y(10) {}
};

// should have been:

struct x {
    const int y;
    x() {
        y = 10;
    }
};
just my two cents anyway
 
user3010322
1:29 PM
LOL
 
But ~performance~
Or whatever
 
I feel like I should document all the jokes in MSVC and then expose the whole conspiracy in a rant somewhere.
 
It's dumb yeah
 
user1804599
@CatPlusPlus default construction elision!
 
@sehe i stand corrected ...

@Wardy you're still not using "reply-to" syntax here
 
1:30 PM
@R.MartinhoFernandes I fixed most of my MSVC problems by getting accurate error locations from Clang.
but there was one file where MSVC gave a totally correct error in a totally random place, and Clang didn't error at all.
 
that was from @LightnessRacesinOrbit
 
that one was hilarious.
 
Lately most of my complaints are about features that are supposed to be features and not stubs programmed by a 13-year-old.
 
user3010322
 
user3010322
IT LIIVES
 
user3010322
1:32 PM
IT'S FINALLY COMPLETELY DONE AND WORKS EXACTLY AS INTENDED I CAN EVEN SECTION ARRAYS YEEEEEEEEEEEEEEESSSSSSSSs
 
Still using VS?
 
honestly
 
I thought you had switched.
 
user3010322
@R.MartinhoFernandes Qt is giving me trouble. :c
 
it was too difficult for him
 
1:32 PM
I have biggest trouble with debugger and ICE/errors reported in the wrong place
 
user3010322
I'm actually considering just writing my own makefiles, so I don't have to deal with qmake or CMake
 
I mean
 
Makefiles.
Sure.
 
Xeo
@ThePhD for (auto idx : strided.bounds()) ?
 
a compiler is tree-based and it's a bitch when the compiler won't show the real life type
 
1:33 PM
@Wardy You can quote comments by pasting their permalink. Like this:
3 mins ago, by Wardy
that was from @LightnessRacesinOrbit
 
You're using VS. How complex can your build be?
AFAIK you're not even using property sheets. (Pretty much the only feature worth of being categorised as such in VC++)
 
SO chat is better than people give it credit for, tbh.
 
user3010322
@R.MartinhoFernandes I am using 5 property sheets.
 
user3010322
They're all running pre and post builds for me.
 
user3010322
They also configure libraries, etc. etc.
 
1:34 PM
@LightnessRacesinOrbit what about whole sections of conversation ?
 
oooh, the bug genie received an update
 
@LightnessRacesinOrbit I really don't have a problem with it the majority of the time. The real problem is the oh-so-well-known Meta Police and the lack of moderation powers.
 
@R.MartinhoFernandes why you don't use cmake or something else btw?
 
hopefully the issues with nonsensical behavior got fixed
 
user3010322
@Xeo No compiler uses std::begin( range ), they use range.begin() and the analogous end.
 
1:35 PM
@Abyx We're using premake at work, but generate VS projects. There's been a lot of talk about ditching it lately.
 
user3010322
I'd have to add begin/end cbegin/cend member functions annnd.... I kinda don't want to? :c
 
I feel like we only need one final push to actually do it.
 
@ThePhD yeah they do
 
user3010322
Ditch what, VS?
 
1:36 PM
Premake is crap :v
 
@ThePhD Er, no, they use begin(range) when delegates to std::begin(range) usually, which defaults to range.begin() for non-primarrays.
but the mechanism is based on ADL.
 
user3010322
Oh. I shouldn't have said No compiler
 
@ThePhD Yes.
 
user3010322
I think it's just VC++
 
@ThePhD Are you saying QtCreator didn't work because...
 
user3010322
1:37 PM
But let me check
 
Xeo
I was under the impression that VC actually got range-for right
 
user3010322
@R.MartinhoFernandes Wait, I never said QtCreator didn't work. I just haven't figured itout yet (I need to write my own makefiles and shit)
 
@ThePhD It doesn't have any net positive value in our productivity.
 
@ThePhD I don't have these problems.
 
@ThePhD But you did pick "No compiler"?
 
user3010322
1:38 PM
Nooo. @___@
 
I wait for the day I can reproduce your issues :v
 
Xeo
3 mins ago, by ThePhD
@Xeo No compiler uses std::begin( range ), they use range.begin() and the analogous end.
It was as a continuation to this
The "no compiler" here
 
@ThePhD Write makefiles.
Sure.
Haha.
 
user3010322
Don't laugh at me. ;~;
 
user3010322
I don't want to use CMake, because that looks like a nightmare, and I'm not sure QMake is any better.
 
1:39 PM
"I'm ditching VS, can't get QtCreator to build my stuff, so I'll write my own makefiles"
 
hahahahaha
 
I've been using makefiles lately :v
 
@R.MartinhoFernandes I'll ditch VS the moment I find a competitive replacement. I've no attachment to Microsoft here.
 
user3010322
No I mean, I have to have a makefile to fit my needs for Qt to build things if I'm not going to use QMake or CMake
 
user3010322
1:41 PM
Albeit, I should probably try QMake before I throw it out teh window.... CMake, that gets no mercy.
 
@DeadMG use notepad.exe, like STL
 
Xeo
@Abyx He uses metapad.
 
user3010322
....
 
user3010322
FACE PAAAAAAAAAAAAAAAAALM
 
I should get some lunch or something.
 
user3010322
1:42 PM
VC++ is using obj.begin() and obj.end(). :|
 
I doubt that.
 
Xeo
actually
 
And I'm the one that has been bashing it continuously for what? a month now.
 
user3010322
I can tell, because I have a free-function begin and end that returns proper bounds_iterator<n>, and I also have member functions on the bounds that allow you to iterate through its n components.
 
Only a month?
It feels like 7 or so.
 
user3010322
1:43 PM
It's picking the member function one over the free-function ones.
 
Xeo
range-for is specified as follows: If the range has begin/end, use that. Otherwise, if it's a native array, use special iteration. Otherwise, use unqualified begin/end and std is not an associated namespace for that lookup.
 
@Xeo It doesn't seem too different from notepad.
 
user3010322
Oh, so member functions take priority.
 
user3010322
So I have to delete the member functions...
 
namespace foo {
    struct bar {};
    int* begin(bar const& b) { return nullptr; }
    int* end(bar const& b) { return nullptr; }
}
int main() {
    foo::bar b;
    for (auto x : b) {}
}
Compiles just fine.
 
Xeo
1:43 PM
@ThePhD Ewww
 
@Wardy Generally not required to quote those.
 
@Rapptz Not continuously.
 
Xeo
You shouldn't have different behaviour for begin(x) and x.begin() :|
 
user3010322
@Xeo I needed a way to make it so I could iterator over the actual bounds object. :c
 
Xeo
Call one of the two ways something else.
 
1:44 PM
@LightnessRacesinOrbit i wanted to quote a conversation we had where you were demanding i reply to everyone "properly" ... purist !!!
 
user3010322
Rubs face.
 
user3010322
Well, okay.
 
lol
 
phd_begin(x) and x.begin()
 
Xeo
x.components_begin() and x.begin() or something
 
1:45 PM
No.
components()
So you can use the ranged-for.
 
@ThePhD inb4 UB
 
Xeo
and then have an adaptor components(x) so that for (auto e : components(x)) calls components_begin on x
(or x.components() that does just return components(*this);)
 
@ThePhD That's as intended.
 
user3010322
My issue with calling ti something else is than both index and bounds constructors have the SFINAE-constructor I showed you before, and it's based off doing std::copy_n( begin( range ), n, res.begin() );
 
Xeo
@R.MartinhoFernandes See what I just wrote
 
user3010322
1:47 PM
If begin for index and bounds don't return the components, well... that overload fails.
 
is so bad today
 
Please don't pollute the bookmarks :S
 
I thought I could remove it?
 
user3010322
Ehh....
 
Xeo
1:48 PM
@R.MartinhoFernandes lol, "pollute". We have 130 in there anyways...
 
user3010322
I'll just write explicit constructors I guess.
 
It's a public non-searchable resource and only the creator can remove them. And anyone can create them. Chat is so ridiculous.
@sehe Well, don't encourage trolls to do it.
 
I don't. Also, this one is clearly too lazy to bother
 
It's E3 soon.
 
(let's see if that one worked)
 
1:49 PM
and everyone's already posting their shitty rumours
 
@Wardy No need; everybody saw it.
@Wardy Anyway, you're doing it properly now.
 
user3010322
... Hm. Member functions are only instantiated when used.
 
@LightnessRacesinOrbit yeh but look back at the riot you started
 
user3010322
I could use this to get away with some cheesy constructors.
 
@LightnessRacesinOrbit got people telling me to stop now !!!
 
1:51 PM
Zing
Poor LRIO. He'll be devastated to see what riot he started.
 
@ThePhD Probably not.
 
user3010322
@R.MartinhoFernandes Yeah. So I either provide the proper iterators so begin(m) and m.begin() behave the same... or... bite the dirt. =/
 
@sehe WTF !!!
 
user3010322
What I could do is make index and bounds constructable by just iterating over the initial thing myself and using operator[]
 
@sehe do you have a point ?
 
1:53 PM
Just do what Xeo told you.
 
Xeo
@WilliamAndrewMontgomery Btw, your thoughts on Ep6? :D
 
user3010322
That way it just demands whatever iterator/range is passed in is random access.
 
user3010322
@R.MartinhoFernandes That doesn't solve the overload problem for begin/end when making a bounds<n>/index<n>
 
@Wardy Yeah. You must be new here. Maybe, you know, lurk a bit? Or, you know, go full retard and be plonked. So many points...
 
1:54 PM
If they have different names, they're not overloads.
 
user3010322
No, I mean, begin for the index and bounds types will return the wrong stuff (bounds_iterator) when I need the component iterator for the constructors of those two types.
 
That doesn't make any sense.
Just make it return the right stuff.
 
user3010322
u.u;
 
user3010322
Nevermind me...
 
It's over. Nothing to see
 
1:56 PM
@sehe careful, you're in danger of maybe one day in the distant future making sense ! ... long way off though
 
I want to sell shog to a brothel as a prostitute for old fat perverted rich women - he purposely removed deadmg from the room owner's list so we will be stuck with more newbs and for longer period of time
 
@sehe surely not ? you give up too soon
 
user3010322
@chmod711telkitty And you call me mean.
 
@sehe quick bin some more comments, that should hide them !!! lol
 
^ relevant
 
1:58 PM
@ThePhD you forgot the tag, remember :')
 
user3010322
@chmod711telkitty
 
user3010322
<______>
 
user3010322
HERB DID YOU EVER IMPLEMENT TEH PROPOSAL YOU WROTE
 
I bought a pocket knife.
 
user3010322
DO YOU UNDERSTAND HOW IMPOSSIBLE IT IS TO FOLLOW THE CONSTRAINTS YOU PLACED IN YOUR OWN GODDAMN PROPOSAL.
 
1:59 PM
It's not.
 

« first day (1311 days earlier)      last day (3622 days later) »