« first day (1615 days earlier)      last day (3341 days later) » 

4:00 PM
Even if you stick to the basic set, you can't do that roundtripping, even if the intermediate representations supports the same set, which is horrible.
 
I don’t want to roundtrip.
 
@Borgleader I didn't!
frankly that article looks like rumour-mongering
 
USED TO BE THAT BEING A BIGOT WAS ENOUGH BUT WITH EVERYTHING MOVING SO FAST THESE DAYS YOU REALLY GOTTA BE A POLYGOT
 
I'm a monogot
also can anyone explain why the hell is the internet crazy about the jeremy clarkson thing
what happened to him exactly?
 
4:05 PM
@Borgleader Not surprising, Hammond / May are the Crabbe / Goyle to Jeremy's Malfoy.
 
@LucDanton The point is that passing non-Unicode string literals to the conversion functions available is potentially mojibakey. So you cannot reliably append "foo" to a 'string' without making assumptions not in the standard.
(Though in practice, those assumptions are not very far from simply "EBCDIC doesn't exist")
 
@AlexM. He punched a producer, got suspended, his fans are up in arms about it
 
jeremy always seemed like an asshole to me
entertaining asshole but asshole nonetheless
it does not surprise me lol
 
@R.MartinhoFernandes Then have them not be non-Unicode. I’m looking at it from a general programming set, I know how C++ works (or doesn’t).
 
@LucDanton I don't get what you want, then.
 
4:08 PM
I’m musing on "What does it take for a programming language to express 'add the letters f, o, o to something else'".
^I’m not using the word 'encoding' and that still makes sense, no?
 
I don't get it. Appending strings is trivial.
 
@AlexM. it's big news
 
You just juxtapose them.
 
Show me. Add those letters to std::basic_string<CharT, Traits, Alloc>.
 
You can't because C++ can't express "the letters f, o, o".
 
4:09 PM
Righto.
 
