Page 1 of 1
What does MySQL error Mean?
Posted: Thu Aug 11, 2005 5:21 pm
by CottonCandy
Every time I attempt to post under the Online Shopping Topic, it says this!

wtf?

Its the only topic I've had trouble with today. :pissed:
What does that mean? Does that topic have a Bug? It also says:
DEBUGMODE 
Re: What does MySQL error Mean?
Posted: Thu Aug 11, 2005 6:55 pm
by StragOvariuS
its an programation error.
you know, all are codes that made the functions, so, maybe its needed check the codes to see where is the error. thats why of the DEBUGMODE.
Well...according to the Strago-info. methods.

Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 12:27 am
by Shurik
for(i=1;;i++)
printf("I hate programming!!!!");
Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 2:47 am
by CottonCandy
I don't know what the Fuck is going on, but Asamandra posted there, but I cannot! :pissed: It keeps saying that shit every time I try to post under that 1 Topic! :pissed:

Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 3:43 am
by StratoHeart
MySQL Error means an internal error in the forum database, it's not exactly a programming error since MySQL is not a programming language.
Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 4:35 am
by CottonCandy

Well, whatever it is, it sure is weird--the way its working!

Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 2:58 pm
by StragOvariuS
Shurik wrote:for(i=1;;i++)
printf("I hate programming!!!!");
hehehe...not only you...

Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 7:51 pm
by Shurik
I had to do one programming course in university - Introduction to C language, and passed it only by luck, memorizing the only recursion I remotely understood (calculating the length of string). I was lucky and this recursion function appeared in final exam ...
Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 8:00 pm
by StragOvariuS
i left university when we were entering on pascal, i felt pissed and said no. on school same thing, i had to change the technical subject, because i hate visual basic and similar ones.
Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 9:35 pm
by fifthtea_sausage
calculating the length of string
Oh cmon!
string subject;
ArrayList
;
int counter;
j=1;
for(int I = 0; i < J, i++)
{
Arraylist = subject.substring(i,1)
counter++;
if(i == " ")
j = i
else
j++;
}
}
I did this in about 30 seconds, and though it may have a few technical flaws, it is fundamentally correct. I mean with the counters/before&after the loop, I didnt use a compiler
You could of course not use an ArrayList and just use an array of a rather large length, and detect which element is empty based on the length of the word.
Re: What does MySQL error Mean?
Posted: Fri Aug 12, 2005 11:54 pm
by Shurik
And now try to do it using recursive function

What language was that, BTW? C++?
Oh cmon!
Sorry, I'm not a programmer. I'm studying materials engineering and physics, didn't feel much need in programming untill 4th year ... I don't need C language to solve Laplace equasions or calculate deflections of beams

Re: What does MySQL error Mean?
Posted: Sat Aug 13, 2005 1:58 pm
by NordicStorm
char s [] = "foo";
int b = stringLength(s,0);
...
int stringLength(char* string, int i) {
if (string
== 0) return i;
else return stringLength(string,++i);
}
Not sure why you would want to use recursion in this particular case, other than perhaps to demonstrate the concept of recursion 
Of course, if you want to use C++, it's a bit simpler (and non-recursive):
string s = "foo";
int b = s.length();
But C as a beginner's programming language...that can be quite the challenge, I imagine.
Re: What does MySQL error Mean?
Posted: Sat Aug 13, 2005 3:06 pm
by Shurik
But C as a beginner's programming language...that can be quite the challenge, I imagine.
I had some experience with programming (Pascal in school 10 years ago) so it wasn't a completely new concept for me, but I know people who didn't have any experience whatsoever and they suffered quite a lot ...
IMO it would much more useful to make a Matlab course because it is something I really need ...
Re: What does MySQL error Mean?
Posted: Sat Aug 13, 2005 3:11 pm
by CottonCandy
Re: What does MySQL error Mean?
Posted: Sat Aug 13, 2005 4:31 pm
by StratoHeart
I made my final test at the university using Delphi and InterBase, but now I'm making a software for the PDC where I work in using Java and MySQL, and surely it's worth using this tools. I really tried to use C++, but I realized that maybe 1 programming line in Delphi (or Java) could mean 10 (or more) lines in C++, especially in the development of GUIs. So I agree when NordicStorm says C it's a challenge for the begginers.
However, the programming logic is the same for every languages you use.
Do you guys like Java?
Re: What does MySQL error Mean?
Posted: Sat Aug 13, 2005 7:29 pm
by fifthtea_sausage
And now try to do it using recursive function
What language was that, BTW? C++?
The syntax was indubitably wrong, but the basic premise of that was C#.
@Nordicstorm: Yes, the whole premise of this was to demonstrate a recursive
function /b].
Of course, if you want to use C++, it's a bit simpler (and non-recursive):
string s = "foo";
int b = s.length();
Oh shame on you! When we say calculate the length of a string doing MessageBox.Show(string.length) or something of the likes of that is unacceptable
You have to calculate it with the substring method, i take it.
Re: What does MySQL error Mean?
Posted: Mon Aug 15, 2005 7:15 pm
by NordicStorm
Shurik wrote:IMO it would much more useful to make a Matlab course because it is something I really need ...
You use Matlab too eh? I've used it extensively in a couple of courses (primarily signal processing and control engineering).
Though my experience is the opposite - we've received quite detailed instructions in Matlab, whereas you pretty much have to teach yourself C...
StratoHeart wrote:So I agree when NordicStorm says C it's a challenge for the begginers.
However, the programming logic is the same for every languages you use.
Do you guys like Java?
I was primarily thinking of things like pointers and manual memory allocation - not difficult concepts to be sure, but probably more grief than a new or inexperienced programmer needs - I'd go with for example Java as a more apt first language.
I like Java, I use it mostly when my programs need a GUI (of course, I usually end up spending more time on tweaking the GUI than the actual functionality of the program, heh). Well, that or C# if I'm allowed to confine myself to Windows platforms.
fifhtea_sausage wrote:Oh shame on you! When we say calculate the length of a string doing MessageBox.Show(string.length) or something of the likes of that is unacceptable

You have to calculate it with the substring method, i take it.
Well yeah, but it strikes me as a bit silly and not at all pedagogical that you'd be allowed to call the Substring method in the string class, and not Length?
Although, if I desperately had to do it and C# was my language of choice, I'd just call the individual char elements in the string until I get an IndexOutOfRangeException.
Re: What does MySQL error Mean?
Posted: Mon Aug 15, 2005 9:29 pm
by Shurik
You use Matlab too eh?
I'll have to use for a project in biophysics, to do a simulation of biological system growth ... It involves solving a system of differential equasions (diffusion equasions) and then some sort of visualizing of the solutions ...
Re: What does MySQL error Mean?
Posted: Tue Aug 16, 2005 1:34 am
by StratoHeart
"of course, I usually end up spending more time on tweaking the GUI than the actual functionality of the program, heh"
That's the curse of all programmer... but anyway, I think it's worth. Users are supposed to ignore some exceptions if they have a beautiful interface to interact with.
