« first day (997 days earlier)      last day (3952 days later) » 

4:00 PM
What happened to my message?
 
I binned it
 
@BartekBanachewicz huh?
 
this is no helpdesk
 
@vamsi discussion is not really "going on". Everyone disagree with you.
 
the events happen, I can#t just...not look at them
 
4:00 PM
@LeaHayes Here are new smart pointers, right for your case: Win32Window w32; Window window(&w32); :P
 
@melak47 if you have one thread, Windows won't call WndProc asynchronously
@melak47 remember that OS has its own queue
 
@EvgenyPanasyuk That transfers no ownership.
 
@BartekBanachewicz what do you mean, asynchronously
 
@R.MartinhoFernandes message is in bin, don't remember exactly what he need.
 
@melak47 You get an OnClick callback fired. Do whatever you want - if you want to paint the window blue or increment some number in a text box, just do it. If you have to send or post some more messages to perform the desired OnClick action, fine. Don't really understand your issue?
 
user142019
4:02 PM
Morning.
 
Morning.
 
@melak47 that until you call process on your window, it won't get events from OS and won't call your callbacks
 
Afternoon-to-early-evening.
 
@melak47 AFAIK you pump the OS queue manually, no?
 
DAISY FEEDING TIME
 
4:03 PM
@BartekBanachewicz: because everyone hear is saturated
*here
 
@BartekBanachewicz ah
 
Evgeny: I was trying to find out how to use the pointer constructs, thanks anyhow
 
@vamsi And that's because whining about how other users have 100k rep is just that: whining.
 
@DeadMG Good plan - also Martin feeding time.
 
@LeaHayes the thing is - most of time, you don't need any pointers: dumb/smart..
 
4:04 PM
@vamsi no, because you're new and odd
 
or may be you are an uncle ???
 
Every time you make a pointer, you have 3 pointing back at you. wasteful on memory, Lea.
 
user142019
@vamsi I'm not saturated. I'm valued.
 
@R.MartinhoFernandes Yeah.
 
4:06 PM
@EvgenyPanasyuk So just take a copy of the entire NativeWindow object in the constructor then? To ensure that it gets cleaned up when Window goes out of scope?
 
@rightfold: u in discussion ? or atleast disagreeing me ?from when
 
OpenGLWindow win;
win.create();
glload::LoadFunctions();
while (win.process());
 
I can't see how using a reference would help in this case
 
that's how I do it right now @melak47 ^ (but that's just a prototype really)
 
@LeaHayes Do you know about move semantics?
 
user142019
4:07 PM
@vamsi Oh, you're such a guy who is unable to spell "you" and can't position his question marks correctly. *plonk*
 
@LeaHayes If you don't need polymorphism, just use move semantic, without any pointers.
 
@BartekBanachewicz what does process return? :p
 
user142019
That feels good.
 
you can do stuff like win.setKeydownCallback([](int key){ stuff });
@melak47 if WM_QUIT happened already or not
 
king's english ?? ohh common !!
 
4:08 PM
@LeaHayes but if you need, first thing to consider is std::unique_ptr + std::move
 
@rightfold
 
> We need someone with more experience
 
@EvgenyPanasyuk @R.MartinhoFernandes Move semantics are another new one on me (either that, or my memory is failing more than I thought) :S
 
as I said it's just a prototype
 
standard line you get these days
 
4:08 PM
@vamsi he is already ignoring messages from you
 
@LeaHayes Well, then that's probably where you should start :)
 
but he did mention me
 
Ell
Bartek what does create do that ctor doesn't?
 
user142019
Being not a ctor.
 
@Ell shrugs separates instance creation from actual window creation.
 
4:09 PM
thanks, I will read up on move semantics, and also the std::move (which I am guessing is the move semantic)
 
I said, it's just a prototype
 
@BartekBanachewicz Erm, what?
 
@vamsi yes, he said he is ignoring you.
 
What is an instance of the window class if not a window?
 
user142019
Create window in constructor of window class. Make show() method that makes it pop up on the screen.
 
4:10 PM
@R.MartinhoFernandes A window egg.
 
@LeaHayes Right.
 
tee hee.
Okey, moving it to constructor.
at least the destroy is in destructor :V
 
you are saying or is he ? @BartekBanachewicz
 
@BartekBanachewicz even I did it that way :p
 
Guys, is there any TC++PL 4ed ebook (legal) ?
 
4:11 PM
@vamsi he said that he used the chat ignore function
1 min ago, by Bartek Banachewicz
I said, it's just a prototype
 
I have a pdf of 4ed D&D... any use?
 
damn you, I just wrote that class
 
@EvgenyPanasyuk AFAIK only paperback and hardback.
 
@BartekBanachewicz well, apparently my class is worse than a prototype :p
 
