Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!
You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!
I kinda skimmed through this one after watching the first 15-30 seconds, and sure enough it was the same thing throughout. The Falco probably should have stopped laser camping once he was down a stock and changed to actually approaching...
Fair enough; the thing is, I wasn't expecting to be doing all of the XML coding. However, it's not a big deal, I already started working on it yesterday with the help of some classes I'd already written for some other projects.as for DTD's and XS (xml schema), i didn't know you thought it would auto-generate code... it should start throwing you errors if you try to add the wrong tags, and I don't know how you could possibly auto-generate the content anyway, it's not like you're writing loops and stuff... xml is pretty short-hand to begin with..
i think of them more as a road map... it is exactly as mike said, a way for anyone to be able to use our XML, and for our sanity when trying to debug lol
I thought it was common knowledge that rain sucks o_ORain (the Falco) is supposedly Japan's top player. >_>
http://www.artima.com/cppsource/xml_data_binding.htmlas for DTD's and XS (xml schema), i didn't know you thought it would auto-generate code... it should start throwing you errors if you try to add the wrong tags, and I don't know how you could possibly auto-generate the content anyway, it's not like you're writing loops and stuff... xml is pretty short-hand to begin with..
It's ok, like I mentioned, I already started on it.i can do the xml coding... it's not very hard... <tag>content</tag>... it's just writing / reading a file... no? i do so much xml generation in PHPt that I just assumed the generation of the xml was on your end, sorry...
Wow, that guy got crushed despite using banned Ubers, lol! Winning that $50 sounds like it'll be pretty easy. If you want total soul-crushing defeat, pick up Falco for his Wolf, and CG->death him every stockI thought it was common knowledge that rain sucks o_O
I saw that video a while ago and remarked on it one smashfest saying that japan sucks and that Randy's Falco is better than their best player who mains Falco.
Anyhow, story time!(! Not important. Read if bored. !)
<epic Pokemon destruction>
Happy ending? Of course. I commented that Mewtwo and Giratina are Uber tier and that he wasn't playing by the agreed upon rules to which he responded 'tiers r 4 queers'. I then asked him if he plays brawl. He says yes and that that is something I'd never beat him at. I ended up challenging him to a 50$ brawl money match after he said that metaknight isn't that good and that he mains Wolf and Lucas.
That's a pretty good idea; makes things much simpler. I'd try it out if I were using C++, but unfortunately I'm nothttp://www.artima.com/cppsource/xml_data_binding.html
I only brought up code-generation as a theoretical extreme to data validation; where the schema is the contract, and the code is guaranteed to accept only documents that could be deemed conformant by any correct validator. I'm nervous enough that without such a strict static-time coupling between my code and the schema, I can't trust a validator to be the only screen before strings from the document are snapped into my data structures. But I'm very, very nervous
also: amazing story ariel :D
Amazing story, love good ol cocky noob/scrub ****** stories. Passing the ds to your friends girlfriend was hilarious and a very good comeback taunt. Were the pokemons you used the same ones you showed me the other time with the crazy names like *** hairs?I thought it was common knowledge that rain sucks o_O
I saw that video a while ago and remarked on it one smashfest saying that japan sucks and that Randy's Falco is better than their best player who mains Falco.
Anyhow, story time!(! Not important. Read if bored. !)
My closest friend was in class and overheard a nerd leader saying to his nerd lackeys how he is awesome at every game ever ever and somehow pokemon was mentioned. My friend approached and told him that he knew someone(me) who was better. The nerd was appalled and sent a challenge to me. I accepted and today I went to my friend's school. I am not sure how familiar everyone is with pokemon but I am sure the concept of **** is universal. It went like this:
1st turn - My Miltank was faced against a Giratina(WTF UBER). I set up stealth rock(a damaging field effect whenever he sends a new pokemon in). He did an attack(Earth power) that my Miltank shrugged off.
2nd turn - I switched to my Salamence(a dragon) and since it's part flying, earth power didn't affect me.
3rd turn - I used Draco Meteor(super powerful). He was taunting me saying that his next move would destroy me. His Giratina never had a 'next move'. After it dies he sends out Gardevoir(garbage).
4th turn - I switch to Jirachi(Steel/Psychic). He continues to taunt me saying that was a poor move.
The rest of the game - My Jirachi used calm mind(stat upping move) twice, then wrecked him. Note that his Gardevoir did almost nothing to me, and what it did was healed off with leftovers. His team also had a Mewtwo which came after Gardevoir. I don't know the rest of his team cause after I killed the Mewtwo I gave the game to my friend's girlfriend and told her to 'push the yellow button repeatedly'. That was my counter-taunt. He got 6-0'd.
Happy ending? Of course. I commented that Mewtwo and Giratina are Uber tier and that he wasn't playing by the agreed upon rules to which he responded 'tiers r 4 queers'. I then asked him if he plays brawl. He says yes and that that is something I'd never beat him at. I ended up challenging him to a 50$ brawl money match after he said that metaknight isn't that good and that he mains Wolf and Lucas.
tl;dr - I forgot to put on my boots when I went n00b stomping.
EDIT: Ah but Mike, I haven't played him at brawl yet. I look forward to CG'ing the **** out of him though. The only problem with it is that I have to play by his rules which are 5 stocks, no timer and with smashball. Doesn't sound too bad though, since I'll just CP castle seige/plaza. Besides, Luigi loves smashballs. If I get desperate though, I might just go Sonic and take off two stocks with one smashball.
Conerning Harold, he has a surprise new character for the PNDspecial offweekly.
But!
Can he see why kids love the taste of cinnamon toast crunch?
Da.mn straight! I vote Jigglypuff for T-Pain.So he paid that $50, right? That's a sexy story, Ariel. Who did you use? And how did his Lucas compare to Harold's? LOL
Edit: We should make a Pirate Ship / Rainbow Cruise combo video to "I'm on a Boat"
First things first; if you are writing methods for a class, and you have to call those methods from a test class, then you are using objects. A Testing class isn't anything special per se; it's just another class which calls the methods on your other class. So, in this case, you have the BallPacker class, which is probably in a BallPacker.java file. The test class would be in another file (let's say BallPackerTest.java for fun) and would be a separate class (following the previous example, BallPackerTest).Da.mn straight! I vote Jigglypuff for T-Pain.
No, seriously, should we make it a project?
EDIT: Also, I'm having trouble with a computer assignment, guys. Can you guys help me out? In Java, is there such a thing as a testing class, which you use to test other classes? Part of the mark is testing, given here: - testing 3 marks (1 mark for proper definition of the testing class, 2 marks for having at least 6 different testing cases in a text file) does she just want me to test it, or is there something offical?
We aren't using objects in these programs, btw. They are really easy, questions. I'll post them below
1. Write a method for a class called BallPacker that prompts for three ints (one at a time) representing the dimensions of a box and a float that represents the radius of a ball. Then compute the number of balls that would fit in the box. Display the results in the Java console. Be sure to test your code with many different box and ball sizes. Assume that the balls are only stacked on top of each other neatly
2. Write a method for a class called CashRegister that prompts for five prices represented as double values and computes the bill, displaying the SUM, PST, GST and Total in the Java console. Make sure that you display the answer as follows:
Thanks guys!
Alright, that makes a lot of sense. It's another file then. What format do I put the test senarios in and how do I get the test class to call the method?First things first; if you are writing methods for a class, and you have to call those methods from a test class, then you are using objects. A Testing class isn't anything special per se; it's just another class which calls the methods on your other class. So, in this case, you have the BallPacker class, which is probably in a BallPacker.java file. The test class would be in another file (let's say BallPackerTest.java for fun) and would be a separate class (following the previous example, BallPackerTest).
The test class would have to call methods on BallPacker and check that they did what they were supposed to do. For the first question, the test class would call the method which takes in the three ints, then checks the result to make sure it's correct. If it isn't, it could print a message saying that something went wrong.
I can't really say what 'format' you would be putting them in...it depends on what you need to test. As for how to call it, somewhere within your test code:Alright, that makes a lot of sense. It's another file then. What format do I put the test senarios in and how do I get the test class to call the method?
Oh, and Thanks btw. This helps me out a lot.
There are still some things I don`t understand. Where do I put the imput for the method? Do I put some numbers in one of the sets of brackets that I'll know the answer to and check to see if the correct answer comes out? Or does the imput and output work like normal for the method? If so, what is difference of making the test file and simply running the program?I can't really say what 'format' you would be putting them in...it depends on what you need to test. As for how to call it, somewhere within your test code:
BallPacker bp = new BallPacker();
int someReturnValue = bp.yourMethodHere();
// check if someReturnValue is ok here
I hate to be a stickler but you dont need objects to run static methods. Since he said no objects I assumed he was creating static methods. But other wise yes if these methods are not static than you need to instantiate the object as you did in your next post.First things first; if you are writing methods for a class, and you have to call those methods from a test class, then you are using objects. A Testing class isn't anything special per se; it's just another class which calls the methods on your other class. So, in this case, you have the BallPacker class, which is probably in a BallPacker.java file. The test class would be in another file (let's say BallPackerTest.java for fun) and would be a separate class (following the previous example, BallPackerTest).
The test class would have to call methods on BallPacker and check that they did what they were supposed to do. For the first question, the test class would call the method which takes in the three ints, then checks the result to make sure it's correct. If it isn't, it could print a message saying that something went wrong.
lets assume your Ballpacker method simply adds two values and has the following signature.There are still some things I don`t understand. Where do I put the imput for the method? Do I put some numbers in one of the sets of brackets that I'll know the answer to and check to see if the correct answer comes out? Or does the imput and output work like normal for the method? If so, what is difference of making the test file and simply running the program?
Should I set up an if statement to check if the answer is correct for me? Do I call the main multiple times if I want do 6 or more test cases? Do I need to change the imput parameters of the method for the test?
Sorry about all the questions, but I'm confused, and my lecture notes are of no help to me.
<Warning: useless argument, ignore if you are not Orlando>I hate to be a stickler but you dont need objects to run static methods. Since he said no objects I assumed he was creating static methods. But other wise yes if these methods are not static than you need to instantiate the object as you did in your next post.
Seriously; read his old posts from before he was posting one liners in the Ottawa threads, it's like a whole new Moses. He said he'd be back though, I think he's just posting stuff for the lulz.Wait so... did Moses leave our smash community permanently?
EDIT: Don't catch swine flu Cam!
I agree with everything you said. I was just pointing out that you need to create objects in order for the program to work.<Warning: useless argument, ignore if you are not Orlando>
The assignment wording specifically asked for a test class; even if you're using static methods, you have to be somewhat aware that you have another test class so that you can call the static methods on the first class. In the example code I gave, the method calls on the instance would have to be replaced with the class name (as you already showed below), so it's kind of the same in the end. BallPacker.add(...) is still confusing if you don't know how the objects work, regardless of whether it's a static method or not.
Java is an OO language; everything derives from an Object class. It seems counterproductive to use Java and then pretend that objects don't exist.
</useless argument>
Uh...just so everyone else has something to read...
I played my first Ultimate league game tonight (ie: outside), and it was very wet and cold. It got so cold that my breath started freezing towards the end. I actually made hot chocolate for myself when I got home, even though it's ******* June. On the upside, I had the seat on the bus home to myself, because no one wanted to sit next to me due to being all wet I'd better not get sick before Not Genesis because of this