Computer Science Canada How come I get this error? |
Author: | Ambiguities [ Thu Dec 15, 2005 10:54 pm ] | ||
Post subject: | How come I get this error? | ||
How come this errors?:
Everytime i run it it reaches 1111111k and then gives the error: Get attempted on incompatible stream number 0. how come? |
Author: | Geminias [ Thu Dec 15, 2005 11:05 pm ] |
Post subject: | |
if you had error checking after netStream := net.openurlconnection you would realize that net.openurlconnection is failing, thus returning a value of -10. |
Author: | Ambiguities [ Thu Dec 15, 2005 11:08 pm ] |
Post subject: | |
why is it failing though that is my question. |
Author: | Geminias [ Thu Dec 15, 2005 11:11 pm ] |
Post subject: | |
actually i'm not a turing champion so i can't tell you how to fix this, also i think my turing is gay or something because whenever i use "google.ca" it crashes turing completely. Anyone know why my turing would do this? its version 4.03 |
Author: | Geminias [ Thu Dec 15, 2005 11:13 pm ] |
Post subject: | |
few possible reasons.. firewall is blocking the request for packets from the url. the url is non-existent. turing is gay. |
Author: | Ambiguities [ Thu Dec 15, 2005 11:22 pm ] |
Post subject: | |
i tried turning off all the firewalls so that is not the issue... |
Author: | [Gandalf] [ Fri Dec 16, 2005 1:36 am ] |
Post subject: | |
That's some program you have there... You shouldn't even be thinking about using the NET module if your program has so many if and for statements. Dang, there is something called "elsif". And your for loops... The horrid structure of your program looks like the cause of your problem. I have never seen more than 6 or so nested 'levels' of a program, at least this size. Look at some of the other examples in the forum for a better idea. I'm sorry I can't be of more help, but your code is hard to debug. |
Author: | Geminias [ Fri Dec 16, 2005 10:54 am ] |
Post subject: | |
yeah, i meant to say something about that also. You're code is 100% flawed. I mean, if you want help you have to conform to the standard so that it is possible for people to help you. If your a genious you can code however you want, and never ask for help. |
Author: | Tony [ Fri Dec 16, 2005 10:59 am ] |
Post subject: | |
The idea is flawed flawed flawed Because a) that's 62^8 combinations you're trying to go through and b) passwords are taken from POST, but you're trying to feed them through GET. Your bruteforce will not work. |
Author: | Geminias [ Fri Dec 16, 2005 2:21 pm ] |
Post subject: | |
it depends which website you are bruting though. Some, (insecure) will use GET. Since its a turing project, its best to nail down the logic at least aside from all the technical stuff.. but this program doesn't even have the logic |
Author: | Ambiguities [ Fri Dec 16, 2005 9:43 pm ] |
Post subject: | |
my teacher is to much of an iddiot to teach us how to properly code so don't make me feel like such an iddiot. atleast im trying |
Author: | [Gandalf] [ Sat Dec 17, 2005 1:59 pm ] |
Post subject: | |
Then learn from the [Turing Tutorials] section, especially following the order of the [Turing Walkthrough]. |
Author: | codemage [ Mon Dec 19, 2005 1:11 pm ] |
Post subject: | |
It's amazing how many people blame the language (usually Turing) when their code is incorrect. It might help to blame some other unrelated pieces of hardware as well. Give your monitor a good smack when you get errors. That'll set the dumb screen straight for not running things properly. |
Author: | [Gandalf] [ Mon Dec 19, 2005 4:37 pm ] |
Post subject: | |
Hehe. It helps if people understand that Turing is a sort of basic programming language, not a program. In a program you can almost always blame the software, in a programming langauge more often than not it is you who are making the mistake. |
Author: | Albrecd [ Mon Dec 19, 2005 6:06 pm ] |
Post subject: | |
But turing does have several "bugs." |
Author: | Albrecd [ Mon Dec 19, 2005 8:15 pm ] |
Post subject: | |
Quote: my teacher is to much of an iddiot to teach us how to properly code so don't make me feel like such an iddiot. atleast im trying
I find it funny that he spelled idiot wrong (twice in the same way so it wasn't just a typo) when saying that he wasn't an Idiot. ... Not that I can spell, but It's still funny. |
Author: | Geminias [ Tue Dec 20, 2005 7:37 pm ] |
Post subject: | |
LOL |