On 10/10/2013 6:27 PM, Steven D'Aprano wrote:
> For what it's worth, there is no three-dimensional extension to complex
> numbers, but there is a four-dimensional one, the quaternions or
> hypercomplex numbers. They look like 1 + 2i + 3j + 4k, where i, j and k
> are all distinct but i**2 == j**2
On Wednesday, October 16, 2013 3:31:06 AM UTC+5:30, Rhodri James wrote:
> On Tue, 15 Oct 2013 21:26:27 +0100, Mark Janssen
> wrote:
>
> >> = Rusi, attribution missing from original.
Yes. It would help to keep your quotes bound (firstclassly?) to their
respective quoters -- Mark Janssen also an
On Wednesday, October 16, 2013 1:56:27 AM UTC+5:30, zipher wrote:
> > Objects in programming languages (or 'values' if one is more functional
> > programming oriented) correspond to things in the world.
>
>
> One of the things you're saying there is that "values correspond to
> things in the wor
Mark Janssen writes:
> Yeah, well 40 years ago they didn't have parsers. The purpose of
> having a field of computer science worthy of the name, is to advance
> the science not let this riff-raff dominate the practice.
Hah! 40 years ago I wrote a parser generator (similar to yacc, that I did n
> only I'm focusing on the importance of design rather than deifying
> the person who designed it.
I'm cool with deification here. I'll happily get on my knees and bow towards
Holland while chanting "Guido ... I'm not worthy" 5 times a day, if that's
part of the cult.
Want an odd and ranty th
On 15/10/2013 21:26, Mark Janssen wrote:
Yeah, well 40 years ago they didn't have parsers.
I'm very pleased to see that (presumably) some Americans do have a sense
of humour.
--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.
Mark Lawrence
--
https://mail.python.
On 10/14/2013 2:03 PM, Ben Finney wrote:
> Renato Barbosa Pim Pereira
> writes:
>
>> I am looking for some software for PID tuning that would take the
>> result of a step response, and calculates Td, Ti, Kp, any suggestion
>> or hint of where to start?, thanks.
>
> Is this related to Python? Wha
On Tue, 15 Oct 2013 21:26:27 +0100, Mark Janssen
wrote:
= Rusi, attribution missing from original.
Objects in programming languages (or 'values' if one is more functional
programming oriented) correspond to things in the world.
One of the things you're saying there is that "values corre
On 2013-10-15, Mark Janssen wrote:
> Yeah, well 40 years ago they didn't have parsers.
That seems an odd thing to say. People were assembling and compiling
computer programs long before 1973.
How did they do that without parsers?
--
Grant Edwards grant.b.edwardsYow! Of c
On 2013-10-16 06:09, Chris Angelico wrote:
> > "xyz" - "abc";
> (1) Result: "xyz"
> > "cba" - "abc";
> (2) Result: "cba"
> > "abcdabc" - "abc";
> (3) Result: "d"
>
> Every instance of the subtracted-out string is removed. It's
> something like x.remove(y) in many other languages.
Or as one
On 15/10/2013 21:11, wxjmfa...@gmail.com wrote:
Le lundi 14 octobre 2013 21:18:59 UTC+2, John Nagle a écrit :
[...]
No, Python went through the usual design screwups. Look at how
painful the slow transition to Unicode was, from just "str" to
Unicode strings, ASCII strings, byte s
> Objects in programming languages (or 'values' if one is more functional
> programming oriented) correspond to things in the world.
One of the things you're saying there is that "values correspond to
things in the world". But you will not get agreement in computer
science on that anymore than s
Le lundi 14 octobre 2013 21:18:59 UTC+2, John Nagle a écrit :
[...]
>
> No, Python went through the usual design screwups. Look at how
>
> painful the slow transition to Unicode was, from just "str" to
>
> Unicode strings, ASCII strings, byte strings, byte arrays,
>
> 16 and 31 bit
On Wed, Oct 16, 2013 at 2:01 AM, Steven D'Aprano
wrote:
> On Tue, 15 Oct 2013 19:57:50 +1100, Chris Angelico wrote:
>> Python doesn't happen to implement str-str or str/str, but some
>> languages do:
>
> Which languages are you talking about?
>
> For the record, if PHP is one of them, I consider t
Am Dienstag, 15. Oktober 2013, 13:18:17 schrieb Michael Speer:
> > "/usr/sbin/ftpasswd" "--hash"
>
> You're missing a comma, and python automatically concatenates adjacent
> strings.
Damn!
Thanks!
>
> On Tue, Oct 15, 2013 at 1:13 PM, Florian Lindner wrote:
> > Hello,
> >
> > I have a 3rd par
> "/usr/sbin/ftpasswd" "--hash"
You're missing a comma, and python automatically concatenates adjacent
strings.
On Tue, Oct 15, 2013 at 1:13 PM, Florian Lindner wrote:
> Hello,
>
> I have a 3rd party perl script:
>
> head -n 1 /usr/sbin/ftpasswd
> #!/usr/bin/perl
>
> I want to write data to s
Hello,
I have a 3rd party perl script:
head -n 1 /usr/sbin/ftpasswd
#!/usr/bin/perl
I want to write data to stdin and read from stdout:
proc = Popen( ["/usr/bin/perl", "/usr/sbin/ftpasswd" "--hash", "--stdin"],
stdout=PIPE, stdin=PIPE)
output, input = proc.communicate(pwd)
return output.stri
On Tuesday, October 15, 2013 2:20:10 PM UTC+5:30, Steven D'Aprano wrote:
> If you read the whole python-history blog on blogspot, you'll see that
> Python's had it's share of mistakes, design failures and other "oops!"
> moments. I think that it is a testament to GvR's over-all design that the
>
On Tue, 15 Oct 2013 19:57:50 +1100, Chris Angelico wrote:
> On Tue, Oct 15, 2013 at 6:48 PM, Antoon Pardon
> wrote:
>> That doesn't matter. Adding and concating are different operations and
>> their are types in which both occur rather naturally. So as a designer
>> of such a class you have to c
Op 15-10-13 10:57, Chris Angelico schreef:
> On Tue, Oct 15, 2013 at 6:48 PM, Antoon Pardon
> wrote:
>> Op 15-10-13 01:11, Chris Angelico schreef:
>>> On Tue, Oct 15, 2013 at 6:18 AM, John Nagle wrote:
>>
>>>
Operator "+" as concatenation for built-in arrays but addition
for NumPy array
The acute accent (´) is a special apostrophe if the user has no
experience or can't type in the apostrophe (or the grave accent: `).
You don't use Python but you aren't subscribed to this list (so
non-subscribers can post).
Example of special quotes: `xxx´
An example of a post on the python-list
On Tue, Oct 15, 2013 at 6:48 PM, Antoon Pardon
wrote:
> Op 15-10-13 01:11, Chris Angelico schreef:
>> On Tue, Oct 15, 2013 at 6:18 AM, John Nagle wrote:
>
>>
>>> Operator "+" as concatenation for built-in arrays but addition
>>> for NumPy arrays.
>>
>> ... NumPy definitely isn't part of the langu
On Tue, 15 Oct 2013 10:11:53 +1100, Chris Angelico wrote:
> On Tue, Oct 15, 2013 at 6:18 AM, John Nagle wrote:
>> Old-style classes vs. new-style classes.
>
> By the time I started using Python, new-style classes existed and were
> the recommended way to do things, so I never got the "feel" for
Andriy Kornatskyy wrote:
> Managing version control repositories can be a challenge in multi-user
> environment especially when simplification of user collaboration is your
> goal. There are usually two primary concerns while considering enterprise
> deployment for version control repositories:
Op 15-10-13 01:11, Chris Angelico schreef:
> On Tue, Oct 15, 2013 at 6:18 AM, John Nagle wrote:
>
>> Operator "+" as concatenation for built-in arrays but addition
>> for NumPy arrays.
>
> ... NumPy definitely isn't part of the language. It's not even part of
> the standard library, it's fully
On 15/10/2013 02:50, Roy Smith wrote:
In article ,
Terry Reedy wrote:
The first versions of Python and unicode were developed and released
about the same time. No one knew that either would be as successful as
they have become over two decades.
Much the same can be said for IPv6 :-)
My
26 matches
Mail list logo