« first day (1597 days earlier)      last day (3344 days later) » 

user3010322
9:06 AM
@ParkYoung-Bae Got it. That seemed to do the trick, but I'm sure Rapptz isn't gonna be happy about me making already messy bits messier. .-.
 
I'm afraid you have no choice
 
user3010322
Curse VC++.
 
user3010322
One day, I will be free of its tyranny.
 
As long as VC does not understand the this keyword in trailing decltype context, you have no other choice but spelling the class name.
 
you could always, not use Vcrap
I guess really I should avoid swapping between textures and favour using an 'atlas' or 'map'... equally I should probably wait for that to be a problem...
 
9:29 AM
@ThePhD You know me so well :')
I am going to teach my chickens to swim one of those days
 
Xeo
9:45 AM
@StackedCrooked: Hot damn that A/Z episode.
 
user1804599
9:56 AM
@Sean This answer presupposes that the user is incapable of or not willing to writing the code they are asking for. Furthermore it does answer the OP's question while still not spoonfeeding them the solution. — Park Young-Bae 1 hour ago
 
user1804599
lol
 
Am I the only one who think this picture looks like as if her fart has exploded from behind?
and she looks so relieved from expel the wind?
 
good morning everybody
@BartekBanachewicz: I actually took a moment to recall my existing commitments, and edited my thingie on the doodle.
 
@chmod711telkitty How did she manage to fart through the bus though?
 
@FredOverflow Armour piercing farts.
 
10:07 AM
maybe she used c++?
 
@Puppy lol
 
Bad title of the day:
0
Q: ANDROID VOICE RECOGNITION FOR BLIND PEOPLE

parag vernekarI am developing an android app for blind users... This app will do three basic things through voice i,e: 1]CALL-this should fetch the contacts from the phone contacts through speech input and make a call to specified contact input. 2]MESSAGE-this should fetch the contacts from the phone contacts ...

 
user3010322
WHAM
 
user3010322
TESTS COMPILE AND RUN ON VC++
 
user3010322
I CAN USE SOL AGAIN \o/
 
user3010322
10:09 AM
Now I just need a luajit compat layer and the thing will be NECKBREAKINGLY FAST
 
@ThePhD Than you better insert some delays not to break a neck!
 
@thecoshman Yeah.
 
user3010322
Awww titterbits.
 
user3010322
std::tie doesn't mix/match values and references. :(
 
Xeo
Why should it
 
user3010322
10:15 AM
It shouldn't, I was just hoping to carry this one const c-array through as a reference
 
user3010322
Rather than letting ti decay to a pointer
 
Xeo
std::ref
 
lol array
std::array, dude.
 
user3010322
It's a string literal. :c
 
Xeo
then it's better as a pointer anyways.
 
user3010322
10:19 AM
But...
 
user3010322
But but... ;~;
 
god damn crappy c apis wanting function pointers
 
pull out a jit
 
if I have struct foo{ bar(){}; }; and I want to pass a call to aFoo.bar() to some function that wants function pointer... how best?
I believe thunking works, but is not 'good' and that better methods exist
 
user3010322
Create a thunk, or
 
user3010322
10:24 AM
if the callback takes a void* user data parameter,
 
does something in funcitonal exist to help with this?
 
user3010322
use some basic templating to type-safe transport and static_cast the type to a function called for you.
 
user3010322
And, no.
 
@thecoshman They don't really exist.
 
user3010322
10:25 AM
What's the signature of the function you're calling?
 
the only truly generic way to handle this is to invoke a JIT to create a new function that can delegate to the member.
otherwise, you will be looking at things like API-specific userdata arguments.
 
@райтфолд wtf?
 
or thread-local stacks of functions.
 
user3010322
10:42 AM
I hate variadics. :I
 
user3010322
Goddamn Schrödinger's Cat, given form.
 
Xeo
Great. I tell VS to not indent namespace content, and it does it anyways. Grrrr.
 
@Xeo you can't possible know what you want, silly
 
11:18 AM
@Xeo Perhaps another add-in is interfering that needs to be told (Visual Assist comes to mind)?
 
Xeo
Nah, it's a confirmed bug in VS
 
I don't see that bug though
 
Xeo
a regression since 2013 CTP4
currently updating my VS2015 to CTP6, maybe they managed to fix it in the meantime...
 
With so many wearables, why has no tech company ever created smart clothing that's under $300 which can keep people cool in summer & warm in winter
 
user1804599
@thecoshman what?
 
user1804599
11:25 AM
You can't store two pointers in a single pointer, so you need to add more indirection to solve the problem. This is what that does.
 
user1804599
 
imma order food
 
maybe some soup
 
wat
how is this grouped?
 
user1804599
11:28 AM
Does it matter? Never nest ternary operators in any language.
 
Yes, it matters, because I don't understand it.
 
user1804599
ideone.com/rrO1Yb there you go
 
@Jefffrey at first I thought that was supposed to be an array
 
user1804599
> As of PHP 5.5 it is possible to array dereference an array literal.
 
user1804599
oh, neat
 
Xeo
12:04 PM
welp, indent problem still not fixed on CTP6
 
order placed, now to wait for the food...
 
217
Q: For i = 0, why is (i += i++) equal to 0?

PeterTake the following code (usable as a Console Application): static void Main(string[] args) { int i = 0; i += i++; Console.WriteLine(i); Console.ReadLine(); } The result of i is 0. I expected 2 (as some of my colleagues did). Probably the compiler creates some sort of structure ...

lol nice
@AlexM. You could save a lot of money by cooking instead of ordering food.
 
I don't want to go out today
 
