« first day (1143 days earlier)      last day (3809 days later) » 

11:04 PM
:D
 
does C++ have this kind of struct hack?
struct Block {
Block* prev_block;
Node objects[];
};
I know C99 does
 
Ell
Struct hack?
 
what's the hack? o.O
 
Ell
i don't see the hack
 
discussed but I don't recall the result.
 
11:07 PM
@Ell objects can be an arbitrary large array in contiguous memory with Block
@melak47 no
like I could just use reinterpret_cast's, but this would be cleaner
 
@nightcracker The VLA g++ extension, no it's not in the standard.
 
=/
reinterpret_cast ahoy
 
@nightcracker Why not a container?
 
Ell
Hmm how does reinterpret cast allow vla?
 
@CaptainGiraffe this is for a compact fast low-memory allocator
@CaptainGiraffe a container would mean more pointers
 
11:10 PM
@Ell It does not. I think that is what the hack is.
@nightcracker or <array> if it is fixed.
 
@CaptainGiraffe not fixed
 
howdy
 
@CaptainGiraffe what's wrong with std::array? :C
 
@melak47 it's compile time sized
 
@melak47 Not much IMO.
 
11:15 PM
which is fine if you can work with that
 
@nightcracker ...isn't that what array is for? constant size arrays? :E
bit harsh to call it broken for that :p
 
user3010322
@nightcracker Just use Node objects[1];
 
@melak47 who called it broken?
 
@nightcracker you said it wasn't fixed, so it must be broken? :)
 
Oh crap we have a comedian over here...
 
11:17 PM
@melak47 I never said it was fixed, scrub ;)
 
A 4 message setup no less.
 
@nightcracker you said it wasn't fixed :)
 
@melak47 no I didn't
 
7 mins ago, by nightcracker
@CaptainGiraffe not fixed
 
@melak47 I wasn't talking about array, I was talking about my use case
l2use context ;)
 
11:18 PM
HOWTO get legit Win 7 product key: 1. Install OEM 2. Wait 30 days 3. Fail Genuine Advantage Check 4. Get secret link to buy product key
^ this is totally me
 
@nightcracker blergh :(
@sehe how much cheaper are the keys you buy through that link? :p
 
I haven't figured out how to text-editor on solid state drives yet. :( -noob.
 
not any. it's just too damn complicated to just find stuff otherwise
 
@CaptainGiraffe wha?
@sehe lol
 
@CaptainGiraffe ?!?!?!?! Your computer-user license has been withdrawn
 
11:20 PM
@sehe Wasn't that your statement? Forgot to markdown the quote.
How do you markdown quotes in chat?
 
> good question
 
@Jefffrey I think I found it out. I do redundantly linebreak because @Jefffrey auto-replies-to are too damn ugly
@CaptainGiraffe You've completely /lost/ me [*/late arrival/]
 
>good question
is "melak47" being a *"funny man"* http://www.youtube.com/watch?v=E84VqqCPI7w
 
I'm evil
struct Block {
    Block* prev_block;
    union {
        size_t num_objects_left;
        T objects[1];
    };
};
 
You just don't know why you want this. Allocators, dude
 
11:25 PM
That went well.
 
interesting till now vimeo.com/78854353
 
that's the frontier of knowledge on hairstyle
 
oh well. I didn't notice :)
 
yeah right
 
That was the first I noticed from the chat thumbnail. Is he wearing a star-wars cap?
Now I know better.
 
11:32 PM
it's a she and I'm pretty sure that's hear
at least I hope it's a she
or else he's got some serious mantits going on
 
Ahaha pair programming
 
@nightcracker That is how boobs on a woman with a BMI over the recommended and age over the female recommended looks like. My excuse was the thumbnail.
 
@CatPlusPlus It's a good talk. Not just about pair programming
 
is pair programming bad?
 
Depends.
Kinda like life.
 
11:36 PM
@JohanLarsson is c++ bad?
 
Do anyone here do pair programming?
 
@CaptainGiraffe No do.
 
@sehe No, they are beautiful.
 
11:36 PM
@CaptainGiraffe I bought a HTML5 book for gf, that is pretty close
 
@CaptainGiraffe Yup. sometimes. Not in my new job, though.
 
@JohanLarsson It's a tool. It's not inherently good or bad.
 
@EtiennedeMartel But is it bad?!
@EtiennedeMartel What is the best way to X? THE BEST?
 
@sehe Was it one keyboard? did it work?
 
@nightcracker Depends.
 
11:37 PM
@EtiennedeMartel my question was because of the comments above :)
 
Only Barteks think such a question can be answered in a vacuum.
 
