On Fri, May 31, 2013 at 3:59 AM, rusi wrote:
> On May 30, 10:28 pm, Chris Angelico wrote:
>> On Fri, May 31, 2013 at 3:12 AM, rusi wrote:
>> > You associate the primal (f)act of thinking about programming with
>> > *doing* the generating.
>> > By contrast th
On Fri, May 31, 2013 at 4:14 AM, Ana Marija Sokovic
wrote:
> Hi,
>
> Can somebody explain to me how would you proceed in releasing the GIL and
> whether you think it will have consequences?
You release the GIL in C-level code when you don't need to work with
Python objects for a while. Simple exa
On Fri, May 31, 2013 at 4:36 AM, Ian Kelly wrote:
> On Wed, May 29, 2013 at 8:49 PM, rusi wrote:
>> On May 30, 6:14 am, Ma Xiaojun wrote:
>>> What interest me is a one liner:
>>> print '\n'.join(['\t'.join(['%d*%d=%d' % (j,i,i*j) for i in
>>> range(1,10)]) for j in range(1,10)])
>>
>> Ha,Ha! The
On Fri, May 31, 2013 at 4:51 AM, Ian Kelly wrote:
> On Thu, May 30, 2013 at 12:44 PM, Chris Angelico wrote:
>> On Fri, May 31, 2013 at 4:36 AM, Ian Kelly wrote:
>>> I don't object to changing the join method (one of the more
>>> shoe-horned string methods) back
On Fri, May 31, 2013 at 5:22 AM, Steven D'Aprano
wrote:
> On Thu, 30 May 2013 16:40:52 +, Steven D'Aprano wrote:
>
>> On Fri, 31 May 2013 01:56:09 +1000, Chris Angelico wrote:
>
>>> You're assuming you can casually hit Ctrl-C to stop an infinite loop,
On Fri, May 31, 2013 at 5:48 AM, inq1ltd wrote:
> python help,
>
> I've tried this code which I got from:
>
> http://www.tutorialspoint.com/python/python_sending_email.htm
>
> I build this file and run it
>
> After running the the file and I get
>
> "Successfully sent email"
>
> My question is why
On Fri, May 31, 2013 at 10:13 AM, Rick Johnson
wrote:
> What if you need to perform operations on a sequence (more than once) in a
> non-linear fashion? What if you need to modify the sequence whilst looping?
> In many cases your simplistic "for loop" will fail miserably.
What has this to do w
On Fri, May 31, 2013 at 3:13 PM, Steven D'Aprano
wrote:
> What makes you think that the commutative law is relevant here?
>
Equality should be commutative. If a == b, then b == a. Also, it's
generally understood that if a == c and b == c, then a == b, though
there are more exceptions to that (esp
On Fri, May 31, 2013 at 3:43 PM, Cameron Simpson wrote:
> On 30May2013 21:54, bhk...@gmail.com wrote:
> | One final question, Is there a way to edit the message once it has been
> posted?
>
> Essentially, no. If there's some error in a post, reply to it
> yourself with a correction. Transparency
On Sat, Jun 1, 2013 at 12:02 AM, Alister wrote:
> /etc is used to store configuration files for the operating system & if
> you inadvertently corrupt the wrong one then you could kill the system.
Expanding on this:
http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
The FHS applies to Li
On Sat, Jun 1, 2013 at 1:43 AM, Ian Kelly wrote:
> On Thu, May 30, 2013 at 1:38 PM, MRAB wrote:
>> And additional argument (pun not intended) for putting sep second is
>> that you can give it a default value:
>>
>>def join(iterable, sep=""): return sep.join(iterable)
>
> One argument against
On Sat, Jun 1, 2013 at 9:30 AM, Νικόλαος Κούρας wrote:
> Still i feel my system is a bit messed p and i just want to leave the
> 2.6 installed and remove all the rest python and then yum install
> the_latest_one.
It's not half as messed up as... uhh, scratch that. It's not half as
messed up as th
On Sat, Jun 1, 2013 at 8:50 AM, David wrote:
> On 01/06/2013, Νικόλαος Κούρας wrote:
>>
>> root@nikos [/]# ls -l /usr/bin/python*
>> -rwxr-xr-x 3 root root 4864 Feb 22 02:00 /usr/bin/python*
>> lrwxrwxrwx 1 root root6 Apr 5 20:34 /usr/bin/python2 -> python*
>> -rwxr-xr-x 3 root root 4864 Feb
On Sat, Jun 1, 2013 at 10:08 AM, Νικόλαος Κούρας wrote:
> Τη Σάββατο, 1 Ιουνίου 2013 2:55:38 π.μ. UTC+3, ο χρήστης Ian έγραψε:
> > [ snip lots of double-spaced quoted text ]
>
> Do you think that i should have my VPS copmany to install ubuntu for me and
> use apt-get install python3 ?
>
> I think
On Sat, Jun 1, 2013 at 10:18 AM, David wrote:
> On 01/06/2013, Chris Angelico wrote:
>> On Sat, Jun 1, 2013 at 8:50 AM, David wrote:
>>>
>>> Apart from the bizarre trailing '*' characters which for which I have
>>> no sane explanation...
>>
On Sat, Jun 1, 2013 at 3:30 PM, Νικόλαος Κούρας wrote:
> I have asked this in alt.apache.configuration but received no response at all
You posted it FIFTEEN HOURS AGO on a low-traffic forum.
Sheesh! Learn a little patience.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Sat, Jun 1, 2013 at 3:35 PM, Νικόλαος Κούρας wrote:
> Can you please tell me HOW TO GET RID OF ALL PYTHON SETUPS except 2.6 that is
> needed for system core and then just install 3.3.2?
Nuke the hard drive from orbit. It's the only way to be sure.
> also why cant i install 3.3.2 using yum.
On Sat, Jun 1, 2013 at 5:51 PM, Νικόλαος Κούρας wrote:
> Τη Σάββατο, 1 Ιουνίου 2013 9:18:26 π.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>
>> That would require that the repo have a 3.3.2 build in it. I don't
>> know the Red Hat / CentOS policies there, but I know
On Sat, Jun 1, 2013 at 5:49 PM, Νικόλαος Κούρας wrote:
> Τη Σάββατο, 1 Ιουνίου 2013 8:38:17 π.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>
>> You posted it FIFTEEN HOURS AGO on a low-traffic forum.
>> Sheesh! Learn a little patience.
>
> I think this is enough time f
On Sun, Jun 2, 2013 at 4:18 AM, Wolfgang Keller wrote:
>> > A GUI that can not be used without taking the ten fingers off the
>> > keyboard is indeed entirely unusable for any half-proficient
>> > screenworker. And anyone doing actual productive screenwork every
>> > day for more than just a few m
On Sun, Jun 2, 2013 at 2:36 PM, Cameron Simpson wrote:
> This is not a recommendation one way or another re CentOS versus
> Ubunutu; it is a recommendation not to change without a better reason.
Agreed. I happen to like Debian-family Linuxes, having spent most of
my Linux time on either Ubuntu or
On Mon, Jun 3, 2013 at 1:04 AM, Νικόλαος Κούρας wrote:
> Τη Κυριακή, 2 Ιουνίου 2013 5:51:31 μ.μ. UTC+3, ο χρήστης Mark Lawrence έγραψε:
>
>> You've obviously arrived very late at the party.
>
> Apart from the "funny" commenting, can you for once contribute towards to an
> actual solution or this
On Mon, Jun 3, 2013 at 2:21 AM, Νικόλαος Κούρας wrote:
> Paying for someone to just remove a dash to get the script working is too
> much to ask for
One dash: 1c
Knowing where to remove it: $99.99
Total bill: $100.00
Knowing that it ought really to be "utf8mb4" and giving hints that the
docs sh
On Mon, Jun 3, 2013 at 2:44 AM, Νικόλαος Κούρας wrote:
> Τη Κυριακή, 2 Ιουνίου 2013 7:31:25 μ.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>> On Mon, Jun 3, 2013 at 2:21 AM, Νικόλαος Κούρας
>> wrote:
>>
>> > Paying for someone to just remove a dash to get the
On Mon, Jun 3, 2013 at 3:04 AM, Rick Johnson
wrote:
> * Woefully inadequate because: Switching on or off the debug
>messages is only valid in the current module that the
>function was imported. What if you want to kill all
>debugprint messages EVERYWHERE? Do you really want to edit
>
On Mon, Jun 3, 2013 at 3:12 AM, Νικόλαος Κούρας wrote:
> Τη Κυριακή, 2 Ιουνίου 2013 8:05:32 μ.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>
>> A programmer chooses his own clients, and you are the Atherton Wing to
>> my Inara Serra.
>
> You might want to explain
On Mon, Jun 3, 2013 at 3:30 AM, Andrew Berg wrote:
> I don't think you go far enough. Obviously we need way more flexibility. A
> simple on/off is okay for some things, but a finer granularity
> would be really helpful because some things are more important than others.
> And why stop at stdout/
On Mon, Jun 3, 2013 at 5:25 AM, Mok-Kong Shen wrote:
> b'7' is the byte with the character 7 in a certain code, so that's
> ok. In other PLs one assigns an int to a byte, with that int in either
> decimal notation or hexadecimal notation, or else one assigns a
> character to it, in which case it g
On Mon, Jun 3, 2013 at 4:09 AM, Rick Johnson
wrote:
> On Jun 2, 12:20 pm, Chris Angelico wrote:
>> On Mon, Jun 3, 2013 at 3:04 AM, Rick Johnson
>> > * Woefully inadequate because: Switching on or off the debug
>> >messages is only valid in the current module th
On Mon, Jun 3, 2013 at 4:58 AM, Steven D'Aprano
wrote:
>> I've found that many subtle bugs are caused by not limiting the inputs
>> to sane values (or types). And with Python's duct typing
>
> Nothing worse than having pythons roaming through your ducts, eating your
> ducks.
Steven, you misunders
On Mon, Jun 3, 2013 at 5:51 AM, wrote:
> Now, is anyone willing to help me on this please?
> I also accept hints on how to solve this!
Hints I can do. Here, I've set up a scavenger hunt for you. You'll go
to a number of web sites that I nominate, type in keywords, and hit
enter.
The first web s
On Mon, Jun 3, 2013 at 10:16 AM, Jason Swails wrote:
> Copy-and-pasting your timeit experiment on my machine yields different
> timings (Python 2.7):
>
import sys
timeit.timeit('debugprint("asdf")','def debugprint(*args):\n\tif not
DEBUG: return\n\tsys.stdout.write(*args)\nDEBUG=Fal
On Mon, Jun 3, 2013 at 11:52 AM, Dan Sommers wrote:
> On Sun, 02 Jun 2013 18:12:33 -0700, Fdama wrote:
>
>> I combined the int conversion and the input on the same line, rather
>> than to have two different statements. But got an error message:
>
>> Traceback (most recent call last):
>> File "C:
On Mon, Jun 3, 2013 at 9:57 AM, Erik Max Francis wrote:
> On 05/29/2013 08:05 AM, Chris Angelico wrote:
>>
>> It's not a bad tool. I used it as a sort of PHP preprocessor, because
>> requirements at work had me wanting to have a source file defining a
>> PHP c
On Mon, Jun 3, 2013 at 12:30 PM, alex23 wrote:
> On Jun 1, 10:24 am, Chris Angelico wrote:
>> Hmm. What other MUD commands have obvious Unix equivalents?
>>
>> say --> echo
>> emote --> python -c
>> attack --> sudo rm -f
>
> who --> who
> te
On Mon, Jun 3, 2013 at 9:10 AM, Tim Delaney wrote:
>> A programmer chooses his own clients, and you are the Atherton Wing to
>> my Inara Serra.
>
>
> I've just been watching this train wreck (so glad I didn't get involved at
> the start) but I have to say - that's brilliant Chris. Thank you for
>
On Mon, Jun 3, 2013 at 2:34 PM, Dan Sommers wrote:
> On Mon, 03 Jun 2013 13:37:27 +1000, Tim Delaney wrote:
>
>> With the increase in use of higher-level languages, these days
>> Heisenbugs most often appear with multithreaded code that doesn't
>> properly protect critical sections, but as you say
On Mon, Jun 3, 2013 at 3:49 PM, Michael Torrie wrote:
> On 06/02/2013 12:18 PM, Rick Johnson wrote:
>> On Sunday, June 2, 2013 12:49:02 PM UTC-5, Dan Sommers wrote:
>>> On Mon, 03 Jun 2013 03:20:52 +1000, Chris Angelico wrote:
>>>> On Mon, Jun 3, 2013 at 3:04 AM, Ric
On Mon, Jun 3, 2013 at 4:46 PM, Steven D'Aprano
wrote:
> Then, when
> you try to read the file names in UTF-8, you hit an illegal byte, half of
> a surrogate pair perhaps, and everything blows up.
Minor quibble: Surrogates are an artifact of UTF-16, so they're 16-bit
values like 0xD808 or 0xDF45.
On Mon, Jun 3, 2013 at 7:00 PM, Mark Lawrence wrote:
> On 03/06/2013 07:11, Νικόλαος Κούρας wrote:
>>
>> Thankls Michael,
>>
>> are these two behave the same in your opinion?
>>
>> sys.stdout = os.fdopen(1, 'w', encoding='utf-8')
>>
>> which is what i have now
>> opposed to this one
>>
>> import o
On Tue, Jun 4, 2013 at 6:31 AM, Steven D'Aprano
wrote:
> ... quite frankly I have no sympathy for
> the view that CPU cycles are so precious that we mustn't waste them. If
> that were the case, Python is the wrong language.
CPU cycles *are* valuable still, though. The efficiency of your code
dete
On Tue, Jun 4, 2013 at 8:37 AM, Carlos Nepomuceno
wrote:
>
>> From: na...@animats.com
>> Subject: Re: [RELEASED] Python 2.7.5
>> Date: Mon, 3 Jun 2013 12:20:43 -0700
> [...]
>> 3.x is a different language, with different libraries, and lots of
>> things tha
On Tue, Jun 4, 2013 at 11:37 AM, Rick Johnson
wrote:
> The print function is the very definition of a "syntactic sugar".
>
> For example:
> print("some sting")
>
> is much more readable than:
>
> sys.stdout.write("some string"+"\n")
> ...
> Again, the removal of a print function (or print
On Tue, Jun 4, 2013 at 4:28 PM, wrote:
> Τη Τρίτη, 4 Ιουνίου 2013 1:46:53 π.μ. UTC+3, ο χρήστης Steven D'Aprano έγραψε:
>
>> Not so -- it actually shows correctly, provided you use the right
>> encoding. Tell your browser to view the page as UTF-8, and the file name
>> is displayed correctly.
>
>
On Tue, Jun 4, 2013 at 2:45 PM, Michael Torrie wrote:
> On 06/03/2013 05:33 PM, Carlos Nepomuceno wrote:
>> I did a httpd 'make install' on CentOS 6 and it worked fine. Needed a
>> few tweaks that I don't remember though.
>>
>> If you don't have any previous experience with Apache httpd settings
>
On Tue, Jun 4, 2013 at 5:57 PM, John Ladasky wrote:
> On Tuesday, June 4, 2013 12:45:38 AM UTC-7, Anssi Saari wrote:
>
>> BTW, did I get the logic correctly, the end result is random?
>
> You're right! I'm guessing that's not what the OP wants?
I'm guessing that's exactly what the OP wants. This
On Tue, Jun 4, 2013 at 10:57 PM, Νικόλαος Κούρας wrote:
> root@nikos [~]# nano /usr/local/apache/conf/httpd.conf
>
> and altering user nobody to user root.
>
> root@nikos [~]# service httpd restart
> [Tue Jun 04 15:56:42 2013] [warn] module rpaf_module is already loaded,
> skipping
> Syntax error
On Tue, Jun 4, 2013 at 11:17 PM, Νικόλαος Κούρας wrote:
> I DONT KNOW WHAT ELSE TO TRY PLEASE HELP ILL TRY ANYTHING YOU SAY.
You should try power surging your drivers. Have you got a spare power cord?
ChrisA
[1] http://www.oocities.org/timessquare/4753/bofh.htm
--
http://mail.python.org/mailma
On Wed, Jun 5, 2013 at 1:06 AM, Chris “Kwpolska” Warrick
wrote:
>> [1] http://www.oocities.org/timessquare/4753/bofh.htm
>> --
>> http://mail.python.org/mailman/listinfo/python-list
>
> Please link and read at the BOFH’s page. [0] is the page and [1] is
> this exact story.
>
> [0]: http://bofh.nt
On Wed, Jun 5, 2013 at 1:44 AM, Rick Johnson
wrote:
> But we are really ignoring the elephant in the room. Implict
> conversion to Boolean is just a drop in the bucket compared
> to the constant "shell game" we are subjected to when
> reading source code. We so naively believe that a symbol
> name
On Wed, Jun 5, 2013 at 2:19 AM, Rick Johnson
wrote:
> On Jun 4, 11:00 am, Chris Angelico wrote:
>> You know, if you want a language with strict type declarations and
>> extreme run-time efficiency, there are some around.
>
> I don't like declaring types everywhere
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.
>
> Does someone want to take o allok or at elast tell me what else i need to
> try, that hasn't been tried out yet?
You need to read up on wh
On Wed, Jun 5, 2013 at 5:51 AM, Joshua Landau
wrote:
> On 4 June 2013 14:39, Grant Edwards wrote:
>> On 2013-06-03, Dan Stromberg wrote:
>>> Today though, it would be difficult to sell a conventional (Von Neumann)
>>> computer that didn't have 8 bit bytes.
>>
>> There are tons (as in millions of
On Wed, Jun 5, 2013 at 6:03 AM, Νικόλαος Κούρας wrote:
>>UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc5' in position
>>>61: surrogates not allowed
>
> This indicates that i'am reading the filenames in a different encoding than
> what they actually are? What is i try to use byte
On Wed, Jun 5, 2013 at 3:12 AM, Νικόλαος Κούρας wrote:
> I know what full root access mean.
> I also trust you.
> I'm hopeless man, its 1 week now dealing with this.
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.
On Wed, Jun 5, 2013 at 1:28 PM, Νικόλαος Κούρας wrote:
>
> YOU of all people should not speak at all, because you haven't helped me a
> bit.
> Its funny, how knowledge people that in facte tried to help me treat me with
> respect while people like you who have never been of any help tend to just
On Wed, Jun 5, 2013 at 2:59 PM, alex23 wrote:
> On Jun 5, 2:40 pm, Νικόλαος Κούρας wrote:
>> Of course '/home/nikos/public_html/cgi-bin' = '/home/nikos/www/cgi-bin'
>> What this has to do with what i asked?
>
> You display an error of "No such file or directory" and you wonder why
> I'm trying to
On Wed, Jun 5, 2013 at 4:11 PM, Russ P. wrote:
> On Tuesday, June 4, 2013 8:44:11 AM UTC-7, Rick Johnson wrote:
>
>> Yes, but the problem is not "my approach", rather the lack
>>
>> of proper language design (my apologizes to the "anointed
>>
>> one". ;-)
>
> If you don't like implicit conversion
On Wed, Jun 5, 2013 at 1:55 PM, Νικόλαος Κούρας wrote:
> Good Day Chris, thanks for accepting.
>
> Please mail me and i will send you the root login credentials.
Well, I wasn't sure whether this would actually happen or not, but it did.
I made it fairly clear to him in multiple posts that I was
On Wed, Jun 5, 2013 at 6:26 PM, Νικόλαος Κούρας wrote:
>
> I gave you out of my good and trustworthy heart my root password so for you
> to look upon my systrem configuration and all you did was trying to fuck me
> by sending mails to my clients?
That would be "trusting", not "trustworthy", and
On Wed, Jun 5, 2013 at 6:53 PM, Νικόλαος Κούρας wrote:
> So, iam to blame this for trusting you?
Your clients trust you to not compromise their security. You
compromised their security by giving the root password to a stranger.
> YOU COULD HAVE ACTUALLY TRIED TO SEE WHATS WRONG WITH 'FILES.PY' I
On Wed, Jun 5, 2013 at 7:04 PM, Heiko Wundram wrote:
> Seeing how riled up you get about this, what Chris did is for the better. At
> least it seems that you won't be able to change your root password back,
> either, and as such you won't have root access anymore to your system for
> the time bein
On Wed, Jun 5, 2013 at 7:14 PM, Νικόλαος Κούρας wrote:
> NEXT THIS YOU'RE GONNA TELL ME IS TO BE HAPPY THAT YOU DIDN'T WIPE THE WHOLE
> SYSTEM OUT BY 'RM -RF /'
Yes. Actually, yes. Do you understand now what you have done by giving
your password to multiple people? This is *completely* different
On Wed, Jun 5, 2013 at 7:19 PM, Νικόλαος Κούρας wrote:
> I'am a perosn that eaisly trust other people to have ethics, especially
> python programmers who knows how difficult its to debug a script and have it
> working.
> Some people can be trusted, and actually try to help.
> Some dont.
> Chris
On Wed, Jun 5, 2013 at 7:32 PM, Νικόλαος Κούρας wrote:
> iI got back root access and i
>
> 'rm -y /home/user/public_html/Hello_from_ROSUAV'
> so to delete your deface. Thank God you just placed that text file there and
> did not deface frontpages.
Indeed. That's one of the few truly accurate sta
On Wed, Jun 5, 2013 at 7:37 PM, Νικόλαος Κούρας wrote:
> TheRE is this saying that applis to you:
> A THIEF BELEIVES EVERYBODY STEALS.
>
> You do not trust people because you think all of them are likely to screw
> you, when its the other way around.
You really need to do a basic course in inter
On Wed, Jun 5, 2013 at 7:52 PM, alex23 wrote:
> On Jun 5, 7:48 pm, Chris Angelico wrote:
>> No wonder the economy of Greece is in trouble.
>
> This isn't addressed just to Chris, as this isn't the first time the
> joke has been made, but could we not? There's a
On Wed, Jun 5, 2013 at 9:07 PM, Νικόλαος Κούρας wrote:
> I will understand by his attitude in general if he is likely to help me or
> not.
How much of my attitude did you read before you decided I would trust
you? Posts like this:
http://mail.python.org/pipermail/python-list/2013-June/648428.ht
On Wed, Jun 5, 2013 at 9:19 PM, Νικόλαος Κούρας wrote:
> Τη Τετάρτη, 5 Ιουνίου 2013 2:14:34 μ.μ. UTC+3, ο χρήστης Heiko Wundram έγραψε:
>> Am 05.06.2013 13:07, schrieb οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½ οΏ½οΏ½οΏ½οΏ½οΏ½οΏ½:
>>
>> >Btw, since history doesnt show me his history comamnds when he logged in
>> >f
On Thu, Jun 6, 2013 at 12:46 AM, Serhiy Storchaka wrote:
> 05.06.13 11:09, Chris Angelico написав(ла):
>>
>> Oh, and I changed the root password, since the current one was sent in
>> clear text across the internet. Nikos, the new password has been
>> stored in /ho
On Thu, Jun 6, 2013 at 2:15 AM, Russ P. wrote:
> On Wednesday, June 5, 2013 1:59:01 AM UTC-7, Mark Lawrence wrote:
>> I want to launch this rocket with an expensive satellite on top. I know
>>
>> it's safe as the code is written in ADA. Whoops :(
>
>
> So Python would have been a better choice?
On Thu, Jun 6, 2013 at 3:05 AM, Νικόλαος Κούρας wrote:
> I grant shell access to very new account i create but some of my customers
> dont evn know the existance of linux, and the other that do, have no idea of
> what a shell access is. But i grant them the ability just in cae for future
> usag
On Thu, Jun 6, 2013 at 3:02 AM, Νικόλαος Κούρας wrote:
> Τη Τετάρτη, 5 Ιουνίου 2013 7:33:50 μ.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>> In fact, I didn't even bother fiddling with syslog. All I did was
>> .bash_history. Of course, I wasn't worried about you get
On Thu, Jun 6, 2013 at 3:29 AM, Νικόλαος Κούρας wrote:
> Now about what you did to me. I wanted to tell you that I (and I am sure
> there are other people too) don't agree with what you did. I think it was
> pretty rotten -- you told me it was a bad idea to give out the root password
> and that
On Thu, Jun 6, 2013 at 2:17 AM, DRJ Reddy wrote:
>
>> Do you have other magazines? Which ones? How are you going to supply
>> contents?
>
> We don't have other magazines. I was referring to old python magazines which
> terminated now. Portable documents(PDF , EPUB or MOBI) for now is being
> pl
On Thu, Jun 6, 2013 at 1:14 AM, iMath wrote:
> 在 2012年12月24日星期一UTC+8上午8时34分47秒,iMath写道:
>> how to detect the character encoding in a web page ?
>>
>> such as this page
>>
>>
>>
>> http://python.org/
>
> by the way ,we cannot get character encoding programmatically from the mate
> data without k
On Thu, Jun 6, 2013 at 4:08 AM, Νικόλαος Κούρας wrote:
> Anyway, i should'n have given root access to you, i was a bit worried doing
> so, but i was also under stress of also correcting this damn encoding issue
> and i wanted to think you would be the one that finally help solving it.
>
> You sh
On Thu, Jun 6, 2013 at 4:22 AM, Νικόλαος Κούρας wrote:
> Τη Τετάρτη, 5 Ιουνίου 2013 9:16:56 μ.μ. UTC+3, ο χρήστης Chris Angelico
> έγραψε:
>
>>Do you contact strangers to ask them to feed your cat? Or do you talk to a
>>>trusted friend?
>
> Well i dont consider y
On Thu, Jun 6, 2013 at 4:34 AM, Νικόλαος Κούρας wrote:
> Here is the mails you sent to my customers for the other members to see.
Yep, containing nothing I haven't said on-list.
> Thanks for screwing me up entirely and made me look what you made me look for
> all i did was to trust you.
Making
On Thu, Jun 6, 2013 at 4:55 AM, rusi wrote:
> If you obdurately, obstinately, insistently, incessantly behave like
> an asshole, you leave no-one the choice but to treat you like an
> asshole.
This is Python. We duck-type people.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jun 6, 2013 at 4:58 AM, Νικόλαος Κούρας wrote:
> Well, if he had ethics he would have told me that his intentiosn were to
> screw my business and also he could actually tried to help me out.
I did. :)
> I'am not incompetentm i;m a beginner and i learn along the way, also i ahve a
> hos
On Thu, Jun 6, 2013 at 5:54 AM, Νικόλαος Κούρας wrote:
> print( cookie, "Content-type: text/html; charset=utf-8\n", message )
>
Do you know what this does?
Try it at the console. See what it outputs.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jun 6, 2013 at 5:59 AM, Armando Montes De Oca
wrote:
> Well I am replying to To whom it may concern at this point I am a bit lost. I
> posted all my code. I am not taking classes on this nor do I have a book I
> followed a guy on You Tube. I am a student but I heard Python is a good
> l
On Thu, Jun 6, 2013 at 6:56 AM, wrote:
> On Wednesday, June 5, 2013 1:54:45 PM UTC-6, Νικόλαος Κούρας wrote:
>>...
>> print( cookie, "Content-type: text/html; charset=utf-8\n", message )
>>...
>
> If you look in the Apache error log file, you will see something like,
>
> [Wed Jun 05 16:39:14 20
On Thu, Jun 6, 2013 at 7:18 AM, wrote:
> On Wednesday, June 5, 2013 3:03:29 PM UTC-6, Chris Angelico wrote:
>> On Thu, Jun 6, 2013 at 6:56 AM, wrote:
>> > On Wednesday, June 5, 2013 1:54:45 PM UTC-6, Νικόλαος Κούρας wrote:
>> >>...
>> >> print( cookie,
On Thu, Jun 6, 2013 at 8:36 AM, wrote:
>> And it's really easy to try things out interactively to see what
>> they'll do...
>
> Sure, once one makes the connection between "Server Error" and missing "\n"
> which is where Νικόλαος was stuck I'm guessing.
I know that's a bit of a jump. That's why,
On Thu, Jun 6, 2013 at 11:37 AM, Steven D'Aprano
wrote:
> What prevents bugs is the skill of the people writing the code, not the
> compiler.
+1 QOTW.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jun 6, 2013 at 11:56 AM, Steven D'Aprano
wrote:
> On Wed, 05 Jun 2013 14:59:31 -0700, Russ P. wrote:
>> As for Python, my experience with it is that, as
>> your application grows, you start getting confused about what the
>> argument types are or are supposed to be.
>
> Whereas people neve
On Thu, Jun 6, 2013 at 3:54 PM, jmfauth wrote:
> ("filesystems are just bytes",
> yeah, whatever...).
Sure. You tell me what a proper Unicode rendition of an animated GIF is.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Jun 6, 2013 at 4:22 PM, Nobody wrote:
> On Thu, 06 Jun 2013 03:55:11 +1000, Chris Angelico wrote:
>
>> The HTTP header is completely out of band. This is the best way to
>> transmit encoding information. Otherwise, you assume 7-bit ASCII and start
>> parsing. Once
On Thu, Jun 6, 2013 at 7:29 PM, Steven D'Aprano
wrote:
> Whatever benefit there is in declaring the type of a function is lost due
> to the inability to duck-type or program to an interface. There's no type
> that says "any object with a 'next' method", for example. And having to
> declare local v
On Fri, Jun 7, 2013 at 12:09 AM, rusi wrote:
> When we switched from to python (via Scheme and a haskell-
> predecessor), I dont remember ever getting a segmentation fault.
Oh, it's easy to segfault Python.
import sys
sys.setrecursionlimit(9)
def foo(): foo()
foo()
:)
ChrisA
--
http:
On Thu, Jun 6, 2013 at 10:14 PM, Dave Angel wrote:
> If you're planning on having the files densely populated (meaning no gaps in
> the numbering), then you could use a binary search to find the last one.
> Standard algorithm would converge with 10 existence checks if you have a
> limit of 1000 fi
On Fri, Jun 7, 2013 at 1:36 AM, rusi wrote:
> On Jun 6, 8:26 pm, Chris Angelico wrote:
>> On Fri, Jun 7, 2013 at 12:09 AM, rusi wrote:
>> > When we switched from to python (via Scheme and a haskell-
>> > predecessor), I dont remember ever getting a segmentation fa
On Fri, Jun 7, 2013 at 1:35 AM, Robert Kern wrote:
> On 2013-06-06 10:45, Chris Angelico wrote:
>
>> For the "accept any object that has a next() method" sorts of rules, I
>> don't know of any really viable system that does that usefully. The
>> concept o
On Fri, Jun 7, 2013 at 1:54 AM, MRAB wrote:
> On 06/06/2013 16:37, Chris Angelico wrote:
>>
>> On Thu, Jun 6, 2013 at 10:14 PM, Dave Angel wrote:
>>>
>>> If you're planning on having the files densely populated (meaning no gaps
>>> in
>>&g
On Fri, Jun 7, 2013 at 1:49 AM, Rick Johnson
wrote:
> On Wednesday, June 5, 2013 11:59:07 AM UTC-5, Chris Angelico wrote:
>
>> Frankly, I don't think the language much matters. It's all
>> down to the skill of the programmers and testers. Ada
>> wasn't the
On Fri, Jun 7, 2013 at 2:49 AM, Rick Johnson
wrote:
> On Wednesday, June 5, 2013 2:15:57 AM UTC-5, Chris Angelico wrote:
>> [...]
>> I cannot name a single modern programming language that does NOT have
>> some kind of implicit boolification.
>
> Congrats: Again
On Fri, Jun 7, 2013 at 4:35 PM, wrote:
> Yes, but but 'putty' seems to always forget when i tell it to use utf8 for
> displaying and always picks up the Win8's default charset and it doesnt have
> a save options dialog. I cant always remember to switch to utf8 charset or
> renaming all the tim
On Fri, Jun 7, 2013 at 5:08 PM, Νικόλαος Κούρας wrote:
> I'll google Traal right now.
The one thing you're actually willing to go research, and it's
actually something that won't help you. Traal is the name of my
personal laptop. Spend your Googletrons on something else. :)
ChrisA
--
http://mai
201 - 300 of 14669 matches
Mail list logo