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

I saw that image earlier today
@R.MartinhoFernandes If you go from UTF8 XML to an implementation-defined UTF16 (because VC++ decided to use UTF16 as its implementation defined type, for example), you have to make a copy.
@EtiennedeMartel North Korea?
The thing is, if you have to deal with large datasets, it does not matter if the dataset uses up 500MB or 2GB. You don't want to copy it anyway.
@EtiennedeMartel Something looks distinctly wrong with all those faces.
23:01
@ThePhD That's not a copy, and it is also irrelevant, since you don't need both in memory at the same time.
@EtiennedeMartel She's pretty
6
(And if you need, wow, 20 whole megabytes)
@kbok Have a star.
@R.MartinhoFernandes Also, this message right before mine is strangely on topic.
in Anime and Manga on The Stack Exchange Network Chat, 3 mins ago, by Eric
And I just realized "futility" is the same as "f utility". lol
23:04
@ThePhD You can (and should) decode/transcode/whatever the data online, so you only use up O(1) extra memory beyond the memory used by your target encoding.
You humans are all racist.
(That's one reason why it pains me to not support input iterators; supporting input iterators pains me because they're a fucking mess)
@DomagojPandža and done! Man I <3 that guy, the ending was great too
Yeah, he's just lovable. :D
Why does fread take a size and a count?
23:06
What else?
@kbok I think its just a convienence
@R.MartinhoFernandes A byte count?
Well, it was designed to read arrays of records.
often you readin things in arrays
23:07
Is that different?
Only in terms of how you use it.
TIL NextBox reveal is May 21st
Can fread, for instance, dismiss padding bytes at the end of a non-aligned type?
@kbok Stops at size boundaries I imagine.
how can they reveal a console like a week before e3
23:08
The horror
no as in like - usually before E3 they will give early previews of games
to news outlets
@JustinMeiners That's the point. Do it before E3 and you have no competition in the media
Do it in the middle of E3 and you have to compete with all the game reveals, hardware price drops, ...
im not saying it should be at e3 - im saying it's too late, they usually show early demos - but the console wont even be announced so they couldnt announce any games
I'm not sure I get the point. Is there any advantage in asking for a size+count, instead of just asking for a char count as size*count, except for sparing the user a multiplication?
@kbok no
your right
23:10
@JustinMeiners Who says they're not internally developing things?
2 mins ago, by Luc Danton
@kbok Stops at size boundaries I imagine.
Or giving out strict NDAs to specific companies to develop against the next gen console?
@LucDanton But that wouldn't be different than asking to read size*count, would it?
@kbok Fine-tuning
Yes it would. It could stop anywhere.
23:11
@kbok It does not read partial records.
@ThePhD im sure they are - but from a press perspective it would be better if they could announce games before the show - instead everything drops during e3
3rd party stuff
@LucDanton Ooooh.
@JustinMeiners The time to announce games is e3.
You get the console out of the way first early (it can cycle through the media better)
I assumed it read the amount you asked
Then, you out-compete everyone at e3 in terms of the games you bring to the table.
23:12
Which is completely stupid
@ThePhD the time to announce some games, not the console a week before, then all the 3rd parties scramble to announce support, then 1st party at the show
@JustinMeiners 3rd party support is always later.
Ah crap, this is a pain in the ass to implement
And 3rd parties will be just fine.
23:13
Figure it out.
The world is ending something was announced in an arbitrary moment of time that wasn't the arbitrary moment of time I expected!
just saying - if they want the show to focus on the new console and 1st party games they should announce like begging of may
@JustinMeiners Also, there are sure to be 3rd parties who have had access to the console and/or the specs for a long time they just kept their mouth shut
until the console is announced
^ Exactly.
23:13
They're not begging.
im just saying all the announcments get dropped within like 14 days
May is begging to not announce anything
there is not enough time to get good coverage of everything
And? its like that every year
That's the whole point.
23:14
where as if it was spread out over the month, with the console and 3rd party
and then at the show
they focus
all on the 1st party
You're talking as if they want everyone to get equal face time all the time.
Competition is the driving purpose.
If I can bring better, showier, cooler games than my opponents, I can steal their media coverage.
^ This
(Or gimmicks, if I'm Nintendo).
MOSHUN CONTROOOLEEE.
WIT UR WAGGLESTICKZ.
plz buy kthx.
Also MARIO.
Nintendo has been coasting on Mario's success for too long, it's starting to show
just saying - only so much at the press conference, they want 3rd party games to sell as well, so to give the most time to all their crap, they should announce console earlier
23:16
Obviously it's not too long if they're still getting top-notch ratings for their games and people are still throwing money at them.
@JustinMeiners Again, 3rd party is aftermath.
user142019
@EtiennedeMartel I can't stop laughing about the way the sun moves in that episode. It's hilarious.
lol Wii "Us" (/əs/)
@Borgleader The Wii U has not launched a Mario Game for itself specifically.
Or a Yoshi Game.
Or Pikmin 3.
So, no. Their gimmick-only Console will not sell until they cough up a good game.
@ThePhD I disagree... I think by the show you want to be saying - look at the 100s of 3rd party support games announced over the last month, now check out halo 5
23:18
And still no Zelda.
Fuck motion controls
To provide aligned reading, should I putback chars or maintain an internal buffer?
@JustinMeiners That takes attention away from Halo 5.
It's a horrible gimmick and I'm not surprised Wii is tanking :v:
no it doesn't - announcing everything at once does
because everyone has to scramble to cover 3rd party and first
23:19
who cares
@ThePhD It has New Super Mario Bros U
@kbok Wait, what are you implementing?
I can't read that many announcements!
@JustinMeiners You have it in the wrong order.
It's like 20 of them!
23:19
@ThePhD I lose all respect for people who use the word gimmick.
:S
@Rapptz Gimmickgimmickgimmickgimmick.
It is a gimmick
it's not my job to cover everything, there's people who do that. and there's enough of them to cover everything.
@ThePhD Gesundheit.
@R.MartinhoFernandes Some C library expects a callback whose behaviour is the same as fread(). I want to provide it using istreams.
23:20
sigh...
@kbok Ah. For a moment there I thought you were also implementing a standard library. Like everyone in the Lounge went crazy.
@Rapptz Now, come to my house and have dirty disrepectful sex with me, telling me how worthless I am the entire time. <3
Wikipedia even has a definition for you
@kbok You can read the std::istream and use luaL_loadbuffer.
23:21
I have not met anyone
who even owns a wii u
have you guys?
@LucDanton It's not about lua this time. :)
I have one, but I don't use it cause there are no games atm.
^ Exactly.
23:21
Then why dyu buy one? :P
oh no, now I know someone who has a wii u!
2
Come to think of it, lua_Reader is nothing like fread.
But I did quite the same for lua (which was easier because they except you to read chars)
I think Bayonetta II is going to be exclusive Wii-U, though.
23:22
@melak47 hahahah
(I'm not sure why?)
wow bayonetta = system seller?
@ThePhD To make people buy it (pleasepleasepleasepleasepleasepleasepleasepleasepleasepleasepleaseplease)
@Borgleader Hm mostly because I like Nintendo.
23:22
@sehe yes, and almost nobody supports export templates
I like good games. :D
@Rapptz >_>
The minute you stop making good games, I stop liking you. :D
@EvgenyPanasyuk No one cares.
well
23:23
when nintendo actually releases - they make the console well worth it. Now that I think about it, it's almost better to buy nintendo consoles old
I'm off to the Googles today
export is a dead, gone and forgotten non-feature
@DeadMG the interview?
because they have zelda, ssmb, mario, star fox, and metroid by the time it's over
yep
23:24
@DeadMG Go to sleep.
@JustinMeiners They already shot StarFox into the dirt.
I'd like to
but sicknes
@melak47 Heaven forbid.
StarFox Adventures made me kind fo sad. ;~;
@CatPlusPlus Hasn't export always been a joke?
@ThePhD your rgiht
It was the committee trolling.
@kbok That reinterpret_cast is wrong.
Learn to type jesus
@Rapptz buying stuff because you like the people who made it, not because you like the thing you're buying...what is this, charity? :p
user142019
23:25
reinterpret_cast is wrong. FTFY
lol
now you know how I code
With C++11, the troll was... <regex>?, and with C++14 it will be VLAs.
@DeadMG Best of luck. Put me in with £10 each-way.
user142019
C++ is a troll itself.
23:26
@kbok Notice.
They're not even homophones.
@R.MartinhoFernandes Lool. <regex>. It makes me so sad.
@melak47 Spoiler: I like my Wii U. I just don't use it because there are no games to play with at the moment. I'm sure as time goes by there will be many games I want to play.
it's IM, I think everyone understands what I mean..
Even though English is not the hardest thing to learn...
23:26
That and I don't play games as much as I used to anyway.
Nobody cares, learn to fucking type
> buying a game console that has no games
ouch, alright I guess that hits a nerve
@R.MartinhoFernandes naw, dyn_array is the troll.
23:27
do you have a WP7, too? :p
VLAs > dyn_array
> I like my Wii U. I just don't use it because there are no games to play with at the moment.
This sounds hilarious
They're both crap.
@Rapptz Although I'm as confident as you are that Nintendo will produce games (or 3rd parties that Nintendo will hopefully accept), the premise itself is silly. xD
Like we need yet another container.
23:28
Nintendo 3rd party? lols
@melak47 Nope.
I had a WP7
For 2 months
To which I used and exploited it to test games
@MartinJames Actually, you get two! Except one isn't really a container. It's just a... no, it's not a really a type.
And then handed it back to them.
For starters, I guess I apologize for having disposable income that I can use to support a company I care about succeeding.
user142019
LOL
At least, dynarray does not blow 80% of the type system.
@Morwenn Neither does C++14's VLAs.
@Rapptz jeez, don't be so serious :p
@Rapptz I dunno, I think Nintendo would learn better from burning to the ground. :D
23:29
Oh, it's at 90%?
frankly, they're harmless, relatively speaking- the Committee did not go for any of the insane shit.
"The next game we make will decide if we live or die as a company."
the worst that can happen is you blow your stack
dynarray? vla?
23:30
@DeadMG There are too many places where it is not possible to use them.
@Morwenn Oh cry me a river. They're a niche tool.
@Morwenn That's the only way they can work...
@DeadMG Oh, that's OK then :(
Go go gadget console
@DeadMG It's a shame since they are syntaxically easier to write.
23:31
@Morwenn What
Is it time for a 'Fuck consoles'?
@Morwenn Syntax is irrelevant
@Morwenn That's a bad thing.
Also "syntaxically" is not a word
english patrol over here
23:31
@R.MartinhoFernandes Tell me about good and evil :D
@CatPlusPlus Give him some slack, he's not a native speaker.
what, you mean like most of the other people in the chat?
Wait, where's Brittany?
in France.
23:32
@CatPlusPlus Well, if you can speak French, I'll be happy to treat you all the same.
Oh, that's what you call it in English?
EtienneVille.
it's north-western France
Yeah, I know. Just never saw the English name.
@R.MartinhoFernandes Brittany: far west of France.
23:33
My uncle used to live there.
Brittany ( ; , pronounced ; Gallo: Bertaèyn) is a cultural region in the north-west of France. Previously a kingdom and then a duchy, Brittany was united to the Kingdom of France in 1532 as a province. Brittany has also been referred to as Less, Lesser or Little Britain (as opposed to Great Britain). Brittany is considered as one of the six Celtic nations. Brittany occupies the northwest peninsula of continental Europe in northwest France. It is bordered by the English Channel to the north, the Celtic Sea and the Atlantic Ocean to the west, and the Bay of Biscay to the south. Its land a...
user142019
We call Britten "Brittanië". :v
I FUCKING KNOW
Alternative #3 for booze-cruises.
frankly
I visited Brittany once, it was bad
My god
I hate std::forward
You said that about Linz too.
You suck.
all "Historical castles" this and "Oh my god the sea!" that.
I hate it so muuch. ;~;
rainy as fuck
23:34
where's my fucking internet
user142019
@ThePhD std::reply_all
Outside the swamp
@R.MartinhoFernandes It was!
@Morwenn But 'syntaxically' is nothing like 'syntaxiquement' either!
@DeadMG WTF why did you even leave the house?
23:34
@R.MartinhoFernandes Not my choice.
More like "butter" this and "crêpes" that.
@ThePhD try std::backward, std::rewind
@DeadMG It was raining.
user142019
@Morwenn Crap comes out of my butt.
^ not a question
23:35
@LucDanton Actually, it was fairly sunny.
Dammit, too slow.
@DeadMG Tell us another joke.
it was sunny here too yesterday
@LucDanton Well, I don't check for the existence of every word I type.
and quite a few days recently
@Morwenn That's not cromulent at all.
23:36
Nice today - yes, I did some laundry in the end.
@LucDanton And syntaxiquement would not offend me actually.
@LucDanton Well played.
If only browsers could check whether the words you type exist
@melak47 That will only take me std::nowhere .
if only..
23:36
std::fucking_noobs
@ThePhD What's your beef with it?
Hmm, beef.
when in doubt, reverse the polarity
Dammit, now I am hungry.
@Morwenn Well yeah.
23:37
Wow
IPA was invented by French people and it shows.
@R.MartinhoFernandes Go buy some beef, AKA 'horse trading'.
I got stuck in the spider lady's vaginas legs and she orgasmed all over my face and I died. =[
...
What the fuck did I just read?
5
@ThePhD I'll pretend I didn't read that
23:38
@ThePhD You need to pick up the scuba gear first.
I am going to try to get some sleep.
I am only attending a Google interview with insufficient preparation and catching a train well before my usual arising time
@DeadMG Have fun tomorrow :)
@R.MartinhoFernandes It's not std::forward, really. It's mostly just MSVC being an asshole to me about not being able to deduce the type of a single univeral reference argument that comes from a template.
@ThePhD ....wat
@DeadMG Good luuck!
23:39
Sounds like you're doing it wrong.
@DeadMG Take Daisy with you. Who could refuse that?
Anyway, VLAs even managed to blow my grammar. Thanks.
@MartinJames woof woof bitch
haha
That would be interesting.
The trinary operator cannot contain different type values?
23:41
@R.MartinhoFernandes coliru.stacked-crooked.com/… <-- that's how I'm doing it. It -looks- legal to me.
I guess I should explicitly at the template parameter to std::forward
You suck.
How can you want forward with type deduction?
I honestly though the type deduction would happen automatically. =[
It just makes no sense.
23:41
I gotta go sleep. I can barely stand. Nite all..
@R.MartinhoFernandes Isn't forward supposed to push the type it's given forward as-is?
@ThePhD If you want to forward you don't want type deduction. You want a very particular type.
Oh.
I usually do std::forward<T>(t) and now I realise that's probably why my code is verbose.
If type deduction was what you wanted, you wouldn't need forward... Just pass the parameter along and let it be deduced...
23:43
But I need to "perfectly forward" these arguments through a bunch of function calls.
Which I can only do using std::forward, right?
Yes, and you want to forward them just as the type that you got them as, not as the type that could be deduced.
Hm. okay, I guess that makes more sense when you say it that way.
I just thought giving it as std::forward( arg0 ) would automatically resolve to something like std::forward<decltype(arg0)>( arg0 );
user142019
We need std::pwn_java_programmers.
4
No, because that's not how type deduction works.
user142019
std::sexy_women performs type seduction.
9
23:45
decltype is magical.
@Zoidberg It is already implicit.
@Zoidberg std::di_caprio leads to type inception
2
Dec 8 '11 at 18:46, by R. Martinho Fernandes
void go_on_a_plane() {
    throw some_inception();
    do_stuff();
}

void do_stuff() {
    std::cout << "blah\n";
    sleep();
}

void sleep() {
    try {
        std::cout << "I never sleep on planes. I don't wanna get incepted.\n";
    } catch (some_inception&) {
        std::cout << "I was incepted!\n";
    }
}

int main() {
    do_stuff();
    go_on_a_plane();
}
Good night.
y u no return :(
user142019
WALL O' CODE BIN IT
23:49
TO THE REAL C++ ROOM.
@DomagojPandža Because there's no going back.
user142019
TO HELL
user142019
Oh wait, we're in hell already.
Aghhh fuck
This mutex keeps throwing on me. =/
throw up;
23:51
return of_the_jedi;
5
long long ago; // in a galaxy far far away
Where did the Jedi go in the first place? :(
user142019
So many bad puns taken from Funny Comments question.
user142019
All, reposted without attribution.
23:53
17
Q: Write the longest sentence using keywords of a programming language

PubbyThis is not exactly a programming challenge, but a programming-related word challenge. If this is not fit for the site then feel free to close. As the title said, the challenge is to write the longest sentence by only using the keywords of 1 programming language. For instance, using the keywo...

user142019
What a horrible nightmare!
Ell
Ell
Someone start long long ago
What?
user142019
> error: long long long is too long for GCC.
Ell
Ell
Star
23:53
@LucDanton Hah, I have one in C++ in my vim configuration.
Etuc.
@R.MartinhoFernandes you write you're <- (did you see that cat) C++ in VIM?
23:57
what compiler?
clang?
GCC and clang; and MSVC at work.
Ugh.
so at work, do you write in VIM or visual studio
My mutex keeps throwing some kind of strange exception.
I think something isn't working out nicely...
23:58
interesting
Xeo
Xeo
2am, robot still not nopping
I used to use a plugin named VsVim, but now I just set the default text editor to gvim.
@Xeo Hey! We're both sleep typing!

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