One PC, one keyboard - worked.
Two PCs, "one driver" - worked.
Same remote - worked the best!
 
@sehe Could you elaborate on the kind of comments you would get on your code? besides minors like spelling.
 
For a second I thought that video was about programming with std::pair.
 
@CaptainGiraffe Have done at times, but don't consistently.
 
11:41 PM
@JerryCoffin I don't have the opportunity, but I imagine I would find the experience rewarding. What is your take?
 
@CaptainGiraffe That's code review. I wouldn't get comments. We'd have a general discussion on what needs to be done and how we could tackle it. Then we code. Someone drives (hopefully me) and then we check along the way (make mental notes, which the other draws on a paper/whiteboard, we check sanity).
That's basically it. Pair programming is checking bearing and sanity. Often
 
do you like being the driver or co-driver
 
@sehe So in this case you are not both coding the same piece?
 
user3010322
IT'S BAAAAAAAAAAAAAACK
 
user3010322
> fatal error C1045: compiler limit : linkage specifications nested too deeply
 
11:44 PM
@CaptainGiraffe ? How can you do different pieces? The whole point is that the non-driver can check bearings much better. And prevent peripheral issues from getting dropped.
 
user3010322
It's hte bogus compiler error I found with STL. He logged it for VS 2014 fix cycle. ;~;
 
For me: simple things like: KISS, time-for-lunch
 
user3010322
How I begged him to find a fix for it earlier.... ah well.
 
@ThePhD linkage specification nested too deeply? what did you do?
 
11:45 PM
@ThePhD lol
 
user3010322
@melak47 It's an entirely bogus error related to decltype
 
@CaptainGiraffe My feeling is that it tends to do a good job of encouraging and expediting minor, incremental improvements and helps prevent minor bugs, but tends toward rather the opposite when it comes to major problems. At least for me personally, it's a lot easier to stop and think "wait, this is all wrong and needs to be complete redesigned" when I'm on my own. When working with somebody else, there's a lot more tendency to get caught up in typos and other minutaie.
 
VS 2013 is dead, long live VS 2014!
 
user3010322
Literally, the error is a shit error <_>
 
> helps prevent minor bugs
 
11:46 PM
@sehe Right, I got confused by the "besides spellings"->that's code review. I regard it as having an extremly intelligent IDE and quite a lot more fun.
 
^ to me "helps prevent major time waste".
Not that I'm slow. I just like to spend my time on the wrong things. Like... premature polishing
@CaptainGiraffe There's a view :)
 
@JerryCoffin That is interesting, non-obvious, but very reasonable.
 
@JerryCoffin To me it's the exact opposite. I'm not averse to rethinking stuff while coding, but I like to complete the current step (green bar!) - and sitting /next to that/ happening allows me to call the "abort"/"regroup" earlier.
 
@sehe We have these hackathons every other month. The most productive times are when 2 or three focus on producing code. Often the problems are already solved in either head. Maybe not elegantly, but solved.
 
I'm a refactoring fetishist so, I know a thing or two about revamping code several times over. I like doing that when alone too. Thing is, sometimes you need to revamp the thought process first.
 
11:51 PM
@sehe Well put. PP mostly overlooks that in the treaties I've read.
 
@CaptainGiraffe Yup. That state; "problem mentally solved". That's the state that I reach earlier when pairing. It's the part that I miss so much that I just talk to random coworkers if I don't pair.
 
@sehe I do that too, sometimes I get looks...
 
@Griwes I know that film. Rien à déclarer.
 
@sehe I guess I can understand how that could be the case, but it doesn't seem to fit very well with the pair programming I've done, nor with much of what I've seen others do either. I suppose it largely comes down to a question of the personalities of the people involved.
 
@JerryCoffin To me, if pairing induces 'tunnel syndrome' it means that you're not pairing, you're confirming. I'm never about to confirm my own approach, let alone someone else's
The only reason I compromise, is when there's simply no time to keep fidgetting.
I have to have deadlines, and smaller goals. Pairing gives me that and the triggers to stay on track.
 
11:57 PM
Nothing in this article explains what the actual problem is. I'm not asserting that there isn't one, but the problem with western pseudo-journalism is that it's completely bigoted without even realising it, as if the supposéd mainstream view must be obvious.
If you have some complaint about some controversial comment, explain why it's controversial. But assuming we already know, you're showing that you think your way is the only way. Not great for state media.
 
> "western pseudo-journalism"
What's the contrary?
 
Ell
Short term milestones are great
 
In related news, Croatians are now officially homophobic.
 
@sehe Eastern journalism
 

« first day (1143 days earlier)      last day (3809 days later) »