« first day (1610 days earlier)      last day (3321 days later) » 

6:00 PM
@Jefffrey i took an art appreciation class. 70 on first test. i also took a computer science class. 100 on pretty much everything.
 
user784668
@MartinJames oh hi
 
one is clearly harder
 
@Jefffrey Do it and post pics.
 
@Fanael HI? Meh... Bah.....
 
@MartinJames Hi.
 
@Nooble Lo
 
I know someone like that.
 
Maybe I should draw @Jeffrey with Paint.
 
@Fanael At least Derby screwed up too. I wonder if Poyet still has his job:)
 
@LightnessRacesinOrbit That's gotta be unhealthy (for the laptop).
 
user784668
6:03 PM
@MartinJames Well, Diego certainly does.
 
@Fanael We should prolly not discuss the Burton-Accrington game:)
 
They say I should add:
127.0.0.1 crl.verisign.net
127.0.0.1 CRL.VERISIGN.NET.*
 
If I have a explicit constructor taking a const std::string& is there ever a reason to also add a const char* constructor?
 
to my etc/hosts file
 
user1804599
In a Fullmoon Procession is a great song.
 
user784668
6:05 PM
@MartinJames meh, Burton are top, so we have an excuse
 
Doesn't sound right.
 
@orlp does the calling code have a reason for using const char*?
 
user784668
0-3 is bad for our already terrible GD though
 
@Blob I don't know
 
user1804599
@orlp Depends.
 
6:07 PM
if it's a library, might as well add it. if not, i don't think the performance overhead will be enough to worry about.
 
for example, std::runtime_error added a const char* constructor, but I don't understand why: en.cppreference.com/w/cpp/error/runtime_error
I don't know when it would be needed
 
user784668
@MartinJames Also it was away and we're shit away this season.
 
@Fanael Yeah. menawhile, in the Prem, it looks like Stoke are going to get stuck at 8th at best:(
 
user1804599
is this good? ooc-lang.org
 
user784668
@MartinJames Unless the Saints keep bottling it.
 
6:10 PM
@Fanael They're a bit strange this season. If they turn up on form, they seem to be unbeatable. Luckily for their opponents, that doesn't seem to happen that often now.
 
I have drawn Jefffrey.
user image
5
I tried. You're welcome @Jefffrey
 
@райтфолд on what?
 
user1804599
@Nooble That's Fatttrey.
 
@orlp Would an std::string be constructed in the const std::string& overload?
I doubt so
 
@райтфолд Hehe.
 
6:12 PM
@Jefffrey what do you mean?
 
If you were to pass a string literal, would the const std::string& overload work?
 
Yes, it implicitly converts.
 
Then maybe it's just optimization
 
Who shall I draw next?
 
No, a copy has to made in both cases.
 
6:13 PM
How so?
 
The exception must make sure the object still exists when it gets caught.
 
@orlp It was issue #254; the rationale is given there.
 
@orlp A string literal always exists
 
user784668
@MartinJames They're playing Chelski and three relegation candidates in their next four matches though, I predict easy nine points for them.
 
6:14 PM
@Jefffrey but that would be a template<class N> explicit runtime_error(const char str[N]), not const char*.
scrap that
even that could be a local variable
 
@orlp um no const char str[N] is the same as const char* in function arg list
 
@Fanael Yeah - we're never going to catch up:(
 
@JerryCoffin :P
 
@orlp Also there's no way to make sure of that
Ever.
 
user784668
6:15 PM
@MartinJames Would you rather be 7th and enjoy the Europa League next season, assuming the FA cup final is Arse - Liverpoop?
 
I could pass a dynamically allocated std::string, which is then destroyed in another thread.
 
@orlp No, the programmer is to ensure this. Just like everywhere else in the language.
 
@Fanael Europe will have to wait for next season, (unless we can get in on fair play - lol).
 
@LightnessRacesinOrbit I do not agree. Generally whenever an object is constructed with const char* the object copies it.
 
user1804599
 
user784668
6:17 PM
@MartinJames I take it you don't see the EL as an unnecessary burden, then?
 
@LightnessRacesinOrbit Take for example throw std::runtime_error(std::string("oops").c_str()), if std::runtime_error doesn't make a copy then the temporary will die and the string will be invalid.
 
@orlp Let it die
 
@orlp If a programmer does that, it's his fault.
 
@orlp Huh
@orlp I have literally no idea what point you're trying to make.
 
Take for example std::string(const char*), it will keep a copy of the string it was constructed with.
 
6:21 PM
Disagree completely
 
@orlp And? So? Therefore?
 
@orlp Will it?
 
I'm pretty sure a string literal has static allocation
 
user1804599
std::string ctor copies the string, you idiot.
 
If runtime_error needs to reference the argument, it should use a smart pointer.
 
6:21 PM
what the hell
 
You can't tell a literal and any other const char* apart
 
Yes, and I think std::runtime_error is required to do the same.
 
Total nonsense
 
Otherwise it doesn't own the argument and must copy.
 
Take for example throw std::runtime_error(std::strerror(errno));.
 
6:22 PM
You keep chucking out random examples
Without explaining their relevance, or your point
What are you trying to say?
Did you bother to follow the link I gave you yet, and read the relevant proposal?
 
I'm trying to show that std::runtime_error should have ownership of the what() string, since that's the only thing that makes sense in a context where unwinding is the default behaviour.
 
Also I don't see the problem.
 
@orlp Okay. Why are you trying to show that?
 
Yeah whatever, does std::runtime_error::runtime_error(const char*) copy the string?
 
Nobody knows
 
6:24 PM
@milleniumbug That's not up to the standard directly (read: it doesn't say so in the definition of the ctor), though for what() to function properly it would have to
 
