Re: logo design

2006-12-05 Thread Ken Tilton
Xah Lee wrote: > Logo LISP > > Xah Lee, 2006-12 > > Ken Tilton wrote: > > «Small problem. You forget that Ron Garret wants us to change the > name of Common Lisp as the sure-fire way to make it more popular (well, > hang on, he says it is necessary, not suff

Re: merits of Lisp vs Python

2006-12-08 Thread Ken Tilton
Mark Tarver wrote: > How do you compare Python to Lisp? Lisp programmers are smarter and better looking. And better programmers. Not sure if that is what you were after, though. > What specific advantages do you > think that one has over the other? http://www.googlefight.com/index.php?lang=e

Re: merits of Lisp vs Python

2006-12-08 Thread Ken Tilton
next question has to be, how often does that come up? When refactoring it sometimes feels like I do nothing else. :) It turns out that this is an insanely natural way to work with code. Note also that after any amount of dicing I simply hit a magic key combo and the editor reindents everything

Re: merits of Lisp vs Python

2006-12-08 Thread Ken Tilton
ad years of development, it has had millions of > dollars thrown at it by VC firms -- and yet Python is winning over Lisp > programmers. Think about it. Haha, what's the score? And how much time is left in the first quarter? :) ken -- Algebra: http://www.tilton-technology.com/LispNycAl

Re: merits of Lisp vs Python

2006-12-08 Thread Ken Tilton
s ass for it at Laguna Seca: http://www.googlefight.com/index.php?lang=en_GB&word1=lamborghini&word2=ford Come on, COBOL is a great language, even has macros (copy ... replacing) and the worlds greatest case statement, evaluate. We are proud to be its neightbor. ken -- Algebra: h

Re: merits of Lisp vs Python

