pytest-2.4: may better fixtures be with you

2013-10-01 Thread holger krekel
The just released pytest-2.4.0 brings many improvements and numerous bug fixes while remaining plugin- and test-suite compatible apart from a few supposedly very minor incompatibilities. See below for a full list of details. A few feature highlights: - new yield-style fixtures

Re: I have a problem when creating a django project

2013-10-01 Thread YetToCome
在 2013年10月1日星期二UTC+8下午1时47分05秒,YetToCome写道: I can't create a django project, I think the usage of the commend is correct...here is the error information. h:\jcodedjango-admin.py startproject mysite Usage: django-admin.py subcommand [options] [args] Options: -v

Re: class implementation

2013-10-01 Thread 88888 Dihedral
On Tuesday, October 1, 2013 3:34:08 AM UTC+8, Dave Angel wrote: On 30/9/2013 08:41, markot...@gmail.com wrote: under variables, i mean, the int's and lists and strings and floats that the parent class uses. IF in parent class there is variable called location, then can i use the

Re: I have a problem when creating a django project

2013-10-01 Thread YetToCome
在 2013年10月1日星期二UTC+8下午2时54分53秒,YetToCome写道: 在 2013年10月1日星期二UTC+8下午1时47分05秒,YetToCome写道: I can't create a django project, I think the usage of the commend is correct...here is the error information. h:\jcodedjango-admin.py startproject mysite Usage:

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-10-01 Thread Antoon Pardon
Op 01-10-13 01:14, Νίκος schreef: Στις 1/10/2013 1:56 πμ, ο/η Chris Angelico έγραψε: But what you're doing is charging your customers while you learn the very basics. I designed their websites and they are up and running. Yes i have charged some money, but they gain what they paid for, a

Re: Functional Programming and python

2013-10-01 Thread Chris Angelico
On Tue, Oct 1, 2013 at 11:36 AM, rusi rustompm...@gmail.com wrote: (But I do sometimes yearn for a goto.) Ha! In Scheme, a tail call IS a goto with parameter re-assignment Precisely. In fact, tail call optimization basically consists of that exact rewrite. I'm absolutely fine with it being

I haev fixed it

2013-10-01 Thread nikos
http://superhost.gr/warning.html -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 00:59, ni...@secure.superhost.gr wrote: http://superhost.gr/warning.html I believe this is set at a suitable level http://www.youtube.com/watch?v=HyTPFyyA-mA -- Cheers. Mark Lawrence -- https://mail.python.org/mailman/listinfo/python-list

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-10-01 Thread Νίκος
Στις 1/10/2013 10:27 πμ, ο/η Antoon Pardon έγραψε: Op 01-10-13 01:14, Νίκος schreef: Στις 1/10/2013 1:56 πμ, ο/η Chris Angelico έγραψε: But what you're doing is charging your customers while you learn the very basics. I designed their websites and they are up and running. Yes i have charged

Re: I haev fixed it

2013-10-01 Thread Chris Angelico
On Tue, Oct 1, 2013 at 9:59 AM, ni...@secure.superhost.gr wrote: http://superhost.gr/warning.html Okay, who posted this? I'm thinking possibly someone may have access to your server again. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-10-01 Thread Antoon Pardon
Op 01-10-13 10:39, Νίκος schreef: Στις 1/10/2013 10:27 πμ, ο/η Antoon Pardon έγραψε: Op 01-10-13 01:14, Νίκος schreef: Στις 1/10/2013 1:56 πμ, ο/η Chris Angelico έγραψε: But what you're doing is charging your customers while you learn the very basics. I designed their websites and they are

JUST GOT HACKED

2013-10-01 Thread Νίκος
Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire me! Question: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN IMPORTANT

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 11:59 πμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 9:59 AM, ni...@secure.superhost.gr wrote: http://superhost.gr/warning.html Okay, who posted this? I'm thinking possibly someone may have access to your server again. ChrisA Hi chris, I just saw thios thread,

Re: I haev fixed it

2013-10-01 Thread Chris Angelico
On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN IMPORTANT SECURITY RISK. SOMEONES MUST HAVE ACCESS TO MY ACCOUNT, DOES THE SOURCE CODE OF MY

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN IMPORTANT SECURITY RISK. SOMEONES MUST HAVE

