« first day (783 days earlier)      last day (4168 days later) » 

11:00 PM
@MooingDuck But, but! the "replacement of category descriptive" must be addressed!
@StackedCrooked template template args. What else is new
 
@MooingDuck My answer apparently had the right idea: he really wants an Algol 68-style specification.
 
@sehe In C++03 it was a problem that you couldn't specify a container and an allocator without duplicating the element type when passing the allocator type.
E.g: template<class T, class Allocator = std::allocator<T> > class vector;
This problem seems to be effectively solved now.
 
@StackedCrooked C++03 had template template args just the same
 
hmm
what version of Python does LLVM expect, I wonder/
 
@sehe I know.
But, why was vector not defined as template<class T, template<class> class Allocator> class vector { ... }?
 
11:05 PM
@DeadMG 1.3.5 patch 17 (but it only works under a new moon that falls on a Tuesday -- and you have to be wearing red trousers).
 
@StackedCrooked well... because you might not want the allocator to be a template class?
 
@StackedCrooked because that second parameter is a template, not an actual type, and you couldn't pass a template as a template parameter in C++03.
 
@JerryCoffin :P
 
@MooingDuck erm wrong
 
@sehe while I don't doubt you, I don't see my mistake
 
11:06 PM
@MooingDuck What are you smoking? The only thing new about template templates in C++11 was the support for variadic arguments as the template template parameter
 
@StackedCrooked Where is it solved in that code snippet? I still see you explicitely specifying std::allocator<int>
 
@DeadMG you could have template templates in C++03? I could have sworn you couldn't!
 
@sehe Not sure. Perhaps I was too fast.
 
@MooingDuck You can pass class templates as parameters for template template type arguments
 
@MooingDuck Template template parameters? Yes, you definitely could in '03 and '98.
 
11:07 PM
@JerryCoffin oh
 
@StackedCrooked anyways look at std::scoped_allocator (just noticed it myself the other day)
 
@sehe I've never heard of that.
 
(the name is bad IMO. It's more like std::cascading_allocator, IYAM)
@DeadMG it's nice as far as I can tell. The pictures in the proposal are pretty descriptive
 
oh it's the allocator wrapper thingymajiggy
 
11:11 PM
@StackedCrooked limited to allocators that take the element type as the first template argument. Easily fixed using template aliases, these days :)
@DeadMG Yup
 
oh, for fuck's sake
now CMake is failing but won't even say why
 
@sehe That's not an unreasonable requirement I think.
 
"Unexpected failure: ."
thanks
 
@DeadMG It's because you always shout at it.
 
@DeadMG That's an SMTP server? Oh, CMake
 
11:12 PM
CMake works fairly well for me.
I don't understand it. But I got the incantations right.
 
well, I'm following the LLVM guide step by step
except then CMake dies without giving an error message
 
Are you on Windows? Or mingw, cygwin?
 
Windows, of course
 
MinGW is not an operating system silly
 
msys, sorry
Perhaps you can run CMake with higher verbosity level.
I'm not sure if there is such an option though.
 
11:16 PM
Ahahahaha have you seen new answer to that char* question
 
no, I tried ditching Python 3 and installing Python 2.7.3
in fact Python 3.3 at least gave a Python error instead of no error at all
 
Lol, it seems nobody wants to use Python 3 .
 
if I install Python 3.3, it gives a Python error
if I install the latest Python 2.7, it gives an empty error.
 
Only people terrible at Python or cursed with large legacy codebases don't use Py3
Anyway, look at dis
1
A: pointers difference between c and c++

sushant goelC is not strongly typed language therefore it sometimes only issues warning and run the code. whereas C++ is strongly typed therefore it gives error. To remove this error either remove const or write it as char* const p=&buffer[0]; this will resolve your problem

 
11:18 PM
@CatPlusPlus nope. a linky?
 
Way ahead of ya
(that means 1 second)
 
> Python 3.0 (also called Python 3000 or py3k), a major, backwards-incompatible release, was released on 3 December 2008.
That's really slow adoption.
 
@CatPlusPlus WAY
@StackedCrooked Perl6 is slower
 
It's not that slow when you consider the scope
 