That sounds so ridiculous :(
 
Worthy of musing, too.
 
I am of the opinion that, whilst the news continually insists on misrepresenting what happened as "a fight over not getting a hot steak" (when in fact that producer had been incompetent throughout a whole long day of filming), ultimately the outburst is traditionally a sackable offence and one should not get away with it just for being famous.
BUT also that at the same time, a practical consideration, the BBC simply cannot afford to shut this thing down. So I predict a "final, final warning", a resumption of the series, contracts renewed conditionally for several more series and then potentially a winding down.
 
Well, the answer is that you need the notions of those letters, the notion of strings, and the notion of concatenation.
 
what is a "letter"?
 
4:11 PM
@LightnessRacesinOrbit Don't ask C++.
 
I know what you meant, and I don't want to go there. It's an abuse of language we both tacitly agreed upon.
 
are Rust's enums basically algebraic data types? if so that's a very shitty name choice lol.
 
@AlexM. he got popular, he got cocky, he got sacked
General puplic still in the "he got popular" stage.
 
970k supporters on a petition to reinstate him
 
4:17 PM
@AlexandrosLiarokapis Sort of. Because you have to e.g. handle recursion yourself (guarding behind a pointer etc.).
 
@R.MartinhoFernandes huh
@R.MartinhoFernandes I was backing you up
@R.MartinhoFernandes C++ doesn't define "letter"
 
still enum is for enumeration and it doesn't make sense in this context.
 
@AlexandrosLiarokapis There is a precedent, see e.g. Java enums.
 
in Room for user3892683 and Lightness Races in Orbit, 1 min ago, by user3892683
To be honest I only started this conversation because of your profile picture. I do not see so much beauties in the tech world.
I don't know what to say.
Except....
 
@LightnessRacesinOrbit What the hell.
 
4:24 PM
in Room for user3892683 and Lightness Races in Orbit, 2 mins ago, by Lightness Races in Orbit
Can't you appreciate my talents rather than just my looks? :( I am not a piece of meat, y'know.
(I figure this is a golden opportunity for some positive outreach.)
 
4:37 PM
I beat my speedcubing record! HA! 00:47.86.
 
^ this be too dope, and refp be in it!
 
@LightnessRacesinOrbit Yes.
 
4:41 PM
@FilipRoséen-refp not bad without the rapping
 
Not saved by GEMA.
 
@LightnessRacesinOrbit the lyrics are dope tho'
 
"dope"
dude y u gangsta
the underlying music is sick
 
@LightnessRacesinOrbit that's how I talk normally.. I really have to constrain myself from using such vocabulary online to be honest
 
& what the heck are you wearing, dogg?
@FilipRoséen-refp lol
@FilipRoséen-refp cos racial stereotype?
 
4:44 PM
@LightnessRacesinOrbit haha, probably
@LightnessRacesinOrbit are you thinking about the mask?
 
@FilipRoséen-refp thought you were the dogg in the zebra hoodie
 
@LightnessRacesinOrbit well, I am
 
@FilipRoséen-refp right well there you go
 
it's a zebra suit, just casual
 
4:46 PM
Cinnamon Roll Waffles Morning
 
@Jefffrey is that.. cheese?
what the..
 
MLM
@FilipRoséen-refp probably glaze
 
@LightnessRacesinOrbit are you one of those instrumental people? what kind of music do you listen to normally?
 
46 mins ago, by Lightness Races in Orbit
https://txk-ost.bandcamp.com/album/txk-the-original-soundtrack is pretty neat /cc @Xeo
 
the latter question is inherently too broad, but heck
@MLM probably, but it'd be more funny if it was cheese
 
He clearly listens to crap and the Interstellar soundtrack.
 
@R.MartinhoFernandes Everybody good? Plenty of slaves for my robot colony?
 
I watched Interstellar the other night, and honestly I was very disappointed
you knew how it would end (in a broader sense) after the first quarter of the movie
 
imbue sets the locale?
 
imbue sounds nice. Just like magic.
 
4:50 PM
Who chooses these names?
 
@FilipRoséen-refp No, I didn't know it would have a ridiculous deus ex machina at the end.
 
imbue the magical staff of std::cout with locale magic
 
@FilipRoséen-refp The ending sucked
 
Seriously what does imbue stand for?
 
@R.MartinhoFernandes disregarding the obvious "oh shit, we be screwed - let's save the hero!", it was clear how it was gonna end
@Pris surely
 
4:51 PM
@Jefffrey "imbue".
@FilipRoséen-refp What do you mean?
 
@FilipRoséen-refp That's almost sacrilege here
 
I thought it was going to end with plan B, nothing else, until it all went bonkers.
It didn't end with plan B, nothing else.
 
I didn't really care how it ended, frankly. It was the journey that mattered.
 
@Jefffrey It roughly means to attach an attribute to something, it doesn't stand for anything
 
@R.MartinhoFernandes the ending where he ends up in a world with >3 dimensions, it just felt like the typical "and then a wizard brought us home" ending that you'd have when writing stories as a child (when you didn't want to write no more)
 
4:52 PM
We should imbue Jefffrey with some dictionary lookup skills.
 
@FilipRoséen-refp It was clear it was going to end like that o_O?
 
I was mostly impressed by whoever came up with that robot thing, kinda creative
 
Excuse me if I find that ludicrous.
 
I remember hearing the word 'imbue' in a video game. Video games have taught me so much language
 
@R.MartinhoFernandes it was clear that the father was the one giving the daughter the message through gravity
 
4:53 PM
@LightnessRacesinOrbit Surely, but I've looked it up and I still find that an horrible term to say "set the locale".
 
@Jefffrey doesn't it mean something along the lines of "to soak"?
 
Why not set_locale? The fuck does imbue says about the locale? We are not making potions damnit.
6
 
@Jefffrey It's correct, because locale are dark magic
 
@Jefffrey you better put exactly that into a DR
 
4:55 PM
@R.MartinhoFernandes it was also clear that it was one of the crew that was the one reaching out in the scene where they shake hands with "them"
 
@FilipRoséen-refp It wasn't. I thought it was her.
 
@FilipRoséen-refp DR?
 
@FilipRoséen-refp You should read more TVTropes.
 
@Jefffrey Defect Report, WG21
 
lol
 
4:55 PM
@Jefffrey it makes programming just a little more magical
 
@FilipRoséen-refp Yes
 
I have a Q
void f (const char* str) {
}

f((std::string("a") + "b").c_str());
safe? why?
 
Yes, safe.
 
Because temporary dies at the semicolon, when f returns.
 
4:59 PM
^
 
25
Q: Lifetime of temporaries

