« first day (921 days earlier)      last day (4253 days later) » 

Xeo
Xeo
21:01
I was hoping to exploit the ambiguity with T() being either a value construction or a function type in a template argument. :(
Oh well, too bad.
What am I an owner in the "bin" for again?
I don't need it to move messages, and I get these annoying plinks when someone requests access...
hmm.. can anyone think of a way to implement something that would make this be true -> std::is_same<std::tuple<int,float>, FooBar<Ignore<T>, int, Ignore<T>, float, Ignore<T>>::type>::value without making use of a recursive template using a counter?
and that.. might be a bad explanation
hold on
Xeo
Xeo
template<class, class T1, class, class T2, class> using FooBar = std::tuple<T1, T2>;
:P
@Xeo ;)
I got an implementation which is almost ready, but it's using a counter and it's looks hideous
in PHP, 1 min ago, by hakre
leRT'effe'HM
@EtiennedeMartel fixed :P ^
@refp Why would you not want to make use of a recursive template.
21:09
@kaᵠ We don't like Linus 'round these parts.
wow, why?
actually i don't care much bout him especially, but.. linus->linux so.. great
Xeo
Xeo
Linus is an obstinate asshole, regardless of what he did.
linus is retarded
3
@kaᵠ no, that's not how it works
@DeadMG it's not the recursive template part, it's the use of N-1 when doing it
@kaᵠ also kbok->kbox but I don't see your point
21:12
@DeadMG ^ see the coliru
wtf
@EtiennedeMartel but you just teleported out of nowhere in the php chatroom right after i posted the linus meme, you have a 7-th sense?
@DeadMG exactly.
@kaᵠ Your picture was flagged.
a...
21:15
to put it in a more simple manner; simple off certain types from a typename... Args and create a tuple out of the rest
1. Get rid of the self-inflicted problem
2. Solved.
I think I'm too sensitive to some things. I see a virtual destructor with no other virtual member functions and I get angry.
@EtiennedeMartel speaking of which.. we are on the freakin internet, people who are offended by a picture such as that should probably just pull the plug
@Xeo @DeadMG what do you guys reckon? (about the filter-the-shiznit thingie)
@kbok Marker interfaces in C++?
@R.MartinhoFernandes Marker interfaces?
21:17
@DeadMG @Xeo besides the fact that there is a bug if the last type is not to be skipped (just noticed)
@kaᵠ He has a ridiculously large ego, and throws tantrums like a spoiled brat.
He also likes to argue about stuff he knows nothing about.
what about our boy Gates?
Guys, how do you find a real C++ job in a world of C/C++
Bill Gates is cool.
@EtiennedeMartel Strangely similar to Steve Ballmer, now that you mention it.
21:18
@kbok we don't, that's why we spend time here.
@JerryCoffin How strange.
@kbok Something you might find in Java or C#: interfaces with no methods whatsoever, used only for testing with runtime type tests. See Serializable in Java.
there is absolutely no need for any counter.
@EtiennedeMartel It is a bit.
@R.MartinhoFernandes Oh, no. I said no other virtual member functions.
21:19
@kaᵠ He can jump over an office chair.
ie the only polymorphic aspect is... destruction. WTF?
a, well i can't believe people care so much about this shit
@kaᵠ Care about what?
about a pic of linus, stuff like that
Can Linus jump over an office chair?
I bet he can't
21:20
@kaᵠ What pic? I missed the party.
justasec
> Unknown build error, 'Index was outside the bounds of the array.'
@R.MartinhoFernandes He's too fat.
@sehe Sadly, Boost.Spirit takes much time to compile. Parsing simple expression would require about 10-20 seconds of compile time (cold-build).
21:21
@FredOverflow go in /bin
@DeadMG exactly what I was thinking, tuple_type_cat that went missing in my head.. thanks!
@kaᵠ Is that a real game? It look completely retarded.
@FredOverflow It's like QWOP, but with a unicorn.
How do you control it?
@Xeo I defined BOOST_ASIO_HAS_MOVE and with it socket move ctor compiles and works correctly
21:24
@FredOverflow i didn't see that video, go in bin, there's the linus pic there, i'm gonna get flagged again if i post it here too
Xeo
Xeo
@Abyx Hm, maybe it was an earlier version then
@kaᵠ No you won't.
Because we don't like flags here.
looooool
@kaᵠ Oh, so Linus isn't the virgin at the end of the video?
Unlike those prudes in the PHP room.
21:25
@Abyx Have you checked talk of Asio author?
@Xeo maybe there was a bug in vc10, but it works in vc11
anyway.. fixed it with this:
@EvgenyPanasyuk not yet. is it really worth watching?
@Abyx blip.tv/boostcon/… - as I remember, he showed how to move.
@EvgenyPanasyuk well, usually you move with std::move ;) it's just that move ctors are enabled only for g++ 4.5+
21:27
@Abyx lol, of course.
Ell
Ell
Is using std::isdigit considered bad? (because it's c-ish from <cctype>)
yes
Ell
Ell
what should be used?
a quick solution :3
@Abyx as I remember, at talk he shows example with zero allocations.
21:29
magic, huh
in steady flow :)
isdigit has the "takes an int so beware of UB" issue, and it is not portable in practice, since on Windows it does not behave correctly.
How many digits are there on Windows?
Depends on locale.
I've never had it fail on me on Windows o.o
21:31
@Rapptz It gives false positives.
Then again I don't fuck around with the locales.
Really? Never noticed it.
Is this MSVC?
@R.MartinhoFernandes Like when you feed it '0' + 256 or what?
I'd use x >= '0' && x <= '9'. why support non-ascii crap?
Yes.
isdigit and isxdigit are the only from cctype that, according to the standard, don't depend on locale, but on MSVC they do.
21:32
@Abyx That's what isdigit does, when correct.
@R.MartinhoFernandes Isn't isdigit implemented with a LUT?
How do the is[x] functions work in the locale header?
@FredOverflow I don't see why if it can be implemented with two comparisons instead.
@R.MartinhoFernandes isdigit may use a table of 128 elements, and it's still correct
So what?
The point is that isdigit does not "support non-ascii crap", unless MSVC.
Xeo
Xeo
21:34
> 301+ views
So Yt finally introduced an explanation for the 301 views
> Views are being verified and will be updated soon. Learn more
lol wtf, the "Learn more" link goes to a russian page....
I love VTune.
@Xeo yeah, learn russian
@FredOverflow Here's a non-LUT implementation fxr.watson.org/fxr/source/include/ctype.h?v=GLIBC27#L71 (of course, for C++ it needs to be a true function)
@EvgenyPanasyuk No kidding :) I think I know everything about that
I'm one of the unlucky individuals from whom Coliru is effectively broken...
@R.MartinhoFernandes ` __c >= ''`? wtf?
21:41
Liveworkspace is nice, but it seems "down" (readonly now) for over a week
wait, how does ({ statements; }) work as a predicate?
GCC extensions.
meh nice extension
21:45
So.
This code of mine.
Is making me CRAZY.
Like that pony?
@R.MartinhoFernandes wtf
=/. How do int () and int (*)() differ?
@Tuntuni In the same manner int and int * differ
21:49
@Tuntuni Most vexing parse, eh?
@Tuntuni the second is a pointer
@EtiennedeMartel Yeah
@Tuntuni moar () or {}
If you can use C++11, use universal initialization to disambiguate.
user142019
@EtiennedeMartel hey.
21:49
@BartekBanachewicz And the first one is?
@Zoidberg That's from "Lesson Zero" (season 2, episode 3). Minor spoiler: Twilight's going craaaaazy in this one.
user142019
As for the minor spoiler: no shit.
MVP or 0 or function taking nothing returning int. Depends on context.
@kbok s/void/int/
21:51
@R.MartinhoFernandes This. :D
Yeah.
But what is MVP? :S Google doesn't give me anything.
Most vexing parse
oh.. right
21:52
Or Most Valuable Professional, depending on context
Most Valuable Player too
@kbok Yeah, this is what Google gave me. Most-view-presenter too. :D
@R.MartinhoFernandes isn't that (^^^) some copy-cat thing related to Scott Meyers?
Or do I just remember it originally from a letter you sent to Scott.
21:54
@sehe He's one of us now :)
It's like a standard German thing.
Me and my silly associations
What does it mean anyway
@R.MartinhoFernandes Yeah. I know right. That's the point.
With gross friendliness?
21:54
with kind regards
@kbok "With friendly greetings" - literally
@kbok It's a way of ending a letter. Like "Kind regards," or something in English.
"groß" is implicit.
It's LANG=de_DE.UTF8
@sehe Oh well, it makes more sense.
@sehe lowercase first.
21:56
@FredOverflow Noooooo
@R.MartinhoFernandes It was my own OS and libc :)
I think the german "gross" and the english "gross" are quite different
No shit. Good room for punning, though
And the French one too.
There's no "gross" in French.
21:57
For some reason "grosse pute" came to mind.
I think the French meaning might be a secondary meaning in English
@EtiennedeMartel grosse.
@R.MartinhoFernandes Well. Mirror to the soul
@kbok Yeah, but it's not the same.
@R.MartinhoFernandes Uhhhh, ok
@EtiennedeMartel That's what he said.
@R.MartinhoFernandes Bon.
@kbok There's a French girl that I sometimes hang out with and she keeps saying that.
WTF
@TonyTheLion Got to admit, the point is diminishing
@R.MartinhoFernandes Yeah, well, she's French so
@R.MartinhoFernandes Is she talking about other women?
21:59
French are weird
@sehe lol
@EtiennedeMartel ....
@sehe Tabarnack oui.
3
I often find myself say "Merde putain"
22:00
Roughly 75% of my team has a French origin.
Which quite doesn't make sense by the way
@EtiennedeMartel Hmm, no. It became a meme among us, that's all.
@R.MartinhoFernandes Ah.
A Private Meme
What, you mean you hang out with other people?
22:01
So weird.
With girls, even
user142019
Boo.
+1 I won't even say it again :) — sehe 6 secs ago
^ ahahaha! I highly suspect a llonesmiz-job
Meeting people IRL is so inconvenient, you can't paste code.
@kbok Why not?
@kbok Bring some glue.
user142019
Write it down on a piece of paper.
@sehe uh?
@kbok I can copy/paste in real life, just fine.
22:03
And goddammit, no code. It seems Berlin only has artists and programmers.
That's a near tautology
@sehe Good luck copy pasting stuff at the bar?
@R.MartinhoFernandes lol
@R.MartinhoFernandes Allthough, between the two, I think you might prefer the programmers for now?
I recall a certain YT link you sent, after meeting one of those artists?
xD
22:05
Hmm.
Why did you have to remind me of that :<
Hehehe. Because you told us. Big mistake
what YT link? :D
@melak47 search for it. I believe it had stars. And it's deffo NSFW
According to mom i'm the most beautiful man!! — Asier Aranbarri 43 secs ago
Apr 17 at 11:23, by R. Martinho Fernandes
Yesterday, I met this guy http://www.youtube.com/watch?v=Ctdj4VIrGuk [NSFW]. No comments.
22:07
@sehe gah, the hell
No stars, though
@sehe It will be awkward if he shows up at the same event next week.
@Mysticial lol
user142019
@sehe I starred that.
nvm... misread...
22:09
@Zoidberg I killed the stars.
user142019
You asshole. :P
Is that a pun?
LOL. You icicle!
@Mysticial It's deleted now. I don't think you misread (see the one comment)
@sehe Yeah, I just saw.
TIL The lobster is posing as a pbrony now - probably for heightened trőlls
22:15
What's a pbrony
There's brony subs now?
The new crowd is heavily shaped by this guy named Eric, who's basically the Paris Hilton of the amateur plastic crazy straw design world.
2
@Xeo Not me. I don't link to LYAH.
@Xeo Nope.
1
Q: what is the effects of too much ajax jquery in onload?

