Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-09-01 Thread Richard Dale
2008/9/1 Arne Babenhauserheide <[EMAIL PROTECTED]> > Am Mittwoch 27 August 2008 18:38:05 schrieb Aaron J. Seigo: > > this is a feature also provided by ECMA Script. the question is "why > $LANG" > > instead of just stickign to ECMA Script. > > > > the reasons i see are: > > > > * you know $LANG, o

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-31 Thread Arne Babenhauserheide
Am Mittwoch 27 August 2008 18:38:05 schrieb Aaron J. Seigo: > this is a feature also provided by ECMA Script. the question is "why $LANG" > instead of just stickign to ECMA Script. > > the reasons i see are: > > * you know $LANG, or the project your are integrating with is written in > $LANG > > *

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-27 Thread Aaron J. Seigo
On Wednesday 27 August 2008, Paul B wrote: > On Wednesday 27 August 2008 07:07:50 Arne Babenhauserheide wrote: > > I have one real-world benefit: Because I can (as of now) only write > > meaningful stuff in any workable time-frame using Python. > > Main benefit I can think of is that when the plasm

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-27 Thread Alex Merry
On Wednesday 27 August 2008 16:26:08 Paul B wrote: > On Wednesday 27 August 2008 07:07:50 Arne Babenhauserheide wrote: > > I have one real-world benefit: Because I can (as of now) only write > > meaningful stuff in any workable time-frame using Python. > > Main benefit I can think of is that when t

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-27 Thread Paul B
On Wednesday 27 August 2008 07:07:50 Arne Babenhauserheide wrote: > I have one real-world benefit: Because I can (as of now) only write > meaningful stuff in any workable time-frame using Python. Main benefit I can think of is that when the plasmoids are scripted and don't need to be compiled you

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-27 Thread Riccardo Iaconelli
On Tuesday 26 August 2008 23:56:14 Aaron J. Seigo wrote: > C++ can crash the > application And you must be really good to code a plasmoid so buggy that causes unexpected crashes once shipped. ;-P Bye, -Riccardo -- GPG key: 3D0F6376 When encrypting, please encrypt also for this subkey: 9EBD7FE1

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-27 Thread Aaron J. Seigo
On Wednesday 27 August 2008, Arne Babenhauserheide wrote: > Am Dienstag 26 August 2008 23:02:02 schrieb Aaron J. Seigo: > > other than "because i prefer to write in python" i'm not overly sure what > > real world compelling benefits there are to other languages. i think it's > > great they are ther

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Arne Babenhauserheide
Am Dienstag 26 August 2008 23:02:02 schrieb Aaron J. Seigo: > other than "because i prefer to write in python" i'm not overly sure what > real world compelling benefits there are to other languages. i think it's > great they are there, if only because people can and should work on > whatever they w

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Dan Meltzer wrote: > trouble with the video player plasmoid than you would expect. Phonon > cannot render video on a qgraphicsitem, or even on a > qgraphicsproxywidget, due to some of the trickery it involves. In this is being resolved with phonon/experimental/abstract

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Wednesday 27 August 2008 01:52:17 Dan Meltzer wrote: > One sort-of related note, you will likely run into a whole lot more > trouble with the video player plasmoid than you would expect. Phonon > cannot render video on a qgraphicsitem, or even on a > qgraphicsproxywidget, due to some of the tri

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Dan Meltzer
On Tue, Aug 26, 2008 at 6:18 PM, Paul B <[EMAIL PROTECTED]> wrote: > On Tuesday 26 August 2008 23:01:37 Aaron J. Seigo wrote: >> On Tuesday 26 August 2008, Paul B wrote: >> > >> > I was considering rewriting the binary clock in Python anyway, since last >> > time I checked it didn't support true bi

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Alex Merry
On Tuesday 26 August 2008 23:18:53 Paul B wrote: > I might take a crack at it, but not too sure about my ecmascript skills, > right now I'm gonna try make a C++ Video Player plasmoid to practise, > incidentally where can I find the API docs for plasma? api.kde.org says to > find them at plasma.kde.

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Tuesday 26 August 2008 23:01:37 Aaron J. Seigo wrote: > On Tuesday 26 August 2008, Paul B wrote: > > > > I was considering rewriting the binary clock in Python anyway, since last > > time I checked it didn't support true binary, only binary-coded decimal, > > and it'd be good practise for making

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Paul B wrote: > On Tuesday 26 August 2008 20:45:21 Alex Merry wrote: > > scripted plasmoids. If I was proficient in a scripted language, I'd make > > nowplaying into just such an example. > > I was considering rewriting the binary clock in Python anyway, since last > tim

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Paul B wrote: > On Tuesday 26 August 2008 22:02:02 Aaron J. Seigo wrote: > > not quite accurate; they do run in the pasma process but as they aren't > > running native code errors in them won't bring down the entire desktop. > > instead, these errors, or "crashes", are ca

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Alex Merry
On Tuesday 26 August 2008 21:07:15 Paul B wrote: > I was considering rewriting the binary clock in Python anyway, since last > time I checked it didn't support true binary, only binary-coded decimal, > and it'd be good practise for making plasmoids, but right now the Python > bindings don't seem to

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Tuesday 26 August 2008 22:02:02 Aaron J. Seigo wrote: > not quite accurate; they do run in the pasma process but as they aren't > running native code errors in them won't bring down the entire desktop. > instead, these errors, or "crashes", are caught by the > runtime/interpreter/vm and handled

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Paul B
On Tuesday 26 August 2008 20:45:21 Alex Merry wrote: > However, kdeplasma-addons is probably a very good place to introduce more > scripted plasmoids. If I was proficient in a scripted language, I'd make > nowplaying into just such an example. I was considering rewriting the binary clock in Pyth

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Aaron J. Seigo
On Tuesday 26 August 2008, Paul B wrote: > I've read before on several occassions that plasmoids should be written in > Python(when the bindings are finished :P), Ruby, JS, etc. because that way > they don't run in the plasma process, and a crash will not bring down the > entire desktop. not quite

Re: Question about C++ vs. Python/Ruby/JS plasmoids

2008-08-26 Thread Alex Merry
On Tuesday 26 August 2008 19:58:52 Paul B wrote: > Have you thought about switching over the core plasmoids to a scripting > language? Is there any language that could be used without adding > additional dependencies to plasma (QtScript?), or if not, do you think it > would be worthwhile to pick on