| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> m2? <1> well, actually now i have to fill my stomach, but thanks for your time everyone <2> two bodies with m*** m1 and m2 <3> rofl <2> calchas: :) <1> calchas: i was told to avoid if tests <3> troll of the month award <4> amen to that <2> calchas: thx <1> and instead use the state concept <1> which should result in a new cl*** <0> so if both m*** is the same and velocity they are in balance? <1> to somehow help/handle the matter <2> Rob_uknow: sum of products is same before and after collision <5> er, how did we move from state machines to vector calculations <2> Rob_uknow: same goes for cinetic energy
<3> Insty time for you to go and feed, goodbye <6> it's conservation of momentum <0> Insty, you are the weakest link <1> wlfshmn ask wolfey <2> Rob_uknow: so suppose you know m***es and initial velocity vectors <1> Rob_uknow? <2> you have two equations, for momentum and for cinetic energy <1> calchas yes thans <2> and you can calculate new velocity vectors <1> i mite comeback later <3> don't <0> I use this for collisions? <2> Insty: try my java game https://netlines.dev.java.net/ <2> Rob_uknow: two independant equations, two unknown variables, solvable <0> I played that game before <2> insty didnt <2> :) <2> and i will go play unreal tournament 2004 now, so long folks <2> bye ;) <0> ugh <0> it requires 1.4 <1> state padron? <1> "every object in java has it's state" ? <4> it does? <1> so i've just been told =.= <0> object holds state <4> go read the tutorial already. You claim you don't need indepth knowledge and the next you're contradicting that, its getting boring. http://www.thejavatutorial.com/ <4> maybe I'm looking at this in a different perspective but I fail to see the whole problem here. <1> Lion-O, it's not my claim, it's the discipline's objectives <1> and i am aware java has a number of capabilities we never explore <1> i believe it has to do with different teacher's view <1> while some mite not be very demanding, others mite be more into programming and invoke more troublesome methods <0> might <4> and magic ;-) <1> the main idea behind this whole state thing should be that it's both more effective and better pratice <4> ok, thats a silly joke ;) <1> oh splits <0> i've no idea what your teacher means <1> long time no see them <4> Insty: and how are you going to check the state of an object? using if...then routines? <3> Insty have you missed cl***es, as you are 1 month late? <4> Insty: http://java.sun.com/docs/books/tutorial/java/concepts/object.html <6> would this be the same level of 'best practice' that led a teacher to once tell me that you should NEVER fall through cases? <6> idiot! <1> hmm <1> i've just been told by a friend how the state thing works <0> and? <1> and it nowhere near excludes if's <0> can't wait <1> if you have an object with different behaviors <1> you do something like: if ( condition) do this; else (condition) do that; else do; <0> you break it up in multiple cl***es <1> then that code becomes a new cl*** <1> and you do something like have a newCl*** cl***; cl***.firstOperation(); <6> ew <1> if i got it correctely <4> Insty: are you sure you're not learning javascript? ;) <4> just wondering 8) <1> Lion-O, i would anwser "No, i'm not" ;)~
<1> finally i got it <1> it uses interfaces <1> like cl*** State, which then has an herance with specific states <1> each implements particularMethod() in it's on way <1> which is defined in the super cl*** <1> then the original cl*** implements the interface, having a state:State <1> defines the possible states as public final state 1 = newState1() <4> enough nonsense <1> actually no <1> the local state is private <4> Insty: cut it out, its starting to become annoying. <4> first and very final warning. <1> what? <4> Insty: your trolling <1> what is tolling <1> trolling <4> look it up in google and while your at it; cut it out in here <1> Trolling - Wikipedia, the free encyclopedia- [ Traduzir esta pgina ]Internet trolling involves a user making comments intended to provoke an angry ... <1> that couln't be further away from the truth.. <1> i was trying to share the info i came in here to achieve and have managed to get elsewhere <1> and you are being very agressive <4> don't bother. <1> i will not, as i will not judge this channel or everyone else in here based on your example. <3> Insty stfu <1> http://www.javaworld.com/javaworld/jw-08-1997/jw-08-stated.html, i think this explains it well <1> thanks everyone again. <7> hrllo <7> hello <7> small question <3> hi <7> whats wrong with this: <7> bot.RegUseruser = new bot.RegUser(); <7> i get this error message <7> No enclosing instance of type bot is accessible. Must qualify the allocation with an enclosing <4> relik: you don't create method instances, you create new cl*** instances. <7> instance of type bot (e.g. x.new A() where x is an instance of bot). <4> relik: www.thejavatutorial.com. Please read up on your basics FIRST. <7> its not a methot <7> its not a method <7> its a cl*** <4> not to mention the sheer fact that the pircbot documentation also tells you EXACTLY what to do. <4> relik: bull**** <7> RegUser is a cl*** <3> bot dot RegUser ?? <7> yes <4> relik: its specified as a method there <3> is the dot supposed to be there? <7> RegUser is a subcl*** <7> from bot <4> relik: as I said before.... <4> learn your basics <3> relik, don't do that (at least not yet) <7> calchas why not <7> i am a c++ coder <3> it's over complex <4> and unnneeded for pircbot appliances if I may add <7> i can't use sub-cl***es in cl***es? <3> don't nest cl***es that require to be used outside the enclosing cl*** <3> you are using it outside <7> ahhh <3> not in <7> so thats not allowed <3> it's stupid <7> well <6> you *can* do it if you set it up that way, but it's not recommended <7> i understand that it is not beautiful <7> the problem is <7> that you can define only one cl*** per file <3> so <6> rubbish <4> thats not a problem is used correctly <7> i would need a lot of files that way :/ <4> IF. hence my comment: learn your basics <6> you *should* only define one cl*** per file...makes life lots easier.. You can define more though
Return to
#java or Go to some related
logs:
idop linux #java #linux #AllNiteCafe #chatzone Zanadu was to the great Genghis Khan teens modeline virgin lekat tagalog #linux #linux
|
|