Re: I haev fixed it

2013-10-01 Thread Chris Angelico
On Tue, Oct 1, 2013 at 8:54 PM, Νίκος nikos.gr...@gmail.com wrote: How did this happened i asked. I must know how did this happen so i take action to prevent it from happening again. I you want to congratulate Mark Lawrence do it in private. You know it was Mark, then? Okay. In that case,

Re: I haev fixed it

2013-10-01 Thread Ned Batchelder
On 10/1/13 6:54 AM, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN IMPORTANT

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 1:58 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:54 PM, Νίκος nikos.gr...@gmail.com wrote: How did this happened i asked. I must know how did this happen so i take action to prevent it from happening again. I you want to congratulate Mark Lawrence do it in private.

Converting image into string and obtain the string in json

2013-10-01 Thread arunraja . jaga
How to insert an image in mysql and retrieve the image to pass it as a string to json file. -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-01 Thread Heiko Wundram
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 13:06, schrieb Νίκος: But it seems you don't want to provide an explanation although i think you might have a theory. You need a theory? 1) Your password(s) is/are leaked (see the URL referenced somewhere before, and IIRC you also

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 2:29 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 13:06, schrieb Νίκος: But it seems you don't want to provide an explanation although i think you might have a theory. You need a theory? 1) Your password(s) is/are leaked (see the

Re: I haev fixed it

2013-10-01 Thread Heiko Wundram
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 14:06, schrieb Νίκος: i know about the link you mentioned and i have deleted the source code from there. Guess what: Google keeps a cache. See here:

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 14:06, schrieb Νίκος: i know about the link you mentioned and i have deleted the source code from there. Guess what: Google keeps a cache. See here:

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε: Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 14:06, schrieb Νίκος: i know about the link you mentioned and i have deleted the source code from there. Guess what: Google keeps a cache.

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire me! Question: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET

Re: I haev fixed it

2013-10-01 Thread ishish
Am 01.10.2013 13:25, schrieb Νίκος: Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε: Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 14:06, schrieb Νίκος: i know about the link you mentioned and i have deleted the source code from there.

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 3:50 μμ, ο/η ishish έγραψε: Am 01.10.2013 13:25, schrieb Νίκος: Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε: Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 14:06, schrieb Νίκος: i know about the link you mentioned

Re: Converting image into string and obtain the string in json

2013-10-01 Thread Mark Lawrence
On 01/10/2013 12:17, arunraja.j...@gmail.com wrote: How to insert an image in mysql and retrieve the image to pass it as a string to json file. You write some code, try to run it and if it fails and you don't understand why, post a code snippet that fails, what you expected to happen, what

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 11:47, Chris Angelico wrote: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN IMPORTANT SECURITY RISK. SOMEONES MUST HAVE ACCESS TO

Re: JUST GOT HACKED

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire me! Question: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:19 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:47, Chris Angelico wrote: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN

Re: I have a problem when creating a django project

2013-10-01 Thread Joel Goldstick
did you know there is a django mailing list/news group. On Tue, Oct 1, 2013 at 3:24 AM, YetToCome wjw15...@gmail.com wrote: 在 2013年10月1日星期二UTC+8下午2时54分53秒,YetToCome写道: 在 2013年10月1日星期二UTC+8下午1时47分05秒,YetToCome写道: I can't create a django project, I think the usage of the commend is

Re: I haev fixed it

2013-10-01 Thread Joel Goldstick
all your base are belong to us On Tue, Oct 1, 2013 at 9:19 AM, Mark Lawrence breamore...@yahoo.co.ukwrote: On 01/10/2013 11:47, Chris Angelico wrote: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME, I WONT GET MAD, BUT THIS IS AN IMPORTANT

Re: I haev fixed it

2013-10-01 Thread ishish
Am 01.10.2013 14:14, schrieb Νίκος: Στις 1/10/2013 3:50 μμ, ο/η ishish έγραψε: Am 01.10.2013 13:25, schrieb Νίκος: Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε: Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 01.10.2013 14:06, schrieb Νίκος: i

Re: JUST GOT HACKED

2013-10-01 Thread Chris “Kwpolska” Warrick
On Tue, Oct 1, 2013 at 3:15 PM, Νίκος nikos.gr...@gmail.com wrote: Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:15, Νίκος wrote: Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire me! Question: WHO AND MOST