2006-12-08 Thread Ken Tilton
ogrammer if they had it in them. You might have the right language for you because what Python does have is lotsa libraries, and if you are just hacking scripts to glue together libraries the expressiveness of Lisp is more than offset by the better library support in Python. ken -- Algebra: http://w

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
actly tempting. So... is GvR being scared off by a straw man? The other possibility is that he is just trying to justify not doing it because it would be so hard without the regular syntax of Lisp, including parens, and with the JIT module resolution problem discussed earlier in his remarks. Unde

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Steven D'Aprano wrote: > On Fri, 08 Dec 2006 14:52:33 -0500, Ken Tilton wrote: > > >> >>Aahz wrote: >> >>>In article <[EMAIL PROTECTED]>, >>>Mark Tarver <[EMAIL PROTECTED]> wrote: >>> >>> >>>>I'

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
tmh wrote: > Time for some more wine. ...and then just cut and paste the snipped bit into: http://wiki.alu.org/The_Road_to_Lisp_Survey ...if you are not there already. The survey questions are optional and what you wrote is perfect as is. Tough call on what goes in: http://wiki.alu

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
parse a DSL was so disappointing. I guess your other excuse is that your BDFL says the same thing. All in all, this is getting pretty funny. I am starting to picture you all (including GvR) running around with your hands over your ears going woo-woo so you cannot hear what we are saying. :) ken

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
rogrammers.html > There we find: "But when our hypothetical Blub programmer looks in the other direction, up the power continuum, he doesn't realize he's looking up. What he sees are merely weird languages... Blub is good enough for him, because he thinks in Blub." Wha

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
an ENIAC. > > Anything any language can do is possible in any other language,... At what cost? ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I've wrestled with reality for thirty-five years, Doctor, and I'm happy to state I finally won out over i

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
nd actually, I'll give you one point: I've been hitting my head against > a brick wall over a particular problem, and I think your email just gave > me a clue how to solve it. Sometimes prefix/postfix notation is the right > tool for the job. See, I can learn from Lisp.) I th

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
about Lisp programmers misses the point to which you respond: after they had done all the work to implement an object system, they were able to make it look like Lisp had always had CLOS, without changing the compiler. Keep those fat pitches coming. :) ken -- Algebra: http://www.tilton-techn

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Steven D'Aprano wrote: > On Sat, 09 Dec 2006 02:29:56 -0500, Ken Tilton wrote: > > >> >>David Lees wrote: > > >>Those raving about >>Lisp are quite accomplished at all those other languages, and know about >> what they are talking. >

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Alex Mizrahi wrote: > (message (Hello 'Ken) > (you :wrote :on '(Sat, 09 Dec 2006 04:26:02 -0500)) > ( > > KT> keep the Pythonistas from straying. But you have an excuse: Lispniks > KT> always /talk/ about macros giving us the ability to create a DSL. But >

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Bjoern Schliessmann wrote: > Ken Tilton wrote: > > >>Note also that after any amount of dicing I simply hit a magic key >>combo and the editor reindents everything. In a sense, Lisp is the >>language that handles indentation best. > > > Erm ... because t

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
ot;. No, they gravitated to a language that was closer to what they already knew, C or Java (which also mimicked C to pick up those users). Later charms of Python were a great community and library support. Lisp simply does not have the latter, one is forever rolling one's own bindings

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
t: famous Lisp style rule: never use a macro where a function will do. Not sure it is worth wasting more time on you at this point or I would offer examples. Could you calm down a bit and stop making things up? ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
t. And if you all dig back thru this thread you will find me quoting GvR on the difference, which is (paraphrasing) "with macros you do not even know where the function calls are". I think he is talking about a loop-like erection of a new language. ken -- Algebra: http://www.

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
community I was inclined to contribute to afterwards. I hear stories > similar to mine time and again, yet the Lisp community won't take heed. > They'd rather squeal about the superiority of macros and whine about > their frustrations in Python news groups. > You seem to be the unh

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
l. > This will always > bias the significance of learning syntax as a factor in choice of > language to be under reported. That's OK, I am looking for the person so bright they have the self-confidence to expose their failure. Then we do not have to dissect them, we can ask th

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>yeah, I think it is. Folks don't vary that much. If every Lisp >>programmer also reports parens disappearing at about thirty days, any >>given non-Lispnik can pretty much bet on the same exp

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
André Thieme wrote: > Ken Tilton schrieb: > >> The last time we went thru this a Pythonista finally said, Oh, I get >> it. These five lines of code I have to write all the time (two setup, >> one func call, two cleanup) can be collapsed into one or two. The >>

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
André Thieme wrote: > Ken Tilton schrieb: > >> >> >> André Thieme wrote: >> >>> Ken Tilton schrieb: >>> >>>> The last time we went thru this a Pythonista finally said, Oh, I get >>>> it. These five lines of code I have to

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
y use libraries from crappy developers? Second, you think a language can stop people from writing bad code? Java tried, and look where that got the language. Elsewhere a Pythonista (Mr. Rubin?) bemoaned this thread's appearance of Pythonistas shrinking from power... could you two get together? :)

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
hlights it to make sure I have not missed anything, then give the re-indent command and eyeball the result. It /is/ still possible to screw up because I work fast and loose, but only very rarely do I end up with a parens in the wrong place, and then the compiler finds something to whine ab

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
he radical nature of what you can do with macros, or > understate it and make them seem just like functions. Yep, both. The first is rare. CLOS is one, my Cells (ported this summer to PyCells as part of SoC 2006) is another. The latter is the norm. ken -- Algebra: http://www.tilton-technolog

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Steven D'Aprano wrote: > The day has not yet arrived that nobody ever needs to edit code in a > plain, vanilla text editor. Gee, 200kloc of Lisp and I have not got there yet. Keep banging that drom, Steve. :) ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Steven D'Aprano wrote: > If that's the best example of what macros can be used for, frankly I'm > unimpressed. We're shocked. :) ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I've wrestled with reality for thirty-five yea

Re: merits of Lisp vs Python

2006-12-09 Thread Ken Tilton
Steven D'Aprano wrote: > On Sat, 09 Dec 2006 22:06:29 -0500, Ken Tilton wrote: > > >>As I type each right parens I eyeball >>its partner as the editor highlights it to make sure I have not missed >>anything, > > > Er, weren't you one of th

Re: merits of Lisp vs Python

2006-12-11 Thread Ken Tilton
ata? You missed it? Google fight: http://www.googlefight.com/index.php?lang=en_GB&word1=Python&word2=Ruby Python wins, 74 to 69.3. And there is no Monty Ruby to help. ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I've wrestled with reality for

Re: merits of Lisp vs Python

2006-12-11 Thread Ken Tilton
André Thieme wrote: > mystilleef schrieb: > >> Ken Tilton wrote: >> >>> Lisp has all the cool qualities you like in your pets, plus native >>> compilation in most implementations, plus maturity and a standard, plus >>> a better OO, plus ma

Re: merits of Lisp vs Python

2006-12-11 Thread Ken Tilton
diting easier. Finally, Python is just a (fine) scripting language. Which means one does not tackle hard problems with it, the kind one figures out as one goes. That means less refactoring, and less refactoring means less slicing and dicing of the code. > Seeing as you asked, how much Python

Re: merits of Lisp vs Python

2006-12-11 Thread Ken Tilton
tead of ours! :-) > > > But if we did that, it wouldn't be Python any > more, it'd be Lisp. And someone would then have to invent Python. Let Python be Python, let Lisp be Lisp. It's all good. ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm &

Re: merits of Lisp vs Python

2006-12-12 Thread Ken Tilton
ne programs Lisp, one should learn Loop -- it is definitely worth the bother. I def regret not learning it sooner. ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I've wrestled with reality for thirty-five years, Doctor, and I'm happy to state

Re: merits of Lisp vs Python

2006-12-12 Thread Ken Tilton
yntax for LOOP, btw. But the goofier syntax is also where lies part of the "win", so learn that. ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I've wrestled with reality for thirty-five years, Doctor, and I'm happy to state I finally won o

Re: merits of Lisp vs Python

2006-12-12 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>>>The loop language is so complicated and confusing that I never >>>>bothered trying to learn it. >> >>That was my stance for about seven years of intense Lisp. Then the >>auth

Re: merits of Lisp vs Python

2006-12-12 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>Oh, my. time to trot out my "hey, X is cool, let's use it for >>everything!" rant. > > > Somehow it's something other than a rant if X is Lisp? Ah, your discriminator mis

Re: merits of Lisp vs Python

2006-12-12 Thread Ken Tilton
Markus Triska wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > > >>I think all-rules-all-the-time Prolog is the poster boy for paradigm >>slavery. (I did try for a famous two months to use Prolog as a >>general-purpose programming language.) > > >

Re: merits of Lisp vs Python

2006-12-12 Thread Ken Tilton
hics on win32, and I think they have Gtk bindings elsewhere (just guessing, really). Everyone has Ltk, Cells-Gtk, and Celtk. (Two Tks, one Gtk if that is not clear). ken -- Algebra: http://www.tilton-technology.com/LispNycAlgebra1.htm "Well, I've wrestled with reality for

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
t; applied to _any_ system. > Now we know how one contractor ended up using English units when the other was using French units and an entire Mars mission was lost: they were both using the metric system. [cue NASA aopologist Ron (or his sidekick Al) for some scenery-chewing outrage ov

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
Ken Tilton wrote: > > > Paul Rubin wrote: > >> Ken Tilton <[EMAIL PROTECTED]> writes: >> >>> Have you read On Lisp by Paul Graham? It is on-line. Just the preface >>> will do, I think, maybe also Chapter One where he raves on macros. Do >&

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
greg wrote: > Ken Tilton wrote: > >> pps. How would Python do this? > > > Here's one way it could look: > > defskill("absolute-value", > title = "Absolute Value", > annotations = [ > "Take the absolute value o

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>don't know. The point is, we need code (not just data) in defskill >>(apologies for nasty formatting): > > > Man that whole thing is messy. I can't for the life of me understand >

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
Ken Tilton wrote: > > > Paul Rubin wrote: > >> Ken Tilton <[EMAIL PROTECTED]> writes: >> >>> don't know. The point is, we need code (not just data) in defskill >>> (apologies for nasty formatting): >> >> >> >>

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>>Man that whole thing is messy. I can't for the life of me understand >>>why it's so important to use a macro for that. Even in Lisp, I'd >>>probably set up the reverse thin

Re: merits of Lisp vs Python

2006-12-13 Thread Ken Tilton
Ken Tilton wrote: > > > Ken Tilton wrote: > >> >> >> Paul Rubin wrote: >> >>> Ken Tilton <[EMAIL PROTECTED]> writes: >>> >>>> don't know. The point is, we need code (not just data) in defskill >>>> (apol

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>>>Man that whole thing is messy. >> >>I do not see much difference, except that the character count is 25% >>less in the macro version: > > > The macro calls aren't so ba

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>btw, you called the defskill messy (repeated below) "messy". The only >>text not specific to absolute value is D-E-F-S-K-I-L-L. > > > No, the messiness was not in the macro instantatio

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
Andrew Reilly wrote: > On Thu, 14 Dec 2006 03:01:46 -0500, Ken Tilton wrote: > > >>You just >>aren't used to thinking at a level where one is writing code to write code. > > > Firstly, I'm looking into lisp because my current python project is to

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
Ken Tilton wrote: > > > Andrew Reilly wrote: > >> On Thu, 14 Dec 2006 03:01:46 -0500, Ken Tilton wrote: >> >> >>> You just aren't used to thinking at a level where one is writing code >>> to write code. >> >> >> >

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
Paul Rubin wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>Again, that is precisely the point of macrology (in cases like >>this). When a pattern will repeat a sufficient number of times, and a >>function cannot handle the job, > > > But this is n

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
magically produce a binding inside the reverse function. It would be easier to compare and contrast with the Python equivalent if someone had posted such, but your troops have fallen back to Fort So What? and pulled up the drawbridge. Peace. Out. Ken -- Algebra: http://www.tilton-technolo

Re: merits of Lisp vs Python

2006-12-14 Thread Ken Tilton
Robert Uhl wrote: > Ken Tilton <[EMAIL PROTECTED]> writes: > >>meanwhile, I have not seen how Python lets you avoid revisiting dozens >>of instances when changes to a mechanism are required. > > > I think his solution would have been to use: > > def

Re: merits of Lisp vs Python

2006-12-15 Thread Ken Tilton
greg wrote: > Ken Tilton wrote: > >> So this: >> (defmethod tf-reverse (id (eql ',sub-id)) resx (drv-opnds tf drv)) >> ,@reverser) >> >> becomes this: >> >> (defmethod tf-reverse ((id (eql ',sub-id)) tf dr

Re: merits of Lisp vs Python

2006-12-15 Thread Ken Tilton
greg wrote: > Ken Tilton wrote: > >> The reason I post macro expansions along with examples of the macro >> being applied is so that one can see what code would have to be >> written if I did not have the defskill macro to "write" them for me. > >

Re: merits of Lisp vs Python

2006-12-15 Thread Ken Tilton
greg wrote: > Ken Tilton wrote: > >> The last example showed the macro inserting code to magically produce >> a binding inside the reverse function. > > > Are you sure? It looked to me like it was adding code *around* > the reverse function, not inside it. I p

Re: merits of Lisp vs Python

2006-12-15 Thread Ken Tilton
[EMAIL PROTECTED] wrote: > Ken Tilton wrote: > >>Andrew Reilly wrote: >> >> >>> That all looks like data. >> >>No, not reverse, the part you did not understand. I do not mean what the >>code was doing, I meant that it was code. >> >

Re: merits of Lisp vs Python

2006-12-15 Thread Ken Tilton
greg wrote: > Ken Tilton wrote: > >> McCarthy: "Is code also data in Python?" >> Norvig: "No." > > > I don't think that was the right answer. Norvig is a smart guy. He was talking to John McCarthy. He gave the right answer. :) > He

Re: merits of Lisp vs Python

2006-12-16 Thread Ken Tilton
greg wrote: > Ken Tilton wrote: > >> I did explain the last little fun bit (where reverse code miraculously >> got a case-specific "signed-value" parameter bound to exactly the >> right bit of math structure). > > > I didn't mention that b

Re: merits of Lisp vs Python

2006-12-16 Thread Ken Tilton
Kay Schluehr wrote: > Ken Tilton schrieb: > > >>Looks promising. How does a generic engine that sees only a solution (a >>list of mathematical expressions and for each the transformations, >>results, and opnds logged by individual TF functions) build up this >

Re: merits of Lisp vs Python

2006-12-16 Thread Ken Tilton
[EMAIL PROTECTED] wrote: > Ken Tilton wrote: > >>[EMAIL PROTECTED] wrote: >> >>>Code is data is code >> >>I was hoping no one would make that mistake. :) macros are all about >>code is data, but code is not data in Python* so the two words co

Re: merits of Lisp vs Python

2006-12-20 Thread Ken Tilton
unch line: spare me the "oh gosh reindentation is so easy" dodge. So is a manual control-shift-p to auto-reindent after an ungainly paste, but this is definitely one of those deals where we don't notice until we stop hitting ourselves with that hammer. ken -- Algebra: h

audio video streaming communications

2007-01-07 Thread Ken Seehart
. I am not interested in download torrents, etc. I'm just looking video conferencing, and live video broadcasts, etc. Any recommendations? Thanks, - Ken -- http://mail.python.org/mailman/listinfo/python-list

Re: Loading a Python collection from an text-file

2006-01-23 Thread Ken Starks
Ilias Lazaridis wrote: > within a python script, I like to create a collection which I fill with > values from an external text-file (user editable). > > How is this accomplished the easiest way (if possible without the need > of libraries which are not part of the standard distribution)? > > so

Re: List of files to be opened

2006-01-26 Thread Ken Starks
yawgmoth7 wrote: > Hello, I am currently writing a script that requires a few different > files to be opened, and examined. What I need to be able to do is use > something like: > > filelist = os.system("ls") > > > > I cannot think of a way to do this, I could put them in a list of > something o

Re: Newbie

2006-02-14 Thread Ken Stevens
es of Linux which is that of choice. So, to any who think, otherwise... there is absolutely NOTHING wrong or incorrect about TOP posting. OK, rant mode off. I feel better now! I got that off my chest! Ken -- http://mail.python.org/mailman/listinfo/python-list

python newbie question

2006-02-26 Thread ken . carlino
I am new to python, can you please tell me how can I convert my python script into an executable on linux? i.e. instead of typing 'python myscript.py abc', I just need to do 'myscript.py abc'? and how can I get the input argument from my script , in my example, how can I read 'abc'? Thank you. --

Re: Python RPM and CentOS

2005-05-17 Thread Ken Godee
The reasonable thing would be to use "yum". > Not really a Python question, but I thought some on this list may be > able to answer so here goes: > > I have several machines on which I must install CentOS. There are many > updates to CentOS and it's very time consuming to do the updates ov

change vars in place w/loop or list comprehension

2005-05-31 Thread ken . boss
'ONE' Both of these accomplish what I'm after; I prefer the second for its brevity. But either approach requires that I spell out my list of vars-to-alter [a, b, c] twice. This strikes me as awkward, and would be difficult with longer lists. Any suggestions for a better way to do this? --Ken -- http://mail.python.org/mailman/listinfo/python-list

Re: Garbage collection with QT

2005-06-08 Thread Ken Godee
> Is there a way, to find out all references to the QMainWindow or its > hosted QTable, for having a mechanism to destroy them? > Yes, of coarse, the docs are your friend :) QObject::children() QObject::removeChild() QObject::parent() To find all the children for an instance you can create a lo

C wrappers and the proxy dilemma

2007-06-22 Thread Ken Seehart
housands of lines of boilerplate code is worth bending theory a little. Is it possible to get the same syntactic/semantic results without changing python? - Ken -- http://mail.python.org/mailman/listinfo/python-list

UnicodeDecodeError

2007-07-21 Thread Ken Seehart
, and my solution will be to simply convert to unicode (since the code that uses the string is unicode ready). I am wondering if anyone knows where I can find a mapping from this particular extended ascii code (where \xd1 is Ñ), to the corresponding unicode characters. Ken -- http://mail.py

Re: UnicodeDecodeError

2007-07-21 Thread Ken Seehart
Um, never mind. The recent unicode conversation gave me my answer :-) unicode(s, 'Windows-1252') Ken Seehart wrote: > I get this whenever I encounter a non-ascii character in a non-unicode > string: > > UnicodeDecodeError: 'ascii' codec can't decode byte 0

