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
Here's the belated Java solution. import java.util.List; import java.util.ArrayList; import java.lang.Math; class math { public static List range(double n) { return range(1,n,1); } public static List range(double n, double m) { return range(n,m,1); } public s

Re: tree functions daily exercise: Table

2005-06-12 Thread Xah Lee
Here's the next tree functions exercise in Python, Perl, Java. Other language solutions welcome. http://xahlee.org/tree/tree.html - Table('exprString', [iMax]) generates a list of iMax copies of value of eval('exprString'), and returns the refence to the list. i.e. [ev

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
The Perl version of the Tree function is posted. It's a bit long. Please see the code here: http://xahlee.org/tree/Table.html the choice of having a string as the first argument to Table is a bit awkward in Perl. Possibly i'll have to rewrite it so that the first argument is a function instead, wh

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://xahlee.

Python documentation problem

2005-06-18 Thread Xah Lee
Python documentation, http://python.org/doc/2.4.1/lib/typesfunctions.html - 2.3.10.3 Functions Function objects are created by function definitions. The only operation on a function object is to call it: func(argument-list). There are really two flavors of function objects: buil

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/ -- http://mail.pyt

Re: Python documentation problem

2005-06-18 Thread Xah Lee
> what is wrong with python doc > http://python.org/doc/2.4.1/lib/typesfunctions.html the problem is that the page essentially says nothing. Nothing that is relevant to programing, and such nothingness occupies a significant portion of the python doc. (at least a quarter) It is like reading a manu

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
Here are some Frequently Asked Questions about The Modernization of Emacs. They are slightly lengthy, so i've separated each item per post. The whole article can be found at http://xahlee.org/emacs/modernization.html Q: The Terminology “buffer” and “keybinding” is good as they are.

Re: The Modernization of Emacs: not dumb down

2007-06-19 Thread Xah Lee
Here are some Frequently Asked Questions about The Modernization of Emacs. They are slightly lengthy, so i've separated each item per post. The whole article can be found at http://xahlee.org/emacs/modernization.html Q: Why should emacs want to be popular and why should emacs change

Re: The Modernization of Emacs: technically superior

2007-06-19 Thread Xah Lee
Here are some Frequently Asked Questions about The Modernization of Emacs. They are slightly lengthy, so i've separated each item per post. The whole article can be found at http://xahlee.org/emacs/modernization.html Q: Emacs's ways are technically superior. It should not change. A:

Re: The Modernization of Emacs: exists already

2007-06-19 Thread Xah Lee
Here are some Frequently Asked Questions about The Modernization of Emacs. They are slightly lengthy, so i've separated each item per post. The whole article can be found at http://xahlee.org/emacs/modernization.html Q: Aquamacs already does what you want. A: Aquamacs is a emacs var

Re: The Modernization of Emacs: exists already

2007-07-18 Thread Xah Lee
About a month ago, i posted a message about modernization of emacs. I enlisted several items that i think emacs should adapt. Today I added another section to the frequestly asked questions. The new section is pasted below. The full article can be found at http://xahlee.org/emacs/modernization.htm

The Hack of bitmask used as Predicate Parameters

2007-04-23 Thread Xah Lee
In this article, i explain how the use of bit masks is a hack in many imperative languages. Often, a function will need to take many True/False parameters. For example, suppose i have a function that can draw a rainbow, and each color of the rainbow can be turned on or off individually. My functio

ignorance and intolerance in computing communties