user784668
C++ needs linear/affine typing!
 
@LightnessRacesinOrbit that's my fucking point
@LightnessRacesinOrbit I don't understand the rationale given in your link
 
@orlp You still haven't explained the purpose of this entire thing
 
user784668
Wait, that exists and it's called Rust
 
No need to swear, dirty mouth.
 
6:24 PM
The problem is that its seriously stupid for runtime_error to not own the exception error string.
 
@orlp Who are you arguing with? What statements are you disagreeing with?
 
std::runtime_error has to copy the argument it was given, so I do not understand the rationale given for adding the const char* constructor.
 
user1804599
C++ needs a garbage collector and get rid of RAII in favour of finally and F#-like use.
 
user784668
C++ needs to die.
 
@orlp Right okay I see what you're arguing against now.
 
6:25 PM
All hail Perl
 
user1804599
Perl ftw.
 
I'm already tired of writing C++
Just 1 hour in
 
@orlp I suppose either the ctors must be used with a string literal (or some other buffer of static storage duration) and no copy need be performed, or the ctors can be given any old const char*, must perform a deep copy, and then what was the point in the first place
 
user784668
@Jefffrey That's what C++ is made for.
 
What would make more sense is if it was added prior to move semantics
 
user784668
6:27 PM
@Puppy It?
 
^ Well said.
 
@JerryCoffin My gift to you.
 
So my question still remains, what's the point of the const char* constructor. There is no way of knowing if the const char* has static storage duration, so you always have to copy.
 
user1804599
@StackedCrooked should be an implication, not equality.
 
The rationale given in the link is random rambling of random ideas, but doesn't actually explain the final conclusion that explains why it was added to the standard.
 
6:28 PM
@orlp You don't know but you can always hope.
 
@Nooble Umm....thanks?
 
@orlp You can document the function.
 
@StackedCrooked Inspirational.
 
user784668
@orlp Add affine typing to the language, then you'll know if the const char* has static storage duration.
 
user1804599
@orlp Only if you need to store the thing.
 
user1804599
6:29 PM
If you want to print it in the ctor or something, you don't need ownership.
 
user784668
@райтфолд We're talking about runtime_error. I guess.
 
@райтфолд This is std::runtime_error, the postcondition is strcmp(what(), what_arg) == 0, so yes, it has to have ownership.
Fuck it, I'm asking on SO
 
