« first day (1665 days earlier)      last day (3299 days later) » 

had a Paranoia meetup today
literally everybody brought huge piles of chocolate, and everybody except me brought alcohol
to commiserate over the election results
 
Ell
wat
to commiserate?
Oh yeah you're in bristol :P
 
I actually don't know the result of my specific seat
 
Xeo
user image
4
lolz
 
Ell
well west bristol is extremely lefty I think
 
user1804599
10:04 PM
@AndyProwl Referential transparency ftw!
 
yeah
I just looked up the result and my specific seat went not great but it was OK.
 
Xeo
@AndyProwl copyability!
 
it's the rest of the country voting Conservative that's the problem
 
@Xeo Well, yeah. Assuming copyability.
 
Ell
@Puppy I think you're confusing problem and solution :)
 
10:06 PM
yeah, the solution to having some sanity in government
 
@AndyProwl FWIW I don't inherently see the ambiguity here. If someone cared about the address they should use a pointer. const T& is special and I'm sure most programmers know that this extends the lifetime of temporaries so using the address of it seems a bit counter-intuitive with the concept of temporaries. If for some reason you cared about addresses then you can just disable temporaries by doing = delete;.
 
problem: government not totally insane
 
solution: elect more Conservatives.
 
I don't lose sleep over this though.
There's your reply btw.
 
user3010322
10:06 PM
@AndyProwl I don't know if that's necessarily true. In fact, 100% of the time when I see a reference or const reference, I assume the function does not set state that keeps a reference to that thing.
 
@ThePhD You assume != The function documents ;) Also, don't ever work with Clang API!
 
meh
 
@Ell "Sim Broadway" is pretty good.
 
user3010322
@AndyProwl I've worked with the clang C++ API. It's a fucking trainwreck and the people who wrote it somehow managed to get lifetimes wrong when making a C++ compiler.
 
user3010322
Which is baffling.
 
10:08 PM
clang is so powerful it supports Automatic Reference Counting
 
Ell
@EtiennedeMartel I like all of them really
 
user3010322
It made me not-so-confident about their compiler.
 
@ThePhD Because they wouldn't target C++11 and the only solution in C++03 is interminable copying and refcounting.
frankly I think it's more impressive that the thing works at all given all of that.
 
user3010322
The fact that they have owning raw pointers and take references to things without documenting that the thing owns, and the fact that they have arguments literally side by side where one does not own the pointer given and the other assumes control and deletes it is....
 
user3010322
.... <_____>
 
user3010322
10:13 PM
@Puppy I guess it is impressive, but it's pretty brutal on people who just come to the codebase.
 
@Rapptz Passing by value is simpler and better documents what the function cares about. I don't buy the "T const& is special" objection.
 
user3010322
I mean, I wish they'd have at least marked non-owning things with some kind of flat struct.
 
they've made a lot of headway in 3.6 I believe
 
I'll just agree to disagree.
Conversation is boring anyway.
 
ever since they upgraded the target toolchains to require C++11 to compile, they've been adding quite a lot of unique_ptr.
 
user3010322
10:14 PM
@Puppy Thank god.
 
user3010322
Maybe I'll build my reflection tool thingy with that then.
 
You can still take the address of just T btw.
 
Why are you still in this boring conversation?
 
you can but nobody cares because it's function-local so the callee can't depend on it
 
iunno
got nothing else to do
 
user3010322
10:15 PM
.... Oh, wait, no, there's still the whole char16_t / char32_t issue with VC++...
 
user3010322
Arrrrgh.
 
user3010322
Guess I'll wait for 3.7 when they officially support the VS 2015 RTM.
 
user3010322
So I lost points on a homework assignment
 
user3010322
because I forgot to update the array_size variable I had for the size of the C array.
 
user3010322
So I was not considering one of the last cases.
 
user3010322
10:18 PM
And it just made me hate C all the more, the fact that when I changed the array I didn't just automatically have all the sizes adjust to fit it.
 
user3010322
And it made me sad.
 
user3010322
I'm going to have to write that arraysizeof( x ) macro.
 
i was tricked into reading the rules
 
user1804599
10:34 PM
haha loser
 
> Watch: Jesus motherfucking titty-wanking Christ in a man’s anus.
 
Xeo
> I just realized that gifs are very short silent movies. We've come full circle from 100 years ago.
10
huh.
 
