Re: What are OOP's Jargons and Complexities?

2005-05-26 Thread Xah Lee
/writ/jargons.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: What are OOP's Jargons and Complexities?

2005-05-28 Thread Xah Lee
are usually treated as a special method at the language level, its concept and linguistic issues is a OOP machinery complexity, while the Accessor concept is a OOP engineering complexity. - to be continued tomorrow. This is part of an installment of the article “What are OOP's Jargons and

Re: What are OOP's Jargons and Complexities?

2005-05-31 Thread Xah Lee
ment of the article “What are OOP's Jargons and Complexities” by Xah Lee, 20050128. The full text is at http://xahlee.org/Periodic_dosage_dir/t2/oop.html © Copyright 2005 by Xah Lee. Verbatim duplication of the complete article for non-profit purposes is granted. The article is publish

Re: What are OOP's Jargons and Complexities?

2005-06-03 Thread Xah Lee
argons and Complexities” by Xah Lee, 20050128. The full text is at http://xahlee.org/Periodic_dosage_dir/t2/oop.html © Copyright 2005 by Xah Lee. Verbatim duplication of the complete article for non-profit purposes is granted. The article is published in the following newsgroups: comp.lang.c,c

Re: What are OOP's Jargons and Complexities?

2005-06-07 Thread Xah Lee
along with its 40 or so methods and other things. http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html (local copy) --- to be continued... This is part of an installment of the article “What are OOP's Jargons and Complexities” by Xah Lee, 20050128. The full text is at http://xahle

tree functions daily exercise: Range

2005-06-12 Thread Xah Lee
sions archived here: http://xahlee.org/tree/tree.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ Dear functional programers, i run services called a-python-a-day and a-java-a-day, where each day i give a tip or snippet of code in these languages, also as a way for me to learn these languages

Re: tree functions daily exercise: Table

2005-06-12 Thread Xah Lee
approved by Wolfram Research Incorporated.) The first argument of Table function in Mathematica (mma) is a expression. Most other languages cannot have such symbolic expressions. In Perl, a string is choosen instead as the experssion, and it is being evalutade later as code. This may not be a practical choice but anyway it's just a exercise. Each other language should choose appropriate design for this emulation... Perl, Python, Java solutions will be posted by me in the coming days. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

count string replace occurances

2005-06-12 Thread Xah Lee
if i have mytext.replace(a,b) how to find out many many occurances has been replaced? Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: tree functions daily exercise: Table

2005-06-17 Thread Xah Lee
l in processing tree structures, such as XML and many other things spurn from it today. Disclaimer: this project is not affiliated with Wolfram Research Inc. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

functions with unlimeted variable arguments...

2005-06-18 Thread Xah Lee
how can i define a function with variable parameters? For example, f(a) would return [a] f(a,b) would return [a,b] f(a,b,...) would return [a,b,...] One solution is of course to make the argument as a list. i.e. f([a,b,...]) but are there other solutions? Xah [EMAIL PROTECTED] ∑ http

Python documentation problem

2005-06-18 Thread Xah Lee
e.org/perl-python/re-write_notes.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python documentation problem

2005-06-18 Thread Xah Lee
i wanted to find out if Python supports eval. e.g. somecode='3+4' print eval(somecode) # prints 7 in the 14 hundred pages of python doc, where am i supposed to find this info? Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Python documentation problem

2005-06-18 Thread Xah Lee
Apparently i tried it before posting eval '3' and got misleading errors because i forgot the parenthesis... This is a easy one to find in the doc... The unhelpful doc organization and past experiences confounded this case. Thanks. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/

Re: Python documentation problem

2005-06-18 Thread Xah Lee
dustry geeking moron's need to computer-sciency speak with implementation infatuation. And in part it came to that really because they are comparative morons. for a more sincere, detailed account, please see: http://xahlee.org/perl-python/re-write_notes.html Thanks. Xah [EMAIL PROTEC