Re: Generate report containing pdf or ps figures?

2007-05-01 Thread Ken Starks
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Grant Edwards <[EMAIL PROTECTED]> wrote: >> I need to be able to generate a PDF report which consists >> mostly of vector images (which I can generate as encapsulated >> Postscript, PDF, or SVG). What I need is a way to combine >> these fig

Re: Microsoft's Dynamic Languages Runtime (DLR)

2007-05-02 Thread Ken Tilton
[EMAIL PROTECTED] wrote: > On May 2, 1:22 pm, sturlamolden <[EMAIL PROTECTED]> wrote: > >>On Monday Microsoft announced a new runtime for dynamic languages, >>which they call "DLR". It sits on top of the conventional .NET runtime >>(CLR) and provides services for dynamically typed languages lik

Re: Microsoft's Dynamic Languages Runtime (DLR)

2007-05-02 Thread Ken Tilton
sturlamolden wrote: > On May 3, 2:15 am, Kaz Kylheku <[EMAIL PROTECTED]> wrote: > > >>Kindly refrain from creating any more off-topic, cross-posted threads. >>Thanks. > > > The only off-topic posting in this thread is your own (and now this > one). > Begone. FWIW, I took Kaz's remark to be m

UK Ordnance survey coordinates and Geocoding anyone ?

