Re: Trouble with Multi-threading

2013-12-10 Thread feedthetroll
Am Dienstag, 10. Dezember 2013 17:21:32 UTC+1 schrieb dan@parker.com:
> "PLEASE NOTE: The preceding information may be confidential or
> privileged. It only should be used or disseminated for the purpose
> of conducting business with Parker. If you are not an intended
> recipient, please notify the sender by replying to this message and
> then delete the information from your system. Thank you for your
> cooperation."

As the above clause demands I hereby inform you, that I am - presumably  - not 
an intended recipient, because I am - as far as I know - not in any business 
with whatever Parker.
Nevertheless I am very sorry, but I am not able to delete the message. Neither 
from the usenet nor from Google-Groups.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Reading From stdin After Command Line Redirection

2013-10-24 Thread feedthetroll
Am Donnerstag, 24. Oktober 2013 15:41:52 UTC+2 schrieb Tim Daneliuk:
> On 10/24/2013 07:10 AM, Oscar Benjamin wrote:
>> On 24 October 2013 12:58, Tim Daneliuk  wrote:
>>> On 10/23/2013 11:54 PM, Ben Finney wrote:
 we don't welcome ableist (nor sexist) behaviour.
>>> Well now I just feel so very awful ...
>> Please end this line of discussion. Ben is right: your comment was
>> entirely unnecessary and could easily offend.
>> Oscar
> And his condescension was even more offensive.
> But now I feel bad about myself and it's all your fault.
No it is not. You are the only one responsible for your feelings.
Or is it your fault, that I fell bad, because you feel bad?

Btw it's your feelings, that grade an impartial statement as condescension.
As my feelings grade your statements as extremely offending. And (to follow 
your arguments) that's your fault!

> ...
> Tim Daneliuk

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: skipping __init__ and using exploiting a class member instead

2013-10-21 Thread feedthetroll
Am Montag, 21. Oktober 2013 06:31:36 UTC+2 schrieb Peter Cacioppi:
> That sound you hear is Roy Smith hitting the nail on the head.

PLONK: The sound you hear, when a context-less troll is hitting the bottom of 
my killfile.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can arbitrary code run in a server if someone's know just the MySQL password?

2013-10-02 Thread feedthetroll
Am Mittwoch, 2. Oktober 2013 14:20:00 UTC+2 schrieb Ferrous Cranus:
> ...
> Is it possible for someone that knows the MYSQL password of a server to 
> run arbitrary code on a linux server?
> ...
> If yes, can you give an example please?
http://lmgtfy.com/?q=mysql+shell+escape

> Please, serious replies only, i won't answer to ironic comments or jokes.
Please only questions about python. This not a mysql or security list.

PLONK!

(Hey Thunderbird has a very useful new feature. Ignore thread.)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: JUST GOT HACKED