user1804599
JPEGs are also very short silent movies.
 
user1804599
So short in fact that they only consist of a single frame.
 
@rightfold You need at least two frames for things to be moving.
 
user1804599
Indeed.
 
There goes the next Boost PropertyTree "XML" victim stackoverflow.com/a/30133569/85371
@rightfold repost
visit a museum once
Many paintings are can be quite moving. With a single still frame
 
@sehe Well, I have been to Louvre and d'Orsay. Not really.
 
@sehe i see what you did there
 
10:50 PM
It probably shouldn't. But I can't tell. Because what you receive depends only on what the server sends. And the server may send you a Shakespear Drama if it so chooses... — sehe 12 secs ago
@nick Already, ahead of the game!
Annoying typos carnt be corrected
 
Upvote notification reminded me of this
 
Please. I linked to that answer twice now. Read it. Thank you. — sehe 9 secs ago
@AndyProwl What is an upvote notification?
 
@sehe The green +10 box that appears on the top bar when someone upvotes you
 
Oh. Ok. I fail to see how it would remind you of cheesy question wordings :)
 
The box appeared, I clicked on the link to see what I got upvoted for and found the cheesy wording
 
11:01 PM
Ah. So an upvote notification reminded you of that (answer)
 
user1804599
bye fools
 
@rightfold Night
@sehe Yes
 
@rightfold bi fool
 
Hi guys, can you tell me what is malloc ?
in freebsd
 
user1804599
@sehe I'm bi but I'm not a fool.
 
@CosminIovan lel
 
@AndyProwl in my codes i have this prntscr.com/733pe5
 
If you can tell me what is a rabbit.
In New York
 
i think its from memory alloction
allocation
 
@CosminIovan That doesn't compile:
474
Q: Why is this program erroneously rejected by three C++ compilers?

James McNellisI am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the best of my knowledge, conforms to all the rules set forth in the C++ Standard. I've read over the entirety of ISO/IEC 14882:2003 twice to be sure. The program is as follows: Here i...

@CosminIovan up arrow edits. Also:
82
Q: Compelling examples of custom C++ allocators?

NaaffWhat are some really good reasons to ditch std::allocator in favor of a custom solution? Have you run across any situations where it was absolutely necessary for correctness, performance, scalability, etc? Any really clever examples? Custom allocators have always been a feature of the Standard L...

 
11:12 PM
@sehe Now i understand.
 
@sehe Now he should ask when are you going to be in New York
 
That's fast. For a lie
 
@sehe It's somebody in the New York Marathon (or other race) who runs ahead of a competitive runner, encouraging them to go faster (and give somebody to draft off of), typically in an attempt at helping them set a record.
 
Someone confusing rabbits and rabid again
 
as long as they are not confused rabbits with rabbis
 
11:14 PM
+1
 
@chmod711telkitty Beat me to it.
Bad Baby Therapists.
 
All baby therapists I've met were pretty bad
 
Ell
Guys
 
Ell
I need mad gainz
 
11:21 PM
Cialis. Next
 
@Ell You seem sufficiently mad already.
 
Now you're just making him mad
 
Jerry
my country elected a bunch of morons
I figured you might be familiar with this
wat do
 
Eat more ice-cream
 
Ell
@JerryCoffin Jerry. He's lying to you
 
11:26 PM
 
I tried to do the JNI signature generation thing using only Boost.MPL stuff and constexprs to see how far I can go with the experiment
it worked but fuck me this is the most confusing shit I ever wrote coliru.stacked-crooked.com/a/b3a8f376fa83c302
I'd probably be able to make it nicer later, it's a mass of "wait that doesn't work, I need a workaround" stuffs
 
@AlexM. Welcome to TMP. If you think the code is confusing, just wait til you get a single error message that's 20+ pages long.
 
like the std::enable_if to pick between the overloads for array and non-array types
I'm sure there must be a nice way to avoid that
 
Entering phase 2, I see :D
 
I'm still having fun :D
I should switch to C++14, IIRC you can have local variables in constexprs there
so that annoying recursion would most likely go away
 
11:33 PM
_IndexedType is a reserved identifier
 
@Rapptz shit, I forgot about the underscore prefix thing
 
you can reverse the logical condition
non_array_types -> is_array_type.
would scale better I think
 
little detail, but fuck typedef, use using instead
 