2007-05-02 Thread Xah Lee
Today, a motherfucker Christophe Rhodes (aka Xof in irc://chat.freenode.net/lisp ) kicked banned me. Here's the few relevant excerpt. (full, unedited excerpt will be published if there is a public interest) Begin excerpt: [5:31am] k, here is a simple problem but rather tedious to do it correctly

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
Nameless wrote: « Python has readable syntax, a huge library, and bindings for what seems like every major in linux. Perl has CPAN. It seems with those languages if you want to do something all you have to do is import functionality from a library someone had written and use that. In lisp you'd ha

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
Prefix, Infix, Postfix notations in Mathematica 2000-02-21, 2007-05 [In the following essay, I discuss prefix, infix, postfix notations and Mathematica's syntax for them. The full HTML formatted article is available at: http://xahlee.org/UnixResource_dir/writ/notations.html ] THE HEAD OF EXPRESS

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
The following is a FAQ from emacs modernization http://xahlee.org/emacs/modernization.html Q: Emacs's undo is superior, because the prevalent Undo/Redo system actually loss info. A: Emac's undo is very confusing and does not have a Redo command. To redo after a undo, people are told to type somet

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

2007-08-19 Thread Xah Lee
Dear computing comrades, Today, i'd like to show you a piece of literature written by a eminent mathematician Edsger W Dijkstra. Here's 2 interesting quote from his letter: “The prevaling attitude was reflected in the creation of two literary figures — admittedly of rather poor literature, but n

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

2007-08-24 Thread Xah Lee
2007-08-24 Steve Holden wrote: «It's already well-established that there's no point flamingXahLee, as he's pretty much an output-only source. See any responses from him on this thread?» Hum? so you want to dance? FYI, i have made a second post to this thread. See: http://groups.google.com/group/

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 Wed, 29 Aug 2007 08:47:27 -0700,XahLeewr

printing list containing unicode string

2007-09-10 Thread Xah Lee
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'\u1234' notation? i.e. i want it print just like this: [[u"→"], ...] I can of course write a loop then for each string use

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
On Sep 10, 5:25 am, Harshad Modi <[EMAIL PROTECTED]> wrote: > hello , > I make one function for encoding latin1 to utf-8. but i think it is > not work proper. > plz guide me. Hi, what you want is here, including complete code: Converting a File's "Character Set" / Encoding http://xahlee.org/perl

Re: printing list containing unicode string

2007-09-10 Thread Xah Lee
This post is about some notes and corrections to a online article regarding unicod and python. -- by happenstance i was reading: Unicode HOWTO http://www.amk.ca/python/howto/unicode Here's some problems i see: ・ No conspicuous authorship. (however, oddly, it has a conspicuous ackno

Re: printing list containing unicode string

2007-09-11 Thread Xah Lee
J. Cliff Dyer wrote: " ...UCS-2, for example, is a fixed width, 2-byte encoding that can handle any unicode code point up to 0x, but cannot handle the 3 and 4 byte extension sets. " I was going to reply to say that this is a good point. But on my way i looked up wikipedia, http://en.wikipedia

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
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 newsgroup communities in general, in part thru your numero

is laziness a programer's virtue?

2007-04-16 Thread Xah Lee
2007-03-29 Dear tech geekers, In a couple of posts in the past year i have crossed-posted (e.g. recently “What are OOP's Jargons and Complexities”, “is laziness a programer's virtue?”, “On Java's Interface (the meaning of interface in computer programing)” ), there are a some controversy, and lot

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
When i first heard about distributed revision control system about 2 years ago, i heard of Darcs, which is written in Haskell. I was hugely excited, thinking about the functional programing i love, and the no- side effect pure system i idolize, and the technology of human animal i rapture in daily.

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

2007-10-22 Thread Xah Lee
TeX, in my opinion, has done massive damage to the computing world. i have written on this variously in emails. No coherent argument, but the basic thoughts are here: http://xahlee.org/cmaci/notation/TeX_pestilence.html it's slightly repeatitous there. But i think i might summarize in gist the fe

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
... continued from previous post. PS I'm cross-posting this post to perl and python groups because i find that it being a little know fact that emacs lisp's power in the area of text processing, are far beyond Perl (or Python). ... i worked as a professional perl programer since 1998. I started t

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
Every few months, i receive a hearty letter about how well people agree with my criticism of Python's docs. (see http://xahlee.org/perl-python/python_doc_index.html ) Here's one received this week: -- Hello, I landed on your website's comments about the Python doc

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 another one. > > Instead

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
i've long time been interested in algorithmic mathematical art. That is, mathematical or algorithmic visual art works that are generated by computer such that the program's source code reflects the algorithmic essence of the visual quality in the art work. (for detail, see Algorithmic Mathematical

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
Software Needs Philosophers by Steve Yegge, 2006-04-15. Software needs philosophers. This thought has been nagging at me for a year now, and recently it's been growing like a tumor. One that plenty of folks on the 'net would love to see kill me. People don't put much stock in philosophers these

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
I'm sorry to trouble everyone. But as you might know, due to my controversial writings and style, recently John Bokma lobbied people to complaint to my web hosting provider. After exchanging a few emails, my web hosting provider sent me a 30-day account cancellation notice last Friday. I'm not sur

Re: reading file to list

2009-01-17 Thread Xah Lee
comp.lang.lisp,comp.lang.scheme,comp.lang.functional,comp.lang.python,comp.lang.ruby Here's a interesting toy problem posted by Drew Krause to comp.lang.lisp: On Jan 16, 2:29 pm, Drew Krause wrote [paraphrased a bit]: OK, I want to create a nested list in Lisp (always of

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
a idiot wrote: > Yes, Jillian also has nested maps: the issue here, is not about whether Ruby has nested map or not. It is about illustrating a lisp problem. In particular, nested syntax impedes the functional programing paradigm of function chaining. • A Ruby Illustration of Lisp Problems ht

Re: reading file to list

2009-01-18 Thread Xah Lee
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). Few comments: • the above code is borderline of atypical. e.g. it is not a average python code would produce or one'd seen in corporate python code. • voodoo like t

Re: calling an external program and capturing the output

2009-01-18 Thread Xah Lee
On Jan 18, 8:41 am, Eric wrote: > Coming from a perl background I'm new to the Python world. I need to > read a list of values, send each value to an external program and > capture and act on the output of that program. Reading and parsing the > initial values is not a problem but I can't seem to

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
On Jan 20, 7:51 pm, Terry Reedy wrote: > Rhodri James wrote: > > Computer languages are not human languages, but computer language > > constructs do attempt to map onto human language constructs to > > provide some measure of comprehensibility. Where a construct like > > list comprehension maps v

Re: reading file to list

2009-01-21 Thread Xah Lee
Rhodri James wrote: > I recommend spending less time being certain that you are correct > without seeking evidence I don't concur. For instance, when you are talking to a bunch of kids, you have to be sure of yourself, else they run all over you, even if they didn't mean to be rude. Also, one's

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
recently, as you might have noted by a previous post of mine, that American Mathematical Society published a series of articles on formal proofs in 2008 November. See: http://www.ams.org/notices/200811/ The articles are: • Formal Proof by Thomas Hales • Formal Proof — The Four-Color Theorem by G

Re: OCaml, Language syntax, and Proof Systems

2009-01-23 Thread Xah Lee
ok, i've been reading these Ocaml tutorials in the past few days: intro to ocaml, from official site http://caml.inria.fr/pub/docs/manual-ocaml/manual003.html “Objective CAML Tutorial”, most cited tutorial on the web http://www.ocaml-tutorial.org/ None of them are perfect, but much better than h

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 ∑ http://xahle

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
Addendum: The above is not a terrible insight, but i suppose it should be useful for some application. Today, there's huge number of languages, each screaming ME! To name a few that are talked about by geekers, there's Arc, Clojure, Scalar, F#, Erlang, Ruby, Groovy, Python 3, Perl6. (for a big lis

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
oftware used by lots of people? - On Feb 4, 10:36 pm, Xah Lee wrote: yes and no. The problem is that such opinion is not a scientific opinion. It can't be verified or denied. Any dynamic lang, such as Python, PHP, Ruby, Mathematica can be said the same thing. And, prob mor

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
syntax that represent a tree purely [was X#] On Jan 21, 3:13 am, Pascal Costanza wrote: > LOL: http://www.xsharp.org/samples/ Today, i was nosing about some blogs, which made me come to: http://blog.fogus.me/2009/02/06/yegge-clojure-arc-and-lolita-or-days-of-future-past in which he wrote: «Now

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
herald: Python surpasses Perl in popularity! According to “TIOBE Programming Community Index for November 2008” at http://www.tiobe.com/content/paperinfo/tpci/index.html it seems that Python has surpassed Perl in popularity this month! Good for Python! From my own personal experience in the pro

what's so difficult about namespace?

2008-11-25 Thread Xah Lee
comp.lang.lisp,comp.lang.functional,comp.lang.perl.misc,comp.lang.python,comp.lang.java.programmer 2008-11-25 Recently, Steve Yegge implemented Javascript in Emacs lisp, and compared the 2 languages. http://steve-yegge.blogspot.com/ http://code.google.com/p/ejacs/ One of his point is about emac

Re: what's so difficult about namespace?

2008-11-26 Thread Xah Lee
On Nov 26, 5:45 am, Joshua Cranmer <[EMAIL PROTECTED]> wrote: > > i cannot fathom what could possibly be difficult of > > introducing or implementing a namespace mechanism into a language. > > Namespaces go to the very core of a language, name resolution. > Retroactively adding such a feature is ex

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
On Nov 26, 8:42 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > XahLeewrote: > >> The IT community has enough trouble getting a few ISPs to upgrade their > >> DNS software. How are you going to get millions of general users to > >> upgrade? > > > alright, that's speaks for Javascript. > > > But how

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 Unix) that specifies that > /b

Mathematica 7 compares to other languages

2008-11-30 Thread Xah Lee
Wolfram Research's Mathematica Version 7 has just been released. See: http://www.wolfram.com/products/mathematica/index.html Among it's marketing material, it has a section on how mathematica compares to competitors. http://www.wolfram.com/products/mathematica/analysis/ And on this page, there

Re: Mathematica 7 compares to other languages

2008-11-30 Thread Xah Lee
On Nov 30, 7:30 pm, Xah Lee <[EMAIL PROTECTED]> wrote: > Wolfram Research's Mathematica Version 7 has just been released. > > See: http://www.wolfram.com/products/mathematica/index.html > > Among it's marketing material, it has a section on how mathematica

Re: Mathematica 7 compares to other languages

2008-12-02 Thread Xah Lee
2008-12-01 On Dec 1, 4:06 pm, Jon Harrop <[EMAIL PROTECTED]> wrote: > Xah Lee wrote: > > And on this page, there are sections where Mathematica is compared to > > programing langs, such as C, C++, Java, and research langs Lisp, > > ML, ..., and scripting langs Python,

Re: Mathematica 7 compares to other languages

2008-12-02 Thread Xah Lee
On Dec 2, 12:21 pm, Lew <[EMAIL PROTECTED]> wrote: > Xah Lee wrote: > > LOL Jon. r u trying to get me to do otimization for you free? > > These are professional software development forums, not some script- > kiddie cellphone-based chat room. "r" is spel

Re: Mathematica 7 compares to other languages

2008-12-02 Thread Xah Lee
On Dec 2, 5:13 pm, Jon Harrop <[EMAIL PROTECTED]> wrote: > XahLeewrote: > > On Dec 1, 4:06 pm, Jon Harrop <[EMAIL PROTECTED]> wrote: > >> Mathematica is a whopping 700,000 times slower! > > > LOL Jon. r u trying to get me to do otimization for you free? > > > how about pay me $5 thru paypal? I'm pr

<    1   2   3   4   5   6   >