« first day (867 days earlier)      last day (4095 days later) » 

3:00 PM
wtf is with you and the tildes
 
shhhh~~
 
Nah, it's the sound of "the day is progressing and fuck everyone"
3 hours ago, by Martin James
@BartekBanachewicz You're always so happy in the morning, then '.c' or other depression sets in during the day. I'm not sure that SO/chat is good for your health :)
 
Myybe the PHP room is safer. Could do with a laugh.
 
@MartinJames Good luck.
 
@BartekBanachewicz Fuck everyone? You'll sooner or later get a severe case of std::!!
ITT lame puns & pickup lines
@MartinJames Don't tempt me
 
3:01 PM
I actually wouldn't expect such reaction for the lame pickup lines, uh.
 
It's okay I really don't mind
Not like I get many anyway
 
:P
don't try to force me into compassion
I will make better ones next time.
 
I just seriously hope you're not falling in love through internet
 
Ugh
@Cicada In @sehe?
 
what
 
3:04 PM
@Cicada Well, I don't know who I should fall in love with
 
I'm gonna have to get ratted again to remove all this dubious imagery.
 
@BartekBanachewicz I don't know your GF maybe? è_è
 
@Cicada That's the current state of affairs, and well, obviously, I'm in love with my GF. So?
 
Impressive.
 
The PHP room is depressing
 
3:06 PM
Surprising.
You know, if Boost.Range was awesome, I wouldn't need concat() at all...
 
@Cicada Also, I actually prefer finding relationships, dunno, over the cup of whatever, not a stackoverflow C++ chat. -.-
 
If Boost.Range was awesome, it would have a variadic lazy concat range already, and then you would just use that to construct new instances.
 
@BartekBanachewicz Good to know! I hate coffee
 
@Cicada that wasn't the point.
 
@BartekBanachewicz Yes?
 
3:09 PM
@sehe look a bit up
 
"I can see my roof"
 
user784668
@BartekBanachewicz @Cicada I have a strong feeling that you're idiots.
6
 
@ScottW nice pun
 