2007-07-29 Thread Ken Starks
Has anyone written a python wrapper around the (Windows) dll for converting between OSGB36 and ETRS89 coordinates ? The dll and an application are available from http://www.qgsl.co.uk as long as you register. Information, if you don't know what I'm taking about: -

Best way to do attribute docstrings?

2007-09-07 Thread Ken Kuhlman
& then instantiate them in my attribute assignments. This gives me an object that I can tweak the __doc__ attribute on. An example of what my code looks like is included below. I saw that PEP 224 [1] was trying to meet this need, but got rejected because the proposed syntax wasn't cle

Re: Best way to do attribute docstrings?

2007-09-11 Thread Ken Kuhlman
not going to try to propose another PEP over it. My itch is scratched for now -- if the naming convention hack gets under my skin eventually I'll try going down a source parsing route next. Thanks again for the help! -Ken PS: I hope it's OK that I ignored your questions -- my initial so

Re: merits of Lisp vs Python

2007-03-07 Thread Ken Tilton
Brian Adkins wrote: > John Nagle wrote: > >>Neither Lisp nor Python is an "industrial strength language". >> The infrastructure is too weak. Hosting providers and distro >> makers aren't concerned over whether Python works. They >> care if C, C++, Java, PHP, and Perl work, but not Python o

