« first day (829 days earlier)      last day (4345 days later) » 

11:00
@Zoidberg How can you implement optional protocol methods without exposing it in your public API? eg in class extensions and shit
@R.MartinhoFernandes all the other 'swearing' characters are existing punctuation, common to all, yet the swirly thing seems to be very random
@kbok ... that sounds wrong
@thecoshman Are they all?
user142019
@kbok Implement them? Just do this:
@Xeo I trimmed the fat off the previous example.
@thecoshman I'm just trying to setup a dependency barrier. That's very common
It goes like this:
11:01
@kbok Ha, I remembered there was someone here that recently got working with Objective-C and then... I remembered that was you.
user142019
// in .m file

@interface MyClass() <MyProtocol> // anonyomous category
// this can be empty
@end

@implementation MyClass

// implement methods here

@end
@Zoidberg Yeah, this doesn't work
user142019
Define "doesn't work".
@R.MartinhoFernandes I can't think of any that aren't... well perhaps the skull and cross bones isn't a normal punctuation. not sure if it is a unicode character though
this is what I did actually
user142019
11:02
#included the header file containing the protocol?
@R.MartinhoFernandes til
user142019
@kbok What errors did you get?
user142019
lol
11:03
still, if we have pictures like that in unicode, why not swirl thing
and don't even go there @Zoid
Dude I just found out Windows+F opens a file manager on Xubuntu and Windows+T opens a console, now I can die a happy man!
user142019
My file manager is Z shell.
@FredOverflow Latter opens the trash. I use Ctrl+Alt+T, which I think is a Gnome thing?
user142019
@kbok gimme code and errors.
Xeo
Xeo
@FredOverflow Err...
user142019
11:05
Xeo
Xeo
@FredOverflow I remapped Win+Q to console. Couldn't you have done something like that anyways?
@Zoidberg this is how it works
@Zoidberg Oh, wait, it's good
@Zoidberg bleh
user142019
@kbok cool.
11:05
Thanks :)
Xeo
Xeo
Hmm... I can only imagine llvm linking for so frigging long... it's keeping RAM full.
@Xeo I have no idea, I'm a Linux noob.
Xeo
Xeo
Even more so than me?
user142019
@kbok Also note that the order of declaration of methods is not significant anymore since Objective-C 3.0, so there is no need to predeclare private methods in private categories anymore (you only need private categories for private protocol conformance specifications).
@FredOverflow you've been missing out
11:07
@Xeo The most advanced thing I have done in Linux is top and kill ;)
Xeo
Xeo
heh
@Zoidberg noted, thanks
@Zoidberg I use it for retaining ivars also
@FredOverflow htop is a much better tool the top
user142019
@kbok ahye. Forgot about that. (Though I always use properties except for non-primitive-and-non-Objective-C objects.)
using screen as other users is a pain to get right
user142019
11:12
Properties also go there. But there is no need to put methods in there anymore. xD
user142019
Also @synthesize is redundant now, thank God.
yup
Xeo
Xeo
@thecoshman bash: htop: command not found :(
@Xeo sudo apt-get install htop
user142019
@sehe do you know, by accident, how I can create the empty tree (not with a commit or anything; just the tree) in Git?
Xeo
Xeo
11:14
CentOS
yum search htop yielded nothing. :(
Google
@Zoidberg I don't think that makes sense for git
lol
> sum of digits in 123456789 is 9
gg
Xeo
Xeo
@kbok wat
user142019
I need to associate the empty tree with a commit I make in Perl, but the library I use has no methods to create it.
user142019
It demands at least one tree entry.
11:15
I just read the crap Q martinho posted.
@kbok yes... well... if you keep going 1+2+3+4+5+6+7+8+9 = 45, 4+5=9
@Xeo Fixing the code to be C++03 compatible and running the compilers in C++03 mode doesn't change a thing.
Xeo
Xeo
Eh
Then, have I misunderstood how SFINAE is supposed to happen?
Even with GCC 4.6. Are we dumb?
Xeo
Xeo
No idea. A question thrown into #llvm didn't yield an answer yet. :(
user142019
11:17
@sehe nevermind, I have it already.
@thecoshman Yeah. The answer is badly explained
user142019
Git::Raw::Tree->lookup($repo, `git hash-object -t tree /dev/null`); :P
ewww, looks like PHP
Looking at my type traits I clearly have some primary templates that are defined empty, rather than left undefined.
Xeo
Xeo
I is confuzzled.
11:19
template<typename Signature, bool Invokable>
struct result_type_impl {};
Smoking gun right here.
user142019
FUUCK.
@kbok it's a bad question.
Everything sucks.
user142019
Git::Raw::Tree->lookup fails when it's passed the hash of the empty tree. ;_;
Xeo
Xeo
Ah, finally, Clang is done
11:22
Quick, help me! :p
Xeo
Xeo
wut?
My Clang is ancient. Probably. I have a clang++ but no clang so I don't know what's going on.
Xeo
Xeo
I tested the undefined trait code with clang-bot on #llvm, it compiled. :(
[11:46:16] <Xeo> clang-bot -c { foo(42); } template<class T> struct wat; template<class T> typename wat<T>::type foo(T){ return 0; } void foo(double){}
[11:46:18] <clang-bot> Success
@kbok lol, it was completely butchered to be something else entirely...
Yeah, still, both versions suck
> To find the sum of the digits of a number till the sum is less than 10.e.g-12345 answer should be 6
11:27
@LucDanton One is just a sym (or hard) link to the other.
@DeadMG There's no other, is the point.
Xeo
Xeo
@DeadMG clang++ -> clang
I.e. no idea how I 'installed' that.
@LucDanton Easy enough to create it, is my point.
@DeadMG What, you think I need clang?
u stoopid
11:28
dunno, do you?
No duh.
screen -dms myScreen Command should start up a screen that is detached and have it run 'Command' and allow me to later attach the screen 'myScreen'... right?
Xeo
Xeo
@LucDanton What does ls -l `which clang++` tell you?
user142019
dfsdfs
@Zoidberg sfigve
11:29
@Xeo There are also my ccache symlinks for the GCC snapshot.
user142019
Git::Raw y u no load empty tree.
@thecoshman In general, screen -S name -d -- command is better.
@R.MartinhoFernandes what's the '--' do?
stop reading parameters?
I did have this set up, so that I could start up a screen and send commands to it with out ever attaching it manually, but then I messed up init scripts and rage-reinstalled OS
Hmm, maybe screen doesn't need that.
Usually -- means "from now on, whatever looks like flags is not yours"
I didn't see it in the man page
11:42
I need one of those emotes that shrug.
:( fileformat.info/info/unicode/char/43E9/index.htm Best single-character thing I could find.
A valiant attempt. I thank you for it.
However, it's a 2-for-1 deal: you can both shrug the shoulders and the ribs.
¯\_(ツ)_/¯
Time to write a commit message.
What is that smiley?
11:43
@R.MartinhoFernandes i dunno lol ¯\_(ツ)_/¯
Ok, not a smiley.
Not that it would stop anyone.
btw
is there a Committee mailing every month?
@DeadMG Twice a year.
@R.MartinhoFernandes Oh I didn't realise what you were asking for lol sorry.
hmm
I think I missed my window then
oh well
11:46
Well, not twice, four times. There are two meetings, and there are mailings for before and after each meeting.
still not sure if submitting them would be worth having to put my real name on them
could you suggest me any good source to learn c++ i know core or basic c++ ...
2041
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are released every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a good C++ book...

Xeo
Xeo
grrr
IME
saying you know "core C++" almost certainly means you know nothing at all.
Xeo
Xeo
11:55
program, y u no find libc++.so.1 when it's in /usr/lib
which is pretty much nothing, as far as C++ goes.
That's what I said, right?
right
@R.MartinhoFernandes thankyou
Xeo
Xeo
11:57
robot. halp. :(
Xeo
Xeo
2 mins ago, by Xeo
program, y u no find libc++.so.1 when it's in /usr/lib
ldconfig -p | grep libc++
Xeo
Xeo
Nothing, but ldconfig -p told me that every other lib is in /usr/lib64 :)
With the symlinks there, it works. Thanks.
I don't think that's necessarily the appropriate fix though. I would have tried ldconfig first.
12:03
@thecoshman dafuq?
Xeo
Xeo
@LucDanton It has always worked with symlinks before, so shrug (I have a good shrug emote on my mIRC alias list at home, I need to copy that...)
hm... crap, segfault when throwing.. I think I need some abi lib...
Neat, fixing my tuple_element/TupleElement fixes moar stuff. That I don't care about.
@Zoidberg didn't you ask about that recently?
user142019
Nope.
user142019
I just was surprised it was possible to do an empty commit.
12:08
git cat-file -t 4b825dc642cb6eb9a060e54bf8d69288fbee4904
git ls-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
@Zoidberg The point is, the empty tree always "exists"
@R.MartinhoFernandes s/Hunger/Hungar/
Xeo
Xeo
3 hours ago, by R. Martinho Fernandes
@thecoshman "Ich bin Hunger. Ich nehme ..." and then I'd name some food. I am awesome.
"bin"?
Sigh.
Yes, I am that hungry.
Xeo
Xeo
lol
Either "Ich habe Hunger" or "Ich bin hungrig"
Really?
Xeo
Xeo
12:14
Yes
Xeo
Xeo
"I have hunger" or "I am hungry" - it's the same, isn't it?
~_~ I'm starting to hate working with old OS
$ yum install cmake -- $ some cmake command -- minimum version required: 2.8, you have: 2.6.4
@Xeo What about "Lie das Transkript"?
Is that irregular?
12:17
@Xeo He bins hunger, obviously. He's that awesome
Xeo
Xeo
@R.MartinhoFernandes s/Lie/Lies/
@R.MartinhoFernandes I'm working from memory tbh.
@LucDanton Lese?
Xeo
Xeo
I wonder how you got from "lesen" to "lie".
12:18
Imperativ.
@LucDanton The robot is working form solid state
Xeo
Xeo
@R.MartinhoFernandes Aye, but just dropping the "s"?
@sehe Apparently not.
@Xeo Isn't it grab the present tense second person and drop -st?
@R.MartinhoFernandes There's a change in radical, which is a big hint.
Xeo
Xeo
12:20
@R.MartinhoFernandes No idea about the grammatical rules behind it. :) But I don't think it works like that for words that contain an 's' at that point.
Wiktionary says it's a 'class 5 strong' verb. I like the ominousness.
So, I have tried to use the undocumented Microsoft CRT thread call back to initialize stuff. One of the initialized things is std::conditional_variable.
It turns out that the condvar is implemented through some stuff that creates threads and waits for them to be initialized.
But because the thread call back is running under Ldr lock locked, it deadlocks.
FML.
user142019
@sehe Also on disk?
user142019
Because Git::Raw can't find it when I give that tree's ID. :(
Xeo
Xeo
12:37
Graaaaaa
Error: Package: cmake-2.8.9-5.ram1.x86_64 (/cmake-2.8.9-5.ram1.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
-----
$ ldconfig -p | grep c++
	libstdc++.so.6 (libc6,x86-64) => /usr/lib64/libstdc++.so.6
:|
So, I have libstdc++.so.6, but the yum says I don't. Fffff.....
@Xeo :D
Xeo
Xeo
Well, it might have to do with the fact that I got the wrong package. Damn. Seems I need to build cmake from source after all ~_~
do you need cmake to build cmake?
I remember something like that with qmake when I built Qt for VS 2012 >_>
Xeo
Xeo
Oooh, nvm, there's a cmake 2.8 package on a testing repo it seems...
IT WORKSES!
lucky you
Xeo
Xeo
12:53
Well, the cmake part atleast
Now I just need to coerce libc++ into working.
Xeo
Xeo
The fuck
@TonyTheLion I didn't know you were a monk
:)
they need never know

« first day (829 days earlier)      last day (4345 days later) »