Re: The Modernization of Emacs: terminology buffer and keybinding

2007-09-29 Thread Frank Goenninger
On 2007-09-29 01:27:04 +0200, Damien Kick <[EMAIL PROTECTED]> said:

> Giorgos Keramidas wrote:
>> On Fri, 22 Jun 2007 23:08:02 -, [EMAIL PROTECTED] wrote:
>>> So much for the "free" in "free software". If you can't actually use
>>> it without paying money, whether for the software or for some book, it
>>> isn't really free, is it?
>> 
>> Please do not confuse the term 'free' in 'free software' with 'gratis'.
>> 
>> 'Gratis', i.e. 'lacking a monetary price tag' is something *very*
>> different from the meaning of 'free' in 'free software'.
> 
> If you were referring to the "free" in "free Mumia Abu Jamal", I would 
> agree with you.  I don't think anyone would imagine that this phrase 
> meant that someone was going to get Mumia Abu Jamal gratis.  Like it or 
> not, "free software" referring to "free as in beer" is probably the 
> most common interpretation of the phrase for a native English speaker. 
> Admittedly, I do not have a "scientific" survey handy.  However, I just 
> asked my wife--who has absolutely no interest in anything related to 
> programming, has never heard of the FSF, Eric Raymond, nor the 
> disagreement between those two camps, nor probably will she ever have 
> an interest--what she thinks I mean when I say "free software".  After 
> getting over the "why are you asking such a stupid question" phase, the 
> first thing that jumped to her mind was "free as in beer".  You can 
> stamp, growl, swagger, spit, curse, and bluster all you want on this 
> point, but millions of English speakers are going to ignore you anyway. 
>   Lucky for most of them, they do not have to suffer the lectures of 
> sociopolitically motivated language mavens trying to "correct" them 
> from the error of mistaking the meaning of a phrase to be the normal 
> meaning of that phrase.

Fully true for non-native English speakers as well. Just did the "wife 
test" also - she is a pure software user - and yes, free is "no money, 
do what you want" and that's it.

I *never* use the term "free" if I don't want to imply "free beer" 
(which is a Good Thing and as such highly valuated - ask any Bavarian). 
Using "free" as by FSF or any other lawyer-style 6 pixel font printed 
phrasing is pure perfidiousness.

Frank

-- 
  Frank Goenninger

  frgo(at)goenninger(dot)net

  "Don't ask me! I haven't been reading comp.lang.lisp long enough to 
really know ..."



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


Re: The Modernization of Emacs: terminology buffer and keybinding

2007-10-02 Thread Frank Goenninger
On 2007-10-01 23:37:28 +0200, Wildemar Wildenburger 
<[EMAIL PROTECTED]> said:

> Frank Goenninger wrote:
>> On 2007-09-29 01:27:04 +0200, Damien Kick <[EMAIL PROTECTED]> said:
>> 
>>> If you were referring to the "free" in "free Mumia Abu Jamal", I would 
>>> agree with you.  I don't think anyone would imagine that this phrase 
>>> meant that someone was going to get Mumia Abu Jamal gratis.  Like it or 
>>> not, "free software" referring to "free as in beer" is probably the 
>>> most common interpretation of the phrase for a native English speaker. 
>>> Admittedly, I do not have a "scientific" survey handy.  However, I just 
>>> asked my wife--who has absolutely no interest in anything related to 
>>> programming, has never heard of the FSF, Eric Raymond, nor the 
>>> disagreement between those two camps, nor probably will she ever have 
>>> an interest--what she thinks I mean when I say "free software".  After 
>>> getting over the "why are you asking such a stupid question" phase, the 
>>> first thing that jumped to her mind was "free as in beer".  You can 
>>> stamp, growl, swagger, spit, curse, and bluster all you want on this 
>>> point, but millions of English speakers are going to ignore you anyway. 
>>>   Lucky for most of them, they do not have to suffer the lectures of 
>>> sociopolitically motivated language mavens trying to "correct" them 
>>> from the error of mistaking the meaning of a phrase to be the normal 
>>> meaning of that phrase.
>> 
>> Fully true for non-native English speakers as well. Just did the "wife 
>> test" also - she is a pure software user - and yes, free is "no money, 
>> do what you want" and that's it.
>> 
>> I *never* use the term "free" if I don't want to imply "free beer" 
>> (which is a Good Thing and as such highly valuated - ask any Bavarian). 
>> Using "free" as by FSF or any other lawyer-style 6 pixel font printed 
>> phrasing is pure perfidiousness.
>> 
> I appearantly missed a lot of that conversation, but what is your 
> point? While I agree that the word "free" implies "free of monetary 
> cost" to many people societies, that is by no means set in stone (talk 
> to native americans, blacks, jews, palestinians, etc. about the word 
> free, see what they have to say).
> 
> But that aside: The word free with respect to the FSF and GPL have a 
> perfectly well defined meaning. People may misunderstand that from not 
> knowing the definition but that doesnt make it any less well defined.
> 
> Again, why this discussion?
> /W

Well, I didn't start the discussion. So you should ask the OP about the 
why. I jumped in when I came across the so often mentioned "hey, it's 
all well defined" statement was brought in. I simply said that if that 
"well-definedness" is against "common understanding" then I don't give 
a damn about that clever definitions. Because I have to know that there 
are such definitions - always also knowing that free is not really 
free. It is such a good subject to discuss over and over and over 
without ever reaching any conclusion or resolution because neither FSF 
nor GNU nor the FREE as in FREE BEER defenders will change their mind. 
So, wasting bandwith is the only real effect ... And hey, it's Usenet, 
so wasting time and bandwith is part of the game.

