« first day (1287 days earlier)      last day (3663 days later) » 

6:05 AM
Hi
Just a question.
 
user1804599
@Mysticial Who would bin porn? :(
 
user1804599
What a moron.
 
user1804599
> Please forgive any format errors since I am new to this site.
 
user1804599
Another moron. It’s the simplest thing ever.
 
user1804599
6:19 AM
Maybe people should put some effort into creating posts.
 
user1804599
Why are there so many morons. ;_;
 
newbs are not necessary morons, some of them they just don't know the rules
 
user1804599
ahhhhhhhhhhhhhhhhh — Mallanaga 14 secs ago
 
user1804599
lol
 
user1804599
@telkitty.exe When I was a noob, I could format my posts just fine, because I RTFM.
 
6:45 AM
I am looking at this online questionaire: have you ever been bullied?
I am sure there were plenty of people trying to bully me
But I don't feel I was ever bullied (workplaces are exceptions)?
 
Xeo
@Rapptz hehehe
void sucks
Unit-type ftw
> Good compiler just should warn you:

warning C4172: returning address of local variable or temporary
ahaha, 'good compiler'
 
@Xeo literally
 
7:03 AM
Needs a few static asserts on the various assumed sizes of long long and double. Also, I think it's only defined behaviour if you use (char*), instead of (void*). (Also, in the case of Undefined Behaviour, the compiler can, and should, optimize it all away (and return indeterminate values), since the job of the compiler is to implement the language specification and generate optimal code. No code is optimal code :/) — sehe 31 secs ago
@JerryCoffin Welcome :)
@Mysticial was it any good?
 
@sehe Go to the bin and judge for yourself.
 
removed
 
yeah it's been permaremoved
 
by whom?
 
some mod
 
7:10 AM
@Rapptz Room owners can still see if it.
 
I can't
oh now I can
weird, it's back
they were 100% gone a few hours ago (i.e. no (removed) message)
 
You can't from the transcript.
 
maybe I accessed it from the transcript
 
Xeo
The transcript has no deleted messages
 
user1804599
@StackedCrooked lol
 
user1804599
7:22 AM
@Xeo You occurred in my dream last night, lol.
 
user1804599
We were dining with a bunch of other people and listening to Celldweller. :v
 
Xeo
Sounds good
You should come to the Unconference and we could do just that.
 
why the heck did my eclipse update sites keeping on disappearing??
 
user1804599
My dreams could come true!
 
@Mysticial I'm at work :) Also, I assume it has been flagged and consequently removed
 
7:29 AM
morning
 
user1804599
@TonyTheLion hoi.
 
Hoe gaat het?
 
user1804599
Beter dan ooit. :D
 
user1804599
Today is a wonderful day.
 
It is, only that I got to bed after 2 am last night, which makes me a bit tired
 
7:43 AM
wuss!
 
Is there a fundamental difference between dynamic libraries and static libraries?
Can one be converted to the other. Can you link a dynamic library statically? Or vice versa?
 
JBL
Good morning!
 
morning
 
Xeo
@rightfold Of course, it's Friday after all!
 
@rightfold today you will be fried
 
user1804599
7:52 AM
@Xeo Oh, right. Nice. :)
 
8:05 AM
@sehe nope, still here.
And not actively involved anymore with MinGW-w64
 
oh shit
GCC 4.9.0 added std::make_unique so now all my make_unique calls are ambiguous
4
 
In ubuntu num-lock is not enabled by default.
 
user1804599
Neither in Gentoo.
 
user1804599
I never used numpad anyway.
 
user1804599
I wish my keyboard lacked it; more space for my mouse.
 
8:14 AM
@Rapptz why is it ambiguous?
 
template arguments are greedy
 
Btw, in QtCreator the refactoring tool is very dumb, which is useful. For example you can "rename" make_unique to std::make_unique and it won't complain.
 
user1804599
Just use sed.
 
lol
I put it in a detail:: namespace
 
user1804599
namespace detail {
    using namespace std;
}
 
user1804599
8:15 AM
Problem solved!
 
thanks for saving the day
 
user1804599
> ubergeekkiller saved the world
 
user1804599
 
user1804599
^ yum
 
error: invalid new-expression of abstract class type 'sol::member_function<f, int>'
         return { new T(std::forward<Ts>(ts)...) };
                                                 ^
what
the class isn't even abstract
 
user1804599
8:19 AM
@Rapptz It is. The Internet says so.
 
thanks @LightnessRacesinOrbit
 
Hm.. I think I found a bug in GCC.
 
user1804599
<- $ without indentation is so much better than $ -> with indentation.
 
8:36 AM
is this a bug?
or am I missing something
clang doesn't compile it either :s
 
you are not overloading base::test
you are creating a whole new templated member function
 
:v I guess technically I am
I wish it'd work without the dummy parameter
 
templates cannot be virtual
 
Xeo
@Rapptz psst: override exists for a good reason
 
87
A: Can a member function template be virtual?

sbiTemplates are all about the compiler generating code at compile-time. Virtual functions are all about the run-time system figuring out which function to call at run-time. Once the run-time system figured out it would need to call a templatized virtual function, compilation is all done and the c...

 
Xeo
8:44 AM
@Rapptz You need to specialise the whole class
2 hours ago, by Xeo
void sucks
 
