
Daniel0
Staff Alumni-
Posts
11,885 -
Joined
-
Last visited
Everything posted by Daniel0
-
It might also be worth checking whether your university/department is in MSDNAA. You can get a lot of free shit from there, including their operating systems.
-
I don't think you got my point. Take phpfreaks.com for instance. With all the custom installations and configurations, there is no way shared hosting would work for us even if they provided us with enough resources (disk space, bandwidth, memory, CPU time, etc.). There is just not enough flexibility for our needs. This is completely regardless of resource usage and others might very well have the need for this kind of flexibility without having high resource needs. Setting up an SVN repo was just an example.
-
Man... I've always wanted to know what the last digit of pi is. Can you post it here? Besides, I wouldn't call calculating a lot of pi's digits or generating reverse lookup and rainbow tables for "normal usage". What makes you say that? What if you want to run custom services like your own SVN repository? What if you just don't want other people on your system for security/stability reasons? What if you just want to manage your own software or don't want to have to go through the hoops of various control panels to do something you can do efficiently from the shell? The minimal required RAM for a desktopless Debian install is 64 MB RAM. The recommended minimum is 256 MB. If you don't install some bloated cPanel or whatever (or even worse, a desktop environment), you'll do just fine starting out with 256 MB. To be honest, I don't see the point in paying for more when you can upgrade at any time you want.
-
You must be every salesman's dream. Easy to oversell. I bet you would do just fine with 256 MB. The benefit of a VPS is that you can change how much memory you're allowed to allocate while it's running, so it's just a matter of contacting the sales department asking for an upgrade. Why would you pay for something you don't need? Especially seeing as you've got a £20/mo max. Reaching that will be much easier if you scale down your requirements to something realistic. There is no way you'll need 1 GB (or even 2 GB) memory if you don't even have any traffic yet. Also, "unmetered bandwidth"? That's not going to happen. At least not within your price range.
-
Are you sure you need 1 GB memory? This server uses about 1 GB of memory right now. It has a semi-large database, an active forum, an IRC server and corresponding IRC services as well as a daemon for a live chat client. What kind of traffic do you have?
-
The Java Runtime VM doesn't compile the code when you execute .class files. At that point it has already been compiled.
-
Maybe your computer is just slow?
-
Added.
-
Have a look at this: http://vim.wikia.com/
-
There is a GUI version for it. It's called GVim.
-
There is also a vim plugin for Eclipse.
-
Mine would be Zend Studio, NetBeans and vim (in no particular order).
-
This is a continuation of this topic: http://www.phpfreaks.com/forums/index.php/topic,54859.0.html
-
If you want advanced stuff, you have to move away from PHP book and buy books that deal with general programming stuff. Programming is not just "programming" though. There are many different things you might want to focus on. You could read about algorithms and make your stuff run fast. You could read about things like semantics and lambda calculus to get a better idea of what exactly a programming language is. Maybe things like computability would be interesting, i.e. what is it possible to compute, and can it be done within reasonable time (has a lot to do with algorithms as well). Maybe you would find concurrency and making things run in parallel interesting. Or you might be interested in how to make well designed applications, or how to manage programming projects. There are so many things to programming that it's difficult suggesting an "advanced" book. I might suggest Introduction to Algorithms, but if algorithms aren't really your thing, you might find The Pragmatic Programmer more interesting. Both books can be said to be related to programming, but they are very different books.
-
We would encourage everybody to introduce themselves here so we might get to know you and "old" members are very welcome to introduce themselves as well.
-
I've got a VPS. A dedicated server would be overkill for my needs.
-
That's quite a surprise to me. As I said, it is something I would expect from any web host. Then again, I've never purchased shared hosting.
-
I would expect all webhosts to have that.
-
That doesn't necessarily mean you cannot write a TDD primer.
-
What do you mean with "doing .htaccess on a folder"? .htaccess files just contain Apache configuration directives. Not only does it have nothing to do with PHP whatsoever, but it can all be looked up in the Apache documentation.
-
Here is yet another alternative: http://devzone.zend.com/article/4571-Fetching-multiple-random-rows-from-a-database
-
A sub query returns a result, like all queries do, and you can use that result as a variable in your query. That's it, essentially.
-
http://web.archive.org/web/20080209154336/http://www.phpit.net/article/simple-mvc-php5/
-
A login script is essentially so simple that it's not even worth dedicating a tutorial for that. Stuff involved is essentially form processing, database access and sessions/cookies. We have a tutorial for sessions and cookies and we have one for database access and another one focusing on joins and unions. Then you have form processing, but that's fairly straightforward. You simply read from the $_GET or $_POST superglobal. You might also be interested in this blog post that talks about breaking a script/application down into logical elements the same way I just did.
-
You mean like this? http://www.phpfreaks.com/tutorial/debugging-a-beginners-guide