Re: I haev fixed it

2013-10-01 Thread Joel Goldstick
On Tue, Oct 1, 2013 at 9:26 AM, ishish ish...@domhain.de wrote: Am 01.10.2013 14:14, schrieb Νίκος: Στις 1/10/2013 3:50 μμ, ο/η ishish έγραψε: Am 01.10.2013 13:25, schrieb Νίκος: Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε: Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:26 μμ, ο/η ishish έγραψε: Am 01.10.2013 14:14, schrieb Νίκος: Στις 1/10/2013 3:50 μμ, ο/η ishish έγραψε: Am 01.10.2013 13:25, schrieb Νίκος: Στις 1/10/2013 3:21 μμ, ο/η Νίκος έγραψε: Στις 1/10/2013 3:12 μμ, ο/η Heiko Wundram έγραψε: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:35 μμ, ο/η Joel Goldstick έγραψε: Thanks for that note. I haven't done this sort of thing for a while, but as I recall you NEVER put code in public_html. So that was odd (well not really since its from Nikos!) to see a rule that code must be put there. public_html as well

Re: JUST GOT HACKED

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:27 μμ, ο/η Chris “Kwpolska” Warrick έγραψε: On Tue, Oct 1, 2013 at 3:15 PM, Νίκος nikos.gr...@gmail.com wrote: Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named Warnign

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:34, Νίκος wrote: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:27 μμ, ο/η Joel Goldstick έγραψε: all your base are belong to us Keep it safe, because its high unlikely you will see it again. -- https://mail.python.org/mailman/listinfo/python-list

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:44 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 14:34, Νίκος wrote: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος nikos.gr...@gmail.com wrote: WHO

Fwd: JUST GOT HACKED

2013-10-01 Thread Chris “Kwpolska” Warrick
Why is this list not setting Reply-To correctly again? -- Forwarded message -- From: Chris “Kwpolska” Warrick kwpol...@gmail.com Date: Tue, Oct 1, 2013 at 3:55 PM Subject: Re: JUST GOT HACKED To: Νίκος nikos.gr...@gmail.com On Tue, Oct 1, 2013 at 3:42 PM, Νίκος

Re: JUST GOT HACKED

2013-10-01 Thread Alister
On Tue, 01 Oct 2013 16:42:31 +0300, Νίκος wrote: Στις 1/10/2013 4:27 μμ, ο/η Chris “Kwpolska” Warrick έγραψε: On Tue, Oct 1, 2013 at 3:15 PM, Νίκος nikos.gr...@gmail.com wrote: Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 10:58, Νίκος wrote: Just logged in via FTP to my

Re: Fwd: JUST GOT HACKED

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:56 μμ, ο/η Chris “Kwpolska” Warrick έγραψε: Why is this list not setting Reply-To correctly again? -- Forwarded message -- From: Chris “Kwpolska” Warrick kwpol...@gmail.com Date: Tue, Oct 1, 2013 at 3:55 PM Subject: Re: JUST GOT HACKED To: Νίκος

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:52, Νίκος wrote: Στις 1/10/2013 4:44 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 14:34, Νίκος wrote: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 11:54, Νίκος wrote: Στις 1/10/2013 1:47 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:16 PM, Νίκος

Re: Functional Programming and python

