Jump to content

Daniel0

Staff Alumni
  • Posts

    11,885
  • Joined

  • Last visited

Everything posted by Daniel0

  1. Uh... how about reading the error message? Does this look correct to you? `added` int(15) defaultNULL,
  2. No, it's required by RFC 1738 (Uniform Resource Locators), section 2.2.
  3. So what exactly do you need to do?
  4. Heh... yeah the second one (or first one) was supposed to have been INET_ATON().
  5. I once wrote one in Standard ML as an extra optional assignment: http://daniel0.net/sudoku.sml And stripped off Danish comments that you probably can't read anyway + stripped sudoku generator (EDIT: well, you probably can't read the source code either, but I posted it anyway in case someone would be interested): http://daniel0.net/sudoku_no_comments.sml
  6. They're in MySQL too, by the way: INET_NTOA(), INET_NTOA()
  7. Then use a client that doesn't auto commit transactions so you can rollback.
  8. Uh... ip2long, long2ip
  9. Are you serious? You believe you can write a better rendering engine than Apple's and Google's combined effort? Sorry, but that's just ridiculous.
  10. Why don't you just read the changelog? Anyway, here are just a few of the changes off the top of my head: * Namespaces * Late static binding * Lambda expressions * goto * NOWDOC * Phar * General runtime and GC improvements * Per host/path sections in php.ini * Numerous additions to the SPL * libmysql is replaced by the faster mysqlnd * Extra date/time functionality such as date diffs and DateInterval * Dynamic access of static class members
  11. There is no such thing as PHP 6 at the moment. The name of the next release has not been decided.
  12. Just to be clear, I'm not saying that having 4 GB memory is not a good thing. I'm just saying that it's certainly possible to get by with a lot less. Especially because memory is so cheap you might as well buy plenty of it.
  13. Oh yeah, I might want to add this: daniel@daniel-laptop:~$ free -m total used free shared buffers cached Mem: 3964 1847 2116 0 490 621 -/+ buffers/cache: 735 3229 Swap: 4094 0 4094 So I'm only using about 735 MB memory for those who don't know how to read the output. And what is a decent OS, if I might ask? I'm way more productive on Linux with xmonad as my window manager than on Windows. I also know of several people who use Netbooks with only 1 GB memory, onboard graphics and Intel Atom processors. Different requirements for different people.
  14. Mine only lasts about 2-2.5 hours I think. Unless you're one of those people who insist on playing games during lectures, that shouldn't be a problem. But why not let your friend's son set the requirements? He is the one who is going to use it, and if he is going to study computer science it's likely he already knows stuff about computers and has an opinion on all the Windows/OS X/Linux stuff. If it's purely for doing undergraduate CS things, you could probably get by with 1 GB of RAM, 80 GB disk space, on-board graphics card and low-end CPU. Any Linux distro would do fine with that, and if you choose a minimal window manager like xmonad you won't use a lot memory and GPU power on that. Of course if he wants to do more than just that, there is no way that computer would be adequate. Also note that computing power and battery life is often inversely proportional. Bottom line: Ask him for his requirements, not us.
  15. You can't because SMF is stupid. Try searching for *a*. That will get you past the three character requirement, and it's unlikely your post doesn't have an 'a'.
  16. Why do computer scientists often confuse Christmas with Halloween? Because Dec 25 = Oct 31. Two strings walk into a bar and the bartender says, "What can I get you?" The first string says, "I'll have a beerKJLASdp)8AIDnhas89d3"¤"#¤(/)a8dsd79". "Please excuse my friend," the second string says, "He isn’t null-terminated." And the obligatory one: There are 10 kinds of people in this world: those who know binary and those who don't. We also have some awesome songs in our songbook at the CS dept here, but they're all in Danish. I can't think of any more jokes right now.
  17. It's because you're using output buffering. It's per definition not possible to send a header once the body in an HTTP response has been sent. Go read the RFC.
  18. A database is just a place where you store data. An XML file qualifies for that just fine. The word you're looking for is likely RDBMS (relational database management system).
  19. Computer science is not about programming. Look for some sort of software engineering program if you want to do programming. Have a look at the course listing on your local university/college and see what they offer.
  20. There is a difference between just being inexperienced and saying "I don't care". Edit: Okay then, here is your help: http://en.wikipedia.org/wiki/Accessibility http://en.wikipedia.org/wiki/Unobtrusive_Javascript http://en.wikipedia.org/wiki/Progressive_enhancement http://en.wikipedia.org/wiki/Separation_of_concerns Now stop whining about the fact that I called it amateurish that you just say "I don't care" when people tell you it's bad practice.
  21. I do. Blind people with screen readers do. ... and "amateur" is the word for people who don't code properly.
  22. If you want to see the post count, you can check out a users profile. It's only hidden from topic view.
  23. Releasing someone under the GPL license doesn't prevent you from taking money for script just either. Just saying... You can also charge for support contracts.
×
×
  • 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.