Jump to content
xisto Community

leiaah

Members
  • Content Count

    437
  • Joined

  • Last visited

Everything posted by leiaah

  1. Class c = (Class)s;I'm not sure about this code. I'm not sure if you can "typecast" a String variable to a Class variable but if you're going to instantiate or make a copy of a class you can do this: Box b = new Box(); // ClassName a = new ClassName();You can then access any variable in the Box class by doing this: b.var_name;b.meth_name(constructor);You can only do this if the variable (or method) you're trying to access is declared publicly like this: public String var_name="Box";public void meth_name(){ //code goes here...} Is this what you need? What I know about typecasting is that it will work only for related data types like Float to Integer or Double to Float.
  2. I have no intentions of saying bad things but somehow words just come out of my mouth when I'm really stressed and frustrated. Sometimes I just bite people's head off by retorting something that I know is offensive. I get irritated easily when I have a lot in my mind like if I have tons of deadlines to meet or something. I rarely swear and I don't like it when I do (or when other people do). I feel like part of the reason why people swear is because people around them swear, like if your friends use bad language in daily conversation it doesn't somehow seem bad anymore. It becomes normal already. Also people in the TV and the movies swear too so everyone gets influenced including children.
  3. Sorry about that sis. Mothers really have ways to annoy the crap out of you. My mother still thinks I'm twelve and she still expects me to go with her for parties at her friends' houses.
  4. I'm planning to finally downoad skype since I've been getting really good comments on the service. When I was in high school there was a program called DialPad that works like Skype but I don't think it's still around and I believe at that time there were issues about bypassing telephone service and it was somehow deemed as illegal. Are these (Skype, Talk) programs illegal? They seem somehow illegal and sneaky.
  5. I had a freewebs account once and I thought it was nice since they don't give you any annoying ads. What I didn't like about the service is that you can't use ftp to upload files so you really have to upload one file at a time and if you have a hundred sliced images it may take ages. Also there's no PHP and MySQL support so you will have difficulties in updating/modifying the site and there's less chance of interactivity also. Overall, the site is great for simple websites that at least gives you Internet presence.
  6. Why don't you just insert the links to the images in your database? You can have a folder in your site where all the images are uploaded and you only need to store the location of the image in the database. If it's in the folder pictures you enter something like this in your database. "pictures/image1.jpg" That way the actual data (flat string or numeric) is separate from your images. If you include the picture in the database, you will have problems with editing the pictures since it's not the usual text. You might also encounter format issues when querying from your database since you have to do some conversion to insert the data and to query or select data.
  7. I belong to the Computer Society and the Honors Society in our University. I didn't really join both clubs intentionally, I sort of got in after I got enrolled in my first year. With my course I automatically became a member of the Computer Society since it's a policy in my college. I got in the Honors Society because I was one of those who topped the entrance examination and so I got a scholarship. Both clubs don't do much, I'm sad to report.
  8. Hey! Have you been suspended lately for negative credits? When you get suspended even if you have posted and gained 4+ credit points, an access permission error like this is displayed: It had happened to me many times before after I got suspended. You can simply change the permissions in the public_html folder in your File manager or you can use your chosen FTP. Hope this helped
  9. Usually companies pay money to put their banners on sites that have thousands, if not millions of hits a day. Business sites probably has the best chance of availing this since they have a considerable amount of traffic but for personal or blog sites to be paid has to have very good content being offered to its visitors. Are you sure he gets paid 500 for a few hours? That's a lot of money. Probably if he owns google or yahoo.
  10. You should have your site uploaded first. When you apply for Google adsense you have to submit your site URL to Google so they can evaluate if your site has good enough content for people to visit. Business sites most of the time gets approved easily but personal sites they have to check for traffic and content.
  11. Hey! I think it's just a phase in your life. I've had that before and my uberly popular friend was always the center of attention and I was a bit jealous, not about her getting all the attention but about her giving them more attention than me. Just loosen up and try to do things that please you. Befriend other people also just like Natalie. I'm sure this phase will just pass and you and Natalie will still be friends. Good luck
  12. Snape is bad! I thought at first he's not because he helped out Harry with occlumency in book 5 and that he's only bad to Harry because of his anger to James Potter but now I think he really is a villain. Now that Dumbledore is dead I'm not sure who Harry's father figure would be, maybe Lupin, maybe even Snape after he redeemed himself.
  13. MySQL has a default database called mysql which contains the table user where users with different access privileges are stored. To add users in the user table with privileges, login to mysql using your root account and type the following: GRANT privileges ON databasename.tablenameTO usernameIdentified by 'password';example:GRANT SELECT, INSERT [I]//or GRANT ALL to grant all privileges[/I]ON DB1.*TO AMEZIS IDENTIFIED BY 'PIZZA';I hope this helped.
  14. You can slice the image first using photoshop's slice tool (the one that looks like a knife in the toolbox). After you've sliced them up, you will click on save for web menu item under the file menu and select html and images to save the html file and the images.
  15. Becca it's more annoying (and frickin embarrassing) if someone pours his heart out to you in front of everyone while cowering behind his friends who cheer him on. Then he sends you yucky and corny text messages on your phone but doesn't even look at you when you're around. Cowering *BLEEP*!
  16. The default user is root and the password is, as they say blank for default. You can set the root password by typing this: # mysqladmin -u root password 'new-password' You can then login by typing this: # mysql -u root pThen you'll be prompted to provide the password you specified earlier. You also might want to delete the anonymous user in the User's table. The default configuration of MySQL allows any user access to the system without providing a username or password. Delete the user by typing this: # mysql -u root pmysql> use mysqlmysql> delete from user where User='';mysql> quit
  17. First of all, I have nothing against those who don't believe. I say that I'm not very religious but I am a spiritual person. I know of some who like to think their religion is better than others and my opinion is that we (all religions) are all branches of the same tree and we all stem from the same belief that there is a higher power, that somehow we are made as instruments to serve our neighbors and to ultimately serve God. Those people who like to believe that theirs is THE religion should think that God will never forsake His other children and give salvation to only a few. I was born and I grew up here in the Philippines, a country hugely populated by devout Catholics. With regards to my faith, I believe in a higher power, with God, partly because of my upbringing (I have a religious family) but mainly because I know there is God, there has to be. They say that if there is no God then there is no sin because God gave all these commandments for us to follow and if we don't believe in God then we might as well do whatever it is that we wish to do without consideration of our actions. God is here to constantly remind us of our limits so we don't stray on the wrong path.
  18. I'm probably one of the few here at the forums who doesn't know you were/are a soldier. I see where you get your ideas from your sigs. I imagined you to be younger like in your teens with all these game-themed sigs that you make. Well, it don't matter a damn, anyways.
  19. Good vent post. I'm a non-conformist myself. I don't like posers who dress up to be cool or to stand out.
  20. leiaah

    Which Linux?

    There are more than 200 distro out there and more in development so it would be very difficult to download and test ALL of them. Maybe just the proven and tested ones.
  21. Interesting things! I learned this week that ducks' quacks never echo and noone knows why. Also that the electric chair was invented by a dentist!
  22. Try this code. It might help. $db = mysql_connect ("localhost", "username", "password");mysql_select_db ("database_name"); $query=mysql_query("SELECT field1,field2 FROM table WHEN no=17");while($row=mysql_fetch_row($query)){ echo $row[0].'<br>'.$row[1];}
  23. leiaah

    Which Linux?

    I noticed there are a lot of posts about linux these past few days. I've only tried installing Gentoo and it was a bit difficult at first since there's no GUI to guide you in the installation. You have to print the Gentoo handbook first because it will come in handy when you're installing. If you're looking for a version to start with you might want to avoid redhat and mandrake since you have to buy them cuz they're not free anymore but if money isn't the issue then go buy them. Gentoo is still free but it's again a bit difficult to install. But if you're good in following directions in the handbook you'll be fine.
  24. Very interesting! There's a similar site that offers the same service. The site is http://forums.xisto.com/no_longer_exists/ and it works like gahooyoogle! (I like saying that ). Well, frames are clearly alive and kicking in sites like these.
  25. I love KFC! I love chicken and there's nothing better than eating KFC hotshots with soda! I like the chicken burgers too better than McDonald's burgers (except maybe for the big mac).
×
×
  • 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.