Re: [PHP] Re: Re: php-cli vs python
Crayon Shin Chan wrote: On Saturday 09 June 2007 01:22, Daniel Brown wrote: I actually haven't found a platform yet that I couldn't port PHP to, if it wasn't already native. We're talking Windows, Linux, BSD, true *nix, MacOS, SunOS, Amiga, et cetera. I doubt it would run on my old Commodore 64 with the 1541 5.25 floppy drive (LOAD *,8,1), but you can emulate a C64 in PHP (http://phpc64.extra.hu). ;-P Perhaps it would've been better to say it is _available_ on more platforms. No doubt given enough dedication you can probably get both Python and PHP to _run_ on most platforms. However as an example, Python (albeit an older version) is running happily on Nokia S60 phones, whereas AFAIK there are no PHP running on said phones. An f'ing big rant deserves to go here about f***wits that can't communicate who spend all day staring the display of a multimedia commuication device that and the number of people without access to clean water. ... but I can't be bothered, too busy watching a South American soap on my mobile. :-/ Also Python supports all the major GUI bindings whereas PHP only supports GTK (AFAIK). which reminds of the guy from LotusNotes fame - whose still try to build the perfect PIM ... using Python, all good and well but slow as congealed dogshit through a seive doesn't even begin to describe it. IT is a joke, this list is joke, I'm a joke. no joke. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On Friday 15 June 2007 21:23, Jochem Maas wrote: [etc] IT is a joke, this list is joke, I'm a joke. no joke. Someone give this guy his meds :) -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On 6/15/07, Crayon Shin Chan [EMAIL PROTECTED] wrote: On Friday 15 June 2007 21:23, Jochem Maas wrote: [etc] IT is a joke, this list is joke, I'm a joke. no joke. Someone give this guy his meds :) -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Must be Friday And as far as a South American soap opera goes, how many people are dressed in bumblebee suits? -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On 6/8/07, Crayon Shin Chan [EMAIL PROTECTED] wrote: On Friday 08 June 2007 04:10, Abdullah Ramazanoglu wrote: I found one intersting item though: Under the What does Python have that PHP doesn't? header, there's a bullet stating that support for all major GUI frameworks. I know that both php and python have support for gtk. Am I to understand from this statement that python has also support for qt? Yes, it's called PyQT. For purely non-web work Python beats PHP hands down. Plus it runs on more platforms. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php I actually haven't found a platform yet that I couldn't port PHP to, if it wasn't already native. We're talking Windows, Linux, BSD, true *nix, MacOS, SunOS, Amiga, et cetera. I doubt it would run on my old Commodore 64 with the 1541 5.25 floppy drive (LOAD *,8,1), but you can emulate a C64 in PHP (http://phpc64.extra.hu). ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On Friday 08 June 2007 04:10, Abdullah Ramazanoglu wrote: I found one intersting item though: Under the What does Python have that PHP doesn't? header, there's a bullet stating that support for all major GUI frameworks. I know that both php and python have support for gtk. Am I to understand from this statement that python has also support for qt? Yes, it's called PyQT. For purely non-web work Python beats PHP hands down. Plus it runs on more platforms. -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On Saturday 09 June 2007 01:22, Daniel Brown wrote: I actually haven't found a platform yet that I couldn't port PHP to, if it wasn't already native. We're talking Windows, Linux, BSD, true *nix, MacOS, SunOS, Amiga, et cetera. I doubt it would run on my old Commodore 64 with the 1541 5.25 floppy drive (LOAD *,8,1), but you can emulate a C64 in PHP (http://phpc64.extra.hu). ;-P Perhaps it would've been better to say it is _available_ on more platforms. No doubt given enough dedication you can probably get both Python and PHP to _run_ on most platforms. However as an example, Python (albeit an older version) is running happily on Nokia S60 phones, whereas AFAIK there are no PHP running on said phones. Also Python supports all the major GUI bindings whereas PHP only supports GTK (AFAIK). -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Re: php-cli vs python
Daniel Brown dedi ki: On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: --8-- Interesting reading: http://wiki.w4py.org/python-vs-php.html Really interesting. It was a relief for me to see that even a somewhat biased document written by python champions didn't reveal serious advantages over php enough to consider dual language programming. However, there's a general perception of php as a web-only language, and all the comparisons I find -this one included- end up comparing the two as web programming languages. What I really need is a comparison regarding pure cli or gui projects. I found one intersting item though: Under the What does Python have that PHP doesn't? header, there's a bullet stating that support for all major GUI frameworks. I know that both php and python have support for gtk. Am I to understand from this statement that python has also support for qt? Kind regards, -- Abdullah Ramazanoglu aramazan ÄT myrealbox D0T cöm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On 6/7/07, Abdullah Ramazanoglu [EMAIL PROTECTED] wrote: Daniel Brown dedi ki: On 6/7/07, Man-wai Chang [EMAIL PROTECTED] wrote: --8-- Interesting reading: http://wiki.w4py.org/python-vs-php.html Really interesting. It was a relief for me to see that even a somewhat biased document written by python champions didn't reveal serious advantages over php enough to consider dual language programming. However, there's a general perception of php as a web-only language, and all the comparisons I find -this one included- end up comparing the two as web programming languages. What I really need is a comparison regarding pure cli or gui projects. I found one intersting item though: Under the What does Python have that PHP doesn't? header, there's a bullet stating that support for all major GUI frameworks. I know that both php and python have support for gtk. Am I to understand from this statement that python has also support for qt? Kind regards, -- Abdullah Ramazanoglu aramazan ÄT myrealbox D0T cöm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If I'm not completely mistaken, I think that Python can even interface with the GNOME libraries. PHP could theoretically do that, as well, if someone went through and created extensions for it all. PHP is an excellent command-line interpreter, in my opinion. I'd say that, in all of my day-to-day PHP programming, about 60% of the code is for the web, with 35% being run from the command line, and 5% magically disappearing, to loud screams of frustration and broken coffee mugs. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python
On Thu, 2007-06-07 at 16:19 -0400, Daniel Brown wrote: On 6/7/07, Abdullah Ramazanoglu [EMAIL PROTECTED] wrote: If I'm not completely mistaken, I think that Python can even interface with the GNOME libraries. PHP could theoretically do that, as well, if someone went through and created extensions for it all. PHP is an excellent command-line interpreter, in my opinion. I'd say that, in all of my day-to-day PHP programming, about 60% of the code is for the web, with 35% being run from the command line, and 5% magically disappearing, to loud screams of frustration and broken coffee mugs. I had one of those little screams yesterday when I started using the PHP's id3 lib when I realized it's crap because it can't delete or write version 2 tags. Fortunately I found a nice user comment pointing me to the PHP implemented getid3 lib. An hour later my mp3 collection (several thousand ripped from my own CD collection of course :) had nice ID3 tags based on the directories and filenames I had created a few years ago. Wasn't an issue when I was using XMMS but I just switched to Amarok and it makes extensive sensible use of ID3 tags :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python OT
On 6/7/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-07 at 16:19 -0400, Daniel Brown wrote: On 6/7/07, Abdullah Ramazanoglu [EMAIL PROTECTED] wrote: If I'm not completely mistaken, I think that Python can even interface with the GNOME libraries. PHP could theoretically do that, as well, if someone went through and created extensions for it all. PHP is an excellent command-line interpreter, in my opinion. I'd say that, in all of my day-to-day PHP programming, about 60% of the code is for the web, with 35% being run from the command line, and 5% magically disappearing, to loud screams of frustration and broken coffee mugs. I had one of those little screams yesterday when I started using the PHP's id3 lib when I realized it's crap because it can't delete or write version 2 tags. Fortunately I found a nice user comment pointing me to the PHP implemented getid3 lib. An hour later my mp3 collection (several thousand ripped from my own CD collection of course :) had nice ID3 tags based on the directories and filenames I had created a few years ago. Wasn't an issue when I was using XMMS but I just switched to Amarok and it makes extensive sensible use of ID3 tags :) Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' Rob, Are you using Amarok on Windows, Linux, or other? I have Amarok 1.3.1 on KDE 3.4.2 on Mandriva 2006.0 Community on 2.6.12-12mdksmp on an i686 Intel(R) Pentium(R) 4 CPU 2.60GHz w/ 1GB RAM on a desk with a bunch of crap on it, and all it does is crash for me. I use Totem instead, occasionally using xine for audio, and usually for video (different subject). Just wondering how stable Amarok is for you. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Re: php-cli vs python OT
On Thu, 2007-06-07 at 16:36 -0400, Daniel Brown wrote: On 6/7/07, Robert Cummings [EMAIL PROTECTED] wrote: On Thu, 2007-06-07 at 16:19 -0400, Daniel Brown wrote: I had one of those little screams yesterday when I started using the PHP's id3 lib when I realized it's crap because it can't delete or write version 2 tags. Fortunately I found a nice user comment pointing me to the PHP implemented getid3 lib. An hour later my mp3 collection (several thousand ripped from my own CD collection of course :) had nice ID3 tags based on the directories and filenames I had created a few years ago. Wasn't an issue when I was using XMMS but I just switched to Amarok and it makes extensive sensible use of ID3 tags :) Rob, Are you using Amarok on Windows, Linux, or other? I have Amarok 1.3.1 on KDE 3.4.2 on Mandriva 2006.0 Community on 2.6.12-12mdksmp on an i686 Intel(R) Pentium(R) 4 CPU 2.60GHz w/ 1GB RAM on a desk with a bunch of crap on it, and all it does is crash for me. I use Totem instead, occasionally using xine for audio, and usually for video (different subject). Just wondering how stable Amarok is for you. I'm running Amarok 1.4.3 (using KDE 3.5.5) on Ubuntu 6.10 (I'm actually a Gnome user). I used Mandrake up till 10.0, I'll never go back. My desktop is an Athlon 2400 with 2 gigs of memory (though consumption rarely goes past half gig unless I'm running several VMWare OSes at the same time). I started using it about 3 days ago, I've had a few crashes, but mostly when doing something major like re-scanning my collection (8000+). Had no trouble grabbing covers, creating playlists, editing 100s of tags within Amarok, etc. Only complaint really is that it's pig slow when switching to or sorting columns on large playlists (well the whole 8000 heheh). Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php