Re: python doc available in emacs info format?

2009-08-17 Thread Xah Lee
y in commericial software about 10 years ago. Xah ∑ http://xahlee.org/ ☄ On Aug 17, 4:32 am, "Colin S. Miller" wrote: > Xah Lee wrote: > > btw, is there still info format for python doc? > > > i feel kinda sad that emacs info format has pretty much been > > d

Re: Xah's Edu Corner: The importance of syntax & notations.

2009-08-18 Thread Xah Lee
he date of this speech also explains parts of the writings about some mysterious “fundamental science work”, which now we know is his controversial book A New Kind Of Science (2002). Xah ∑ http://xahlee.org/ ☄ ---------- Xah Lee wrote: Personally, particular interesting info i

Math Notations, Computer Languages, and the “Form ” in Formalism

2009-08-31 Thread Xah Lee
• Math Notations, Computer Languages, and the “Form” in Formalism http://xahlee.org/cmaci/notation/index.html plain text version follows. (lacks links) - Math Notations, Computer Languages, and the “Form” in Formalism Xah Lee, 2009-08-31 This page is a collection

Re: Math Notations, Computer Languages, and the “F orm” in Formalism

2009-09-07 Thread Xah Lee
2009-09-07 On Sep 5, 7:41 am, slawekk wrote: > > Theorem provers > > such as OCaml (HOL, Coq), Mizar does math formalism as a foundation, > > also function as a generic computer language, but lacks abilities as a > > computer algebra system or math notation representation. > > Isabelle's presenta

HTML6 proposal (Re: sexp xml syntax transformation)

2010-09-22 Thread Xah Lee
cleaned up the previous post. • 〈HTML6, Your HTML/XML Simplified〉 http://xahlee.org/comp/html6.html plain text version follows -- HTML6, Your HTML/XML Simplified Xah Lee, 2010-09-21 Tired of the standard bodies telling us what to do and change

Re: HTML6 proposal (Re: sexp xml syntax transformation)

2010-09-23 Thread Xah Lee
On Sep 23, 1:18 am, smh wrote: > The following is not exactly what you are looking for, but you might > find it interesting. > > http://www.franz.com/support/tech_corner/xml-generator-blurb.html > > This blurb is an example of a self-embedding document. > I've used this XML generator in many appli

toy list processing problem: collect similar terms

2010-09-25 Thread Xah Lee
here's a interesting toy list processing problem. I have a list of lists, where each sublist is labelled by a number. I need to collect together the contents of all sublists sharing the same label. So if I have the list ((0 a b) (1 c d) (2 e f) (3 g h) (1 i j) (2 k l) (4 m n) (2 o p) (4 q r) (5 s

Re: toy list processing problem: collect similar terms

2010-09-26 Thread Xah Lee
2010-09-26 On Sep 25, 11:17 pm, Paul Rubin wrote: > Python solution follows (earlier one with an error cancelled).  All > crossposting removed since crossposting is a standard trolling tactic. > >     from collections import defaultdict > >     def collect(xss): >         d = defaultdict(list) >

Re: toy list processing problem: collect similar terms

2010-09-26 Thread Xah Lee
On Sep 26, 7:56 am, Sherm Pendley wrote: > Jürgen Exner writes: > > Alexander Burger wrote: > >>In PicoLisp: > > > What the f does PicoLisp have to with Perl? > > It's Xah. He cross-posts in an attempt to start a language feud. > > Please don't feed the troll. sorry i disagree. And please d

Re: Unicode usenet posting. This is a test.

2010-09-26 Thread Xah Lee
On Sep 26, 5:40 am, Spiros Bousbouras wrote: > > And just for good measure, some «European style quotes» and “balanced smart > > quotes” which I intend some day to try to convince people to start using > > to eliminate the scourge of backslash escapes.  But that's a topic for > > another day. > >

