Re: PYTHON LOOSING FOR JAVA???????

2005-11-09 Thread Nicola Musatti
ld people hire programmers to create new > innovative solutions, when they can just use Google to > search teh Interweb for source code which Google has > stolen from the rightful owners??? > > *wink* The obvious answer is send your CV to Alex... *wink*, *wink* If-you-can&#x

Re: Guido at Google

2005-12-21 Thread Nicola Musatti
ng to be a lot of very interesting positions opening everywhere else :-) Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Guido at Google

2005-12-22 Thread Nicola Musatti
could just buy the company and be done with it. Now you have to chase developers one by one all over the world... ;-) Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Herds of cats (was: Guido at Google)

2005-12-23 Thread Nicola Musatti
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Nicola Musatti <[EMAIL PROTECTED]> wrote: > . > >Ah, the closed source days! Back then you could just buy the company > >and be done with it. Now you have to chase developers

Re: Spiritual Programming (OT, but Python-inspired)

2006-01-04 Thread Nicola Musatti
logical inertia than as indications of the existence of some form of meta reality. More-platonic-than-pythonic-ly y'rs, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: OT: excellent book on information theory

2006-01-19 Thread Nicola Musatti
and a drive-in > >> movie. > > [Grant Edwards[ > > ;) > > > > That's a joke, right? > > Probably not, if Paul's American. For example, here in the states we > have Python Parks, where you go to look at scenery from inside your > python. They're a

Re: Grammar parsing

2006-08-03 Thread Nicola Musatti
Paolo Pantaleo wrote: > Hi, > > How can I write a pareser for a certain gramamr? I found PyPy that > does it, is thare any other tool? Maybe something built-in the python > interpreter? Check out Dave Beazley's Ply: http://www.dabeaz.com/ply/ . Cheers, Nicola Musatti -- ht

Re: Lead Software Engineer

2006-10-20 Thread Nicola Musatti
>>D) How you would improve the one you like. > > > > > > There _are_ no jobs on offer here. This is just a cheap attempt at > > getting free survey data. > > > > - alex23 > > > > They would get more data if they lowered their expectations for the &

Re: 10GB XML Blows out Memory, Suggestions?

2006-06-06 Thread Nicola Musatti
hange it, are you? Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: OO conventions

2006-02-03 Thread Nicola Musatti
problem and still allow a clean separation of concerns. Although instances of Klass are created uninitialized, they only live in this state within their factory and only reach trhe outside world only when they are in a usable state. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: OO conventions

2006-02-06 Thread Nicola Musatti
I V wrote: > Nicola Musatti wrote: [...] > > Factory functions (or classes) are there to solve this problem and > > still allow a clean separation of concerns. Although instances of Klass > > are created uninitialized, they only live in this state within their > >

Re: OO conventions

2006-02-06 Thread Nicola Musatti
Fredrik Lundh wrote: > Nicola Musatti wrote: [...] > > What is important to me is to keep your get_initial_data() function > > outside Klass if it's task is non trivial, e.g. it has to interact with > > the OS or a DB. > > why ? Separating the internal

Re: Too Many if Statements?

2006-02-08 Thread Nicola Musatti
. Moreover a lexical analyzer could be enough if your syntax is simple. I found Dave Beazley's PLY reasonably easy to use: http://www.dabeaz.com/ply/ Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: The best platform and editor for Python

2007-07-05 Thread Nicola Musatti
implemented. Profit is fundamental in convincing you that you really need the features. On the other hand open source projects tend to lack features nobody enjoys implementing. Cheers, Nicola Musatti P.S. Maybe I should add a ;-) -- http://mail.python.org/mailman/listinfo/python-list

Re: The best platform and editor for Python

2007-07-05 Thread Nicola Musatti
On Jul 5, 4:21 pm, Roy Smith <[EMAIL PROTECTED]> wrote: > In article <[EMAIL PROTECTED]>, > Nicola Musatti <[EMAIL PROTECTED]> wrote: > > > On Jul 5, 1:23 pm, Gregor Horvath <[EMAIL PROTECTED]> wrote: > > [...] > > > That's a property

Re: c++ for python programmers

