« first day (1781 days earlier)      last day (3159 days later) » 

11:00 AM
@Xeo If you had something that married tuple(-like) return values to a number of types, what would you call it?
apply_return ?
Right now what I have it tye( a, b, c, d, std::ignore, f ) = some_stuff( some_bullshit );
 
Ell
Tye :P
 
OTOH marry doesn't sound like a bad thing. It's not like I'm going to make a marriage program where I'd need that terminology anytime soon.
 
Ell
You use middle English now? :P
 
I named it that because naming mine tie caused problems with the std:: library, where Koenig Lookup punched me in the mouth.
my tye_t is just a std::tuple with an overriden operator= that responds to tuple_size and get.
 
why do I always get confused between a rhino & a hippo?
 
11:10 AM
because you are stupid
:p
 
@ThePhD ah you are back :)
ADL can bite you.
 
Ell
Koenig lookup sounds way cooler than ADL
 
Andrew disagrees
@StackedCrooked not really
@chmod711telkitty I've never confused you with a rhine & a hippo
Mainly because they're actually bad ass
And have better sense of money
 
Mainly because they're money
And have better ass
 
11:21 AM
And they don't need to brag about having a thick skin
@chmod711telkitty Ok. Point awarded
I didn't know kitty wrote Markov poetry
Jan 10 at 1:11, by chmod 711 telkitty
If my skin was think I would ship hair removed monkeys with breast implants as cheap mail order brides ...
 
I need a member variable template :/ I have a finite (2) amount of types for which I need to implement the same thing... and I can't do that without boilerplate :/
 
don't have friends? buy monkeys!
 
user1804599
Hallo.
 
user1804599
@Ell Argument-dependent Koenig lookup.
 
user1804599
11:27 AM
> It's come to my attention that women are having their accounts banned for showing menstrual blood (and no nudity). This is very seriously fucked up. If this was a picture of blood from a finger laceration, there'd be no issue. Yes, this blood is from my #vagina . It happens every month.
 
I registered for warlords beta
 
@Nooble We had to do detective work
 
user1804599
 
@sehe Mainly because he didn't invent it, right?
 
Something like that. Or so
 
user1804599
11:29 AM
Reasons to make rightfold your girlfriend:
- no period
- no pregnancy
- COCK
 
@Nooble Gneiss one
 
@elyse You can have the first two ones with my grandmother too.
 
10/10 perfuckt grillfirand
 
user1804599
@Morwenn ;_;
 
user1804599
ok let's add another one:
 
user1804599
11:30 AM
- hot
 
But no boobs :/
 
user1804599
shush
 
@Mr.kbok Boobs are overrated.
 
needs more vagina
 
@Morwenn Boobs are important
 
11:30 AM
@elyse 37 degs C is not hot
 
@elyse thought you typed cook, but no ... if you cook, that's almost a legit reason why someone would want you as a gf (not giraffe)
 
that wird
it's a thang of beauty
 
@Mr.kbok Not really. It's a good plus, but they don't matter that much.
 
@Mr.kbok when and where
 
@Morwenn Speak for yourself ¯\(°_o)/¯
 
user1804599
11:31 AM
@Morwenn Says the person lacking boobs.
 
Ell
Freebleeding is so disgusting :/
 
user1804599
talk about biased
 
@Mr.kbok pfft
 
@Mr.kbok I do speak for myself :D
 
user1804599
@sehe stop farting
 
11:32 AM
@elyse You could see it like that too.
 
Ell
Is there a general consensus on Uniform Call Syntax?
 
Yes. Only, not everyone agrees
 
user1804599
no
 
user1804599
also, it's terrible if you want to add it to C++
 
I have massive boobs & still no one wants me as a girlfriend :D
 
11:33 AM
@Morwenn ofc everyone has different priorities :P
 
I am so looking forward to Converting Vegetarians II *-*
 
user1804599
The whole lookup and resolution nonsense is already over 19 pages of standardese.
 
@Mr.kbok Hehe :D
 
user1804599
Let's not add another twenty by introducing more useless features.
 