yeah I'll pass
 
Xeo
Dealing with it is really annoying
 
I'll just tack _impl to the end of it
and then delegate it and call it a day
 
Xeo
that you can do
you don't even need SFINAE here
 
stupid void
 
Xeo
8:45 AM
it's the wrong tool
 
well
I didn't want to do tag dispatch
 
Xeo
that's the right tool here, though
 
cause I thought I didn't need to tack the _impl thing but meh, dummy parameters etc
Yeah it's my only sane option now :v
 
user1804599
template<typename T> struct t_ { using type = T; };
template<> struct t_<void> { using type = std::tuple<>; };
template<typename T> t = typename t_<T>::type;
 
user1804599
Now use t<T> everywhere!
 
Xeo
8:48 AM
Oh yeah, also
return { ... }; is a big nono for std::unique_ptr
 
I did that in a hurry
It's not like that in real code
 
Xeo
well, it doesn't compile
 
I know
I just wanted to show the other error
:v
@Xeo It's a habit by now though
so I only change it if it doesn't compile
 
user1804599
I never use return { ... };.
 
Xeo
@Rapptz yeah
It really sucks that it doesn't work for explicit ctors
@rightfold I use it when I can
so neat
 
8:50 AM
@rightfold saves on monstrous amount of typing wrt templates.
 
user1804599
I'm not very familiar with the whole braces thing, hence.
 
user1804599
I never use T{ ... } either unless I want to use an initialiser list.
 
user1804599
Also C++ y u no designated initialisers. :(
 
I forgot how fucky member function pointer calling syntax is
 
Xeo
@Rapptz std::mem_fn(mfp)(args...) :D
 
8:54 AM
lol including <functional> just for that :v
I'm still self-conscious about includes
 
Xeo
Well, if they gave us std::invoke...
 
it'd be in <functional>
 
Xeo
<functional> is cool
 
still don't get how std::reference_wrapper belongs in <functional>. Should have been in <utility>.
@Xeo yeah but it's the 2nd biggest header!
in libstdc++
 
Xeo
@Rapptz it's used with std::bind mainly, so yeah.
 
8:58 AM
@Rapptz Because it's functional. :D
 
user1804599
> ninja: error: 'static/js/app/.#primary-navigation.ls', needed by 'build/static/js/app/.#primary-navigation.ls.js', missing and no known rule to make it
 
user1804599
lol fuck you Emacs.
 
error: must use '.*' or '->*' to call pointer-to-member function in '((sol::member_function<f, int, int>*)this)->sol::member_function<f, int, int>::func (...)', e.g. '(... ->* ((sol::member_function<f, int, int>*)this)->sol::member_function<f, int, int>::func) (...)'
         return c->*func(std::get<Indices>(args)...);
                 ^
I've... tried everything
man
 
@Rapptz You didn't. return (c->*func)(std::get<Indices>(args)...);
 
I already fixed it
 
user1804599
9:03 AM
f = (.x) compiles to var f = function(it) { return it.x; }.
 
user1804599
omg why does F# not have this.
 
Xeo
member access section?
 
user1804599
Yes. :3
 
user1804599
Sections. <3
 
Xeo
What about (it.)? :P
 
user1804599
9:04 AM
var f;
f = function(it){
  return x[it];
};
 
user1804599
Compiles to this. :P
 
@Jefffrey you mean "override" and are you sure?
@Xeo coliru.stacked-crooked.com/a/d9cbf26240261c32 No complaints about override, though...
 
@LightnessRacesinOrbit yes and yes
for the very simple fact that base::test is virtual and derived::test is a template
 
I forget why I need the dummy parameter
I think it's because it's not a dependent typename
It's 5 AM, I should probably sleep
 
Xeo
SFINAE only works on deduction, and no deduction happens without a template
 
user1804599
9:08 AM
items |> filter (.title |> /^[a-z]+$/.test(_)) <3
 
I just rebuilt GCC. But I forgot to pull from remote.
 
Xeo
Time to rebuild again!
 
@Xeo Not all of it, though. You can just make a mixin for this one function.
 
Xeo
@R.MartinhoFernandes sure
 
9:25 AM
also, is it "./output_files/error_log.csv" or ".//output_files//error_log.csv" — forest.peterson 9 hours ago
 
user1804599
Hmm.
 
user1804599
I can use /^[a-z]+$/~test instead of /^[a-z]+$/.test(_).
 
Xeo
9:46 AM
Hm. It seems like full return-type deduction doesn't cause SFINAE with Clang
 
lo
 
@R.MartinhoFernandes unencrypted?
 
Hi
 
@BartekBanachewicz No?
 
9:58 AM
@BartekBanachewicz Where would you put the decryption key?
 
@LightnessRacesinOrbit the decryption key is a hash of a password you remember
> If you have query ,First search on google. If not found, then only ask your query and Try to elaborate as best as you can, Use pastie.org for long code, catch us on facebook
we should have that ^ as our tagline totally
 

« first day (1287 days earlier)      last day (3663 days later) »