Jump to content
xisto Community

beeseven

Members
  • Content Count

    628
  • Joined

  • Last visited

Everything posted by beeseven

  1. In the ones you say you tried, you have single quotes around the subquery, but leiaah's code didn't. That could be the problem, because it's probably treating it that way as a string instead of a query.
  2. I don't know what exactly you mean by "sign and upload," but you can compile stuff from java like so: String s = JOptionPane.showInputDialog("What file?");Process p;try { p = Runtime.getRuntime().exec("javac "+s);} catch(IOException e) { //you can get the error somehow, check http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Process.html}
  3. Suspended without going below 0, had more than four credits for a while, still not unsuspended, etc.URL: beeseven.trap17.comCPanel Username: beeseven
  4. Yes, WoLf, sometimes things on the internet are hoaxes. MSNBC, though? Also, Not all other planets have less gravity than Earth. If the mass of this one is 5.5 times Earth's, then the gravity would be considerably more.
  5. But if it's bacterial, shouldn't it be treatable with some kind of medication? http://en.wikipedia.org/wiki/Bacteria%23Benefits_and_dangers seems to think so. Also, the chance that it's a hoax is decreased by the pictures/video/multiple news sources.
  6. I think you guys are being a little hard on him. Can you tell me, truthfully, that you've never made a bad decision? You probably haven't killed anyone, but everybody makes mistakes. Everyone does things wrong.
  7. http://forums.xisto.com/no_longer_exists/ A fourth-day EMT was playing around with defibrillator paddles and shocked a coworker as a prank. Defibrillator paddles are what are used to restart a person's heart if it stops (when the person shouts "Clear!" and shocks someone). Unfortunately for this guy, they can also stop a beating heart. The coworker he shocked, a mother of two, was unconcious for three days and then died. The maximum possible sentence (for involuntary manslaughter) is 10 years in prison.
  8. http://forums.xisto.com/no_longer_exists/ Just after giving birth, a woman was transferred to a different hospital- which then took off her arms and legs. They refuse to tell her why, and say she'll have to sue them to get the answer. They say she had some weird disease, won't explain how she caught it. She cites a law that says they have to tell her, they don't because it would supposedly violate someone else's privacy.
  9. http://www.nbcnews.com/id/11013519/?GT1=7538 Astronomers have found a new planet that they say is the smallest known planet not in our solar system. It's about 5.5 times bigger than Earth and its sun is about 1/5 the size of ours. It's also 28 000 light-years away. The article does not say whether they think that it could have any kind of life.
  10. Sorry about triple posting, but I think the search is over. After extensive research, I have found the answer to my problem in an official Sun Java tutorial. It uses the java.lang.reflect package and a couple other things. Here are some links related to it in case anybody wants them: The reflection (java.lang.reflect) API Using no-argument constructors for unknown classes Using constructors with arguments for unknown classes Getting a Class object knowing the package and name of the class you want I guess this topic can be closed now.
  11. Calamari isn't really weird, but it's good. Also, the food coloring cochineal (https://en.wikipedia.org/wiki/Cochineal) is made from bugs found on cacti!
  12. I've thought of something else, I doubt it works but I'll test it. I'll put it here in case anybody else is working on this and maybe it will help him or her. Since the getClass method is in Object, could I possibly cast an Object to another class and then use getClass on that? Casting is usually done using just parentheses and the class name, but can you use parentheses and a String? Something like: Object x = new Object();x = ("String")x;So my question is, would that also work as a cast or just give some weird error/do nothing. As I said before, I'll test it, but maybe it helped someone.
  13. You can start anything from the command line. Try going there and typing "mspaint.exe" or "calc.exe" or "notepad.exe" and see what happens. If you want you can open a specific file by adding a space then the file name (the complete path or relative path).
  14. The point is that I need an object of the class "Class" (http://forums.xisto.com/no_longer_exists/). I can't use a constructor as you suggested because there aren't any. I just want to be able to take a String and use the class that's name is contained in the String- I won't know what it is, so it has to be able to work without knowing that. There'll be an input, then the program will use whatever class was inputted, but I can't just use an if/else if statement for three thousand classes.
  15. As you may or may not know, there's a java.lang.Class class which handles stuff that's pretty cool. You can use it to get the methods of a class, constructors of a class, etc. Anyway, I'm kind of interested in making a simple Java interpreter, and if I were able to cast a String that contains the name of a class into a Class object, it would make that project infinitely easier. The most obvious thing would be to use a Class object constructor, but there aren't any. So basically, I want to do something like this: String s = "System";Class c = (Class)s; //not sure if this worksMethod m = c.getMethod("currentTimeMillis", new Class[0]);long n = m.invoke(null, new Object[0]);//etc.I'm not sure if the line (that has been clearly labeled) works, though. If anyone knows if this does or doesn't work and can suggest an alternative if it doesn't, the help would be greatly appreciated.
  16. Are you using Quote+ or "Reply? "Reply takes you straight to the reply page with the text quoted, but I've never gotten Quote+ to do anything.
  17. I have two computers that are actually in use. This one's 55 (60?), I think the other is 80.
  18. If you make the form itself in a php file, then you could have something like this: <form method="post" action"[the file name]"> ... <input type="submit" name="submit" value="submit" /></form><?phpif($_POST['submit']){ //process the stuff}?>This will make the user come back to the form page. Also, having the if statement to check if the form has been submitted will make it so that the script doesn't process anything the first time the user enters the page.
  19. Wow, I thought I was good at CSS, and I didn't know that was possible. This will be very helpful in the future. Thanks!
  20. I didn't know that there was a standard for superlatives and file permissions, but I meant "high" as in "not even you have access."
  21. Are you kidding there are plenty of places for screens! Wouldn't you love to watch a video playing on someone's butt?
  22. Remember when hard drives were measured in megabytes? Wasn't that only a few years ago? What would you have said if someone had come to you and told you that storage space would be multiplied by over a million times in less than ten years?
  23. It's something about the Catholic and/or Christian church, and how they tried to downplay the role of women in society. It's just another thing that they did to try to make men the dominant gender. In some cultures (like Hispanic), the children take both parents names', but I don't remember the order of the parents' names or which of the mom's last names is used.
  24. What are you trying to include? Did you accidentally chmod the file's permissions really high?
  25. I'm a PC user, and I like my seven buttoned mouse >_> Well, it's technically only five, but the software lets me have two programmable button "chords" (combinations: one is left and right, the other is the two sides)
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.