beeseven
Members-
Content Count
628 -
Joined
-
Last visited
Everything posted by beeseven
-
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.
-
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}
-
Hosting Unsuspend Request one thread to resolve your suspension
beeseven replied to elevenmil's topic in Web Hosting Support
Suspended without going below 0, had more than four credits for a while, still not unsuspended, etc.URL: beeseven.trap17.comCPanel Username: beeseven -
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.
-
Woman's Arms And Legs Amputated hospital wont say why.
beeseven replied to beeseven's topic in General Discussion
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. -
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.
-
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.
-
Woman's Arms And Legs Amputated hospital wont say why.
beeseven posted a topic in General Discussion
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. -
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.
-
Can I Cast A String As A Class Object? Using java.lang.Class
beeseven replied to beeseven's topic in Programming
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. -
Weirdest Thing You've Eaten Frogs and locusts for me...
beeseven replied to callum's topic in General Discussion
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! -
Can I Cast A String As A Class Object? Using java.lang.Class
beeseven replied to beeseven's topic in Programming
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. -
Run Internet Explorer From Command Prompt Windows Tips
beeseven replied to delivi's topic in The Internet
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). -
Can I Cast A String As A Class Object? Using java.lang.Class
beeseven replied to beeseven's topic in Programming
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. -
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.
-
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.
-
I have two computers that are actually in use. This one's 55 (60?), I think the other is 80.
-
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.
-
Multiple Classes In Html you can use more than one at a time
beeseven replied to jlhaslip's topic in General Discussion
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! -
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."
-
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?
-
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.
-
What are you trying to include? Did you accidentally chmod the file's permissions really high?