@Rapptz the problem I found with that was that JArray has the indexed type and I didn't think it was possible to fit any JArray<T> in a single boost::mpl::vector
 
You don't need the vector.
sec
 
Ell
11:37 PM
@AlexM. Do you need MPL to do that?
 
nope, but MPL was part of the exercise
 
Ell
My signature generator just uses variadics
 
I had the map in mind really, the vector was a workaround
 
Ell
Its not all compile time though tbf
 
for the enable_if
 
Ell
11:37 PM
I couldn't be arsed with compile time strings
You can't do it even I don't think
 
the generator in my actual wrapper consists of a function that adds up w/e JType::Signature() returns for all JTypes involved
where Signature is a static std::string()
inside the class itself
I'll probably not change it with anything else, I don't want to complicate it too much especially since it's not a personal project :\
 
Ell
Yeah mine does that too
 
std::string MakeSignature()
{
	string stream ss;
	ss << "(";
	std::vector<std::string> paramSigs { get sig from Params... };
	ss << those sigs;
	ss << ")" << get sig for return type;
	return ss.str();
}
 
it's something like this
 
Ell
11:43 PM
Mine is similar
 
Xeo
> wanna go to sleep
> Taiga appears
> hops on my lap
> curls up on my chest
 
Ell
But I don't use a vector
 
Xeo
well well
 
Ell
I just do (sstr << TypeSingsture<ArgTs...>::signature)
 
I could probably avoid the vector too, I'll check it out on monday
 
Ell
11:45 PM
@xeo how many do you have?
 
@Xeo is "Taiga" meant to be a phonetic approximation of "Tiger", or is it a manga name?
 
Ell
@AlexM. Next on my list is JNIEnv stuff, then probably wrapping arrays
I really like how my ref class has turned out
 
@Rapptz let's see...
 
I love that beard
 
11:47 PM
@Jefffrey Sorry, but no. It's not me, and therefore not a true wizard.
 
But do you have such a majestic beard?
 
Xeo
@Ell just one, for now
looking hard for a second one, though
@AndyProwl Kinda both. The original name was inspired like that. But yeah, it's a character's name.
 
I see
 
Toradora?
 
Ell
Id like a cat
 
11:51 PM
Guys
I have 16GB of RAM now :D
 
@Jefffrey Mine is very Kingly.
 
@Borgleader How long did it take to download it all?
 
I have 2 browsers open + steam/skype and a few background things and im already using 5.38GB
@AndyProwl about 3 days
 
That's not too bad
 
Ell
11:53 PM
@Rapptz wtf
Why is Skype taking 1.2GB?
 
Xeo
@Rapptz yep
 
because Skype is shitware
 
@Ell Because Microsoft.
 
Ell
I couldn't possibly imagine what its holding
It must be leaking like a seive
Maybe its collecting personal data and uploading it
 
I don't think it leaks actually.
 
Xeo
11:55 PM
skype never takes that much for me
 
Yesterday it was at 1998 MB.
 
Xeo
I got it running all day at work, and I'm very picky with ram usage (since UE eats so much)
 
yeah well
 
Ell
@Borgleader AMD chip?
 
11:55 PM
my Skype does.
I hate Skype.
 
@Ell Nope, wintel
@Rapptz Dafuq, my skype take 172MB
 
Xeo
do you still have some super-old version running or something?
 
Ell
A lot of cores
Does that include HT things?
 
@Xeo No, it updated recently
 
Xeo
@Ell must be
@Borgleader I meant Rapptz
 
11:57 PM
@Ell I have an i7-3770
 
I'm using the last decent version of Skype.
 
@Xeo ah woops
 
Which is v6.21
Before they made everything bubbly.
 
Xeo
> Version 7.4.85
 
I'm using 7.3.0.101 which might explain things
 
11:58 PM
they jumped from v6.21 to v7.2
 
Xeo
dunno, I don't see much difference between "Skype for Desktop" now and the old skype.
 
soon to be @Xeo's version
 
@Xeo You are blind.
 
Xeo
maybe
or maybe I just don't care enough
 
> Just a moment, we're improving your Skype experience...
is that just a fancy way to say "we're installing an update" ?
 
Xeo
11:59 PM
ye
Right. Now that Taiga isn't abusing my chest as a napping spot anymore, I guess I should go to sleep.
 

« first day (1665 days earlier)      last day (3299 days later) »