Again, why this discussion - ah - I don't really know...

;-)

-- 
  Frank Goenninger

  frgo(at)goenninger(dot)net

  "Don't ask me! I haven't been reading comp.lang.lisp long enough to 
really know ..."



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


logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-23 Thread Frank GOENNINGER

Hi all:

Being completely new to Python still (just about a week into it now) I
tried to follow the Python 2.6.5 version documemtation aiming at setting
up a logger as follows:



import logging

global gPIBLogger

class PIBLogger(object):
'''
TODO: classdocs
'''

def __init__(self, logFileName):
'''
Constructor
'''
self.logFileName = logFileName
self.logger = logging.getLogger('PIBLogger')
self.logger.setLevel(logging.DEBUG)
handler = logging.handlers.RotatingFileHandler(self.logFileName, 
   maxBytes=100,
   backupCount=9)
self.logger.addHandler(handler)
gPIBLogger = self.logger
   

def main():
mylogger = PIBLogger('/tmp/pib.log')
gPIBLogger.debug(' Hi ')
   
if __name__ == "__main__":
main()



When trying to execute main() I get:

Traceback (most recent call last):
  File "/.../src/pib/logging.py", line 37, in 
main()
  File "/.../src/pib/logging.py", line 33, in main
mylogger = PIBLogger('/tmp/pib.log')
  File "/...src/pib/logging.py", line 23, in __init__
self.logger = logging.getLogger('PIBLogger')
AttributeError: 'module' object has no attribute 'getLogger'

I double checked and yes, getLogger is there. Why is the interpreter
asking for an "attribute" here ? Any hints on what I am doing wrong ?

TIA!

Regards

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


Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-24 Thread Frank GOENNINGER
Simon Brunning  writes:

> On 23 May 2010 14:46, Frank GOENNINGER  wrote:
>> Traceback (most recent call last):
>>  File "/.../src/pib/logging.py", line 37, in 
>>    main()
>
> Here's a clue - looks like your own module is called logging. That's
> what's getting imported by your import. Try naming your module
> something else, and you should be golden.

Yep. That was it. Thanks !!

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


Re: logging: AttributeError: 'module' object has no attribute 'getLogger'

2010-05-24 Thread Frank GOENNINGER
Philip Semanchuk  writes:

> On May 23, 2010, at 9:46 AM, Frank GOENNINGER wrote:
>>
>> I double checked and yes, getLogger is there. Why is the interpreter
>> asking for an "attribute" here ? Any hints on what I am doing wrong ?
>
>
> Short answer: Change the name of src/pib/logging.py to something else.

Done.

> Long answer: When Python hits the line "import logging", it first
> looks in the current directory and imports logging.py, which in this
> case is the file it's already executing. It never finds the standard
> library's logging module.
>
> One way you could have figured this out would be to add this as the
> first line of main():
>print dir(logging)
>
> That would have told you what Python thought the logging module looked
> like, and would have perhaps recognized it as your own.

Thanks - learned a lot from your post.

>
> Cheers
> Philip

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


Re: A critic of Guido's blog on Python's lambda

2006-05-10 Thread Frank Goenninger DG1SBG
Ken Tilton <[EMAIL PROTECTED]> writes:

> sross wrote:
>>>I do wonder what would happen to Cells if I ever want to support
>>>multiple threads. Or in a parallel processing environment.
>> AFAIK It should be fine.
>> In LW, SBCL and ACL all bindings of dynamic variables are thread-local.
>> 
>
> Ah, I was guilty of making an unspoken segue: the problem is not with
> the *dependent* special variable, but with the sequentially growing
> numeric *datapulse-id* ("the ID") that tells a cell if it needs to
> recompute its value. The ID is not dynamically bound. If threads T1
> and T2 each execute a toplevel, imperative assignment, two threads
> will start propagating change up the same dependency
> graph... 
>
> Might need to specify a "main" thread that gets to play with Cells and
> restrict other threads to intense computations but no Cells?

Hmmm. I am wondering if a Cells Manager class could be the home for
all Cells. Each thread could the have its own Cells Manager...

>
> Actually, I got along quite a while without an ID, I just propagated
> to dependents and ran rules. This led sometimes to a rule running
> twice for one change and transiently taking on a garbage value, when
> the dependency graph of a Cell had two paths back to some changed
> Cell.
>
> Well, Cells have always been reengineered in the face of actual use
> cases, because I am not really smart enough to work these things out
> in the abstract. Or too lazy or something. Probably all three.

Nah. It's me asking again and again those silly questions about 
real Cells usage in some real life apps ;-)

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


Re: John Bokma harassment

2006-05-26 Thread Frank Goenninger DG1SBG
John Bokma <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Bob Felts) wrote:
>
>> Count me among the clueless, then.  I just wrote to DreamHost and asked
>> that they reverse their decision to terminate his account.
>
> I am sure that DreamHost has quite a nice /dev/null for clueless idiots 
> like you and your sock puppets :-D.
>
> -- 
> John   MexIT: http://johnbokma.com/mexit/
>personal page:   http://johnbokma.com/
> Experienced programmer available: http://castleamber.com/
> Happy Customers: http://castleamber.com/testimonials.html

John Bokma not following netiquette. Killfiled. If I can find out how
to report this to the relevant ISP I will do so.

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