« first day (1137 days earlier)      last day (3797 days later) » 

3:00 PM
@ThePhD please, see here
 
@ThePhD there are exceptions, when she won't
 
What's the most solid editor for C++ right now?
 
Finally, I'm done. That's the most fucked up equation I've ever implemented :|
 
3:02 PM
jesus fucking christ
I have bones everywhere.
2
 
user3010322
gedit :3c
 
fuck vim ;0
 
@DeadMG lol?
 
user3010322
@BenjaminGruenbaum CoughVisualStudioCough
 
Implementing algorithms is much easier for tuples which are implemented as nested pairs.
 
3:02 PM
Seriously? vim?
 
@BenjaminGruenbaum Emacs!
 
@BenjaminGruenbaum Sadly yes, they are serious:(
 
JBL
@BartoszKP Visual Studi... ! - oh sorry.
 
user1804599
@BenjaminGruenbaum ed.
 
@JBL :DD
 
3:03 PM
@ThePhD Does it have solid static analysis? I'd like something that can warn me I forget stupid shit.
 
user3010322
@BenjaminGruenbaum Yes, with clang static analysis tools. :3
 
@BenjaminGruenbaum Seriously? Seriously?
 
user3010322
There's a windows version that STL told me about, but I forgot the name. =[
 
I mean I think "Seriously?" is an outdated expression.
 
user3010322
(the windows version of valgrind, that is)
 
3:04 PM
teco
 
@StackedCrooked Sorry for not being fashionable -_-'
 
user3010322
I forget so many useful things.
 
JBL
@StackedCrooked Quick, let's mark it Deprecated.
 
Like, if in development an overflow could throw or be caught in compile time, or dangling pointers could be caught in compile time or cause an error in staging that'd be super awesome.
 
@MartinJames how is your splitting going?
 
user3010322
3:04 PM
@BenjaminGruenbaum Who needs to be fashionable when you can be FAAABULOOUS~
3
 
yay! ICE in VC++ Nov.2013 CTP
 
@Pawnguy7 Fine. Brain-dead stupidity removed:)
 
@Abyx I got a bunch of those :p
 
user3010322
@BenjaminGruenbaum The only simple tools I know do to that beforehand are clang-static-analysis, which is available as a standalone and as a plugin for VS 2013.
 
What about AppCode ?
@ThePhD thanks - I'll check it out
 
user3010322
3:05 PM
There's also vim shortcuts you can map to these things.
 
user3010322
So really, you want vim or VS 2013.
 
user3010322
Everything else is inferior.
 
@BartoszKP Et tu Brute?
 
@ThePhD I'm used to the VS shortcuts from C# - guess I'll try it first. Otherwise I'll probably try emacs. I'm just used to very clever IDEs.
 
@MartinJames does it wrap?
 
3:07 PM
I would use vim, but my DEC100 is broken and I can't get spares anymore.
 
user3010322
@BenjaminGruenbaum q_q emacs.
 
@ThePhD or vim :P I just used emacs more recently.
 
Mmm. Seems documentation is not Catch.hpp's strong point
 
@StackedCrooked Wirklich?
 
Haven't used VIM in years.
 
3:07 PM
@Pawnguy7 No, it still bounces off the walls, but that is as designed so far.
 
@ThePhD Valgrind is not static analysis.
 
@ThePhD I'm finding myself switching to vim from VS2013.
 
user3010322
@R.MartinhoFernandes It's as close as you get?
 
@BenjaminGruenbaum Then forget about it. C++ sucks.
 
I even tried with R# C++ beta
 
3:08 PM
@R.MartinhoFernandes :P
 
user3010322
@sehe Dat multithreaded watch, doe.
 
And with VisualAssist
 
JBL
@sehe I want iiiiit !
 
@sehe Did you try AppCode? Any luck?
 
@sehe And?
 
3:08 PM
@sehe How was it?
@sehe I found it quite ok. What are you having trouble with?
 
user3010322
@sehe Tell us your secrets!
 
@R.MartinhoFernandes I have to use it for working on a large C++ code base. I'm really not used to unmanaged languages (haven't used them for 'production' in over a year) and I don't want to mess things up too bad.
 