2007-02-13 Thread Nicola Musatti
ison Wesley. As for something freely available people speak well of Bruce Eckel's "Thinking in C++", but I haven't read it: http://www.mindview.net/ Books/TICPP/ThinkingInCPP2e.html Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: c++ for python programmers

2007-02-14 Thread Nicola Musatti
factory way yet. There are many valid reasons to dislike C++ and to prefer Python to it, but dismissing it as "C++ Is Evil" is just plain stupid. Moreover, C might be a valid competitor for small projects and it probably covers most Pythonistas' needs for "closeness to the metal", but it just doesn't scale. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: c++ for python programmers

2007-02-14 Thread Nicola Musatti
able to reclaim all the unreachable memory and forgetting to explicitly reset variables may lead to hanging to memory that is really not needed anymore. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Who's to blame?

2008-01-03 Thread Nicola Musatti
ssuming I'm not missing some obvious mistake of mine, that is. Thanks for your help. Cheers, Nicola Musatti # sbs_test.py import wx import sbs_test_xrc class MainFrame(sbs_test_xrc.xrcMainFrame): def __init__(self, parent): sbs_test_xrc.xrcMainFrame.__init__(self, parent)

Re: Who's to blame?

2008-01-04 Thread Nicola Musatti
of wxStdDialogButtonSizer, but I still feel that given that both your method and mine above work straight away, it should provide the same behaviour with Yes/No buttons as with OK/Cancel ones. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Who's to blame?

2008-01-04 Thread Nicola Musatti
On Jan 4, 3:12 pm, [EMAIL PROTECTED] wrote: [...] > I have sub-classed wx.Dialog to do my own custom modal dialogs as > well. You can use sizers and put whatever widgets you want onto it > that way. Just make sure that when you create the Yes/No buttons, you > give them the wx.ID_YES or wx.ID_NO id

Re: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Nicola Musatti
r programming languages. So, yes, your big company is likely to be safer with newbie C++ programmers than with Python newbie programmers. Had we been speaking of productivity... but we weren't, were we? Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Nicola Musatti
Please do not reply personally to newsgroup postings, thank you. On Thu, Feb 21, 2008 at 4:00 PM, Tim Chase <[EMAIL PROTECTED]> wrote: [...] -- Nicola.Musatti gmail com Home: http://nicola.musatti.googlepages.com/home Blog: http://wthwdik.wordpress.com/ -- http://mail.python.org/mailman/listi

Re: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Nicola Musatti
On Feb 21, 3:46 pm, "Ryan Ginstrom" <[EMAIL PROTECTED]> wrote: > > On Behalf Of Nicola Musatti > > Newbies learn, and the fundamental C++ lessons are usually > > learnt quite easily. Unless we're talking about idiots, that > > is, but in t

Re: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Nicola Musatti
t spots of Python as a professional tool. Still comparing its size against Stroustrup's book's is really comparing apples with oranges. > Assembly language is pretty easy to learn too. But is it a > productive use of a programmer's time? Only if it's 1975. It depends on the task at hand. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Nicola Musatti
On Feb 21, 5:14 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > Ryan Ginstrom wrote: > >> On Behalf Of Nicola Musatti > >> Newbies learn, and the fundamental C++ lessons are usually > >> learnt quite easily. Unless we're talking about idiots, that > >&

Re: understaning "self"

2008-02-21 Thread Nicola Musatti
ument, but can optionally use the 'this' keyword to refer to it is more convenient; however the explicit 'self' makes it possible for free functions and class methods to work in exactly the same way. This in turn makes the language more consistent and makes some more advanced, very effective techniques possible. Hope this helps. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Article of interest: Python pros/cons for the enterprise

