@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> my car won't start...what's wrong
<0> don't you get it? we have nowhere near enough info to even guess what you ****ed up
<1> what info do you need ?
<0> what's it doing or NOT doing
<1> this is not related to code or what the application does
<0> how much you wanna bet?
<1> it is related to differences between an excecution from windows or from the IDE
<0> how much you wanna bet?
<2> veins|skool: You came here asking for help, and vawjr is trying to provide some. MAYBE you should let him decide which information you should, or should not, give him.
<1> ok read again and search what information he requested
<0> <0> what's it doing or NOT doing
<2> "[14:36] vawjrwrk: what's it doing or NOT doing"
<0> how abotu that one
<1> vawjrwrk: its not opening a door
<1> while it should be
<1> (a callback isnt called that is)



<0> if you wanna **** around, fine, but I'm not going to try to elaborate on ALL the differences between the environments
<0> yoiu haven't even said whether you're starting your program by double-clicking or from a console
<1> double-clicking
<0> you havent' said if you've told the IDE that there are some "command arguments" when you run it
<1> nope
<0> you want me to continue telling you what you haven't told us that we might need to know?
<1> well that would help me more to know the right procedure rather than a comment about uselessness
<1> brb
<0> why do you believe that you have all of the required DLLs in the search path wen you move the program? or are you leaving it where it is and using exporer to click on it
<2> I wouldn't like to be an incompetent coder working with vawjr. I'd be afraid to get hurt. =P
<0> you wouldn't be incompetent for long
<2> Hehe
<3> how do I use this to reffer to the cl*** itself that called the function instead of the member functions of the cl***?
<2> tux1: REphrase that, please? o_O
<4> NEED VISA CC NUMBER // HAVE PAY PAL & ROOT !!! QRY ME !!!
<2> ... Huh... Que?
<0> maybe it's time to start sending EMails to abuse@ the isp when guys do that
<5> do you think it will help?
<0> dunno
<5> orly
<6> vawjrwrk: Sorry was AFK earlier
<6> I was curious about one thing, would you check every tile from the king if it has a peace, and check if it can check the king, or would you just loop thru the pieces on the board and check if they can check
<6> I'm wondering which option would be better
<0> I'd loop through the opposing pieces and see if they have the king under attack
<0> that's only 16 things to test
<7> www.temsys.de.vu
<8> Icewolf, I answered that (same as vawjrwrk) at least 3 different days already
<6> ?
<6> I just figured that way out today
<6> Looping tiles from the king
<2> Icewolf: Your energy would eb better spent optimizing the searches within each pieces rather than what you'Re doing now.
<9> Icewolf : it's not very important, either would do
<6> making it work is the easiest part, but doing it with best performance is what i'm trying to do now
<8> Icewolf: no you haven't, look at your logs, or get a brain with more than 3 hours of memory
<2> 16 tests aren'T much if you make each test go fast.
<2> And fi these tests are fast, I'm pretty sure you'll find use for them elsewhere, too.
<0> Icewolf you really ought to make your program correct first
<6> ok
<6> sorry Ashe`
<6> I've really got to listen this time
<0> **** THE BEST PERFORMANCE until your program is correct, and it's NOT correct
<0> doesn't matter how fast it is if it's wrong
<6> that's what I'm about to do now
<2> My program crashes faster than yours! *jumps with joy*
<6> hehe
<10> what's the complexity of the stuff you're doing?
<6> talking about my stuff?
<10> whoever is trying to optimize
<8> O(muchmuchmuch)
<10> O(n^3) ?
<11> even better, "My program gives the wrong result faster than yours!"
<6> well, I'm currently using GDI to draw the board and pieces.
<6> GDI+ to be specific
<10> oh, just like make a BMP or PNG to use for the background
<6> yeah
<6> each tile,
<6> I draw them once into mem, then use it over and over
<10> no, the whole board...
<9> Icewolf : while it's slow, hopefuly your program would spend most of the time checking the moves and not drawing
<6> exception: I made the drawings take little as no resource



<9> Icewolf : do you write AI or only a gui for two human players chess ?
<6> the main thing is, whenever you move a piece you hold over a tile, it shows green or red rectangle whether you can p*** him there, and each time I do that I'd have to loop thru 16 pieces to see if there will be a check and stuff
<6> exception: none AI, but I plan to add mp
<10> you should only have to do the check when you move the mouse while the key is down
<9> Icewolf : looping over 16 pieces would take about 1 microsecond on a modern computer
<6> yeah
<6> I only do the check whenever the mouse enters a new tile
<10> that too
<10> wait... you can just check the one tile when you move the piece over it
<9> and for a human perception, anything below 10 milisecond is "instant"
<11> jsaacmk: you have to check both source and destination squares for each considered move
<10> ah, that is true
<0> at 75Hz it would take longer than 10msec to display
<9> is it a phone or a handheld we're talking about ?
<0> neither
<6> hehe
<9> 75Hz refresh rate ?
<6> I really don't know why, but from day one I started programming, I can't stop until I know I have the best performance
<9> it's unavoidable, no matter how fast you draw
<11> increasing performance is a good goal, but it must be secondary to correctness
<6> that is true, like vawjrwrk has been saying to be
<6> 1. Make it work 2. Think about performance
<6> *to me
<9> Icewolf : get mike abrash's black book. It's rather old, but the general ideas about optimization are the same
<11> you must think about performance to a small degree when making it work, just don't micro-optimize
<6> yeah
<11> optimization = "Premature optimization is the root of all evil" -- Donald Knuth. "On the other hand, we cannot ignore efficiency" -- Jon Bentley. see http://www.tantalon.com/pete/cppopt/main.htm for starters.
<9> 1. make it _correct_, while not ignoring performance completely 2. Tweak it to be faster
<11> and often 2 isn't required :P
<6> yeah
<6> It would be fun to add some simple AI though, using some tree system
<9> Icewolf : you won't have enough ram for such a tree
<6> hehe
<11> Icewolf: what device are you targetting?
<6> normal pc
<12> ugh
<12> people are infuriating.
<12> my friend's response to that video, "Who cares, as long as it's not happening to me."
<11> what video?
<12> http://www.two--four.net/Closet/BerdooShooting.wmv
<0> Noidea yes, it's distressing
<12> http://www.two--four.net/weblog.php?id=P2116
<13> hi im looking for information related VTK
<12> it's becoming common practice across the country for all warrants to be served by SWAT teams
<0> that sounds vaguely familiar, what is it?
<12> using middle of the night, no knock raids
<12> for people with no history of violence
<13> visualization toolkit
<0> that's gonna cause a couple of people to be dead if they do that at our house
<14> how so ?
<12> all they look for is whether or not there are any registered gun in the house
<12> that's justification enough.
<12> It's not uncommon for them to shoot family pets to keep the quiet while they're doing these raids.
<12> the Corey Maye case is really disturbing.
<12> The guy is on death row after cops busted into his house unannounced and he shot one of them.
<0> TechRaven well, anyone w/ a ski mask running into my house in the middle of the night is gonna be facing .357 magnum bullets aimed at the head
<0> I suspect I won't survive the encounter, but I'll bet I can get a few before they get me
<0> what ****ing jury convicted him?
<3> my question is how do I use the this->
<12> it looks like he's going to get a retrial, after all the media attention now.
<0> there's 12 people that as Sam Rayburn would say "need killin' "
<3> to reffer to the actual cl*** instead of the cl*** member functions
<0> tux1 you don't
<0> you use *
<12> but, it's not terribly uncommon for these guys to get the wrong house
<0> understood
<11> tux1: this-> is implied in non-static methods of the cl***
<12> or to shoot innocent people
<0> much more than armed citizens do
<11> tux1: you'd only need to use it if a local variable or a parameter shadow members of the cl***
<14> vawjr: you honestly think if a swat team breaks into your house, that you'd be able to take one out?
<0> TechRaven **** yes
<0> the gun is next to my bed, loaded
<15> vawjr is really Chuck Norris


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#linux
#linux
#linuxhelp
#linux
kos ommak
#windows
#AllNiteCafe
nforce4/667win2kxp32.zip
What city is home to the famed Manneke Pis fountain ?
#mirc



Home  |  disclaimer  |  contact  |  submit quotes