, Sam Denton [EMAIL PROTECTED] wrote:
John Salerno wrote:
Dave Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On May 20, 7:05 pm, Collin [EMAIL PROTECTED] wrote:
---
For example, consider the two statements:
x = 8
x = 10
The reaction from most math
PROTECTED] wrote:
On Wed, 11 Jun 2008 07:36:59 -0700 (PDT), Dave Parker
[EMAIL PROTECTED] declaimed the following in
comp.lang.python:
Yes you can. I don't know how to do it in Python, but here's an
example in Flaming Thunder of a small, fast, light compiled server
side CGI that delivers
On Jun 11, 7:59 am, Lie [EMAIL PROTECTED] wrote:
You can't make the browser refresh automatically in the server side,
Yes you can. I don't know how to do it in Python, but here's an
example in Flaming Thunder of a small, fast, light compiled server
side CGI that delivers dynamic content every
out the News and Docs at http://www.flamingthunder.com/
On Jun 5, 7:57 am, Dan Upton [EMAIL PROTECTED] wrote:
On Thu, Jun 5, 2008 at 9:43 AM, John Salerno [EMAIL PROTECTED] wrote:
Dave Parker [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On May 20, 7:05 pm, Collin [EMAIL PROTECTED
Dan Upton wrote:
I just think if you're shooting for an easily understandable
language, overloading error handling requires more thought on the
programmer's part, not less, because they have to reason about all
outcomes
Duncan Booth wrote:
Maybe FT should do something similar:
Writeline
.
On May 22, 4:19 pm, Brian Quinlan [EMAIL PROTECTED] wrote:
Dave Parker wrote:
Or just:
If command is quit ...
Hmmm. In Flaming Thunder, I'm using is (and is an, is a, etc)
for assigning and checking types. For example, to read data from a
file and check for errors:
Read data
:30 am, Nick Craig-Wood [EMAIL PROTECTED] wrote:
Dave Parker [EMAIL PROTECTED] wrote:
But after getting input from children and teachers, etc, it started
feeling right.
For example, consider the two statements:
x = 8
x = 10
The reaction from most math teachers
[EMAIL PROTECTED] wrote:
Dave Parker [EMAIL PROTECTED] wrote:
Catch also gives you a
single, uniform, syntactically unambiguous way to embed statements (or
whole statement lists) into expressions -- without causing the
syntactic problems of = statements in if statements or the obfuscation
On May 28, 12:09 pm, Luis Zarrabeitia [EMAIL PROTECTED] wrote:
Following your posts in this thread, I see that
you 'plan to add soon' every cool feature that every other language seems to
have.
I've already added a lot of them. For example, loops that don't need
looping variables:
For 1000
On May 28, 12:48 pm, Dan Upton [EMAIL PROTECTED] wrote:
there's no reason set itself
should throw any sort of error in the sense of an exception--in a
statement like Set x to SomeFunctionThatCanBlowUp(), the semantics
should clearly be that the error comes from the function. In a simple
On May 28, 3:19 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Kind of like how this year's program won't work on next year's
Python?
For somebody who has admitted to have only very rudimentary knowledge of
python that's a pretty bold statement, don't you think?
Everthing I know, I learned
20, 4:20 am, Dave Parker [EMAIL PROTECTED] wrote:
I [EMAIL PROTECTED] wrote:
Plus, me getting paid to work on Flaming Thunder is far more
motivating than me not getting paid to work on Python.
On May 14, 8:30 pm, John Salerno [EMAIL PROTECTED] wrote:
That's truly disappointing
:33 am, Dave Parker [EMAIL PROTECTED] wrote:
On May 14, 7:59 pm, John Salerno [EMAIL PROTECTED] wrote:
Would it be valid to say:
x = concrete
or to say:
if command (is) set to quit
??
I like the idea of:
If command is set to quit ...
Or just:
If command is quit
On May 20, 7:05 pm, Collin [EMAIL PROTECTED] wrote:
Personally, FT is a bit meh to me. The way you issue your statements I
always think something is wrong, mainly because when I want to define,
say, x, in python I'd go:
x = whatever
Instantly noting that I defined x. While in Flaming
On May 21, 10:00 am, Dan Upton [EMAIL PROTECTED] wrote:
Sounds to me like the teacher is being difficult, ...
No, proof-by-contradiction is a common technique in math. If you can
show that x=8 and x=10, then you have shown that your assumptions were
incorrect.
If you can't do, or don't like,
On May 21, 1:14 pm, MRAB [EMAIL PROTECTED] wrote:
I wonder whether is could be used both for x is value and x is a
type without causing a problem:
If command is a string ...
If command is quit ...
I think you are right. I like If command is quit For a user
who wasn't mathemetically
On May 21, 1:29 pm, Dan Upton [EMAIL PROTECTED] wrote:
... --somewhat akin to the
guy who a month or so ago wanted to sneakily teach his high school
class programming fundamentals by teaching them game programming.
Yep, that's kind of my plan, too. After I get enough computer
languagey stuff
On May 21, 12:38 pm, Mark Dickinson [EMAIL PROTECTED] wrote:
a+0.999 # gives expected result
9998.0
a+0. # doesn't round correctly.
1.0
Shouldn't both of them give .0?
I wrote the same program under Flaming Thunder:
Set a to
On May 21, 2:44 pm, Jerry Hill [EMAIL PROTECTED] wrote:
My understand is no, not if you're using IEEE floating point.
Yes, that would explain it. I assumed that Python automatically
switched from hardware floating point to multi-precision floating
point so that the user is guaranteed to always
On May 21, 3:17 pm, Chris Mellon [EMAIL PROTECTED] wrote:
If you're going to use every post and question about Python as an
opportunity to pimp your own pet language you're going irritate even
more people than you have already.
Actually, I've only posted on 2 threads that were questions about
On May 21, 3:19 pm, Dan Upton [EMAIL PROTECTED] wrote:
The fact is, sometimes it's better to get it fast and be good enough,
where you can use whatever methods you want to deal with rounding
error accumulation.
I agree.
I also think that the precision/speed tradeoff should be under user
On May 21, 3:41 pm, Chris Mellon [EMAIL PROTECTED] wrote:
When told why you got different results (an answer you
probably already knew, if you know enough about IEEE to do the
auto-conversion you alluded to) ...
Of course I know a lot about IEEE, but you are assuming that I also
know a lot
On May 21, 4:21 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Which is exactly what the python decimal module does.
Thank you (and Jerry Hill) for pointing that out. If I want to check
Flaming Thunder's results against an independent program, I'll know to
use Python with the decimal module.
--
On May 21, 7:49 pm, MRAB [EMAIL PROTECTED] wrote:
I've thought of one possible drawback: a and an can be used as
variables, so the is a part might cause a problem. You'd need to
check the parser to find out...
Good point, I hadn't noticed that. I'll check it out.
--
On May 21, 7:01 pm, Carl Banks [EMAIL PROTECTED] wrote:
The crucial thing is not to slow down the calculations with useless
bells and whistles.
Are you running your simulations on a system that does or does not
support the useless bell and whistle of correct rounding? If not,
how do you
Your point about for-loops was applicable not only to Python, but to
many other programming languages. So in response, I've added two new
for-loop variations to Flaming Thunder.
The two new variations are for-forever-do and for-expression-times-do.
For-forever allows you to explicitly create
I [EMAIL PROTECTED] wrote:
Plus, me getting paid to work on Flaming Thunder is far more
motivating than me not getting paid to work on Python.
On May 14, 8:30 pm, John Salerno [EMAIL PROTECTED] wrote:
That's truly disappointing.
I guess I could have stated that better. Flaming Thunder
On May 13, 11:42 am, Grant Edwards [EMAIL PROTECTED] wrote:
Well, python will definitely never have a name that sounds like
a slang term for happens after you get food poisioning at a
Thai restaurant...
:)
--
http://mail.python.org/mailman/listinfo/python-list
On May 14, 7:59 pm, John Salerno [EMAIL PROTECTED] wrote:
Would it be valid to say:
x = concrete
or to say:
if command (is) set to quit
??
I like the idea of:
If command is set to quit ...
I've added it to my list of things to think about, and possibly
implement.
--
REXX's loop construct subsumes all the common uses... And worse, it
appears that a repetition and a condition can be part of the single
statement.
Thank you for pointing out the REXX examples. I am a Kedit user, but
had forgotten about the REXX do-loops. I'll keep them in mind when I
On May 12, 11:52 pm, [EMAIL PROTECTED] wrote:
I do hold an argument that one can make too much money for one's own
good quality of life.
As do I; I think there is an optimal amount. Too little, and you
waste time gathering food. Too much, and you waste time gathering
money.
Am I trying to
to tell a computer what they
want it to do, without having to know very much about how the computer
does it.
On May 13, 3:18 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Dave Parker wrote:
On May 12, 7:20 pm, [EMAIL PROTECTED] wrote:
Yes, I am trying to visualize something.
If it is related
On May 13, 7:44 am, [EMAIL PROTECTED] wrote:
I am not convinced that the colorspace occupies three dimensions necessarily.
Apparently there are some people -- called tetrachromats -- who can
see color in four dimensions. They have extra sets of cones in their
retinas containing a different
] wrote:
On May 13, 8:32 am, Dave Parker [EMAIL PROTECTED] wrote:
Don't let yourself be irritated by castironpi
I'm not the sort to get irritated by anyone. There is value in all
interaction.
Not this interaction, I'm afraid. What irritates *me* about
castironpi is that he uses
5-10 times faster for what kind of code?
Mostly numerical analysis and CGI scripting. All of Flaming Thunder's
library code is in assembly language, and Flaming Thunder creates
statically-linked pure syscall CGI scripts.
I don't see anything that resembles OO features of python, ...
True.
when
manipulating symbolic equations:
Set QuadraticEquation to a*x^2 + b*x + c = 0.
On May 13, 9:50 am, Dan Upton [EMAIL PROTECTED] wrote:
On Tue, May 13, 2008 at 11:24 AM, Dave Parker
[EMAIL PROTECTED] wrote:
The Flaming Thunder looks promising, but without being free
software, it's
Just to support this statement: PHP runs an order of magnitude slower than
python. Yet a great deal (if not the majority) of dynamic sites out there
run under PHP. All of these are unhappy customers?
The websites owners might not be unhappy, but lots of customers
complain about slow websites,
restrictions
on how you use your source code or the executables you create. There
is no GNU license that you need to worry about.
On May 13, 11:06 am, hdante [EMAIL PROTECTED] wrote:
On May 13, 12:24 pm, Dave Parker [EMAIL PROTECTED]
wrote:
The Flaming Thunder looks promising, but without
Who has conducted the research that supports that statement? And since when
is ^ the better operator for to the power of that **? Because latex uses
it? I need to see the elementary school students who use that...
All of the calculators and textbooks that elementary school students
use, use ^
costumers of FT?
2008/5/13 Dave Parker [EMAIL PROTECTED]:
5-10 times faster for what kind of code?
Mostly numerical analysis and CGI scripting. All of Flaming Thunder's
library code is in assembly language, and Flaming Thunder creates
statically-linked pure syscall CGI scripts
Time for me to get back to work now. Thank you all for your comments,
they will help to make Flaming Thunder a better product. I can see
that many people would like the ability to link to existing
applications and libraries, etc, so I will raise that on my priority
list.
--
I've read that one of the design goals of Python was to create an easy-
to-use English-like language. That's also one of the design goals of
Flaming Thunder at http://www.flamingthunder.com/ , which has proven
easy enough for even elementary school students, even though it is
designed for
On May 10, 8:19 pm, John Salerno [EMAIL PROTECTED] wrote:
It seems somewhat
artificial to use the for loop to do something a certain number of
times, like above.
I agree; it's a common flaw with lots of languages, not just Python.
I'd be inclined to use something like:
FOR 8 TIMES DO
On May 12, 6:32 pm, [EMAIL PROTECTED] wrote:
Can you render some furniture for me... to try to see some human
posture to lowest energy levels.
Not yet; Flaming Thunder doesn't have built-in graphics yet. But
we're incorporating the graphics from www.dpgraph.com , so when that's
finished, then
On May 12, 6:32 pm, [EMAIL PROTECTED] wrote:
Can you render some furniture for me... to try to see some human
posture to lowest energy levels.
I couldn't find any furniture created using DPGraph, but the math art
gallery at http://www.dpgraph.com/math-art.html has a sailboat, an
F15, Tux (the
On May 12, 7:12 pm, [EMAIL PROTECTED] wrote:
Mine's been always messing up the color wheel.
Messing up in what way? Are you using the colors to visualize
something?
--
http://mail.python.org/mailman/listinfo/python-list
On May 12, 7:20 pm, [EMAIL PROTECTED] wrote:
Yes, I am trying to visualize something.
If it is related to making furniture comfortable for humans, have you
considered painting the furniture with thermochromic paint (
http://en.wikipedia.org/wiki/Thermochromism )? It changes color in
response to
47 matches
Mail list logo