« first day (1310 days earlier)      last day (3643 days later) » 

11:00 PM
btw
seems to me like the "strong typedefs" problem would be resolved by simply allowing people to inherit from primitive types.
 
user3010322
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 
user3010322
THIS WAS MY IDEA YEARS AGO
 
Sounds stupid.
 
well, on the surface.
but so do many things.
 
Thinking about it more deeply and it still sounds stupid.
 
11:02 PM
time for beer
 
user3010322
I fucking hate decltype.
 
@Rapptz Why?
 
It needs too many special cases to make sense.
 
What special cases?
 
struct my_stuff : int, float {};
 
user3010322
11:04 PM
template <typename TTag, typename T = int> struct strong_typedef : private T {
     using /* ALL THE OPERATORS YOU COULD EVER WANT */;
};
 
That's one special case
 
struct my_stuff : int { my_stuff(int x) {} }; what happens when I do my_stuff x = 10;?
 
user3010322
@Rapptz What do regular classes do when they're multiple operators that conflict with one another?
 
Besides C++ is not really important here, it won't ever happen in C++ for shitload of reasons
@Rapptz Same thing as with other things (didn't call base ctor, you get shit), I don't see what'd be confusing
 
int* x = dynamic_cast<int*>(y); :v
 
11:07 PM
@Rapptz int isn't polymorphic.
 
What about it
 
@DeadMG I'm playing along with your inheriting from primitives concept.
 
there's no difference there between inheriting from int and inheriting from any other non-polymorphic base.
 
I guess.
 
@Rapptz Yes, I know.
 
user1804599
11:08 PM
Inheriting from primitives would not be any different than inheriting from UDTs.
 
I still think it's stupid.
 
Besides it's green on substitution principle anyway
 
user1804599
Not being able to do it is a retarded limitation.
 
So I don't see any problem here
 
I concur with rightfold.
 
11:08 PM
god damnit, another czech beer that's great
 
I don't see what's so different, semantically, between inheriting from int and inheriting from llvm::APInt.
 
is there even such a thing as bad czech beer
 
they're both integral types.
 
this is what I'm having now: beeradvocate.com/beer/profile/304/6715
 
@rightfold I have the same restriction in Wide right now but I'm gonna drop it.
 
user1804599
11:10 PM
Good.
 
I figure there are still some primitives you shouldn't inherit from like references.
 
user1804599
Now you can call it Wide++.
 
but regular value primitives, like pointers, integers, etc.. there's no reason why not.
 
user1804599
Even then.
 
oh no
 
user1804599
11:10 PM
You can make primitives special and prefix them with __ in syntax or something.
 
user1804599
And then make structs in Wide that wrap them.
 
it's hard enough to make the compiler accept references as it is :P
 
user1804599
Then you can inherit from them.
 
inheriting from references would just be bad.
rvalue references are a surprising headache.
anyway I'm off to bed
have fun
 
cya
 
user3010322
11:14 PM
VC++ just can't handle so much decltype
 
user3010322
even though GCC and CLang can
 
user3010322
I really do have to switch compilers...
 
user1804599
> decltype decltype decltype is too decltype for VC++
 
user3010322
UGH
 
user3010322
It's breaking AGAIN
 
user3010322
11:16 PM
Fuck this. Today's the switching day.
 
user3010322
OpenGL, MinGW, QtCreator, here we go.
 
I used QtCreator throughout the C++ semester the year before
 
user3010322
Did you like it?
 
user3010322
Also @Rapptz HALP
 
user1804599
Use Scala.
 
user3010322
11:17 PM
I have no idea how to set up a blank QtCreator project that is not arms-and-legs tied to the Qt framework.
 
learn to read
 
I liked how I didn't have any issues with it, but don't take my word as something too important, I barely write any C++ :(
 
I can't teach you how to read.
 
user3010322
... Wow
 
user3010322
I can't name my project Furrovine++
 
user3010322
11:18 PM
Gee, solid of you QtCreator.
 
Oh yeah
That bugs me too.
 
just wait until you see that you have to manually edit the file which keeps track of your other files if you're not doing a Qt project...
... well, you've already found out
the C++ semester was all Qt based
 
No you don't
 
I remember there was no other way when I was using it
 
You probably used CMake
 
11:20 PM
it's possible
 
user3010322
What is the difference between GCC 4.9 and 4.9.1 ?
 
bugfixes probably
I think my friend was being condescending over me watching anime
 
user3010322
Eh. I have 4.9.0
 
user3010322
Good enough for me.
 
user3010322
Oh.
 
user3010322
11:22 PM
It won't let me pick a debugger.
 
user3010322
.... Well, okay then.
 
... What would you pick?
 
user3010322
GDB?
 
> > see a video about serving soups, click on it
 
user3010322
I thought QtCreator could integrate with it?
 
11:23 PM
What did it pick?
 
> > OneDrive ad pops up
 
user3010322
Nothing.
 
damnit microsoft, I'm already using your service
 
Impossible. :v
 
user3010322
 
user3010322
11:25 PM
no valid kits found either...
 
user3010322
Awesome. Setup is going smooth as butter.... smeared over igneous rock.
 
btw
you're gonna have to install Qt to use QMake
 
user3010322
I refuse to use QMake.
 
unless you like CMake or something
 
user3010322
Or CMake.
 
user3010322
11:26 PM
I'd rather use ninja with makefiles.
 
you're pretty much shit out of luck
ninja and makefiles are two different things
 
user3010322
I'll mash the two together to fit my needs.
 
user3010322
Or die trying. :v
 
You sure like making things difficult for yourself.
:v
 
user3010322
Either way, it doesn't matter
 
user3010322
11:28 PM
QtCreator is not letting me create a plain C++ project
 
user3010322
or a plain C++ library projecy
 
user3010322
or a not-Qt anything
 
sigh
 
user3010322
Don't sigh at me. It's not working at all. :c
 
user3010322
And then I select that Kity, and I get nowhere (even after manually adding in GDB)
 
11:33 PM
Go to the other room, nub.
 
user3010322
:(
 
Wait. YouTube is going to buy Twitch?
 
@EtiennedeMartel Seems that way
 
Supposedly.
 
Does that mean you'll need a G+ account to chat?
 
11:42 PM
hope not =/
 
Who cares about twitch chat?
 
@Rapptz It's kinda important for some streamers.
For many of then, in fact.
 
Sucks for them.
 
Well, you kinda need to interact with your audience.
 
^ this
 
11:44 PM
I've only used twitch to stream tournaments.
No interaction there.
 
Woah. How does git detect that I moved an entire folder?
 
@Mysticial I don't think heuristics for this are that hard. You have one folder missing, and one new... it's easy to check if the contents of the missing one match the new one.
But I am not very authoritative on this.
 
I removed one folder and added 3 of them. One of the 3 had the original contents. Not only did Git detect that I moved everything into a subfolder, it also went in and diff'ed all the files inside that changed from before the move.
I'm impressed.
 

« first day (1310 days earlier)      last day (3643 days later) »