@Cicada Yeah - I read the whole page and there was only one mildly interesting post, and that was only because it had 'drinks' in it :(
 
@BartekBanachewicz Oh. Sorry, I'm not available.
 
3:09 PM
@Fanael I was thinking the same about you, coincidentally!
 
@R.MartinhoFernandes Variadic is a tough call for C++03.
 
@Fanael because?
@Cicada he nailed it
 
Oh good. I'm plonking this entire room. Cya later
 
@LucDanton I know. That's why I used "not awesome", instead of "sucks".
 
@sehe Good call! Bye!
 
3:11 PM
I guess I could just nest those bastards.
 
user784668
Roll your own!
 
tuples::fold(std::forward_as_tuple(ranges...), range, operators::join)!
 
@LucDanton Yeah, something like that. :/
Suffers from explosive decompression, but well.
I'll write the damn concat.
 
wait wat
@R.MartinhoFernandes I fucking love tuples.
 
3:15 PM
@LucDanton "Explosive decompression" is what I decided to call the exponential size increase from nesting iterators that need pairs of iterators.
 
Next one in 15 minutes.
 
size of what?
 
The iterators at the top.
 
Ah well. Ranges, at the least. For some meaning of 'range'.
 
sizeof(tuples::fold(std::forward_as_tuple(ranges...), range, operators::join).begin()) == O(1 << sizeof...(ranges))
 
3:17 PM
@BartekBanachewicz Lost Temple? You still play that?
 
@EtiennedeMartel that's the required first map. The loser picks the next one
 
ah, the Clang way- "Need a set<T*>? Re-implement, but make non-copyable!".
 
So, if there are seven ranges (I wouldn't call that a stretch), you end up with 128x-sized iterators.
Ain't that great?
 
Xeo
@R.MartinhoFernandes Wait, what?
 
@BartekBanachewicz Yeah, but why not Shattered Temple?
 
3:18 PM
@Xeo We talked about this here before.
 
Xeo
Oh, wait, with nested joining.
 
Lost Temple is slightly unbalanced in favor of terran.
 
@Xeo Right. Explosive decompression.
 
Xeo
@R.MartinhoFernandes I was thinking join(ranges...) without nesting when you said that.
 
@BartekBanachewicz Ohhh fancy interface
 
3:19 PM
@EtiennedeMartel They're both terrible maps.
why not have something remotely decent like Cloud Kingdom
 
@R.MartinhoFernandes I like variadic templates for automagically generating all that crap without me having to care about it.
 
@DeadMG I know "Terrible" in DeadMGish means "okay" or "average" in English.
 
@Xeo Now I am actually tempted to try it out and see how well it performs.
 
@EtiennedeMartel "Terrible" as in "Everybody else in the competitive scene cut that shit two years ago or more because it was bad."
 
@EtiennedeMartel dunno
 
3:21 PM
@DeadMG Uh, I thought it was because it was overused.
 
By the way, I am such a derp
 
@R.MartinhoFernandes So, you too then!
 
@EtiennedeMartel No, because it's really bad.
 
Xeo
@R.MartinhoFernandes Well, you know, if operators::join does unnesting, it wouldn't be bad.
 
Anyway, GSL versions all the way.
 
3:21 PM
not only is it horrifically imbalanced between the races, but it also massively over-favours early rushes and there's no interesting behaviour in the middle at all.
 
I am going through the corridor back to my desk, see an open door and go in. And there's a chick. And I'm like... "calculating... wrong room goddamit"
 
all the Blizzard maps from the opening game are like that, and they were all cut and replaced with custom maps.
 
@Xeo You'd call join(ranges...) rather than go through the fold :|
 
in good part because they sucked tremendously.
 
Xeo
@LucDanton :)
 
3:22 PM
@DeadMG I guess the maps also need balancing, like the rest of the game.
 
@EtiennedeMartel Since Blizz even cut it from their own ladder, I think it's safe to say that they agree that it's really sub-par.
 
Given that an encoding iterator for UTF-8 already weights at least 28 bytes (it's actually 32 until I enable EBCO on the state, but whatever), that would mean each iterator is 3.5kB!
 
Shattered Temple is a bit better but not by very much, in comparison to simply playing Daybreak/Cloud Kingdom/even Antigua Shipyard.
 
@R.MartinhoFernandes doooooo eeeeeeeeet
 
3:24 PM
Later.
 
@DeadMG I hate Antiga Shipyard, but that's mostly because I lost so many times on it.
 
@EtiennedeMartel Hey, it's a nice map
 
Antiga's kinda imbalanced and the late-game play isn't that interesting (whoever had middle wins).
 
In related news, my ZvZ is the worst ZvZ in the history of bad ZvZs.
 
@EtiennedeMartel Well, global play is coming with hots. We can verify that :P
 
3:25 PM
the early game can be interesting though especially in TvT.
 
Oh wait, that range would be based on decoding iterators, not encoding.
Those are just 16/24.
So 2kB.
Still scary.
 
Xeo
Almost sad that there's no way in the language to do folded unpacking, say range (| ranges)... unpacking to range | ranges$0 | ranges$1 | ranges $2 ...
 
@EtiennedeMartel what league you are in 1v1?
 
No, I forget alignment. What's the alignment of pointers on x64?
8?
 
Xeo
Should be
 
3:27 PM
Hi everybody!
 
Then encoding iterators are 32 bytes anyway. No point in EBCO there.
 
I have one quick question,
 
Xeo
How come you're calling it EBCO now, not EBO?
 
Why is this function getting an error?

void Employee::Print() const {
std::cout << "Name: " << name << std::endl;
std::cout << "Department: " << department << std::endl;
}
 
3:28 PM
@Xeo It's always been EBCO to me.
 
@BartekBanachewicz Used to be plat back when I was playing often. That was a year ago.
 
Xeo
@R.MartinhoFernandes Oh, then I misremembered
 
user784668
@Chucky Because something is wrong.
 
I should clarify I have correctly used #include <string>
 
Xeo
@Chucky How the fuck should we know? :|
 
3:29 PM
Well, there is still benefit in x86.
 
@Chucky You know, saying "I have an error" without telling us what error it is is frankly insulting.
 
It's easy enough to do anyway.
 
Error 4 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion) c:\users\charlie\documents\visual studio 2010\projects\personnellists\personnellists\employee.cpp 21 1 PersonnelLists
Hold your horses Etienne
 
Xeo
@R.MartinhoFernandes Yeah, just inherit privately in any case - unless the state is final for whatever reason. :D
 
@Xeo Tuples to the rescue!
 
3:30 PM
Maybe #include <ostream> too?
 
did anybody here went through agile transformation... aka did agile make your job FUN. I know it sounds stupid, but just tdy i saw some video on C9 where guy is like Im having so much fun bla bla,,, so idk if he is full of BS or just one of those persons that are easily happy. :D
 
Xeo
@BartekBanachewicz No need.
 
@Xeo in C++11. Not in C++03, iirc
 
Yes Scott, I do have #include <iostream>
 
Xeo
@BartekBanachewicz That'd be for std::endl.
And the error talks about std::string as rhs
 
3:31 PM
@R.MartinhoFernandes I've actually scrapped an std::tuple<T> base. I wanted emplace construction.
 
@Chucky Write a complete example here that reproduces the error: stacked-crooked.com We don't like to spend time guessing.
 
I adore it, but always denied it because of my behavior when in a body of water - that of an aquatic creature
 
Can trivial types be final?
 
^ Today's bit of otherkin culture.
 
Xeo
@R.MartinhoFernandes I think so
 
3:33 PM
no se
 
Meh, screw it. I don't care if you make your state type final.
 
Xeo
@LucDanton ?
 
How am I supposed to use stacked-crooked.com with multiple files?
 
user784668
@Chucky You're not.
 
you're not.
 
3:34 PM
Making a trivial type final is silly.
 
Xeo
@Chucky How about not using multiple files?
@R.MartinhoFernandes People do silly things on a daily basis...
 
Tell me how to help you help me
 
@Chucky Do you need multiple files to reproduce your error?
@Xeo I don't plan to support silliness.
 
Xeo
@Chucky Then we can't help you, very sorry.
 
@Chucky You didn't #include <string>.
MSVC has some header which includes the std::string class definition but not many of the supporting operators.
 
3:35 PM
The state type is supposed to be just some plain C type.
 
Xeo
6 mins ago, by Chucky
I should clarify I have correctly used #include <string>
 
6 mins ago, by Chucky
I should clarify I have correctly used #include <string>
 
obviously not.
 
Xeo
Is what he says, anyways.
 
(Can we get a third one?)
 
user784668
3:35 PM
@EtiennedeMartel No.
 
@Chucky We can't help you if you won't help us help you.
 
Bugger
Wank
Crap
Fuck
Shit
Moo
 
Ok, we get it.
 
@R.MartinhoFernandes Help me help you help me
 
3:36 PM
@R.MartinhoFernandes Do you? :P
 
Oh wait I think I've cracked it
 
@Chucky Write an example that reproduces your error. We can't see any error with the snippet you showed, so all we can do is guess. We don't want to guess.
 
"Warning 2 warning C4627: '#include <string>': skipped when looking for precompiled header use c:\users\charlie\documents\visual studio 2010\projects\personnellists\personnellists\employee.cpp 2 1 PersonnelLists
"
 
Hahaahahahahahaha
 
Some warnings are more important than others, eh?
 
3:37 PM
@Chucky put your precomiled header before other #includes
 
All warnings are important.
 
@EtiennedeMartel what's so funny?
 
@TonyTheLion Precompiled headers!
 
user784668
All warnings are errors.
 
So includes with quotations always come before<>?
 
3:38 PM
@EtiennedeMartel meh
@Chucky no, precompiled header has to be the first
 
user784668
@Chucky No.
 
if you're using precompiled headers
 
user784668
tl;dr don't use precompiled headers
 
@EtiennedeMartel I'm not at all sure I agree. I've seen some compilers produce some pretty pointless warnings at times. Borland used to have some that struck me as particularly stupid. For one example, they had a warning for "literal has type long", or something similar, so it would issue a warning for every literal that had type long -- including those you'd explicitly made long with a L suffix (e.g., 0L).
 
'bugger, wank, crap, wanker, fistfuck, shit, moo'. Happy Feet Friday is going about as well as could be expected :(
 
3:41 PM
So how do I change this?

#include <iostream>
#include <string>
#include "stdafx.h"
#include "Employee.h"
 
@JerryCoffin Or MSVC's constant condition warning...
Unused parameter...
 
@Chucky If you use precompiled headers, #include "stdafx.h" has to be the first thing you put in your source file.
 
ergh... I feel just 'great'
 
user784668
@Mysticial That's actually useful. If it's unused, why does it even exist?
 
I see
You guys are all so friendly and helpful
 
3:43 PM
@Mysticial Was a problem in C, but in C++ if you don't intend to use a parameter, don't give it a name: int f(int x, int, int z)
 
thank fuck I had booked today off
 
@Chucky Then I guess we failed.
 
user784668
GCC warnings <3
 
user784668
warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
 
@ScottW Borland/Embarcadero stuff is a bit better than that, now.
 
3:43 PM
because work sure as fuck isn't an option right now
 
@JerryCoffin that's not possible in C?
 
@Fanael There are times you have a virtual function (for example) that needs a parameter in some classes, but not others.
 
@Fanael If it's part of an interface. Say overrided method where you have to match the prototype.
 
@bamboon Ask Mysticial.
 
@bamboon Might be in current C, but wasn't in C89/90 (the last version I used enough to notice).
 
user784668
3:44 PM
@JerryCoffin So what prevents you from leaving it unnamed?
 
Xeo
@R.MartinhoFernandes How would he know?
 
@R.MartinhoFernandes I think that's legal in C.
 
@Xeo That's the joke.
 
Either it's legal, or GCC allows it.
 
Xeo
@R.MartinhoFernandes I know
 
3:44 PM
In other words, I don't know. :)
 
user784668
It's not.
 
@Fanael You can leave it unnamed -- but I've seen at least one compiler warn about that too.
 
user784668
>> g++ -x c -std=c11 -
int f(int) {}
^Z
<stdin>: In function 'f':
<stdin>:1:1: error: parameter name omitted
 
Xeo
IOW, @Mysticial still doesn't know C.
 
@JerryCoffin lolwut
 
3:44 PM
Hiya folks! :D
 
@JerryCoffin Who writes this crap?
 
Xeo
@Mysticial Don't you think it's high time you actually learn about the languages you use?
 
I could see that if you had some -Wc-compatibility flag.
 
@Xeo nope :)
 
3:45 PM
But in "normal" warning sets? WTF
 
Xeo
haha
 
That's odd, I must have written a thousand C callbacks. Some of them must have had superfluous parameters.
 
@melak47 lmao. that was awesome.
 
@R.MartinhoFernandes In this particular case, GNU. But they're hardly unique.
 
@Mysticial Which language is the youtube stuff written in you are gonna work on?
 
3:46 PM
@LucDanton A C callback written in C++ can obey C++'s rules.
 
I really like Torvalds though
 
@bamboon C and C++. Possibly with some assembly.
 
He is awesome! :D
 
@DeadMG If it's written in C++, it's not a C callback.
 
Xeo
3:46 PM
@Mysticial I wonder how ever you got that job.
 
Although I think Linus really banged up C++ some time ago.
 
@LucDanton If it's called from C, it is.
 
One of the reasons why I picked Google over Apple was that I didn't know long it'd take for me to get comfortable with Objective-C. They're gonna have high expectations for me. And if I stumble over not knowing the language for half a year, it isn't gonna be good.
 
@MartinJames No.
 
user784668
TIL that GCC has --all-warnings.
 
3:48 PM
@Mysticial and what about C at google?
 
@Mysticial I'm guessing it'll probably be C with or without Classes.
 
@EtiennedeMartel I'll find out.
 
@EtiennedeMartel Judging from the style guide...
 
@LucDanton We may have to agree to differ on this one. To me, the callback function only has to satisfy the calling conventions of the caller. What it's written in is irellevant.
 
Xeo
@Mysticial Cool, so we'll get inside knowledge of the degree of YouTube's code base's suckage.
 
3:49 PM
@melak47 That's fine.
I know C better than Objective-C.
 
so you can do C, you just don't know C?
 
Which companies use C the most?
As in the big companies
 
user784668
Is there a GCC equivalent to -Weverything?
 
Like google, MS
and others...
 
@MartinJames Blame the ambiguities of the English language.
 
3:50 PM
@R.MartinhoFernandes Well, YouTube started off as not part of Google, so maybe their legacy is clean.
 
The context was about the C language. Why anyone would think I would be talking about C++ at that moment I cannot tell.
 
Xeo
@EtiennedeMartel Nobody has a clean history.
 
@melak47 Correct. I can do C. But I don't know C. You don't need to know what you're doing to be able to do it.
 
Yeah, I guess so. Otherwise the universe would fold on itself.
 
heh.
 
3:52 PM
..and I would be out of work.
 
@Mysticial Oh shit you changed your avatar
 
@R.MartinhoFernandes It appears that's news on CBC.
 
That's hardly a fun fact tbh
 
@R.MartinhoFernandes WTF
 
4:08 PM
Days since a Java 0-day vulnerability became public: 0
 
again? FFS Java
 
user784668
JVM allows arbitrary code execution?
 
@R.MartinhoFernandes The way that cross-platform virus-hoster is going, there is a reasonable probablity that your number will be zero tomorrow as well :(
 
woot, my stickers from SE arrived
 
4:16 PM
What is the convention to setting strings to NULL in member initializations in C++?
 
People usually use std::string, and that does not have a null state.
 
Presumably it's constructed empty.
 
Can template <typename T> void f(int, int, T); and template <typename T, typename U, typename V> void f(T, U, V); be ambiguous? (@Xeo)
 
I'd say no.
 
@R.MartinhoFernandes You're asking template questions!?!?!?
 
4:28 PM
Overload resolution.
 
@Borgleader Get used to it. :) I change it every few months.
 
I should change mine too... The gangnam style fad is pretty much over
 
@R.MartinhoFernandes isn't that just a specialisation?
 
user784668
@thecoshman No, it's an overload.
 
user784668
Oh fucking fuck.
 
user784668
4:34 PM
So with instrumentation enabled, __cyg_profile_func_enter begins with a call to itself.
 
user784668
Poor stack.
 
lol. my router's certificate for the http control panel/interface thing expired in january. ._.
 
@Fanael but the first function is a specialised version of the second more generic function. For handling when the first two parameters are int
 
user784668
Okay GCC, WTF.
 
user784668
error: can't set '__no_instrument_function__' attribute after definition
 
user784668
4:39 PM
Still segfaults.
 
Faulty segway.
 
Ugh, why did Victor's have to have no cover charge for college students on Thursday nights?
feels like shit
 
Ok, this is all the interface I want for ogonek::text: flamingdangerzone.com/ogonek/reference/text.html. Feedback and stuff ;)
See you guys later.
 
