Re: Java or C++?

2008-04-15 Thread Grzegorz Słodkowicz
> You must be joking - better designed? C++ was a botch to an already poor > language. > Although I'm relatively new to the concept that C++ is too difficult to use, I would concede that with certain mindset and priorities Java may be a valid choice. Not so if one is willing to expand know

Re: Java or C++?

2008-04-14 Thread Grzegorz Słodkowicz
> Hello, I was hoping to get some opinions on a subject. I've been > programming Python for almost two years now. Recently I learned Perl, > but frankly I'm not very comfortable with it. Now I want to move on > two either Java or C++, but I'm not sure which. Which one do you think > is a softer tr

Re: Python 3.0 new integer division

2008-04-08 Thread Grzegorz Słodkowicz
> If you want precision with fractions, you should be using the Decimal > type, which uses a rational. A rational, if you recall from your math > classes, is one integer divided by another. > Isn't Decimal a BCD implementation? -- http://mail.python.org/mailman/listinfo/python-list

Re: Beta testers needed for a high performance Python application server

2008-03-26 Thread Grzegorz Słodkowicz
> Why not just put it on the net somewhere and tell us where it is? > People aren't generally going to want to help or even look at it if > you treat it like a proprietary application. So, put the documentation > and code up somewhere for all to see. > http://www.yieldserver.com:8081/ -- http:

[OT] Re: So what exactly is a complex number?

2007-09-09 Thread Grzegorz Słodkowicz
>> Interesting. It appears that we are ran into a mathematical >> cultural difference. Were I come from vectors *are* defined as >> having four properties that I enumerated. After some research I >> found that English sources (Wikipedia) indeed give the definition >> you supplied. >> > Indee

Re: So what exactly is a complex number?

2007-09-06 Thread Grzegorz Słodkowicz
Gabriel Genellina wrote: > En Wed, 05 Sep 2007 06:45:29 -0300, Grzegorz Słodkowicz <[EMAIL PROTECTED]> > escribi�: > > >> I believe vectors can only be added if they have the same point of >> application. The result is then applied to the same point. >>

Re: So what exactly is a complex number?

2007-09-06 Thread Grzegorz Słodkowicz
>> In fact, a proper vector in physics has 4 features: point of >> application, magnitude, direction and sense. >> > > No -- a vector has the properties "magnitude" and direction. > Although not everything that has magnitude and direction is a > vector. > > It's very unusual to have a fixed p

Re: So what exactly is a complex number?

2007-09-05 Thread Grzegorz Słodkowicz
>> In fact, a proper vector in physics has 4 features: point of >> application, magnitude, direction and sense. >> > > so whats the "point of application" of the sum of two vectors? Do > tell. I believe vectors can only be added if they have the same point of application. The result is then

Re: So what exactly is a complex number?

2007-09-03 Thread Grzegorz Słodkowicz
> I was trying to motivate the idea by means of analogy. This is a > legitimate thing to do. It helps lead people to a conceptual > understanding long before they understand the minutae. You're mixing terms again. Analogy is saying 'something is like something else.' What you are saying is 'S

Re: So what exactly is a complex number?

2007-09-01 Thread Grzegorz Słodkowicz
> Here is a simple explanation (and it is not complete by a long shot). > > A number by itself is called a "scalar". For example, when I say, > "I have 23 apples", the "23" is a scalar that just represents an > amount in this case. > > One of the most common uses for Complex Numbers is in what ar

Re: Puzzled by "is"

2007-08-09 Thread Grzegorz Słodkowicz
> > Why? Because. > > Seriously, it's just an optimization by the implementers. There is no > need for more than one empty tuple, since tuples can never be modified > once created. > > But they decided not to create (1, ) in advance. They probably knew that > hardly anybody would want to create

Re: A question on plugin design

2007-08-08 Thread Grzegorz Słodkowicz
Very insightful, thank you for your replies. I was initially thinking it would be simpler to implement my own system but perhaps using a ready-made one will be more elegant and potential plugin makers would find it more familiar. Cheers, Greg. -- http://mail.python.org/mailman/listinfo/python-

A question on plugin design

2007-08-05 Thread Grzegorz Słodkowicz
I'm working on my little project (an IM client) which I wanted to support plugins. My idea was that the core program would by itself do virtually nothing but manage plugins and all functionality would be provided by the plugins themselves (including protocol handling and UI. My first attempt wa