« first day (876 days earlier)      last day (4079 days later) » 

6:00 PM
some more of money has gone towards my sisters 21st Birthday present
 
Ell
okay even more gross: Addr = addr.addr ? *addr.addr : sockaddr();
 
@Ell you should feel bad.
 
Ell
I should use optional :3
but so much effort on windows
 
I mean wtf
 
Ugh, Internets the slows.
 
WTF can't even SSH properly.
 
Ell
@rubenvb it checks for null at least...right? :P
 
user1182183
Well I won't complain about coliru :P
 
@Ell that's one part of why you should feel bad.
 
Ell
@rubenvb it's better than not checking for null :P
 
user1182183
6:04 PM
Where are the stars for longest domain name ever? :P
 
@TonyTheLion have you been connected to mumble for ... like > 24 hours?
 
@R.MartinhoFernandes ooh, I've been there, sucks balls
 
@sehe I leave my computer on at night, and I didn't close down mumble last night
 
@sehe He was looking for some latenight wubs. <3
template specializations and partial specializations must be visible to the TU for the TU to use them, right?
 
@TonyTheLion haha:
 
6:06 PM
@Ell not in my book. Redesigning teh codez will get rid of uninitialized stuff.
 
Ell
@rubenvb Yeah. it's a quick slap on thing atm
 
That explains how you come up as 'abandoned connection'. The start of the connection isn't in the current logfile anymore, which mean I can't find the user name
 
Lol
Go me, low-occupancy resident!
 
Xeo
@ThePhD Yes
 
@ThePhD Me too
 
Xeo
6:07 PM
Hm. I was thinking about joining you guys on mumble, but I'm too sleepy after all.
 
@Xeo Oh. so I can't compile my template specializations or export them, they just have to be visible.
 
Xeo
@ThePhD export templates are something else still, I think
And you can always explicitly instantiate them
 
Well, in this case it's a template function.
 
user1182183
you guys would only complain when I would join so I don't even bother finding out the addr :P
 
It's not calling the right one, despite me having a template specialization present.
 
6:09 PM
Moar people on Mumble, plx.
 
@DomagojPandža We made Etienne clean because he was so bored with us. :D
 
Ell
Eh. Unresolved external symbol. Why. why. why.
 
where's the link to the thing where it says where the mumble is going on
 
loungecpp.sehe.nl@default-port
 
@Ell the compiler/linker is punishing you for your sins :3
 
6:11 PM
@Xeo what? :(
 
Xeo
@R.MartinhoFernandes I hope you're satisfied with the text, 'cause I think I'll go to sleep really early today :s
 
@Ell maybe you're referencing a null pointer.
 
Xeo
Ah, fuck, wait, there's also a bit missing at the end. Woops.
 
yeah... still need to get a mic so I can shout at you lot on mumble
 
Ell
@rubenvb maybe there is no copy ctor for my Address class so I can't copy the vector I made from it.
 
6:13 PM
why you have no mics?
 
besides, not so keen to talking
@TonyTheLion never needed :P
 
I have a Mic, but, uh.
 
user142019
Awesome.
 
My voice broke.
 
user142019
My automatic item sorter workz.
 
6:13 PM
so?
 
well... I'm sure I have on stashed somewhere
 
@Ell it gets autogenerated if needed.
 
Ell
@rubenvb but if I write my own regular ctor it won't, will it?
 
@KonradRudolph Hi, did you get third party libs to work with YouCompleteMe?
 
6:15 PM
@Ell don't think so. destructor might change the rules. Ask one of the intelligent people.
and it surely wouldn't cause a linker error.
 
Xeo
Soo... robot's internet connection died?
 
Still here.
 
Hypothesis falsified
 
Ell
Error	1	error LNK2019: unresolved external symbol "public: class std::vector<class CapPP::Address,class std::allocator<class CapPP::Address> > __thiscall CapPP::Interface::Addresses(void)const " (?Addresses@Interface@CapPP@@QBE?AV?$vector@VAddress@CapPP@@V?$allocator@VAddress@CapPP@@@std@@@std@@XZ) referenced in function _main	C:\Users\Ell\Programming\C++\Cap\Cap\Cap.obj	Cap
 
Xeo
@R.MartinhoFernandes Purrfect, add this thing at the far bottom please: "Special thanks go to [Johannes Schaub - litb][4] for helping me figure out the last part."
With [4] linking to his SO profile
 
Ell
6:17 PM
^it goes away when I remove: for(auto a : i.Addresses()) { ... }
 
@Ell You didn't implement CapPP::Interface::Addresses(void) const. Note it could be missing in one of the subclasses.
Yuck for Interfaces btw.
 
ITT Domagoj plays the blues harp on mumble
 
Meh. How do I find where heap corruption happens?
 
@AndreiTita valgrind
 
Ell
@rubenvb Interface represents an actual network interface btw, not a programming-type interface, hopefully that's better? :P
 
Xeo
6:18 PM
@sehe AddressSanitizer!
Which interface does it represent?
 
@Ell hmm, I withdraw my complaint :-P.
 
@sehe not really ITT then is it :S
 
Something I can use on windows?
 
@Xeo How do you want me to credit you as the author? "Xeo"?
 
0
Q: Priority Queue of custom Class using Comparator with argument on constructor in C++

DanielX2010I want to create a priority_queue of the class Edge in C++. For that, I created the edgeCompare comparator class as follows: class edgeCompare{ public: map<int, glm::mat4x4> * Qmap; edgeCompare(const map<int, glm::mat4x4> & Qm){ * Qmap = Qm; } bool oper...

noobs deriving from STD containers
 
Xeo
6:23 PM
@R.MartinhoFernandes Yeah, that works, with a link to my SO profile.
 
lol beepnarf
2
 
Xeo
I couldn't think of anything better.
 
> Between the time it was discovered & the time it was unclassified as a planet, Pluto didn’t even complete 1 orbit around the sun.
 
Xeo
Also, in hindsight, the way I used the example sucked, because it required me to lay out all combinations of the special cases too. :s Oh well, was great as a demonstration for the ranking
 
my code is riddled with debug output statements.
I think about half of my code's lines is debug information.
 
Xeo
6:28 PM
I guess actually stepping through it in a debugger is not a viable alternative? :P
 
@Xeo there are a bunch of enums and sometimes a pointer that would mess up the speed at which I could get the relevant information.
and in this way I could ask the user to run the app in debug mode, and give me the log.
but for that I'd need a user.
So it's a long-term plan really.
 
Xeo
lawl
 
You guys could expand my userbase exponentially. But Ambrosia sucks too much still to be of any decent use.
 
ruben
you sod
 
what now?
 
6:32 PM
MinGW 4.6.3 headers don't work well with Clang :(
 
yes they do.
With a slight modification to ext/concurrence.h
 
Clang's parser has a death sentence and starts crying about how a destructor has a return type even though it blatantly doesn't.
 
well, that's sad.
 
also, there's ten trillion warnings in <functional> about some GNU format something.
not that I didn't totally ignore those.
 
Can you use LLVM 3.2 at all or are you using bleeding edge features?
 
6:34 PM
@Xeo hey under "For Great Justice", the phrase "Which looks nice and clean, " is a bit of an overstatement.
 
@rubenvb I pulled from trunk a few days ago.
it doesn't really matter, btw, I just wanted to poke you
 
Unnamed int and long parameters thrown in without apparent reason are cryptic, no matter how you look at it.
 
Well, I don't have time to hunt down compatibility issues with current trunk Clang.
 
Xeo
@rubenvb True enough
 
I'll take a look when 3.3 is nearing release.
 
Xeo
6:35 PM
Btw, did you have to fix any formatting?
 
I just had to add {% highlight cpp %} blocks around the code.
 
Xeo
I think I might just add the rank_x typedefs throught the examples.
Mmm.. yeah, that sounds like a plan.
 
What really needs to be done is Clang generating good Windows exception handling code, some guru writing a c++ runtime support library, and the people not shooting each other for no good reason.
Funnily, I think the latter will happen first.
 
@Zoidberg and, did the server work again?
 
user142019
Jawohl.
 
6:38 PM
@Xeo your username renders awesome in GNUPlot
 
Unless Microsoft find their brains locked in a closet somewhere and embrace LLVM/Clang.
 
@Zoidberg Thank the Danton
 
Xeo
lawl
 
user142019
@LucDanton thanks.
 
lol
 
6:39 PM
So spontaneous :)
 
Xeo
X to the eo, I guess.
:)
 
