Jump to content

renatov

Members
  • Posts

    43
  • Joined

  • Last visited

Everything posted by renatov

  1. Well, I guess FANN's PHP binding is not very used then. I'm afraid if I use it and get stuck somewhere, I won't have someone to ask for help. So, I'll use FANN's original library in C. Thanks for the help anyway!
  2. Hello guys, I'll have to use the Fast Neural Network (FANN) framework on my research to build a multilayer feedforward network with backpropagation error algorithm. I'm currently deciding if I use C or PHP and I would like your oppinion. The main reason I don't want to code it in C is because it will be a pain in the ass working with pointers, structures etc... in PHP everything would be much easier, and performance is not an issue. The only thing that gets me worried is how functional is FANN's PHP binding? Is it fully working? Is it up to date? Have all C function already been binded to PHP? If someone already used FANN's PHP binding, I would appreciate if you tell me your experience too. Thanks for your attention.
  3. Thanks, nodejs is exactly what I was looking for.
  4. I'm looking for something like iPython is for Python, but a shell for JavaScript. If you don't know iPython, what I'm looking for is a terminal that interpret JavaScript codes in real time, so I can type some commands and see their output. I always find this kind of interpreter very useful when I'm learning a new language. Thanks!
  5. Oh, now I understand your point. I wasn't clear when I said MariaDB is the default DB in OpenSUSE. It doesn't come pre-installed. What I tryed to mention is that when you specifically try to install MySQL, OpenSUSE installs MariaDB instead. All metapackages that previously installed MySQL now install MariaDB. If you insist on using MySQL, like I did (for learning purposes), you must uninstall MariaDB, manually remove its tables and then install the mysql communit server package.
  6. It's nice to see this point of view. According to the article you suggested, MariaDB and MySQL are very similar RDBMS and it seems that the most important difference that is encouraging people to migrate is the license. I read another article that said Oracle has an agreement of providing a dual licensing (one open source and another commercial) to MySQL only until 2015. After that, it's totally up to Oracle what to do with MySQL. For now I'm not too concerned about all this because I'm still learning and even though I won't use MySQL forever, after learning some fundamental SQL manipulation concepts it will be easy to learn another RDBMS tool. But I confess I got a bit troubled by all these things I read. I mean, what if I do some jobs using MySQL now and withing a few years this tool is no longer avaliable, or force me to pay in order to use it, or become a very bad product that we won't be able to fork ? Maybe that's why people are migrating now, because they are being cautious and if they already start migrating, they can do it gradually. Why do you say that a relational database shouldn't be the default database for a Linux distro? What do you think would be better, and why?
  7. Hi Phailip, thanks for your reply. Could you please tell why did you migrate from MySQL to these other databases?
  8. Hi guys, I've been following some discussions in Linux forums about migrating from MySQL to MariaDB. Linux community seems very enthusiastic about this migration and some distros already set MariaDB as their default SQL database, for example, OpenSUSE 13.1. But what do you, web developers, think about this? Overall, are web developers really planning to migrate from MySQL to MariaDB? Do you think MariaDB will be more used than MySQL in the near future?
  9. Thank you, Zane! That clears up all my questions. I appreciate your help
  10. Things are much more clear now, thanks so much, guys! Only one more question, what's the difference between Apache's php.ini and CGI's php.ini?
  11. Yes, I was interested in learning phpdbg too since it will be in PHP 5.6 core, but it seems xdebug is better documented, so I'll give it a try at least for now. Thanks for your tutorial!
  12. Thanks for your reply! If I want to change a configuration, do I have to change it in the three different files?
  13. Hello everybody, I'm using OpenSUSE 13.1 and PHP 5.4.20, which was installed from OpenSUSE's official repository. The problem is that I have no /etc/php.ini, although I have a php.ini in 3 other locations: # find /etc -name php.ini /etc/php5/fastcgi/php.ini /etc/php5/cli/php.ini /etc/php5/apache2/php.ini The page phpinfo.php loads correctly in localhost and it points that php.ini location is /etc/php5/apache2/php.ini . Is this normal or is it mandatory to have a /etc/php.ini file? Do I must copy one of the others php.ini to the /etc directory? If yes, which one of them?
  14. Ok, thanks guys! I'll try using Xdebug with Sublime Text and with VIM to see if it offers what I'm looking for.
  15. Why isn't XDebug suitable for debuggin Object Oriented PHP? I'm on Linux and I'm totally comfortable with compiling. How is this simple xdebug client included in the source package? I couldn't find any information about it.
  16. I find a plugin for Sublime Text that aparently can enable XDebug inside this text editor. What I need for PHP is something like pudb (for Python), take a look at this pudb print screen: http://asmeurersympy.files.wordpress.com/2010/07/screen-shot-2010-07-28-at-12-51-36-pm.png It runs on terminal and it has these features: 1. Execute line by line 2. Show variables values and changes line by line 3. Enable you to navigate between functions stack 4. Can use breakpoints Does XDebug offer this? Is there another debugger for PHP that has these features?
  17. I see, thanks for your reply. Is it possible to use XDebug outside an IDE? Like, via terminal.
  18. I'm using Sublime Text, it's a pretty decent text editor. You can install some plugins for syntax checking and stuff. Very customizable. So far so good.
  19. I've found some debugger options for PHP: http://xdebug.org/ http://www.php-debugger.com/dbg/ http://phpdbg.com/ http://dbug.ospinto.com/ http://www.firephp.org/ http://pecl.php.net/package/apd And probably there are more. Do you guys know any of these debuggers? Do you recommend one? What is the best PHP debugger? ps: I'm trying to avoid IDEs at the momment, I would like to use a tool specifically made for debugging.
  20. I used to think it's far more convenient to have all the stuff I needed in one single window and so installed Eclipse and used it for almost a year. But then I started to think that it's troublesome to rely exclusive on my IDE and to expect that it will provide every single feature I need. A general purpose software will provide a lot of features indeed, but it will excel in none of them when compared to tools which were designed to do specific tasks. For example, I could use an IDE to do some MySQL manipulations. Eclipse has two famous plugins for Database management: SQL Explorer and Data Tools Platform. Although they can do what they are meant to do, their interface are clunky, syntax highlighting is inaccurate and their queries are terribly slow - inexplicably slow, oh my god. They will never be as good as an accurate text editor like Sublime Text + a specific MySQL administration tool like phpMyAdmin. I'm currently keen to get rid of IDEs and to start using separate lightweight tools for specific tasks. I'm still trying new software to see what makes me happier, but so far I feel better with Sublime Text + auxiliary tools than when I was with that monolithic bloatware called Eclipse. @trq I tryed to use VIM, but it just didn't happen. I don't know, everything seemed so unnatural. How did you become familiar with it? Did it happened spontaneously or did you have to push yourself into using it for a while?
  21. Hello guys, I've recently came across different points of view concerning IDEs: there are people who find that they are bad or at least unnecessary, and there are people who find that they are good or even indispensable. The only two arguments I found favorable to IDEs say that IDEs help people code faster and, in some cases, they are indispensable tools because you can't properly program without it in some languages, like Java. But then I found some people arguing that if a language needs an IDE to be used this is a sign that this language is a bad programming language in the first place. According to these people, a good programming language shouldn't require an IDE to be used efficiently. People complain that IDEs are bloatwares, resource consuming, and they get worse in every release. When working with projects, IDEs tend to add a bunch of useless information, hidden files and metadata. IDEs has their own work flow and particular ways of doing things, there is no space for creativity and over time you become passively tied to what these softwares offer you. I found a lot of people saying that they prefer to stick with lightweight and versatile text editors, like VIM, EMACS, Sublime etc, and the basic tool chain, so they know exactly what they are doing, they have more control over what's happening and there is more flexibility the way things can be done. VIM and EMACS are not considered IDEs in a pejorative way, although they can have IDE features, because they don't have the bad qualities of monolithic bloatwares like Eclipse and Visual Studio, and they don't force you to develop bad habits, hence they are primarily considered lightweight text editors. Here are some articles I've been reading recently: http://java.dzone.com/articles/ide-bad-programming-language http://michaelochurch.wordpress.com/2013/01/09/ide-culture-vs-unix-philosophy/ http://blog.sanctum.geek.nz/series/unix-as-ide/ What's your opinion about that? What do you thing about the use of IDEs?
  22. I think this issue is perfectly clear for me now. Thank you very much for your help, guys!
  23. ps: sorry for my English, what I was trying to ask is when should I use abstract methods and when should I use interfaces, since both are equal in the aspect that they force the child/implementing class to code its own methods.
×
×
  • 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.