2013-10-02 Thread feedthetroll
Am Mittwoch, 2. Oktober 2013 12:52:39 UTC+2 schrieb Ferrous Cranus:
> ...
>> By the way: if you haven't already, you'll want to remove the extra line
>> from your .htaccess file.
> Tell me the line you are referring to.
I think it will be the line YOU did NOT enter. Just take a look yourself. The 
best way will be to compare it to a backup you made before the change.
(Nikos and backups. Good joke, ins't it?)

> ...
> I wont get mad but i want you too answer all of my questions and:
> 1. state by which method you managed to break in since at noplace at my 
> awareness did i psot my account's login pass, only the source code of my 
> main script which is now fixed by me altering the httpd.conf file and 
> placing extra lines into my main .htaccess file
> 2. Be sincere and tell me if you have created a backdoor on my server 
> that allows you to remotely login and do stuff.
> I will even thank you for not destroying my system, but i want these 
> questions i just types to be answered so i take action to fix things ven 
> better.
ROTFL. You made my day. Again!

> Please, this is a business server.
No it ist not:
Am Montag, 30. September 2013 20:03:32 UTC+2 schrieb Ferrous Cranus:
> ...
> I learn Python for personal pleasure because i like programming.
"Learning for personal pleasure" and "business server" can't be true both.
So one of the statements is wrong. Therefore you are a liar Nikos, I'm sorry. 

-- 
https://mail.python.org/mailman/listinfo/python-list


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 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 out.
>>>>>
>>>>> You started the thread didn't you?
>>>> Your are wrong (again) Nikos. Mark did not start the thread. YOU did:
>>>> The thread was started by ni...@secure.superhost.gr
>>>> ( see https://groups.google.com/forum/#!topic/comp.lang.python/_J_3e6_LIa8)
>>>> So stop accusing others!
>>>>
>>>>> And the file's contents that was uploaded speaks out loud your kind of
>>>>> insults.
>>>> Mark is not the only one telling you the truth in this group.
>>>>
>>>>> ...
>>> Yeah right.
>> I am very happy, that you admit, that not Mark but YOU started the thread.
>> You said, that the one who started the thread, broke into your system. So
>> YOU broke into your system and are fooling us (again).
>>
>>> ...
>>> As you see here, here the origiv of the mail is from my server and the
>>> forger used the mail agent Mutt to send the mail.
>>>
>>> *I* use ThunderBird, not Mutt mail client.
>> You also use gmail and even systems of other people (as you told us months
>> ago when someone asked why you were using so many different FROM - 
>> addresses), so we can not know, that you are not also using mutt.
>>> ...
>>> The message of the file also contain insulting languge like he uses all
>>> th etime against me.
>> And the original subject was full of typos. You are the only one committing
>> thousands of typos. So, following your arguments, this is the proof, that
>> YOU started the thread.
>>
> You are a liar and a bad one.
Do you have any points / evidence or are you just trolling again.

btw: If you write "Yeah right." (see 23 lines above) you should read what 
you agree to. But I forgot, you do not read answers to your posts. You just 
write arbitrary things. Just like a troll does.
-- 
https://mail.python.org/mailman/listinfo/python-list


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 Greek moron or the
>>>> person who has pinched his email account?  I'll happily admit to being
>>>> far too lazy to try and find out.
>>>
>>> You started the thread didn't you?
>> Your are wrong (again) Nikos. Mark did not start the thread. YOU did:
>> The thread was started by ni...@secure.superhost.gr
>> ( see https://groups.google.com/forum/#!topic/comp.lang.python/_J_3e6_LIa8)
>> So stop accusing others!
>>
>>> And the file's contents that was uploaded speaks out loud your kind of
>>> insults.
>> Mark is not the only one telling you the truth in this group.
>>
>>> ...
>Yeah right.
I am very happy, that you admit, that not Mark but YOU started the thread. You 
said, that the one who started the thread, broke into your system. So YOU broke 
into your system and are fooling us (again).

> ...
> As you see here, here the origiv of the mail is from my server and the 
> forger used the mail agent Mutt to send the mail.
> 
> *I* use ThunderBird, not Mutt mail client.
You also use gmail and even systems of other people (as you told us months ago 
when someone asked why you were using so many different FROM - addresses), so 
we can not know, that you are not also using mutt.

> 
> ...
> The message of the file also contain insulting languge like he uses all 
> th etime against me.
And the original subject was full of typos. You are the only one committing 
thousands of typos. So, following your arguments, this is the proof, that YOU 
started the thread.

-- 
https://mail.python.org/mailman/listinfo/python-list


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 out.
> 
> You started the thread didn't you?
Your are wrong (again) Nikos. Mark did not start the thread. YOU did:
The thread was started by ni...@secure.superhost.gr
( see https://groups.google.com/forum/#!topic/comp.lang.python/_J_3e6_LIa8)
So stop accusing others!

> And the file's contents that was uploaded speaks out loud your kind of 
> insults.
Mark is not the only one telling you the truth in this group.

> ...
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Tryign to send mail via a python script by using the local MTA

2013-09-20 Thread feedthetroll
Hi Jake!

Am Freitag, 20. September 2013 05:56:57 UTC+2 schrieb Jake Angulo:
> ...
> I was waiting for smtplib to be mentioned... finally!  Instead people simply
> answer philosophically.  I dont want to judge whether OP is a troll or not -
As you do not seem to know the histrory of this topic I will try to summarize 
(you can find the plethora of posts in the archive):
* Nikos tried to send mails using smtplib via gmail
* gmail did not allow him to use arbitrary FROM adresses (whatever FROM-header 
he used, gmail changed it to the e-mail of his account). evil, evil gmail ;-)
* He got many, many hints not to send via gmail but use his own MTA
* Nikos configured sendmail to relay mail VIA GMAIL (unfortunately that did not 
change anything)
* while using arbitrary things to find the reason (when you browse the archive 
you will learn, that nikos does not read postings or docs but uses some sort of 
artistic or random or just chaotic "trial and error" to solve his problems)
* ... he found some other headers he wants to falsify
* the only reference to python is, that he wants to use his python-cgi-scripts 
to change the mailheaders AFTER the mail left his relaying MTA and even after 
the mail arrives in the inbox of the recipient (received-by-headers, 
IP-Adresses, ...). The hints to read some docs about TCP/IP, SMTP, ... he 
ignores as he has to do see 
http://www.politicsforum.org/images/flame_warriors/flame_62.php (the original 
by mreed is not reachable today)

hth 
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Tryign to send mail via a python script by using the local MTA

2013-09-16 Thread feedthetroll
Am Dienstag, 17. September 2013 03:40:06 UTC+2 schrieb Tim Chase:
> On 2013-09-17 00:15, Ferrous Cranus wrote:
>...
>> But i wish to try it, is there a way to try to remove them?
> 
> You could manage your own SMTP connection.  If only Python had some
> built in library that handled SMTP, that would be great!  Then you
> would be able to instantiate some SMTP object, connect to another
> server, optionally authenticating, then send mail, and close the
> connection.  That would be so awesome! :-D
Cool idea! But bad, bad GMail won't let me fake the FROM-Header. Bad, bad 
GMail. WHINE! ;-)
(Hey, we reached the start of the thread. Infinite loops are sooo cool ;-) )

