Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. You can only assign a constant as default argument value. You can, however, do something like this: public function f2($parameter1 = null) { if ($parameter1 === null) { $parameter1 = $this->v1; } return true; }
  2. You could also implement a simple shifting like the XOR cipher.
  3. Yeah well, if you add php to the search query you'll get: http://www.phpclasses.org/browse/package/2874.html
  4. http://en.wikipedia.org/wiki/Haversine_formula That will give you the distance between two points on a sphere, so you just select points that are do not have a greater distance from your initial point than the length of your radius.
  5. http://www.google.com/search?q=optical+character+recognition
  6. Wouldn't this be fairly simple to code? Have a function that crawls a page. This function finds all the anchor elements and if the href attribute is an address on the same domain it will call itself recursively. Do some regex shit in that function as well.
  7. Link: http://www.phpfreaks.com/forums/index.php/topic,254277.0.html
  8. See screenshot. [attachment deleted by admin]
  9. Are you using the quick edit or full edit?
  10. Added. CV, the smiley directory is not writable, so you'll have to login and change the permissions or use wget to download it as root. I'm afraid neither is possible for you.
  11. You can get it using substr($name, 0, 4); substr
  12. You can do like this: <button type="submit"><img src="image.png" alt="Search"></button> Or you can replace the button with an image using CSS.
  13. It'll scroll if the text overflows, exactly like it says it does. It would essentially be the same as the code boxes here. Examples: Horizontal only: laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l Vertical only: aasdasdasd asda sda sd asdasd adaasdasdasd asda sda sd asdasd adaasdasdasd asda sda sd asdasd adaasdasdasd asda sda sd asdasd ad Both: laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l laksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj llaksjd lasdkj alskjlaksjd lak sdlasj dlakjds laksjd aksdj l None: hello world
  14. Though he said he wanted the 5x5x5x5 returned, not 3125. You can do echo join('x', array_fill(0, 5, 5)); By the way, I hate that notation. You can't tell if it's supposed to be 3125 or 3125x4
  15. For the scrollbars, set overflow:auto; and a max-height. You can get syntax highlighting using highlight_string.
  16. The reason why anyone can edit it is also why it has zero credibility in the academic world. There it's pretty much a requirements that you accurately can reference to an author, but if 100 people have edited a document, who wrote what? Maybe you should explain how you're having trouble finding stuff on the main site? There is a horizontal navigation bar saying Tutorials, Blogs and News. That is primarily what is offered there at the moment. There is also a search box on that same bar so you might search for regex and immediately find our regex tutorial. Unfortunately, only a small subset of our users are interested in actually helping other people. Most people just come, ask one or two questions and then never return (unless they again have a new problem). Then there are people who do want to help, but who don't know what they're talking about. It's easier giving write permissions to people who are qualified than banning people who are not from writing.
  17. I never even knew they had a subscription type thing. How would one subscribe? I'd imagine not too many people subscribed though or even not that many people even knew such a feature existed! In your profile and in a sticky topic in this board. http://www.phpfreaks.com/forums/index.php?action=profile;area=subscriptions
  18. It's still right here in this very board. If people don't want ads, but still want to support us they can do a donation. In return ads are hidden for them for some time if they use the subscription feature. Either way that was never for monetizing either. It was for covering costs of keeping this place up. You can have a lot of volunteers, but things like hardware, bandwidth and electricity cost money.
  19. Daniel0

    Race

    Well, yeah, but that's not really relevant. Those are not physical, biological differences. Things like that will always weigh in (heaviest of all, usually) when deciding who is "superior." I think we're pretty much saying the same thing here. What I mean is that in terms of "racism" (not just restricted to biological race here) will/can exist regardless of the existence of biological races in the human species. Whether you base the FUD/hatred on race or on any other factor doesn't really matter. Because races within same species by definition can cross-breed it would be possible transferring certain genes (and thereby the wanted traits) by biologically engineering the organisms. We've been doing this with plants since the dawn of agriculture using old fashioned evolution. Today we have more sophisticated methods for selectively picking certain traits. We can for instance make tomatoes that when they're ripe will take longer time before the skin starts to wrinkle. The only reason why we haven't attempted doing this on humans, at least within public knowledge, is because of ethics.
  20. Daniel0

    Race

    Sure, but you can always make up any arbitrary and irrational reason why you would be better than someone else. Religion, culture, ethnicity, etc. Even if races existed among humans, how would you objectively setup superiority criteria? It depends on what qualities you regard as most important.
  21. Kind of goes against the concept of free knowledge sharing that we are operating with though. Again, we're not in this for the money. We just want to cover our expenses and to my knowledge that is fully accomplished by displaying advertisements.
  22. Daniel0

    Race

    Ah... conspiracy theories. They're always interesting I guess.
  23. Daniel0

    Race

    Hmm... http://www.cartage.org.lb/en/themes/Sciences/Lifescience/HumanRaces/BiologyRace/BiologyRace.htm http://serendip.brynmawr.edu/biology/b103/f00/web2/ramon2.html
  24. Haskell doesn't have any loops.
×
×
  • Create New...

Important Information

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.