« first day (908 days earlier)      last day (4038 days later) » 

10:02 PM
@Zoidberg No, neither can it be used as a base class or inherit.
 
So, I got my MLP shirt.
 
You're crazy
 
@Pawnguy7 Wat?
 
Ah.
In XNA...
is there anything that would make it oddly slow?
 
@CatPlusPlus Tss tss
 
10:04 PM
Mud.
 
It seems like my game has input lag, but I don't know what it could be.
 
Mud on the keyboard.
 
@Pawnguy7 XNA is a very heavy-checked framework built around DirectX 9.0c.
So yes, it's slow. :3c
Also, what do you mean "Input Lag" ?
 
Like... for a button that does something on left mouse press
 
.... ?
 
10:05 PM
It triggers after holding the mouse over for... like four seconds.
 
XNA has no such thing.
 
No, I made it.
Using mouse state and position.
 
Then your code sucks.
I will bet $5 you're doing Mouse.GetState()...
Everytime you need to check.
 
Probably true.
 
Profile it.
 
10:07 PM
Is that method exceptionally slow?
 
No.
Just a thought.
46 secs ago, by Etienne de Martel
Profile it.
 
I was just wondering if it was my code or something else, because doing simply things seemed... oddly slow.
 
Your code.
Profile it.
Debug > Start Performance Analysis
CPU Sampling
Go go go
 
Express :D
 
=l
Go get Ultimate / Professional.
Then come back.
 
10:11 PM
I will try optimizing it. My question was mainly if it was my code or something else, given what I have seen. I will see if I can fix it up.
 
You're blind-fire optomizing.
You have no idea what's slowing you down.
You can very well end up fixing the right stuff,
or fixing crap that doesn't need fixing.
 
Well, some thing, like the keyboard state, that... well, if fixing that makes it slower, I have more problems than bad code :\
 
=l
 
Yeah bad profiling
 
Go fish yourself a copy of VS2012/10 Professional/Ultimate.
If you go to school, this should be as easy as going to DreamSpark.
 
10:15 PM
On a similar note, we finally got a VTune license at work.
 
VTune?
 
@ThePhD that condition is not fulfilled
 
Intel's profiler
 
Oooh.
 
@ThePhD A very good profiler.
 
10:15 PM
Shiny Intel.
 
Not to mention, for XNA I am using 2010, but I like 2012 :\
 
Expensive as shit, but hey. It can profile both native and managed code.
 
Woooaaaaaaah
 
@Pawnguy7 You can use it with 2012 if you do some tweaking.
 
Why are you using XNA anyway
 
10:17 PM
@CatPlusPlus We asked him this question already. He's hellbent on not learning OpenGL or DirectX or using SFML with C++.
For some reason.
 
Well, let him rot, then.
 
Use Unity? vOv
 
Lawlz.
Unity.
It's good, but I don't like it.
 
XNA is 32 bit only. It's unacceptable.
 
It's also dead
Coincidentally
 
10:18 PM
Yeah, what a weird coincidence.
 
@ThePhD you saw me trying to get SFML to work. I don't think I am capable :\
 
@Pawnguy7 Welcome to programming, where you troubleshoot problems you encounter. :3c
 
With that kind of attitude, it's not very surprising.
 
Ell
Hmm. Is there an open source profiler for GCC?
 
Note to self: Ignore questions which involve "union" and "raw pointer".
 
10:21 PM
@DomagojPandža :D
Unions. <3
<3 Cowboy Interpret. <3
 
@DomagojPandža haha, you are learning.
 
I'm going to write that.
cowboy_cast
Where it will cast a value using union.
 
@Ell gprof
@DomagojPandža And "C++"
 
@ThePhD True. But my attempt failed, and I figured, I probably should use it the way it was intended to prevent further tragedy.
 
@Pawnguy7 The tragedy of.. ... what, exactly?
@Rap is a SFML expert. Bother him.
@DomagojPandža Yeee Haw~
 
10:25 PM
You know, more things that don't work.
 
@ThePhD what are you doing D:
 
