Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Sounds like a poorly designed system if everybody uses the same password.
  2. To be honest, I would probably just do if (!preg_match('#[0-9]#', $password) || !preg_match('#[a-z]#i', $password)) { echo 'fail'; }
  3. And vice versa as long as you use Turing complete programming languages.
  4. The poll has been here for over 4 years. It's unlikely to be representative right now.
  5. How about After Effects?
  6. The manual explicitly states that the parameter is a string that is the path to the filename. http://php.net/filesize
  7. I know virtually no phone numbers and passwords. All phone numbers are in my phone's phonebook and all my passwords are in an encrypted password database.
  8. Oh, yeah right. She has multiple inheritance. Is she coded in C++ or something like that?
  9. Your kids don't implement the sleep() function? Or maybe it's just buggy. Maybe you should complain to the manufacturer.
  10. You could sell her to NSA. She ships with a true random number generator.
  11. I wonder if she will pass the Turing test.
  12. daniel@daniel-laptop:~$ ver ver: command not found
  13. "Old" Mac mind you. OS X is Unix based.
  14. preg_replace() returns the result of the replace. It doesn't have any side-effects (i.e. it doesn't actually modify $text).
  15. But then she won't have the benefit of being able to program at an early age. Better to use a general-purpose programming language. You could also make her talk in SQL instead of English.
  16. Don't we already have enough problems with people not being able to articulate their problems in the help forum(s)? That's why it's a good idea making her first language a programming language. They're strict on grammar, so she won't get away with sloppy grammar and syntax. There won't be any ambiguity in what she says either.
  17. Then make her first language Python. She'll get errors if she doesn't indent properly. That'll teach her!
  18. Her first language should be a programming language. English can wait until later.
  19. If it's in the files on the filesystem, the easiest thing would probably be to recursively grep the directory where your files are. Then go fix the hole of course.
  20. That's the stupidest thing I've heard this week. I'm still waiting for your evidence. So far, all I've heard is you making all sorts of wild claims.
  21. How about presenting some of your evidence then? The fact that you are older than we are is not evidence though.
  22. Dude, you don't know what you're talking about. 1) If current versions of Windows are DOS, why do they need emulators and virtual machines to run DOS programs? 2) Considering that DOS doesn't support 64-bit, how come I have a copy of Windows 7 64-bit installed on my computer if it's running DOS (XP and Vista had 64-bit versions as well)? I've attached the directory listing of my system32 folder (output of ls -lh /media/windows/Windows/System32). Now tell me where my DOS files are. [attachment deleted by admin]
  23. You need to escape it using a backslash like this: \+ The plus sign is a meta character in regular expressions, specifically it's a quantifier matching the previous subexpression greedily at least once.
  24. Yeah, how about you do that? Sounds like an excellent idea. http://en.wikipedia.org/wiki/Timeline_of_Microsoft_Windows#Desktop.2FServer Starting from Windows XP, Microsoft made all their server/desktop operating systems using the NT kernel.
  25. [quote author=keldorn link=topic=54859.msg1310898#msg1310898 date=1258432827] I can't think of much of anything intelligent say in responce. Except that school are usually good for teaching you stuff you won't actually use in the real world. I never understood why schools teach like that. Its just a dumb thing. If you have some guy in a school and he is a brutish looking guy, why teach him Alegrbra? The school should be sticking that guy in a machine shop to learn welding or how to rip apart a car. Teach people the right stuff.  ;) [/quote] Well, then why teach mathematics, history, literature, arts, science, etc. at all? It's not like you actually need it to function in the society. In many cases you would even get along fine without being able to read and write. Regarding the mathematics: [url=http://www.maa.org/devlin/LockhartsLament.pdf]A Mathematician's Lament[/url] (it's a bit long but good -- read it!)
×
×
  • 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.