> ... 

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot form correctly the FORM part of the header when sending mail

2013-09-05 Thread feedthetroll
Am Donnerstag, 5. September 2013 17:59:42 UTC+2 schrieb Ferrous Cranus:
> ok i will ask to sendmail list
Take a look at: 

> but tell me please mailx and senmail are 2 differnt MTAs or mailx makes 
> use of sendmail MTA?
mailx is a MUA (Mail User Agent) used to read and write mails.
For sending mails it uses the MTA.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot form correctly the FORM part of the header when sending mail

2013-09-05 Thread feedthetroll
Am Donnerstag, 5. September 2013 15:38:25 UTC+2 schrieb Ferrous Cranus:
> Στις 5/9/2013 4:29 μμ, ο/η feedthetroll έγραψε:
>>> uses DoveCot as enaled mail server but i have no idea how to
>>> setip up to work.
>>> i cannot connect to it via my python script.
>> OK, I should have been more exact:
>> To send mails you need a "smtp-server" (MTA - Mail Transfer Agent,
>> Message Transport Agent) like postfix, exim, sendmail, ...
>>
>> DoveCot is good for "reading" mail (="mailbox management", "pop3(s)",
>> "imap(s)"). You cannot send mails using DoveCot. (You can use a
>> WebMailService to access DoveCot for reading and a MTA for sending mails.)
>>
>> So you have to find out, which MTA you installed (you have root access,
>> don't you) and configure it.
>>
>> But this is (like so often) becoming extremely offtopic.
> 
> i as root just inatslled
> 
> sendmail and mailx. i have edited the ~/.mailrc to use:
>
> ni...@superhost.gr [~/www/cgi-bin]# cat ~/.mailrc
> account gmail {
> set smtp-use-starttls
> set smtp=smtp://smtp.gmail.com:587
> set smtp-auth=login
> set smtp-auth-user=may)gmail
> set smtp-auth-password=my_gmail_pass_not_stupid_enough_to_wite _it_again
> }
Don't use gmail. Gmail is the cause of your problem. As long as you use it 
(whatever way you use) the problem will persist. USE YOUR SENDMAIL.

> And now i'm trying  to:
> cmd = "echo %s | mailx -A gmail -r %s -s %s %s"  %  (MESSAGE, FROM, 
> SUBJECT, TO)
> p=subprocess.Popen( cmd, shell=True, stdout=subprocess.PIPE )
> output, errors = p.communicate()
> print( errors, output )
DONT INVOKE THIS VIA PYTHON. Use the shell. If it works there, you can try it 
with python.

> Any ideas please why this fails to work?
> while i remove the '-A gmail' string in the cmd line then i can send 
> fast mail but only to mail containing the @superhost.gr trail.
> i need to be eble to send to external mails to.
THIS IS NOT A SENDMAIL LIST!
Solve your sendmail-problem and then, if it still does not work from python 
come back with a smart question.

FUP: comp.mail.sendmail
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot form correctly the FORM part of the header when sending mail

