« first day (1215 days earlier)      last day (3747 days later) » 

8:00 PM
Ah, exporting Wide to C++ is also possible?
 
yep.
has been for a while.
 
So it goes both ways.
 
yep.
if you have a C++ header declaring some functions, they can be implemented in Wide.
 
ITT Wide is bisexual.
 
unless it's a template.
bad things happen when you try to deal with templates.
 
8:00 PM
ITT templates are not bisexual.
 
mostly because I can't figure out Clang's API.
 
'The problem is it is reproduced only once in several months. I have only a single dump file. Please debug my multithreaded app by blog':
http://stackoverflow.com/questions/21737587/why-abort-may-be-called-for-thread
 
and templates are very restricted so quite a few Wide generic functions don't make legal templates anyway
I mean, it's one thing to instantiate a template from Wide, and another to expose Wide functions as templates.
it's kinda embarrassing to have to be patching up Clang's bad IR though
well I shit you not, they declare functions with totally the wrong signature, then just cast them on every use to the correct signature.
like void f(); int g() { return ((int(*)(int, int))f)(1, 2); } kind of thing.
and don't know.
they do a similar thing with return types too.
 
@Lightness While we say "it's not your content, it's the community's", that's a bit of a lie-to-children. It still is your content, because you didn't waive your rights over it. AFAIK the only open source license that tries to waive the author's rights is CC0.
@Lightness and sorry for spamming replies.
 
like int f() { return binary_cast<int>(std::vector<T>::iterator()); } void g() { use(binary_cast<std::vector<T>::iterator>(f())); }.
as you can imagine I have lots of fun dealing with it
 
8:12 PM
// one of my favorite C++ features:
template<typename T>
void foo(void* p) { return static_cast<T*>(p)->bar(); }
T is not part of signature. So &foo<A> and &foo<B> return same type.
AKA type erasure.
It actually generates code for every type foo is called with.
Which leads to super-concise code.
 
it's about how virtual functions are implemented.
a part of it anyway.
often used in "We wish we were using virtual functions but did this instead because some fuckwit said we should compile with -f-no-RTTI" or something.
 
#ADL strikes again: C99, C++11 and Boost Multiprecision(gmp,mpfr) http://stackoverflow.com/q/21737186/85371 ADL is a treacherous thing for library developers.
 
I wonder if I should take that 45 question C++03 test this recruiter sent me
 
@TonyTheLion Share it!
 
JBL
@TonyTheLion Drop them here so we can laugh.
 
8:17 PM
Its a timed test
so I'll share when I do it
 
I would take the test.
 
@TonyTheLion Which site?
 
its not a PDF, its on one of these platform thingies
 
@TonyTheLion linky
 
@sehe IKM International Knowledge Measurement
 
8:18 PM
Oh. There are too many
 
@TonyTheLion Looking for a new job?
 
no
it was a random job advert I got that sounded mildly interesting
so for lulz I responded
 
I found a listing but I can't get to the actual test
 
IKM TeckChek C++ PROGRAMMING (C++03 ISO STANDARD)
this ^
 
OOoooold
 
8:21 PM
@TonyTheLion how long do you stay with an employer on average?
you seem to change jobs frequently?
 
2 mins ago, by Tony The Lion
so for lulz I responded
I'm quite happy with my current job.
 
I dunno. I don't like all the low-quality tweets that \@meetingcpp retweets. Then again, he retwote mine :S
@R.MartinhoFernandes ^
In the context of that question, by the way:
 
@sehe unbearable
 
Triple-star complex bear
 
hmm
balls.
 
8:24 PM
where?
 
at the base of my cock.
 
how unexpected :/
 
JBL
You expected them on top ? Ew.
 
well I kinda had to say something
and it was the only thing that came to mind.
obviously my statement was not in reference to any literal balls.
 
@DeadMG bit cocky if you ask me
 
8:25 PM
I need to address a hole in overload resolution in Wide and it's not something I thought about in too much detail.
 
> I need to address a hole
6
 
This spells the end
 
Pups, your choice of words is quite awkward.
 
lol.
 
> Pops
 
8:27 PM
Plop
 
user3010322
Pop
 
Push
 
JBL
Pull
 
Ell
Merge
 
commit.
 
8:28 PM
Rollback quickly!
 
JBL
Rollforth ?
 
Have a cigar.
 
robot
 
user3010322
As long as it doesn't explode.
 
> I have no linker. SMP parallel compiles are impossible. I made a #prefetch “” directive to load and uncompress on core #1 while you compiled on core#0. It made no difference. A white man lets the facts speak and obeys reason. I removed that shit even though it was neat.
 
