Re: Question about process states, ps and GDB

2012-12-02 Thread Baruch Siach
Hi Dan, On Sun, Dec 02, 2012 at 02:57:30PM +0200, Dan Shimshoni wrote: [...] > Starting program: /work/dev/t/sec/hello > > Breakpoint 1, main () at hello.c:7 > 7 for(i=0; i < 10; i++) > Missing separate debuginfos, use: debuginfo-install glibc-2.15-58.fc17.x86_64 > (gdb) > > Now with "ps a

Question about process states, ps and GDB

2012-12-02 Thread Dan Shimshoni
hello, I have a question about process states: I have this simplified code which I run under gdb. #include int main() { int i; for(i=0; i < 10; i++) printf("Hello, world!\n"); pause(); return 0; } I build on x86_64 (fedora 17) with gcc -g hello.c -o hello. And then: gdb --quiet hello

Re: mysql vs mysqli vs pdo (php) Q

2012-12-02 Thread Erez D
Thank you all for your replies I'll probably stick with PDO another short question: anybody knows of a good PHP IDE (on linux of course) ? On Sun, Dec 2, 2012 at 11:22 AM, Erez D wrote: > Hello, > > We are starting a new project, one that will be used for production and > should be supported

Re: mysql vs mysqli vs pdo (php) Q

2012-12-02 Thread E.S. Rosenberg
Personally I like PDO a lot. mysql_ should definitely be avoided, but as far as I always understood mysqli_ is the alternative to PDO for those people who don't like Object oriented stuff... PDO is afaik an official part of php and the "recommended" way to interact with a db so I have a hard time b

Re: mysql vs mysqli vs pdo (php) Q

2012-12-02 Thread Lior Kaplan
Hi Erez, >From PHP 5.4 the default for all the mysql extensions family is mysqlnd (PHP native mysql driver), and it seems that for the next PHP release (5.5) ext/mysql will be deprecated https://wiki.php.net/rfc/mysql_deprecation So PDO is probably the right answer. Kaplan On Sun, Dec 2, 2012

mysql vs mysqli vs pdo (php) Q

2012-12-02 Thread Erez D
Hello, We are starting a new project, one that will be used for production and should be supported for years. We need to access mysql via php currently i seem to preffer PDO as it supports not only mysql but many other DBs. searching the net, i see many comparisons of mysql vs mysqli vs pdo. the