Jump to content
xisto Community

vizskywalker

Members
  • Content Count

    1,084
  • Joined

  • Last visited

Everything posted by vizskywalker

  1. None of you are stupid. I'm going to demonstrate with one example.Microsoft Power Toys lets you have 4 desktops at a time and switch between them. That is fact one.Video Cards allow for multiple pages - different sets of images to be displayed on monitor. Only one page is displayed at a time. To reduce flicker, an unused page is changed, then switched to, so the screen is not updating while being redrawn. Fact two.Some Video Cards allow for multiple outputs and allow different pages to be sent to different outputs. Fact Three.Some software utilizes facts one, two, and three to place two of the four desktops on different pages and send each page to a different monitor. the software then usually allows moving th emouse to the edge of one of the desktops to switch control to the other desktop.You can have different things displayed at the same time, and changed at the same time. But unless you are weird, only one display will receive input at a time.~viz
  2. SHTML is HTMl that allows server side includes. The "S" may at one point have stood for static, but that is not the case any more.~Viz
  3. It depends, if you're video card(s) can handle multiple outputs, and you have software to manage it, then you can have different things on each monitor. Otherwise, they mirror each other.~Viz
  4. First of all, I just checked all of my scripts, you had the correct format for an array, it is not necessarily $FORM['blah]. What do you mean by end with <br>. If you mean place the text "<br>" at the end of each line, simply place it in the end of each of your printed lines. That ought to work. If you tell us exactly what isn't working right we can provide better solutions.~Viz
  5. tcave, on all 8 of my computers and three of my monitors I have spent a total of $5. Ask around for people who are getting rid of computers. Frequently you can get stuff from them for free.Dmaster4, with the right utilities (and if you video card(s) can handle it) you can use the TweakUI feature to view two of four desktops at once (don't ask me for details, I don't know the details yet). Then you can simply move your mouse to the edge of one monitor to switch desktops. Or you can use larger screen resolutions, like 2048 x 768 instead of 1024 x 768 to have a larger viewing window.~Viz
  6. You left a large on off the list, and my personal favorite. Microsoft Works. That takes the case, I use and prefer Windows and MS software to many alternatives, but it does have numerous bugs. And works is so much worse than Office. Thus, the oxymoron.And you left stupid idiot off the redundancies list.~Viz
  7. Try devdaily.com and the perl main page. Both are very useful links that will get for far. For CGI with perl, try htmlgoodies.com and Webmonkey.~Viz
  8. I'm borrowing disk one from my friend. I got most of the way thorugh the disk, and didn't like my progression, so I restarted. I haven't played in a while, but it is a very nice game. As a game maker (my firend and I are starting a business) I'm looking for new ways to expand classic genres. I really liked the battle system style of Dragoon.~Viz
  9. As far as has been made clear, Xisto does not have an official link back. Simply create your own image and link it to Xisto.com. If you are going to link to Xisto, please also link to coputinghost.com, as it provides income for Xisto so they can keep Xisto running. Also be sure to vote for Xisto on the top 100 list of free web providers.~Viz
  10. Can you please give a code example of a difference between HTML and XHTML? And also, demonstrate a feature XHTML has that HTML doesn't (if there are any)? Thanks ~Viz P.S. nice ascii Kirby (^")>
  11. I'm about to switch to two, hopefully I can easily place separate desktops on each, we shall see. But yes, two different graphics cards, one is much better than the other.~Viz
  12. It is always important to know any language that you use a program to create. Programs are very inefficient, and sometimes generate code that needs modification for security reasons or because it doesn't do exactly what you want.Question: If I am echoing some html as such: echo "<img src = '$string'>"; then is the $string interpolated or not, and would it be better to use \" instead of '?~Viz
  13. Couple things. One, sorry my tutorials haven't come out in a while. I got hosting at Xisto, then made a mod there, so things for me have been hectic. But I'm going to start the tuts again. I'm making the tuts there to gain credits, so a new one for you won't be around for a little bit, I'll let you know. Two, I know what a partial tangent is. Intel uses a taylor series for arctan which only works for the interval (a-1, a+1). Thus, it is only part of the arctan function. But by changing a, Intel can provide the arctan of any real number.
  14. Whichever one you tried didn't work. Right now what happens is that only one closes, but it is always the first one. (And please let us know which one does this so that we may learn )
  15. The switch is made . (No threat of breaking the legs, I just put the motherboard with the celeron into the case I wanted.) The only question now is how many times do I have to install windows XP with my corrupted disk before It actually works, and what bugs am I going to find in fedora core 4 test release 1.Thanks everyone.~VizP.S. As far as my particular question goes, this thread is closed. I'm leaving it open as a further discussion of the differences between Celeron and Pentium.
  16. Thanks, I knew bubblesort was slow, but the more I looked at the code the less I could figure out why. Your instructions actually made sense, so I don't think I will have to do an internet search.~Viz
  17. I'm not looking in reality for a partiular search feature. I'm looking for the XP restart icon, which for spme reason does not appear to be in shell32.dll. I had figured that maybe each icon in a dll wuld have a name, so I could use some utility to search all dlls in a folder for *restart*.* or something to find the icon.~Viz
  18. Thanks trekkie. I didn't think they were the same (because it didn't spread and such), but they had such similar results I wanted to be sure.
  19. This sounds like what happened when you and moonwitch visited that one page that overworte google. Is this the same thing? And if not, what is the difference?
  20. Try image shack (http://imageshack.us/) for uploading the screenshots. It is free, and offers unlimitted storage.
  21. Just remember with the dual boot, read the instructions for your version of Linux carefully before doing anything. Make sure it is designed to have Windows installed first (since you already have Windows installed). I know Fedora requires(? It may only prefer) that Windows is installed first. Also, make sure you create a partition with VFAT formatting if you want to share files between Windows and Linux, (make this a separate partition from the one on which you install Linux).
  22. I agree that compiled high level languages are never as efficient as pure assembly. I don't know enough about the various includes to comment on that, unless by includes you mean inline assembly. I love inline assembly and find it is an ever increasingly useful tool.
  23. which key should we find and expand? When recommending people to edit the registry, be sure to be very specific as the registry is a very important piece of the OS. Also, before editing the registry, be sure to back it up.~Viz
  24. A class is used mainly when you need to define a whole bunch of different types of data for repeated times. Like in a game, the army system at Xisto. Each member of that game has several variables, money, rank, troops, etc. There are several functions that each player can perform, attack, buy troops, buy weapons, etc. So if we make a class for a player, it may look something like this: class player{ var $rank; var $troops; var $money; function buytroops($number) { $this->$troops += $number; $this->$money -= ($number * 2500); } function displaystats() { echo "rank: $this->$rank"; echo "troops: $this->$troopd"; echo "money: $this->$money"; }} Now, imagine if we had 300+ of those classes, one for each player, that is only 300 variables to keep track of. However, if we didn't use classes, then we have three variables repeated for >300 players for a total of 3 * 300+ = 900+ variables to keep track of. Classes simplify things greatly. BBy placing the functions in the classes. we allow that player to change the data without haveing to make the data accessible to any player, thus preventing many accidental changes. ~Viz
  25. I'm not 100% sure, but if php operates as much like c++, java, and other programming languages of that style, then the issue is variable locality. Variables, unless declared otherwise, are local to the function they are declared in. This allows you to use common variables, such as $count fir counting, in many different functions without worrying about overwriting the value in another function. Now, to look at your code: <?php$joke="hahahaha"; class smilie { function make_smile () { echo "$joke"; }}$funny = new smilie;$funny->make_smile();echo "$funny";?>You have two separated functions here. The first is the main function which begins executing when the script executes. The second is make_smile(). Because $joke was declared in the main function, it is local to the main function. This means that make_smile() does not have access to it. The reason why the problem persists when you place $joke in the class is the special way of accessing class variables. You must use the -> to access the variable. So to access the variable in this example you would use $funny->$joke (keep in mind that this paragraph assumes we have moved $joke inside the class). To make the function general to any instance of the class, we use the "$this" identifier. "$this" refers to the object the function belongs to, so "$this->$joke" accesses the $joke variable for a the specific instance of the class that has called the function. You were also looking at the wrong section in the PHP manual for information on classes. You were looking at the explanation as a type (a type is a group of variables and/or functions that can be used as a special variable). What you needed to be looking at is the explanation of classes here: https://www.cica.es/comu/php3Doc/oop.html/ ~Viz
×
×
  • 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.