« first day (1510 days earlier)      last day (3666 days later) » 

10:00
Reminds me of that C++ exam I had. "What does the following program output?" Proceed to read the code: void main() ...
user1804599
@Jefffrey either allow those or always require static keyword.
user1804599
It's nice and consistent.
@ParkYoung-Bae 2 letters written with a font height of 20cm: UB.
Or I don't know. Is it UB?
No. It's an error.
@Jefffrey It doesn't cumpile
But ofc you can't put that in an exam answer
So you proceed to guessing what the teacher wanted
10:04
Is it an error? The standard doesn't say it's ill-formed so isn't the "default" that it's UB?
"Oh and that's UB but I assume he wants the output anyway"
No semantics are given for the case that you use void main instead of int main.
@LightnessRacesinOrbit It says that main shall return int.
Xeo
Xeo
@Griwes Unless you're in a freestanding environment
Actually... no.
C says "in freestanding do what you want".
C++ has a slight bug in its wording that basically says "it shall always return int".
> It is implementation-defined whether a program in a freestanding environment is required to define a main function. [ Note: In a freestanding environment, start-up and termination is implementation-defined; startup contains the execution of constructors for objects of namespace scope with static storage duration; termination contains the execution of destructors for objects with static storage duration. —end note ]
[basic.start.main]/1
But it continues to say that main is a name for a function returning int.
10:11
So, it's implementation defined if a main function exists or not, but if it exists it must return int?
Yes.
Of course that's just what the standard says. :P
I once asked Chandler Carruth about the common interpretation, and it's that it's supposed to mean the same thing as the wording in C.
@Griwes Yes, but it doesn't say what happens if main doesn't return int.
is the point
It's a diagnosable rule.
So it's ill-formed.
10:16
However a diagnostic can just be a warning. The standard says nothing about failing compilation.
but that's always the case for ill-formity
user1804599
@TonyTheLion meh
Yeah. "Doesn't compile" is just peasantese for "ill-formed".
4
"My baby didn't compile at birth"
> peasantese
lol
that disparity between the US and the UK ("Great Britain"????) is quite interesting
user1804599
10:19
Is COBOL off-scale?
also I'm on below average salary? whut
@LightnessRacesinOrbit the one is in USD and the other in GBP
Xeo
Xeo
@LightnessRacesinOrbit That's... stupid?
@TonyTheLion yes thankyou I can see that
Xeo
Xeo
because who knows what the cost of living is
10:20
@Xeo I'm talking about the X axis and the relative salaries between languages...
user1804599
All your base are belong to us.
heh, my FF doesn't load that page properly
user1804599
Firefox is what you get when you combine C++ and JavaScript.
CScript++
user1804599
And XML. Lots of XML.
10:24
^-- All your base are belong to us --^
user1804599
o_0 this is the most bizarre thing I've ever seen (today). Why would anyone use anInteger.compareTo(anotherInteger) == 0 instead of anInteger.equals(anotherInteger)
user1804599
Because they are C programmers.
10:32
^ there's your answer
why do you even question it
its Java, that should explain everything
user1804599
@thecoshman If that is the most bizarre thing you have ever seen, you must have an extremely boring life.
inb4 you Java-hating-scrub get out
user1804599
also top kek java
user1804599
Use Clojure and = you noob.
fyi, this is professional software, you can't just do good things!
Xeo
Xeo
10:39
70 minutes till Orion
user1804599
user=> (def moron? (complement #{:rightfold}))
#'user/moron?
user=> (into {} (map #(vector % (if (moron? %) :moron :no-moron)) #{:tony-the-lion :rightfold :thecoshman :cat-plus-plus :xeo}))
{:tony-the-lion :moron, :cat-plus-plus :moron, :thecoshman :moron, :rightfold :no-moron, :xeo :moron}
user1804599
Being able to do this is a proof that Clojure is great.
@rightføld No it proves once and for all that you're the moron
slight typoe there, s/no/complete-and-utter/
user1804599
> static inline
user1804599
10:45
Why would you ever want static inline?
1
A: What's the difference between "static" and "static inline" function?

R..One difference that's not at the language level but the popular implementation level: certain versions of gcc will remove unreferenced static inline functions from output by default, but will keep plain static functions even if unreferenced. I'm not sure which versions this applies to, but from a...

Sounds reasonable enough.
user1804599
Someone just accepted my answer from October the 5th.
I just got another Popular Question badge
I get these way too often
user1804599
I have three of those.
I've got 159 of them
70 Notable Question badges
user1804599
10:55
I got a few famous questions on my old account.
well fuck
user1804599
I have only three gold badges. :(
user1804599
Reversal is the best badge.
user1804599
10:58
Starred 13 times. Try to keep up.
@TonyTheLion nice
Nov 25 at 16:41, by sehe
Wtf an accept on an answer from 2011
user1804599
It was a nice answer about shadowing.
user1804599
With spec quotes!
user1804599
@LightnessRacesinOrbit My answer.
11:09
you didn't answer that question :/
user1804599
I did.
user1804599
The question was about the difference between [A, M[_]] and [A, M[A]] and I explained exactly the workings of the two examples.
I have no idea what you're talking about
So I'm just going to ignore you
@Richard "Han Solo. I'm captain of the Millennium Falcon." - Han Solo, captain of the Millenium Falcon. FTFY — MrLemon 13 hours ago
^ wtf
user1804599
@LightnessRacesinOrbit Good idea.
user1804599
11:16
@LightnessRacesinOrbit What about it?
@R.MartinhoFernandes Why did MrLemon write a comment to transform a good spelling into a misspelling?
He didn't transform it! He added it.
> According to Star Wars creator George Lucas, the Millennium Falcon's design was inspired by a hamburger, with the cockpit being an olive on the side.
Not relevant.
What?
The original comment said "Millennium". Then MrLemon comes along, writes "Millenium" then says "FTFY". This isn't rocket science.
Hello! I've got a library called openimage, so there are .h .lib and .dll files in it, how can I apply this library in CMake?
11:20
I now see that he was most likely simply intending to re-arrange the sentence but he broke the spelling in the meantime, so "fixed that for you" is somewhat ironic.
@rightføld Dunno. None of those answers are particularly wonderful but they're all correct.
@PavelRyzhov Hello. Please RTFM.
> a Java/C++ developer
@Abyx what part of it?
@Abyx I'm not sure that it's a correct folder, that contains .lib and .dll at the same time, is it correct?
@LightnessRacesinOrbit He kept "Millennium" from the original comment unchanged.
> "Han Solo. I'm captain of the Millennium Falcon." - Han Solo, captain of the Millenium Falcon. FTFY
@R.MartinhoFernandes MrLemon spelt it with one 'n' in his part.
11:23
@R.MartinhoFernandes No he didn't...
@Griwes Yes, so what?
@LightnessRacesinOrbit Yes, he did.
@R.MartinhoFernandes In what fucking way is "Millennium" -> "Millenium" somehow "unchanged"??
-1
A: Can someone please explain this college exercise

Lightness Races in OrbitUsually, giving a pointer to std::cout will result in the pointer's value (the memory address it contains) being printed. However, there is a special case for [const] char*, which is automatically assumed to be a C-style string and therefore dereferenced to be treated like one. This (in concert ...

@Downvoter: Just fuck off, yeah? — Lightness Races in Orbit 50 secs ago
@LightnessRacesinOrbit In the way that there is no such change?
> "Han Solo. I'm captain of the Millennium Falcon." - Han Solo, captain of the Millenium Falcon.
11:25
@R.MartinhoFernandes What the hell
Why are you quoting the quote
To show that he didn't change the spelling of "Millennium" from the original comment.
But he did
> "Han Solo. I'm captain of the Millennium Falcon." - Star Wars
@TonyTheLion Not.
11:26
lol
user1804599
@LightnessRacesinOrbit lol
Xeo
Xeo
He has a quote, with the correct spelling. And something extra, with a misspelling.
Can we just keep it at that? You guys are arguing over nothing
That's normal day in the Lounge
get wound up over nothing -> rage quit -> come back the next day -> rinse repeat
oh my god
go back to bed robot
user1804599
lol assuming people know all quotes from all movies and books ever
11:27
@LightnessRacesinOrbit He didn't edit it to change any spelling. Had that been the idea, he would have fixed them all, no?
@R.MartinhoFernandes But then there comes a "fixed" (according to the guy) version, where the word is misspelled.
Xeo
Xeo
@TonyTheLion Yes, and I have to admit, I'm slowly getting annoyed by it.
YES.
It wasn't Star Wars that said that.
It was Han Solo, captain of the Millenium(sic) Falcon.
That's what the edit was for.
He changed the attribution.
Xeo
Xeo
sigh
Thought you wanted it to stop? So when it stops, you add "sigh", thus keeping it going? I'm getting slowly more sick over the hypocrisy.
@LightnessRacesinOrbit just get out then
Shut the fuck up Abyx.
Anyway, who likes the new CGI Millennium Falcon?
11:31
like you did before
I heard it has a cross-guard...
@Griwes Yes, but the fix was for the attribution, not the spelling. It's a weird spelling fix if it ends up with two different spellings.
Xeo
Xeo
@LightnessRacesinOrbit I sighed at your overreaction. But whatever.
@Xeo What overreaction?
2 mins ago, by Lightness Races in Orbit
plonk
11:32
Oh, you think I actually plonked Robot? That's adorable. :)
One might think that after several years in the Lounge you'd be able to detect sarcasm but eh well ;P
user1804599
cool
user1804599
Google Maps displays individual houses.
nothing scary about that at all
Xeo
Xeo
Well, I know you for overreactions and not sarcasm, so there's that.
11:33
The structure of that comment is not "<original comment>" - <fixed comment> FTFY
user1804599
Poe's law or GTFO.
@Xeo Which is strange, when you think about it, since it's 95% sarcasm and 5% overreactions and your view is thus based almost entirely on misunderstanding. Yet even after being informed of this you continue to stubbornly maintain your position in the form of personal attacks. I think that says a lot more about you than it does about me, frankly.
It's <original quote> - <fixed attribution> FTFY, while the original has <original quote> - <bad attribution> FTFY (where "bad attribution" is debatable but let's not go there)
hello
Xeo
Xeo
plonk
11:35
sigh
and I'll say again: rampant hypocrisy.
Xeo
Xeo
lol
@AjayGU Hello. Good luck.
Really? You're flagging my innocuous messages now? Grow the hell up Xeo.
Xeo
Xeo
wtf
I even invalidated that flag
Or possibly Abyx
Ok sorry for my accusation
The timing was highly suspect you must admit
You know, you can see who flagged stuff.
It's in the websocket.
11:36
@BenjaminGruenbaum Really?!
tell me tell me tell me
Xeo
Xeo
didn't they fix that?
I thought they'd patched that?
jinx
@BenjaminGruenbaum heh, haxors
@LightnessRacesinOrbit lol, don't worry, I won't tell anyone you flag a lot :D
You're a clever bunch - go see for yourself :)
@BenjaminGruenbaum Its not exactly a secret
11:36
I bet xeo is the only one who consistently plonked me ... that's k, he's boring, so no fun lost
@BenjaminGruenbaum stop spreading lies
@TonyTheLion what?
@TonyTheLion lol, yeah that's true.
@chmod711telkitty speak up I can't read anything you're saying
@BenjaminGruenbaum wtf
Dude it's cool we still <3 you don't worry about it.
I don't flag
stop being an arsehole Tony
11:37
@LightnessRacesinOrbit woah, mind reading, I like that
@chmod711telkitty I know, right? :D
@Xeo can't find a meta post for it now - I was so sure there was one
@LightnessRacesinOrbit lol
Tony The Pariahn
> When disaster finally did strike, it didn’t come in the form of fraudulent transaction. The donut box fell over, late on Friday night. Roland had to call Roy, who had to commute into the office to stand the box back up. After doing some root cause analysis, Roy also taped the box to a server rack, thus guaranteeing continual uptime.
tdWTF discredits robots
11:39
> Roy also taped the box to a server rack, thus guaranteeing continual uptime.
lol
Mime type:

« first day (1510 days earlier)      last day (3666 days later) »