Jump to content
xisto Community

WindAndWater

Members
  • Content Count

    106
  • Joined

  • Last visited

Everything posted by WindAndWater

  1. Actually, Omega 5 is a fatty acid. You can't use genes just by eating them (although some bacteria can). Lots of recent studies are also showing that many fish are an amazing source of many fatty acids -- no artificial injection needed.
  2. As you've probably figured out by now, Internet Explorer 6 doesn't support png transparency, which sucks -- a lot. Thankfully, there are workarounds like the one posted at http://www.howtocreate.co.uk/alpha.html I'm not sure it works with 5 or 7, but I've had quite a lot of success with 6.
  3. For some strange reason I can't seem to get redirect to work on my Xisto hosting; my guess is that we don't have mod_rewrite enabled. However, RedirectMatch (allows redirection with regEx matching for the pages) seems to work. RedirectMatch permanent fromPage.html http://forums.xisto.com/no_longer_exists/"permanent" tells the browser that the redirection is permanent, but doesn't really affect much -- you can remove it if you want. The second page shouldn't have to use an absolute path, but for some reason it doesn't work on my Xisto account unless I do. To use it, simply copy the code snippit into a text editor, switch out the dummy names with real ones, and then save it as a plain-text file named ".htaccess". Once you're done, upload the file to whichever directory the file you want to be redirected is from. Alternatively, you can have your .htaccess file a few directories up (say in your root directory) and just specify the file by including the path. Xisto already has a .htaccess file for your www/public_html directory, so if you want to stick your redirection code there, just append it to the other file.
  4. For those people who have windows update set on manual you have the option to download the patch or ignore it. Uncheck the box, select that you never want to see the update again and presto. Don't you just love bureaucracy? (I'm not condoning pirating Windows, but if for some reason you don't want your copy bloated with a useless extra patch... *whistles innocently*)
  5. The Hindus (and India) don't have anything to do with Norse Mythology. Also, I'm probably being a bit pedantic but Loki didn't incite Hodur to do anything. Balder was supposed to be impervious to (neigh) everything. His brothers were attacking him for sport when Loki gave Hodur a sprig of mistletoe. Because Hodur was blind, he didn't realize that it was Loki who gave him, and so he threw it at Balder, pierced his heart, and killing him. Later the Gods got Hel (Goddess of the underworld) to agree to bring Balder back to life if every living creature on the planet agreed to it. Loki (disguised as a female giant -- he tended to do that a lot) wouldn't agree, and so Balder was left in the underworld, the first portent to the coming of Ragnarok. Shame on Jon Bowen for getting it wrong.
  6. I can't think of any reason why the session variables would loose scope unless they were overwritten/overloaded. If you can't find any evidence of that in your code you might consider temorarily switching to using session cookies until you resolve the problem.
  7. I followed your link, filled in information, and got the following: Although I'd love to own https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl, the likelihood of me getting it is pretty small. It's their fault that their site is misleading (although they do directly state the caution that I've highlighted in bold). You really do have to pay for a domain name -- there's not really any way around it.
  8. I started writing a very long, and somewhat painful rebuttal, but then I realized that it said the entire thing over and over again. It refutes the presented arguments by breaking them down into two catagories:1) Arguments that can be given a counter-example2) Arguments where the interpretation of the text is streached, illogical, or less persuasive than another interpretation.If you really feel the need to see my rebuttal, I can finish it and PM it to you.To Joshua:1) The second law of thermodynamics talks about energy, not life. There are still plausable explinations about the creation of the Big Bang involving preexisting energy.2) You said that God created sex to only be within the confines of marriage. Assuming that you agree that humanity at one point didn't have a social structure that supported marriage, how does that work? If you're a proponant of creationism, and the garden of eden then you can sidestep this question, but not otherwise.3) Testicles are outside of the body cavity because they need a lower temperature than 98.6F for sperm production.4) Any time you translate a work the meaning gets shifted at least subtly, because cultural constructs and idiom s don't match up one to one between languages. Also, since humans are fallible, isn't it reasonable to expect some monk copying manuscripts somewhere to make a few mistakes, and to have those mistakes be propagated?
  9. From http://www.freewebhostingarea.com/, the FAQ for http://www.ueuo.com/ It sounds like their wording is very ambiguous or confusing. As far as I can tell, they do not provide domain names. You need to buy a domain name from a company (such as https://de.godaddy.com/) for anywhere between $3 and $10. Then you can follow their frequently asked questions or their tech support to set up your domain name servers. Currently http://www.sindhu.com/ seems to be registered through https://www.moniker.com/. If you've indeed registered it with moniker, contact them about setting up your domain name servers. Otherwise, you need to register and pay for a different domain name.
  10. Yup I removed the . so that it reads "jpeg" as opposed to ".jpeg" which is 5 characters long, so it will never match a 4 character extension. Truthfully probably no-one uses .jpeg anymore, but it's an old habit that I haven't kicked yet. :-)
  11. Browser redirection can also be accomplished through the use of META tags in HTML or through a specific clause in your .htaccess file. html: <META HTTP-EQUIV="refresh" CONTENT="5;URL=www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl; will change the page to https://www.google.de/?gfe_rd=cr&ei=BwkjVKfAD8uH8QfckIGgCQ&gws_rd=ssl after 5 seconds. Remember that meta tags go within your <head></head> tags. .htaccess: Redirect /site.html othersite.com/index.html Whenever it's possible, it's best to use an alterative to javascript, as not all users will have it enabled.
  12. Taken from http://us2.php.net/manual/en/function.preg-split.php $str = 'string';$chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY); You can also just access individual characters in as string by treating it like an array, so "$str[2]" would return "r".
  13. Here's one with a variable path as requested. It works on my Xisto account. I cleaned up the code, added some idiot proofing, and made it so that the watermark could be a .png which also supports alpha channels (transparency) and which won't dither like gifs do. Like the original, it only supports images with .gif/.jpg/.jpeg/.png extensions. I left the original author's (bad) naming scheme. <?php // this script creates a watermarked image from an image file - can be a .jpg .gif or .png file // where watermark.gif is a mostly transparent gif image with the watermark - goes in the same directory as this script // where this script is named watermark.php // call this script with an image tag // <img src="watermark.php?path=imagepath"> where path is a relative path such as subdirectory/image.jpg $imagesource = $_GET['path']; $watermarkPath = $_GET['watermark']; $filetype = substr($imagesource,strlen($imagesource)-4,4); $filetype = strtolower($filetype); $watermarkType = substr($watermarkPath,strlen($watermarkPath)-4,4); $watermarkType = strtolower($watermarkType); if($filetype == ".gif") $image = @imagecreatefromgif($imagesource); else if($filetype == ".jpg" || $filetype == "jpeg") $image = @imagecreatefromjpeg($imagesource); else if($filetype == ".png") $image = @imagecreatefrompng($imagesource); else die(); if(!$image) die(); if($watermarkType == ".gif") $watermark = @imagecreatefromgif($watermarkPath); else if($watermarkType == ".png") $watermark = @imagecreatefrompng($watermarkPath); else die(); if(!$watermark) die(); $imagewidth = imagesx($image); $imageheight = imagesy($image); $watermarkwidth = imagesx($watermark); $watermarkheight = imagesy($watermark); $startwidth = (($imagewidth - $watermarkwidth)/2); $startheight = (($imageheight - $watermarkheight)/2); imagecopy($image, $watermark, $startwidth, $startheight, 0, 0, $watermarkwidth, $watermarkheight); imagejpeg($image); imagedestroy($image); imagedestroy($watermark);?>It can be accessed by using <img src="watermark.php?path=imagePath.ext&watermark=watermarkPath.gif> or <img src="watermark.php?path=imagePath.ext&watermark=watermarkPath.png> edit: Removed a "." and now the entire script's correct.
  14. I apologize for getting the host wrong -- I came upon this thread through the "new posts" function, rather than by browsing the forum, and I didn't read it closely enough for a proper response. However the main part of my recommendation still stands. Assuming that psychiccyberfreak is indeed using the correct IP address for the new site then the problem has to either be with 1) his ISP, 2) one of the hops from his ISP to the Xisto - Web Hosting server his page is on, or 3) the server itself. Since it's a direct IP request it seems very strange for it to be a problem with 1, or 2. Therefore, I'd guess that the problem's either that s/he's using the wrong IP address, or something wrong with the server. What the DNS is pointing to is completely irrelevant if the IP address accesses the wrong page.
  15. Technically you aren't changing the value of i -- you're defining a new i (it's at a new memory address). To answer your puzzle, you can change the value of i using an ASM injection attack using a noop sled to compensate for the variance in memory allocation addresses.
  16. Very often Routers, AP, Yahoo, etc take their news directly from the press release issued by a group or company with minimal editing. There's probably some sort of organization that can give you the press releases directly. Alternatively, there's a way to scrub information from other websites using perl or php, but then you run into plagurism and copyright issues.
  17. The mail function directly accesses the SMTP server. You can change the from and reply headers by including them in the extra headers part of the mail function -- look up the structure of mail() on google; it's very easy to do. You could also theoretically access the yahoo SMTP servers directly and send mail through them as SMTP servers don't have privacy protection.Remember that while spoofing headers is a common occurance, its use can be construed as identity theft.
  18. However, if you can't access your site by its IP address (like you stated) then there's something wrong -- possibly with the Xisto server. Have you tried tracing your request to the server? In windows the command is "tracert <ip address>" at the command prompt. Macs and Unix use "traceroute <ip address>" in a terminal. That way you can see if your connection dies at a specific hop or not. If you post your new IP address and domain name we might be able to help more.
  19. I always find these persuasive arguments hard to credit. They're set up as a discussion between two contending forces, but in reality it's more of a carefully crafted stage, with one person controlling two puppets. It allows the conversation to move down a predetermined path with only token resistance. It allows the "right" side to offer forth proof, without it being actually attacked and disected by the opposition. Many of the points put forth in here are limited, and attackable as stemming from coincidence. When you take a text as long and as comprehensive as the Quraan, it's bound to have passages that overlap and coincide with the views held by mainstream science.I don't believe that you'll ever be able to convince someone to your religion unless you provide them with something directly tangable, and neigh irrefutable that they can believe in themselves. Any logic you use to try to convince them will always have a counter-argument.
  20. 3DSMax is generally used for game development where Maya is generally used for animation. That being said, the people who own 3DSMax recently bought Maya, so I'm not sure what's going to happen to them respectively. Also, most people who use Maya tend to use Maya 4.5, with half of the code written in-house. Maya 7.0 has a fair amount of bloatware. Also, MEL is the unholy child of c++/java, and isn't really to be praised.For other 3D modeling and animating applications I highly suggest Blender 3D (opensource and free), and I've heard very good things about XSI -- including from people who've used Maya for years.
  21. Just to clear the record, the .7z extension comes from the free zip utility 7-zip. I've found it to be a bit more aggressive than .rar, .zip, or .ace, but it definately does not always have a 10:1 compression ratio. Another great thing about 7-zip is that you can save files to self-extracting executables (.exes) for people who don't have zipping programs.
  22. The bananas probably help because they have lots of potassium. The nutragrain bars probably do to; as well as iron which is really important to replentish with all the blood loss. Sexist... :-P
  23. I assume that you're talking about doing this in flash. First make keyframes at your start and end points, and then do a shape tween to make the image scale from smaller to larger. Then export the movement as a clip (flash has some fair tutorials on this) and then add a motion tween to the clip to get the rotation.I hope that helps.
  24. I've read it but it's a bit outdated (yeah, I know it's hard for a C book to be outdated...), humorous, and overall decent. However, I'd recommend K&R which is pretty much the staple C book (it's written by the creators of C) and sells for $2, or Programming in C (3rd Edition) which is a slightly more user friendly introduction to C. If you're interested in system level C, and code optimization, pick up Computer Systems: A Programmer's Perspective, you won't regret it. It was written by the people who wrote the book (excuse the pun) on system level c, c and ASM interaction, etc. The book's sophisticated, readable, and comes with a full regiment for free at CS App. The time I spent taking their class was by far the most valuable in my programming career.
  25. I think it's possible, but it'd depend on the person, and it would probably be possible to convince them otherwise. If it existed for all women then people who grew up together would never get married. If you're chasing after one of your friends who isn't interested, try acting spontaneously and romantically -- get her to realize that she doesn't know everything about you.
×
×
  • 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.