@chmod711telkitty Real beauty is on the inside.
 
11:34 AM
@chmod711telkitty They're important, but not the most important.
 
@sehe I'm not interested in telkitty's liver, TYVM
 
@набиячлевэлиь "multiplatform" is not a preference
 
@Mr.kbok It kind of is
 
@набиячлевэлиь It's still there. And likely the most marketable asset
 
user1804599
home alone next week
 
11:36 AM
I prefer to write multiplatform code
 
user1804599
I'm gonna starve :v
 
@elyse buy a house
@elyse lern to cock
 
Ell
I'm considering where extension methods are a good idea or not
 
I like how you fell for my troll
 
@sehe Nah, the most valuable thing is bone marrow
 
11:37 AM
almost jumped into it
 
@набиячлевэлиь Yes, but you're not going to continuously test on both windows, linux and mac os, are you?
 
user1804599
@sehe lol are you crazy that's like 150000 bucks
 
user1804599
if not more
 
user1804599
@sehe never had the chance
 
@Mr.kbok Only on Windooze and Ubuntu
 
11:37 AM
buy a house in Greece
 
user1804599
no
 
@chmod711telkitty :( We were being serious
 
user1804599
so home alone wat do
 
11:38 AM
@elyse Masturbate
 
Masturbate in Erlang.
 
user1804599
@набиячлевэлиь nah
 
You could also git gud
 
I failed this refactoring so hard I should probably start over completely
 
@Andy aaaaaaaaaaaaaaaaand I popped a Zhanchi.
 
11:41 AM
@Mr.kbok better?
 
On the topic of boobs ^ >> (made into timed link)
> that's just subcutaneous adipose tissue - albeit shitloads of it
 
user1804599
BOOBS
 
user1804599
b(.)(.)bs
 
I feel unsafe, seeing my chickens surrounded by bear, cat, lion & dogs
 
12:01 PM
I like how @thecoshman is "thecoshman thecoshman" on G+
 
Oh my fucking god
That feeling when you can STAR THINGS AGAIN AAAHAHAHAAAAAAAA
 
@ThePhD lol
 
@ThePhD You're alive :D <3 :D <3 :D <3 :D <3 :D
 
> undefined function cannot be used in a constant expression
UGH IT'S RIGHT THERE ABOVE THE ERRORING LINE YOU STUPID COMPILER
 
@набиячлевэлиь fucking shit makes me give it a first and second name
@MaiLongdong you sound like everyone ever
 
user1804599
12:14 PM
aaaa testing conccurent code
 
Xeo
@ThePhD Psst: Qualified call.
 
I should really try to memorise the unicode typing shit for ☠
 
It's supposedly resolved, but I'm hitting it right now :/
It seems it appeared once I made the class that function is in a class, not a class template :/
 
@Morwenn not bad
 
12:18 PM
It fucking compiles when I turn class heap { ... }; into template<typename> class heap_ { ... }; using heap = heap_<void>;.
UGH
What's the piece of bullcrap that causes it? Is it clang being utterly retarded, or C++ being insane?
 
@thecoshman :3
 
This vs this :<
 
does an optional<T> use up much more space than just T alone? probably impl defined... but generally speaking/specifically with gcc
(talking std::experimental here)
 
@thecoshman Yes. You have to store whether the optional is engaged or not.
 
@thecoshman it often takes 2 * sizeof(T)
 
12:23 PM
@StackedCrooked Isn't that only Boost.Optional to always be able to recover when an exception occurs at the worst time?
 
@StackedCrooked wtf? 2*?
@Morwenn yeah, but that's just a boolean right?
I mean, it could use a pointer and track itself via nullptr or not, as long as that is hidden from me
 
@thecoshman It only requires one extra byte (bool) to store the flag. But that variable will be padded to match the alignment of T.
 
@StackedCrooked but isn't optional<T> just going to have variables T value; bool engaged? or maybe just even T* value
why would that bool be padded to alignment of T?
 
struct optional { typename std::aligned_storage<T>::type value_; bool valid_; };
^ something like that
@thecoshman because that's what structs do
 
I get that sometimes variables can take up more bytes then you would expect, like a bool might actually take up 4 bytes just to align to 32 bit... but I don't get why in this case it would align to take up sizeof(T)
 
12:27 PM
@thecoshman Because it's aligned to the alignment of T (via aligned_storage).
 
struct Point { int32_t x, int32_t y; }; // size=8 bytes. alignment = 4 bytes.
optional<Point> p; // size=12 bytes. alignment=4 bytes.
 
@Xeo Who wants to ::tie just to keep the same naming? That's boring.
 
In case of optional<T>[2], the alignment of both optionals must be the same as the alignment of T.
 
@StackedCrooked but you just said that size of optional<T> is 2*size of T....
shouldn't your optional<Point> haze size 16?
 
5 mins ago, by StackedCrooked
@thecoshman it often takes 2 * sizeof(T)
 
12:28 PM
@Griwes oooh, 'often'
 
@thecoshman I said "often" because often T is a single int, long or pointer.
 
@thecoshman No, because the alignment of 4 satisfies it, so it doesn't need to pad to 16.
It's easier to understand how alignment and padding work together if you think in C arrays.
 
@Borgleader I am. Y u no mumble these days, huh?
 
And the fact that aligned + sizeof must also be aligned.
 
so what you said is generally only true for small T? for larger objects, the optionality of it is less impact
 
12:30 PM
@ThePhD Implying I used to mumble :P
 
@Borgleader Damn, tried to pull one over on you...
 
@thecoshman s/small T/T with small alignment/
 
@Borgleader Well, you should mumble these days!
 
@ThePhD I got OpenEXR to compile this weekend :)
 
