Re: Oh look, another language (ceylon)

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 5:45 PM, Gregory Ewing wrote: > Rick Johnson wrote: >> >> The multiplication operator can ONLY be used on >> numerics. > > > I'm not convinced about that part. I notice that > subtraction, multiplication and division are bundled > into a single interface Numeric, bu

Re: Oh look, another language (ceylon)

2013-11-17 Thread Gregory Ewing
Rick Johnson wrote: The multiplication operator can ONLY be used on numerics. I'm not convinced about that part. I notice that subtraction, multiplication and division are bundled into a single interface Numeric, but there is a separate one called Summable for addition -- apparently so

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Charlton Wilbur
> "BB" == Ben Bacarisse writes: BB> There is a slight air in unreality to all this, This is a far more polite way of putting it than I would. It's an earthquake predictor based on pseudoscience and technobabble. BB> Finally, why are you timing Perl arithmetic? A translation into

Re: sendmail library ?!

2013-11-17 Thread Tim Roberts
Tamer Higazi wrote: > >I am looking for a python library that does mailing directly through >"sendmail". > >When I look into the docs, I see only an "smtlip" library but nothing >that could serve with sendmail or postfix. > >Any ideas ?! Remember that import smtplib s = smtplib.SMTP("localh

Re: Python Beginner

2013-11-17 Thread Terry Reedy
On 11/17/2013 11:02 PM, ngangsia akumbo wrote: Cameroon is a third world country, the IT skills of the people here is far from attaining any legitimacy. Many people are doing business here just like in the days of the Roman empire when computers had not been invented. We have many companies ne

Re: Python Beginner

2013-11-17 Thread ngangsia akumbo
Thank you guys for the replies Cameroon is a third world country, the IT skills of the people here is far from attaining any legitimacy. Many people are doing business here just like in the days of the Roman empire when computers had not been invented. We have many companies needing skills pro

RE: Data structure question

2013-11-17 Thread Joseph L. Casale
> How about two dictionaries, each containing the same tuples for > values? If you create a tuple first, then add it to both dicts, you > won't have any space-wasting duplicates. Thanks guys. -- https://mail.python.org/mailman/listinfo/python-list

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Terry Reedy
On 11/17/2013 5:25 AM, E.D.G. wrote: [snip several paragraphs that have nothing to do with Python] A couple of sentences of follow-up would have been sufficient. 'We decided to go with Fortran and True-Basic and not Python." PERL SPEED COMPARISON Some of the early discussions leading t

Re: Data structure question

2013-11-17 Thread Dave Angel
On Mon, 18 Nov 2013 02:03:38 +, "Joseph L. Casale" wrote: I have a need for a script to hold several tuples with three values, two text strings and a lambda. I need to index the tuple based on either of the two strings. Normally a database would be ideal but for a self-contained script

RE: Data structure question

2013-11-17 Thread Joseph L. Casale
> Not entirely sure I understand you, can you post an example? > > If what you mean is that you need to locate the function (lambda) when > you know its corresponding strings, a dict will suit you just fine. > Either maintain two dicts for the two separate strings (eg if they're > "name" and "loca

Python @ FOSDEM 2014 - Call For Proposals

2013-11-17 Thread Stephane Wirtel
Hi all, This is the official call for sessions for the FOSDEM 2014 [1] Python Devroom. For this edition, Python will be represented by its Community. If you want to discuss with a lot of Python Users, it's the place to be in February ! Like every year, FOSDEM [1] will take place the first week-e

Re: Fire Method by predefined string!

2013-11-17 Thread Mark Lawrence
On 18/11/2013 01:41, Steven D'Aprano wrote: On Sun, 17 Nov 2013 17:20:52 -0500, Roy Smith wrote: In article , Tamer Higazi wrote: I want the param which is a string to be converted, that I can fire directly a method. Is it somehow possible in python, instead of writing if else statements

Re: Data structure question

2013-11-17 Thread Ned Batchelder
On Sunday, November 17, 2013 9:03:38 PM UTC-5, Joseph L. Casale wrote: > I have a need for a script to hold several tuples with three values, two text > strings and a lambda. I need to index the tuple based on either of the two > strings. Normally a database would be ideal but for a self-contained

Re: Data structure question

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 1:03 PM, Joseph L. Casale wrote: > I have a need for a script to hold several tuples with three values, two text > strings and a lambda. I need to index the tuple based on either of the two > strings. Normally a database would be ideal but for a self-contained script > that

Re: Data structure question

2013-11-17 Thread Tim Chase
On 2013-11-18 02:03, Joseph L. Casale wrote: > I have a need for a script to hold several tuples with three > values, two text strings and a lambda. I need to index the tuple > based on either of the two strings. Normally a database would be > ideal but for a self-contained script that's a bit much

Data structure question

2013-11-17 Thread Joseph L. Casale
I have a need for a script to hold several tuples with three values, two text strings and a lambda. I need to index the tuple based on either of the two strings. Normally a database would be ideal but for a self-contained script that's a bit much. Before I re-invent the wheel, are there any built-

Re: Fire Method by predefined string!

2013-11-17 Thread Steven D'Aprano
On Sun, 17 Nov 2013 17:20:52 -0500, Roy Smith wrote: > In article , > Tamer Higazi wrote: >> I want the param which is a string to be converted, that I can fire >> directly a method. Is it somehow possible in python, instead of writing >> if else statements ???! > > I'm not sure why you'd want

Re: When to use assert

2013-11-17 Thread Steven D'Aprano
On Sun, 17 Nov 2013 06:50:56 -0600, Tim Chase wrote: > On 2013-11-17 07:35, Steven D'Aprano wrote: >> py> x = 23 >> py> assert x > 0, "x is not zero or negative" > > This is the worst way to use an assertion: with a misleading message > ;-) D'oh! Sorry about that. -- Steven -- https://m

Re: RapydScript : Python to Javascript translator

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 6:16 AM, Salvatore DI DIO wrote: > Hello, > > If someone is interested about a fast Python to Javascript translator (not a > compiler like Brython which is another beast) > > Here is a link of a RapydScript Tester. > For now it's only for windows. > > Regards > > http://s

Re: Oh look, another language (ceylon)

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 9:33 AM, Gregory Ewing wrote: > Mark Lawrence wrote: > >> As a rule of thumb people don't like change? This obviously assumes that >> language designers are people :) > > > That's probably true (on both counts). > > I guess this means we need to encourage more > Pythoneers

Re: Oh look, another language (ceylon)

2013-11-17 Thread Rick Johnson
On Saturday, November 16, 2013 9:41:07 PM UTC-6, Gregory Ewing wrote: > The type system looks very interesting! Indeed. I went to the site assuming this would be another language that i would never like, however, after a few minutes reading the tour, i could not stop! I read through the entire t

Re: Obtaining "the" name of a function/method

2013-11-17 Thread Cameron Simpson
On 17Nov2013 13:47, Tim Chase wrote: > On 2013-11-17 11:34, Ned Batchelder wrote: > > Functions have a __name__ attribute, which is the name they were > > defined as: > > > > >>> def foo(): pass > > ... > > >>> foo.__name__ > > 'foo' > > >>> bar = foo > > >>> bar.__nam

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Amirouche Boubekki
2013/11/17 Salvatore DI DIO > Are lists comprehensions are featured in Veloce ? > Ah! Good question, I did not think about it can probably add it to Core. Thanks > > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list

Re: Fire Method by predefined string!

2013-11-17 Thread Rick Johnson
On Sunday, November 17, 2013 4:23:11 PM UTC-6, Rick Johnson wrote: > 2. Never start a function or method with a lowercase letter. > Please read PEP8 Urm... let me correct that: 2. Never start a function or method with a UPPERCASE letter. Initial uppercase should be reserved for class names only

Re: Self-defence

2013-11-17 Thread Ferrous Cranus
Τη Κυριακή, 17 Νοεμβρίου 2013 8:00:19 μ.μ. UTC+2, ο χρήστης Petite Abeille έγραψε: > On Nov 17, 2013, at 6:50 PM, Yaşar Arabacı wrote: > > > > > 2013/11/17 Georg Brandl : > > >> Let the barrage of posts continue for a few more days; if he doesn't get > > >> replies he will get fed up eventua

Re: Oh look, another language (ceylon)

2013-11-17 Thread Gregory Ewing
Mark Lawrence wrote: As a rule of thumb people don't like change? This obviously assumes that language designers are people :) That's probably true (on both counts). I guess this means we need to encourage more Pythoneers to become language designers! -- Greg -- https://mail.python.org/mail

If you continue being rude i will continue doing this

2013-11-17 Thread Ferrous Cranus
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 1

I don't care about your threats!

2013-11-17 Thread Ferrous Cranus
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 1

That's for trying to threat me

2013-11-17 Thread Ferrous Cranus
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 1

Next time it would be better to help instead of responding with threats!

2013-11-17 Thread Ferrous Cranus
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 1

Re: Self-defence

2013-11-17 Thread Nikos
Στις 17/11/2013 7:45 μμ, ο/η Johannes Findeisen έγραψε: On Sun, 17 Nov 2013 14:09:44 -0300 Zero Piraeus wrote: Since Nikos is providing downloads to torrent files from Hollywood movies I reported abuse/copyright violation to CloudFlare where he is hosting his site. I made screenshots of that

Re: Fire Method by predefined string!

2013-11-17 Thread Rick Johnson
On Sunday, November 17, 2013 3:46:16 PM UTC-6, Tamer Higazi wrote: > class(object): > def Fire(self,param) > #possible ?! > self.__param(): > def _DoSomething(self): > print 'I did it!' 1. First off your class declaration is not valid -- it needs an identifier! 2.

Re: Fire Method by predefined string!

2013-11-17 Thread Roy Smith
In article , Tamer Higazi wrote: > Hi people! > > Assume we have 2 methods, one called Fire and the other __DoSomething. > > I want the param which is a string to be converted, that I can fire > directly a method. Is it somehow possible in python, instead of writing > if else statements ???! >

Re: Self-defence

2013-11-17 Thread Nikos
Στις 17/11/2013 7:37 μμ, ο/η Zero Piraeus έγραψε: : I'd really rather not, but since this is a public accusation of criminal behaviour: On Sun, Nov 17, 2013 at 07:16:34PM +0200, Nikos wrote: Is this your doing? [18:03:55 secure root@4385109 /lib64]cPs# ls -al |grep libkey lrwxrwxrwx 1 root ro

Re: Fire Method by predefined string!

2013-11-17 Thread Ian Kelly
On Sun, Nov 17, 2013 at 2:46 PM, Tamer Higazi wrote: > Hi people! > > Assume we have 2 methods, one called Fire and the other __DoSomething. > > I want the param which is a string to be converted, that I can fire > directly a method. Is it somehow possible in python, instead of writing > if else s

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Salvatore DI DIO
Are lists comprehensions are featured in Veloce ? -- https://mail.python.org/mailman/listinfo/python-list

Fire Method by predefined string!

2013-11-17 Thread Tamer Higazi
Hi people! Assume we have 2 methods, one called Fire and the other __DoSomething. I want the param which is a string to be converted, that I can fire directly a method. Is it somehow possible in python, instead of writing if else statements ???! Tamer class(object): def Fire(self,param)

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Salvatore DI DIO
Porting Kivy would be really great. Le dimanche 17 novembre 2013 20:17:44 UTC+1, Amirouche Boubekki a écrit : > Héllo Pythonistas from all over the world, > > > > I'm very proud to announce the immediate availability of Pythonium Core > 0.2.5, a Python 3 to Javascript translator (the best) th

Re: numpy masked array puzzle

2013-11-17 Thread Joel Goldstick
On Sun, Nov 17, 2013 at 3:59 PM, Tom P wrote: > I have two numpy arrays, xx and yy - > (Pdb) xx > array([0.7820524520874, masked, masked, 0.3700476837158, >0.7252384185791, 0.6002384185791, 0.6908474121094, >0.7878760223389, 0.6512288818359, 0.111014

numpy masked array puzzle

2013-11-17 Thread Tom P
I have two numpy arrays, xx and yy - (Pdb) xx array([0.7820524520874, masked, masked, 0.3700476837158, 0.7252384185791, 0.6002384185791, 0.6908474121094, 0.7878760223389, 0.6512288818359, 0.1110143051147, masked, 0.716205039978, 0.546038

Re: [ANN] Pythonium Core 0.2.5

2013-11-17 Thread Salvatore DI DIO
Thanks Amirouche, I am now balanced between RapydScript and Pythonium :-) Le dimanche 17 novembre 2013 20:17:44 UTC+1, Amirouche Boubekki a écrit : > Héllo Pythonistas from all over the world, > > > > I'm very proud to announce the immediate availability of Pythonium Core > 0.2.5, a Python 3

Re: Obtaining "the" name of a function/method

2013-11-17 Thread John Ladasky
On Sunday, November 17, 2013 11:34:15 AM UTC-8, Ned Batchelder wrote: > Functions have a __name__ attribute, which is the name they were defined as: Thank you, that's exactly what I needed. -- https://mail.python.org/mailman/listinfo/python-list

Re: Obtaining "the" name of a function/method

2013-11-17 Thread Tim Chase
On 2013-11-17 11:34, Ned Batchelder wrote: > Functions have a __name__ attribute, which is the name they were > defined as: > > >>> def foo(): pass > ... > >>> foo.__name__ > 'foo' > >>> bar = foo > >>> bar.__name__ > 'foo' which they have even in less-than-usefu

Re: How to round trip python and sqlite dates

2013-11-17 Thread Mark Lawrence
On 17/11/2013 02:16, Mark Lawrence wrote: All the references regarding the subject that I can find, e.g. http://stackoverflow.com/questions/1829872/read-datetime-back-from-sqlite-as-a-datetime-in-python, talk about creating a table in memory using the timestamp type from the Python layer. I can'

Re: Obtaining "the" name of a function/method

2013-11-17 Thread Ned Batchelder
On Sunday, November 17, 2013 2:24:19 PM UTC-5, John Ladasky wrote: > Hi, folks, > > Here's a minimal Python 3.3.2 code example, and its output: > > = > > def foo(): > pass > > print(foo) > bar = foo > print(bar) > > ==

Re: Self-defence

2013-11-17 Thread Zero Piraeus
: I'd really rather not, but since this is a public accusation of criminal behaviour: On Sun, Nov 17, 2013 at 07:16:34PM +0200, Nikos wrote: > Is this your doing? > > [18:03:55 secure root@4385109 /lib64]cPs# ls -al |grep libkey > lrwxrwxrwx 1 root root 20 Jun 22 2012 libkeyutils.so.1 -> > libke

RapydScript : Python to Javascript translator

2013-11-17 Thread Salvatore DI DIO
Hello, If someone is interested about a fast Python to Javascript translator (not a compiler like Brython which is another beast) Here is a link of a RapydScript Tester. For now it's only for windows. Regards http://salvatore.pythonanywhere.com/static/Projects/RapydScriptDemo.exe (I can if t

[ANN] Pythonium Core 0.2.5

2013-11-17 Thread Amirouche Boubekki
Héllo Pythonistas from all over the world, I'm very proud to announce the immediate availability of Pythonium Core 0.2.5, a Python 3 to Javascript translator (the best) that generates *fast* *portable* code written in Python. It use Python 3 parser and translates the code to JavaScript code. I

Re: Self-defence

2013-11-17 Thread Joel Goldstick
On Sun, Nov 17, 2013 at 12:45 PM, Johannes Findeisen wrote: > On Sun, 17 Nov 2013 14:09:44 -0300 > Zero Piraeus wrote: > > > > Since Nikos is providing downloads to torrent files from Hollywood > movies I reported abuse/copyright violation to CloudFlare where he is > hosting his site. > > I made

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Rainer Weikusat
Roy Smith writes: > Henry Law wrote: > >> On 17/11/13 14:37, E.D.G. wrote: >> > All of my own important programs are written using Perl. I am starting >> > to run into calculation speed limitations with one of the programs. >> >> Your Perl code is, er, sub-optimal. There is absolutely no poin

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-17 Thread Kevin Walzer
On 11/13/13, 7:46 AM, Alec Taylor wrote: Started to build this on my own; then was like, hang on! - This is probably something very commonly requested… Can you recommend an open source project (or two) written in Python; which covers multi project + sub project issue tracking linked across githu

Re: Self-defence

2013-11-17 Thread Johannes Findeisen
On Sun, 17 Nov 2013 14:09:44 -0300 Zero Piraeus wrote: Since Nikos is providing downloads to torrent files from Hollywood movies I reported abuse/copyright violation to CloudFlare where he is hosting his site. I made screenshots of that site and downloaded all torrent files as evidence. I will

Re: Self-defence

2013-11-17 Thread Petite Abeille
On Nov 17, 2013, at 7:08 PM, Mark Lawrence wrote: >> In the meantime, for coming relieve: http://foaas.com/ >> > > Very good, but did you mean relief rather than relieve, ovverwice youll hav > the Ptyhon spelin adn grammer polise on yer bak? :) comic relief! d’oh! :D -- https://mail.python

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"E.D.G." wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... Some additional research indicates that there is an international scientific organization that should be interested in this particular program translation effort. And tomorrow I plan to contact them and se

Re: Self-defence

2013-11-17 Thread Mark Lawrence
On 17/11/2013 18:00, Petite Abeille wrote: On Nov 17, 2013, at 6:50 PM, Yaşar Arabacı wrote: 2013/11/17 Georg Brandl : Let the barrage of posts continue for a few more days; if he doesn't get replies he will get fed up eventually. My thoughts exactly. In the meantime, for coming relieve:

Re: Self-defence

2013-11-17 Thread Petite Abeille
On Nov 17, 2013, at 6:50 PM, Yaşar Arabacı wrote: > 2013/11/17 Georg Brandl : >> Let the barrage of posts continue for a few more days; if he doesn't get >> replies he will get fed up eventually. > > My thoughts exactly. In the meantime, for coming relieve: http://foaas.com/ -- https://mail.p

Re: Self-defence

2013-11-17 Thread Yaşar Arabacı
2013/11/17 Georg Brandl : > Let the barrage of posts continue for a few more days; if he doesn't get > replies he will get fed up eventually. My thoughts exactly. -- http://ysar.net/ -- https://mail.python.org/mailman/listinfo/python-list

Re: Self-defence

2013-11-17 Thread Georg Brandl
Am 17.11.2013 18:33, schrieb Mark Lawrence: >> This is a last-ditch request, and not one I particularly expect to >> succeed, but I honestly can't stand to watch this happen to python-list >> for very much longer, and am very close to unsubscribing after six years >> as an admittedly not very acti

Re: Self-defence

2013-11-17 Thread Nikos
Στις 17/11/2013 7:33 μμ, ο/η Mark Lawrence έγραψε: I entirely agree with the sentiments expressed above. Would the Python Software Foundation (I assume?) please take whatever steps it can to prevent Nikos posting here? This is justified on the grounds of today's behaviour alone. Add in previo

pip pip pippen

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 1

Re: Self-defence

2013-11-17 Thread Nikos
Στις 17/11/2013 7:17 μμ, ο/η Ned Batchelder έγραψε: On Sunday, November 17, 2013 12:09:44 PM UTC-5, Zero Piraeus wrote: Note: I drafted a version of this post earlier today. I had been waiting to see whether Nikos succeeded in baiting the list into yet another round of unpleasantness before send

Re: Self-defence

2013-11-17 Thread Mark Lawrence
On 17/11/2013 17:09, Zero Piraeus wrote: : Note: I drafted a version of this post earlier today. I had been waiting to see whether Nikos succeeded in baiting the list into yet another round of unpleasantness before sending it, because I didn't want to worsen the situation, but at this point thin

pip pip pip pip pip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Joel Goldstick
On Sun, Nov 17, 2013 at 12:05 PM, Richard Maine wrote: > Roy Smith wrote: > >> In article , >> Tim Prince wrote: >> >> > Perhaps you would start with an automatic indentation tool before >> > translating. You may have a rule against using current syntax and >> > indentation for Fortran, but ot

Re: Self-defence

2013-11-17 Thread Nikos
Στις 17/11/2013 7:21 μμ, ο/η Tim Golden έγραψε: On 17/11/2013 17:09, Zero Piraeus wrote: Note: I drafted a version of this post earlier today. I had been waiting to see whether Nikos succeeded in baiting the list into yet another round of unpleasantness before sending it, because I didn't want t

Re: Self-defence

2013-11-17 Thread Tim Golden
On 17/11/2013 17:09, Zero Piraeus wrote: Note: I drafted a version of this post earlier today. I had been waiting to see whether Nikos succeeded in baiting the list into yet another round of unpleasantness before sending it, because I didn't want to worsen the situation, but at this point things

Re: Self-defence

2013-11-17 Thread Antoine Pitrou
Zero Piraeus etiol.net> writes: > > I don't believe that killfiles are a sufficient response in this > situation. > > I can, of course, stop Nikos' posts reaching me, and without too much > hassle also stop replies to his posts reaching me. He would, however, > continue to pollute the list in pu

Re: Self-defence

2013-11-17 Thread Tim Golden
On 17/11/2013 17:16, Chris “Kwpolska” Warrick wrote: We could report abuse to his server, eternal-september.org[0]. I tried to do this, but they wanted fancy usenetty headers, and I am not equipped to get them. I have reported to that address. It's up to them whether they consider it abuse. (

Re: Self-defence

2013-11-17 Thread Ned Batchelder
On Sunday, November 17, 2013 12:09:44 PM UTC-5, Zero Piraeus wrote: > Note: I drafted a version of this post earlier today. I had been waiting > to see whether Nikos succeeded in baiting the list into yet another > round of unpleasantness before sending it, because I didn't want to > worsen the sit

Re: Self-defence

2013-11-17 Thread Nikos
Στις 17/11/2013 7:09 μμ, ο/η Zero Piraeus έγραψε: : Note: I drafted a version of this post earlier today. I had been waiting to see whether Nikos succeeded in baiting the list into yet another round of unpleasantness before sending it, because I didn't want to worsen the situation, but at this p

Re: Self-defence

2013-11-17 Thread Chris “Kwpolska” Warrick
On Sun, Nov 17, 2013 at 6:09 PM, Zero Piraeus wrote: > : > > Note: I drafted a version of this post earlier today. I had been waiting > to see whether Nikos succeeded in baiting the list into yet another > round of unpleasantness before sending it, because I didn't want to > worsen the situation,

Self-defence

2013-11-17 Thread Zero Piraeus
: Note: I drafted a version of this post earlier today. I had been waiting to see whether Nikos succeeded in baiting the list into yet another round of unpleasantness before sending it, because I didn't want to worsen the situation, but at this point things are completely out of hand, and even wha

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Richard Maine
Roy Smith wrote: > In article , > Tim Prince wrote: > > > Perhaps you would start with an automatic indentation tool before > > translating. You may have a rule against using current syntax and > > indentation for Fortran, but others don't. > > Does anybody still use ratfor? No. Well, I s

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread J�rgen Exner
mecej4 wrote: >On 11/14/2013 8:18 AM, E.D.G. wrote: >> Posted by E.D.G. on November 14, 2013 >> >>In view of the fact that I mentioned the following project in >> both Perl and Python Newsgroup notes and did not get any hostile >> responses [...] Don't flatter yourself. Just to get the r

pip pip pip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16,

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Roy Smith
In article , Tim Prince wrote: > Perhaps you would start with an automatic indentation tool before > translating. You may have a rule against using current syntax and > indentation for Fortran, but others don't. Does anybody still use ratfor? -- https://mail.python.org/mailman/listinfo/pyth

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Tim Prince
On 11/17/2013 8:25 AM, E.D.G. wrote: "Roy Smith" wrote in message news:roy-d4b9a4.10202517112...@news.panix.com... Scientists view computer programs as tools, no different from any other I agree totally. There are many scientists who learn how to write programs to help with their sci

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"Roy Smith" wrote in message news:roy-d4b9a4.10202517112...@news.panix.com... Scientists view computer programs as tools, no different from any other I agree totally. There are many scientists who learn how to write programs to help with their scientific work. I doubt that there are

Re: inconsistency in converting from/to hex

2013-11-17 Thread Serhiy Storchaka
17.11.13 08:31, Steven D'Aprano написав(ла): There's already at least two ways to do it in Python 2: py> import binascii py> binascii.hexlify('Python') '507974686f6e' py> import codecs py> codecs.encode('Python', 'hex') '507974686f6e' Third: >>> import base64 >>> base64.b16encode(b'Python')

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"E.D.G." wrote in message news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com... All of the necessary information regarding this effort has now been obtained. So, further discussions of this particular project will probably take place in only the Fortran Newsgroup. If and when the pro

pip pip pip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16,

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread James Van Buskirk
"E.D.G." wrote in message news:f7mdndyty6yrsrxpnz2dnuvz_owdn...@earthlink.com... > For one thing, the input and output routines need to be changed. > And we want it to be able to generate charts or graphs. The existing > program will generate only text data. You can generate charts and

Re: Sharing Python installation between architectures

2013-11-17 Thread Paul Smith
On Sun, 2013-11-17 at 10:46 -0500, Paul Smith wrote: > Unfortunately, if you set PYTHONHOME then it's used for both $PREFIX and > $EXECPREFIX without any path probing whatsoever, so PYTHONHOME is > unusable with an installation where you've used different values for > --prefix and --exec-prefix dur

pip pip pip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16, i

pip install pygeoip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16, i

Re: Sharing Python installation between architectures

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 2:46 AM, Paul Smith wrote: > However, that configuration doesn't work > for embedded Python (for example, if you embed the Python interpreter in > GDB by linking libpython2.7.a) if you relocate it. > ... > I'm willing to do this and file a bug with a patch if there's any >

pip install pygeoip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16, in

Re: Sharing Python installation between architectures

2013-11-17 Thread Paul Smith
On Sat, 2013-11-16 at 19:28 -0500, Paul Smith wrote: > On Fri, 2013-11-15 at 18:00 -0500, Paul Smith wrote: > > By this I mean, basically, multiple architectures (Linux, Solaris, > > MacOSX, even Windows) sharing the same $prefix/lib/python2.7 directory. > > The large majority of the contents there

pip install pygeoip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16, i

pip install pygeoip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16,

Re: Python3 and its messed up modules which cannot even get installed properly

2013-11-17 Thread Mark Lawrence
On 17/11/2013 15:06, Ned Batchelder wrote: On Sunday, November 17, 2013 9:42:25 AM UTC-5, Mark Lawrence wrote: On 17/11/2013 14:17, Nikos wrote: == root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloadin

pip install pygeoip

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16, i

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Chris Angelico
On Mon, Nov 18, 2013 at 2:20 AM, Roy Smith wrote: > But, for a non-expert, it may be that while L2 is capable of computing a > solution in less time than L1, it takes a lot of expert knowledge to get > the L2 program to that state. For the limited amount of programming > expertise and time availa

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Roy Smith
In article , Henry Law wrote: > On 17/11/13 14:37, E.D.G. wrote: > > All of my own important programs are written using Perl. I am starting > > to run into calculation speed limitations with one of the programs. > > Your Perl code is, er, sub-optimal. There is absolutely no point in > doing

Re: Python3 and its messed up modules which cannot even get installed properly

2013-11-17 Thread Ned Batchelder
On Sunday, November 17, 2013 9:42:25 AM UTC-5, Mark Lawrence wrote: > On 17/11/2013 14:17, Nikos wrote: > > == > > root@secure [~/distribute-0.6.49]# pip install pygeoip > > Downloading/unpacking pygeoip > > Downloading pygeoip-0.3.0.tar.gz (97kB)

HOW WILL INSUCCESSFULYL INSTALLTHE DAMN THING

2013-11-17 Thread Nikos
== root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most recent call last): File "", line 16, i

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread Henry Law
On 17/11/13 14:37, E.D.G. wrote: All of my own important programs are written using Perl. I am starting to run into calculation speed limitations with one of the programs. Your Perl code is, er, sub-optimal. There is absolutely no point in doing benchmarks until you've improved the code. I

Re: Python3 and its messed up modules which cannot even get installed properly

2013-11-17 Thread Mark Lawrence
On 17/11/2013 14:17, Nikos wrote: == root@secure [~/distribute-0.6.49]# pip install pygeoip Downloading/unpacking pygeoip Downloading pygeoip-0.3.0.tar.gz (97kB): 97kB downloaded Running setup.py egg_info for package pygeoip Traceback (most rece

Re: Program Translation - Nov. 14, 2013

2013-11-17 Thread E.D.G.
"Ben Bacarisse" wrote in message news:0.444ab0f1470c9d9a7a89.20131117124526gmt.87li0nqjrt@bsb.me.uk... There is a slight air in unreality to all this, but just in case this is The world of science where programmers work with people who have degrees in the physical sciences can ge

Re: Suggest an open-source issue tracker, with github integration and kanban boards?

2013-11-17 Thread Alec Taylor
Thanks, I have actually been leaning towards Apache Bloodhound (which is built on Trac) On Sun, Nov 17, 2013 at 12:28 PM, Miki Tebeka wrote: >> Can you recommend an open source project (or two) written in Python; >> which covers multi project + sub project issue tracking linked across >> github r

  1   2   >