8:29 PM
I figure that one overload is more specialized than another if for at least one argument, that argument is-a the other overload's argument, and the inverse is not true, and there are no arguments for which that is true in reverse order.
 
^^, ^^^, ^^^^^, ^^^^^^, ^^^^^^^^, ^^^^^^^^^, ^^^^^^^^^^ ... ^^^^^^^^^^^^
what /did/ you do? :S
 
Oh fuck.
@DeadMG That seems sensible.
 
@R.MartinhoFernandes I agree. I'm also considering that you beat any is-a relationship if you exactly are the correct argument.
there's a super-nasty corner case involving constructing rvalue references
 
Cab I open the same file twice in VS?
 
yes.
 
8:39 PM
What's the invocation?
 
go to window -> new window and you'll get a duplicate of the currently open file.
 
@R.MartinhoFernandes Double click a well hidden splitter "handle" thingie
 
oh shit
 
I'm using std::sort.. and it's gonna want const references to the parameters.
now I'll have to ejaculate const all over everywhere to make the compiler shut up.
 
8:40 PM
ITT me, pointing out the mouse way to do things in VS
HERESY
@DeadMG write a better compiler (oh wait...)
 
kek
 
JBL
@DeadMG I don't know what you do with Wide, but it sure as hell looks like 18+ or "Rated for Mature".
 
user image
13
Needs to be pinned, methinks
@AndyProwl rofl
 
@sehe Just checked, and yep, you're an owner.
 
user1804599
@bamboon jawohl.
 
8:47 PM
@EtiennedeMartel Bad style to pin your own stuff. And also, it's not that important. More about me pointing out how this seems relevant to the room sometimes.
 
user1804599
@jalf What kind of data do you want to store?
 
@sehe I agree.
 
I agreely
 
@sehe It's not that good.
 
Ugh, why do I need the beneficiary's address for a bank transfer?
 
8:52 PM
@sehe "retwote" <3
 
@rightfold very little, actually. A bunch of fairly self-contained objects basically, and no need for fancy relational queries. We don't even need a high degree of consistency. But availability (or more specifically, a simple and robust way to upgrade the db without taking it offline, and some degree of redundancy.
 
user1804599
@jalf then CouchDB and MongoDB should work fine.
 
I never remember, what hidden character is generated when you post a text with a "return/breakline" from an HTML form?
 
alright
something's gone super, super wrong here.
 
@rightfold yeah, is what I figured. But it's still a year or more into the future before we're even going to start looking seriously at this
 
8:54 PM
not only did I modify the most sensitive and complex part of my program, but it compiled successfully first time, and passed all tests.
 
@LightnessRacesinOrbit check
 
we've got a lot of other refactoring and redesigning that we want to do first
 
Wait, I don't.
Dammit. That was the wrong form.
 
@rightfold hey, I've reused a guy's library instead of building it myself, are you proud of me?
 
@R.MartinhoFernandes lol
 
user1804599
8:55 PM
@jalf We are considering using Neo4j since our data is much like a graph and we need to do a lot of operations that work well with graphs. Currently just developing without a database though (everything’s in memory).
 
user1804599
@Jefffrey YOU NOT VIOLATING DRY?! YOU ROCK!!!!
 
@DeadMG that's happened to me a few times lately. it's suspicious.
 
@DeadMG It's the same phenomenon that explains how drunkards sustain fewer injuries when they fall
 
@rightfold :)
 
user1804599
Oooh wait. :P
 
8:56 PM
well
 
@rightfold What /are/ you developing?
 
as near as I can tell, it fixed the problem completely and quickly and easily.
now I'm just feeling very suspicious.
 
user1804599
@sehe I cannot tell that because it is secret.
 
JBL
Lol, someone tried to thank me for an answer by editing my post with his thanks-comment and new code.
Dude, you're doing it wrong :P
 
user1804599
8:57 PM
It is software through which specific information can be quickly found.
 
Ell
@DeadMG so it's either a miracle or your tests are bad? :P
 
user1804599
And the information is stored in nodes which can have arbitrary connections to other nodes.
 
@StackedCrooked Yes, welcome to C++ and the wonderful world of declarations
 
@StackedCrooked Yes. You hid the global-scope one with your namespace-local one.
@Ell Could be that my tests are bad.
well, I nearly doubled their number over the last few days
oh well.
let's just commit and be done with it, I can't do more than running my tests.
 

« first day (1215 days earlier)      last day (3747 days later) »