« first day (1770 days earlier)      last day (3184 days later) » 

5:00 PM
@Nooble the jam has to be on a week end, or all people who work can't participate
 
@slaphappy It's Friday.
I thought you were asking if today was Friday.
 
user406009
Noon friday though.
 
So I jokingly said today was wednesday.
 
user406009
(In glorious Houston)
 
Oh fuck you're right.
 
5:01 PM
@Nooble lol. learn to calendar, and Friday will not work for most people
 
I should put it for the fifth.
 
especially at that time
 
Sigh.
 
most will people will be just finishing work
 
Needs to be on a weekend
Y U NO LOGIC?
 
5:02 PM
Scratch that, The Second Great Lounger Marmalade starts in two weeks (and a day)! That's the 5th of September, from 1700 to 2200 UTC.
11
 
@nooble that will teach you to not joke about fridays
 
@TonyTheLion Hi member of the high council.
 
@Nooble That's not in two weeks though, that's two weeks and a day.
 
You deserve: 1 slap
 
user406009
Darn, it's too late the unstar the old message.
 
5:03 PM
@Nooble hi
 
user406009
Can some owner delete/move it?
 
user406009
Wait, owners can remove all the stars from things?
 
user1804599
The rules clearly say so.
 
5:04 PM
oh nobody is on mumble
:(
 
user1804599
We can conclude that you didn't read them and therefore have to be permabanned.
 
user406009
Darn. Now there is going to be a bug in my extension.
 
user406009
Oh well.
 
lolfold
@Lalaland maybe you should fix it?
btw, I'm liking your extension
 
user406009
Though shall never ban me. My legion of sockpuppets is endless.
 
user1804599
5:06 PM
In my experience, having two accounts is enough.
 
user1804599
great song
 
Cerberus of sockpuppets
 
@elyse ohhh I like them
 
sockberus
 
5:08 PM
we're having a Friday night Mumble party guise!!! You should join us :)
 
wait night where
 
user406009
Where is the mumble information again?
 
well here in London its evening
 
leaving for work soon
 
@Lalaland loungecpp.sehe.nl
 
Ccr
5:16 PM
hello! :P
 
@ʞɔᴉN you're all upside down and back to front
 
I thought that's how you like it
 
@nabijaczleweli Unmute or die
 
ahaha
 
5:26 PM
Nothing visually NSFW
isn't reddit a lovely site
 
user1804599
> I did this lesbian bukkake thing
 
user1804599
sounds good
 
Ell
Fuck me I'm pretty broke
 
@Ell At least your pretty.
 
user1804599
pretty broke, that is
 
5:33 PM
Ah it's time to work with OpenGL again, it's been to long.
 
user1804599
oh wait
 
@Jeremy Current foreign policy is being nice. Unironically, Thanks Obama!
The most egregious things are legacy from previous presidents
@thecoshman welll
 
user406009
@sehe Not if the republican party has it's way.
 
Yeah. Guantanamo much
And far too few military acts
They don't want to let Putin have the lime light
 
user1804599
I want to play a game.
 
5:41 PM
Is it bad to define static functions in a header file?
I've noticed it in our codebase. And clang generates warnings about the function being unused in translation units where included and not used.
 
user1804599
hahaha that flagged video
 
user1804599
@StackedCrooked just make them inline instead
 
Thanks!
 
user1804599
Inline functions can be redefined across TUs.
 
Probably should use an inline anonymous namespace.
@elyse Yeah.
 
user1804599
5:45 PM
I think clang will still complain if you put them in anon namespaces.
 
And static/anon-ns is intended for internal linkage. So it doesn't really make sense to put them in a header.
 
@elyse missed it
 
FB.... <sad-trombone/>
@elyse Okay, that is old as hell. This prank has been repeated a zillion times on YT
 
user1804599
So? Doesn't make it not funny for people who aren't familiar with it.
 
5:48 PM
@Ell Many people want to fuck a pretty bloke
@elyse Oh. Aha. What a weird way to spell "offensive"
@elyse of course. It's the same thing
 
@sehe Kind of sad how "Thanks, Obama" has such a negative connotation now.
Now it has to be "Thank you, President Obama"
 
or "Obama - thank you!"
 
It's always been sarcasm
Dunno if you've noticed
 
@CatPlusPlus As opposed to before he was elected? ._.
Interesting use of "always"
 
5:53 PM
@CatPlusPlus Pfft.
 
Thobama
 
Thanks, Cat
 
Ell
I hope czech republic is cheaper than.Germany
 
user406009
Relevant video:
 
user406009
 
5:59 PM
@Lalaland lol, for some reason I find it very hilarious. :D
 
user406009
They closed reddit.com/r/thanksobama after that video was released.
 
user406009
Because they knew they couldn't up that.
 
@Ell You're gonna have to czech to find out.
 
@Lalaland I remember that
 
6:20 PM
@ScottW :P
I found a bug in my Context class.
 
Does anyone know if glfwSwapBuffers() changes the object that is passed to it?
If it doesn't, then I can mark one of my member functions const.
 
hastebin.com/vixopocutu.bash how come this does not crash?
 
@AwalGarg That's C code though.
 
well yeah, just hoped peeps here'd know
 
6:30 PM
@AwalGarg Why would it crash anyway?
 
user1804599
@AwalGarg because it's UB, and UB doesn't have to cause a crash.
 
user1804599
It could do anything.
 
^
 
@elyse ohh, ok. (had to google UB) How do I identify undefined behavior?
 
user1804599
You have to know about it, pretty much.
 
6:34 PM
alright, thanks!
 
user1804599
The ultimate way to find out what the behaviour of a program is is to read the program and the documentation of all APIs and languages it uses.
 
user1804599
There should be a Stack Overflow post around somewhere listing common cases of undefined behaviour.
 
I'd look for it then, great.
 
@ScottW Maybe implementation defined.
 
@Puppy when building clang with exception handling on, I get a warning warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc - but in CMAKE_CXX_FLAGS /EHsc is on - is there an option I'm forgetting, or can I ignore this? :D
 
user1804599
6:38 PM
@ScottW no, but integer division by zero is.
 
probably not.
you should not be finding any usage of C++ exception handlers in Clang.
 
@ScottW No, but you can't tell if it is or not if you don't know the values involved
 
hm.. maybe I'm turning on the wrong option for exceptions? LLVM_ENABLE_EH sounds like it may be for exceptions used inside llvm, but if it's off the resulting clang says exception handling is turned off
 
No
It's not statically provable to not be UB
(Division by zero being UB is dumb as fuck anyway but :cplusplus:)
UB makes reasoning about code alone p much impossible
 
user1804599
If UB were always statically verifiable, compilers would just always complain about it.
 
user1804599
6:41 PM
@ScottW absolutely.
 
Xeo
yay, time for udon noodles and GATE
 
Dereferencing a pointer is UB iff it's null or invalid
 
user1804599
char buf[6];
std::memcpy(buf, src, n);
 
@Puppy do you build clang with exception support?
 
user1804599
This is UB only if n is more than six at runtime.
 
6:42 PM
@melak47 Dunno. I build it with RTTI, that's all that matters.
 
Provable things tend to be diagnostics
 
user1804599
@ScottW yes.
 
@Puppy hm, yeah I have that on.
 
user1804599
For example, this is always UB:
 
user1804599
\u00
10
 
user1804599
6:43 PM
Whether it's UB or not doesn't depend on runtime values.
 
I have this one magic svn build of 3.7 where exceptions work, but I can't seem to reproduce it with newer 3.7 or 3.8 sources
 
Accessing a variable that's never been initialised is UB
 
whatup all
 
user1804599
Ill-formed programs are UB, I think.
 
No, ill-formed programs are ill-formed :v
 
user1804599
6:44 PM
The compiler is required to emit diagnostics in some cases, but it's not specified what else it might do.
 
Xeo
so delicious
 
typically, ill-formed means that the program simply doesn't make sense, so the compiler couldn't output anything even if it wanted to.
 
@elyse so the compiler might order a pizza if you try to compile UB? :)
 
