« first day (1111 days earlier)      last day (3852 days later) » 

11:02 PM
@sehe You are sure in an instance I'm positive you're wrong about.
 
@CaptainGiraffe You noticed that > introduces a quote, right?
 
@sehe My personal guess is that they can't get people to pay attention to the safety information any other way.
 
Will somebody think of the nuns
 
nuns can think of themselves
 
@sehe I did.
 
11:06 PM
@DeadMG My personal guess is they just wanted free PR by making a clip that is bound to go viral. Freeeeeeee advertiiiiiiising
 
@sehe It's not really free when they had to pay to make the clip :P
 
@DeadMG Oooh. I hope they don't have a dirty mind
@DeadMG The advertising is free. Certainly compared to buying the broadcasting too
 
@sehe "I gave myself to Jesus and now he won't even call"
 
That's not a call, sister. That's a vocation. You had it all along.
 
@BartekBanachewicz That's an advertisement for the adult version of Clue. -In the tool-shed, the pool guy, the D.
I found workplace.stackexchange.com/q/15397?hq=1 interesting. Do you know what your coworkers are paid? I do.
 
11:21 PM
oho, I've made another "not-an-answer" in
always funny
 
Hey, quick question, in this answer: stackoverflow.com/a/252810/997196 how does the Point point_new(int x, int y) work? Is that a function or a struct?
 
It's an elephant
 
zch
It's a function that returns a struct.
 
Oh, okay then.
So it's essentially using the struct the same way I would use an int or char in the function declaration?
 
@Link it's a function
 
11:23 PM
@BartekBanachewicz, got it, thanks.
 
zch
Yes
 
@Link I dunno in what way you'd use those
 
@BartekBanachewicz, me neither, just found it interesting..
Thanks!
 
@CaptainGiraffe I don't. But I only start tomorrow :) I used to know precisely, because we used to run an semi-autonomous business-unit of 8 persons and made our own business plan and budgets. That includes salaries :/
 
aaand here's the upvote
lol that's amazing
 
Xeo
11:24 PM
Holy shit dat Battering Ram! /cc @Etienne
 
@Link Are you randomly reviewing all questions that are exactly 5 years old?
 
@Link also please stop using C language for your own good
 
@sehe Best of luck with your new gig.
 
@CaptainGiraffe Thank you. Right now I feel I'll need it. Which is in part the reason to switch, but you know... nerves :/
in Discussion between sehe and namezero, 1 min ago, by sehe
@namezero Please do. Many more knowledgeable people around there. Just expect to be treated with some distance the first time, because we get too many help vampires coming by :) But you should feel right at home
 
Hi ":]
 
Xeo
11:34 PM
Crap, a choice.
 
@sehe I'm just stating the obvious, but everybody that is mentally sound has jitters in that situation.
 
Xeo
Please don't give me choices without the ability to save D:
 
Xeo
@melak47 If you only got one condition, just DisableIf the other overload
 
@namezero hi there
I'd welcome you spiritually but I guess you had enough of that today.
 
Xeo
11:39 PM
That doesn't help with my decision problem though D: I hate non-savable decisions right before the end
 
sehe recommened dropping in here. Nice Bartek. lol
 
Xeo
Whee, another guy from Berlin
 
@CaptainGiraffe Yup. I try to remember that
@BartekBanachewicz I think this is what you were asking about the other day: /cc @rightfold
4
 
11:42 PM
@Borgleader I haven't read it all, but std::istream_iterator<uint8_t> is usually a problem (the codecvt facets aren't specified by the standard, and I'm not aware of any library that implements them. MSVC might be an/the exception there)
 
are they only defined for char?
 
@sehe ??? O_O ??
 
@sehe That's beautiful ;_;
 
@Borgleader at least. Not sure which are covered. Look for posts by Dietmar Kühl I think
 
@sehe Alrighty, thanks :)
 
11:44 PM
Wow.
 
std::ifstream webp(path, std::ios_base::binary);
std::vector<uint8_t> rawData(std::istreambuf_iterator<char>(webp), {});
@Borgleader ^ an option?
Because conversion of char -> unsigned char is always defined. Using the buf-iterator is just more efficient - shouldn't really matter with std::ios::binary
 
I get the weirdest error (I did replace {} with std::istreambuf_iterator<char>() because MSVC didn't like it): error C2228: left of '.data' must have class/struct/union
 
Xeo
MVP
A mean trap with on-the-fly constructed stream(buf) iterators
@sehe Actually, does that really compile? Since {} can't be deduced to anything and it tries deduction on both arguments
 
Well, this works:
std::ifstream webp(filepath, std::ios_base::binary);
auto end = std::istreambuf_iterator<char>();
std::vector<uint8_t> rawData(std::istreambuf_iterator<char>(webp), end);
 
Xeo
Yeah, that breaks the MVP
 
11:49 PM
@Xeo I haven't tried. I routinely use it with std::copy(someiterator(source), {}, ...) though and I believe std::string::assign worked well too
 
brb, tea time
 
Xeo
@sehe hm, k
 
@Borgleader std::istreambuf_iterator<char> begin(webp), end; then, as a matter of style :)
@Xeo I'm aware of the fact that it will only ever deduce if the iterators are positively shareing the template argument typeid. But this is one such place where I absolutely love C++11 {} initialization
 
Xeo
gaaah, I'm so bad with decisions. Still haven't chosen the ending path for Bastion. :(
 
zch
Bastion?
 
11:53 PM
Night all
 
@sehe 'night :)
 
Xeo
Bastion is an action role-playing video game produced by independent developer Supergiant Games and published by Warner Bros. Interactive Entertainment. In the game, the player controls "the Kid" as he moves through floating, fantasy-themed environments and fights enemies of various types. It features a dynamic voiceover from a narrator, and is presented as a two-dimensional game with an isometric camera and a hand-painted, colorful art style. Bastions story follows the Kid as he collects special shards of rock to power a structure, the Bastion, in the wake of an apocalyptic Calamity. Th...
 
good night sehe!
Thanks again :]
You're a genius!
Everyone here has so much reputation. I'm in awe :]
 
39 more rep to 10k -.-
eh time to go to sleep
g'night all
 
@bartek: nighty night
 

« first day (1111 days earlier)      last day (3852 days later) »