2013-09-05 Thread feedthetroll
Am Donnerstag, 5. September 2013 14:36:19 UTC+2 schrieb Ferrous Cranus:
> Στις 5/9/2013 3:18 μμ, ο/η feedthetroll έγραψε:
>> Beeing serious:
>> Which mailserver did you install? postfix, exim, sendmail, ...?
>> Check that and read its dokumentation how to configure authentication.
>> Then you can use it.
> 
>> And if you get stuck: A python list is NOT THE RIGHT PLACE to ask questions
>> about the configuration of mailservers. Find the correct list for your
>> mailserver and ask there!
> 
> My WHM
WHM (http://www.globalacronyms.com/whm):
Meaning of Acronym WHM   Language Category
Watt Hour Meter  Acronym in English   Science, Unit Measure,
  Chemistry, Biology, Acronym
Work Hour Management Acronym in English   General, Common Abbreviation,
  Slang, Acronym

> uses DoveCot as enaled mail server but i have no idea how to 
> setip up to work.
> i cannot connect to it via my python script.
OK, I should have been more exact:
To send mails you need a "smtp-server" (MTA - Mail Transfer Agent, Message 
Transport Agent) like postfix, exim, sendmail, ...

DoveCot is good for "reading" mail (="mailbox management", "pop3(s)", 
"imap(s)"). You cannot send mails using DoveCot. (You can use a WebMailService 
to access DoveCot for reading and a MTA for sending mails.)

So you have to find out, which MTA you installed (you have root access, don't 
you) and configure it.

But this is (like so often) becoming extremely offtopic.

> i looked over at my WHM for configuration but i didnt find out how to 
> properly configure it.
http://www.dovecot.org/documentation.html - but DoveCot won't help you here.

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot form correctly the FORM part of the header when sending mail

2013-09-05 Thread feedthetroll
Am Donnerstag, 5. September 2013 13:20:23 UTC+2 schrieb Ferrous Cranus:
> Στις 5/9/2013 2:02 μμ, ο/η feedthetroll έγραψε:
>>> Am 03.09.2013 09:48, schrieb Ferrous Cranus:
>>>> Is there a workaround for that please?
>>> Yes, use/setup your own mailserver. Google will not allow you to send
>>> as ("i.e., From:") an arbitrary address besides the one you've
>>> authenticated as.
>> And again, you did not care to read / understand the answers you got.
>> So again: You are a troll.
> 
> I'm perfectly awra of the answers given to me. I do car to read them and 
> do care to udnerstand them.
> 
> I need information on how to setup my own mail server
> i cannot even connect to my 'mail.mydomain.com' mail server like i do 
> with GMail's.
And you can solve this promblem by asking "How can I change the FROM field with 
python?" (which was your last question in this context, after you read and 
understood the cited answers)? ... Good luck!

Beeing serious:
Which mailserver did you install? postfix, exim, sendmail, ...?
Check that and read its dokumentation how to configure authentication.
Then you can use it.
And if you get stuck: A python list is NOT THE RIGHT PLACE to ask questions 
about the configuration of mailservers. Find the correct list for your 
mailserver and ask there!

> 
> So:
> server = smtplib.SMTP(localhost)
> doesn't help, i cannot efen connect to my localhost mail server form 
> within my script.
See above.

> An alternative is needed, one that doesnt add up things as Sender but 
> uses fROM field isntead.
No problem. Configure your own mail server the way you want it to work.

But remembering your attitude to security-things it would be better for us if 
you did NOT adminstrate a mailserver. We do not need another open relay.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot form correctly the FORM part of the header when sending mail

2013-09-05 Thread feedthetroll
Am Donnerstag, 5. September 2013 12:48:54 UTC+2 schrieb Ferrous Cranus:
> is there way to alter tha FROM field to the one used in the webform by 
> the visitor?
Yes it ist. You did it in your code.
But gmail alters it AFTER you. So again, you did not care to read / understand 
the answers you got.

> GMail adds the Sender by default is there some other service that 
> doesn't and use the FROM field?
Yes. Already answered:
Am Mittwoch, 4. September 2013 14:18:55 UTC+2 schrieb Heiko Wundram:
> Am 03.09.2013 09:48, schrieb Ferrous Cranus:
>> Is there a workaround for that please?
> Yes, use/setup your own mailserver. Google will not allow you to send
> as ("i.e., From:") an arbitrary address besides the one you've
> authenticated as.
And again, you did not care to read / understand the answers you got.