Ill-formed means it's not a valid program, period
It's not UB because it doesn't have any behaviour
lol
That's so ridiculous it's actually funny
10/10
 
@DNC 5% of revenue for a free app?
 
6:46 PM
@DNC Can I get 100% at least.
 
Unironically
 
10/10 would validate again
 
@melak47 Ad-ridden bullshit probably
Or in-app transaction crap
 
DNC
@ScottW 5% of nothing = nothing..
 
@DNC but only for 6 months!
 
DNC
6:47 PM
@melak47 Advertising gets you money + in-ap purchases
 
@ScottW My amazing website. <-- You can sign up for everything here.
 
lol if you think anyone would do marketing for only 5% of undefined revenue from some random bullshit
 
@melak47 wtf do you mean, exceptions work?
 
Legit multi-room spammer.
 
@Puppy in like, either x86 or x64.
 
user1804599
6:48 PM
> This user has been automatically suspended for posting inappropriate content and cannot chat for 1 hour 29 minutes.
 
Clang has no exceptions of any kind, they refuse to use them.
 
user1804599
haha yay
 
@Puppy not in clang, in C++ compiled with clang
 
@Mysticial But funny one at least
 
@melak47 I've been using exceptions in C++ compiled with Clang for years.
 
6:49 PM
@ScottW heh
 