FrunsiThe following code works fine, but why is this correct code? Why is the "c_str()" pointer of the temporary returned by foo() valid? I thought, that this temporary is already destroyed when bar() is entered - but it doesn't seem to be like this. So, now I assume that the temporary returned by foo(...

 
@BartekBanachewicz Not if f stores a pointer somewhere (but that would be pretty dumb)
 
@BartekBanachewicz because temporaries created in any sub-expression is alive until the end of the full expression
 
No.
It's safe because nothing happens.
:p
 
How are you doing robot?
 
5:02 PM
These past two days both my stomach and my imaginary soundtrack tinnitus seem to have gotten worse.
@Jefffrey Not too well.
 
Oh damnit, your stomach too? What do the doctors say about it?
 
@FredOverflow IRTA "vlad"
 
@Jefffrey Blood results are ok.
 
That's a very good sign.
 
It means that I'm probably crazy.
Which the tinnitus validates.
 
5:08 PM
> probably
 
Could be Lupus.
 
48
A: Lifetime of temporaries

FredOverflowA temporary object is destroyed when the full-expression that lexically contains the rvalue whose evaluation created that temporary object is completely evaluated. Let me demonstrate with ASCII art: ____________________ full-expression ranges from 'b' to last ')' bar( foo().c_str() ); ^^^...

lol nice
 
@Rapptz Dude, not funny.
 
2
Q: Are 'The Pragmatic Programmer' and 'The Mythical Man Month' good books for people with limited practical experience programming

JoshuaPPI was once told to read the books titled 'The Pragmatic Programmer' and 'The Mythical Man Month'. I have very little experience programming (basic HTML, CSS and JS). If I were to purchase these books, read through them, would it be beneficial to me with such a limited understanding or would I be...

lol
 
@R.MartinhoFernandes What's your stomach issue?
 
5:11 PM
@Rapptz Pretty much regular morning sickness.
 
ITT Robot is pregnant
 
for a metallic machine, robot has many human diseases
 
Once in a while it lasts into the afternoon.
 
Blood work only eliminates the possibility of h. pylori which also eliminates ulcers.
 
@LightnessRacesinOrbit Yeah, yeah, I've been hearing that for three years now.
 
5:12 PM
Probably because "morning sickness" specifically relates to pregnancy.
 
Well, I feel sick when I wake up.
Not sure what else to call it.
 
Neither am I :(
 
I'd have midday sickness
 
@LightnessRacesinOrbit Since when?
 
^_^
@Rapptz Since ever?
 
5:13 PM
Sexism!
 
@Rapptz Gestationism.
 
posted on March 19, 2015 by Scott Meyers

Brett Slatkin's Effective Python is the latest book with a full-color interior to join my Effective Software Development Series, and I'm very pleased about it.The title of the first chapter--Pythonic Thinking--establishes the approach of the book, and Brett's clear writing style drives it home. But why take my word for it? The book's web site currently has the following sample Items availabl

 
tbh morning sickness is used a lot by males too.
 
@Xeo what's a "Wertnachweis"?
 
@R.MartinhoFernandes If blood work is okay then it isn't blood sugar related?
 
5:15 PM
@Rapptz that's called hangover
BA DUM TSCHHHH
 
I need an opinion from yall for API consideration. Which of the following is less ugly to you? They are more or less functionally equivalent. Both examples show how you have to create a class that lets it receive signals (observer pattern) in my library (you must derive from the 'Base' class)

https://paste.kde.org/pkxrzxjkn
 
the one without friendship
 
Both are awful
 
@Rapptz Yeah.
 
@Pris fuck OOP
 
5:17 PM
@tchrist: Oh, my, you're quite the character. A combining one, I suspect. — Cerberus Mar 10 at 0:16
lol
 
fuck having to derive from anything
 
@Rapptz I know, thats why I said 'less ugly'
 
in C++ you can ad-hoc overload functions
libraries can use ADL to use that overload
bam type classes in C++ fuck interfaces and inheritance and all that
exhibit A: operator<< (std::ostream&, T)
 
@Rapptz I explicitly asked the doctor about that, since there is history of diabetes on both sides of my family.
 
die of beaties
 
5:19 PM
What's a type class? I was considering composition over inheritance but that gets kinda uglier
> Type classes first appeared in the Haskell programming language
Why am I not surprised
 
@Pris a type class can be described as an "open interface"
 
Came here because Vlad strikes again.
 
I've never used composition.
Sounds weird.
 
I mean even in OOP world inheritance is rarely recommended those days, no?
by OOP pros.
 
@AlexM. Best friends forever!
@BartekBanachewicz Inheritance is taught as a good thing in AP Comsci classes.
v0v
 
5:22 PM
@E_net4 Oh?
 
yo folks :)
 
