« first day (1655 days earlier)      last day (3286 days later) » 

11:01 PM
I miss old futurama
 
@Rapptz You don’t pull your punches anymore do you?
 
Hm?
 
Low quality troll bait right here.
 
It is my actual opinion.
Old Futurama = S01-S04.
Not that I think the other seasons (5-7) are bad. I just thought the older ones were better.
 
@Rapptz Of course! But I’m not used to you going so blunt about it. Also I’ve seen you point out that kind of stuff in others. Returning the favour!
 
Ell
11:05 PM
@sehe hi! Also, night!
 
@Rapptz No love for the movies at all?
 
@sbi that's amazing.
 
The films were turned into episodes.
 
sbi
@vsoftco Yeah, isn't it.
 
@Rapptz Not an answer to my question.
 
11:09 PM
@LucDanton I liked 'em.
Though Into the Wild Green Yonder and Bender's Big Score were the best of the four.
 
And Bender's Game is really uneven :(
 
I take it you watched the last season?
 
I have.
 
Did you like the ending?
 
Don’t particularly care for it.
 
11:11 PM
@sbi although there seem to be some dispute about her capabilities en.wikipedia.org/wiki/Koko_%28gorilla%29
 
@Rapptz Why do you ask?
 
It has mixed responses so I was wondering.
 
That reminds me, I noticed one of those 'The Bender as a god in space episode was so good' again. Which as always was prompted by quoting the 'when you do things right, …'. This always grates me.
 
sbi
@vsoftco Yeah, I know about that. I wouldn't believe everything I saw in videos of her during the last hour either, but given that other primates have shown the ability to communicate abstract terms, I wouldn't doubt that Koko can do so, too.
 
You didn't like the episode?
I like that episode :v
 
11:18 PM
I like the episode overall, but the quote coming from a Deus Ex Nebula that’s here to reset to the status quo always makes my eyes roll. All it reminds me of is sloppy writing.
 
Not that there’s anything wrong with resetting to the status quo in a lighthearted comedic series, but the way it’s done this time is really hammered in.
@Rapptz Hey, some credit for season 6!
 
I didn't even know they had futurama in 240p
 
@Rapptz You can downsample anything you want if you put your heart to it.
 
@LucDanton How was it hammered in?
It's been a while since I've seen the episode.
 
11:24 PM
@Rapptz I feel like the other resets are either expected (i.e. the episode leads you to it) or at least make light of themselves ('I guess reality is what you make of it').
 
I kinda thought that was the joke.
Like he does say it to bender once and then does something right and then repeats it right?
So it wasn't exactly "out of the blue".
 
Looking at it, Leela does hang a lampshade on it, too.
@Rapptz Good memory. The repeat is the last line in the episode.
 
I've been itching for a good video game to play.
:/
 
Hey, I have one recommendation. Can you guess how it starts?
 
Path of Exile eh
 
11:32 PM
Uncanny
 
@rightfold @sehe @orlp you peeps Dutch, right?
Any of you close to Amsterdam?
If things go according to plan, me and a friend will be there tomorrow 21ish.
 
that's pretty late no?
 
We're hitchhiking.
Zeroish planning.
 
@Rapptz Sorry, still haven’t played anything new lately.
 
11:35 PM
no mingw-builds for GCC 5.1 :/
Maybe I should build it myself.
Sounds like a good way to waste an evening.
 
@Rapptz No tag on Git when I last looked. It’s a travesty!
 
@Rapptz not waste, community service ;)
 
@LucDanton :s
Oddly enough Boost hasn't been tagging stuff either. No v1.58 tag.
 
Would you say that void f(int t[10][20]){} passes an array by value? It certainly doesn't pass it by reference, although I agree the data is not copied.
 
The parameter is a pointer passed by value.
 
11:39 PM
So in case any of you Dutchies wants to meet or anything or has any recommendations for stuff to see there, plink me!
 
