« first day (940 days earlier)      last day (4011 days later) » 

7:00 AM
Lol
Trying to MSVC Xeo's example is the balls.
 
@Mysticial hah
well, to be fair, the neuron stuff was performance critical because i was in high school and poor
and the CDO stuff is performance critical 'cuz traders really really do not like latency
even though the model latency is not usually the rate limiting step of what they're doing
especially if they're trading synthetic CDOs
to be honest, it probably never makes a difference to them in actuality
yeah, but it's just psychological for the most part
usually throughput is what you really care about
it's just that we're so used to things being broken that any time there's high latency we assume it's not working
 
Indeed.
Also, std::decay removes cv-qualifiers too, right?
 
haha yeah, but it does mean the performance critical part is just to make people happy
it doesn't actually solve the problem much better
except as a placebo
 
Should get +10
Also another +10 'cause your ScottW
Seriously.
Like when people change my puns or my little syntactic quips.
That's annoying as shit.
I'm rest assured in everything you do honeybuns. <3
This swallow example is way OP
I can't get it to compile in MSVC. =[
 
7:29 AM
S. Lott, I'm actually using yours! Should I stop using it? — NoahClark Jul 2 '09 at 20:55
hehe
 
morning all :)
@ScottW really? I know a lot of the edits are lame attempts to scrubbing rep, but I see loads that apply formatting that nicely improve the question, fix spelling and grammar issues. At least 75% of edits I see are worthwhile IMO
 
oh sure, I've seen plenty of edits where people add an answer or comment, but they are very much a minority
 
Blah.
I can't get Xeo's example working totally in MSVC. =/
I sure hope that bug's fixed.
 
gah
just when I thought this browser crap couldn't get any more messed up
 
7:44 AM
Yeah
It doesn't seem like it can be fully deducible in MSVC....
 
user142019
Hi.
 
Hiiiiyo.
 
user142019
What's up?
 
Xeo
Hi
 
user142019
Stupid Internet can't even load the LLVM C API documentation.
 
user142019
7:47 AM
Fuck you Dutch railways.
 
@rightfold ¬_¬
 
user142019
@thecoshman Grumpy again, pirate?
 
@Xeo Well, I tried. But no matter what MSVC won't take cleave unless I do cleave<int, int, int, int>
 
Xeo
Well, MSVC deduction sucks
 
user142019
s/deduction //
 
7:48 AM
So, it's explicit, but for the most part it's alright (I can fold the arguments into a std::tuple and I should be able to get it like that, I think)
 
Xeo
2 hours ago, by Xeo
1>src\main.cpp(30): error C2783: 'void cleave(Ts &&...,U &&,Vs &&...)' : could not deduce template argument for 'Ts'
1>          src\main.cpp(25) : see declaration of 'cleave'
1>src\main.cpp(30): error C2783: 'void cleave(Ts &&...,const disambiguator_t &,Vs &&...)' : could not deduce template argument for 'Ts'
1>          src\main.cpp(16) : see declaration of 'cleave'
 
@Xeo Yeah, I know you did that but I had to try. :c
 
user142019
Well, cuntsuck. I don't have LLVM headers installed.
 
is make_tuple std ?
 
Xeo
ya
 
7:53 AM
error C2243: 'type cast' : conversion from 'std::tuple<int,int,int,int,std::_Nil,std::_Nil,std::_Nil,std::_Nil> *' to 'const std::tuple<std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_Nil,std::_Nil> &' exists, but is inaccessible
Well, then.
Thanks, tuple.
Ugh
I need to unpack these indices
Tuple, y u no lav me?
 
@ThePhD Plan _Nil from Outer Space.
 