Impressive street cred.
 
user142019
I'm playing on a private server now, though.
 
K, I need a short for the main page.
 
user142019
I should find out how magic works.
 
6:39 PM
@R.MartinhoFernandes static_cast<short>(4)
 
"where XXX" form.
 
user142019
@LucDanton lol
 
Xeo
"where Xeo brings order into the SFINAE chaos", I guess
 
Makes sense. Perhaps in 6 months the puppy will go looking for those articles and think "Bummer, I should have committed them to source control" /cc @DeadMG
 
@sehe They are in source control.
 
Xeo
6:42 PM
I'm not good with titles :s
 
Looks good enough.
 
@DeadMG Oh, you'll think of something :)
 
they're stored on bitbucket
 
@DeadMG You'll find a way to loose data :)
 
6:44 PM
Tight data is allergic to puppies.
 
What's a wallpaper
 
@CatPlusPlus that black thing under your icons
 
That's task bar
 
next to it
 
6:46 PM
Those are the windows.
 
...
 
under the icons
 
What icons
 
user142019
Task bar?
 
by the way, this guitar is actually made by a Polish company.
 
user142019
6:48 PM
Interesting.
 
too bad it's not Polish-priced :/
 
@BartekBanachewicz Oh is that why it looks like it's been recently polished ?
ba-dum-tss
 
Xeo
@R.MartinhoFernandes Where exactly do the highlight thingies need to go?
 
cyall later.
contrary to popular opinion, I will be back sooner rather than later.
 
Xeo
Bye
 
6:53 PM
har har
 
Xeo
404 :<
 
@BartekBanachewicz ¬_¬ dare I say something about Polish quality? :P
 
@bamboon Never tried but did you configure .ycm_extra_conf.py? Then it should work
 
@Xeo Works fine here. Incognito as well.
 
Xeo
6:54 PM
Hm, now it does.
Weird
Does it matter if 1 or 3 #?
 
I got rid of YCM. Too much breakage and lockups
 
@Xeo Yes, it matters, because the h1 and h2 are used elsewhere in the post layout.
 
Xeo
k
 
(Site title, page title)
 
Ell
bah can't get inet_ntop to work -.-
 
Xeo
6:57 PM
I'm so going to bork up some example with this rewriting
 
@KonradRudolph yeah, I got the standard stuff properly to work by adding -nostdinc and -I/path/to/libc++ to the flags, but just adding -I/path/to/boost somehow doesn't work.
 
Are you changing the text or just the examples?
 

« first day (876 days earlier)      last day (4079 days later) »