« first day (1458 days earlier)      last day (3482 days later) » 

1:02 PM
I wonder why CL does not allow using concepts in type specifiers for variable declarations
 
@Xeo LIcES!
 
user1804599
def _(x):
    """Function to trick pybabel extract."""
    return x
 
user1804599
:v
 
@CatPlusPlus Can we have an alert for when that happens?
 
ALERT! ALERT! ALERT!
^ enough for three occasions. enjoy
 
1:05 PM
@Sofffia Thanks. My motto is "when life gives you foo, have a barbecue."
 
I'd rather deal with IRC problems
so sucks
At least IRC managed to make uneditable audit messages
I wonder if anyone replied to the chat data dump request
(haha)
 
$ git log --all --oneline --grep='msvc build fix' | wc -l
     30
$
 
lol
 
$ git log --all --oneline --grep='non-msvc build fix' | wc -l
     2
$
Curious.
 
@R.MartinhoFernandes til you can use grep in git logs like that
 
1:21 PM
Okay I have a very dumb opengl question... but if I have a render loop rotating an object like object.rotation.y += .01`, and I want to stop it from rotating on a mousemove function, how would that work?
 
that's not overly broad at all
 
Also not OpenGL at all.
 
but it is a dumb question, at least you got that part right ...
 
Google playing God (rather actively here)
 
@corvid erm
have you tried googling?
 
1:29 PM
@corvid first, work out the difference between a library used for rendering graphics and a library used to get mouse input.
 
it's also not OpenGL related
 
for some reason, now I might be given the option to delete all my trace off the internet, I suddenly realise that I don't want any of my information to be deleted from the internet at all ...
 
user1804599
Do you prefer 42l or 42L?
 
@rightføld No.
 
Xeo
42
 
1:32 PM
42L
42l looks like 421
 
user1804599
Hmm.
 
and 42L looks like I can't program for shit
 
... with the font used here
 
Get glasses.
 
Glasses do not aid in disambiguating characters with no comparison.
 
1:35 PM
he he he, boobs
4
 
user1804599
I think I'll just go with l.
 
@rightføld capitulate good sir!
I know what it means, but I'm using it to mean 'capitalise', see what I did there? punny isn't it?
 
@AlexM. Frankly, I'd just write 42.
 
l1|
I love the way when you rotate a stick around, adding/deducting a bit from the length, you get different meanings: _\|/-
 
@AlexM. Because of 2.14.2/2.
 
1:51 PM
suffixes are useful if you want to use auto
I'd go with lowercase
 
Xeo
Well this is funny
We had a huge performance problem in our inventory screen.
After refactoring the screen, and dropping 1400 display objects, it wasn't much better
 
@AndyProwl that's mostly where I use them
 
Xeo
dropping a certain other 600 (which should only be active for the web version anyways) made it perform nicely now
even in the slowest possible build (debug, interpreter)
 
Objects?
Why do you have 2000 objects that you do not need anyway?
 
Xeo
display objects - stuff on the screen
 
2:04 PM
Ah.
 
paging issue? one certain object had a bug?
maybe profile your memory & cpu usage as your inventory screen load the objects ...
 
Really?
I'm sure its been posted before but i just saw it
 
2:20 PM
huh.
if I say I have a command window, and I invoke an executable, is that not sufficiently clear to show WTF is going on?
 
@Borgleader ewwwwwwwwwwwwww
what the ACTUAL fuck
 
its like hes trying to do extension methods in c++ or something
 
@LightnessRacesinOrbit you always can quit doing c++ if you don't like it
 
@Abyx C++ is just fine (message sent in 2010). That doesn't seem to stop the committee from doing everything they can to fuck it the fuck up
@Borgleader Yes, the overview section states that explicitly
> Enable “extension methods” without a separate one-off language feature
 
¬_¬ discrap has done a very bad job of letting me know when shit is updated.
 
2:30 PM
Honestly, crap like this is making such a mess
RIP C++
 
@LightnessRacesinOrbit oh, i sort of skipped to the code examples
 
well at least now you know you were right ^_^
 
morning
 
morning
 
2:34 PM
So I managed to have a legitimet sentence containing 'two too to' :D
 
@thecoshman legitimet you say?
 
I proposed #308 for those of you who are playing Nomic.
 
It scares me that some code will live forever.
Like that code that does the "check clearing" thing mentioned in the paper.
 
Gosh, it's repost day.
 
@Borgleader "He'll speak to you two too to see what you think"
@R.MartinhoFernandes that's what I thought at first.
 
2:42 PM
@R.MartinhoFernandes Well, I do not have the time to read everything in the chat whole day. :)
 
-4
Q: Why did Ubuntu turn into such a piece of shit ?

user255633Ever since 12.04 (that was in my opinion the best LTS ) i have been encountering numerous problems and bugs . For example there is well known bug 1n 14.04 that was reported about VPN not working , hasnt been solved as of yet , and then devs. release 14.10 without solving bugs first in 14.04 . It ...

 
omg
 
user1804599
lol
 
user1804599
I posted a wrong answer, which got two upvotes, then I edited it to make it correct and it immediately got accepted.
 
@VáclavZeman Well, why not?
@rightføld You are incredibly dumb.
 
2:46 PM
@LightnessRacesinOrbit Because I have a job to do? Also, you at times boring. :)
 
@VáclavZeman averse*, presumably
> In an ASCII world, they are an annoyance because they get quietly replaced in quoted strings
Wait, really?
 
"Really??!"
 
@R.MartinhoFernandes lol
 
Trigraph replacement is one of the very first phases of translation.
 
Xeo
@LightnessRacesinOrbit "??/n"
needs trigraph replacement
 
2:49 PM
@LightnessRacesinOrbit I was surprised to read that as well. OTOH, the sequences that compose trigraphs are really unlikely in normal text.
 
@LightnessRacesinOrbit about trigraphs or that warning?
 
personally I don't get this issue at all
if you're not gonna touch your legacy code out of fear of breaking it, why would you then upgrade the compiler it uses?
 
@Xeo that would be the best troll evah
@R.MartinhoFernandes one of the very first circles of hell*
@thecoshman that trigraphs are replaced even inside string literals. I didn't realise that
@Puppy The linked paper addresses that point in some detail
 
The Unified call syntax seems interesting.
 
It's also the reason that they will not oppose a C++17 without trigraphs, nominally, also as stated in the linked paper
24 mins ago, by Lightness Races in Orbit
@Borgleader ewwwwwwwwwwwwww
 
2:52 PM
@CatPlusPlus you boob. You were turn 7
 
Whatevr
I'm bad at counting
 
no need to even count.
 
@VáclavZeman is it the one proposed by Scott?
I haven't had a chance to look at it yet
*Herb, sorry
not Scott
 
There's a nearly identical one by Bjarne
 
@MarcoA. Sutter, yes.
 
2:55 PM
Hi guys, would you mind terribly looking at stackoverflow.com/questions/26342810/… ? I can't really think of any elegant way of doing it and that really annoys me :-/
 
Xeo
@Cicada I like Bjarne's more, because it doesn't have the stupid "try this in every argument position!" part
 
@Jendas No, I would not mind downvoting it. I perform this service all the time.
 
lol arrays in database
 
@Puppy Hooray :-/
 
The elegant way is not having arrays which makes the database not even 1NF
 
user1804599
2:59 PM
Arrays do not inherently violate 1NF.
 
user1804599
Also, returning arrays is highly convenient in some queries, even if they are not stored as arrays in the tables (see array_agg).
 
@rightføld Pray tell
 
user1804599
Arrays also allow paremeterised IN queries without string concatenating question marks.
 
Well actually there are no arrays in database. The view I use does that..
 
3:05 PM
@Jendas what twat voted to close that as "request for a book or off-site resource"?
 
I might start picking random reasons
Could be fun
 
go for it
 
@Xeo "Hello world".fputs(file) lol
 
user1804599
SSCCE.
 
@rightføld CReduce, ftfy
 
3:16 PM
inb4 bin
 
wtf is all this?
 
Xeo
3 messages moved to bin
Stack Overflow and proper SSCCE
 
grumle grumble if I was an owner grumble grumble :P
 
@thecoshman you know who to blame for that
 
inb4 'you are was'
@Borgleader :P
 
Xeo
3:17 PM
you have been
 
@thecoshman if I were*
 
1 min ago, by thecoshman
inb4 'you are was'
 
15 secs ago, by Lightness Races in Orbit
@thecoshman if I were*
 
@LightnessRacesinOrbit alright Johny
 
@thecoshman Johnny*
 
3:19 PM
@LightnessRacesinOrbit well at least you got the reference
 
@thecoshman I didn't, actually
how the heck can C-Reduce possibly work??
 
@LightnessRacesinOrbit Johnny English...
 
@thecoshman ok
 
@LightnessRacesinOrbit B-rilliantly.
 
@thecoshman you're tickling my Bean now
 
3:20 PM
he knows no pain, he knows no fear, he knows ... nothing.
 
oooooooooooooooomg
 
@LightnessRacesinOrbit I've seen your Bean
 
oooooooooooooooomg Puppy thwaps a cultural reference on the table
hey, cool, I got the same number of "o"s both times
he he
 
ITT trivial shit
 
ITT this is the Lounge what were you expecting
 
3:22 PM
ITT trivial shit
 
so
I've been running this tool for more than three hours now.
 
You've been running as a tool for over twenty years
 
it can only process text at 100kb/s
 
o.o that seems slow
 
on a single thread.
 
3:34 PM
what does it do?
 
nda
 
  // Make sure the Browser is shown if params call for it.
  ScopedBrowserShower shower(params);
^ what should be instead of "shower" here?
 
lol
 
@Abyx bath
 
3:35 PM
lol x 2
 
squat_toilet
 
combo broken
@Abyx viewer
ShowManager when in doubt
 
ScopedBrowserShowManager?
 
Also why isn't it ScopedBrowser browser(params); browser.show();
or show(browser)
 
because it's not a ScopedBrowser.
it's a thing for AT_SCOPE_EXIT( browser.show(); );
they probably could use a "scope_exit" helper with a lambda, but there is no such thing in chromium
 
3:41 PM
lol good type
 
Would generating thousands of overloads impact runtime performance?
 
Or would it just affect filesize/compiletime (C#)
 
Hello! What's difference bettween Class foo; and Class foo();?
 
@QueueOverflow rtfm
 
Xeo
3:44 PM
hoooome
 
@Abyx It is the worst answer, that I heared ever.
2
 
@QueueOverflow ever? like really?
you must be new on the internets then
 
lol
 
@QueueOverflow I hate to break this to you but we're not here to answer questions. Except for @LightnessRacesinOrbit
2
 
@Abyx No, you mistaken. I use internet since 2004 - 2005.
 
3:47 PM
@QueueOverflow Class foo(); is a function declaration.
 
*whoosh*
 
NEEEEEEXT
 
@Borgleader My experience don't agree with you.
 
lolwut?
 
@Sofffia But a function declaration is restriced inside a function.
 
3:48 PM
@QueueOverflow then your experience is incorrect.
 
@cHao It's just your opinion. What a pity.
 
@QueueOverflow C++ doesn't give a fuck. If something can be parsed as a function declaration, it will be. Accept that and use Class foo; or Class foo{};.
 
I'm messing up something miserably, but not quite sure what...
 
Also this shit is boring and could have been easily found by searching for few decaseconds.
 
and for reference, you can declare functions within functions. not sure whether you can define one, but you can certainly declare one.
 
Ell
3:49 PM
Yay payslips
 
@QueueOverflow And the opinion of the majority of the room /whoops
 
that's the biggest reason the most vexing parse is so vexing.
 
@Puppy You are not the majority of the room. I thought we were over this.
8
 
@Sofffia who is that "we"?
 
@Abyx The majority, i.e. Puppy.
@cHao Technically it's not the MVP
 
3:53 PM
@Sofffia I don't believe I said that I was.
 
@Abyx Me and him.
 
the MVP is T foo(bar());
 
@Puppy Often times you speak for the room though.
 
@Sofffia Thanks. But why I can do it? A function-definition is not allowed inside a function according to a standart.
 
but it exists for the same reason
 
3:53 PM
@QueueOverflow The function declaration is.
 
well I have been here for a tremendously long time and know pretty much all the regulars
 
@QueueOverflow Parsing happens in stages. Seeing T foo() as a function declaration happens before the compiler notices/cares that you're inside a function definition. Also it would be highly confusing to change the meaning of T foo() depending on where you wrote it. There's just no reason to do that.
 
doesn't escape my notice that even the more tolerant members like robot and jalf send questioners away now.
 
@Sofffia Can you be more polite?
 
meh the room is not what it used to be
 
3:54 PM
@QueueOverflow no.
 
> Security Update for SQL Server 2008 Service Pack 3 (KB2977321)
 
@QueueOverflow As for why the function declaration itself is valid.... I'm not quite sure, actually.
 
@QueueOverflow Yes, I can. But I doubt I will.
 
This has been failing to install for months =/
 
@LightnessRacesinOrbit Thanks for a answer.
@Sofffia I suppose that you should.
 
3:55 PM
@QueueOverflow you can flag it
 
@Abyx He cannot.
 
@QueueOverflow not really
 
It declares for the global scope so you can do this - it may be useful if foo is defined in a different translation unit and you don't want the declaration to be visible to your entire current translation unit. But meh.
 
@Sofffia what a pussy
 
ikr
 
3:56 PM
Well you walked right into that one, didn't you
 
(didn't flag that and you know it)
 
blimey, it should not take half an hour to output like, a gigabyte of binary data.
 
@LightnessRacesinOrbit I thought about it, but... I never seen a using of this trick. I will remember it. Thanks a lot.
 
@LightnessRacesinOrbit ahh. i've been using the phrase wrong all this time...lol
 
@QueueOverflow Yeah I don't think I've seen it either.
@cHao disclaimer: I'm not 100% on this
 
3:57 PM
@QueueOverflow No, I'm sorry. I don't agree.
 
user1804599
baka
 
@cHao If I'm right though, you're definitely not the only person to get it wrong. Most people do.
 
@LightnessRacesinOrbit wikipedia agrees with you. not sure how much that counts for, but :)
 
I'm going to try to cook pumpkin risotto today.
 
I'm pretty sure I'm right though :)
 
3:58 PM
 
ew
 
Should be fun
 
I've had pumpkin soup once and it was of limited taste.
 
Cutting the pumpkin was fun.
 
As there is nothing "ambiguous" about T foo(). Then again there's nothing "ambiguous" in the MVP either, by virtue of the fact that the whole point of MVP is that it's a rule of the standard that provides a concrete meaning for the code
@Sofffia try to*
 
3:59 PM
@Sofffia Time is the father of truth...
 
Hey, make a lasagna. I hear they're easy.
@Sofffia I do.
@QueueOverflow And I'm its mother.
 
blah blah there's the door ->
2
 
@LightnessRacesinOrbit I know you do.
 
did you kick him?
 
Oh here we go, more immature condescending behaviour from the room owners and their former colleagues
This is why we can't have nice things.
 
4:01 PM
@LightnessRacesinOrbit go ask @R.MartinhoFernandes to write about it on MSO
 
The pumpkin is malleable but hard enough to be perfect for sculpting.
Now I understand why people enjoy making pumpkin faces and such.
@Puppy Never tried that, but pumpkins cooked in the oven are all but "of limited taste".
I would eat that shit every week.
 
4
Q: Place questions with X net downvotes on hold automatically

JamesTo resolve the frequent issue of poor question unfairly gaining answers, and thus paving the way for more poor questions to be asked I Propose If a question has 3 [or perhaps 4] net downvotes, the question is put on hold automatically, and no answers are allowed until the question is res...

@Abyx go away
 
@LightnessRacesinOrbit "please"
 
@Abyx "please"
 
@LightnessRacesinOrbit what?
 
4:08 PM
@Abyx Was there something confusing in what I said?
 
no idea
you think I'd care about what you say?
 
...
evidence suggests so, pal!
 
Ell
I'm trying tea again and I like it
 
@Ell the taste of its cherry chapstick?
 
Ell
It feels so wrong
 
4:10 PM
@Ell ...it feels so right
 
Ell
I can't remember anymore :(
 
that's not how it goes
loser
 
Yes, tea.
 
I suddenly want some hot tea.
 
4:13 PM
Well since you've been here for all of two days and have no activity prior to this question, I'm certainly grateful to you for informing me what the main purpose of this site is. Thanks! — Lightness Races in Orbit 17 secs ago
 
user1804599
Yeah, you don't want cold tea.
 
user1804599
I had cold tea once. Man. That shit is even worse than hot tea.
 
Also have a look at new c++11 features like std::regex which is to my knowledge constructed for fast/easy parsing. — rashmatash 56 mins ago
ugh regex for parsing
 
that's kinda cool
not sure how mentally sane
but cool
 
what is
use reply-to dammit
 
4:16 PM
No, everything is cool!
Both hot tea and using regex for parsing :D
 
> “I have only got five or six years left and I will be gone – I won’t have to worry about ISIS or Ebola," says ex-Python
Wow
 
user1804599
You know, I used to keep a list of questions that could be solved by just using std::vector instead of new[]. If I didn't stop keeping it up-to-date a few months ago, my VPS' hard disk would be full by now. — rightføld 3 mins ago
 
That's... sad.
 
Ell
4:24 PM
Regex is for parsing isnt it?
Parsing simple strings
 
user1804599
Regex is for whatever the fuck you want to use regex for.
 
user1804599
It's an incredibly useful and underrated tool for many situations.
 
@rightføld lol
Any specific CppCon talk you guys recommend?
 
@Ell If you want to get technical, it's really for lexing. It's also less about simple strings than simple patterns.
In theory there's no particular reason the patterns can't be complex, but you usually want to keep them at least fairly simple for the sake of readability.
 
user1804599
Well, dinner time. See you!
 
4:28 PM
Oh wow
Vittorio Romeo made a talk on CppCon
 
@Ell Matching. Not parsing.
@rightføld You misspelled "overrated", cosh.
@MarcoA. ;p
@MarcoA. I'm sure it's deliberately ironic that this turned out to be a giant corporate lie pumped into the minds of consumers and the workforce alike.
 
I'd say so :D
 
@tclamb Thats because you inline. The compiler is NOT guaranteed by ISO/IEC 14882 to do that. Lets keep this a pure C++ question and compiler/platform agnostic. — jotik 10 mins ago
 
user1804599
4:47 PM
Let's blackmail Herb.
 
I'd make a tea out of Herb.
ba dum tschh
 
user1804599
Oh, that reminds me, I should work on my compiler.
 
lol everyone's making their own compilator
 
user1804599
I realised I don't need ratio literals, since you can just use two integer literals with a slash in between. :)
 
Ell
Hmm. Why does this person use an enum for arity in their function_traits? stackoverflow.com/a/7943765/303662
 
user1804599
4:48 PM
Because they suck.
 
@LightnessRacesinOrbit how else are you going to compilate code?
 
Objects with .update and draw member functions. Great.
 
Hmm. Fred hasn't replied yet :<
Maybe you folks can help :)
 
user1804599
What's up?
 
Ell
@R.MartinhoFernandes what with?
 
4:49 PM
@Ell probably just a left-over piece of code. Oh, wait no, it can be used by users of the struct.
 
I need a free review.
 
user1804599
I'll make it free if you pay me $500.
 
I'm not sure I got all the details of C++ history right and Fred knows all about that.
 
user1804599
All I know about C++' history is that before it sucked even more than it does now.
 
Ell
@StackedCrooked I don't understand. Why doesn't he just use constexpr auto arity = ...? or even just static const size_t arity = ... ?
 
Ell
404
 
@Ell It's an old hack. ("The enum hack")
 
> Error response
Error code 404.
Message: File not found.
 
Ell
@StackedCrooked right okay cool, thanks :)
 
Ell
4:52 PM
I will also change is arg thing into using arg = ...
 
Just exploring an idea I mentioned in a comment a few weeks ago.
 
@R.MartinhoFernandes I think the workplace I used to work in, was stuck at dinosaurs
gotosaurus rex and that kind of beasts
4
 
lol
 
user1804599
Does std::unordered_multiset<T>::erase remove all keys equal to the argument or only one?
 
user1804599
Oh, I misread cppreference. Nevermind.
 
4:57 PM
@Borgleader with my tongue
bbl going to hotel
 

« first day (1458 days earlier)      last day (3482 days later) »