@R.MartinhoFernandes Frankly, I didn't notice any great improvements. I think it offered rename. I should probably spend a day in it, just to see whether intellisense became less extremely annoying.
 
hmm....
error C2782: 'std::string decompose(std::string,R (__thiscall T::* )(Args...))' : template parameter 'T' is ambiguous
util\decompose.h(110) : see declaration of 'decompose'
could be 'const main::<lambda_258a420a8fd4858210386604063868cb>'
or 'main::<lambda_258a420a8fd4858210386604063868cb>'
 
3:10 PM
MSVC/VA intellisense is just broken and never ever gets it right. Instead, it frequently forces the wrong thing even if you don't press Tab/Ctrl-space/Enter ever and it replaces your perfectly valid input with things from headers that aren't even included. It's really really annoying.
 
@BenjaminGruenbaum Still Mac only, AFAIK.
 
@R.MartinhoFernandes Yea, AppCode is just for Mac.
 
@sehe :( fuck.
 
@R.MartinhoFernandes I wasn't having trouble with R#C++, however, I didn't want to install it on my main workstation
@BenjaminGruenbaum That's without R#, just to be extra clear
 
@sehe I mean Catch.
 
3:11 PM
how do I differentiate between const and nonconst lambda? :E
 
@sehe I already have R#, is it bearable with it?
 
@BenjaminGruenbaum Do you have one of the C++ beta builds?
 
user3010322
@melak47 You can amek them different? o.0
 
@R.MartinhoFernandes Oh, catch: it's surprisingly good. I like the nested SECTIONs with "implicit" fixtures. Really removing the cruft from test cases
 
Officially R# doesn't support C++.
 
3:12 PM
I'm tempted to go to an editor like vim - I'd do it if it wasn't already a big existing code base.
 
@BenjaminGruenbaum Will report back later /cc @R.MartinhoFernandes
 
@sehe R# (for C#) is infamous for being quite the opposite, and I expect the same from the C++ version.
 
@R.MartinhoFernandes where can I get one?
 
@BenjaminGruenbaum You have to fill a form on their website.
 
We have a legal license for ReSharper already - we use it with C# and we're very satisfied.
 
3:12 PM
lol. Tell JetBrains
 
Thanks, I'll try to find it.
 
so... I may have broken the CI server...
 
> Piwik only works on Mysql, where all the development and testing is done.
> Supporting multiple databases is trickier than it sounds and requires much more testing, coding... therefore human resources, which are very limited.
 
It is awesome. But C++ is still in the works.
 
@R.MartinhoFernandes Its going to be tough to get the intellisense right though.
 
3:13 PM
you know
I never asked this question before
 
nope
 
So maybe switch completely? (also you're all terrible)
 
@DeadMG Yes. It's called VsVim
 
@GamesBrainiac Meh, I trust them. R# is just unbelievably good at it.
 
Xeo
@melak47 Define "const lambda" and "non-const lambda"
 
3:13 PM
but if I have a Base* that is NULL, and I static_cast it to a Derived*, does the Derived* have to also be NULL?
 
@Xeo how? where? :E
 
You mean, nullptr, surely.
And, yes, AFAIR.
 
Interesting question.
 
eh habit
 
Xeo
@melak47 That was meant to you.
 
3:14 PM
@DeadMG nope or it's UB
 
Xeo
What do you mean with those terms?
 
@R.MartinhoFernandes Well, I loved IntelliJ IDEA when I used Java. I use PyCharm for Python, and I also use R# for C# (I dabble), so yea I sorta trust them too :P
 
@R.MartinhoFernandes I agree. Intuitively, I would have to say that it should be. But that would imply branching because in the general case, I'd have to offset to get the Derived* from the Base*.
but offsetting from zero would not give zero back.
 
oh no, not branching
 
so you'd have to be like, b ? b - offset : nullptr;
 
3:16 PM
IMO the answer is not "yes".
 
> Thank you for your time submitting the subscription form! You are now subscribed to receive private ReSharper builds with C++ support. As soon as we have a private build that we expect to work in your development environment, we'll send you an e-mail with a link to that build.
 
But too lazy to GSQ.
 
JBL
> If the value of v is a null pointer value in the pointer case, the result is the null pointer value of type T.
 
wow, a friend of mine still uses windows vista
 
JBL
^From the standard. (5.2.7/4)
Then, compliance blah blah.
 
3:16 PM
@sehe how much time passed between when you subscribed and when you got the beta?
 
Comparing pointers of different types is undefined by definition @DeadMG
@BenjaminGruenbaum None. I happened upon it
 
@sehe No such thing in the code.
 
user3010322
Sehe's an early adopter.
 
@ArneMertz Yes, that was the point!
 
@sehe How would one like me happen upon it?
 
3:17 PM
I'm not. I'm an early lucky guy
@BenjaminGruenbaum I have no clue. I can't happen anyone on it for ethical reasons
 
@BenjaminGruenbaum For me, some months. But there were no builds at all when I subscribed. I suppose now it doesn't take as long, since they'll be churning out more usable builds.
 
    template <typename Lambda>
    int RegisterGlobalFunction(Lambda& f, std::string name)
    {
        int r = engine->RegisterGlobalFunction(decompose(name, &Lambda::operator()).c_str(), AS_::asSMethodPtr<sizeof(void (Lambda::*)())>::Convert(&Lambda::operator()), (AS_::asECallConvTypes)CallConv::Thiscall_global, &f);

        ASThrow(r);
        return r;
    }
 
@MartinJames Ah. What happens if you hit it straight on?
 
Xeo
@JBL That's dynamic_cast
 
user3010322
o________0
 
3:17 PM
@melak47 Good job breaking it hero
 
user3010322
@melak47 What are you doing to yourself?
 
@melak47 lolzors?
 
But just asking, why did Jetbrains take so long to jump into the C++ world? I mean it started all the way back in 2000.
 
@R.MartinhoFernandes :/ I hope I get it soon - I'd really like good static analysis and refactoring abilities (obviously). Thanks for the clang tip, I'll definitely get it and check.
 
Xeo
@melak47 BURN IT BEFORE IT SPREADS!
3
 
3:18 PM
@GamesBrainiac Because C++ is horrible.
 
JBL
@Xeo Oh fuck I misread. Thought Base to Derived, brain automagically corrected... (cc @DeadMG)
 
@Xeo ._.
 
user3010322
@GamesBrainiac C++ is a syntax abomination.
 
It's not just syntax
It's everything
 
user3010322
3:19 PM
@Xeo Hey, Hey Xeo. Imagine that AS was actionscript~
 
@R.MartinhoFernandes On the contrary, the more I see, I appreciate how much you can do with C++.
 
@GamesBrainiac Doesn't make it less horrible.
 
You can do anything with anything
C++ is still a piece of shit
 
user3010322
Most languages are turing complete.
 
the &Lambda::operator() says it's ambiguous, could be const lambda or not :/
 
Xeo
3:19 PM
> Otherwise, an expression e can be explicitly converted to a type T using a static_cast of the form static_cast<T>(e) if the declaration T t(e); is well-formed, for some invented temporary variable t (8.5). The effect of such an explicit conversion is the same as performing the declaration and initialization and then using the temporary variable as the result of the conversion.
 
user3010322
@melak47 Default to const?
 
Xeo
§5.2.9/4
 
@CatPlusPlus Theoretically ofcourse, but not practically.
 
@ThePhD but if it's not a stateless lambda...is it const? :E
 
3:20 PM
I mean, you would not be writing a high performance device driver with Python, now would you?
 
Xeo
@melak47 staaaaaahp
 
I would not be writing a high performance device driver
 
Oh gosh, that again.
 
@GamesBrainiac today I saw C++ code after not seeing it for a while, still struck me that when you call a method with int for example it can mutate them at the caller if it takes references.
 
I do not give a fuck about low level shitcode
 
3:20 PM
@Xeo no! everything except lambdas already works! ._.
 
Doesn't mean it's only doable with C++
 
Xeo
@melak47 lambdas are not special
 
JBL
Mmh, it may be in §5.2.9/11 then.
 
@Pawnguy7 As expected - it reverses course and subsequently just bounces off opposite walls. It's a very boring snake. I'll try and add some more functionality tonight, if I get a chance.
 
@BenjaminGruenbaum That is a sticky situation.
 
3:21 PM
How long, how long must we sing this song?
How long, how long?
'Cos tonight
We can be as one, tonight.
 
@CatPlusPlus True, but C++ I think makes a compromise that makes it fast enough for high performance tasks, and usable enough to be popular.
 
@Xeo the other overloads take function pointers or member function pointers and instance pointers
 
Language don't have- oh whatever fuck this
 
Xeo
> The null pointer value (4.10) is converted to the null pointer value of the destination type.
yeah
 
Usable enough to be popular isn't a good thing in itself.
Exhibit A: PHP
 
3:22 PM
@Xeo How many time sare you gna say that?
 
user3010322
@R.MartinhoFernandes I KNOW THIS SONG
 
user3010322
UM
 
user3010322
It's by that band with the handgrenade for a logo
 
user3010322
Bloody Sunday, I think?
 
Xeo
@R.MartinhoFernandes Exhibit B: JS
 
3:22 PM
I don't want to pass a lambda and a pointer to the lambda's operator() :(
 
Xeo
Exhibit C: AS
 
I need to find a way to make money that doesn't involve programming
 
Xeo
@GamesBrainiac I will not give up the fight.
 
@R.MartinhoFernandes I know. But what can replace C++? PHP can be easily replaced, but if you replace C++, what remains to take its place?
 
Nov 8 at 15:54, by R. Martinho Fernandes
Rule of thumb: if your design cares about lambdas, it's wrong.
 
3:23 PM
@R.MartinhoFernandes @everyone - thanks for the advice. I'll try the suggestions and let you know.
@GamesBrainiac rust
 
user3010322
:O
 
@GamesBrainiac Fortran
 
Exhibit D: XML, .... oh wait - not popular:)
 
user3010322
Someone thanking us?
 
@CatPlusPlus Its still alive?
 
user3010322
3:23 PM
Crazy.
 
@MartinJames Sadly it is.
 
Haskell, Go, Ada
Pascal
 
@GamesBrainiac What place?
 
Pascal? Really?
 
Even C
 
3:24 PM
@R.MartinhoFernandes Not in here much:)
 
user3010322
C <3
 
And probably a thousand other fucking languages
C++ is not special
 
user3010322
Embeddebedabble world <3
 
@R.MartinhoFernandes Making databases and high performance graphics engines.
 
It's not even good
 
3:24 PM
lol
 
It's just inexplicably popular for some reason
 
user3010322
@GamesBrainiac People have done that in Assembly. Come on now
 
What do databases have to do with it
 
user3010322
It's also been done in Java
 
user3010322
C#
 
user3010322
3:24 PM
C++/CLR
 
user3010322
Haskell has a graphics package
 
Databases are written in anything
 
@ThePhD a laughable one.
 
That is not relevant at all!
 
user3010322
3:25 PM
Most graphics APIs are in C anyways (see: OpenGL & friends)
 
user3010322
Win32 is C
 
@R.MartinhoFernandes but I want lambdas to work :/
 
user3010322
X11 is C.
 
user3010322
MesaGL drivers are C
 
user1804599
3:25 PM
What is this pointless debate.
 
I mean look, Web browsers are written in C++, The V8 engine is written in C++
 
Xeo
@melak47 Make function objects work.
 
D3D is COM, and that's closer to C++ than C.
 
JBL
We're talking about languages, not libs...
 
90% of Linux is in C
 
Xeo
3:26 PM
ZING! Lambdas work as a free bonus!
 
@MartinJames what kills you?
 
@GamesBrainiac [citation needed]
 
@GamesBrainiac So what?
 
Xeo
(Because they are not special in any way)
 
Firefox is written mostly in JavaScript
 
3:26 PM
@Xeo well, yes, lambdas function objects, whatever. that's what I'm trying to do :/
 
@CatPlusPlus (most) web browsers
 
@melak47 Rule still holds.
 
@GamesBrainiac [citation needed]
 
user3010322
 if (instance == nullptr)
{ //static member function..I hope
 
user3010322
^ I lol'd. xD
 
3:26 PM
@CatPlusPlus Oh? And so OdinMonkey is written in JS?
 
@Pawnguy7 Not much yet - colliding with my own tail.
 
OdinMonkey is not Firefox
 
@CatPlusPlus And what is a browser without its javascript engine?
 
user1804599
A good web browser.
 
@ThePhD I'm glad you're having fun ._.
 
3:27 PM
There exists software written in C++. Therefore, nothing can replace C++. QED.
 
@CatPlusPlus V8 is in C++, it's a very very strict subset though.
 
WHO CARES
So V8 is written in C++ so what
 
user1804599
V8 has a terrible API.
 
What does it prove
 
3:27 PM
Hint: nothing, beside that V8 is written in C++
 
@MartinJames Here is how I am thinking, though. If your tail is behind you, and you reverse direction...
 
@CatPlusPlus (Citation needed)
 
JBL
C++ is nice (no, don't sue me!)
 
Good job on finding that tautologies are, in fact, true
 
@R.MartinhoFernandes so how do I make function objects work? :(
 
3:28 PM
I would guess that V8's code doesn't make use of C++'s particular powerful abstraction functionality. (i.e. that you could replace it just fine with C)
 
@CatPlusPlus tautologies aren't always true :)
 
user3010322
@R.MartinhoFernandes I'd put 50 bucks on that.
 
Tautology is true by definition!
 
@Pawnguy7 Heh - the onCollision handler switch for 'own tail' just beeps ATM, it does not actually destroy the snake.
 
There are plenty of false tautologies like "a implies a"
 
3:29 PM
@R.MartinhoFernandes All I'm saying is that C++ is good, because it allows you to work with low level things, as well as high level data structures too.
 
@GamesBrainiac That's moving the goalposts vOv.
 
user1804599
You’re not.
 
@GamesBrainiac (It does both of those horribly; like most other fields, it endures because there's no popular alternative, because it has momentum)
 
If it's not true then it's not a tautology
 
@GamesBrainiac Just because you can do something with X doesn't mean X is good at doing that something.
@CatPlusPlus now that's a tautology
 
3:30 PM
@GamesBrainiac That doesn't prove anything
 
@BenjaminGruenbaum I agree. But think about it, low level is annoying enough as it is. It would be a difficult language because you would need to make tough compromises
 
Let's start with how low level is not fucking necessary
 
This discussion is awesome. Anyway, thanks for the editor advice - I'll check things out.
 
Yeah I don't really care for this
 
Same reason JS endures on the Web.
 
3:31 PM
@CatPlusPlus Oh? And why is that?
 
@ThePhD you said default to const...but where do I put the const? :E
 
@MartinJames so such an event will be fatal under normal play?
 
@melak47 I don't know. I don't think you can unless you decide to pick a subset. (I would just toss AS)
 
I really need to stop being a programmer forever
I don't want to deal with this
ugh
 
You really don't
 
3:33 PM
@R.MartinhoFernandes I think it would work fine, if it wasn't for the const/nonconst ambiguity
 
@melak47 ?
Are you talking about &T::operator()? Ugh :(
 
@CatPlusPlus well, you are polish, so building it is
 
user3010322
Hee.
 
@R.MartinhoFernandes yeah
23 mins ago, by melak47
hmm....
error C2782: 'std::string decompose(std::string,R (__thiscall T::* )(Args...))' : template parameter 'T' is ambiguous
util\decompose.h(110) : see declaration of 'decompose'
could be 'const main::<lambda_258a420a8fd4858210386604063868cb>'
or 'main::<lambda_258a420a8fd4858210386604063868cb>'
 
@Pawnguy7 Dunno, not sure. Should I allow snake-reversals by the user keys? As for the walls, I'm thinking of making them wrap round, asteroids-style, so that the snake emerges from the opposite wall.
 
3:34 PM
@melak47 Well, then this definitely won't work fine unless you pick a subset.
(Hint: that subset will quickly become irrelevant in C++14)
 
the lambda type is ambiguous - why? :/
 
@melak47 Sounds like a bug in the compiler.
 
Schrödinger constness - my lambda is both const and nonconst at the same time!
 
user3010322
Strange that it's generating one const function, one non-const function
 
btw, when is Jetbrains C++ IDE coming out, any news of a date?
 
3:36 PM
No.
 
user3010322
Lol.
 
@R.MartinhoFernandes what do you mean by pick a subset?
 
@melak47 I mean that you can only make a few function objects work.
 
@DeadMG I am still not sure why my current AI doesn't work. I made it a bit better than it was before, though, by only taking the value of the best path.
I did figure out, though, that this does make them choose to wrap around.
 
3:38 PM
@Pawnguy7 what does your AI do?
 
@BenjaminGruenbaum for a snake clone
 
Now I want to Cantor's-diagonal-prove that you cannot make more function objects work than those that don't work.
 
@Pawnguy7 How are you approaching it? As a search problem or as a planning problem?
 
@BenjaminGruenbaum How would you define planning problem?
 
Ell
afternoon
 
3:39 PM
can I even specify constness on a lambda? :/
 
@R.MartinhoFernandes Just asking, what language do you think is the most practical and usable right now?
 
Defaults to const, [] mutable {} makes it non-const.
 
where does the const go? []() const {} doesn't work :/
 
@Pawnguy7 In search you get the state and tell it what the successor. In planning you get the whole information and manage state completely yourself.
 
3:40 PM
@R.MartinhoFernandes oh, alright.
mutable lambda makes the ambiguity go away. whee.
 
@Pawnguy7 solving that by writing a heuristic for A* search that says "go eat the closest dot" (probably not consistent, but admissible) is solving it from a search perspective. Writing a loop that iterates through the turns and keeps internal state about how to go about solving it is approaching it from a planning perspective.
 
Wheeeeeeeeee!
 
user3010322
@melak47 Why not just make it so there's a const variant for the arguments?
 
user3010322
So everyone and their mother doesn't have to make mutable lambdas?
 
3:42 PM
@Pawnguy7 Although searching is hard since you have no idea where the next dot will appear. Have you considered something like expectimax with a rather small depth (like 6)? That might work nicely here.
 
@melak47 struct foo { void operator()() const; void operator()(); }; is perfectly valid vOv (but no lambdas are not supposed to be generated like this)
 
@ThePhD where'd you put the const? I tried taking a const Lambda&, that didn't help :/
 
Why not forget about the damn lambdas Q_Q
 
@R.MartinhoFernandes but it says the lambda is const, not the operator() :/
 
user3010322
No
 
user3010322
3:43 PM
I'm not saying change it on hte lambda
 
user3010322
For the Static Function Pointer argument (in your stuff.cpp)
 
user3010322
Or member function poitner, whatever
 
user3010322
Make a second function exactly like it that handles a const variant
 
@melak47 A different operator is called depending on the type of the lambda.
 
@ThePhD I tried int RegisterGlobalFunction(const Lambda& f, std::string name)
 
user3010322
3:44 PM
Nooo
 
user3010322
template <typename R, typename T, typename... Args>
int RegisterGlobalFunction(R(T::*mfptr)(Args...), std::string name, T* instance = nullptr, CallConv callconv = CallConv::Thiscall_global)
{
 
user3010322
^ There
 
user3010322
const R(T::*mfptr)(Args...)
 
wha? that is not getting called for lambdas
 
user3010322
3:44 PM
Or something
 
user3010322
Well, make it get called for Lambdas
 
user3010322
So you don't have to do this for yourself
 
user3010322
Lambdas are not special. Give your second function the instance and the pointer.
 
I'll just wait outside until you stop talking about lambdas.
 
@ThePhD also, that makes the R const, does it not? :/
 
3:45 PM
@R.MartinhoFernandes Kerbal?
 
user3010322
I forget the correct syntax.
 
lets play a game of where does the const go :D
 
user3010322
Much like this:
 
user3010322
		template <typename T, void (T::* TFunc)(Tn...)>
		void Add(T* object) {
			TCallback c = DeduceCallback(TFunc).template Bind<TFunc>(object);
			invocations.push_back(c);
		}

		template <typename T, void (T::* TFunc)(Tn...) const>
		void Add(T& object) {
			Add<T, TFunc>(&object);
		}
 
user3010322
You need a const variant
 
user3010322
3:47 PM
For any function object
 
room topic changed to Lounge<C++>: The Silence of the Lambdas [c++] [c++11] [c++1y] [no-monday] [no-questions]
12
@ThePhD s/any/some/
 
@R.MartinhoFernandes LOL!
 
user3010322
In your case, the syntax would look like...
 
@ThePhD but if I do that for the mfptr overload, I can only take const member function pointers :E
 
Did I mention your idea of what lambdas are is about to become quite retrograde and limiting?
 
@R.MartinhoFernandes how so?
 
I just wanna be able to bind a thing with an operator() :E
 
Xeo
room topic changed to Lounge<C++>: The Silence of the Lambdas [c++] [c++11] [c++1y] [no-lambdas] [no-questions]
 
lol
 
user3010322
MAKE. TWO. D:<
 
3:49 PM
I wonder if we would have to keep repeating the "lambdas are not special" mantra if we had poλys from the start.
 
oh. :D
 
I'll try :E
 
Xeo
Whatever the Derpstorm or melak are doing, I have a feeling it's not for the better of the world.
 
3:50 PM
Is AngelScript open-source?
 
why the fuck would any sane person deal with FPs and MFPs now.
much better to just use functors.
 
user3010322
:c I yelled. I feel bad now.
 
user3010322
Sorry. u.u
 
@R.MartinhoFernandes in what way would lambdas be special?
 
user3010322
@DeadMG AngelScript can't handle it.
 
3:51 PM
This is how it works now, more or less.
Higher scores are better.
 
@ThePhD Then fuck AngelScript.
 
@ArneMertz They wouldn't. But I guess people would not be having any misleading successes in their misguided attempts to "design for lambdas", and so there would be no need to guide them back down the right path.
 
For each direction, it branches out and returns the value of the best path.
Then picks the highest path.
 
@ThePhD it's still ambiguous! :@
1> could be 'const main::<lambda_075c3261515b92175c1ca73dafd01875>'
1> or 'main::<lambda_075c3261515b92175c1ca73dafd01875>'
 
user3010322
Table-flip.
 
3:52 PM
Or maybe they would do even crazier shenanigans and everything would be worse.
 
@R.MartinhoFernandes ok, in what way would people think lambdas are special?
 
Xeo
@ArneMertz In the same way they right now, right here in this room at this very moment think they are special. :<
 
@ArneMertz I don't know. But you see a lot of questions on SO about people wanting to "support lambdas".
 
@ThePhD it's ambiguous in the const variation of the function. :/
 
user3010322
@melak47 AngelScript's function is ambigious?
 
3:54 PM
@BenjaminGruenbaum if the current attempt fails, my next plan was to use A*. If a path exists, take it, otherwise, do whatever allows you to survive the longest.
 
user3010322
.... AngelScript didn't anticipate const being something that would be nice to have on their fucking interface?
 
@melak47 It's a compiler bug. You're fucked.
(Also, haha, I actually like this bug)
 
user3010322
@melak47 Do you have the code sitting anywhere? I could try to compile it myself and fix it. :c
 
Xeo
@R.MartinhoFernandes Now imagine if it wasn't a bug, but a feature against those that try to treat lambdas specially! :D
 
@R.MartinhoFernandes :((
@R.MartinhoFernandes why, because it makes me sad? :(
 
3:56 PM
It's like writing int add(int x, int y); and then asking for an overload that takes parameters as hexadecimal.
There, I think I finally captured why it feels so wrong to me.
 
@R.MartinhoFernandes I guess it's just that people are not used to them yet. They think it has to be something special about them, so they have to treat them special. Some people as well think operators are something special in a way beyond "functions with syntactic sugar and predefined precedence".
 
@ThePhD I'll dump it on github
@Xeo I'm not separating out lambdas! I just want function objects to work :p
 
Xeo
@DeadMG IRTA "I have boners everywhere."
 
@melak47 And lambdas in your implementation are bugged, and they show exactly why you cannot possibly make it work except for a certain small set of function objects.
 
@R.MartinhoFernandes shhh
 

« first day (1137 days earlier)      last day (3797 days later) »