@CatPlusPlus yeah, real men only accept 7%.
 
@Puppy teach me how? :(
is it a matter of clang-cl ignoring the MSVC options for turning exceptions on?
 
@melak47 link libstdc++ and compile against itanium
 
silly puppy.
 
what?
 
6:51 PM
I have a build where exceptions work with vc++'s stdlib
I want to make a newer build where that works as well :p
 
Why would you want to use MSVC stdlib
 
user1804599
cat good news I wrote a sexpr parser
 
Me too, in like 3 hours yesterday
EDN libraries suck
 
@CatPlusPlus Then I can bootstrap Wide on all platforms ;p
 
6:55 PM
error : cannot use 'throw' with exceptions disabled
throw std::runtime_error("error");
^
 
this is what I get, no matter if I turn LLVM_ENABLE_EH on or not
 
> Generated parsers use Python's very efficient exception-handling system to backtrack. Grako generated parsers simply assert what must be parsed. There are no complicated if-then-else sequences for decision making or backtracking. Memoization allows going over the same input sequence several times in linear time.
that's... certainly one way of doing it.
OTOH if you really care about efficiency you could just not use Python..
 
user1804599
@CatPlusPlus nice
 
user1804599
6:57 PM
I want to add map, set, list and vector literals.
 
user1804599
I represent the program using arrays, not lists.
 
Kinda forgot about negative integers
 
user1804599
Lists are more useful than arrays so I want syntax for them so you don't need to write (list ...) instead you can write #(...).
 
@elyse Me too, by virtue of being lazy and also not really needing cons cells anyway
 
user1804599
In my language cons will throw if not used on a sequence.
 
6:58 PM
Well tuples maybe, but that's not much of a difference
 
user1804599
Arrays work well for tuples.
 
user1804599
You only really access their elements by index.
 
's Python
 
user1804599
Oh, I see.
 
user1804599
I target JS as usual.
 
ADG
7:00 PM
hello everyone
 
okay, figured it out. Seem clang-cl really is ignoring /EHsc, if I pass -Xclang -fcxx-exceptions -Xclang -fexceptions it compiles ^_^
 
@melak47 Clang's driver is a steaming pile of shit
 
jalf is in the SO celebratory page thing :D
 
LRiO, Jerry, Mysticial too
Evening
 
Xeo
it's ordered by rep
 
7:06 PM
I figured that out when I saw skeet first
didn't spot liro
 
@AlexM. I don't see any names named
 
was it necessary to indent the test like 30 times?
 
I guess he didn't want the reading to be...
... trivial
YEEEEEAAAAAAAAAH
 
I forgot to filter out the indentation.
Now everyone will know I'm a total fake.
 
7:13 PM
you say that like that's new ;p
 
Jeez. At least pretend to not notice.
 
Guys
I have a question
 
ask on SO
 
I want to see how many of you guys know something without looking it up
 
vote to close, off topic
 
7:14 PM
@Puppy but... it's quick and simple, not worthy of SO
Seriously though, how many of you are ready?
 
if by that you mean I have Google open on my other screen then yes
 
lol
Yeah, ok it's impossible for me to test whether you know this already or not
Well, the question is: what does "cc" mean in the context of emails?
 
@ʎǝɹɟɟɟǝſ clear case!
 
YES
case closed
 
really?
 
7:17 PM
no
 
@ʎǝɹɟɟɟǝſ carbon copy
 
lol
 
It's Carbon Copy
 
oh. that's boring.
 
7:18 PM
But "cc" looks kinda nice.
 
its one of those things youngins wont know about
fancy schmancy photocopiers these days
 
and what does "bcc" stand for?
 
I played with second hand carbon paper as a kid.
 
I remember tracing stuff with carbon paper as a kid
 
@TonyTheLion big carbon copy!
 
7:19 PM
lol
 
bank carbon copy?
 
bambi carbon copy
 
blind carbon copy
 
blueberry cotton candy
 
7:21 PM
barabara carbon copy
 
@Nooble accept my trade request nabe
imma throw some $kin$$ atcha
 
blank carbon copy
 
Ugh icons on Python files are wrong and it's driving me crazy
 
why the fuck both VS and GCC don't generate even a warning that I forgot to return from a function?
 
Because cplusplus
 
7:32 PM
friend std::ostream& operator<<(...) { FORGOT_RETURN; } - both Gcc 4.9 and VS 2015 compiled
 
no warnings, no jackshit - hour down the drain for the love of god
does it have something to do with it being a friend non member function? or with it being an operator overload?
 
user1804599
I think votes (in democracies) should not be anonymous.
 
user1804599
If they are published then the countings can be verified by the people.
 
they tried that and it was a total disaster.
 
7:39 PM
there is a small village here in Slovakia for which they claimed 100% attendance yet I know for a fact that my relative didn't vote (him being a citizen of said village)
 
user406009
@elyse Well, we have already fixed that here. Stars are now public.
 
user406009
Doesn't seem to have changed anything.
 
user1804599
@ScarletAmaranth maybe they round
 
user1804599
@Puppy who and when
 
@elyse In Britain for about seven hundred years.
it basically entailed people buying votes, intimidating people for votes, all sorts of dodgy shenanigans- way worse than what politicians get up to now.
 
user1804599
7:41 PM
I see.
 
only stopped when you couldn't prove who you had voted for anymore
 
user1804599
I did not think of that.
 
IOW, the secret ballot is a secret for a reason ;p
@ScarletAmaranth Depends on the complexity of the method. The compiler can only warn you in fairly obvious cases really
 
@Puppy I called boost::static_visitor(...) from the operator<< overload and that was literally it; forgot to return os.. :-\
 
user1804599
Thank you Puppy for teaching me.
 
7:44 PM
How can the compiler not notice a missing return statement?
@ScarletAmaranth Did you enable -Wall?
 
because if there are many branches, it would be too complicated
yes, it was -Wall'd
also debug flags in VS 2015
this is ridiculous anyway... it was randomly segfaulting
 
Enabling optimizations also increases likeliness of the compiler warnings.
 
I am so annoyed right now; I hate wasting time on this crap
 
Because optimization require the compiler to analyze the code.
 
Maybe you could have something like a code that is given at each election
 
7:46 PM
let me check whether VS spots it in release
 
@ScarletAmaranth :v
 
user1804599
@StackedCrooked You're calling a [[noreturn]] function!
 
And to verify your vote you enter the code in some form and it gives you the vote target for your vote.
 
@ScarletAmaranth It’s not supposed to happen but I’ve (spuriously) run into the same thing. Thankfully it’s rare.
 
But for every other code you input it gives a random target.
 
7:46 PM
I once spent 40 minutes trying to figure why my code crashed. Turned out I had written a; instead of return a;. It was a nasty blind spot.
 
vs with release flags doesn't find jack-shit as well; but it miraculously doesn't segfault
@LucDanton it's so rare this is the first time I've run into random segfaults because of this :-\
 
@ScarletAmaranth FORGOT_RETURN is a macro that returns it.
 
@StackedCrooked lol :D
 
Yeah I also was in disbelief.
 
I didn't even know where the segfault was coming from, because it happened after I finished using my reference to std::ostream
like wtf
 
7:49 PM
As a c++ developer we've all gone through periods where we spent hours trying to fix something. I recall forgetting a closing brace in a header file.
After a while we tend to interpret compiler gibberish.
 
sure, but this is something I should have been warned about by the fucking compiler I mean COME ON...
 
@ScarletAmaranth lol even north korea has only 99.97% of attendance
 
@ʎǝɹɟɟɟǝſ it was attendance of a particular village
 
but that's because they get shot if they don't vote
 
-Wall -Wextra -Werror who cares, obviously you didnt mean to return anything from a function that declares it returns non-void
 
7:50 PM
@ScarletAmaranth Well. Next time better return the ostream then!
 
yeahh I was confused because I didn't actually use the ostream with operator<<, I just forwarded to apply_visitor
I am a creature of habit
 
Over the past years I've had a few times where I forgot to initialize a member variable and the compiler didn't report it. Strangely enough the build jobs on the buildservers did detect it.
Often valgrind is way more useful than the debugger.
 
Ell
That is odd
Has robot been here recently?
 
I think so.
 
Ell
I need to thank him and then apologise twice to him
 
7:55 PM
did you break something in his house?
twice?
 
Ell
No
 
@Ell he was asking about whether or not you had been around the other day
 
Ell
Oh wait I need to apologise for 3 times :V
 

« first day (1770 days earlier)      last day (3184 days later) »