So again: You are a troll.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot form correctly the FORM part of the header when sending mail

2013-09-03 Thread feedthetroll
Am Dienstag, 3. September 2013 09:48:13 UTC+2 schrieb Ferrous Cranus:
> Hello,
> i have written the following snipper of code to help me send mail:
> ...
>  server.login("nikos.gr...@gmail.com", "..")
HE DID IT AGAIN! The login works with the posted password!
Nikos, you should change your password IMMEDIATELY!

> ... 
-- 
http://mail.python.org/mailman/listinfo/python-list


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

2013-07-05 Thread feedthetroll
Am Freitag, 5. Juli 2013 12:33:05 UTC+2 schrieb Νίκος Gr33k:
> ...
> Wait!
> Are you saying that the ip address is being returned as a byte string 
> which then i have to decode with something like:
> 
> host = socket.gethostbyaddr( os.environ['REMOTE_HOST'].decode('utf-8') )[0]

Wait!
I get a decode error when python tries to automatically decode a bytestring
assuming it to be utf-8 encoded.
I am sure the error will disappear, when I try to decode it explicit using
utf-8. Heureka! I got it!

Or in other words:
If a big stone falls on my foot accidently, it hurts.
--^
But I am sure it will not hurt, if take that same stone and throw it on my foot.

Heureka! I got it!



P.S.:

Am 14.06.2013 10:35, schrieb Fábio Santos:
> Also you have been shown this link and I feel you really need to read it.
> http://slash7.com/2006/12/22/vampires/
-- 
http://mail.python.org/mailman/listinfo/python-list


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