Re: merits of Lisp vs Python

2007-03-07 Thread Ken Tilton
John Nagle wrote: > Brian Adkins wrote: > >> John Nagle wrote: > > >> If you want to restart a debate, please go back and reply to some >> serious post in the thread - don't hijack mine for your own evil >> purposes and cut out the good parts - did you even see the movie? > > >If you w

Re: help developing an editor to view openoffice files.

2007-03-13 Thread Ken Starks
krishnakant Mane wrote: > hello, > right now I am involved on doing a very important accessibility work. > as many people may or may not know that I am a visually handicap > person and work a lot on accessibility. the main issue at hand is to > create an accessible editor for open office. > there

Re: is laziness a programer's virtue?

2007-04-17 Thread Ken Tilton
George Neuner wrote: > On 17 Apr 2007 08:20:24 -0700, Ingo Menger > <[EMAIL PROTECTED]> wrote: > > >>On 17 Apr., 12:33, Markus E Leypold >><[EMAIL PROTECTED]> wrote: >> >> >>>What makes Xah a troll is neither off-topic posts nor being >>>incoherent -- its the attitude. He's broadcasting his dri

Re: is laziness a programer's virtue?

2007-04-17 Thread Ken Tilton
Xah Lee wrote: > Dear Ken, > > I want to thank you for your spirit in supporting and leading the lisp > community, in spreading lisp the language both in what you have done > technically as well as evangelization, as well as the love and > knowledge attitude towards newsgr