Don
Does anyone feel like helping with OOP a bit? ;x
 
@R.MartinhoFernandes no + and +=?
 
4:45 PM
@Don Depends.
 
@DeadMG Trivially implementable by wrapping append.
 
@Xeo This sounds to me like something rather different. Most of the existing YouTube stuff is server-side, so the flow is basically: retrieve a file, transcode if needed, send packets to client. Fundamentally little more than file serving; most of the complexity is probably in things like load balancing. What @Mysticial is talking about is (apparently) client-side video playback -- something entirely different from (most of) what YT has dealt with at all in the past.
 
Don
@EtiennedeMartel I'm new to it, all I need is just someone who's more experienced in this to tell me if the way I'm thinking of sorting my classes seems alright lol
 
@Don Sounds like a lot of work.
 
@JerryCoffin Yes, it's the client side.
They say their performance sucks - especially on game consoles.
 
Don
4:47 PM
@EtiennedeMartel even if we're talking about 4 classes? xD
 
user784668
Yay, the instrumentation works.
 
@ShotgunNinja who's Victor, what's a cover charge, and what happens on Thursday nights?
 
@Don It's always harder than it looks.
 
Don
@EtiennedeMartel Ah okay ;I thanks anyways I suppose
 
@melak47 I guess it's a bar.
 