@melak47 cowboy_cast, from @DomagojPandža's answer about unions.
 
also known as ub_cast<> ?
 
Yep.
 
user142019
moronic_cast
 
10:31 PM
Because it is way too hard to actually have something typed and then just reinterpret_cast it to char* for your evil byte-level purposes which smell like shitty code even in theory, you have to rape the concept of unions.
 
Hey, I'm not the first one. <3
It's all but commonplace in the low-level frameworks of even DirectX.
 
Is there a problem with IDEs, if you make a line too long, that it will not show the line?
 
Scroll left and right?
 
@Crowz .....wordwrap?
@Crowz are you from the past?
 
Bad editors
I wouldn't be surprised if VS or Eclipse had problems like that
 
10:37 PM
I've never made a line with 5005 characters!
@CatPlusPlus Python IDLE
 
user142019
IDLE is bad.
 
IDLE is horrible
 
Lol.
 
Is there a better editor
 
Hm. It occurs to me, it is much better to only test one thing at once, then be fixing a bug, give up, and introduce more bugs without fixing the origional or cordoning it off :\
 
Ell
10:37 PM
5005 characters? Geez
 
@Ell Project Euler, there's a problem where you take 100 50 digit numbers. I assigned it to one variable and breaking it into pieces in code
 
@sehe's had a long day. :P
 
Politics! (also beer)
2
 
@ThePhD you're right
 
user142019
10:40 PM
 
user142019
Our project app is biased, I think.
 
user142019
And very bugged.
 
user142019
Or Microsoft is really doing it very poorly.
 
I can't tell what that's for.
 
@Zoidberg "It"
 
user142019
10:42 PM
@ThePhD It's an analysis of how positive tweeting people are about certain topics.
 
That reminds me.
 
In languages with dynamic typing, is there usually a way to tell what type it has assigned it to?
 
typeof or similar, perhaps
 
user142019
@Crowz depends on the language.
 
@Zoidberg python.
 
user142019
10:44 PM
 
I was talking to somebody who got a macbook pro. I asked them what they liked about it. They said that it had Steam... ... ...
 
@ScottW Delicious phalli.
 
user142019
R, why the fuck don't you display fucking line numbers in your fucking errors you fucking piece of shit.
 
@Zoidberg I thought you were responding to the robot.
 
Because no one uses R.
 
user142019
10:52 PM
@Mysticial lolno
 
Or, better yet, FUCKYOU.
(There's a really subtle message in that one)
 
user142019
Fred's language is called "WetDream". :v
 
Not really. To get the answer, one has to write a brand new C++ code, compile it, and then run it. This is a common question that people will commonly search for. No clear answer exists on the net. I have now done mankind a favor and facilitated the answer for the world to see. — user788171 46 secs ago
lol
This guy saved the world
 
lol
 
I like how Zoid posts everything he says here on Twitter.
"Just to be sure".
R, you would please me if you showed fucking line numbers in your error messages.
See?
BECAUSE SOME OF US MIGHT HAVE MISSED IT
 
10:56 PM
hi guys
is C faster than C++ by any chance?
 
:getout:
 
damn
 
user142019
@kaᵠ languages are not faster than other languages.
 
really... it must be the place to ask
 
user142019
Languages have no speed.
 
10:57 PM
I am now eating an orange. The apple I ate yesterday was faster.
 
sorry, compiled C code against compiled C++ code then?
 
NO NO NO NO NO NO NO NO NO. That is still way underspecified.
 
damn v2
 
Ell
Ka
 
(Hint: it will never be well-specified before you write two programs with the same behaviour and compile them yourself and run them yourself and test their time yourself; in the end you will reach the conclusion that... you wrote two programs)
 
10:58 PM
yes @Ell
 
Ell
The answer is they are both the same speed
 
user142019
@kaᵠ depends on the code and algorithms used.
 
Just come back from seeing Reginalad D Hunter, he is one hell of a funny man :D
 
thinking more about using one or the other for string manipulation
 
user142019
@kaᵠ use C++ (or Perl, even).
 

« first day (908 days earlier)      last day (4038 days later) »