The Modernization of Emacs

2007-06-17 Thread Xah Lee
[this post is a excerpt from The Modernization of Emacs, Xah Lee, 2006-04 at http://xahlee.org/emacs/modernization.html ] The Modernization of Emacs THE PROBLEM Emacs is a great editor. It is perhaps the most powerful and most versatile text editor. And

Re: The Modernization of Emacs: terminology buffer and keybinding

2007-06-19 Thread Xah Lee
emacs palpable to the vast number of people who ever need to use a computer to write. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs: not dumb down

2007-06-19 Thread Xah Lee
e design issues into popularity vs elegance. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs: technically superior

2007-06-19 Thread Xah Lee
it is openly questionable that emacs's ways of operation induced by its default user interface allows faster or more efficient operation than a user interface based on modern software conventions. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs: exists already

2007-06-19 Thread Xah Lee
the menus), [T] (for Transfer), [L] (for Load). Suppose Microsoft hired a third party to release a variant called MS AquaWord. This would not help Microsoft Word the software itself, and is likely to complicate the issue around Microsoft Word. Xah [EMAIL PROTECTED] ∑ http://xahlee.

Re: The Modernization of Emacs: exists already

2007-07-18 Thread Xah Lee
" name is a major point of confusion for getting people to learn Emacs. The abbreviation C- and M- to represent keyboard shortcuts should similarly be updated to the more easy-to-understand and universal Ctrl- and Alt-. Xah [EMAIL PROTECTED] http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

The Hack of bitmask used as Predicate Parameters

2007-04-23 Thread Xah Lee
reciate other examples you know in the above languages, and or in particular if Java, Lisp, Haskell. This article is a modified excerpt from “Linden Scripting Language Problems” at http://xahlee.org/sl/ls-prob.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

ignorance and intolerance in computing communties

2007-05-02 Thread Xah Lee
age design book or latest computer engineering practice guide or forum argumentation or wiki or Open Sourcing zeitgeist fuck, to read a text book or learn on the above topics. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: ignorance and intolerance in computing communties

2007-05-03 Thread Xah Lee
Xah Lee wrote: « ... “Ignorance And Intolerance In Online Computing Communities” http://xahlee.org/Netiquette_dir/ignorance_intolerance.html ... As i have indicated in my post, it is non-trivial to implement a function that returns the positive angle of a vector » I have now coded this. I

Re: Why stay with lisp when there are python and perl?

2007-05-03 Thread Xah Lee
ar as i know, does not exist in some other high-level functional programing languages such as Haskell. I'm not familiar with many functional languages except Lisp and Mathematica. I'm curious, as to how Haskell, which itself is quite with capable of symbolic computation i think, deals with

The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations

2007-05-23 Thread Xah Lee
The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations Xah Lee, 2006-03-15 [This articles explains away the confusion of common terms for notation systems used in computer languages: prefix, infix, postfix, algebraic, functional. These notation's relation t

Re: The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations

2007-05-30 Thread Xah Lee
ble Perl both in theory AND in practice. (in lisp, its power of syntax variation comes in the guise of macros.) And, more importantly, Perlers clamor about Perl's “expressiveness” more or less on the syntax level but don't realize that semantic expressibility is far more important. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: The Modernization of Emacs: keyboard shortcuts pain

2007-07-24 Thread Xah Lee
Why Emacs's Keyboard Shortcuts Are Painful Xah Lee, 2007-07 A important aspect in designing keyboard shortcuts is to have keyboard shortcuts for those most frequently used commands, and, the most frequently used commands should have most easily-pressed keystrokes. For example, they should

Re: The Modernization of Emacs: keyboard shortcuts pain

2007-08-04 Thread Xah Lee
The following article a extended version of previous post. A HTML version can be found at http://xahlee.org/emacs/emacs_kb_shortcuts_pain.html --- WHY EMACS'S KEYBOARD SHORTCUTS ARE PAINFUL Xah Lee, 2007-07 A important aspect in designing a keyboard shortcu

Re: The Modernization of Emacs: keyboard shortcuts pain

2007-08-11 Thread Xah Lee
e needs extra revision control, a more proper mechanism, one that people actually use, is to revert to the saved version. Xah [EMAIL PROTECTED] http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Xah's Edu Corner: Under the spell of Leibniz's dream

2007-08-19 Thread Xah Lee
out further ado, the article is at: “Under the spell of Leibniz's dream” (2000) By Edsger W Dijkstra http://www.cs.utexas.edu/~EWD/ewd12xx/EWD1298.PDF Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: Under the spell of Leibniz's dream

2007-08-24 Thread Xah Lee
ity of math PHD holders in this world today, do not have sufficient knowledge about the subject to appreciate what i wrote. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

general function for sorting a matrix

2007-08-29 Thread Xah Lee
sorting a matrix (i.e. list of lists) is rather common. With this function, i can have a single interface to deal with any list (including list of lists). It is ideal, that a language's function for sort actually are of this generality. (See “What is Expressiveness in a Computer Language”, Xah Lee,

Re: general function for sorting a matrix

2007-09-10 Thread Xah Lee
hi, just a quick reply. You are right, the python version i have is really terrible. I'll look at your solution and possibly reply later. Thanks for your code. It's great! Xah On Aug 29, 9:40 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On We

printing list containing unicode string

2007-09-10 Thread Xah Lee
I can of course write a loop then for each string use "encode("utf-8")", but is there a easier way? Thx. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: printing list containing unicode string

2007-09-10 Thread Xah Lee
On Sep 10, 8:12 am, Carsten Haese <[EMAIL PROTECTED]> wrote: Xah Lee wrote: If i have a nested list, where the atoms are unicode strings, e.g. # -*- coding: utf-8 -*- ttt=[[u"→",u"↑"], [u"αβγ"],...] print ttt how can i print it without getting the u'\u

Re: printing list containing unicode string

2007-09-10 Thread Xah Lee
Google groups seems to be stripping my quotation markslately. Here's a retry to post my previous message. ------ Xah Lee wrote: If i have a nested list, where the atoms are unicode strings, e.g. # -*- coding: utf-8 -*- tt

Re: encoding latin1 to utf-8

2007-09-10 Thread Xah Lee
uot; / Encoding http://xahlee.org/perl-python/charset_encoding.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: printing list containing unicode string

2007-09-10 Thread Xah Lee
ttp://xahlee.org/perl-python/unicodedata_module.html ・ Emacs and Unicode Tips http://xahlee.org/emacs/emacs_n_unicode.html ・ Java Tutorial: Unicode in Java http://xahlee.org/java-a-day/unicode_in_java.html ・ Character Sets and Encoding in HTML http://xahlee.org/js/html_chars.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: printing list containing unicode string

2007-09-11 Thread Xah Lee
for some reason message posted thru google groups service since the past week or so are stripping off the unicode chars double angle brackets (U+00AB and U+00BB). For that reason, in this msg i've also used double curly quotes "" whenever i have double angle brackets. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: need scsh in a wikip article

2007-09-11 Thread Xah Lee
On Sep 11, Xah Lee wrote: i was browsinghttp://en.wikipedia.org/wiki/Comparison_of_computer_shells quite fucking ridiculous that it contains Python shell and Ruby shell, and, there's no mentioning of scsh. Fuck the schemer morons. someone please add scsh there. -- 2007-

On Java's Interface (the meaning of interface in computer programing)

2007-03-20 Thread Xah Lee
On Java's Interface Xah Lee, 20050223 In Java the language, there's this a keyword “interface”. In a functional language, a function can be specified by its name and parameter specs. For example: f(3) f(3, [9,2]) f("some string") are usage examples of 3 functions all havin

What are OOP's Jargons and Complexities

2007-03-29 Thread Xah Lee
What are OOP's Jargons and Complexities Xah Lee, 20050128 Classes, Methods, Objects In computer languages, often a function definition looks like this: subroutine f (x1, x2, ...) { variables ... do this or that } In advanced languages such as LISP family, it is not uncommon to d

Requirements For A Visualization Software System For 2010

2007-04-03 Thread Xah Lee
REQUIREMENTS FOR A VISUALIZATION SOFTWARE SYSTEM FOR 2010 Xah Lee, 2007-03-16 In this essay, i give a list of requirements that i think is necessary for a software system for creating scientific visualization for the next decade (2007-2017). (for a HTML version with images, please see http

is laziness a programer's virtue?

2007-04-15 Thread Xah Lee
Laziness, Perl, and Larry Wall Xah Lee, 20021124 In the unix community there's quite a large confusion and wishful thinking about the word laziness. In this post, i'd like to make some clarifications. American Heritage Dictionary third edition defines laziness as: “Resistant to work o

Re: is laziness a programer's virtue?

2007-04-15 Thread Xah Lee
the community is in fact very tolerant in general (which is to Larry's credit), when compared to the motherfucking Pythoners (who knew SHIT) as well as many of the self-appointed lisp bigwig characters. [disclaimer: my statement about Larry Wall is opinion only.] With Knowledge, and, Love.

is laziness a programer's virtue?

2007-04-16 Thread Xah Lee
politics, mutual sneering, closed- mindedness, and careless postings. References: “Tech Geekers versus Spammers” http://xahlee.org/UnixResource_dir/writ/tech_geekers_vs_spammers.html Netiquette Guidelines, 1995, by S Hambridge. (RFC 1855) http://tools.ietf.org/html/rfc1855 Xah [EMAIL PROTECT

Elisp Tutorial: HTML Syntax Coloring Code Block

2007-10-17 Thread Xah Lee
Elisp Tutorial: HTML Syntax Coloring Code Block Xah Lee, 2007-10 This page shows a example of writing a emacs lisp function that process a block of text to syntax color it by HTML tags. If you don't know elisp, first take a gander at Emacs Lisp Basics. HTML version with color and links

Distributed RVS, Darcs, tech love

2007-10-19 Thread Xah Lee
bout math? Then, he went on about HIS personal fucking zeal for physics, in particular injecting the highly quacky “quantum mechanics” with impunity. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

TeX pestilence (was Distributed RVS, Darcs, tech love)

2007-10-22 Thread Xah Lee
king asses and holes. Xah [EMAIL PROTECTED] http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

emacs lisp as text processing language...

2007-10-29 Thread Xah Lee
Text Processing with Emacs Lisp Xah Lee, 2007-10-29 This page gives a outline of how to use emacs lisp to do text processing, using a specific real-world problem as example. If you don't know elisp, first take a gander at Emacs Lisp Basics. HTML version with links and colors is at:

Re: emacs lisp as text processing language...

2007-10-29 Thread Xah Lee
no reason for Perl to be not capable of satisfying this requirement, but currently Perl needs improvement in this regard. » Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: Introduction to 3D Graphics Programing

2007-01-21 Thread Xah Lee
Xah Lee wrote in 2006-12-22: > Of Interest: > > Introduction to 3D Graphics Programing > http://xahlee.org/3d/index.html Folks, i have expanded my tutorial to several pages in the past nearly two months, and thank you very much for those who have given encouragement. I had plans to

Python's doc problems

2007-11-30 Thread Xah Lee
ectly. I was a technical writer and would not have been able to get away with that level of quality. yours truly <> ------ Xah [EMAIL PROTECTED] \xAD\xF4 http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Generating Thumbnail Images of a Photo Gallery

2006-04-19 Thread Xah Lee
welcome. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ # -*- coding: utf-8 -*- # Python # © 2006-04 by Xah Lee, ∑ http://xahlee.org/, 2006-04 # Given a webite gallery of photos with hundreds of photos, i want to generate a thumbnail page so that viewers can get a bird's eye's v

Re: Generating Thumbnail Images of a Photo Gallery

2006-04-19 Thread Xah Lee
The Python code is archived at: http://xahlee.org/perl-python/tn_gen.html Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ Xah Lee wrote: > The following is a program to generate thumbnail images for a website. > Useful, if you want to do that. > > It is used to generate the thumb

Xah's Edu Corner: Criticism vs Constructive Criticism

2006-04-25 Thread Xah Lee
Criticism versus Constructive Criticism Xah Lee, 2003-01 A lot intelligent people are rather confused about criticism, especially in our “free-speech” free-for-all internet age. When they say “constructive criticisms are welcome” they mostly mean “bitching and complaints not welcome”. Rarely do

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

2006-04-26 Thread Xah Lee
Dear John Bokma, This is a public notice that what you are trying to do is getting close to harrassment from the law's perspective. Thanks. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ John Bokma wrote: > Eli Gottlieb <[EMAIL PROTECTED]> wrote: > > > Oh, God, not a

Re: Xah's Edu Corner: What Languages to Hate

2006-04-27 Thread Xah Lee
What Languages to Hate Xah Lee, 20020718 Dear lisp comrades and other concerned parties, First, all languages have equal rights. Do not belittle other languages just because YOUR favorite language is a bit better in this aspect or that. Different people have different ideas and manners of

Re: Xah's Edu Corner: What Languages to Hate

2006-04-27 Thread Xah Lee
Addendum: Recently I ran into this egregious propaganda: http://www.ibiblio.org/pub/multimedia/video/obp/IntroducingPython.mpg folks, take a look. This is a significant part how things move in the computing community. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ Xah Lee wrote: > W

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

2006-05-05 Thread Xah Lee
Python, Lambda, and Guido van Rossum Xah Lee, 2006-05-05 In this post, i'd like to deconstruct one of Guido's recent blog about lambda in Python. In Guido's blog written in 2006-02-10 at http://www.artima.com/weblogs/viewpost.jsp?thread=147358 is first of all, the title “Languag

algorithmic mathematical art

2006-05-07 Thread Xah Lee
nd other algorithmic mathematical art, please let me know! Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Tabs versus Spaces in Source Code

2006-05-14 Thread Xah Lee
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about which is better. It has become what's known as “religious war” — a heated fight over trivi

Software Needs Philosophers

2006-05-21 Thread Xah Lee
issue. SLIME doesn't cut it, either, as beautiful as SLIME is. Can't use it on Windows to save your life, for instance. But that's one of a thousand problems with the Lisp IDE situation; it's pointless to try to discuss them all in blogger. It's probably pointless to discuss them at all, because it's just going to make me more miserable that no decent IDE exists for Lisp, except for Emacs-as-Elisp-IDE. Which is why I get my Lisp fix by hacking elisp these days. This post is archived at: http://steve-yegge.blogspot.com/2006/04/software-needs-philosophers.html and http://xahlee.org/Periodic_dosage_dir/_p/software_phil.html This essay is reported with permission. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Tabs versus Spaces in Source Code

2006-05-23 Thread Xah Lee
o replace all spaces to tabs. But also, many unix languages contains a so-called construct of “heredoc” as a mean to embed a literal block of text. For example, here's a PHP construct of heredoc: $novelText = <<http://xahlee.org/ Xah Lee wrote: > Tabs versus Spaces in Source Code >

John Bokma harassment

2006-05-24 Thread Xah Lee
ml If you believe this lobbying to my webhosting provider is unjust, please write to my web hosting provider [EMAIL PROTECTED] Your help is appreciated. Thank you. Xah [EMAIL PROTECTED] ∑ http://xahlee.org/ -- http://mail.python.org/mailman/listinfo/python-list

Re: reading file to list

2009-01-17 Thread Xah Lee
source_dir/writ/lisp_problems.html For more detail on the nested syntax problem for function chaining, see the section “How Purely Nested Notation Limits The Language's Utility” at: • The Concepts and Confusions of Prefix, Infix, Postfix and Fully Nested Notations http://xahlee.org/UnixResource_dir/writ/notations.html Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: reading file to list

2009-01-17 Thread Xah Lee
On Jan 17, 9:16 am, Xah Lee wrote: > Here's a interesting toy problem posted by Drew Krause to > comp.lang.lisp: > ... The code in my previous elisp code got a bump. It should be: (defun read-lines (file) "Return a list of lines in FILE." (with-temp-buffer (i

Re: reading file to list

2009-01-17 Thread Xah Lee
On Jan 17, 9:34 am, Xah Lee wrote: > The code in my previous elisp code got a bump. It should be: > ... > • A Ruby Illustration of Lisp Problems > http://xahlee.org/UnixResource_dir/writ/lisp_problems_by_ruby.html Sorry again. More correction: (defun read-lines (file) "Retur

Re: reading file to list

2009-01-17 Thread Xah Lee
Xah Lee wrote: > • A Ruby Illustration of Lisp Problems > http://xahlee.org/UnixResource_dir/writ/lisp_problems_by_ruby.html On Jan 17, 12:30 pm, André Thieme wrote: > In the Lisp style Clojure for example one does exactly the same as > Jillian James (JJ) did in Ruby: > (m

Re: reading file to list

2009-01-17 Thread Xah Lee
hars. The issue is about the irregularities in lisp's syntax damaged its power of its otherwise believed superior regular syntax. • Fundamental Problems of Lisp http://xahlee.org/UnixResource_dir/writ/lisp_problems.html Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: reading file to list

2009-01-18 Thread Xah Lee
http://xahlee.org/perl-python/list_comprehension.html • Lambda in Python 3000 http://xahlee.org/perl-python/python_3000.html Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: calling an external program and capturing the output

2009-01-18 Thread Xah Lee
but I can't seem to find anything on > the sending to and capturing from an external program. > > Any suggestions would be greatly appreciated. See: • Making System Calls in Perl and Python http://xahlee.org/perl-python/system_calls.html Xah ∑ http://xahlee.org/ ☄ -- http://m

Re: reading file to list

2009-01-19 Thread Xah Lee
On Jan 19, 4:49 pm, "Rhodri James" wrote: > On Sun, 18 Jan 2009 08:31:15 -, Xah Lee wrote: > > On Jan 17, 10:25 am, Tino Wildenhain wrote: > >> > [[int(x) for x in line.split()] for line in open("blob.txt")] > > > Nice (python code). > &

Re: reading file to list

2009-01-20 Thread Xah Lee
On Jan 19, 11:17 pm, alex23 wrote: ... Hi Daniel Weinreb, Xah wrote: > • A Ruby Illustration of Lisp Problems > http://xahlee.org/UnixResource_dir/writ/lisp_problems_by_ruby.html Daniel Weinreb wrote: > Xah Lee: Elisp is an interesting choice. But without converting the > strings

Re: reading file to list

2009-01-20 Thread Xah Lee
Xah Lee wrote: > > consider code produced by corporations, as opposed to with respect to > > some academic or philsophical logical analysis. Looked in another way, > > consider if we can compile stat of all existing pyhton code used in > > real world, you'll find t

Re: reading file to list

2009-01-20 Thread Xah Lee
tation/plane_geometry_notation.html • The Concepts and Confusions of Prefix, Infix, Postfix and Fully Nested Notations http://xahlee.org/UnixResource_dir/writ/notations.html of course, i also have very technical and practical book length tutorials on emacs lisp, python, perl, java, javascript/ht

Re: reading file to list

2009-01-21 Thread Xah Lee
de. Also, one's demeanor must commensurate one's knowledge. If i pamper you, you might think i'm a whimp, and run on with your opinions and thoughts unbridled, which, can be considered as a miscommunication on my part. Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: reading file to list

2009-01-21 Thread Xah Lee
Rhodri James wrote: > *plonk* Please see: • Killfile Considered Harmful http://xahlee.org/UnixResource_dir/writ/kill_file_harmful.html plain text version follows --- Killfile Considered Harmful Xah Lee, 2000-02-26 In newsgroups, killfile is a playful word mean

OCaml, Language syntax, and Proof Systems

2009-01-23 Thread Xah Lee
it. See: • Is Lisp's Objects Concept Necessary? http://xahlee.org/emacs/lisps_objects.html • The Concepts and Confusions of Prefix, Infix, Postfix and Fully Nested Notations http://xahlee.org/UnixResource_dir/writ/notations.html ) btw, anyone know the source of that Dijkstra

Re: OCaml, Language syntax, and Proof Systems

2009-01-23 Thread Xah Lee
monad! Simple intro to monad! Fucking morons, but MONAD! PS i started a Ocaml learning blog here: http://xah-ocaml.blogspot.com/ Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

syntax color lang source code in blogs or website

2009-01-24 Thread Xah Lee
For those of you using emacs, here's the elisp code that allows you to syntax color computer language source code in your blog or website. http://xahlee.org/emacs/elisp_htmlize.html to comment, here: http://xahlee.blogspot.com/2009/01/dehtmlize-source-code-in-emacs-lisp.html Xah ∑

Re: OCaml, Language syntax, and Proof Systems

2009-01-24 Thread Xah Lee
Language, Purity, Cult, and Deception Xah Lee, 2009-01-24 [this essay is roughly a 10 years personal retrospect of some languages, in particular Scheme and Haskell.] I learned far more Ocaml in the past 2 days than the fucking 2 months i tried to learn Haskell, with 10 years of “I WANT TO

Re: OCaml, Language syntax, and Proof Systems

2009-01-24 Thread Xah Lee
nixResource_dir/writ/lang_purity_cult_deception.html http://xahlee.blogspot.com/2009/01/language-purity-cult-and-deception.html Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: OCaml, Language syntax, and Proof Systems

2009-01-25 Thread Xah Lee
s.caltech.edu/courses/cs134/cs134b/book.pdf Thanks. Am still reading your chapter 1 yet. Will check those out later. Xah ∑ http://xahlee.org/ ☄ On Jan 23, 4:36 pm, Jon Harrop wrote: > Xah Lee wrote: > > ok, i've been reading these Ocaml tutorials in the past few days: > >

Function Application is not Currying

2009-01-28 Thread Xah Lee
Function Application is not Currying Xah Lee, 2009-01-28 In Jon Harrop's book Ocaml for Scientist at http://www.ffconsultancy.com/products/ocaml_for_scientists/chapter1.html It says: Currying A curried function is a function which returns a function as its result. LOL. Th

Re: programming by evolution?

2009-02-05 Thread Xah Lee
looking at the eXtreme Programing fuckheads's traffic history: http://groups.google.com/group/comp.software.extreme-programming/about for those who are not aware, it was one of the snake oil wildly popular in around 2001. Xah ∑ http://xahlee.org/ ☄ Jason wrote: I just started reading O

Re: programming by evolution?

2009-02-09 Thread Xah Lee
Xah Lee wrote: > ... > if you want software engineering books, i suggest try some books that > are based on statistical survey, as opposed to some dignitary's > “opinion” or current fashion & trends that comes with a jargon. These > type of books are a dime a dozen, ever

which language has syntax that visually represent a tree? [was X#]

2009-02-11 Thread Xah Lee
the source code. (e.g. much of MathML, and conversely Microsoft Word with its XML file format) Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

some history of computing and celebrities [was lisp machine keyboards]

2009-02-12 Thread Xah Lee
On Feb 12, 7:28 am, Xah Lee wrote: > lisp machine keyboards. > > • Knite keyboard. I think this is one of the > earlist.http://world.std.com/~jdostale/kbd/Knight.html > > • Symbolics earlier style keyboard (PN 364000), by Peter > Painehttp://www.asl.dsl.pipex.com/sy

Herald: Python surpasses Perl in popularity!

2008-11-24 Thread Xah Lee
x27;ll be so in the next couple of years. (btw, for those perlers who wishes to learn Python, see a comparative tutorial: • Xah's Perl and Python Tutorial http://xahlee.org/perl-python/index.html ) Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

what's so difficult about namespace?

2008-11-25 Thread Xah Lee
for so long? If it is a social problem, i don't imagine they would last so long. It must be some technical issue? Could any compiler expert give some explanation? Thanks. Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: what's so difficult about namespace?

2008-11-26 Thread Xah Lee
heart is something like a hashtable... namely, put ‹identifier 1› table put ‹identifier 2› table and lookup is just retrieve ‹identifier› table and now suppose we introduced namespace, so i imagine the compiler simply just concat namespace component befor put, and split before retrieve?

Re: Python surpasses Perl in popularity?

2008-11-26 Thread Xah Lee
nked. You'll get a survey of today's languages, what they are, what they do, their nature, their field, and where the landscape of languages might be tomorrow. plain text version follows. --- Back to Computing and Its People. Proliferation of Computing Language

Re: what's so difficult about namespace?

2008-11-26 Thread Xah Lee
Xah Lee wrote: > > i cannot fathom what could possibly be difficult of > > introducing or implementing a namespace mechanism into a language. I > > do not understand, why so many languages that lacks so much needed > > namespace for so long? If it is a social probl

Re: what's so difficult about namespace?

2008-11-26 Thread Xah Lee
eneral, backward compatibility does not fully answer the question of the no namespace problem. Even if it does, the detail or reason is not given in the above and is not something obvious at least to me. Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

Re: what's so difficult about namespace?

2008-11-26 Thread Xah Lee
Xah Lee wrote: > i cannot fathom what could possibly be difficult of > introducing or implementing a namespace mechanism into a language. Joshua Cranmer wrote: >> Namespaces go to the very core of a language, name resolution. >> Retroactively adding such a feature is extremely

Re: what's so difficult about namespace?

2008-11-26 Thread Xah Lee
dumb and blind can all still lead a happy and fruitful life. There is no crisis! Xah ∑ http://xahlee.org/ ☄ On Nov 26, 1:32 pm, Kaz Kylheku <[EMAIL PROTECTED]> wrote: > On 2008-11-26, Xah Lee <[EMAIL PROTECTED]> wrote: > > > > > comp.lang.lisp,comp.lang.functional,comp.la

Re: what's so difficult about namespace?

2008-11-27 Thread Xah Lee
On Nov 26, 4:57 pm, Kaz Kylheku <[EMAIL PROTECTED]> wrote: > On 2008-11-26, Xah Lee <[EMAIL PROTECTED]> wrote: > > > Can you see, how you latched your personal beef about anti software > > crisis philosophy into this no namespace thread? > > I did no such thi

Re: Python surpasses Perl in popularity?

2008-11-29 Thread Xah Lee
Great to see quality post from real expert once in a while. Thanks! Xah ∑ http://xahlee.org/ ☄ On Nov 29, 9:03 am, Stephane CHAZELAS <[EMAIL PROTECTED]> wrote: > There's a common confusion in this in the nature of /bin/sh. > There's no standard (neither POSIX nor Uni

Mathematica 7 compares to other languages

2008-11-30 Thread Xah Lee
athematica/analysis/content/ResearchLanguages.html http://www.wolfram.com/products/mathematica/analysis/content/ScriptingLanguages.html Note: I'm not affliated with Wolfram Research Inc. Xah ∑ http://xahlee.org/ ☄ -- http://mail.python.org/mailman/listinfo/python-list

<    1   2   3   4   5   6   >