2013-10-01 Thread Neil Cerutti
On 2013-10-01, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote: On Mon, 30 Sep 2013 18:36:28 +, Neil Cerutti quoted: Why can??t lambda forms contain statements? Gah! Please fix your news client! (I see you're using slrn.) The \x92 bytes found in your message are

Re: JUST GOT HACKED

2013-10-01 Thread Νίκος
Στις 1/10/2013 4:57 μμ, ο/η Alister έγραψε: On Tue, 01 Oct 2013 16:42:31 +0300, Νίκος wrote: Στις 1/10/2013 4:27 μμ, ο/η Chris “Kwpolska” Warrick έγραψε: On Tue, Oct 1, 2013 at 3:15 PM, Νίκος nikos.gr...@gmail.com wrote: Στις 1/10/2013 4:06 μμ, ο/η Mark Lawrence έγραψε: On 01/10/2013

Re: I haev fixed it

2013-10-01 Thread feedthetroll
Am Dienstag, 1. Oktober 2013 15:34:26 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: ... But am I replying to the real, really incompetant Greek moron or the person who has pinched his email account? I'll happily admit to being far too lazy to try and find

Re: JUST GOT HACKED

2013-10-01 Thread Daniel Stojanov
On 02/10/2013 12:05 AM, Νίκος nikos.gr...@gmail.com wrote: Thanks for visting my website: you help me increase my google page rank without actually utilizing SEO. -- https://mail.python.org/mailman/listinfo/python-list 1) You need links, not page views to improve your Google rank. 2) I just

Re: extraction tool using CRF++

2013-10-01 Thread Vlastimil Brom
2013/10/1 cerr ron.egg...@gmail.com: Hi, I want to write an extraction tool using CRF++ (http://crfpp.googlecode.com/svn/trunk/doc/index.html). I have written a trainings file and a template: training: banana FOODB-NP bread FOODI-NP template: U01:%x[0,1] U02:%x[1,1] and

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-10-01 Thread Grant Edwards
On 2013-09-30, ?? nikos.gr...@gmail.com wrote: I learn during the process. That's fine as long as your customers are told up front that what they're paying for is _not_ a working usable service, but rahter a training program for you personally (a training program that's failing rather

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 5:08 μμ, ο/η feedthetr...@gmx.de έγραψε: Am Dienstag, 1. Oktober 2013 15:34:26 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: ... But am I replying to the real, really incompetant Greek moron or the person who has pinched his email account? I'll

Re: JUST GOT HACKED

2013-10-01 Thread Tim Chase
Daniel, I'm sorry your initial interactions with the list were tainted by this experience. Modulo these degenerative threads (usually started by Nikos), it *really* is a helpful and friendly place. On 2013-10-02 00:24, Daniel Stojanov wrote: 2) I just signed up the this mailing list. To the

Re: extraction tool using CRF++

2013-10-01 Thread Joost Molenaar
Hi Ron, In the python/ subdirectory of the CRF++ source package there's a README with instructions on how to use the CRFPP python module. HTH, Joost On Tue, Oct 1, 2013 at 4:24 PM, Vlastimil Brom vlastimil.b...@gmail.com wrote: 2013/10/1 cerr ron.egg...@gmail.com: Hi, I want to write an

Re: JUST GOT HACKED

2013-10-01 Thread Ned Batchelder
On 10/1/13 10:24 AM, Daniel Stojanov wrote: 2) I just signed up the this mailing list. To the regulars, is this what normally happens on this list? This is not what normally happens here. Usually we have concise and helpful conversations. Unfortunately, every online community has to

Re: extraction tool using CRF++

2013-10-01 Thread cerr
On Tuesday, October 1, 2013 3:04:00 PM UTC, Joost Molenaar wrote: Hi Ron, In the python/ subdirectory of the CRF++ source package there's a README with instructions on how to use the CRFPP python module. Joost, Hoops, didn't see that! Yes, Thanks! :) --

Re: I haev fixed it

2013-10-01 Thread feedthetroll
Am Dienstag, 1. Oktober 2013 16:32:57 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 5:08 μμ, ο/η feedthetroll έγραψε: Am Dienstag, 1. Oktober 2013 15:34:26 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε: ... But am I replying to the real, really incompetant

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 6:53 μμ, ο/η feedthetr...@gmx.de έγραψε: Am Dienstag, 1. Oktober 2013 16:32:57 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 5:08 μμ, ο/η feedthetroll έγραψε: Am Dienstag, 1. Oktober 2013 15:34:26 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 4:23 μμ, ο/η Mark Lawrence έγραψε:

Re: JUST GOT HACKED

2013-10-01 Thread Νίκος
Στις 1/10/2013 5:52 μμ, ο/η Ned Batchelder έγραψε: On 10/1/13 10:24 AM, Daniel Stojanov wrote: 2) I just signed up the this mailing list. To the regulars, is this what normally happens on this list? This is not what normally happens here. Usually we have concise and helpful conversations.

PyDoc_STRVAR error in msvc compile

2013-10-01 Thread Robin Becker
I'm trying to port C code that compiles under 2.7 to 3.3; the intention is to make things work under both. I used to use raw strings for the module documentation, but my porting guide suggests that I should be using PyDoc_STRVAR. That works for me using linux, but I'm getting errors under

