« first day (711 days earlier)      last day (4242 days later) » 

Xeo
1:00 PM
@CatPlusPlus With Apple, you should expect it simple explodes the device with all their API changes (atleast from what I can tell)
 
It's targeting iOS 5 currently.
 
It should work just fine out of the box on iphone 5, afaik.
 
The only obvious thing you might want to port is make it support the different aspect ratio on the new one
 
I do hope the UI is layouted.
Not that I'd expect Apple to do sensible things with UI.
 
1:01 PM
layouted wut?
 
DUI
Developing under influence
 
@TonyTheLion I.e. not manually positioned to pixel-perfect.
 
 
1:05 PM
Though I wouldn't be surprised, really.
 
Anyways, off to daughters first music lesson :)
 
@CatPlusPlus ah I see
 
@CatPlusPlus Apple doesn't like pixels.
 
I've yet to see Apple doing things with UIs that make sense, so. vOv
 
1:10 PM
It's awful.
 
I don't like it either.
 
It doesn't help designers because they shouldn't ever touch logic, it doesn't help programmers because fuck using mouse for connecting events what the hell.
 
There's also this feature called "bindings". IIRC it allows UI components to scan the controller interface and look for methods that they can use for populating themselves.
 
> Q1: I'm not sure, when the comma operator separates parameters of a function, the parameters should be proceeded from left to right?
huh?
 
Xeo
@TonyTheLion Misconception about argument evaluation order?
 
1:14 PM
"proceeding parameters" whatever that means
 
0
Q: How does C compiler proceed function parameters with ++ or -- operator?

user1700222Q1: I'm not sure, when the comma operator separates parameters of a function, the parameters should be proceeded from left to right? or, as a LIFO stack (last one proceeded first)? Q2: when I run the following program, it seems more complicated, so I want to make it clear, how does C compiler ...

have fun :P
 
I had a parameter and then I proceeded it.
 
lulz
noobs suck
well obviously, seeing they are noobs
 
Xeo
@TonyTheLion Close votes
 
voted
 
Xeo
1:15 PM
Oh wait, they don't address function arguments in that question. :(
 
whatever
shitty question
a requirement for using SO should be decent English grammar
there should be a close vote option "Shitty question: Doesn't deserve an answer"
 
Xeo
169
Q: Undefined Behavior and Sequence Points

Prasoon SauravWhat are "Sequence Points"? What is the relation between Undefined Behaviour and Sequence Points? I often use funny and convoluted expressions like a[++i] = i;, to make myself feel better. Why should I stop using them? If you've read this, be sure to visit the follow-up question Undefined Beha...

Close as dupe of this, if possible
 
too late
 
Xeo
Oh well, I just added it to the list of dupes that SO inserted :P
 
1:18 PM
@Xeo I was up until 5 AM playing "G-senjou no Maou" this morning.
 
Xeo
I heard that's also a good game
 
It is very good. Until now, I'm only at chapter 2.
 
@StackedCrooked how da fuq do you stay awake during the day with that little sleep?
 
sbi
This question wasn't very great when it was submitted, but after Griwes' improvements I cannot see at all how this is "not a real question". Please reopen. — sbi 14 secs ago
@DeadMG That's what turned the Oval Office into the Oral Office, innit?
 
@StackedCrooked You know that's actually true in quantum mechanics?
@StackedCrooked lol, you call that convoluted? Here's an enterprise-y Fizzbuzz code.google.com/p/fizzbuzz
2
 
1:23 PM
@R.MartinhoFernandes Lol, I can't find the actual code with all that other crap.
 
@R.MartinhoFernandes dafuq?
that's more convoluted than Java
proportionally speaking
0
Q: Optimizing for conveyor execution

AlexIn Conveyor architecture before execution instructions, they are broken down into smaller ones. So they run much faster. But before instruction executed the whole, is not possible to execute the following instruction addressing to the same registers. Is that right, to optimize the order of the in...

dafuq is conveyor architecture ?
 
Damnit, I can't finish my convoluted FizzBuzz... I'm failing at using std::vector<std::function<void(int)>> :(
 
We were just discussing the possibility of abusing a Java library bug as a feature. I need a shower now.
 
Xeo
@R.MartinhoFernandes My condolences.
 
sbi
Thanks for voting to reopen, @Tony & @Jerry!
 
1:34 PM
:)
 
@Xeo We spent an afternoon chasing wild geese because of this bug, we might as well take something from it!
 
Xeo
0
Q: Why the reference member that initialized from temporary is still readable?

ezpressoThis question is directly related to another question that I've asked a time ago: "Opaque reference instead of PImpl. Is it possible?". Let's say we have a class with a reference member of some other class which is initialized to a temporary variable in a constructor: #include <iostream> ...

Is there a dupe for "don't bind temporaries to reference members"?
 
I'm sure there is. I answered one with the compiler.
 
Xeo
Linky~
 
@TonyTheLion When a driverless car gets into a wreck, who's fault is it?
 