2013-07-05 Thread feedthetroll
Am Freitag, 5. Juli 2013 13:27:25 UTC+2 schrieb Νίκος Gr33k:
> Στις 5/7/2013 2:16 μμ, ο/η Lele Gaifax έγραψε:
>> UnicodeDecodeError('utf-8', b'\xb6\xe3\xed\xf9\xf3
>> first string---^^^
>> second string---^^
> 
> Hold on please!
>  From where do these dashes and carets characters come from?

ROTFL
Nikos, you made my day, again! Fun is back in these threads!

> 
> Also from where do you see 2 strings?

Look, my little dumb baby: The dashes and carets point to the strings.
The first one being 'utf-8', the second one starting with '\xb6\xe3\xed' (being 
a bytestring, therefore the b before the ')
Sorry, I forgot. You are not using python for your business, therefore you 
can't know, that strings in python can for example be identified by surrounding 
'.

> ic an understandn onlt that utf-8 has failsed decoding some byte stream 
> satrting with \xb6
So ... where did you call utf-8() so that it could try to decode something?
-- 
http://mail.python.org/mailman/listinfo/python-list


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

2013-07-05 Thread feedthetroll
Am Freitag, 5. Juli 2013 12:33:05 UTC+2 schrieb Νίκος Gr33k:
> ...
> Wait!
> Are you saying that the ip address is being returned as a byte string 
> which then i have to decode with something like:
> 
> host = socket.gethostbyaddr( os.environ['REMOTE_HOST'].decode('utf-8') )[0]

Wait!
I get a decode error when python tries to automatically decode a bytestring 
assuming it to be utf-8 encoded.
I am sure the error will disappear, when I try to decode it explicit using 
utf-8. Heureka! I got it!

Or in other words:
If a big stone falls on my foot accidently it hurts.
But I am sure it will not hurt, if take that same stone and throw it on my foot.
Heureka! I got it!

P.S.:

Am 14.06.2013 10:35, schrieb Fábio Santos:
> Also you have been shown this link and I feel you really need to read it.
> http://slash7.com/2006/12/22/vampires/
-- 
http://mail.python.org/mailman/listinfo/python-list


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

2013-07-05 Thread feedthetroll
Am Freitag, 5. Juli 2013 10:00:21 UTC+2 schrieb Νίκος Gr33k:
> ...
> I'am not sure how iam supposed to write this: i just tried this:
> try:
>   remadd = os.environ('REMOVE_ADDR')
>   tuple3 = socket.gethostbyaddr(remadd)
>   host = tuple3[0]
> except:
>   host = type(remadd) + " : " + repr(remadd)

Hey, if no one told you before:
You are allowed to read what other people suggest you to do, think about it  
and so correct obvious typos: 'REMO*V*E_ADDR'

By the way, my i cite:
Am Donnerstag, 4. Juli 2013 14:52:59 UTC+2 schrieb Νίκος Gr33k:
> ...
> '108.162.229.97' is the result of:
> print( ascii(os.environ['REMOTE_ADDR']) )

Am Donnerstag, 4. Juli 2013 16:48 UTC+2 schrieb Νίκος Gr33k:
> For me, socket.gethostbyaddr('108.162.229.97') raises socket.herror,
> which is also a subclass of OSError from Python 3.3 onwards.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Important features for editors

2013-07-05 Thread feedthetroll
Am Donnerstag, 4. Juli 2013 11:14:38 UTC+2 schrieb Νίκος Gr33k:
> ...
>> On 07/04/2013 03:59 AM, Νίκος wrote:
>>> ... 
>>> Download Sublime Text v3
>>> Is a great editor
>>> ... 
>
> If you guys want to use it i can send you a patch for it.
> I know its illegal thing to say but it will help you use it without 
> buying it.

Am Freitag, 5. Juli 2013 09:41:39 UTC+2 schrieb Νίκος Gr33k:
> [talkin about Sublime Text editor]
> The only thing missing from this great editor is the ability to upload 
> your python scripts to a remote web server.
> They should embed a plugin  for that like Notepad's NPPFtp plugin.

Oh, I'm sure they would have time/money to do so, if more people payed the 
license fees.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Illegal suggestions on python list

2013-07-04 Thread feedthetroll
Am Donnerstag, 4. Juli 2013 19:10:07 UTC+2 schrieb rusi:
> On Thu, Jul 4, 2013 at 9:16 PM, Steven D'Aprano 
>  wrote:
>> On Thu, 04 Jul 2013 07:02:26 -0700, rusi wrote:
>>> ...
>>> Note that you are not objecting to the crime
>>
>> Which crime is that? Presumably you mean an actual criminal felony, not a
>> mere civil offence. Under which jurisdiction?
> 
> You've got your OO class hierarchy mixed up and then imposing that on me.
> See
> http://www.nolo.com/legal-encyclopedia/crimes-felonies-misdemeanors-
> infractions-classification-33814.html

Oh, sorry, we forgot, that the US legal system is the only one applicable to 
the internt (and of course to the whole world). 

LOL
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Important features for editors

2013-07-04 Thread feedthetroll
Am Donnerstag, 4. Juli 2013 15:36:02 UTC+2 schrieb Νίκος Γκρ33κ:
> Στις 4/7/2013 4:33 μμ, ο/η Steve Simmons έγραψε:
>> "Νίκος"  wrote:
>>> Στις 4/7/2013 11:34 πμ, ο/η Dave Angel έγραψε:
 On 07/04/2013 03:59 AM, Νίκος wrote:
> ...
> Download Sublime Text v3
> Is a great editor
 ...
It looks pretty good on the web page. The main negatives I can
see are:
It costs $70 per user
It can only be purchased with Paypal, which I won't use.
 ...
>>> If you
>>> guys want to use it i can send you a patch for it.
>>> I know its illegal thing to say but it will help you use it without
>>> buying it.
>>
>> Boy oh boy! You really are a slow learner Nicos. You have just offered
>> to commit a crime and to include dozens of others in that crime ON A
>> PUBLIC FORUM. Please think before you post.
>> ...
> Just wanted to help people that might wanted it, thats all, its a great 
> editor, but i wont post in public again such propositions.

Ahh, I see. Committing crimes is O.K. as long as
1. I think I help other with it and
2. I do not talk about it.

Yep. That's a great attitude towards life.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python adds an extra half space when reading from a string or list

2013-07-04 Thread feedthetroll
Am Mittwoch, 3. Juli 2013 19:01:23 UTC+2 schrieb ru...@yahoo.com:
> On 07/03/2013 08:12 AM, feedthetr...@gmx.de wrote:
>>> Am Mittwoch, 3. Juli 2013 12:00:14 UTC+2 schrieb Νίκος:
>>>>> Στις 3/7/2013 12:45 μμ, ο/η Chris Angelico έγραψε:
>>>>>>>>> ] You have betrayed the trust of all your customers.
>>>>> ...
>>>>> I just received a call form on of my customers asking me to explain your 
>>>>> mail ...
>>>>> Of course i should have give you the root pass(it was indeed stupid), 
>>>>> but you violated my trust.
>>>>> You should have been clear that you didnt want to help and not asking me 
>>>>> via private mail for the root pass.
>>> 
>>> May i cite:
>>> Am Dienstag, 4. Juni 2013 19:12:41 UTC+2 schrieb Νικόλαος Κούρας:
>>>>> Τη Τρίτη, 4 Ιουνίου 2013 8:09:18 μ.μ. UTC+3, ο χρήστης Chris Angelico 
>>>>> έγραψε:
>>>>>>> On Wed, Jun 5, 2013 at 3:02 AM, Νικόλαος Κούρας 
>>>>>>> wrote:
>>>>>>>>> I'm willing to let someone with full root access to my webhost to see 
>>>>>>>>> thigns from the inside.
>>>>>>>>> ...
>>>>>>> You need to read up on what happens when you enter Dummy Mode and give
>>>>>>> someone full root access to your web host. You really REALLY need to
>>>>>>> understand what that means before you offer random strangers that kind
>>>>>>> of access to someone else's data.
>>>>>>> 
>>> *
>>> *
>>>>>>> I've half a mind to take you up on your offer, then go look for
>>>>>>> personal and private info from your clients, and email it to them
>>>>>>> (along with a link to this thread) to point out what's going on.
>>> *
>>> *
>>>>>>> ChrisA
>>>>> 
>>>>> I know what full root access mean.
>>>>> I also trust you.
>>>>> ...
>>>  
>>> Am Mittwoch, 5. Juni 2013 00:12:26 UTC+2 schrieb Chris Angelico:
>>>>> The call is strong... I could rule the galaxy alongside my father...
>>>>> I've searched my feelings, and I know this to be true!
>>>>> 
>>> *
>>> *
>>>>> Okay. I accept. I'll **do as I promised.** Might be interesting, and
>>>>> educative - for someone, at least.
>>> *
>>> *
>>> [emphasis added for those, who do not want to read the whole post]
>>> 
>>> Any questions?
> 
> Yes.  

Ahhh! Like you I *love* to answer rhetorical questions. ;-)