rodolfo navalonWhat would happen if I have a lot of ajax request, let say 10 jquery ajax request on the $(window).load(function ()) when the website opens?? I am planing to do a lot of ajax request I am just wondering what would happen and would it make my website lagging?

^ Blasphemy. It's never enough jQuery!
Man
That string discussion is heated. :O
Nicol Bolas is, fortunately, right.
LWG or EWG or LEWG is being silly.
Not having an encoded_string<T> and just having a single encoding-erased unicode_string is a lot less powerful than encoded_string<T>.
I'm not sure why there are people pushing to have an agnostic string. Strings are not agnostic to begin with
They are always using an encoding.
22:29
Well, that may be true. But standard libraries have other duties than providing every feature under the sun
@ThePhD Nicol is misunderstanding Ville's point.
(And through his arguments, you too, it seems)
Well, admittedluy, I'm like
There is no type erasure being suggested.
9 hours behind
0
A: When is uint8_t ≠ unsigned char?

ZackA possibility that no one has so far mentioned: if CHAR_BIT==8 and unqualified char is unsigned, which it is in some ABIs, then uint8_t could be a typedef for char. This matters at least insofar as it affects overload choice (and its evil twin, name mangling), i.e. if you were to have both foo(c...

^ Anyone comment? - it looks like a no-brainer to me
22:32
In the interest of humour, perhaps an implementation might decide to be consistent with it's naming conventions and, in contrast to long long, it might introduce a short short. Hence, typedef short short int8_t;... — undefined behaviour 2 days ago
Because all of the comments/posts and refusing to load on that comittee feedback for Nxxxx proposal thread
Goddamnit. I'll just read the rest later, then. =/
@Mysticial Coincidence ?
@Mysticial That would be not only humourous but also helpful.
user142019
@sehe it can be char, can't it?
@sehe Kinda. I saw it on the front page. By the time I dropped it here, you already linked the new answer.
22:33
@Zoidberg Yeah, I think it usually is
user142019
Oh that was the answer. xD
@Mysticial Same trigger
user142019
@sehe not if char is signed.
God.
> so we need to consider what can be reasonably done
^ Ah, now I see it.
22:34
@ThePhD AFAIU Ville is behind the idea of having a single Unicode string type that will have one implementation-defined encoding.
@R.MartinhoFernandes so typedef encoded_string</*Implementation Defined*/> string;
In terms of ogonek, he is in favor of only having ogonek::native_text; instead of template class ogonek::text.
While Nicol is arguing against having only ogonek::any_text and in favour of template class ogonek::text.
@ThePhD I don't know why you're so afraid of Black Knights, I just totally destroyed those two in the Burg :smug:
Also, I feel awesome that I can explain both sides using my API.
@CatPlusPlus They're scary. :c
22:36
Is the bitwise not like the - operator, or does it return?
Stabby stabby backstabby
Bitchwise sore
Also I lost 21 humanity :D
@Pawnguy7 What?
(Also, no; bitwise negation is not arithmetic negation)
Though it was to a Hydra, not a black knight
22:37
Like... does it modify the value, ala ++, or does it just reutrn the modified value?
I need to get 10 humanity again and go fight teh rest of the black knights
@Pawnguy7 It modifies nothing.
@sehe Erm, really?
@Pawnguy7 And, why don't you try it
(assuming no overloads)
pre-increment is ++ too
22:38
@sehe And it increments.
Try incrementing a value without modifying it
Point is, both versions modify it.
That's why neither can be used on consts.
Erm. Yeah. That. I'm silly
@CatPlusPlus What SL are you and how far have you gone? :O
@sehe I saw that.
22:40
Meh. You're a room owner
Well, I was thinking back to xinput, where you can get if a button is pressed like so:
Around 33 I think?
@R.MartinhoFernandes Everything's clearer in terms of text!
(state.Gamepad.wButtons & XINPUT_GAMEPAD_LEFT_SHOULDER
22:41
I haven't really done anything except buying and upgrading stuff
And I realized... I don't actually get how that works.
I'm totally switching to Greataxe at some point
I love the absense of bitwise negation
@Pawnguy7 You know, that's bound to be explained on SO. If you can't find it, look for questions tagged or
On second thought, I think I do get it.
I probably need to practice with bits some more, not very good at such things.
Meh, that sucks.
22:43
@CatPlusPlus Cut off more tails and you can get even cooler weapons.
I'm 30 too, so we should be able to party and engage in Jolly Cooperation
Practice makes perfect. Mainly because practice makes silent :)
Argh, why do people insist on using bitwise ops bare?
I am planning on sending a string of bits out a serial port, but... I am a bit confused how exactly to compose the string.
I forgot I wanted to try killing Havel
Need that riiing
Level 35
Hee.
Well, Havel might be a bit harder to backstab. :P
Lol
This Zhihao Yuan guy really doesn't like UTF-8.
And for good reason: it sucks for Chinese/Japanese characters.
At the moment, are there any used codepoints which exceed UTF16's single code unit range?
More than otherwise.
More than twice as much, actually.
Ah.
@DomagojPandža Awwww yeahhhhh <3<3<3 gonna watch it right the hell now
@Borgleader Also, it's going weekly. :D
22:52
woot woot
@sehe Boost Library Requirements and Guidelines: "There is no requirement that a library run on C++ compilers which do not conform to the ISO standard.", etc — Evgeny Panasyuk 8 mins ago
@ThePhD All non-BMP
^ @EvgenyPanasyuk well, C++03 is an ISO standard too :)
Anyways, I think my own argument based on (affected/acquired) user-bases makes more sense
If a prevents you from improving or maintaining Wikipedia, ignore it. See also *The fifth of : "Wikipedia does not have firm rules." * * * Essays * * * *
I would say this applies.
Zhihao's got a point, though, along with Nicol.
22:56
I don't know what his point is.
"UTF-8 isn't perfect"?
If you make an encoding-agnostic string, or if you have a default implementation-defined string, then everyone who's not using that string type will most likely have to eat shit performance wise or for other reasons.
Do I have to mention again how much of an issue size really is?
@R.MartinhoFernandes For people flinging around 10+ MB XML blah blah blah, the encoding does begin to matter. Especially if you have to make copies.
@ThePhD 10 whole MB! WOW.
I wish I didn't have to fight with latin1 every week.
22:58
Why the fuck would you make copies?
So yeah, basically, utf8 is good enough.
I'm not saying the size is the concern. I'm saying the copying might be a problem.
For the vast majority (probably up to the 90 something percentiles) of applications size pretty much only matters when serializing.
And when serializing the protocols dictate it, not C++.
1 min ago, by R. Martinho Fernandes
Why the fuck would you make copies?

« first day (921 days earlier)      last day (4253 days later) »