@vsoftco the pointer to the beginning of the array is passed by value
 
We'll be there till Sunday.
 
@AlexM. woah. I actually may.
bit of a trek, mind you
 
yes I know that. I was curious about the terminology. It decays to int (*p)[20] and p is certainly passed by value
 
That’s it really.
 
11:40 PM
but it is incorrect to say the parameter is a pointer, it is not a pointer, it is an array
 
thats the terminology, pointer to element 0 passed by value ;)
 
@orlp Cool! What is it?
 
No, it is a pointer. If it were an array, you could do array stuff on it. But you can’t.
 
^ what he says
 
Maybe you want it to be a pointer into an array (to the start of an array, even) but that’s up to you to maintain that invariant. Not the type system, not the compiler.
 
11:41 PM
@vsoftco Sorry nope you're passing a "handle" to the array. It's not a reference, no, but it's a pointer so the result is effectively the same.
 
@LucDanton IT IS NOT a pointer. Try passing it to f(int**)
 
@vsoftco It absolutely is a pointer. It's not an int** but it is an int (*p)[20]. That is, a pointer to arrays of 20 ints.
 
@LucDanton I only see gcc-5-branch
 
@LightningRacisinObrit Ah ok, not a pointer to int I meant
 
@Rapptz yeah
 
11:42 PM
no release tag
the date of the last commit coincides with the release though
 
The point [lol] is that you're not passing anything by value other than the handle itself.
You might as well take the OP's (IMO correct) reference approach and say the reference is passed by value ;)
 
@LightningRacisinObrit Yeah I guess... was trying to answer a question and then realized I just complicate my life, since OP really wanted to pass-by-value as copy-all-array-elements.
 
lol
@vsoftco Yarp.
The answer, of course, is that if he already threw aside pass-by-reference, and doesn't want std::array (or, one assumes, equivalent wrappers), he's fucked.
And for no good reason. His pass-by-reference is fine.
 
@LightningRacisinObrit Yes, I don't know why I got into the whole business. I shouldn't have responded, as there were already some comments on the question.
 
11:45 PM
there is only one comment on the question (which is actually an answer for FUCK's sake why do people do this so much lately) and that should in no way stop you from answering :)
 
There are now good answers, I am OK with it, first I misunderstood the question and believed OP is thinking about something else. But he was just trying to copy the data, and that's impossible with a raw array.
 
@vsoftco If it’s any help, 'pass-by-pointer' is sometimes used. It’s kinda different from terms like 'pass-by-reference' and 'pass-by-value' though, which particular meanings have currency in CS (esp. in compiler theory). Whereas 'pass-by-pointer' is a more pragmatical thing.
 
@LightningRacisinObrit It's a simple script that tells you for each file which standard headers you need to include
@LightningRacisinObrit it's a human-machine collaborative script, if it finds a std:: identifier it's not seen before it asks what header it can be found in
and it caches that information
 
@LucDanton That's why I like pass-by-handle as a generalisation here
@orlp cool
 
@LightningRacisinObrit it doesn't catch everything
only things starting with std::
so if you use using namespace it won't catch it, and it won't catch standard stuff that's not in std::
but it's close enough
also it doesn't do any parsing, so if you have "this is a string std::abs lol" it'll still pick it up, as well as in comments
 
11:53 PM
So I guess the only real use case of array references is when you want to get their size in a template, right? Like template<class T, size_t N> void f(T(&arr)[N]){...}
 
If you have template<typename T> void f(T& arg); and pass an array to it you also get a ref to array.
 
@LucDanton Yes but you wan't be able to get it's size directly, only via sizeof, and also you don't enforce the type.
@LucDanton I mean, your function is more generic than just passing T(&arr)[N]
 
It’s a side note. I don’t know if that counts as 'a real use case of array references' for your purposes, but reference parameters are very frequent so that will come up.
 

« first day (1655 days earlier)      last day (3286 days later) »