@Nooble You have, it's just you don't know it.
 
@milleniumbug Really?
 
@Nooble what are AP comsci classes
 
5:23 PM
@BartekBanachewicz Courses.
 
what courses
 
@Nooble struct A { int a; }; there you go
 
who is behind them
 
@BartekBanachewicz In my high school we take AP computer science. College Board I think.
 
They're highschool courses
 
5:24 PM
@Pris ...
are you a) seriously trying to b) back anything up with a highschool course when c) I'm in this room?
 
@R.MartinhoFernandes Atm all sane diagnoses that I can think of have been kinda filtered out.
 
Abdominal X-ray next?
 
@Rapptz wrong reply-to?
 
Yes.
 
5:25 PM
somehow I'm under impression that highschool OOP courses might not reflect newest developments in software design
 
@Rapptz Ah, so he is insane.
 
@BartekBanachewicz I'm not backing up anything. Inheritance is taught in university as well. I didn't do CS though, so I don't know if they learn it differently. Every C++ and Java course I know of teaches inheritance and OOP to the point where its actually difficult to start thinking in different terms
 
fuck universities
> where its actually difficult to start thinking in different terms
 
@LucDanton Ah bad word choice :p
 
shit, I already wrote "fuck universities"
well, ~~*fuck universities*~~
 
5:26 PM
:|
 
@E_net4 I don't get why Vlad's answer is downvoted whereas Mgetz's almost identical answer is at 6. They're both kinda crap, anyway.
 
But there is the psychological factor too.
Like he thinks he's sick.
But usually that's not the reason obviously
 
Java 8 stream API is actually quite nice, comparing it to the rest of the language
 
Robots don't think.
 
@BartekBanachewicz So why is inheritance bad?
 
5:27 PM
Yeah. See, I looked up type classes... which led to concepts, and monoids and group sets. And I'm lost, and it isn't really something I'd suspect most people would want to learn
 
@R.MartinhoFernandes How would reading more TVTropes make movie endings less predictable?
 
@LightnessRacesinOrbit So if I was to argue that you're a deterministic being....
 
@Pris IDGI how you could get straight from typeclasses to groups
 
I think the problem with OOP and inheritance is its so easy to visualize that people naturally want to think abou tproblems that way
 
@LightnessRacesinOrbit They aren't the same. Vlad says there's nothing wrong with it, given X. The other answer mentioned UB and why nothing wrong happened during execution.
 
5:27 PM
Except now some people think that hardcore Javaists' mind will explode after seeing other people using it.
 
if you want to learn dumbed down parody of a programming language that java is, be my guest
@Pris bullshit.
 
Bartek still playing Jehovah's Witness for Functional Programming?
 
there's nothing inherently more intuitive in OOP for EVERYTHING vs other paradigms and I stand by that
 
@E_net4 I think you're misinterpreting what he said about "there is no[t] any problem". I'm p sure he's explaining why there is no crash.
Perhaps that takes a certain level of Vlad familiarity, though.
 
@Rapptz no, I'm playing "fuck you if you think OOP is the most intuitive solution to think about every problem because <<natural>>"
 
5:29 PM
@Pris It’s easy to retread how type classes came to be if you try to define e.g. equality over lists.
 
@LightnessRacesinOrbit I'm pretty sure my interpretation of "there is not any problem" can't be that obscure. There CAN be problems in long term, depending on how the code is used later on.
 
equality over any Functor actually I think
 
Would anyone care to tell me why inheritance is bad?
 
It's not bad.
 
@Nooble plenty of resources online
 
5:30 PM
Just misused sometimes.
 
GTG BBL
*most of the time
 
@Nooble It's not bad, it's very widely misunderstood, even in standard libraries.
(see Java collections breaking LSP)
 
@E_net4 He's saying "the reason you did not encounter a problem in running this .exe is:"
 
I understand that. But regardless, there were no mentions of how wrong it is to use non-constructed objects.
And it's sad to see so many questions involving C++ and malloc.
 