2008-02-21 Thread Nicola Musatti
large tracts of the C++ development > landscape that it must somehow be cheating to use a garbage collector, > I suppose we still have a few more years of applications accessing the > wrong memory locations and showing the usual useless backtrace > dialogues for submission to unintere

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
Paul Boddie wrote: > On 21 Feb, 19:22, Nicola Musatti <[EMAIL PROTECTED]> wrote: [...] > > The main reason why C++ has declined in usage is because it never got > > the kind of corporate marketing enjoyed by Java and C#. > > What? C++ was practically the fa

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
On Feb 22, 9:03 am, Bruno Desthuilliers wrote: > Nicola Musatti a écrit : [...] > > So, yes, your big company is > > likely to be safer with newbie C++ programmers than with Python newbie > > programmers. > > Sorry but I don't buy your arguments. I suspect nobo

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
On Feb 22, 12:24 am, Carl Banks <[EMAIL PROTECTED]> wrote: > On Feb 21, 1:22 pm, Nicola Musatti <[EMAIL PROTECTED]> wrote: > > > There are other downsides to garbage collection, as the fact that it > > makes it harder to implement the Resource Acquisition Is > &

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
t's about the only way to ensure that an object of one type is never taken to be of another type, e.g. by keeping around pointers to the object that occupied its memory before it was reallocated. I believe that this degree of type safety is worth having, which is why I favour the addit

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
On Feb 22, 12:09 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > Nicola Musatti <[EMAIL PROTECTED]> writes: > > The real point about garbage collection is that it's about the only > > way to ensure that an object of one type is never taken to be of > >

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
On Feb 22, 12:07 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > Nicola Musatti <[EMAIL PROTECTED]> writes: > > In C++ memory is just another resource which you can handle just like > > any other one, possibly using RAII. > > Ok, I'll bite. Here's a

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
On Feb 22, 3:25 pm, Roy Smith <[EMAIL PROTECTED]> wrote: > In article > <[EMAIL PROTECTED]>, > Nicola Musatti <[EMAIL PROTECTED]> wrote: > > > Yet I'm convinced that even such partial guarantee is worth having. > > Partial guarantees are like being

Re: Article of interest: Python pros/cons for the enterprise

2008-02-22 Thread Nicola Musatti
On Feb 22, 5:13 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Fri, 22 Feb 2008 04:48:28 -0800, Nicola Musatti wrote: [...] > > As you can see the standard library takes care of all memory > > management. > > Aaah, that's much ni

Re: Article of interest: Python pros/cons for the enterprise

2008-02-23 Thread Nicola Musatti
away by the compiler; this is what VC++ does, for instance. Cheers, Nicola Musatti -- Nicola.Musatti gmail com Home: http://nicola.musatti.googlepages.com/home Blog: http://wthwdik.wordpress.com/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Article of interest: Python pros/cons for the enterprise

2008-02-23 Thread Nicola Musatti
Paul Rubin wrote: > Nicola Musatti <[EMAIL PROTECTED]> writes: >>>a = [f(x) + g(y) for x,y in izip(m1, m2) if h(x,y).frob() == 7] [...] > There you replace one line of code with 40+ lines to get around the > absence of GC. Sounds bug-prone among other things. Come on

Re: Article of interest: Python pros/cons for the enterprise

2008-02-25 Thread Nicola Musatti
On Feb 24, 1:01 am, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > Nicola Musatti <[EMAIL PROTECTED]> writes: > > >>>a = [f(x) + g(y) for x,y in izip(m1, m2) if h(x,y).frob() == 7] > > [...] > > > There you replace one line of code with 40+ lines t

Re: Article of interest: Python pros/cons for the enterprise

2008-02-25 Thread Nicola Musatti
On Feb 24, 9:14 pm, Larry Bugbee <[EMAIL PROTECTED]> wrote: > On Feb 21, 10:22 am, Nicola Musatti <[EMAIL PROTECTED]> wrote: > > > On Feb 21, 6:31 pm, Paul Boddie <[EMAIL PROTECTED]> wrote: > > > > The main reason why C++ has declined in usage is because

Re: Article of interest: Python pros/cons for the enterprise

2008-02-25 Thread Nicola Musatti
On Feb 25, 3:17 pm, Carl Banks <[EMAIL PROTECTED]> wrote: > On Feb 25, 8:29 am, Nicola Musatti <[EMAIL PROTECTED]> wrote: > > > On Feb 24, 9:14 pm, Larry Bugbee <[EMAIL PROTECTED]> wrote: > > > Corporate marketing, and corporate attention in general, saw

