« first day (855 days earlier)      last day (4311 days later) » 

23:00
Doorknob... hm.
Well, okay.
I come back to see MSVC staring at me on the starboard. Excellent...
right
I think I earned myself a quick break
time to play a 2.5hour game of Starcraft 2
"quick break"
user142019
I'm writing a spec. :L gist.github.com/daknok/4973923
user142019
23:02
Awesome.
user142019
Haha the pseudo-BNF looks weird there.
Tabs are not whitespace?
Oh... wait.
user142019
Oh shit I forgot function parameters.
user142019
@R.MartinhoFernandes :D
user142019
I didn't even think of that lol.
23:04
Tab should be a whitespace. :D
Meh, no Unicode identifiers. You suck.
user142019
Tabs should be syntax errors.
user142019
@R.MartinhoFernandes Unicode identifiers are terrible.
The puppy has that. Right @DeadMG?
23:05
@Zoidberg That's horrible. D:
pretty sure that they are accurately classified as whitespace.
No, I meant identifiers.
1 min ago, by R. Martinho Fernandes
Meh, no Unicode identifiers. You suck.
@R.MartinhoFernandes How would you do unicode identifiers, though?/
@ThePhD There's a spec for it.
23:06
It'd mean almost every possible bit combination in a uint32 was legal.
Save for specific whitespace ones.
oh
well, I sure don't have Unicode identifiers
user142019
Okay I added more whitespace due to popular demand.
user142019
COMMENTS!
23:07
so hurry your ass up and port ogonek to MSVC :P
user142019
Oh wait.
user142019
I want ', ? and ! in identifiers too.
Why don't you just say that comments are ignored?
user142019
Because you cannot have foo/**/bar as a single token foobar.
user142019
23:09
And saying they're whitespace is just as easy and implies this.
@Zoidberg Zoid. Zoid? Zoid!
Reminds me of Ook!
user142019
Convention would be ? for functions that return a Boolean and ! for member functions that modify the object rather than returning a new one, similar to Ruby.
no, REALLY?
user142019
@DeadMG yes, REALLY!
user142019
23:12
Okay.
user142019
> Identifiers must match [a-zA-Z_][a-zA-Z0-9_'?!].
@JohannesSchaub-litb, your answer doesn't make any sense. It can't even pass the compile. — icando 1 hour ago
user142019
Identifiers in Zoidlang will be very undescriptive according to the current spec. :L
@LightnessRacesinOrbit lol
user142019
They can only be two characters. xD
23:14
Hm.
0
Q: is-a and has-a implementation error

Rudi AksamSo, I got a code like this: class Fruit {//some constructor method and instance in here} class Banana: public Fruit {//some constructor method and instance in here} class plant { public: plant(){ thisFruit->Banana();//everytime a new plant is created, its thisFruit will point to a...

^ Where do people learn to think like this in C++?
user142019
s/rule of three/rule of zero/ — Zoidberg 17 secs ago
user142019
:3
user142019
@Insilico school/cplusplus.com/bad fora/noobs
@Insilico From books and other terrible resources.
Also just naturally messing around.
23:17
-5
Q: How to deal with Scumbeg Steve?

Viktor La CroixI would say it's pretty common that people ask their question on SO but also somwhere else. I don't like it, but there is probably nothing we can do about this, but picture following scenario: Somebody asks question on SO after four days you see that question and decide to look into it. So yo...

@ThePhD The -> thing is new to me. Even cplusplus.com gives at least a decent description of what it is.
@Insilico C++ as a first language is madness
@Doorknob I like Nicol's answer. "What are you, six years old?"
@R.MartinhoFernandes yeah, I upvoted it :)
> So I will post it here, but I don't want you to click on it.
23:19
Lol
@Doorknob Oh god
Oh god indeed @Cat
Wait, what.
> So what Am I asking here? It would be nice to let other people know some users are scumbeg. Little button in his profile [This User pissed me off] There are other situations I would use it.
user142019
0
Q: is-a and has-a implementation error

Rudi AksamSo, I got a code like this: class Fruit {//some constructor method and instance in here} class Banana: public Fruit {//some constructor method and instance in here} class plant { public: plant(){ thisFruit->Banana();//everytime a new plant is created, its thisFruit will point to a...

user142019
23:20
Bringing some sanity to the sea of bad answers.
WTF kind of feature suggestion is this.
OP is asking for a feature to mark bad posters so we can use it on him
oh the irony :D
Cat has all these emotes in store. x3
It's so lovely.
Maybe I should write something that with specific syntax changes my text to a link of an emote.
user142019
23:23
emot-psyboom.gif is still my favourite.
:pedo: wtf
user142019
lol
user142019
user142019
lol awesome
Hint: it's a script that transforms :text: into images
(Install it, and we can even stop oneboxing gifs)
@CatPlusPlus Now, if only there was a script to turn those images into back into :text:
What are bullet lists in markdown?
Wait, there has to be a wiki for this somewhere
user142019
I will make if, while, for and switch expressions instead of statements.
* a
* b
* c
23:30
@LightnessRacesinOrbit, now I gained more confidence over myself now. If such a person is a C++ expert, then I can definitely call myself C++ super expert now. It also explains why C++ is evolving so slowly and losing its popularity. It is because standard committee is filled by those non-creative guys. Actually C++ itself is an art, and lots of powerful paradigms are found by programmers, not by the committee guys. — icando 7 mins ago
ahahaha
user142019
- a
- b
- c
user142019
Much better IMO.
@ThePhD Yeah, or, like the Stack Overflow FAQ. It stands for FREQUENTLY ASKED QUESTIONS
@LightnessRacesinOrbit lolwut
user142019
23:31
One problem is that I have expressions statements in the form: expression ;.
user142019
If if is an expression it would look like this:
Don't have statements
The space before the ; is the problem?
user142019
if (condition) {
    foo();
}; // <- lol
o_O;
23:32
Get rid of ;
Roflmao.
I've been thinking about that.
If statements or expressions don't end with ';', how do you delimit them?
Newlines? Spaces?
user142019
I should make this a syntax error too, just like tabs:
you don't really need to delimit statements, it's only expressions.
user142019
fn i_suck_at_braces()
{
    meh();
}
user142019
23:32
SYNTAX ERROR OPENING BRACE ON NEW LINE.
in c an expression is a statement, not the other way around
You should use Tcl
@sehe Can you quote the comment? That link doesn't transport me to a particular comment for some reason.
Statements are bad
user142019
In JavaScript, this is a syntax error:
23:33
Douglas Crockford interprets Monads very liberally.
I did investigate, for Wide, having something like
Don't do statements kids
user142019
return
{
    a: 'b',
    c: 'd'
}
return(expr) and throw(expr), and ditching ; altogether
user142019
Error because implicit ; after return. xD
23:33
@FredOverflow Here comes:
> Tehe, I just saw a recent video of your clueless demigod (Crockford) attempt to explain monads to a bunch of JS weenies. What a complete failure. Not only does he say many things that are not true, nor close to true, he says things that remove any hope of allowing the audience to develop a concept that is true.
> Anyway, I was just reminded of your foolishness as I watched this catastrophe unfold. And yes, I am having a nice life, well away from clueless twiddles like you and Crockford!
1 min ago, by FredOverflow
Douglas Crockford interprets Monads very liberally.
user142019
Wait.
so ; will then be a newline? or what
user142019
I can make if, for and while functions LOL!
user142019
@doug65536 no JavaScript inserts ; if statement ends with newline.
23:35
> "Ajax Mondad"? Seriously? That's Method Chaining.... I don't want to live on this planet anymore...
lol
In some implementations you can even comment out the implicit semicolon and get a syntax error!
user142019
lol
user142019
Identity monad!
@CatPlusPlus I remember that.
sometimes this works:
23:35
> coloring is for kids, I'm a grown up...but I would like to have coloring...
@CatPlusPlus How the hell do you do that?
return/*
*/{
    a: 'b',
    c: 'd'
}
perl's parser forgives you for forgetting a semicolon if there isn't any ambiguity
@LightnessRacesinOrbit That guy is such a jerk.
23:35
Perl's parser is guessing anyway
commenting out an invisible character :D
@Doorknob That's brilliant.
map { print } @the_array; <-- It doesn't care about the missing ; after print
> I am not trying to be aggressive or offensive, but I just can't bear brain-dead guys
haha
23:37
@sehe He mad.
is floorf(-1.5f) guaranteed to return -2.f? ?
user142019
Okay this syntax will be very weird:
user142019
expression-stmt:
    expression ;

If the last token in the expression is }, the ; can be omitted.
user142019
sddfds
23:38
You suck so much at this.
@LightnessRacesinOrbit, I am not trying to be aggressive or offensive, but I just can't bear brain-dead guys (not you) claiming something impossible, simply because their lack of imagination and creativity. C++ is an art and nothing is impossible. One should never put a limit to his imagination. For example, stackoverflow.com/questions/14508805/…, this seemingly impossible task actually has a very simple and elegant perfect solution found by me. — icando 1 hour ago
Ahahahahahahahahahahahahahahahaha
user142019
@R.MartinhoFernandes :P
SEE PLUS PLUS IS A ART :downs:
> this seemingly impossible task actually has a very simple and elegant perfect solution found by me
That's when you know the OP is full of shit.
you know
maybe for once, if I don't want to wake up tired, I should go to bed earlier.
especially as I have a 9:20 am meeting with my doc
23:39
Yeah, I should go too.
Gute Nacht!
@R.MartinhoFernandes Good night!
@CatPlusPlus "I'm right and the whole world is wrong"
Xeo
Xeo
@R.MartinhoFernandes G'Nacht.
@DeadMG good luck
23:40
^ @LightnessRacesinOrbit Y U EDIT THAT?!
"a very simple and elegant perfect solution, new from icando"
"formula contains beta-19"
A "PREFECT solution"...
@AndyProwl already took care of it :D
Xeo
Xeo
3
Q: Why exactly cant alexandrescu use std::uncaught_exception() to implement SCOPE_FAIL in ScopeGuard11?

PorkyBrainMany people are no doubt familiar with Mr. Alexandrescus ScopeGuard template (now part of Loki) and the new version ScopeGuard11 presented here: http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C with source here: https://gist.github.co...

Hmmm
@LightnessRacesinOrbit: nooo why :D
23:41
"C++ is an art and nothing is impossible" Create a strict infinite array then. — Cat Plus Plus 24 secs ago
Boom
@AndyProwl Read the edit reason to find out the reason for the edit
> I can't bear brain-dead misspellings.
yes, yes indeed
I can't bear, I only penguin
23:41
I asked, and the Lord giveth.
gasp You're a PENGUIN?!
Xeo
Xeo
@CatPlusPlus What did "strict" mean again?
Not lazy
Hint: it's impossible in any language
Xeo
Xeo
That's what I guessed.
23:43
@FredOverflow Thanks. Hopefully he found something in the 9 billion litres of my blood he sampled.
 thisFruit->Banana();//everytime a new plant is created, its thisFruit will point to a new Banana Object
ahaha only just saw this
You can't fit an infinite object in finite memory, and you can't create an infinite object in finite time
BUT IT'S A ART
@LightnessRacesinOrbit Even with my limited knowledge of C/C++/C# I laughed at that :D
@LightnessRacesinOrbit lol that made me ask WTF?
23:44
@Xeo not lazy
I'm sure C++ super expert can find a way to do that
Xeo
Xeo
Heh
Maybe we should invite him here so he can teach us the REAL C++
@CatPlusPlus "C++ super experts" exist?
23:46
yes we'll ask , and leave out of it (just in case)
@Insilico keep up
no matter how clever you are, you'll always run into the heat-death of the universe :(
@LightnessRacesinOrbit, now I gained more confidence over myself now. If such a person is a C++ expert, then I can definitely call myself C++ super expert now. It also explains why C++ is evolving so slowly and losing its popularity. It is because standard committee is filled by those non-creative guys. Actually C++ itself is an art, and lots of powerful paradigms are found by programmers, not by the committee guys. — icando 24 mins ago
Xeo
Xeo
Mmm.. to continue hamgen or not to...
@CatPlusPlus What. The. Fuck.
> It is because standard committee is filled by those non-creative guys.
23:47
@Xeo read hangman lol
icando is the embodiment of the Dunning-Kruger effect.
He totally found a solution to the IMPOSSIBLE
He should be president of Earth
> This bias is attributed to a metacognitive inability of the unskilled to recognize their mistakes
Suddenly, I understand so many people.
@ThePhD Yeah, it's reverse impostor syndrome.
People be dumb
23:49
@Insilico psychologists should prescribe 1 hour a day in this chat room to cure that illness
@doug65536 I have starred that, despite its lack of self-contained context, because it's amusing no matter which illness you pick.
@CatPlusPlus Especially when they're Polish cats.
Ell
Ell
Ugh I'm still dyyinnngg
@EtiennedeMartel Confirmed
@Ell Us too
(We too?)
It sounds weird either way
Us too.
or "We are too"
23:51
We be as well.
user142019
Oh also fucking unrestricted switches.
user142019
Restricted switches are terrible.
We be crazy
(One might argue you're not really a cat, but rather a catkin).
I'm a napkin
user142019
23:52
Switch must be possible to use on anything that has == operator defined.
A friend to all nappers.
@CatPlusPlus An otherkin that identifies as a nap?
@Zoidberg Pattern matching
That would explain your laziness.
I'M NOT A NUMBER I'M A FREE NAPKIN
23:52
> I'm Nala. 20 years old. Cis, vegan, multiracial, bisexual, demisexual, pagan, plural, catkin, witch.
The things you find online....
Xeo
Xeo
constexpr std::size_t sum_chars(char const* p, std::size_t sum = 0){ return *p == '\0' ? sum : *p + sum_chars(p+1); } -- can be used at compile-time and sums all characters~ What more could he want? :D
What the fuck does "demisexual" mean
powershell has some strange switch syntax.
@CatPlusPlus It's the demise of our god xual.
Also how the hell can you be plural
user142019
23:53
switch-expr:
switch ( expression ) { switch-case* }
switch-case:
case expression ( , expression )* : expression? | default : expression?
> A demisexual is a person who does not experience sexual attraction unless they form a strong emotional connection with someone.
Unless it's MPD
@EtiennedeMartel There is a word for that? TIL
But then why does it start with "I'm" not "we're"
user142019
Statements are expressions and expressions are statements. :D
23:54
@Ell impressive
@Ell Did you eat crisps yet?
@EtiennedeMartel Right
@CatPlusPlus There's the whole "multiple system" thing, when you think there's multiple identities in you.
Xeo
Xeo
@EtiennedeMartel, I am not anti-committee, I just want to kick this stupid answer out of my question here. A guy ``has contributed significant expertise...'' doesn't mean everything he said is correct. Whether an answer is correct or incorrect is just a matter of fact, irrelevant to who said it, even if he was smart in the past. — icando 6 mins ago
Bwahahaha
Multiple Personality Disorder :v
It's not really MPD, more like Internet-class attention whoring.
23:55
Ahm
MPD is DID nowadays
also I wish they'd stop calling everything a "disorder" gees
Direct inward dialing?
@icando It's not stupid if it's the truth, even if said truth is inconvenient for you. — Etienne de Martel 5 secs ago
@Zoidberg switch "returns" a value? a = switch (b) { 1: 10; default: 20; }; ?
Ell
Ell
@lightness I ate pizza
user142019
23:56
Yields a value.
user142019
Functions return and expressions yield.
Ell
Ell
Well, a few slices
Ill Probably be fixed in the morning
user142019
@doug65536 and yes that's possible.
Feb 2 at 20:47, by DeadMG
the nurse took about 9 million litres of my blood
Ell
Ell
I Better be fixed in the morning
23:56
So, this. She's a crazy cat lady who thinks her soul is shared with her cat. Or something. It's fucked up.
@DeadMG ^ U CONFUSED? Make your mind up :)
user142019
There is also a yield statement for in statement expressions:
Hey, I'm out-of-imagination, where's my strict infinite array — Cat Plus Plus 10 secs ago
Also my money
Ell
Ell
@deadly @zoid do your languages have const?
Hey @Deadly
Ell
Ell
23:58
Damnit.
user142019
a := switch (x) {
    case 42: {
        do_something();
        do_something_else();
        if (meh()) {
            yield 6;
        } else {
            yield 5;
        }
    }
    default: -1
}
@PeterWood: That works out at a little over 3 minutes per character. You are so brain-dead — Lightness Races in Orbit 19 mins ago
^ whoa
@PeterWood, it was voters who made Hitler chancellor. The majorities are stupid. — icando 1 min ago
@Zoidberg Is missing default a compile-time error?
@sehe yes I worked it out :D
Ell
Ell
23:59
@zoid are the yields necessary?

« first day (855 days earlier)      last day (4311 days later) »