Re: The meaning of a = b in object oriented languages

2007-09-19 Thread Ken Bloom
as both an array > and a String. > In that environment the programmer must choose one or the other. In this Java example, a and b are statically typed to be of type Object. Both Strings and Arrays descend from Object. (And primatives like integers and the like will be autoboxed into descend

Re: Best way to do attribute docstrings?

2007-09-25 Thread Ken Kuhlman
Replying to myself in case someone finds this interesting. Anyway, I took another shot at this with a little fresher mind, and it was quickly obvious that I was trying to force attributes to behave more like classes. It was a small step from there to creating a factory function to return instance

Re: Best way to do attribute docstrings?

2007-09-26 Thread Ken Kuhlman
times. > ... > Gabriel Genellina I've only cared about class attributes to this point because my needs have been simple. They may not always be, however, so I'll take a shot at your challenge (below). I've basically just added a base class that defines __setattr__ to the mi

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-09-29 Thread Ken Tilton
Damien Kick wrote: > 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? >>

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-09-30 Thread Ken Tilton
Matthias Benkard wrote: >>So this has nothing to >>do with freedom in /any/ sense of the word, it has to do with a >>political agenda opposed to the idea of private property. > > > Freedom is inherently political, you know. You're condemning the FSF > for being political, although the FSF's st

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-10-10 Thread Ken Tilton
[EMAIL PROTECTED] wrote: > On Oct 8, 7:32 am, Joost Kremers <[EMAIL PROTECTED]> wrote: > >>[EMAIL PROTECTED] wrote: >> >>>Don't both "man" and those words for measurement come ultimately from >>>words for "hand" (similarly to words like "manual", as in labor)? >> >>no. > > > Do not bluntly con

Re: negative base raised to fractional exponent

2007-10-16 Thread Ken Schutte
t;> import math >>> real_part = (3**-4.1) * math.cos(-4.1 * math.pi) >>> imaj_part = (3**-4.1) * math.sin(-4.1 * math.pi) >>> (real_part,imaj_part) (0.01026806021211755, -0.0037372276904401318) Ken -- http://mail.python.org/mailman/listinfo/python-list

Re: negative base raised to fractional exponent

2007-10-17 Thread Ken Schutte
[EMAIL PROTECTED] wrote: > On Oct 17, 4:05 am, Ken Schutte <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> Does anyone know of an approximation to raising a negative base to a >>> fractional exponent? For example, (-3)^-4.1 since this cannot be >

Re: Jobs: Lisp and Python programmers wanted in the LA area

2007-02-26 Thread Ken Tilton
Tech HR wrote: > In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] wrote: > > >>On Feb 26, 6:32 am, Tech HR <[EMAIL PROTECTED]> wrote: >> >>>Our >>>website is currently a LAMP appication with P=Python. We are looking for >>>bright motivated people who know or are willing to learn Python and/

