What does MySQL error Mean?

Talk about everything else besides Stratovarius here in English. Please try to put more serious topics here, and silly topics in the Spam section.
Locked
User avatar
CottonCandy
Sr. Member
Posts:789
Joined:Mon May 30, 2005 5:15 pm
What does MySQL error Mean?

Post by CottonCandy » Thu Aug 11, 2005 5:21 pm

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 ???
http://www.sarini.net/archives/000271.html

I chose CottonCandy as my nick 'cause I'm sweet, soft, and pink!

Being "in the know" is not necessarily a good thing. ;)

User avatar
StragOvariuS
Sr. Member
Posts:950
Joined:Sat Jul 03, 2004 3:40 am
Location:Vittu tätä paskaa

Re: What does MySQL error Mean?

Post by StragOvariuS » Thu Aug 11, 2005 6:55 pm

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. :D
Churrasqueiro Reinassance!!!

User avatar
Shurik
Sr. Member
Posts:3774
Joined:Mon Mar 04, 2002 12:17 am
Location:Satellite Of Love
Contact:

Re: What does MySQL error Mean?

Post by Shurik » Fri Aug 12, 2005 12:27 am

for(i=1;;i++)
printf("I hate programming!!!!");
Chemistry is physics without a thought
Mathematics is physics without a purpose

User avatar
CottonCandy
Sr. Member
Posts:789
Joined:Mon May 30, 2005 5:15 pm

Re: What does MySQL error Mean?

Post by CottonCandy » Fri Aug 12, 2005 2:47 am

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: ???
http://www.sarini.net/archives/000271.html

I chose CottonCandy as my nick 'cause I'm sweet, soft, and pink!

Being "in the know" is not necessarily a good thing. ;)

User avatar
StratoHeart
Sr. Member
Posts:1324
Joined:Thu Jun 12, 2003 9:13 pm
Location:Sabáudia, Brazil
Contact:

Re: What does MySQL error Mean?

Post by StratoHeart » Fri Aug 12, 2005 3:43 am

MySQL Error means an internal error in the forum database, it's not exactly a programming error since MySQL is not a programming language.

User avatar
CottonCandy
Sr. Member
Posts:789
Joined:Mon May 30, 2005 5:15 pm

Re: What does MySQL error Mean?

Post by CottonCandy » Fri Aug 12, 2005 4:35 am

:err: Well, whatever it is, it sure is weird--the way its working! ???
http://www.sarini.net/archives/000271.html

I chose CottonCandy as my nick 'cause I'm sweet, soft, and pink!

Being "in the know" is not necessarily a good thing. ;)

User avatar
StragOvariuS
Sr. Member
Posts:950
Joined:Sat Jul 03, 2004 3:40 am
Location:Vittu tätä paskaa

Re: What does MySQL error Mean?

Post by StragOvariuS » Fri Aug 12, 2005 2:58 pm

Shurik wrote:for(i=1;;i++)
printf("I hate programming!!!!");

hehehe...not only you... :twisted: :wink:
Churrasqueiro Reinassance!!!

User avatar
Shurik
Sr. Member
Posts:3774
Joined:Mon Mar 04, 2002 12:17 am
Location:Satellite Of Love
Contact:

Re: What does MySQL error Mean?

Post by Shurik » Fri Aug 12, 2005 7:51 pm

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 ...
Chemistry is physics without a thought
Mathematics is physics without a purpose

User avatar
StragOvariuS
Sr. Member
Posts:950
Joined:Sat Jul 03, 2004 3:40 am
Location:Vittu tätä paskaa

Re: What does MySQL error Mean?

Post by StragOvariuS » Fri Aug 12, 2005 8:00 pm

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.
Churrasqueiro Reinassance!!!

fifthtea_sausage
Sr. Member
Posts:396
Joined:Sun Oct 24, 2004 7:26 am

Re: What does MySQL error Mean?

Post by fifthtea_sausage » Fri Aug 12, 2005 9:35 pm

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.

User avatar
Shurik
Sr. Member
Posts:3774
Joined:Mon Mar 04, 2002 12:17 am
Location:Satellite Of Love
Contact:

Re: What does MySQL error Mean?

Post by Shurik » Fri Aug 12, 2005 11:54 pm

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 :)
Chemistry is physics without a thought
Mathematics is physics without a purpose

User avatar
NordicStorm
Sr. Member
Posts:2174
Joined:Fri Mar 01, 2002 11:46 pm
Location:Finland

Re: What does MySQL error Mean?

Post by NordicStorm » Sat Aug 13, 2005 1:58 pm

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.
Give me liberty, or give me cake!

User avatar
Shurik
Sr. Member
Posts:3774
Joined:Mon Mar 04, 2002 12:17 am
Location:Satellite Of Love
Contact:

Re: What does MySQL error Mean?

Post by Shurik » Sat Aug 13, 2005 3:06 pm

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 ...
Chemistry is physics without a thought
Mathematics is physics without a purpose

User avatar
CottonCandy
Sr. Member
Posts:789
Joined:Mon May 30, 2005 5:15 pm

Re: What does MySQL error Mean?

Post by CottonCandy » Sat Aug 13, 2005 3:11 pm

:err: You guys speak English---all I wanted to know was Why the Hell couldn't I post under the Online Shopping Topic! ??? :buh: :~(
http://www.sarini.net/archives/000271.html

I chose CottonCandy as my nick 'cause I'm sweet, soft, and pink!

Being "in the know" is not necessarily a good thing. ;)

User avatar
StratoHeart
Sr. Member
Posts:1324
Joined:Thu Jun 12, 2003 9:13 pm
Location:Sabáudia, Brazil
Contact:

Re: What does MySQL error Mean?

Post by StratoHeart » Sat Aug 13, 2005 4:31 pm

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?

fifthtea_sausage
Sr. Member
Posts:396
Joined:Sun Oct 24, 2004 7:26 am

Re: What does MySQL error Mean?

Post by fifthtea_sausage » Sat Aug 13, 2005 7:29 pm

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 :lol: You have to calculate it with the substring method, i take it.

User avatar
NordicStorm
Sr. Member
Posts:2174
Joined:Fri Mar 01, 2002 11:46 pm
Location:Finland

Re: What does MySQL error Mean?

Post by NordicStorm » Mon Aug 15, 2005 7:15 pm

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 :lol: 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.
Give me liberty, or give me cake!

User avatar
Shurik
Sr. Member
Posts:3774
Joined:Mon Mar 04, 2002 12:17 am
Location:Satellite Of Love
Contact:

Re: What does MySQL error Mean?

Post by Shurik » Mon Aug 15, 2005 9:29 pm

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 ...
Chemistry is physics without a thought
Mathematics is physics without a purpose

User avatar
StratoHeart
Sr. Member
Posts:1324
Joined:Thu Jun 12, 2003 9:13 pm
Location:Sabáudia, Brazil
Contact:

Re: What does MySQL error Mean?

Post by StratoHeart » Tue Aug 16, 2005 1:34 am

"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. :D

Locked