@Borgleader ... Why are the rivers not running with blood?
 
12:31 PM
@ThePhD Because I washed them with the tears of my suffering
 
@Borgleader I salute you. o7
Anyway, isn't today a work day for you? Aren't you commuting?
 
@thecoshman indeed
 
@Griwes no, because when T is small, adding that bool and then aligning again can result is a larger % increase in size, whilst for a large object, (with equal alignment) that additional bool and align is a small % impact
 
I want to get OpenEXR to work for me, but that would require me to adopt their build system. And I'd rather chop my left leg off than do that.
 
Unless you have a large type with large alignment. But that is rare.
 
12:32 PM
@StackedCrooked shame then that i'm looking at optional<int>
 
@thecoshman "with equal alignment"
 
Don't put an object that aligns to a page size in an optional :)
 
@StackedCrooked but not quite as rare as small type with large alignment :D
 
If you are counting the overhead in %s, you should also count the alignment in %s.
 
12:33 PM
Then the alignment is much smaller with the big type :P
 
hmm... so now the question is... am I better having optional<vector<int>> or <vector<optional<int>>
 
Also @Borgleader I heard you were getting cozy with OpenGL dev again? LLOGL seeing some love?
 
0
Q: Which language would you prefer to use to make a game?

Ahmed Safi El-DienI've recently decided to learn game design and development. But I've never got a good answer at what languages should I use , how difficult is them? Please answer it saying why you choosed this language too cause I still beginner and also how difficult is it.

lol
 
@thecoshman Those two have totally different semantics.
 
Xeo
@ThePhD Dude. Namespaces. mylib::tie
 
12:37 PM
@Xeo Furrovine::tie is still uuuugly.
I'm just gonna name it marry
 
Xeo
Prevents ADL though.
@ThePhD that's even worse.
 
@ThePhD lol
 