@E_net4 Define use
 
5:32 PM
in the grand scheme of Vlad this is a pretty minor infraction
 
@Columbo You tell me. Accessing member fields, passing it to other functions, subclassing it (classwise), etc.
 
@E_net4 Subclassing? What does that mean?
 
@E_net4 What sort of problems do you foresee?
 
And passing unconstructed objects to functions is in no way problematic per se.
 
@Columbo Inheriting.
@E_net4 That would be an entirely different program.
Your logic there is "program A which runs today could give you problems in the future because you may replace it with program B which has problems"
 
5:34 PM
Do web news sites follow DST?
 
@Rapptz In what sense?
 
Probably not. Since it would depend on region.
 
Does Time Published use DST?
 
@Rapptz If you're talking about timestamps on the articles, then if they do not state a timezone then they're fucking useless anyway.
So it's kind of a vacuous question in a sense
 
5:36 PM
@Rapptz Well that's just retarded.
@Rapptz So you shouldn't be asking "does this site follow DST?" You should be asking "what timezone is this site using"? It could be literally anything, not just your own timezone +/- 1"!
 
and just got my downvote from vlad
 
@Neil Kirk I do not see any undefined behaviour, Could you refer the stabdard? — Vlad from Moscow 2 mins ago
ok now he's Vladding
 
@LightnessRacesinOrbit downvoting competing answers: check, completely ignoring reality and the c++ standard: check
 
@Mgetz anddd there's mine.
 
Xeo
@LightnessRacesinOrbit stab stab stab
 
5:40 PM
Vlad just wants to learn
 
yeah
Vlad just wants to learn when to shut up
 
@Mgetz Could you point out how the object of this class should be constructed and how this influences on the calls of the functions? — Vlad from Moscow 38 secs ago
lol, really!?
 
There does seem to be a lot of vladding today. Who stirred him up?
 
Well, he's sort of right. Nobody said why this code has undefined behaviour. Nobody posted standard quotes nor provided any reasoning nor proof.
 
Since when do you need to give Google your fucking phone number to upload videos to YT oO
I'll use another portal then I guess
 
5:46 PM
@milleniumbug That does not make him right to say "one more, there is no any undefined behaviour".
 
@milleniumbug sigh
 
oh cock he might be right
 
@LightnessRacesinOrbit should I delete my answer?
 
Wait, seriously, there is no quote about this? Not even something like "member function is called on an object"?
 
5:50 PM
@Mgetz could you validate mine first
0
A: If in malloc object is not created then why does this code works?

Lightness Races in OrbitIt "works" because the constructor does not initialise any member (in fact, you have no member), so the lifetime of the object is permitted to begin merely by acquiring storage for it: [C++11: 3.8/1]: The lifetime of an object is a runtime property of the object. An object is said to have non...

@milleniumbug of course not. the standard does not iterate every single thing that constitutes "use of an object".
 
@LightnessRacesinOrbit it's still undefined behavior because the constructor is not trival
thus initialization never takes place
even if there are no members
my answer isn't wrong as best I can tell.. just not as complete as @Columbo's
 
> internal compiler error: Segmentation fault
 
@Columbo +1 Nice.
 
@Mgetz It does not need to be
 
k time to upgrade
 
5:54 PM
> An object is said to have non-trivial initialization if it is of a class or aggregate type and it or one of its members is initialized by a constructor other than a trivial default constructor
It is of class type, but none of its members are initialized by anything. There are no members.
Thus, trivial initialisation.
And, therefore, the following line does not take effect
 
> and it or one of its members
 
> if the object has non-trivial initialization, its initialization is complete
 
@LightnessRacesinOrbit IT is initialized!
 
@Mgetz oh fuck
 
IT, the class object!
 
5:55 PM
yes it does, because the class pointer itself may contain other information
MS is notorious for this
@Columbo can I steal your standard quote for my answer?
 
@Mgetz Yeah, sure
 
Added citations to my original answer. Thoughts?
 
You guys all suck
 
@LightnessRacesinOrbit Can I call you baby
 
Those are my thoughts
 
5:58 PM
@Rapptz Do male koalas koalafy as a "guy"?
 
Yes.
 
:(
 
Columbo did annoyingly well on this question.
 

« first day (1615 days earlier)      last day (3341 days later) »