1:37 PM
16
A: C++ constructor: garbage while initialization of const reference

R. Martinho FernandesI'll let my compiler answer this one: $ g++ -std=c++98 -Wall -Wextra -pedantic test.cpp test.cpp: In constructor 'X::X()': test.cpp:9:26: warning: a temporary bound to 'X::b' only persists until the constructor exits [-Wextra] $ You should turn on the warnings on your compiler as well.

 
sbi
@Xeo There's is Eric's hotel room Gideon bible example, which applies, I think.
 
Xeo
@sbi Righty, vote to close with that please, then we have both
sigh, still no message from Funatics. Should I call again? :/
 
@Neil The guy on the non-driverless car, duh.
Driverless cars don't get into wrecks by themselves, duh.
 
Bet 'ya ain't laughin' now
 
sbi
@Xeo Bo had already mentioned it, so I removed my comment. Voted to close, though.
 
1:40 PM
@LuchianGrigore trololol
 
@R.MartinhoFernandes And if two driverless cars get in a wreck?
 
@LuchianGrigore Kind of old now.
 
http://liveworkspace.org/code/9ad3d5e80c9f89ac4b6d2c7daabc9589
Convoluted piece of crap. I'm just curious as to why this crashes on line 23 (error: std::bad_function_call)
 
1 min ago, by R. Martinho Fernandes
Driverless cars don't get into wrecks by themselves, duh.
 
good question, however, i don't know the answer so +1 for this. — tradyblix 4 hours ago
Your question is worthy of my upvote.
 
Xeo
1:42 PM
Numerical Strings -> What. Doesn't it make it even harder to write secure applications in PHP. — phresnel 33 mins ago
Applies, I think.
Screw it, I'll just call them again and make clear that I have another job offer and have to press for fast processing. :|
 
@R.MartinhoFernandes I'm starting with the assumption that they do. Then what?
 
You figure it out! It's your assumption :P
 
@R.MartinhoFernandes Humbug
 
haha, oh PHP: Unexpected T_PAAMAYIM_NEKUDOTAYIM
best parse error
 
1:47 PM
@jalf heeyyyyyy, macarena!
 
Is there any way to know whether a QHostAddress IS a Subnet address or not ?
I mean If an IP is a Subnet address last byte will always be 255 right ?
 
Oh god, I realized my mistake. It's bad, and I should feel bad.
 
@Borgleader 'cos i is OOB when it reaches 5?
 
That's half of it, I tried something else and used i instead of index. But the real mistake was, I reserved space for 4 functions in my vector, but still used push_back instead of assigning to indices 0..3
So it was actually failing on the first call
 
When you reserve, you have to use push_back.
 
Xeo
1:51 PM
Great, the two guys who wanted to discuss my application yesterday and wanted to get back to me today have some importent appointment today. ....
 
If you resize, you can assign via indices (but it's rather silly)
 
index += 0 lol
 
@CatPlusPlus: Reserved was a bad choice of words, I didn't actually call reserver, i created a vector with an initial size of 4
@kbok: I had to put something -.-;
 
@Xeo fun fun... Have you told them that you have another offer?
 
@Borgleader if(!(i%3)) index += 1;
 
Xeo
1:52 PM
@Borgleader index += (...)? 1 : 0;
@jalf I wanted to do that right now, but ...
 
@Xeo: Oh right, that's better.
 
@Borgleader outputFuncs[!(i%3) + 2 * !(i%5)](i);
 
that was nice. STL's mingw distro just unpacked, and apparently no boost or other extraneous stuff. and it works, g++ 4.7.1 up and running
so, now alf with cutting edge c++11 support, yay!
well, apart from clang. i'm not touching that.
also, the sun is shining
 
0
Q: Interface is inaccessible?

fogbitclass InterfaceA { public: virtual void f () = 0; }; class A : private InterfaceA { public: void f () {} }; class B : public A { private: /*::*/InterfaceA * m_a; // Adding "::" makes it work }; GCC and VS2008 say ‘class InterfaceA’ is inaccessible. If i declare m_a with explicit gl...

interesting
 
what kind of idiot writes "assumed (ASS-U-ME)" to the clc++m moderators?
and calls himself Baal?
@LuchianGrigore lemme look
 
1:57 PM
Ba'al was my favourite Goa'uld.
 
@R.MartinhoFernandes Any particular clone?
 
@R.MartinhoFernandes: LOL
 
sbi
@Cheersandhth.-Alf You can put your shining sun where the sun doesn't shine! I'm sitting in an office, FFS!
 
0
A: Interface is inaccessible?

Cheers and hth. - AlfWell, yes, the inherited names are added to the class scope. But as I recall there are some subtleties. Look up old clc++ discussion if especially interested in them (or ask there, because as I recall Victor Bazarov knew all about that, and he's still active there, I think).

^ I think that is a clear answer. However, this is SO. So, what strikes you (the reader) as unclear, impossible to understand?
 

« first day (711 days earlier)      last day (4242 days later) »