> If you tell someone you're going to beat them up but 
> they don't take you seriously because they are naive, 
> or they think you're kidding, or they don't understand 
> you because you told them in hints rather than directly, 
> is it ok to beat them up?

Yes, or the police would have to arrest every participant of a boxing, martial 
arts, ... championship.

> Are the existence of laws against beating people up
> negated because you told them in advance?  Or negated
> because they "deserve" the beating?

Yes, or every M.D. would be arrested. You allow him to cut your body and 
therefore it's O.K.

> Does it make any difference if they contribute to
> their own beating, say by showing up at a designated
> place and time?

Yes. In case of a punchfest (is this correct in english, the german word is 
"Massenschlägerei") *every* participant is convicted.

> Does it make any difference if the beating is for 
> their own good?  (In the beater's opinion?)  (In
> the majority opinion?)

Yes. In case the one who confirms the "their own good" is an accredited 
specialist (psychiatrist, judge [yes there is corporal punishment in many, many 
legal systems, established and endorsed by majority opinion], ...)

> I am sorry Mr/Ms. FeedTheTroll for being so dumb.  

I forgive, no problem ;-)
And, if you have to be personal on a public list, I would prefer Mrs.

> I know the answers to all these questions are obvious 
> to everyone else here but I am not sure about them.

Then I hope, I was able to enlighten you. ;-)

btw: Highly offtopic. Therefore I'm out.

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python adds an extra half space when reading from a string or list

2013-07-04 Thread feedthetroll
Am Mittwoch, 3. Juli 2013 19:00:50 UTC+2 schrieb rusi:
> On Wednesday, July 3, 2013 7:42:19 PM UTC+5:30, feedth...@gmx.de wrote:
> > Any questions?
> YES! 
> Who is that hiding behind 'FeedTheTroll' ?

Oh, it's just yattt (yet another troll trolling troll) lurching around to find 
amazing threads (Well, in fact these threads stopped being amazing weeks ago. I 
must be some sort of masochist :-) )

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python adds an extra half space when reading from a string or list

2013-07-03 Thread feedthetroll
Am Mittwoch, 3. Juli 2013 12:00:14 UTC+2 schrieb Νίκος:
> Στις 3/7/2013 12:45 μμ, ο/η Chris Angelico έγραψε:
> >> ] You have betrayed the trust of all your customers.
> ...
> I just received a call form on of my customers asking me to explain your 
> mail ...
> Of course i should have give you the root pass(it was indeed stupid), 
> but you violated my trust.
> You should have been clear that you didnt want to help and not asking me 
> via private mail for the root pass.

