Hi,
I am tring to use splunk(splunk_handler), my question is "Is there any way
to integrate logbook with splunk_handler".
The examples of splunk_handler uses python's logging module.
Thanks
--
https://mail.python.org/mailman/listinfo/python-list
On 26/02/2015 07:47, Leo Kris Palao wrote:
Hi Python Users,
Would like to request how to install GDAL in my Enthought Python
Distribution (64-bit). I am having some problems making GDAL work. Or
can you point me into a blog that describes how to set up GDAL in
Enthought Python Distribution.
Tha
On 26/02/2015 02:57, Steven D'Aprano wrote:
Mark Lawrence wrote:
On 25/02/2015 20:45, 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?
Throwing in my own, how about built-in functions
On 26/02/2015 03:05, Dave Angel wrote:
On 02/25/2015 08:44 PM, Mark Lawrence wrote:
On 25/02/2015 20:45, 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?
Throwing in my own, how about b
Ben Finney wrote:
> Chris Angelico writes:
>
> > I'd really like to see a lot more presentations done in pure text.
>
> Maybe so. My request at the moment, though, is not for people to change
> what's on their slides; rather, if they want people to retrieve them,
> the slides should be download
Ian Kelly wrote:
> On Wed, Feb 25, 2015 at 1: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?
>
> Using XML for configuration is a good example of a worst practice, but
On Feb 26, 2015, at 12:36 AM, Gregory Ewing wrote:
> Cem Karan wrote:
>> I think I see what you're talking about now. Does WeakMethod
>> (https://docs.python.org/3/library/weakref.html#weakref.WeakMethod) solve
>> this problem?
>
> Yes, that looks like it would work.
Cool!
Thanks,
Cem Kar
I have a system scenario where thousands of applications are running and
via a service discovery mechanism they all get notified that a service they
are all interesting in has come online. They all attempt to connect a TCP
socket to the service. This happen virtually instantly.
The problem that I
Chris Angelico wrote:
> On Thu, Feb 26, 2015 at 10:54 AM, Steven D'Aprano
> wrote:
>> - Violating the Rule of Demeter: don't talk to the dog's leg, talk to
>> the dog. Or another way to put it: don't let the paper boy reach
>> into your pocket for money.
>
> I'd call that code smell, rather
On Wednesday, February 25, 2015 at 2:12:09 AM UTC+5:30, Dave Angel wrote:
> On 02/24/2015 02:57 PM, Laura Creighton wrote:
> > Dave Angel
> > are you another Native English speaker living in a world where ASCII
> > is enough?
>
> I'm a native English speaker, and 7 bits is not nearly enough. Even
On Thu, Feb 26, 2015 at 11:26 PM, Steven D'Aprano
wrote:
> Chris Angelico wrote:
>
>> But the times to use two dots are much rarer than the times to use one
>> dot (the paper boy shouldn't reach into your pocket for money, but
>> ThinkGeek has your credit card number on file so you can order more
W dniu 25.02.2015 21:45, Mark Lawrence pisze:
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 disagree with slide 16. If I wanted to use long variable names, I
would still code in Java.
regards
m.
--
On Thursday, February 26, 2015 at 6:10:25 PM UTC+5:30, Rustom Mody wrote:
> On Wednesday, February 25, 2015 at 2:12:09 AM UTC+5:30, Dave Angel wrote:
> > On 02/24/2015 02:57 PM, Laura Creighton wrote:
> > > Dave Angel
> > > are you another Native English speaker living in a world where ASCII
> > >
On Thu, Feb 26, 2015 at 11:40 PM, Rustom Mody wrote:
> Wrote something up on why we should stop using ASCII:
> http://blog.languager.org/2015/02/universal-unicode.html
From that post:
"""
5.1 Gibberish
When going from the original 2-byte unicode (around version 3?) to the
one having supplementa
On Fri, Feb 27, 2015 at 12:12 AM, m wrote:
> W dniu 25.02.2015 21:45, Mark Lawrence pisze:
>>
>> 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 disagree with slide 16. If I wanted to use long
On 2015-02-26, Ben Finney wrote:
> Chris Angelico writes:
>
>> IMO the whole system of boolean logic in shell scripts is a massive
>> pile of hacks.
>
> Agreed. It bears all the hallmarks of a system which has been
> extended to become a complete programming language only with extreme
> reluctanc
On Friday, January 9, 2015 at 7:49:09 PM UTC-6, Steven D'Aprano wrote:
> I'm having trouble logging into the bug tracker. Is anyone else having the
> same problem, that is, your user name and password worked earlier but
> doesn't work now?
>
> http://bugs.python.org/
>
> (Yes, I've checked the ca
I am one of those struggling with compile issues with python on 64 bit windows.
I have not been able to get the solutions mentioned on Stack Overflow to work
because installing Windows SDK 7.1 fails for me.
So I stumbled across a precompiled psycopg2, and that reported that it worked,
but then
The EuroPython Workgroups are busy preparing the launch of the
website. Just launched in mid-January, all workgroups (WGs) are fully
under steam by now, working hard to make EuroPython 2015 a fabulous
event.
http://ep2015.europython.eu/
Community building the conference
-
I have a host that has no access to the internet and I need to install
PIL on it. I have an identical host that is on the internet and I have
installed it there (with pip). Is there a way I can copy files from
the connected host to a flash drive and then copy them to the
unconnected host and have P
On Fri, Feb 27, 2015 at 2:16 AM, M.-A. Lemburg wrote:
> [ a whole lot of relatively sane text ]
Sadly, this was not what I wanted to see, based on the subject line. I
wanted to know about the snake you guys were about to send into space!
ChrisA
--
https://mail.python.org/mailman/listinfo/python
On Wed, 2015-02-25 at 18:35 -0800, John Ladasky wrote:
> I've been working with machine learning for a while. Many of the
> standard packages (e.g., scikit-learn) have fitting algorithms which
> run in single threads. These algorithms are not themselves
> parallelized. Perhaps, due to their uniq
Hi,
Wingware has released version 5.1.2 of Wing IDE, our cross-platform
integrated development environment for the Python programming language.
Wing IDE features a professional code editor with vi, emacs, visual
studio, and other key bindings, auto-completion, call tips,
context-sensitive au
On Thu, 2015-02-26 at 14:02 +1100, Steven D'Aprano wrote:
> John Ladasky wrote:
>
>
> > What I would REALLY like to do is to take advantage of my GPU.
>
> I can't help you with that, but I would like to point out that GPUs
> typically don't support IEE-754 maths, which means that while they are
Hi,
I'm a complete neophyte to the whole use of GNU autotools/automake/auto... .
(I'm not sure what it should be called anymore.) Regardless, I'm porting a
library project, for which I'm a team member, to using this toolset for
building in Linux. I'm to the point now of writing the Makefile.
Malik Rumi wrote:
> On Friday, January 9, 2015 at 7:49:09 PM UTC-6, Steven D'Aprano wrote:
>> I'm having trouble logging into the bug tracker. Is anyone else having
>> the same problem, that is, your user name and password worked earlier but
>> doesn't work now?
>>
>> http://bugs.python.org/
>>
On Thu, 2015-02-26 at 07:57 -0800, af300...@gmail.com wrote:
> Hi,
>
> I'm a complete neophyte to the whole use of GNU
> autotools/automake/auto... . (I'm not sure what it should be called
> anymore.) Regardless, I'm porting a library project, for which I'm a
> team member, to using this toolset
If you are doing SVM regression with scikit-learn you are using libSVM.
There is a CUDA accelerated version of this C library here:
http://mklab.iti.gr/project/GPU-LIBSVM
You can presumably reuse the wrapping code from scikit-learn.
Sturla
John Ladasky wrote:
> I've been working with machine l
On 2/26/2015 2:47 AM, Leo Kris Palao wrote:
Would like to request how to install GDAL in my Enthought Python
Distribution (64-bit).
The best place to ask about the Enthought Python Distribution is a list
devoted to the E. P. D.
--
Terry Jan Reedy
--
https://mail.python.org/mailman/listinf
I have not had problems, but I use the Google login (Open ID, I presume)
option.
Skip
--
https://mail.python.org/mailman/listinfo/python-list
I'm 100% in favor of expanding Unicode until the sun goes dark. Doing so helps
solve the problems affecting speakers of "underserved" languages--access and
language preservation. Speakers of Mongolian, Cherokee, Georgian, etc. all
deserve to be able to interact with technology in their native la
GPU computing is great if you have the following:
1. Your data structures are arrays floating point numbers.
2. You have a data-parallel problem.
3. You are happy with single precision.
4. You have time to code erything in CUDA or OpenCL.
5. You have enough video RAM to store your data.
For Pytho
On 2015-02-26 15:23, Larry Martell wrote:
I have a host that has no access to the internet and I need to install
PIL on it. I have an identical host that is on the internet and I have
installed it there (with pip). Is there a way I can copy files from
the connected host to a flash drive and then
On 2/26/2015 8:24 AM, Chris Angelico wrote:
On Thu, Feb 26, 2015 at 11:40 PM, Rustom Mody wrote:
Wrote something up on why we should stop using ASCII:
http://blog.languager.org/2015/02/universal-unicode.html
I think that the main point of the post, that many Unicode chars are
truly planetary
On Thursday, February 26, 2015 at 10:16:11 PM UTC+5:30, Sam Raker wrote:
> I'm 100% in favor of expanding Unicode until the sun goes dark. Doing so
> helps solve the problems affecting speakers of "underserved"
> languages--access and language preservation. Speakers of Mongolian, Cherokee,
> Geo
On 2/26/2015 10:23 AM, Larry Martell wrote:
I have a host that has no access to the internet and I need to install
PIL on it. I have an identical host that is on the internet and I have
installed it there (with pip). Is there a way I can copy files from
the connected host to a flash drive and the
On 2/26/2015 10:06 AM, Jason Swails wrote:
On Thu, 2015-02-26 at 14:02 +1100, Steven D'Aprano wrote:
John Ladasky wrote:
What I would REALLY like to do is to take advantage of my GPU.
I can't help you with that, but I would like to point out that GPUs
typically don't support IEE-754 maths,
On Fri, Feb 27, 2015 at 4:02 AM, Terry Reedy wrote:
> On 2/26/2015 8:24 AM, Chris Angelico wrote:
>>
>> On Thu, Feb 26, 2015 at 11:40 PM, Rustom Mody
>> wrote:
>>>
>>> Wrote something up on why we should stop using ASCII:
>>> http://blog.languager.org/2015/02/universal-unicode.html
>
>
> I think
On Thursday, February 26, 2015 at 8:41:26 AM UTC-8, Sturla Molden wrote:
> If you are doing SVM regression with scikit-learn you are using libSVM.
> There is a CUDA accelerated version of this C library here:
> http://mklab.iti.gr/project/GPU-LIBSVM
>
> You can presumably reuse the wrapping code f
On Thu, 2015-02-26 at 16:53 +, Sturla Molden wrote:
> GPU computing is great if you have the following:
>
> 1. Your data structures are arrays floating point numbers.
It actually works equally great, if not better, for integers.
> 2. You have a data-parallel problem.
This is the biggest one
On Thursday, February 26, 2015 at 10:33:44 PM UTC+5:30, Terry Reedy wrote:
> On 2/26/2015 8:24 AM, Chris Angelico wrote:
> > On Thu, Feb 26, 2015 at 11:40 PM, Rustom Mody wrote:
> >> Wrote something up on why we should stop using ASCII:
> >> http://blog.languager.org/2015/02/universal-unicode.html
Hi,
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. Here is my code.
from sklearn.gaussian_process import GaussianProcess
gp = G
On Thursday, February 26, 2015 at 9:35:12 AM UTC-7, Jason Swails wrote:
> On Thu, 2015-02-26 at 07:57 -0800, af300wsm wrote:
> > Hi,
> >
> > I'm a complete neophyte to the whole use of GNU
> > autotools/automake/auto... . (I'm not sure what it should be called
> > anymore.) Regardless, I'm porti
Hey, can I run Py 2.7 and 3.4 side by side without a lot of hassle, using Wing?
I run both since I'm migranting and so far the free IDEs just seem to choke on
that.
--
https://mail.python.org/mailman/listinfo/python-list
hello all,
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
I search this on google but i am little confuse, so please help me
thank you jai
--
https://mail.python.org/mailman/listinfo/python-
On Thu, Feb 26, 2015 at 11:57 AM, MRAB wrote:
> On 2015-02-26 15:23, Larry Martell wrote:
>>
>> I have a host that has no access to the internet and I need to install
>> PIL on it. I have an identical host that is on the internet and I have
>> installed it there (with pip). Is there a way I can co
c...@isbd.net writes:
> Ben Finney wrote:
> > My request at the moment, though, is not for people to change what's
> > on their slides; rather, if they want people to retrieve them, the
> > slides should be downloadable easily (i.e. without a web app,
> > without a registration to some specific s
On Wed, 25 Feb 2015 23:34:29 +, MRAB wrote:
> On 2015-02-25 22:59, Joel Goldstick wrote:
> > On Wed, Feb 25, 2015 at 4:28 PM, MRAB
> > wrote:
> > > On 2015-02-25 20:45, Mark Lawrence wrote:
> > >>
> > >> http://www.slideshare.net/pydanny/python-worst-practices
> > >>
> > >> Any that sh
I got the solution,
Use RedirectLoggingHandler, to redirect the logs to logbook,
from logging import getLogger
mylog = getLogger('My Log')
from splunk_handler import SplunkHandler
splunk = SplunkHandler(
... host='',
... port='',
... username='',
... password='',
... index='',
... verify=,
...
> On Feb 26, 2015, at 2:04 PM, Jim Mooney wrote:
>
> Hey, can I run Py 2.7 and 3.4 side by side without a lot of hassle, using
> Wing? I run both since I'm migranting and so far the free IDEs just seem to
> choke on that.
> --
> https://mail.python.org/mailman/listinfo/python-list
I assume y
On Feb 26, 2015 4:00 AM, "Cem Karan" wrote:
>
>
> On Feb 26, 2015, at 12:36 AM, Gregory Ewing
wrote:
>
> > Cem Karan wrote:
> >> I think I see what you're talking about now. Does WeakMethod
> >> (https://docs.python.org/3/library/weakref.html#weakref.WeakMethod)
solve
> >> this problem?
> >
> >
On 02/26/2015 11:54 AM, Ian Kelly wrote:
> Sometimes I wonder whether anybody reads my posts.
It's entirely possible the OP wasn't ready to understand your solution four
days ago, but two days later the OP was.
--
~Ethan~
signature.asc
Description: OpenPGP digital signature
--
https://mail.
On Thursday, February 26, 2015 at 10:33:44 PM UTC+5:30, Terry Reedy wrote:
> You should add emoticons, but not call them or the above 'gibberish'.
Done -- and of course not under gibberish.
I dont really know much how emoji are used but I understand they are.
JFTR I consider it necessary to be re
On 2015-02-26, alister wrote:
> On Wed, 25 Feb 2015 23:34:29 +, MRAB wrote:
>> On 2015-02-25 22:59, Joel Goldstick wrote:
>>> On Wed, Feb 25, 2015 at 4:28 PM, MRAB wrote:
On 2015-02-25 20:45, Mark Lawrence wrote:
>
> http://www.slideshare.net/pydanny/python-worst-practices
>
On 25 February 2015 21:24:37 GMT+00:00, Chris Angelico wrote:
>On Thu, Feb 26, 2015 at 7:45 AM, 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?
>
>Remove the complaint about id.
On 26 February 2015 00:11:24 GMT+00:00, Ben Finney
wrote:
>> Yes, but my point is: You shouldn't need to rebind those names (or
>> have names "true" and "false" for 0 and 1).
>
>That's not what you asked, though. You asked “When would 0 mean true
>and
>1 mean false?” My answer: in all Unix shel
On 26/02/15 18:34, John Ladasky wrote:
Hi Sturla, I recognize your name from the scikit-learn mailing list.
If you look a few posts above yours in this thread, I am aware of gpu-libsvm.
I don't know if I'm up to the task of reusing the scikit-learn wrapping code,
but I am giving that option
On 26/02/2015 15:10, Malik Rumi wrote:
I am one of those struggling with compile issues with python on 64 bit windows.
I have not been able to get the solutions mentioned on Stack Overflow to work
because installing Windows SDK 7.1 fails for me.
So I stumbled across a precompiled psycopg2, and
- Original Message -
> From: Simon Ward
> To:
> Cc: "python-list@python.org"
> Sent: Thursday, February 26, 2015 8:36 PM
> Subject: Re: Python Worst Practices
>
>
>
> On 25 February 2015 21:24:37 GMT+00:00, Chris Angelico
> wrote:
>> On Thu, Feb 26, 2015 at 7:45 AM, Mark Lawrence
On 26/02/15 18:48, Jason Swails wrote:
On Thu, 2015-02-26 at 16:53 +, Sturla Molden wrote:
GPU computing is great if you have the following:
1. Your data structures are arrays floating point numbers.
It actually works equally great, if not better, for integers.
Right, but not complicate
Thought I might help someone else address a problem I ran into this afternoon.
While compiling Python 2.7.9 on CentOS 6, I received the error: no module named
_sysconfigdata
Googling found a number of other people having this problem — but the other
issues were all after the Python was installed
Simon Ward writes:
> On 26 February 2015 00:11:24 GMT+00:00, Ben Finney
> wrote:
> >You'd better borrow the time machine and tell the creators of Unix. The
> >meme is already established for decades now.
>
> 0 = success and non-zero = failure is the meme established, rather
> than 0 = true, non
On Thursday, February 26, 2015 at 2:55:07 PM UTC-6, Mark Lawrence wrote:
> On 26/02/2015 15:10, Malik Rumi wrote:
> > I am one of those struggling with compile issues with python on 64 bit
> > windows. I have not been able to get the solutions mentioned on Stack
> > Overflow to work because insta
On Thursday, February 26, 2015 at 10:49:19 AM UTC-6, Skip Montanaro wrote:
> I have not had problems, but I use the Google login (Open ID, I presume)
> option.
>
>
> Skip
Ok, I got it. In short, capitalization (or not) matters. Thanks to all.
--
https://mail.python.org/mailman/listinfo/python
On Fri, Feb 27, 2015 at 4:59 AM, Rustom Mody wrote:
> On Thursday, February 26, 2015 at 10:33:44 PM UTC+5:30, Terry Reedy wrote:
>> I think that this part of your post is more 'unprofessional' than the
>> character blocks. It is very jarring and seems contrary to your main point.
>
> Ok I need a
On Thu, Feb 26, 2015 at 4:10 PM, Sturla Molden
wrote:
> On 26/02/15 18:48, Jason Swails wrote:
>
>> On Thu, 2015-02-26 at 16:53 +, Sturla Molden wrote:
>>
>>> GPU computing is great if you have the following:
>>>
>>> 1. Your data structures are arrays floating point numbers.
>>>
>>
>> It actu
Chris Angelico wrote:
> Unicode
> isn't about taking everyone's separate character sets and numbering
> them all so we can reference characters from anywhere; if you wanted
> that, you'd be much better off with something that lets you specify a
> code page in 16 bits and a character in 8, which is
On Fri, Feb 27, 2015 at 10:09 AM, Steven D'Aprano
wrote:
> Chris Angelico wrote:
>
>> Unicode
>> isn't about taking everyone's separate character sets and numbering
>> them all so we can reference characters from anywhere; if you wanted
>> that, you'd be much better off with something that lets yo
On Wed, Feb 25, 2015 at 9:46 AM, Cem Karan wrote:
>
> On Feb 24, 2015, at 8:23 AM, Fabio Zadrozny wrote:
>
> > Hi Cem,
> >
> > I didn't read the whole long thread, but I thought I'd point you to what
> I'm using in PyVmMonitor (http://www.pyvmmonitor.com/) -- which may
> already cover your use-c
On Fri, Feb 27, 2015 at 6:42 AM, William Ray Wing wrote:
> PS: I’ve found that the Wing e-mail support is VERY responsive. No relation,
> just a happy user.
You should totally get involved with the project. With your name,
everyone would think you started it!
ChrisA
--
https://mail.python.org
Rustom Mody wrote:
> Emoticons (or is it emoji) seems to have some (regional?) takeup?? Dunno…
> In any case I'd like to stay clear of political(izable) questions
Emoji is the term used in Japan, gradually spreading to the rest of the
word. Emoticons, I believe, should be restricted to the practi
On 02/26/2015 08:05 PM, Steven D'Aprano wrote:
Rustom Mody wrote:
eg consider the case of 32 vs 64 bit executables.
The 64 bit executable is generally larger than the 32 bit one
Now consider the case of a machine that has say 2GB RAM and a 64-bit
processor. You could -- I think -- make a re
So... okay. I've got a bunch of PDFs of tournament reports that I want
to sift thru for information. Ended up using 'pdftotext -layout
file.pdf file.txt' to extract the text from the PDF. Still have a few
little glitches to iron out there, but I'm getting decent enough results
for the moment
Ryan Stuart writes:
> My point is malloc, something further up (down?) the stack, is making
> modifications to shared state when threads are involved. Modifying
> shared state makes it infinitely more difficult to reason about the
> correctness of your software.
If you're saying the libc malloc
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 slower than RAM, so
virtual memory is *at least* that much slower than real memory.
Hi all
>From a recent article in The Economist -
"A recovering economy in America and an explosion of entrepreneurial
activity are driving up demand for tech talent. [...] Bidding battles are
breaking out, with salaries and bonuses rising fast for experts in popular
computer languages such as
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 slower than RAM, so
virtual memory is *a
On 02/26/2015 10:53 PM, memilanuk wrote:
So... okay. I've got a bunch of PDFs of tournament reports that I want
to sift thru for information. Ended up using 'pdftotext -layout
file.pdf file.txt' to extract the text from the PDF. Still have a few
little glitches to iron out there, but I'm getti
78 matches
Mail list logo