to you ? @BartekBanachewicz
 
4:11 PM
lol
 
@vamsi HE IS IGNORING MESSAGES FROM YOU FFS
 
@R.MartinhoFernandes yes, that what I afaik too..
 
@BartekBanachewicz you came to the wrong neighborhood
 
@melak47 if it was badly designed it can be, no?
 
@R.MartinhoFernandes I would pay 2x-3x for ebook..
 
4:12 PM
i don't care , i thought i'm discussing with you ?
 
Listen, I'm not saying my design is best or whatevs.
 
@BartekBanachewicz
 
@BartekBanachewicz Apparently you aren't.
@EvgenyPanasyuk Woah, really?
That thing's list price is $75.
 
@vamsi not really. I don't have time for pointless discussions like this. I'm ignoring you too from now on. Now go and answer some questions.
 
@R.MartinhoFernandes I think ~100$ - ~120$ would be OK for must-have book.
 
Ell
4:13 PM
Feck I'm scratching my leg off
 
@EvgenyPanasyuk except it's not a must-have
 
user142019
@Ell sell it on the black market.
 
ok last one , answer my own questions or others ?
 
@BartekBanachewicz Well, for me it falls into must-have (must-read too!) category. It's like ABC-book.
 
Here's one for DeadMG/Daisy:
http://stackoverflow.com/questions/17552864/chess-gamefunction-that-returns-possible-moves-of-paws
 
4:13 PM
@melak47 it's just I had that idea for completely toyish simple window class
I wanted to make it easy to use, though.
most cross-platform OS libraries give you communicates allright, but in a similar fashion
 
well, I guess I can try it this way, and if I hate it I'll hate on OpenGL :)
 
anyway your solution uses global variable and that makes it essentially terrible
 
user142019
> virtual std::pair<char,char>* possibleMoves() const = 0;
 
@EvgenyPanasyuk I do have C++Primer and imho it's enough for language introduction
 
@BartekBanachewicz TC++PL is not about introduction at all
 
user142019
4:15 PM
*Visits OP with a scythe.*
 
T_T Picroma was up while I was sleeping
 
grmpf, Bash doesn’t like me once more
 
@Borgleader Write a script!
 
@KonradRudolph we don't like bash either!
 
@MartinJames Why me?
 
user142019
4:16 PM
@KonradRudolph -1 not enough Z shell.
 
@BartekBanachewicz: answer my own questions or others
 
@DeadMG It's about paws...
 
@vamsi Any one you know the answer to.
 
oic
 
lol
ARRFGHH still broken.
 
4:18 PM
woof woof food please, my paws are tired. — DeadMG 57 secs ago
 
ok ..
 
user142019
 
ITT: Jesus only wants those men who are up for a little somethin somethin
 
no
it is brand new one
 
4:29 PM
I wasn't sure.
 
was released in May
 
> C++11 features, all covered in the book, include:
· Regular-expression library
(that's "C++ for the impatient")
anyway, I wonder on what the author tested the samples
 
hi lounge.
 
@BartekBanachewicz What?
 
lol, people keep downvoting my integer overflow question. I guess language pendants don't like the idea of trying to understand UB.
 
4:32 PM
@Mysticial which one?
 
I only have two questions.
 
ah, ok it is Q
 
I basically asked why is the code behaving this way in the case of UB.
 
I'd downvote it for AT&T assembly syntax
 
@Mysticial I downvoted it. I think I agree with Johannes on that one.
 
4:33 PM
@Abyx blame GCC :)
 
-masm=intel
Careful though.
Dec 19 '12 at 14:35, by R. Martinho Fernandes
g++ -S -masm=intel => AT&T. g++ -masm=intel -S => Intel. Fuck you GCC.
2
 
@BartekBanachewicz And in my defense, I know how compilers work, and at the time, I didn't see a reason why it would behave the way it did even if it meant UB.
 
@Mysticial linkage?
 
@Mysticial imho the answer "it's UB because performance" is kinda showing what's bad there
 
@BartekBanachewicz It's not a performance question.
 
4:37 PM
@Mysticial if you drop the reasoning from it, the only thing left is "it's UB because UB"
 
the question is not about UB itself
 
@BartekBanachewicz And like I said, I see value in trying to understand what happens during UB.
 
@Mysticial a black hole forms somewhere :)
 
please put on your 3D glasses now
 
@R.MartinhoFernandes Plus it's not even Intel, it's GNU/Intel, with some idiotic little differences from original syntax -.-
 
4:39 PM
@Griwes my minecraft CPU doesn't have such problems
 
@BartekBanachewicz Better hope GNU doesn't touch it.
 
fuck GNU
3
 
That's my point :P
 
Hehe a question about sscanf tagged C++11
 
@Borgleader ...*technically* :/
 