May i cite:
Am Dienstag, 4. Juni 2013 19:12:41 UTC+2 schrieb Νικόλαος Κούρας:
> Τη Τρίτη, 4 Ιουνίου 2013 8:09:18 μ.μ. UTC+3, ο χρήστης Chris Angelico έγραψε:
>> On Wed, Jun 5, 2013 at 3:02 AM, Νικόλαος Κούρας 
>> wrote:
>>> I'm willing to let someone with full root access to my webhost to see 
>>> thigns from the inside.
>>> ...
>> You need to read up on what happens when you enter Dummy Mode and give
>> someone full root access to your web host. You really REALLY need to
>> understand what that means before you offer random strangers that kind
>> of access to someone else's data.
>> 
*
*
>> I've half a mind to take you up on your offer, then go look for
>> personal and private info from your clients, and email it to them
>> (along with a link to this thread) to point out what's going on.
*
*
>> ChrisA
> 
> I know what full root access mean.
> I also trust you.
> ...

Am Mittwoch, 5. Juni 2013 00:12:26 UTC+2 schrieb Chris Angelico:
> The call is strong... I could rule the galaxy alongside my father...
> I've searched my feelings, and I know this to be true!
> 
*
*
> Okay. I accept. I'll **do as I promised.** Might be interesting, and
> educative - for someone, at least.
*
*
[emphasis added for those, who do not want to read the whole post]

Any questions?

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: A certainl part of an if() structure never gets executed.

2013-06-12 Thread feedthetroll
Am Mittwoch, 12. Juni 2013 12:07:54 UTC+2 schrieb Andreas Perstinger:
> [Please trim your replies to the relevant parts.]
> On 12.06.2013 10:54, Νικόλαος Κούρας wrote:
> > But when it comes to select '==' from month instead of
> > '==' to be submitted a zero gets submitted and i think the
> > problem is the way i'm filling up months into the drop down menu which is:
> 
> > for i, month in enumerate(months):
> >   print(' %s ' % (i, month) )
> >
> > the if case does not execute because of the way it checks for None entry
> > which is: elif '=' not in year:
> > but if enumerate yields 0 instead of '==' then elif '=' not in
> > year of course fails.
> 
> How often do we need to tell you that you should reread your posts 
> before sending them?
> You start with telling us you have problems with "month" and then show 
> us code regarding "year"
> 
> > So, i must tell:
> >
> > for i, month in enumerate(months):
> >   print(' %s ' % (i, month) )
> >
> > to somehow return '==' instead of 0 but don't know how.
> 
> As with most of your problems you are barking up the wrong tree.
> Why not use the actual value you get from the form to check whether you 
> have a valid month?
> 
> Do you understand why "0" is submitted instead of "=="?
> 
To Nikos:
My I elaborate that for you:
Your form contains:  == 
If you still don't know why you get "0" read:
  http://www.w3schools.com/tags/att_option_value.asp (or something in
  greek about html forms)
(Sorry, I know, you do not read doks, because they describe what the software
DOES and not what you WANT it to DO)

So this is no python problem, it is a html-problem.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python 3.2.3 and my blank page

2013-03-31 Thread feedthetroll
I like to feed trolls :-)

On 31 Mrz., 16:03, Νίκος Γκρ33κ  wrote:
> Hello all,
Hello Ferrous Cranus [3]!

> ...
> I tried MySQLdb, pymysql, oursql, but nothing happens.
> i still get a blank page. I dont know what else to try since i see no error.
Well, the output of your cgi is:

 --> -->
  
   

This is not valid html. Therefore the browser does not render
anything.

>
> can anyone suggest anything?
Learn html [1] and python [2], read your code. Find out, why most of
your html-output does not get into the response. Solve the reasons.
Done.

>
> I can even provide host:port user & pass for someone willing to take a look 
> from the inside.
I'm sure it depends what you are willing to pay.
[Sorry, I forgot. You are looking for someone, who does your work
(which you are payed for because aou are a hoster) for free.]


[1] https://www.google.at/search?q=learn+html+online
[2] https://www.google.at/search?q=learn+python+online
[3] http://redwing.hutman.net/~mreed/warriorshtm/ferouscranus.htm
-- 
http://mail.python.org/mailman/listinfo/python-list