My boss is starting to really like python. I hope it will become the dominant scripting language. Currently we are using mostly perl, bash and Tcl.
 
11:21 PM
> scripting language
 
Is it not?
 
There's no such thing as scripting language
 
Googling "scripting language" returns 8.570.000 results..
 
Yes, and the first hit is wonderful article on Whatthepedia
> A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one-by-one by a human operator.
It's a completely useless term that has no basis in actual language theory
 
11:24 PM
@CatPlusPlus We need to crush him.
 
Or anything
Don't use it
It's stupid
 
@CatPlusPlus Dude.
 
There are embeddable implementations of C++ as well, FOR ~*/SCRIPTS/*~
 
Cut the pedantry.
 
That's not pedantry
It's not a minor detail, it's completely worthless terminology
Every language can be ~~scripting~~
 
11:26 PM
@StackedCrooked Tegardless of the name you give to the purpose to which you put the language, I agree with the sentiment of preferring Python to perl, bash or tcl.
 
Well, yes, that's obvious
 
@CatPlusPlus IMO, that's akin to arguing they're all equally as good because they're all Turing-Complete.
 
Seriously, Perl and bash?
 
yes, technically, it's true, but the reality is quite different
 
@JerryCoffin The name I give to the purpose to which I put the language?
 
11:26 PM
@DeadMG Eh?
Turing completeness is actual characteristic of a language, even if not very useful
Scriptiness doesn't exist
So there's that
 
@StackedCrooked Whether you call it "scripting" or refuse to use such "worthless terminology".
 
It's the same thing as with compiled/interpreted languages
 
suitability for use as a scripting language does exist as an actual characteristic
 
@JerryCoffin Ah, like that.
 
you could use C++ as a script but virtually nobody does and it's really not suited for that
 
11:29 PM
Except it wasn't used in context of actual embedding/scripting
So, in short
fuck you
 
@Zoidberg'--, It's a very good book you gave me there. I love how it explains everything so detailed but understandable to everyone. Did you learned from that?
 
There is a C++ interpreter I believe.
 
Goodnight
 
Night
 
user142019
@Jeffrey I did learn from that.
 
11:30 PM
@StackedCrooked Cling.
 
Yeah, and CINT.
 
user142019
It’s one of the very few OpenGL tutorials that aren’t shit.
 
I see
 
user142019
LLDB has a built-in C++ compiler/interpreter thing.
 
user142019
It lets you run C++ expressions during breakpoints.
 
11:31 PM
that's just Clang
 
@Zoidberg'-- GDB also allows you to do that. Albeit it only works 33% of the time.
 
Most of the tutorials says something like glLoadIdentity() is used to save the matrix, what I've always asked myself is "What the f**k does it even means?". Only after 1 year around the Internet I found someone mentioning the identity matrix, and then all came to me in a second. All those linear algebra lessons I took finally had a meaning.
 
even OGL deprecated the matrix stack
 
11:46 PM
 
I hear about "50 shades of gray" all the time on reddit, but never actually seen it mentioned in real life.
 
@Jeffrey you know, "identity matrix" -> glLoadIdentity()... it did ring a bell here
 
@sehe, I know I should have, but I didn't and people telling me that it means that we are "saving" a matrix was not of big help...
 
@StackedCrooked all those tabs...
@Jeffrey nope. bad tutorials are bad
 
11:51 PM
@sehe Not so many are they?
 
@StackedCrooked all on "what is a SL", "is X as SL"... :(
 
@Zoidberg'-- visual studio lets you alter code during breakpoints. (nothing that changes the stack though, for obvious reasons)
 
@sehe What's wrong with doing some research?
 
@Yakk No. I didn't say that. The result will be implementation defined. But whether the result is the same on different runs of the identical code in "identical situation" (Heisenberg?) is unspecifiedsehe 26 secs ago
@StackedCrooked What could possibly be wrong with it? You tell me :)
 
Xeo
@EtiennedeMartel lol'd
 
11:57 PM
@Xeo The face he makes at the end is the best.
 
user142019
Graphviz y u cross lines.
 

« first day (783 days earlier)      last day (4168 days later) »