4:40 PM
Technically what?
 
@BartekBanachewicz And I don't like black holes. I try to understand them.
 
@Borgleader technically it is. -1 for not-idiomatic though (I love that reason)
 
@BartekBanachewicz It's not about sscanf. It's about sscanf_s.
 
@Griwes HURR LETS CLOSE NOT STANDARD DURR
 
@BartekBanachewicz There's no reason to downvote the question. It's a perfectly valid question.
 
4:41 PM
@DeadMG I don't know, I've clicked a bit too rapidly perhaps
not that it hurts it now, really.
 
true enough
 
In general I tend to do, then think a bit too much.
 
@BartekBanachewicz lol. Yeah, I really care that much. I've gotten enough drive-by-upvotes on that question from people visiting my profile that it really doesn't matter anymore.
 
Speaking of thinking...
You know what sucks?
 
hoovers.
 
4:43 PM
Debug sessions that you leave running for days and take one or two steps each day.
I need to buy a new notebook.
 
you need a proper workstation :S
 
o.O What the hell is it you're debugging that takes days?
 
@R.MartinhoFernandes haven't I already express my dislike towards notebooks?
"How to get values from sscanf_s()?" - you don't. Instead, you use strstr() and strtol(). — H2CO3 3 mins ago
god.
FFS
 
@Borgleader The thing is, I only touch it at the end of the day, and then I spend some time figuring out where I was, and then I get bored after a little stepping.
 
4:46 PM
@R.MartinhoFernandes you should've seen my face now.
BTW that one ^ is beautifully designed.
 
I just got it off the Internet. I like mine plain black.
 
user142019
Moleskine.
 
@R.MartinhoFernandes I bet you write really clean notes.
 
user142019
Xbox OneNote
 
4:49 PM
posted on July 09, 2013 by Herb Sutter

I don’t often link to other articles, but this one is worth reading. Why mobile web apps are slow by Drew Crawford … So if you are trying to figure out exactly what brand of crazy all your native developer friends are on for continuing to write the evil native applications on the cusp of […]

 
@R.MartinhoFernandes but... but.. this one looks great
@Feeds because Javascript, you dumbass.
 
@DeadMG lol
 
user142019
s/sc/Sc/
 
@Griwes No, the question is inaccurately tagged C++, it features C code only, so the proper answer is "use strstr instead of scanf". — H2CO3 17 secs ago
...
 
@Feeds I bet he'll say that it's because they don't use C++.
 
4:51 PM
How can he judge that it's surely C, not just crappy C++?
 
@BartekBanachewicz Google says it was on this page: makezine.com/notebook/index.csp Go figure...
 
@R.MartinhoFernandes 404
 
@Mysticial check this - that's how you should localize loop
 
@R.MartinhoFernandes *.* ME WANTS
a tad expensive, though
 
4:53 PM
$20 for graph paper + some formulas :/
 
@Griwes that question is a dup anyway
 
@Aboutblank shhh
 
it's already been answered
 
@Mgetz Doesn't matter, we have a tag war, goddammit.
 
@Aboutblank Plus $21 shipping to Germany.
 
4:54 PM
@Griwes I know... I almost wish there was a flag for that
 
:D
 
@Mysticial versus this
 
5yard penalty
 
@BartekBanachewicz You should check the shipping costs too.
 
Uh, dat profile picture.
 
user142019
4:55 PM
> Please delete me
 
user142019
I smell butthurt.
 
Cheaper on Amazon.
 
Is there a proposal for getting the demangled name of a type?
 
> The -Wstrict-overflow warning even found one minor case where gcc itself relied on wrapping signed overflow, in the handling of division by the constant 0×80000000.
wow
 
4:56 PM
@EvgenyPanasyuk What do you mean by "localize the loop"?
 
user142019
@StackedCrooked already part of the library.
 
@rightfold It is?
 
user142019
Since Phobos 0.140.
 
@EvgenyPanasyuk Your ASM_MARKERs interfere with optimisation :S
 
user142019
(Hey, if you increment 'C' you get 'D'.)
 
4:58 PM
@Mysticial locate it in asm output, you said "Here's the assembly of the loop: (if I recognized it properly)"
 
@rightfold Phobos?
 
@rightfold I don't want the D.
 
@EvgenyPanasyuk Ah, "locate" then :)
 
@BartekBanachewicz so you want the C?
 
@R.MartinhoFernandes well, in first example ASM_MARKER<333>() (which is after loop) is not even called in asm
so, for porpuses of that test - it is OK.
 
4:59 PM
It still makes the example of dubious value.
 
@EvgenyPanasyuk ah
 
For a certain value of "OK".
 
@Mysticial I guess you have found wrong one (or used another optimization level)
 

« first day (997 days earlier)      last day (3952 days later) »