On 27/02/2015 01:31, Dennis Lee Bieber wrote:
On Thu, 26 Feb 2015 20:10:28 +, Simon Ward
declaimed the following:
0 = success and non-zero = failure is the meme established, rather than 0 =
true, non-zero = false.
It's not just used by UNIX, and is not necessarily defined by the shell e
On 25.02.2015 15:43, Albert-Jan Roskam wrote:
> Hi,
>
> If I pip install the mx package with "pip install egenix-mx-base", it works.
> If I put that same pip install command under 'install_command' in my tox.ini
> it also works (see below)
>
> However, if I specify the dependency under 'deps', I
Hello how are you doing please
--
https://mail.python.org/mailman/listinfo/python-list
I try to run pylearn2 tutorial: Softmax regression using my notebook.
but i run
from pylearn2.config import yaml_parse
train = yaml_parse.load(train)
train.main_loop()
this code in my notebook i got Error.How to solve this
Please help
---
Dave Angel wrote:
> On 02/27/2015 12:58 AM, Steven D'Aprano wrote:
>> Dave Angel wrote:
>>
>>> (Although I believe Seymour Cray was quoted as saying that virtual
>>> memory is a crock, because "you can't fake what you ain't got.")
>>
>> If I recall correctly, disk access is about 1 times slowe
On 02/27/2015 06:54 AM, Steven D'Aprano wrote:
Dave Angel wrote:
On 02/27/2015 12:58 AM, Steven D'Aprano wrote:
Dave Angel wrote:
(Although I believe Seymour Cray was quoted as saying that virtual
memory is a crock, because "you can't fake what you ain't got.")
If I recall correctly, disk
On Sat, Feb 28, 2015 at 1:02 AM, Dave Angel wrote:
> The term "virtual memory" is used for many aspects of the modern memory
> architecture. But I presume you're using it in the sense of "running in a
> swapfile" as opposed to running in physical RAM.
Given that this started with a quote about "
On 02/27/2015 09:22 AM, Chris Angelico wrote:
On Sat, Feb 28, 2015 at 1:02 AM, Dave Angel wrote:
The term "virtual memory" is used for many aspects of the modern memory
architecture. But I presume you're using it in the sense of "running in a
swapfile" as opposed to running in physical RAM.
On Sat, 28 Feb 2015 01:22:15 +1100, Chris Angelico wrote:
>
> If you're trying to use the pagefile/swapfile as if it's more memory ("I
> have 256MB of memory, but 10GB of swap space, so that's 10GB of
> memory!"), then yes, these performance considerations are huge. But
> suppose you need to run
On Sat, Feb 28, 2015 at 3:00 AM, alister
wrote:
> I think there is a case for bringing back the overlay file, or at least
> loading larger programs in sections
> only loading the routines as they are required could speed up the start
> time of many large applications.
> examples libre office, I ra
On Sat, 28 Feb 2015 03:12:16 +1100, Chris Angelico wrote:
> On Sat, Feb 28, 2015 at 3:00 AM, alister
> wrote:
>> I think there is a case for bringing back the overlay file, or at least
>> loading larger programs in sections only loading the routines as they
>> are required could speed up the star
On Sat, Feb 28, 2015 at 3:45 AM, alister
wrote:
> On Sat, 28 Feb 2015 03:12:16 +1100, Chris Angelico wrote:
>
>> On Sat, Feb 28, 2015 at 3:00 AM, alister
>> wrote:
>>> I think there is a case for bringing back the overlay file, or at least
>>> loading larger programs in sections only loading the
On 2015-02-27, Steven D'Aprano wrote:
> Dave Angel wrote:
>
>> On 02/27/2015 12:58 AM, Steven D'Aprano wrote:
>>> Dave Angel wrote:
>>>
(Although I believe Seymour Cray was quoted as saying that virtual
memory is a crock, because "you can't fake what you ain't got.")
>>>
>>> If I recall
On 2015-02-27, Grant Edwards wrote:
> On 2015-02-27, Steven D'Aprano wrote:
> Dave Angel wrote:
>>> On 02/27/2015 12:58 AM, Steven D'Aprano wrote: Dave Angel wrote:
> (Although I believe Seymour Cray was quoted as saying that virtual
> memory is a crock, because "you can't fake what
On Thu, 26 Feb 2015 09:59:45 -0800 (PST), jaykim.hui...@gmail.com wrote:
>
> I am trying to use Gaussian process regression for Near Infrared
> spectra. I have reference data(spectra), concentrations of reference
> data and sample data, and I am trying to predict concentrations of
> sample data. He
On 27.02.2015 18:55, Peter Pearson wrote:
On Thu, 26 Feb 2015 09:59:45 -0800 (PST),jaykim.hui...@gmail.com wrote:
>
>I am trying to use Gaussian process regression for Near Infrared
>spectra. I have reference data(spectra), concentrations of reference
>data and sample data, and I am trying to p
Am 26.02.15 um 06:53 schrieb John Ladasky:
> Thanks for the various links, Ethan. I have encountered PyCUDA before, but
> not the other options.
>
> So far, I'm not seeing code examples which appear to do what I would like,
> which is simply to farm out one Python process to one GPU core. The
On 2015-02-27 16:45, alister wrote:
On Sat, 28 Feb 2015 03:12:16 +1100, Chris Angelico wrote:
On Sat, Feb 28, 2015 at 3:00 AM, alister
wrote:
I think there is a case for bringing back the overlay file, or at least
loading larger programs in sections only loading the routines as they
are requi
On 26 February 2015 21:23:34 GMT+00:00, Ben Finney
wrote:
>Simon Ward writes:
>> 0 = success and non-zero = failure is the meme established, rather
>> than 0 = true, non-zero = false.
>
>That is not the case: the commands ‘true’ (returns value 0) and ‘false’
>(returns value 1) are long establ
On Wednesday, February 11, 2015 at 1:38:12 AM UTC+2, vlya...@gmail.com wrote:
> I defined function Fatalln in "mydef.py" and it works fine if i call it from
> "mydef.py", but when i try to call it from "test.py" in the same folder:
> import mydef
> ...
> Fatalln "my test"
> i have NameError: name
On 27 February 2015 20:06:25 GMT+00:00, I wrote:
>I mentioned the true and false. OK, so it's a meme, but it's based on a
>false (pun intended) understanding of exit status codes. That success
>evaluates to true and failure evaluates to false does not mean the
>values of truth and falseness are
> On Feb 24, 2015, at 9:47 PM, Steven D'Aprano
> wrote:
>
> Pyston 0.3, the latest version of a new high-performance Python
> implementation, has reached self-hosting sufficiency:
>
>
> http://blog.pyston.org/2015/02/24/pyston-0-3-self-hosting-sufficiency/
>
Does it do python3.4 yet?
--
h
On 02/27/2015 12:41 PM, Travis Griggs wrote:
>
>> On Feb 24, 2015, at 9:47 PM, Steven D'Aprano
>> wrote:
>>
>> Pyston 0.3, the latest version of a new high-performance Python
>> implementation, has reached self-hosting sufficiency:
>>
>>
>> http://blog.pyston.org/2015/02/24/pyston-0-3-self-host
On 02/27/2015 11:00 AM, alister wrote:
On Sat, 28 Feb 2015 01:22:15 +1100, Chris Angelico wrote:
If you're trying to use the pagefile/swapfile as if it's more memory ("I
have 256MB of memory, but 10GB of swap space, so that's 10GB of
memory!"), then yes, these performance considerations are hu
On Sat, Feb 28, 2015 at 7:52 AM, Dave Angel wrote:
> If that's the case on the architectures you're talking about, then the
> problem of slow loading is not triggered by the memory usage, but by lots of
> initialization code. THAT's what should be deferred for seldom-used
> portions of code.
s/s
> On Feb 25, 2015, at 12:45 PM, Mark Lawrence wrote:
>
> http://www.slideshare.net/pydanny/python-worst-practices
>
> Any that should be added to this list? Any that be removed as not that bad?
I read ‘em. I thought they were pretty good, some more than others. And I
learned some things. I e
On Sat, Feb 28, 2015 at 8:21 AM, Travis Griggs wrote:
>
> I do like Python, and I accept it for what it is, so no one needs to jump
> forward as a Holy Python See to convert me to the truth. I also know that
> with most other languages, that first slide wouldn’t need to be one of the
> prominen
On 02/27/2015 04:21 PM, Travis Griggs wrote:
On Feb 25, 2015, at 12:45 PM, Mark Lawrence wrote:
http://www.slideshare.net/pydanny/python-worst-practices
Any that should be added to this list? Any that be removed as not that bad?
I read ‘em. I thought they were pretty good, some more than
On Sat, Feb 28, 2015 at 8:37 AM, Dave Angel wrote:
> Right. In C and C++, instead of being the first slide, it'd be the first 3
> or 4. Between header file conflicts (especially good because the stdlib
> itself has many multiply-defined symbols, duplicate header files, and
> contradictory includ
Steven D'Aprano writes:
> An interesting point of view: threading is harmful because it removes
> determinism from your program.
> http://radar.oreilly.com/2007/01/threads-considered-harmful.html
Concurrent programs are inherently nondeterministic because they respond
to i/o events that can happ
On 02/27/2015 04:40 PM, Chris Angelico wrote:
On Sat, Feb 28, 2015 at 8:37 AM, Dave Angel wrote:
Right. In C and C++, instead of being the first slide, it'd be the first 3
or 4. Between header file conflicts (especially good because the stdlib
itself has many multiply-defined symbols, duplica
On 27 February 2015 20:06:25 GMT+00:00, Simon Ward
wrote:
>
>I mentioned the true and false. OK, so it's a meme, but it's based on a
>false (pun intended) understanding of exit status codes. That success
>evaluates to true and failure evaluates to false does not mean the
>values of truth and fa
On Fri, 27 Feb 2015 19:14:00 +, MRAB wrote:
>>
> I suppose you could load the basic parts first so that the user can
> start working, and then load the additional features in the background.
>
quite possible
my opinion on this is very fluid
it may work for some applications, it probably would
On Sat, 28 Feb 2015 04:45:04 +1100, Chris Angelico wrote:
> Perhaps, but on the other hand, the skill of squeezing code into less
> memory is being replaced by other skills. We can write code that takes
> the simple/dumb approach, let it use an entire megabyte of memory, and
> not care about the co
On Fri, Feb 27, 2015 at 2:21 PM, Travis Griggs wrote:
> * Make your language have a lot of keywords. Enough to make memorizing them
> ALL unlikely, requiring constant visits to your documentation
> * Make sure said keywords are many of the obvious words programmers would use
> in their applicati
> i want to learn redis database and its use via python , please guide me
> which tutorials i should be study, so that i can learn it in good way
How about https://pypi.python.org/pypi/redis/?
--
https://mail.python.org/mailman/listinfo/python-list
Travis Griggs wrote:
> If I were giving a talk at SPLASH (or some other suitable polyglot
> conference), I might do one called “Language Design Worst Practices”.
>
> One of my first slides might be titled:
>
> Abuse Common Tokens in Confusing Ways
>
> * Make your language have a lot of keywords
On Friday, February 27, 2015 at 5:09:49 PM UTC-8, Steven D'Aprano wrote:
> Travis Griggs wrote:
>
> > If I were giving a talk at SPLASH (or some other suitable polyglot
> > conference), I might do one called "Language Design Worst Practices".
> >
> > One of my first slides might be titled:
> >
>
On Sat, Feb 28, 2015 at 12:32 PM, wrote:
> For example, I've seen someone create a Socket class, then created an
> operator overload that allowed you to "add" a string to your socket to make
> the socket send the string, with the result being a status code indicating
> success or an error.
>
On Sat, 28 Feb 2015 12:09:31 +1100, Steven D'Aprano wrote:
> There's no harm in calling a local variable "id", if you don't use the
> built-in id() inside that function. That's one of the reasons why functions
> exist, so that the names you use inside a function are distinct from those
> outside.
On 2015-02-28 12:09, Steven D'Aprano wrote:
> > * Make your language have a lot of keywords. Enough to make
> > memorizing them ALL unlikely, requiring constant visits to your
> > documentation
>
> Is 33 a lot?
>
> py> import keyword
> py> keyword.kwlist
> ['False', 'None', 'True', 'and', 'a
Dan Sommers wrote:
> On Sat, 28 Feb 2015 12:09:31 +1100, Steven D'Aprano wrote:
>
>> There's no harm in calling a local variable "id", if you don't use the
>> built-in id() inside that function. That's one of the reasons why
>> functions exist, so that the names you use inside a function are dist
On 02/27/2015 10:36 PM, Steven D'Aprano wrote:
> Dan Sommers wrote:
>
>> On Sat, 28 Feb 2015 12:09:31 +1100, Steven D'Aprano wrote:
>>
>>> There's no harm in calling a local variable "id", if you don't use the
>>> built-in id() inside that function. That's one of the reasons why
>>> functions exis
On Sat, 28 Feb 2015 17:36:44 +1100, Steven D'Aprano wrote:
> Dan Sommers wrote:
>> And thank goodness for that! I've been writing Python code since
>> 1997 and version 1.5.,¹ and I still do a double take when
>> emacs colors all my ids that faint blue that means "builtin."
> Although it is not
44 matches
Mail list logo