4:48 PM
@EtiennedeMartel Ding ding ding! We have a winnar!
 
@R.MartinhoFernandes But yeah get that += in there! D:<
 
user784668
Now the interesting part: converting function addresses to function names.
 
@R.MartinhoFernandes text& operator=(code_point const* literal); -> you have no corresponding constructor, and why not accept arrays instead?
 
Okey, i've lost
 
@BartekBanachewicz there, there
 
4:53 PM
@melak47 Scbw is so dumb, srsly. Make 30 mutalisks and you automatically win
 
I have no idea what you're talking about. But it'll be alright
 
Our engine has a matrix class. And many methods in that class are void and take a reference.
 
Lost a game in starcraft tournament
 
@Mysticial maybe I am dumb here, but doesn't that have more to do with codecs, flash etc?
 
fuck you Clang
 
4:54 PM
@bamboon yeah
 
fuck you like a fucking whore.
:(
 
And a lot of hardware rendering.
 
@EtiennedeMartel Self-mutilating matrix classes are very good.
 
What else should I lose today? -.-
 
@Mysticial ah yeah, forgot that.
 
4:55 PM
By the sound of it, Clang.
 
user784668
@DeadMG What happened?
 
If it's a whore, whatever DeadMG paid for it was too much.
 
Urgh, weekend
 
@Fanael They decided that firstly, if you want a std::set<T*>, then they should roll their own and then make it non-copyable for maximum irritation.
and then secondly, they decided that you can't convert a Clang type to an llvm::Type* with any degree of accuracy.
 
@TonyTheLion Not yet - there is another 5 minutes for the phone to ring.... (stares at phone, daring it..).
 
4:59 PM
and then they coupled all the stages together with fucking carbon nanotubes.
and then they decided not to bother documenting anything, duplicating information in function arguments, etc.
 

« first day (867 days earlier)      last day (4095 days later) »