There was something about
getting rid of the indices trick
on a proposal or something
was it accepted?
Because this is nightmarish. =[
 
@ThePhD Erm, no. It was merely about formalizing it.
 
Oh
=[
@R.MartinhoFernandes q_q y C++ do dis 2 me
 
Anyone here using perforce? Is it safe to have 2 instances open on 2 different workspaces and work in parallel on both?
 
8:05 AM
mawning
 
user142019
I have set rnu in ~/.vimrc but it only works sometimes.
 
user142019
Sometimes it just doesn't get enabled. :|
 
Xeo
@LuchianGrigore ya
On both accounts
 
@TonyTheLion Moarning
 
How's things?
 
8:07 AM
@Xeo cool thx
 
@rightfold lolwut
 
I love the tagline
 
Your .vimrc is not deterministic?
 
user142019
I have no idea what is causing this.
 
user142019
Sometimes, rnu is enabled. Sometimes it isn't.
 
user142019
8:08 AM
The only plug-in I have installed is Go but I had this problem before I used that plug-in.
 
Define "sometimes"
 
user142019
It seems to not enable rnu when I use :tabe and switch to the newly created tab.
 
Ok, web browsers, you win.... You have broken me :(
 
user142019
If I open a new window, it works in the first tab.
 
weeps into the keyboard
 
8:10 AM
:(
 
user142019
This is my .vimrc but I don't think there's anything in it that could be causing this. gist.github.com/rightfold/7111d6ace637a9697651
 
user142019
(Or maybe there is.)
 
autocmd FileType go set et! ts=8 sw=8 lolwut
set et!? Really?
 
user142019
I want to use tabs in Go.
 
That's not what set et! does.
 
user142019
8:13 AM
Isn't it the reverse of expandtab?
 
No.
It toggles the current setting.
You would set noet.
 
user142019
Oh. XD
 
user142019
Ah, thanks. Will fix.
 
No idea why the rnu's mess up. Does it happen with all kinds of files?
 
user142019
Yup.
 
Xeo
8:14 AM
> note: template argument deduction/substitution failed:
Thanks GCC, for telling me what went wrong. :(
 
user142019
Lemme check what happens when I move .vim to .vim-tmp. Nope, still happens.
 
@Xeo Ha, I get that all the time.
 
user142019
I'll ask on Super User.
 
Xeo
template<unsigned I, class T>
using TupleElemAt = Invoke<std::tuple_element<I, T>>;

template<class T>
TupleElemAt<0, T&&> head(T&& t){
    return std::get<0>(std::forward<T>(t));
}
 
Ugh
 
Xeo
8:18 AM
head SFINAEs
And I don't know why. :<
 
MSVC is running me into the ground
 
Xeo
Or does tuple_element just not like a reference to tuple... hm
 
@ThePhD MSVC does that do to you. It will break you completely, eventually leading you to contemplate suicide in sheer desperation. :P
 
=[
 
I was joking
Notice the :P at the end.
 
8:23 AM
You were very Perious?
:P
 
=[[[
 
So ThePhD, what is it you do? Are you still a student?
 
What is it you?
I think a word and there?
 
FFS, I'm derping today. :|
 
8:30 AM
I do a whole lot of nothing with my life. :D
 
@Xeo Yup!
Here's a helpful cheatsheet: does Standard trait or metafunction X SFINAEs gracefully when you need it to? No.
 
Xeo
@ThePhD: So, tuple version is much uglier than variadic version: coliru.stacked-crooked.com/… (cleave2)
 
22
Q: C++11 atomic memory ordering - is this a correct usage of relaxed (release-consume) ordering?

André NevesI have recently made a port to C++11 using std::atomic of a triple buffer to be used as a concurrency sync mechanism. The idea behind this thread sync approach is that for a producer-consumer situation where you have a producer that is running faster that the consumer, triple buffering can give s...

 
Xeo
@LucDanton Well, it did SFINAE
 
this question was answered 4 times by the same person
what?
 
8:32 AM
@Xeo Extension.
 
What a trainwreck.
 
Xeo
heh
 
user784668
@Xeo cleavage2?
 
@TonyTheLion Wow lol
Is that allowed?
 
999
Q: How do I remove a Git submodule?

R. Martinho FernandesHow do I remove a Git submodule? And by the way, is there a reason I can't simply do git submodule rm whatever ?

Just one more!
 
8:35 AM
I guess I will have to downvote you if you keep trying to answer the wrong question. You insist in giving alternate solutions, but you repeatedly fail to understand my real problem. I do not wish for another implementation of a triple buffer. If you had read my question, you would notice that I am targeting ARM, so the memory orderings do matter. About your code: You will have data races on 2 spots (head+tail) whereas in my solution only 1 spot (flags). The fast thread (producer) will likely be slowed down by the consumer (different rates). Plus, why aren't you using std::atomic? — André Neves Apr 27 at 20:58
 
lol
 
that fool kept not answering the actual question
 
Pity there's no badge for this.
 
That upvote messed up my SO.
;_;
My bold scores are somehow gone.
 
8:37 AM
lol
 
user784668
git: where you jump through hoops to rm something
 
7
Q: Unexpected non-constant std::initializer_list

MorwennI was toying a little bit with the indices trick to see where I could go to with and came across a strange error... First, the plain not-so-old indices: template<std::size_t...> struct indices {}; template<std::size_t N, std::size_t... Indices> struct make_indices: make_indices<N-1, N-1, In...

 
@Fanael Actually, not any more: stackoverflow.com/a/16162000/46642
I should probably change the accepted answer.
 
user784668
@R.MartinhoFernandes do eet
 
8:39 AM
You have to admit, the original answer is awful
Why is it so hard? :(
 
@Rapptz Why awful? It described the process quite well.
Oh, you mean the solution itself, not the writeup?
 
Yes
I wasn't sure how to disambiguate
 
user784668
@Rapptz because git
 
@R.MartinhoFernandes That guy has a lot of gold badges for source control subjects
 
> System Configuration Management Administrator (ClearCase, SVN, Git), defining various merge workflows between branches.
 
8:42 AM
He's the only one in most of them..
 
@Rapptz Holy shit!
 
@R.MartinhoFernandes Not released yet. But that's gonna cost you influx of residuals :)
@Rapptz I remember bumping into him everyday when I was still repwhoring. Git was an active tag for me too
 
I want to know where all these comments went. — Sod Almighty 20 hours ago
 
lol
RIP comments
 
That lonely comment has a je ne sais quois of poetic in it.
 
user784668
8:45 AM
Fucking Msys.
 
> Sod Almighty
lol
 
Hmm, there are way too many tags that I need to spam answers to get a badge.
 
I feel like the badges should have been or instead of and
With the answer bit being bumped up.
 
@R.MartinhoFernandes I killed that by giving an overly prosaic answer. And longwinded, I guess
 
8:50 AM
:| SO is not for poetry fun :)
 
ITT Badgewhores
 
You heartless beast!
@TonyTheLion That's pretty much all I have left to whore.
 
@Xeo ... What the fuck. o.0
 
@R.MartinhoFernandes There is an std::numeric_limit<int>::max(); amount of rep to whore.
 
How do you even think of this stuff?
Why are you not on someone's compiler team?
 
8:51 AM
@ThePhD I have the same question. How the fuck....
 
I am missing Archaeologist, Legendary, and Reversal. And a couple of tag badges I want.
 
user784668
@R.MartinhoFernandes like ?
 
I mean, this is as far as I got: coliru.stacked-crooked.com/…
And it's not even compiling.
 
Xeo
@ThePhD What?
 
@Xeo Your brain. It's on C++ drugs.
 
Xeo
8:53 AM
I just did manually what variadics naturally allow (splitting head from tail) and wrapped it up in tuples.
It's the same technique, really.
 
@Fanael Nah. , , , and would be fun to have and, less realistically, .
 
hiya folks
 
So does that version work in MSVC or something ?
 
I need 19 answers on .
 
Xeo
lol
Only one you have is the bearded lambda I take it?
 
8:54 AM
Yeah.
 
user784668
Nice.
 
user784668
Msys 1.0.18 freezes.
 
user784668
Msys 1.0.17 works.
 
@R.MartinhoFernandes what
 
user784668
Remind me, why am I even using this crap?
 
8:55 AM
you need a clue stick
 
146
Q: What is this smiley-with-beard expression: "<:]{%>"?

XeoI came across the following program, which compiles without errors or even warnings: int main(){ <:]{%>; // smile! } Live example. What does the program do, and what is that smiley-expression?

ahahah
 
user784668
Cygwin is too POSIX for its own good.
 
@BartekBanachewicz I have 100+ votes on . If I spam answers I get a badge.
 
user784668
Of course, cross-compiling LLVM from under Linux would be a viable option, too… except I'm too lazy to do it.
 
Then I can proclaim myself an expert in and use that newly obtained authority to impose a prohibition on the Lounge over silly emoticons like :v or ¬_¬.
 
user784668
8:59 AM
@R.MartinhoFernandes ::
 
@R.MartinhoFernandes just imagine how stupid :v looks IRL
 

« first day (940 days earlier)      last day (4011 days later) »