« first day (1810 days earlier)      last day (3154 days later) » 

11:00 PM
Hmm, ok. I'll have to take a look. Any ideas for a project that would benefit from multiprocessing/multithreading? I'm kinda new to that as well, but I want to try and aim for something of substance, rather than all the silly 101-type tutorials. I guess something that lets me at least have an understanding of how a C++/Java project should be structured and fit together.
 
Learn C++ In A Week
Buy my book.
 
Is that the Sams one?
 
The best way to learn C++ is to actually write or maintain a non-trivial program in C++.
 
Yeah, that's what I'm shooting for. They know I have zero experience in Java/C++, but said to give it a shot.
 
11:03 PM
^ haha
 
@CurtisMattoon Depending on the position you're interviewing for and whether you're a new grad, companies might give some leeway on that since everyone needs to start somewhere.
 
Is this book a real book for children?
 
Yeah, they said I can do 4/5 in Python, but they'd really like to see me write some C++/Java. I've been toying with basic CS review (trees/graphs/etc) in C++, but I'm still at single file "int main()" only kinda stuff.
 
If yes... these mofo's .. :-D
 
@CodeVolunteer Yes
 
11:06 PM
@Ell Cambridge is very nice.
 
woo MS fixed a constexpr bug in time for VS2015 Update 1
@CurtisMattoon could be worse. could be void main() :p
 
@melak47 and yet bool is_msvc_cpp11_compliant_yet() constexpr { return false; }
 
that doesn't even compile friend
constexpr bool ...
 
@Rapptz It wouldnt compile either way because my compiler doesnt support it :D
 
Ell
11:11 PM
@Columbo nice :D
you made friends?
 
VS2015 supports basic constexpr I thought?
 
@Borgleader I'm so sorry
 
@Rapptz Im stuck with 2013 until such time I switch to my new SSD
 
@Borgleader Wait what.
You can do that?
Oh no.
 
@Borgleader what are they still missing (besides two phase lookup)?
 
11:15 PM
expression SFINAE
 
@Rapptz ;_;
 
ah. :/
 
@jaggedSpire As I was walking to work this morning, a man was walking his Corgi. It was adorable :3
 
@Borgleader :D
 
Substitution Failure Isn't Not An Error
@Borgleader I prefer koalas.
 
11:17 PM
@Nooble racist
 
Koalas are the superior race yes.
I consider myself a koala nazi.
 
@Nooble Actually, as far as I can tell substitution failure isn't detected.
eh, never mind. Doesn't it fail the compile when it tries to instantiate it anyhow?
 
@jaggedSpire As far as I can tell, koalas are number one.
 
@Nooble As far as I can tell you have a lot of catching up to do to compete with Red Pandas in the adorableness department.
 
11:20 PM
@jaggedSpire Nonononononono.
:(
 
@jaggedSpire Hands up!
 
@jaggedSpire That thing is just being stupid.
 
Finnish Politics When you see it.
 
Koalas are smart.
 
11:22 PM
but until I see a koala go out of its gourd over a small orange gourd, Red Pandas are cuter.
 
> Zoinks! You've taken a wrong turn.
 
@Borgleader :D
 
this page was made for you!
 
@Borgleader allow at least 5 seconds to fix it...
 
@sehe oh my
 
11:23 PM
@sehe ohhh, well done
 
Is there something terrible that can happen when using memcmp for POD structs?
Also why the fuck doesn't C++ have a default comparison operator for POD structs
 
@Mikhail if you have uninitialized padding, yes
also i think floats could be equal but not be bitwise equal? i think?
 
@Mikhail everybody loves undefined orderings?
 
Ell
who can do organic chemistry?
 
@Borgleader IEEE 754 is not a required representation in C or C++
merely very common and shiny
 
11:36 PM
Look at what happens, its like 2x fucking longer

`struct ObjectiveSettings : ScopeComputeSettings
{
std::string objective_name;
SmallValue objective_pos;
RealValue objective_na;
RealValue objective_mag;
friend bool operator== (const ObjectiveSettings &a, const ObjectiveSettings &b)
{
return (a.objective_name == b.objective_name) &&
(a.objective_pos == b.objective_pos) &&
(a.objective_na == b.objective_na) &&
(a.objective_mag == b.objective_mag);
}
friend bool operator!= (const ObjectiveSettings &a, const ObjectiveSettings &b)
I want my money back
 
Funny how you came up with completely different implementation from what I thought you "obviously" meant.
Also, that's not POD.
Try again later.
 
Yeah I just noticed. But thats more of a bug
Like 80% of my code is crap. I'll never cure cancer at this rate.
 
@Mikhail paste.ubuntu.com/12628063 note how I added ordering to the mix
 
The Daily refp Rant: Why on earth did I make it an assignment to implement a std::vector<bool> clone in the c++ course I'm teaching? It's a freakin' hell to debug students implementations when they are having trouble with their implementation, and want some advice on where to start looking.
 
Yeah. That's epic judgment lapse right there :)
 
11:42 PM
it's not that it's a very complicated thing to implement, it's just too complicated for students who.. well, let's be honest; most implementations are not very neat
 
> I drive past this spot twice a week. There are countless drug dealers, prostitutes, homeless, and hipsters in this area.
 
@LucDanton One of these 4 doesn't fit
 
@sehe indeed
 
Ell
an epic judgement lapse for me is thinking I could implement a chemical namer in 1 week in C
 
@Mikhail that's not what she said
 
Ell
11:47 PM
which I have never used before
I didn't realise how retarded it was
literally I mean, so many fewer features
 
every now and then I discover new things I didn't know C didn't have :D
 
Ell
memory management is hard without copy constructors :L
 
@Ell s/ without copy constructors/in C/
 
good morning
@LucDanton I like the side-by-side
 
Any significant differences between MSVC2013 Ultimate vs MSVC2015 Community if I'm using the compiler for personal use?
 
11:52 PM
hi
 
@Mikhail yes
 
Yes one is shit the other also but less
 
more c++, more bugs
 
@AnastasiyaAsadullayeva sup
 
tfw you can't peek a generator
you suck clang
 
Ell
11:54 PM
lol
write a wrapper
 
a wrapper for what
 
@Rapptz can you copy the generator?
 
The problem is that Clang doesn't differentiate between regular function templates and templated constructors
and my token parsing hack doesn't work for constructors
 
@ScottW sure, but that assignment has caused me more headache than what I originally thought it would
@ScottW the problem with the vector<bool> specialization is that even the good students tend to make it far more complicated than they have to, and I'm not sure how I'll address that in the future
 
Ell
a wrapper that stores the next token
 
11:56 PM
anyhow, I'm off to bed now, this fever is killing me
peace
 
I still have no idea how @ThePhD 's weird as fuck function actually ended up parsing properly in my program.
 

« first day (1810 days earlier)      last day (3154 days later) »