Re: (and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

2010-09-27 Thread Xah Lee
2010-09-27 > For instance, this is far more convenient: > [x+1 for x in [1,2,3,4,5] if x%2==0] > than this: > map(lambda x:x+1,filter(lambda x:x%2==0,[1,2,3,4,5])) How about this: LC(func, inputList, P) compared to [func for myVar in inputList if P] the functional form is: • shorter • n

Re: (and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

2010-09-27 Thread Xah Lee
On Sep 27, 12:11 pm, namekuseijin wrote: > On 27 set, 16:06, Xah Lee wrote:> 2010-09-27 > > > > For instance, this is far more convenient: > > > [x+1 for x in [1,2,3,4,5] if x%2==0] > > > than this: > > > map(lambda x:x+1,filter(lambda x:x%2==0,

Re: toy list processing problem: collect similar terms

2010-09-28 Thread Xah Lee
On Sep 27, 9:34 pm, John Bokma wrote: > Seebs writes: > > fup set to poster > > > On 2010-09-28, John Bokma wrote: > >> Seebs writes: > >>> On 2010-09-26, J?rgen Exner wrote: > It was livibetter who without any motivation or reasoning posted Python > code in CLPM. > > >>> Not exactly

Re: (and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

2010-09-28 Thread Xah Lee
xah wrote: > in anycase, how's “do” not imperative? On Sep 28, 6:27 am, namekuseijin wrote: > > how's “do” a “named let”? can you show example or reference of that > > proposal? (is it worthwhile?) > > I'll post it again in the hope you'll read this time: > > " > (do ((i 0 (+ 1 i))  ; i initially

Re: (and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

2010-09-28 Thread Xah Lee
2010-09-28 On Sep 28, 12:07 pm, namekuseijin wrote: > On 28 set, 14:56, Xah Lee wrote: > > > ultimately, all lang gets transformed at the compiler level to become > > machine instructions, which is imperative programing in the ultimate > > sense. > > > You

Re: (and scheme lisp) x Python and modern langs [was Re: gossip, Guy Steel, Lojban, Racket]

2010-09-29 Thread Xah Lee
On Sep 29, 11:02 am, namekuseijin wrote: > On 28 set, 19:38, Xah Lee wrote: > > > • “list comprehension” is a very bad jargon; thus harmful to > > functional programing or programing in general. Being a bad jargon, it > > encourage mis-communication, mis-understanding.

Unicode Support in Ruby, Perl, Python, Emacs Lisp

2010-10-08 Thread Xah Lee
here's my experiences dealing with unicode in various langs. Unicode Support in Ruby, Perl, Python, Emacs Lisp Xah Lee, 2010-10-07 I looked at Ruby 2 years ago. One problem i found is that it does not support Unicode well. I just checked today, it still doesn't. Just do a web search o

Re: Unicode Support in Ruby, Perl, Python, Emacs Lisp

2010-10-09 Thread Xah Lee
2010-10-09 On Oct 9, 3:45 pm, Sean McAfee wrote: > Xah Lee writes: > > Perl's exceedingly lousy unicode support hack is well known. In fact > > it is the primary reason i “switched” to python for my scripting needs > > in 2005. (See: Unicode in Perl and Python) >

Re: toy list processing problem: collect similar terms

2010-10-14 Thread Xah Lee
On Sep 25, 9:05 pm, Xah Lee wrote: > here's a interesting toy list processing problem. > > I have a list of lists, where each sublist is labelled by > a number. I need to collect together the contents of all sublists > sharing > the same label. So if I have the list >

how to name a function in a comp lang (design)

2010-10-20 Thread Xah Lee
A great piece about terminology in computer languages. * 〈The Poetry of Function Naming〉 (2010-10-18) By Stephen Wolfram. At: http://blog.stephenwolfram.com/2010/10/the-poetry-of-function-naming/ See also: • 〈The Importance of Terminology's Quality In Computer Languages〉 http://xahlee.org/Un

Re: how to name a function in a comp lang (design)

2010-10-20 Thread Xah Lee
On Oct 20, 4:52 am, Marc Mientki wrote: > Am 20.10.2010 13:14, schrieb Xah Lee: > > > See also: > > > • 〈The Importance of Terminology's Quality In Computer Languages〉 > >http://xahlee.org/UnixResource_dir/writ/naming_functions.html > > > where i gave some

is list comprehension necessary?

2010-10-26 Thread Xah Lee
pure functional lang (e.g. haskell), i think lc is pretty bad. here's the plain text version of my essay What's List Comprehension and Why is it Harmful? Xah Lee, 2010-10-14 This page explains what is List Comprehension, with examples from several lang

Re: Land Of Lisp is out

2010-10-28 Thread Xah Lee
On Oct 28, 12:59 am, Lawrence D'Oliveiro wrote: > In message > <3fe80ac4-b595-4bcb-96b9-9138b1ec5...@l17g2000yqe.googlegroups.com>, > > TheFlyingDutchman wrote: > > On Oct 27, 4:55 pm, Lawrence D'Oliveiro > > wrote: > > >> Would it be right to say that the only Lisp still in common use is the >

Re: Land Of Lisp is out

2010-10-28 Thread Xah Lee
On Oct 28, 1:42 am, p...@informatimago.com (Pascal J. Bourguignon) wrote: > sthueb...@googlemail.com (Stefan Hübner) writes: > >> Would it be right to say that the only Lisp still in common use is the > >> Elisp > >> built into Emacs? > > > Clojure (http://clojure.org) is a Lisp on the JVM. It's g

Re: is list comprehension necessary?

2010-10-28 Thread Xah Lee
On Oct 27, 5:46 pm, rantingrick wrote: > On Oct 26, 4:31 am, Xah Lee wrote: > > > recently wrote a article based on a debate here. (can't find the > > original thread on Google at the moment) > > Hey all you numbskulls who are contributing the annoying off-topic &g

<    1   2   3   4   5   6