Jump to content
xisto Community

rpgsearcherz

Members
  • Content Count

    2,353
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by rpgsearcherz


  1. I've spent some more time thinking about the "without parameters" thing myself. I've come up with the conclusion that it probably deals with being able to add/subtract/multiply/divide unlimited numbers, rather than saying "choose #1," "choose #2," etc. with a finite number. That's the only type of parameter I can really relate to the project.


  2. One way to improve the efficiency of your mysql coding is to consider using Prepared statements.

     

    See here: http://de1.php.net/manual-lookup.php?pattern=manuaqli.prepare.php〈=en&scope=404quickref

     

    It is, of course, mysqli statement which makes a more secure code and also runs faster since the query is only compiled once instead of every time the code is acted upon. Great for queries inside a loop.

     

    I haven't found a solid answer to this (or I'm searching wrong) but maybe you'll know...

     

    When we look at "query caching," what happens when the query is dynamic? For example let's say we do "select name from people where ID='3'"

     

    Does the query cache save the results for every query that comes through, so let's say we did ID 3 first, then reloaded and did ID 5, would it save the results for both 3 & 5? Or am I misunderstanding what the cache part of it is?


  3. In a way I try to simulate immersion by using real life situations as a context for learning where all is done in the foreign language. Still syntax rules, vocabulary and phrases are used and practiced through structured practice activites that move gradually from accuracy to fluency. Catering from students' needs will show in the selection of the content, situations and types of practice.


    Ah, got it. My biggest problem has always been with the syntax. It's like english... "I before e, except after c, except in neighbor, weigh" and there's another word too that I can't think of off the top of my head. And then you get to the silent letters and there are hundreds of words that have them (like the b in climb).

  4. Moving from the mysql functions to the mysqli functions should be an easy shift. There was a mention on a blog that the mysql functions are 'lighter' and so execute quicker when compared to the mysqli functions, though I have not seen any benchmarks to compare the two. I think that it is in alignment with the observations of the JDBC thin drivers for Oracle as opposed to the OCI JDBC drivers that provide much more functionality than the thin drivers do. The mysqli API provides both an object oriented and a procedural approach to using the code. A downside is that a malicious user can do a whole lot more by using SQL injection with scripts that use mysqli so there's a problem that surfaces if a novice implements a PHP based application with mysqli coded in the same manner as the insecure applications that were build with the mysql extension. I don't mean to say that the extensions themselves are insecure but if the same insecure code were to be altered to use mysqli, there is a whole lot more than a hacker could do to a site. Fortunately, some web servers are configured to lock down the application such that malicious requests are filtered out and repeated attempt would lead to the IP address being barred from accessing the server. It could happen to legitimate requests too, but it helps to know that there is something in place that can prevent attacks against an application built by a novice.


    Regarding efficiency, I had seen a few benchmarks that showed they are. There were some things that the regular MySQL was faster on as well, but it was related to being a situation of security. I'm not sure where the benchmarks are now (I was actually trying to research PDO vs MySQL) though.

  5. fault can be serious enough to halt the machine from booting, although i haven't experience this myself...
    i just replaced couple of modules on my machine, i suspected it to be faulty due to blue screening quite often when i play the game... at first i thought it was the CPU or the Graphics Card but luckily it was the modules

    just did a quick memtest


    I always thought the computer would go ahead and try to boot regardless, until I built my last PC. Got all the parts together, booted it up, it wouldn't even try to start. Pulled out things one part at a time, trying to start up the PC, and figured out it was one of my 4 RAM sticks. Booted up with the other 3 and everything was flawless. And then to be sure that stick was bad, I put it in the PC by itself and again, the PC wouldn't even try to start.

    I'm going to guess that it's very situational, though, and maybe it depends on how bad the stick is (or what's wrong with it).

  6. Updates:
    PHP now is 5.2.19 . I managed to install Moodle2.1 which is working fine.

    I tried Moodle 2.2.7 and 2.3.4 bute were not stable and script will give lots of "Error reading/writing database" error type in many ocasions.

    On Moodle 2.1 I managed to restore old coursed made with Moodle 1.9. But you will be always limited by a size of 8MB for your backup files otherwise the restore and backup operations will break and throw that nasty database read/write error.


    Is the 8MB backup problem with PHP's version/settings itself, or something with Moodle? Wondering if there's a way around it (like manually copying all the files and just exporting the database, then zipping it all together and considering that a backup).

  7. Nice discussion.
    English isn’t my first language and I’ll never speak or write like a native. I learnt not to be intimidated by my own language mistakes but to try to correct them. That’s the way people learn, make mistakes and learn from them.

    As for posting with wrong spelling or grammar I try to avoid that as much as I can. If I fail at least I tried.

    I focus more on the content when I read posts. Whenever I come across a post written by a native speaker of English I try to learn something from it, even if it has slang.

    As for momma jokes, beware guys. It's a taboo in some cultures and I'd never do that or accept it from anybody.


    Wanting to correct your errors is admirable, and sadly a lot of people are the opposite. I can't count the number of times I've been flamed for simply correcting someone. And instead of getting better at understanding what they're doing wrong, those people end up getting worse and worse.

  8. Well hello there yourself. Why don't you tell us a little more about yourself? What are your hobbies, interests, work, etc. Guesing from your posts title your from New Zealand? Anyway that's my guess for NZ. I can't remember, is it New Zeland or Australia that has more sheep than people?


    I always relate Australia to having kangaroos, lol.

    Welcome, manuleka! You should give us more information about you. Who you are, what you like, what you're interested in, etc.

  9. Well, not exactly, but I think I may know. For some reason, when I go to work on my web page, most of the time I get a box that says I have to sign in to work on it, and for some reason, once in awhile I don't get that log in box, and if I make any changes, even though it looks like everything is working the changes don't take effect. I actually had to contact tech support to get my log in box to come back on. I have hated Front Page since day one of useing it, it sems to work one way for a long time and then all of a sudden, the way you were doing things doesn't work anymore and you have to figure out a new way to get the same thing done. I truely hate it, and if I was more compute savy, I'd find some other way to build web pages. Only thing is now, I have so much effort into learning FP I hate the idea of starting over with some other program that I don't know the first thing about to start with and then have to learn everything else again from scratch.


    I feel you! I had to help someone out with issues regarding a Yahoo site not updating properly when adding a lot of stuff to it. After a while, I figured out that the site was rejecting updates due to filtering of tags (ex. if they copied text from a site that was in bold, it would be copied with the tags, so Yahoo would reject the entire update as a result). I'm wondering if this is what is happening in your case as well, or something similar.

  10. You don't get Mycents for referring people to Xisto. If you want Mycent, you need to sign up for xisto affiliate program where you get a referral link of your own. Every time someone signs up for hosting using the referral link, you get money :)
    Login to your Xisto - Support.com account and find the affiliates option or you can simply send in a ticket to sales @ Xisto - Web Hosting (dot) com and they will do it for you. Quite honestly, I would love to see tutorials authored by you, grooming, feeding , recipes, training and all those good things since people are always looking for help on how to take care of their pets. Common ailments and how to cure them at home (Naturally)...


    If someone signs up and pays via MyCents, how do you get your referral payment, via MyCents or cash deposits? And what if they pay using cash, how would you get it then?

  11. No, my mp3 player doesn't have the cd player too.But it sounds like I can get quite a few more songs on it, if I ever get brave enough to try and get my cd's organized. I have to say, I really love that little booger. SO much better than a cd player. With a cd player, every time you hit a bump in the road it skips. I had to lay my old one on my lap to keep it from skipping all the time, and then every time I moved it would fall. And then there is battery life. I would of eaten up 4 sets of batteries on the trip out there with the cd player. ( I do use the rechargable AA bateries in the cd play) The mp3 uses one AAA. I put one battery in it when I got it, did all the programing, listened to it quite a bit here before we left on our trip, then listened to it all the way out there, some while there and we were on our way home before the first battery wore out. I thought that was pretty fantastic.

    So....now I'm considering looking for a speaker only that I can plug the little thing into so I can use it at the kennel without headphones. I don't even know if they actually make such a thing. I suppose they do, I've seen a few things that might be what I was wanting, but most seemed like they were battery powered, and I'd like to have something I could just plug in.


    There are actually a lot of different speakers that can be used. K's idea of a battery powered one is great (it'd be the same type as you would use in a computer), but there are smaller non-powered ones as well. Basically anything with a headphone jack *should* work.

    As you get more comfortable with the MP3 player, making a move to another more powerful one may be in order too. I carry an iPod touch everywhere I go. Off a 1 hour battery charge it will play ~50 hours worth of music before needing to be charged again. Even on very long trips, this isn't an issue. And with a car charger it's even better.

  12. That sounds like a pretty good guess if you ask me. And from what I understand, if you don't have no trespassing signs posted on your property you can't really charge people for trespass. So nothing like a friendly reminder to keep honest people honest. (not much you can do about criminals, they will do whatever they want to anyway, no matter how many laws you pass to make something illegal.


    I'm almost positive this is dependent upon the state, and possibly even the city as well. I know different states have different rules on what you can actually do with trespassers, and I think a lot of it is grandfathered over from long ago.

    It's worth keeping in mind that even when something is classified as being "legal" to do (for example in some states you can shoot anyone who invades your home), how it will hold up in court is anyone's guess. There have been some ridiculous things that made it through court, and obvious things that didn't.

  13. I'm curious... do you work to cater to the needs of each individual student (as well as the group as a whole), or attempt to immerse them directly into the new language? I ask this because when I was taking my Spanish classes, our teacher always told us that the amount we learned would be minimal and would take a long time to get anywhere compared to someone who went straight into Mexico/Spain/etc. and had to learn via immersion.


  14. I haven't tried to install Moodle here yet, but to give you some information, the accounts use PHP 5.2.17. Based on what you said, that's an issue. I don't know if there's any way to change what version of PHP we're using though. Ideally if you're running a schooling-type site, it's suggested to use a VPS or something anyways as traffic and RAM usage are concerns to be aware of.


  15. Is it me not understanding or it's your question that's difficult to understand? :)
    How can anybody write calculator php script without calculator?

    Do you mean write a php script that makes calculations without using the windows calculator application?


    I'm going to guess that's what he's asking for. If that's the case, the easiest way to explain it is to look up operators, variables and output statements. Creating a calculator is very basic and should give you knowledge needed to build a more complex application.

    Hint: you're setting a variable to 0 at the beginning, then incrementing/decrementing/multiplying/dividing it based on what button is clicked and what text is in the box.

  16. I think rpg has nailed it.

    As a student, (yes, there were actual schools back then when I was young :D), I did the same as him. Being athletic, I hung with the Jocks, yet also participated in other activities like the Yearbook crowd which was more intellectual. I flittered in and around all the 'groups' and today I am also difficult to nail down into a "group".

    I think it benefited me by developing a General Knowledge rather than a set of skills which pidgeon-holes me into a specific mold.

     


    I think not doing this is one of the problems young people have today, with a complete lack of understanding as to how different people really are. And I think the groups themselves, with peer pressure, are the ones that push for it the most, with the "you're either one of us or you're not" attitude, pretty much forcing those that are looking for social acceptance to really limit their reach.

  17. Unless something has changed in recent Hard Drives, unless you reformat the drive, when you delete a file, all that happens is the reference to the start position of the file gets eliminated. The full data of the file remains on disk until another file over-writes the same disk space.
    Kinda like my memory, some files are partially available if you accidentally do a random disk read. :)


    You've got it right. And even after reformatting, a lot of data can still be retrieved (I don't quite understand exactly how it works but the bits can be reverted to how they were prior to the reformat). The only way to really erase data is to overwrite it a number of times (I think it was like 7x, with a mixture of all 0's, all 1's and 0/1's).

  18. HEY SHEEPDOG!!!
    Firefox has an option to Export your Bookmarks as an HTML file which you could easily drag around on a Flash drive.
    The file can be accessed in your Browser by doing a File > Open and a list of all the links are there.
    Easy to use, just click on the link in the HTML page.

    And I am certain that Opera does the same thing. Probably all the current Browsers except IE.


    I'm actually pretty surprised IE doesn't support things like that by default yet, especially with how long the other major browsers have. It just seems like a real fundamental part of backing up data and such.

  19. The original copyright would still apply and so be careful with that. Certainly you stand a better chance of getting away with a copyright-free image if you know that the site is reputable and has done their due-diligence in regards to checking copyrights before allowing the image for download. In that regard, I would not download an image from just any old site.


    Do you happen to know any methods we can use to check out things ourselves? I just think it's hard to really know for sure one way or the other if someone owns an image, especially with how many sites do hotlinking and stuff (just searching will likely yield many results). I've seen people go through and even take watermarks/signatures off images before and edit them with their own, =/

  20. Yes. And I find mathing what you do in class to the different learning styles of your students is the most challenging and interesting part of the job.
    For example instead of getting a young learner to answer some question verbally it would be a good idea if they can pick a card for the right answer, get up and stick it on the bowrd then you ask the rest of the class if they agree to the given answer. That modification involves different learning styles: visual learners, verbal learners and kinesthetic learners. It also gives an opportunity for observers to take part in that very little activity.


    An added benefit of that is helping people "break out of their shell," as well. While I was in school I hated when I was the one called on to do things like go write an answer on the board and such, but I do see where the overall value comes from.

  21. Exploit your students’ knowledge of the world, interests and experience. It's important. Try to find out what your students are interested in and feed the content of your lessons with topics and activities that meet their interest. Watch them while they’re on the internet and find out what they like to do and talk about.


    This is something a lot of people don't do, but it's definitely important. Keeping up with what people are interested in and shaping what you're teaching to their interests helps them not only relate to the new information, but also learn it quicker and better. Pretty much anything you could want to teach can be altered in a way to cater to different learning styles and interests, such as by creating a story or something to help.

  22. Try this link: http://forums.xisto.com/no_longer_exists/ for a list of 12 sites to snag free images.

    Befort you use an image, be sure to notice the form of licencing for that image. Free images may still have restrictions. ie: use for a personal site is okay, but perhaps not for a commercial site.

    See http://forums.xisto.com/no_longer_exists/ for details.

     

    Those are awesome links! I do have a concern with sites that offer "free images" and also allow user uploads though, which is... what if someone uploads something that's copyrighted? Now you've downloaded it from a free source, yet you are breaking a copyright as a result.

     

    I wonder what happens in those situations.


  23. My guess is that it mostly deals with ensuring the visitors (or readers, wherever the text is found) understand the copyright. While it still holds up in court regardless, it's a way for you to help safeguard yourself (kind of like in places where tresspassing is against the law, people still put up "No Tresspassing" signs. It doesn't change anything, but it ensures that those who otherwise don't know can easily learn).


  24. Sorry to hear about your problems! If you haven't gotten your favorites saved yet, an easy method would probably be to install Firefox (it will allow you to import your favorites... and I think Chrome does too) and just export from there. It won't export in a method IE can read it, but if you choose to use FF or Chrome later on you can just re-import them.


  25. I really spent time with a lot of different groups throughout school, and even throughout the day. I don't agree with the view that hanging out with a single group is a good thing, as it cuts down a lot on experiences. Having the same close friends is good, but when it comes to socializing, spreading yourself out among a lot of different people helps you learn about different cultures, views, and other things.

×
×
  • 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.