Re: Article of interest: Python pros/cons for the enterprise

2008-02-26 Thread Nicola Musatti
On Feb 26, 12:58 pm, Paul Boddie <[EMAIL PROTECTED]> wrote: > On 25 Feb, 19:44, Nicola Musatti <[EMAIL PROTECTED]> wrote: > > > > > Witness the kind of > > libraries/framework that used to and still come with some commercial C+ > > + implementation, and e

Re: Article of interest: Python pros/cons for the enterprise

2008-02-26 Thread Nicola Musatti
earch/isbnInquiry.asp?EAN=97802... Read the title. This is about "C Traps and Pitfalls". Although it shows its age, it's still worth reading. Unfortunately from its price you'd think it was handwritten. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Article of interest: Python pros/cons for the enterprise

2008-02-26 Thread Nicola Musatti
95% of the cases, but not for a C++ one? At least in C++ resource management only becomes more complicated if you need more control. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Article of interest: Python pros/cons for the enterprise

2008-02-26 Thread Nicola Musatti
arentheses. Which, admittedly, is no small thing for Lisp. Guido already did that, didn't he? ;-) Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Code correctness, and testing strategies

2008-06-03 Thread Nicola Musatti
per > time. It > is also a scarcer resource than developer time. Moreover, hand performed testing takes the same amount of time each time it is performed and doesn't enjoy the incremental aspect of automated testing. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Help need with subprocess communicate

2008-06-04 Thread Nicola Musatti
cess each time I want to communicate with it. Here's what you need: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554 Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Help need with subprocess communicate

2008-06-06 Thread Nicola Musatti
oesn't mix well with framework that have their own event loop (wxPython in my case), but you can't really expect that to work. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: GUI Programming by hand not code with Python Code

2008-07-09 Thread Nicola Musatti
e a name in the xrc file. Unfortunately the latest XRCed version requires you to annotate the xrc in order to obtain the same effect which is not only tedious, but as far as I can tell it also makes it impossible to round trip between XRCed and wxFormBuilder. Cheers, Nicola Musatti -- http://mail.pyt

Re: subprocess module is sorely deficient?

2008-04-22 Thread Nicola Musatti
a separate thread (I am > currently writing a mencoder GUI in Tkinter and need a full fledged process > handler to control the command line and to display the progress in a > text-box) I suggest you check out this: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/44055

Re: Java or C++?

2008-04-24 Thread Nicola Musatti
d/commonly accepted solutions to the problems you mention can be found in the C++ standard library and in Boost (http://boost.org). With std::vector and boost::shared_ptr you can go an extremely long way without giving pointers any special considerations. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Do you know of a much simpler way of writing a program that writes a program?

2008-05-02 Thread Nicola Musatti
On May 2, 3:50 pm, mcse jung <[EMAIL PROTECTED]> wrote: > Here is asample program that writes a program and then executes it. > Do you knowof a much simpler way of writing a program that writes a program? Use a templating engine, such as Cheetah: http://www.cheetahtemplate.org/ Ch

Re: Inquiry regarding the name of subprocess.Popen class

2008-09-02 Thread Nicola Musatti
s/007908775/xsh/popen.html Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: New python.org website

2006-03-07 Thread Nicola Musatti
age itself. Kudoes to the > design team. Sigh! Another of these sites that all look the same, with two screenfuls of info on the home page that are going to be in the way of every returning user... Not to mention the dull color scheme and the unremarkable logo. I can't say I'm impressed

Re: New python.org website

2006-03-09 Thread Nicola Musatti
logo, > and notably the Ruby on Rails logo, which is first rate. The Java logo has the problem that it is not universal: in Italy for instance the name "Java" has no connection with "coffee". Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Standalone Python functions in UML?

2006-04-05 Thread Nicola Musatti
fit well. Nor is it well suited to represent the shift to a meta level that is involved when you start creating types at execution time. Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list

Re: Standalone Python functions in UML?

2006-04-05 Thread Nicola Musatti
ls are not that popular within the C and Lisp programming communities... Cheers, Nicola Musatti -- http://mail.python.org/mailman/listinfo/python-list