Re: I haev fixed it

2013-10-01 Thread feedthetroll
Am Dienstag, 1. Oktober 2013 17:57:25 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 6:53 μμ, ο/η feedthetroll έγραψε: Am Dienstag, 1. Oktober 2013 16:32:57 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 5:08 μμ, ο/η feedthetroll έγραψε: Am Dienstag, 1. Oktober 2013 15:34:26 UTC+2 schrieb Ferrous

Re: VERY BASIC HELP

2013-10-01 Thread rusi
On Monday, September 30, 2013 11:20:16 PM UTC+5:30, vignesh.h...@gmail.com wrote: Thank you both so much! I'll be sure to make more pertinent subject lines now :) Thanks for the detailed explanations! Clearly, I've just started learning this language ~20 minutes before I made this post, and

Re: PyDoc_STRVAR error in msvc compile

2013-10-01 Thread MRAB
On 01/10/2013 17:41, Robin Becker wrote: I'm trying to port C code that compiles under 2.7 to 3.3; the intention is to make things work under both. I used to use raw strings for the module documentation, but my porting guide suggests that I should be using PyDoc_STRVAR. That works for me using

Re: VERY BASIC HELP

2013-10-01 Thread Mark Lawrence
On 30/09/2013 18:50, vignesh.harikris...@gmail.com wrote: Thank you both so much! I'll be sure to make more pertinent subject lines now :) Thanks for the detailed explanations! Clearly, I've just started learning this language ~20 minutes before I made this post, and am still learning the

Re: Functional Programming and python

2013-10-01 Thread Piet van Oostrum
Antoon Pardon antoon.par...@rece.vub.ac.be writes: Op 30-09-13 20:55, Piet van Oostrum schreef: Franck Ditter nob...@nowhere.org writes: Good approach of FP in Python, but two points make me crazy : 1. Tail recursion is not optimized. We are in 2013, why ? This is known technology (since

Re: Help with python functions?

2013-10-01 Thread kjakupak
I ended up with these. I know they're only like half right... I was wondering if any of you had to do this, what would you end up with? # Question 1.a def temp(T, from_unit, to_unit): if from_unit == 'C' or from_unit == 'c': return 32 + (9/5)*T elif from_unit == 'K' or from_unit

Re: I haev fixed it

2013-10-01 Thread Piet van Oostrum
Νίκος nikos.gr...@gmail.com writes: Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire me! Question: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME,

Re: JUST GOT HACKED

2013-10-01 Thread Piet van Oostrum
Νίκος nikos.gr...@gmail.com writes: Just logged in via FTP to my server and i saw an uploade file named Warnign html Contents were: WARNING I am incompetent. Do not hire me! Question: WHO AND MOST IMPORTNTANLY HOW DID HE MANAGED TO UPLOAD THIS FILE ON MY ACCOUNT? PLEASE ANSWER ME,

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
On 01/10/2013 14:27, Chris “Kwpolska” Warrick wrote: It looks like you are accusing someone of doing something without any proof whatsoever. Would you like help with the fallout of the lawsuit that I hope Mark might (should!) come up with? Why would I want to sue someone who's very kindly

Re: Help with python functions?

2013-10-01 Thread random832
On Tue, Oct 1, 2013, at 13:53, kjaku...@gmail.com wrote: I ended up with these. I know they're only like half right... I was wondering if any of you had to do this, what would you end up with? # Question 1.a def temp(T, from_unit, to_unit): Assuming this is temperature conversion. You

Convert Microsoft Word files to PDF with DOCXtoPDF

2013-10-01 Thread vasudevram
Hi list, I hope some people may find this useful. This post by me shows how to use DOCXtoPDF (a program I wrote recently) to convert the text in Microsoft Word files (that are in DOCX format) to PDF: Convert Microsoft Word files to PDF with DOCXtoPDF

Aloha! Check out the Betabots!

2013-10-01 Thread Devyn Collier Johnson
Aloha Python Fans! Did you all miss me? I have been busy working on my Python-based chatbots called the Betabots. I mentioned this mailing list and thanked the Python mailing list in the documentation like I said I would. I just released v0.8a. Enjoy! Thanks for all the past help everyone.

Re: JUST GOT HACKED

2013-10-01 Thread Tim Delaney
On 2 October 2013 00:00, Νίκος nikos.gr...@gmail.com wrote: Thanks for visting my website: you help me increase my google page rank without actually utilizing SEO. Here: http://superhost.gr/?show=log**page=index.htmlhttp://superhost.gr/?show=logpage=index.html Speaking of which, I would

Tail recursion to while iteration in 2 easy steps

2013-10-01 Thread Terry Reedy
Part of the reason that Python does not do tail call optimization is that turning tail recursion into while iteration is almost trivial, once you know the secret of the two easy steps. Here it is. Assume that you have already done the work of turning a body recursive ('not tail recursive')

Re: Help with python functions?

2013-10-01 Thread Denis McMahon
On Tue, 01 Oct 2013 10:53:26 -0700, kjakupak wrote: I ended up with these. I know they're only like half right... I was wondering if any of you had to do this, what would you end up with? # Question 1.a def temp(T, from_unit, to_unit): I suspect that this doesn't work properly for all

Re: JUST GOT HACKED

2013-10-01 Thread Ben Finney
Daniel Stojanov daniel.st...@gmail.com writes: 2) I just signed up the this mailing list. Welcome! Feel free to engage and/or begin some Python-related threads :-) To the regulars, is this what normally happens on this list? This is an unmoderated forum, so we have occasional spates of