Xeo
Another rarely known trick to prevent ADL: (tie)(stuff)
(I shouldn't have shown you this, I just know it.)
 
Does that, like
 
@Griwes I have struct{ int x,y,z} as my 'base' type, but want a vector of them. Each of x y and z would be optional, but it would be the same for them all. So Either they ALL use y, or none do.
 
12:38 PM
coerce the function name to a function pointer or something?
 
Xeo
@ThePhD nope
 
Oh. Well, then I have no idea why that would work.
 
Because the spec says so.
 
@thecoshman I feel like both these types have wrong semantics for this.
 
@Griwes I think so too :\
 
12:39 PM
No idea what has a correct one, though.
 
I think you're going to need some metaprogramming on top of that.
 
Xeo
~magic~
 
@Griwes except it can't be static, as I want to read from a file
 
12:40 PM
@Xeo .... That's... what.
 
FML.
 
C++ stop doing this to me. :c
 
I do only have a 'fixed' number of combinations...
 
@ThePhD Sortof I cleaned it up I'm in the process of adding support for samplers. I've yet to use them, but I probably will soon enough.
 
@Griwes and an X-macro
 
12:41 PM
@Borgleader Shiny.
I am working on an OpenGL port of Furrovine.
I've actually got shaders compiling and stuff
But now I need to compose them into ProgramPipelines or w/e.
I'm trying to have both OpenGL 4.4 and OpenGL 3.3 compat.
 
> using namespace v1;
Why not just inline namespace?
 
But right now I'm doing OpenGL 4.4 because that's the easiest to make work with DirectX 11.
I can't even lower it to straight 4.0 and 4.1 because some of the stuff I use was made core in 4.2/4.3
OpenGL's versioning stuff really sucks. q_q
The good news is, once my compiler is done I can actually throw out ALL of my need for OpenGL 4.4 stuff (e.g., shader reflection) and depend on the core-since-3.0 ARB_separate_shader_objects
And then give Intel the big middle finger because EXT_direct_state_access is like 2.0-level stuff and Intel should have had it a million years ago and since tehy don't seem to on older things, fuck 'em.
 
@Griwes No MSVC support.
 
VC++ doesn't support inline namespace?
 
not when i checked
well not 2013
 
12:45 PM
It's in 2015
Also, don't support 2013. It's for babies.
 
Yeah, I dont have that yet, I have to switch my SSD (im on vacation next week so ill be doing that then)
 
yeah, sorry for suggesting a solution. — stack user 24 secs ago
oh my
 
Oh, well alright.
@Borgleader Community, or going to snuggle up with the Pro version?
 
whats so bad about namespace v1 anyway%?
 
@ThePhD Oh man you got chat working!
 
12:46 PM
@ThePhD I'm not a student anymore so idk how i would get the pro version
 
@Borgleader It's not the worst, it's just debugging identifiers and stuff are kinda bummy. Also long names be long sometimes, and sometimes the qualified names are not quite perfect when they get stuffed into binaries.
There's one other, like
language-level reason for it
but I forgot.
@jaggedSpire I did! I ended up having to ask @balpha for help, and they saved me in like 7 minutes of time.
 
@ThePhD Err. inline namespace still leaves the v1 in the name; that's the point.
 
@ThePhD admin powers are wondrous, sometimes.
 
@jaggedSpire One day, I'm gonna be an admin.
 
It's defined in terms of that @Borgleader does AFAIR, but is... shorter.
 
12:49 PM
Of stuff. I don't know what.
 
Xeo
Of derps.
 
1:05 PM
@Xeo Of something other than derps!
 
Xeo
Herps, maybe?
 
@ThePhD std::prenuptials
 
user1804599
Bower is so fucking terrible.
 
Best loser ever - really this time
 
user1804599
1:19 PM
You can't install a package from a subdirectory of a Git repository.
 
hello
 
user1804599
I need something better.
 
@chmod711telkitty Yeah! That's the spirit
 
user1804599
also doesn't allow build steps
 
@Rerito I like that tan, it's so ... exotic ~_~
 
user1804599
1:25 PM
looool so so bad
 
user1804599
#web
 
apt-get so slowness
 
I need to buy cheese, between my chickens & I, we have gone through a kg of cheese recently
 
1:41 PM
Cheese is good
 
Xeo
Shit. My tablet died. Now I have to get through the rest of the day without music.
1.5h left...
 
radio?
 
1:58 PM
Prismatic, you still working on OpenGL stuff?
 
@Xeo My BT headset also died today... :'(
 

« first day (1781 days earlier)      last day (3159 days later) »