Re: With this artifact, everyone can easily invent new languages

2014-01-11 Thread Simeon Chaos
Thank you, James. I didn't know this group before. I'll post this message there. 在 2014年1月11日星期六UTC+8下午3时47分33秒,James Harris写道: > "Simeon Chaos" wrote in message > > news:bb7d8d30-845a-4a3d-9b03-dee71ef42986 @googlegroups.com... > > > ? 2014?1

Re: With this artifact, everyone can easily invent new languages

2014-01-10 Thread Simeon Chaos
Yes, it's complex to design a new language. So don't let the tool stand in the way. There is a saying: Grinding a chopper will not hold up the work of cutting firewood. 在 2014年1月11日星期六UTC+8上午10时17分33秒,Chris Angelico写道: > On Sat, Jan 11, 2014 at 11:59 AM, Simeon Chaos wrote: >

With this artifact, everyone can easily invent new languages

2014-01-10 Thread Simeon Chaos
How is peasy (https://github/chaosim/peasy) simpler and more powerful than other parser tools? Simpler and more powerful? Maybe it is a bit contrary to common sense. True or false? To affirm, please give this project (https://github.com/chaosim/peasy) a glimpse at first. Because of being simple

Peasy: an easy but powerful parser

2013-08-26 Thread Simeon Chaos
I've released Peasy, which is an easy but powerful parser. Peasy brings a new method to write the parser. with Peasy, you write the parser by hand, just like to write any other kind of program. Do not be confused by "by hand", with the method brought by Peasy, it's easier and more powerful

dao 0.7.4 released

2011-11-10 Thread Simeon Chaos
What's new in dao 0.7.4? *Release date: 2011-11-10 * new in code: * quasiquote, unquote, unquote_slicing is implemented. * directly evaluate sexpression in solver * some builtins for define, set and get global, outer and local var

Re: overview on dao

2011-11-09 Thread Simeon Chaos
On Nov 9, 8:55 am, MRAB wrote: > On 09/11/2011 00:13, Simeon Chaos wrote: > > > > > > > > > > > On Nov 9, 1:52 am, Dennis Lee Bieber  wrote: > >> On Mon, 7 Nov 2011 21:10:59 -0800 (PST), Simeon Chaos > >>  declaimed the following in > &g

Re: overview on dao

2011-11-08 Thread Simeon Chaos
On Nov 9, 1:52 am, Dennis Lee Bieber wrote: > On Mon, 7 Nov 2011 21:10:59 -0800 (PST), Simeon Chaos > declaimed the following in > gmane.comp.python.general: > > > Dao is a a functional logic solver (similar to lambdaProlog, Curry) > > written in python. The links

simpler over view on dao: a functional logic solver with builtin parsing power, and dinpy, the sugar syntax for dao in python

2011-11-07 Thread Simeon Chaos
Dao is a a functional logic solver (similar to lambdaProlog, Curry) written in python. The links related to dao are here: pypi distribution and document: http://pypi.python.org/pypi/daot code repository: https://github.com/chaosim/dao dao groups on google: http://groups.google.com/group/daot, d.

overview on dao

2011-11-07 Thread Simeon Chaos
Dao is a a functional logic solver (similar to lambdaProlog, Curry) written in python. The links related to dao are here: pypi distribution and document: http://pypi.python.org/pypi/daot code repository: https://github.com/chaosim/dao dao groups on google: Group name: daot, Group home page: http:/

What would happen when lisp meets prolog in python? Dao and Dinpy arises!

2011-11-05 Thread Simeon Chaos
Dao is the new generation programming system implemented by a functional logic solver, unifying code with data, grammar with program, logic with functional, compiling with running. Would you please to have a look at my dao and dinpy? http://pypi.python.org/pypi/daot https://github.com/chaosim/dao

Re: Desktop Notification/Alerts In Python

2006-08-29 Thread Chaos
alex23 wrote: > Chaos wrote: > > I am looking for ways to have a Desktop Alert, like the one most IM > > Messengers have (MSN, AIM) at the lower right above the taskbar. Can > > anyone point me to the right resources to use? > > Under Windows, they're called "

Desktop Notification/Alerts In Python

2006-08-28 Thread Chaos
I am looking for ways to have a Desktop Alert, like the one most IM Messengers have (MSN, AIM) at the lower right above the taskbar. Can anyone point me to the right resources to use? -- http://mail.python.org/mailman/listinfo/python-list

Reference Variables In Python Like Those In PHP

2006-08-15 Thread Chaos
Is It possible to have reference variables like in PHP ex. This would show 2 2 Is this available in python? -- http://mail.python.org/mailman/listinfo/python-list

Finding if Python Is Running In Console (python.exe) or Window (pythonw.exe)

2006-08-14 Thread Chaos
Does anyone know how to find where python is running from. I cant find the answer to this anywahere on google or the docs. I know its there because Ive seen ti done before. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython ListBook Class, Label Position w/ ImageList

2006-08-12 Thread Chaos
jean-michel bain-cornu wrote: > Hi, > > By default the label position of an image list is below the image. Is > > there any way to change this? > > > > If it exists, it's undocumented, and there is not a sample. > Did you ask the wx forum ? It's probably a better place to have this > kind of infor

wxPython ListBook Class, Label Position w/ ImageList

2006-08-12 Thread Chaos
By default the label position of an image list is below the image. Is there any way to change this? -- http://mail.python.org/mailman/listinfo/python-list

Urllib2/Pycurl/HTTP Speeds?

2006-08-08 Thread Chaos
For the Program I Am Making I Make Multiple HTTP Request to My Server. I found that using urllib2 it was pretty slow, when I activated the program and tested it it would hang from 2secs-5secs since I am doing it multiple times I wanted to speed it up by using pycurl. But I got the samething. Here i

Re: Fastest Way To Loop Through Every Pixel

2006-08-05 Thread Chaos
Fredrik Lundh wrote: > Chaos wrote: > > > I have tried PIL. Not only that, but the Image.eval function had no > > success either. I did some tests and I found out that Image.eval only > > called the function a certain number of times either 250, or 255. > > Unless I

Re: Fastest Way To Loop Through Every Pixel

2006-07-30 Thread Chaos
Paul McGuire wrote: > "Paul McGuire" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > "Chaos" <[EMAIL PROTECTED]> wrote in message > > news:[EMAIL PROTECTED] > > > > > > > > > myCol = (0.3 * imag

Re: Fastest Way To Loop Through Every Pixel

2006-07-29 Thread Chaos
nikie wrote: > Chaos wrote: > > > As my first attempt to loop through every pixel of an image, I used > > > > for thisY in range(0, thisHeight): > > for thisX in range(0, thisWidth): > > #Actions here for Pixel thisX,

Re: Fastest Way To Loop Through Every Pixel

2006-07-29 Thread Chaos
nikie wrote: > Chaos wrote: > > > As my first attempt to loop through every pixel of an image, I used > > > > for thisY in range(0, thisHeight): > > for thisX in range(0, thisWidth): > > #Actions here for Pixel thisX,

Re: Fastest Way To Loop Through Every Pixel

2006-07-27 Thread Chaos
Simon Forman wrote: > Chaos wrote: > > As my first attempt to loop through every pixel of an image, I used > > > > for thisY in range(0, thisHeight): > > for thisX in range(0, thisWidth): > > #Actions here for Pixel thisX, th

Re: Fastest Way To Loop Through Every Pixel

2006-07-27 Thread Chaos
Chaos wrote: > John Machin wrote: > > Chaos wrote: > > > As my first attempt to loop through every pixel of an image, I used > > > > > > for thisY in range(0, thisHeight): > > > for thisX in range(0, thisWidth): > > >

Re: Fastest Way To Loop Through Every Pixel

2006-07-27 Thread Chaos
John Machin wrote: > Chaos wrote: > > As my first attempt to loop through every pixel of an image, I used > > > > for thisY in range(0, thisHeight): > > for thisX in range(0, thisWidth): > > #Actions here for Pixel thisX, this

Fastest Way To Loop Through Every Pixel

2006-07-27 Thread Chaos
As my first attempt to loop through every pixel of an image, I used for thisY in range(0, thisHeight): for thisX in range(0, thisWidth): #Actions here for Pixel thisX, thisY But it takes 450-1000 milliseconds I want speeds less than 10 milliseconds I have t