Re: JUST GOT HACKED

2013-10-01 Thread Denis McMahon
On Tue, 01 Oct 2013 12:58:50 +0300, Νίκος wrote: Just logged in via FTP to my server and i saw an uploade file named Warnign html Yes, so we can add basic internet security to the growing list of things you know nothing about: python programming, etiquette, http, dns, tcp/ip, mimetypes,

Re: JUST GOT HACKED

2013-10-01 Thread Chris Angelico
On Wed, Oct 2, 2013 at 12:24 AM, Daniel Stojanov daniel.st...@gmail.com wrote: 3) I'm a bit late to the party. Is Nikos a real sysadmin or is this some horrible inside joke I don't get? He's a real sysadmin, in the sense that he has a system that he administers - this isn't some elaborate prank

Re: JUST GOT HACKED

2013-10-01 Thread Mark Lawrence
On 01/10/2013 15:24, Daniel Stojanov wrote: 2) I just signed up the this mailing list. To the regulars, is this what normally happens on this list? Nah, sadly part of it is due to me failing to keep Asperger Syndrome under control. Marks out of 10, -5, must try harder :( If you're into

Improving community discussion (was: JUST GOT HACKED)

2013-10-01 Thread Ben Finney
Mark Lawrence breamore...@yahoo.co.uk writes: Nah, sadly part of it is due to me failing to keep Asperger Syndrome under control. Marks out of 10, -5, must try harder :( Thank you for acknowledging this. I sincerely wish you strength in limiting antisocial behaviour. We need more people who

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 1/10/2013 7:40 μμ, ο/η feedthetr...@gmx.de έγραψε: Am Dienstag, 1. Oktober 2013 17:57:25 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 6:53 μμ, ο/η feedthetroll έγραψε: Am Dienstag, 1. Oktober 2013 16:32:57 UTC+2 schrieb Ferrous Cranus: Στις 1/10/2013 5:08 μμ, ο/η feedthetroll έγραψε: Am

python function parameters, debugging, comments, etc.

2013-10-01 Thread Chris Friesen
I've got a fair bit of programming experience (mostly kernel/POSIX stuff in C). I'm fairly new to python though, and was hoping for some advice. Given the fact that function parameters do not specify types, when you're looking at someone else's code how the heck do you know what is expected

Re: I haev fixed it

2013-10-01 Thread Mark Lawrence
On 01/10/2013 23:46, Νίκος wrote: If only there was a log file that could show the connection made by the hacker's host, so to post it here. I'd write a serious letter of complaint to all of your customers asking them why they've not provided you with log files that list what they do on the

Re: python function parameters, debugging, comments, etc.

2013-10-01 Thread Joel Goldstick
On Tue, Oct 1, 2013 at 6:54 PM, Chris Friesen cbf...@mail.usask.ca wrote: I've got a fair bit of programming experience (mostly kernel/POSIX stuff in C). I'm fairly new to python though, and was hoping for some advice. Given the fact that function parameters do not specify types, when

Re: JUST GOT HACKED

2013-10-01 Thread Zero Piraeus
: Imagine, if you will, a pub landlord. I'll call him Nick. The pub Nick manages is a run-of-the-mill affair: he leases it from a brewery, and they look after most of the technical aspects of the business. When it comes down to it, Nick is just a reseller of alcohol. If one of the regulars

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 2/10/2013 1:57 πμ, ο/η Mark Lawrence έγραψε: On 01/10/2013 23:46, Νίκος wrote: If only there was a log file that could show the connection made by the hacker's host, so to post it here. I'd write a serious letter of complaint to all of your customers asking them why they've not provided

Re: I haev fixed it

2013-10-01 Thread alex23
On 1/10/2013 9:06 PM, Νίκος wrote: Στις 1/10/2013 1:58 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:54 PM, Νίκος nikos.gr...@gmail.com wrote: I you want to congratulate Mark Lawrence do it in private. You know it was Mark, then? Okay. In that case, ask him directly. If not, I

Re: JUST GOT HACKED

2013-10-01 Thread alex23
On 2/10/2013 1:34 AM, Νίκος wrote: i ask question and read the answers and comment on those. Citation needed. -- https://mail.python.org/mailman/listinfo/python-list

Re: JUST GOT HACKED

2013-10-01 Thread Νίκος
Στις 2/10/2013 2:02 πμ, ο/η Zero Piraeus έγραψε: In other words: you weren't hacked. You'd been repeatedly told that you had publicly visible source code on the net containing passwords in plain text; all anyone had to do was login to your server with the credentials you negligently exposed, and

Re: I haev fixed it

2013-10-01 Thread Νίκος
Στις 2/10/2013 2:25 πμ, ο/η alex23 έγραψε: On 1/10/2013 9:06 PM, Νίκος wrote: Στις 1/10/2013 1:58 μμ, ο/η Chris Angelico έγραψε: On Tue, Oct 1, 2013 at 8:54 PM, Νίκος nikos.gr...@gmail.com wrote: I you want to congratulate Mark Lawrence do it in private. You know it was Mark, then? Okay. In

Re: I haev fixed it

2013-10-01 Thread alex23
On 2/10/2013 9:30 AM, Νίκος wrote: Στις 2/10/2013 2:25 πμ, ο/η alex23 έγραψε: No, it's defamation. Unless you have _proof_ it was Mark Lawrence, you really should just shut up for once. As it stands, without an apology (and even _with_ one), Mark has the legal right to sue you. Wooow! Now

Re: JUST GOT HACKED

2013-10-01 Thread Tim Delaney
On 2 October 2013 09:28, Νίκος nikos.gr...@gmail.com wrote: con = pymysql.connect( db = 'mypass', user = 'myuser', passwd = 'mysqlpass', charset = 'utf8', host = 'localhost' ) That was viewable by the link Mark have posted. But this wasnt my personal's account's login password, that was

Re: python function parameters, debugging, comments, etc.

2013-10-01 Thread Rotwang
On 01/10/2013 23:54, Chris Friesen wrote: I've got a fair bit of programming experience (mostly kernel/POSIX stuff in C). I'm fairly new to python though, and was hoping for some advice. Given the fact that function parameters do not specify types, when you're looking at someone else's code

Re: python function parameters, debugging, comments, etc.

2013-10-01 Thread Terry Reedy
On 10/1/2013 6:54 PM, Chris Friesen wrote: Given the fact that function parameters do not specify types, when you're looking at someone else's code how the heck do you know what is expected for a given argument? (Especially in a nontrivial system where the parameter is just passed on to

Re: JUST GOT HACKED

2013-10-01 Thread Tim Chase
On 2013-10-02 09:48, Tim Delaney wrote: Because there's no chance with the brilliance you display that there could be any possibility of login details being kept in plaintext in your database. And of course your database is so well locked down that no attacker with a login to it could then

Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0: invalid start byte

2013-10-01 Thread Steven D'Aprano
On Tue, 01 Oct 2013 09:27:22 +0200, Antoon Pardon wrote: People pay for some kind of guaranteed uptime. You have *no idea* what sort of contract Nikos has with his customers. Nor do you know have any idea what fees he charges. For all we know, he is promising, and charging for, 99% uptime

  1   2   >