@райтфолд Probably also needs a browser built into the compiler (at least, that wouldn't be quite as stupid as trying to change it to use GC and such at this point in time).
 
@JerryCoffin You can use it for whenever you need a cartoonified version of your wasp, so basically never.
 
user784668
@Nooble I'm impressed by your skills, can you draw me now?
 
6:31 PM
You can frame it and call it "Modern Art"
@Fanael Sure.
 
SO suggests when you write sometimes -.-
 
@Nooble I'm too old to do "modern" anything.
 
user784668
@LightnessRacesinOrbit SO believes in C/C++
 
user784668
fuck
 
user784668
6:32 PM
Wrong site
 
user784668
@LightnessRacesinOrbit is a rep whore
8
 
@LightnessRacesinOrbit thanks
 
user784668
There, fixed.
 
I simply do not understand why it was added =/
 
@JerryCoffin I'm sure you can do "modern" c++ :)
 
user784668
6:33 PM
Who starred that
 
user784668
It looks terrible on the starboard
 
@Nooble My C++ is post-modern existentialist.
 
@LightnessRacesinOrbit you stealin my question rep!
:D
 
Hmmm, I thought they would copy it to static buffer, but then std::runtime_error a("aaa"); std::runtime_error b("bbb"); std::cout << a.what(); would also be wrong
 
6:35 PM
well that's what you get for whining here instead of posting a question ;p
 
user784668
@LightnessRacesinOrbit lol has a downvote already
 
user784668
ok not anymore
 
someone just retracted an upvote
why
 
@LightnessRacesinOrbit how the fuck should we know =/
 
user1804599
@milleniumbug you cannot copy it to a static buffer.
 
user1804599
6:37 PM
Since you cannot know the size of said buffer in advance.
 
@Jefffrey Nice try
 
Thanks
 
@Borgleader it was rhetorical
 
@Fanael This came out really bad. Your avatar is far too complicated for me.
On the bright side, there's a rotten sunny side up egg for you!
 
If u had to choose, what would u prefer. Closed core and open interface or open core and closed interface?
 
6:40 PM
@DavidKron Eucalyptus.
 
Interface meaning, bloatlayer/gui/wahtever
 
@DavidKron Eucalyptus still.
 
@Nooble what?
 
@DavidKron Open/closed as in "open/closed source"?
 
Yes, sorry
But maybe the question is to general
 
user1804599
6:42 PM
@DavidKron I'd prefer "you"
 
@райтфолд Sorry i am not availible
 
@DavidKron I prefer a delicious green leaf over any of those.
 
@DavidKron He meant that he prefers "you" as opposed to "u"
 
@Jefffrey I knew, such a surprise ha ;) ?
 
user1804599
I prefer none of you.
 
user1804599
6:44 PM
I hate people.
 
You are scared of them.
 
:)
Good thing I'm not a person.
 
Or you think i should just open source the whole thing?
 
What thing?
 
The whole thing.
 
6:45 PM
@Nooble Exactly
@Jefffrey Just a vs plugin im working on
And gosh the vs api is terrible
 
need help @blob @Jefffrey
how does it look ccloud.us/musicc whats missing?
 
Why can't you see it?
 
It's missing beauty.
 
@Jefffrey You should donate some beauty, O' beautiful shoe.
 
6:50 PM
@Steve Kanye's pic is in wrong aspect ratio
 
@DavidKron should i move the pic lilttle up?
 
user1804599
I deny the existence of C++.
 
user1804599
C++ doesn't exist.
 
@Steve Naa he just looks sqeezed, dunno if you can do anything about it
 
user784668
6:54 PM
@райтфолд You wish.
 
@Steve Maybe crop the pic to enforce a 1:1 aspect ratio
 
user1804599
Maybe delete crappy artists.
 
But then again im hugely pedantic
 
@райтфолд Oh, those kind of artists.
 
@LightnessRacesinOrbit hope i wasn't stepping on your toes there :D
 
user1804599
6:56 PM
Maybe hire a web designer.
 
hhaha
 
@Steve Everyone tries their best to be assholes in here, dont bother
 
okay soo should i make the image in circle
except for square
 
user1804599
wait
 
user1804599
6:58 PM
when is DST change
 
@райтфолд It happened already.
 
user1804599
When?
 
@райтфолд Wait nevermind.
I think it changes March 22nd.
 
@райтфолд Depends where you are.
 
6:59 PM
it will look like this prntscr.com/6gr54f
 

« first day (1610 days earlier)      last day (3321 days later) »