opinion - file.readlines blemish

2007-11-03 Thread Ken Seehart
because None could also just mean that no newlines have been read. Besides, it's not a good idea to stuff extra semantics like that. Better would be a separate way to identify *universal-newlines *mode. Ken Seehart -- http://mail.python.org/mailman/listinfo/python-list

Re: How I learned Tkinter

2006-04-24 Thread Ken Dere
Mark Lutz has several chapters on Tkinter (O'Reilly). Thanks for your notes as I am still behind you. Ken D. -- http://mail.python.org/mailman/listinfo/python-list

Re: [Reported] (was Re: Xah's Edu Corner: Criticism vs Constructive Criticism)

2006-04-26 Thread Ken Tilton
John Bokma wrote: > Eli Gottlieb <[EMAIL PROTECTED]> wrote: > > >>Oh, God, not another one. > > > Instead of cross posting more garbage, do as follows: > > Email a complaint to the email addresses you can look up yourself and > include the entire message of Xah: > > http://www.spamcop.net/

Re: [Reported] (was Re: Xah's Edu Corner: Criticism vs Constructive Criticism)

2006-04-26 Thread Ken Tilton
John Bokma wrote: > Ken Tilton <[EMAIL PROTECTED]> wrote: > > [ reported ] > >>What might stop? > > > The excessive cross posting. > > >>I see one technical post every one or few weeks from >>Xah, followed by a dozen posts from self-

Somebody report John [was Re: ]

2006-04-28 Thread Ken Tilton
razy that one person willfully creates such a mess every >>time Xah posts? Shush! > > > Since you're posting from an edu tld, why are you wasting time and money > instead of getting educated? It might stop you from acting like an idiot > like you did just now. > We

<    1   2   3   4   >