Meeting in October?
Chris Mahan
(818) 671-1709
http://christophermahan.com/
chris.ma...@gmail.com
http://twitter.com/chris_mahan
--
http://mail.python.org/mailman/listinfo/python-list
On 9/12/2010 4:28 PM, Paul Rubin wrote:
Bearophile writes:
I see DbC for Python as a way to avoid or fix some of the bugs of the
program, and not to perform proof of correctness of the code. Even if
you can't be certain, you are able reduce the probabilities of some
bugs to happen.
I think Db
On Sep 13, 3:23 am, Lawrence D'Oliveiro wrote:
> In message
> <383a7e4b-819f-4bdf-9b0c-e22baa9b6...@n7g2000vbo.googlegroups.com>, Kruptein
> wrote:
>
> > Hey I'm creating a program called minimal-d which brings together many
> > "things" you would otherwise use seperate to develop. These things
>
The script below works great when logged in as root and run from the
command line, but when run at first boot using /etc/rc.local in Ubuntu
10.04, it fails about 25% of the time- the system root, mysql root and
some mysql user passwords are set correctly, but one will fail with
console log reportin
On 9/12/2010 7:50 PM, Paul Rubin wrote:
Ed Keith writes:
I think DbC as envisioned by the Eiffel guy...
the term is that it's a static verification technique,
Eiffel throws an exception when a contract is violated. That is run
time behavior, not static verification.
The runtime checks are f
* Paul Rubin, on 13.09.2010 04:50:
Ed Keith writes:
I think DbC as envisioned by the Eiffel guy...
the term is that it's a static verification technique,
Eiffel throws an exception when a contract is violated. That is run
time behavior, not static verification.
The runtime checks are for wh
On Sun, Sep 12, 2010 at 7:24 PM, wrote:
> Just read that Mint is a fine version of Debian Linux.
> Any comments about python on this ?
> Thanks, Dave WB3DWE
I used to do some of my development on Mint. Was happy with it then,
and I suspect that the same would be true now.
Geremy Condra
--
htt
In article , wrote:
>
>Just read that Mint is a fine version of Debian Linux.
>Any comments about python on this ?
Why would there be? Either it works or it's broken, and given that it's
Debian, I'd certainly bet that Python works.
--
Aahz (a...@pythoncraft.com) <*> http://ww
Ed Keith writes:
>> I think DbC as envisioned by the Eiffel guy...
>> the term is that it's a static verification technique,
>
> Eiffel throws an exception when a contract is violated. That is run
> time behavior, not static verification.
The runtime checks are for when static analysis hasn't be
Just read that Mint is a fine version of Debian Linux.
Any comments about python on this ?
Thanks, Dave WB3DWE
--
http://mail.python.org/mailman/listinfo/python-list
In message
<383a7e4b-819f-4bdf-9b0c-e22baa9b6...@n7g2000vbo.googlegroups.com>, Kruptein
wrote:
> Hey I'm creating a program called minimal-d which brings together many
> "things" you would otherwise use seperate to develop. These things
> are a file-manager,text-editor,ftp-client and sql-client.
On 2010-09-12, CM wrote:
> On Sep 11, 11:10 pm, narke wrote:
>> My simple tool writing in python get bigger and bigger and I think I'd
>> better split my code into several files. But, unlike what in some other
>> languages, there is no way to compile these several files into a single
>> executab
On 2010-09-12, Diez B. Roggisch wrote:
> narke writes:
>
>> My simple tool writing in python get bigger and bigger and I think I'd
>> better split my code into several files. But, unlike what in some other
>> languages, there is no way to compile these several files into a single
>> executable.
On 2010-09-12 16:40, Ben Finney wrote:
This is a dream shared by many, but Distutils has much improvement to be
done yet. Recently — the past couple of years — a lot of progress has
been made on this front, and Python 3.x is getting many of the benefits;
look up the “Distutils2” efforts for more.
Paul Rubin:
> I think DbC as envisioned by the Eiffel guy who coined (and trademarked)
> the term is that it's a static verification technique, marketing-speak
> annotating subroutines with pre- and post- conditions that can be
> checked with Hoare logic. Runtime checks wouldn't qualify as that.
On 13 September 2010 08:40, Ben Finney
> wrote:
> Paul Watson writes:
>
> > What is the currently favored installation process for Python
> > applications?
>
> ‘python ./setup.py install’, using the standard library's Distutils
> library.
>
I thought it was
python setup.py install
or
./setup
On 9/12/2010 3:40 PM, Ben Finney wrote:
Paul Watson writes:
What is the currently favored installation process for Python
applications?
‘python ./setup.py install’, using the standard library's Distutils
library.
Other third-party libraries build on top of that and are generally
backward-co
Paul Watson writes:
> What is the currently favored installation process for Python
> applications?
‘python ./setup.py install’, using the standard library's Distutils
library.
Other third-party libraries build on top of that and are generally
backward-compatible.
> The last time I looked, it
In article <87r5gz93sv@benfinney.id.au>,
Ben Finney wrote:
>Neil Hodgson writes:
>>
>> There appear to be deliberate wraps at sentence end or automatic wraps
>> to fit <80 columns.
>
>The automatic wraps in the code presented in the message are wrong. The
>automatic wraps in the bullet point
What is the currently favored installation process for Python applications?
The last time I looked, it was eggs. Is that still true? Is there any
integration of eggs and handling into the base Python distribution? Is
PEP 376 intended for applications written in Python, or just the Python
di
> measure of text overlap (or likely text overlap). Has anyone written
> or ported such a thing for Python?
Hm (talking to myself)... the link I gave above has some references,
and one of those includes some python code. Seems not packaged up yet
for plots, but may be close:
http://meta.wikimedi
--- On Sun, 9/12/10, Paul Rubin wrote:
> From: Paul Rubin
> Subject: Re: Static typing, Python, D, DbC
> To: python-list@python.org
> Date: Sunday, September 12, 2010, 4:28 PM
> Bearophile
> writes:
> > I see DbC for Python as a way to avoid or fix some of
> the bugs of the
> > program, and not
Hello. There is a function for R (http://bm2.genes.nig.ac.jp/RGM2/
R_current/library/maptools/man/pointLabel.html) to help with placing/
locating text labels in an optimized way so as to minimise some
measure of text overlap (or likely text overlap). Has anyone written
or ported such a thing for
Bearophile writes:
> I see DbC for Python as a way to avoid or fix some of the bugs of the
> program, and not to perform proof of correctness of the code. Even if
> you can't be certain, you are able reduce the probabilities of some
> bugs to happen.
I think DbC as envisioned by the Eiffel guy wh
Required RENT Marina and JLT, 050-8320722
Dear
I have a client who is looking to Rent apartment :-
1. Dubai Marina and JLT :- Studio ,1Bed and 2 Bed only (any
building)
Please send me your direct availabilities, or call me, viewing
tomorrow, thank you!
Peter Wong F.H 王福兴
(个人注册RERA BRN:
On 9/12/10 4:14 AM, Stef Mientki wrote:
hello,
Is it possible to get the encoding of a python file from the first source line,
(if there's any),
after importing it ( with '__import__' )
# -*- coding: windows-1252 -*-
The regular expression used to match the encoding declaration is given her
narke writes:
> On 2010-09-12, Glazner wrote:
>> On Sep 12, 5:10 am, narke wrote:
>>> My simple tool writing in python get bigger and bigger and I think I'd
>>> better split my code into several files. But, unlike what in some other
>>> languages, there is no way to compile these several files
On 2010-09-12, Glazner wrote:
> On Sep 12, 5:10 am, narke wrote:
>> My simple tool writing in python get bigger and bigger and I think I'd
>> better split my code into several files. But, unlike what in some other
>> languages, there is no way to compile these several files into a single
>> exec
-- Forwarded message --
From: Roberto Alsina
Date: Fri, Sep 10, 2010 at 12:00 AM
Subject: [pyar] Issue 1 of "PET: English Translation" a Python magazine is
out!
To: python-announce-l...@python.org, Python Argentina
This magazine is a community effort. It's done by Python guys in
On Sep 9, 11:22 pm, Alain Ketterlin
wrote:
> Baba writes:
> > In below code "the outer loop test in step 4 will execute ( n + 1 )
> > times (note that an extra step is required to terminate the for loop,
> > hence n + 1 and not n executions), which will consume T4( n + 1 )
> > time." (fromhttp://
On Sep 11, 11:10 pm, narke wrote:
> My simple tool writing in python get bigger and bigger and I think I'd
> better split my code into several files. But, unlike what in some other
> languages, there is no way to compile these several files into a single
> executable.
Sure there is. py2exe, py2
narke writes:
> My simple tool writing in python get bigger and bigger and I think I'd
> better split my code into several files. But, unlike what in some other
> languages, there is no way to compile these several files into a single
> executable. Before I splitting my simple tool program, I ju
;)
In [29]: s = 'bannab'
In [30]: a = np.frombuffer(s.lower(), dtype='uint8')
In [31]: np.all(a == a[::-1])
Out[31]: True
In [32]: s = 'bannac'
In [33]: a = np.frombuffer(s.lower(), dtype='uint8')
In [34]: np.all(a == a[::-1])
Out[34]: False
--
http://mail.python.org/mailman/listinfo/pytho
Hi Tim,
On 09/11/2010 11:42 PM, Tim Harig wrote:
> On 2010-09-11, News123 wrote:
>> What would be the way to detect how to play audio on a linux system
>> without knowing ufront whether the system uses pulse, ALSA or whatever?
>
> I would suggest libao:
> http://www.xiph.org/ao/
> and i
John Nagle:
> Design by contract really isn't a good fit to Python.
I have used some times the class invariant done manually, as I have
shown, and it has avoided me some bugs, so I have experimentally seen
you are wrong.
> I've done proof of correctness work, and there are suitable languages
>
On 09/12/10 08:53, John Nagle wrote:
> On 9/11/2010 9:36 AM, Lie Ryan wrote:
>> On 09/12/10 00:33, Bearophile wrote:
>>
>>>
>>>
>>> Lately while I program with Python one of the D features that I most
>>> miss is a built-in Design By Contract (see PEP 316), because it avoids
>>> (o
On Sunday 12 September 2010, it occurred to narke to exclaim:
> My simple tool writing in python get bigger and bigger and I think I'd
> better split my code into several files. But, unlike what in some other
> languages, there is no way to compile these several files into a single
> executable. B
Hey I'm creating a program called minimal-d which brings together many
"things" you would otherwise use seperate to develop. These things
are a file-manager,text-editor,ftp-client and sql-client.
The program is currently in alpha, but it would be nice if some people
tried it out and pointed out s
On Sep 12, 5:10 am, narke wrote:
> My simple tool writing in python get bigger and bigger and I think I'd
> better split my code into several files. But, unlike what in some other
> languages, there is no way to compile these several files into a single
> executable. Before I splitting my simple
On Sun, 12 Sep 2010 12:08:26 +1200, Lawrence D'Oliveiro wrote:
>> And that is exactly the reason why the Samurai Principle says to not
>> return None when the function fails to do what it intended to do.
>
> How can the function “fail” when it returns what it is specified to
> return?
Are you t
www.127760.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
My simple tool writing in python get bigger and bigger and I think I'd
better split my code into several files. But, unlike what in some other
languages, there is no way to compile these several files into a single
executable. Before I splitting my simple tool program, I just put it in
/usr/local/
Dennis Lee Bieber wrote:
declaimed the following
So maybe we need to redesign the hardware.
Remember the iAPX-432?
http://en.wikipedia.org/wiki/Intel_iAPX_432#Garbage_collection
Not quite what I had in mind. That sounds like a conventional
GC algorithm that happens to be implemente
On 12-09-2010 00:07, Robert Kern wrote:
> On 9/11/10 4:45 PM, Stef Mientki wrote:
>> On 11-09-2010 21:11, Robert Kern wrote:
>>> SQLite internally stores its strings as UTF-8 or UTF-16 encoded Unicode. So
>>> it's not clear what
>>> you mean when you say the database is "windows-1252". Can you
hello,
Is it possible to get the encoding of a python file from the first source line,
(if there's any),
after importing it ( with '__import__' )
# -*- coding: windows-1252 -*-
thanks,
Stef
--
http://mail.python.org/mailman/listinfo/python-list
45 matches
Mail list logo