How to take integer input from the user, like this 312 and perform operations on separately on each digit. Like array[0]=3 , array[1]=>1 .
 
looks like there's a storm or sth gathering
even better that I did not go out
@FredOverflow looks like a white screen to me
 
int typedef const lol;
 
12:53 PM
google makes me think that nobody wondered whether cows enjoy petting or not before
 
@AlexM. IME, they seen to like their noses rubbed.
 
1:14 PM
@FredOverflow I can barely hear
 
1:34 PM
hmm
I really need two error messages
like, a "contextual" one for if you're viewing it in an environment, and a non-contextual one, for displaying when the user is not also live viewing that exact source.
 
oh man
I'm full
the soup was huge
 
You know what else is huge?
 
inb4 my dick
 
puppy's dick
 
lol
I got what was called "chocolate glory"
hoped it was lava cake with vanilla cream
was not disappointed
should really rename it to lava cake, less weird
 
2:00 PM
alllllrighty
this just in: Wide statement and expression analyzers should not throw.
 
> Quattro Formaggi
now owns Hotline Miami 2: Wrong Number
I want to play it now but I can't :(
only gets released in 9 days
 
2:14 PM
typedef int X;
int fun(X x, X X, X y);
                  ^
ParserError: X is not a type
finally
Hm, my error message is even nicer than gcc's :)
$ gcc lol.c
lol.c:2:19: error: expected declaration specifiers or ‘...’ before ‘X’
 int fun(X x, X X, X y);
                   ^
 
wait, why is it not a type?
Oh, because you are shadowing it
 
What does clang say?
 
this just in: starbound shields are officially awesome
 
user3010322
Sweet.
 
user3010322
Also, Shrodiadics suck.
 
@Jefffrey Is the clang executable named g++ now? :)
 
shit
 
$ clang-3.5 lol.c
lol.c:2:19: error: unknown type name 'X'
int fun(X x, X X, X y);
                  ^
 
still, the point remains: do we need more examples of better diagnostic messages from clang?
 
2:23 PM
$ clang++-3.5 lol.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
lol.c:2:19: error: unknown type name 'X'; did you mean '::X'?
int fun(X x, X X, X y);
                  ^
                  ::X
lol.c:1:13: note: '::X' declared here
typedef int X;
            ^
 
main.cpp:2:19: error: unknown type name 'X'; did you mean '::X'?
int fun(X x, X X, X y);
                  ^
                  ::X
main.cpp:1:13: note: '::X' declared here
typedef int X;
            ^
 
Wow, that is nice. Also, clang uses colors. Cool :)
 
oooh an assault rifle
 
/usr/bin $ sudo ln -s clang-3.5 clang
/usr/bin $ sudo ln -s clang++-3.5 clang++
Is this the proper way to do things?
 
¬_¬ yeah... cameras tend to move around a lot more when you actually set a position for them
 
2:38 PM
Hello!!!
I found this code:
int ipow(int base, int exp)
{
int result = 1;
while (exp)
{
if (exp & 1)
result *= base;
exp >>= 1;
base *= base;
}

return result;
}
What does exp&1 mean?
exp!=1 or something else?
 
hi guys, i've a que in C# regarding progress bar . C# room sort a dry ATM. anyone willing to help? :) i can inv to private room ;)
 
whats c#
 
@geek007 ...then maybe ask it on the site?
 
i'll , if i couldn't find any solution with in few mins :)
 
2:52 PM
you won't find one any faster here
 
@geek007 Right, so that's why you spend a few mins asking a dozen people who use a different language, instead of asking on the website that has literally tens of thousands of experienced programmers in the language you want to know about
You should try that JS room
 
30
Q: Understanding the bitwise AND Operator

QcomI have been reading about bit operators in Objective-C in Kochan's book, "Programming in Objective-C". I am VERY confused about this part, although I have really understood most everything else presented to me thus far. Here is a quote from the book: The Bitwise AND Operator Bitwise ANDing is...

 
> But the human rights lawyer Clive Stafford Smith defended the "vital" work of Cage and denied they are apologists for terrorism. He said: "They do important work and the UK authorities need to understand that alienating moderate Muslims is the worst thing that could possibly be done at this time. I myself represent those said to be 'terrorists' and since Magna Carta, in 1215, we have presumed people innocent rather than guilty.
> If criticism must be levelled, it should be aimed at those who betray the fundamentals of our legal system by locking people up without trials, or just assassinating people with drones. Of the people who they said were the worst of the worst terrorists in the world, we have thus far demonstrated that at least 750 out of 779 were not - and that is a 96% error rate by the CIA and others.
> While I do not know enough about the individual cases of Mohammed Emwazi and Michael Adebolajo and their radicalisation, it is clear beyond dispute that when we jettison our principles we make ourselves hypocrites and hypocrisy is the yeast that ferments extremism."
Wow - sense! In the news! Of course, the rest of the article is quotes from politicians dismissing such logic and bleating about how incredulous they are at the mere suggestion.
 
@jalf thax :)
 
2:58 PM
Oh jesus
for (e : container) is being seriously considered
 
what's wrong with it?
 
Sure, why not? STL is driving the proposal, IIRC.
 
it's the only place where you can declare a variable without specifying either the type of auto
 
heaven forbid we attempt to do something different
 
Ah, excellent: it's not 21st November and therefore my entire year's French coursework isn't due in first period (i.e. at 9.20am). I was all panicky at having forgotten all about it, planning the best way to slot it in around everything else I'd have to catch up on today... until mere moments after waking up and realising that it not being 21st November was just one of many reasons that I probably shouldn't worry too much about it.
 

« first day (1597 days earlier)      last day (3344 days later) »