Trajectories

Eleanor McHugh wrote:

Yes you can: Futures and promises - Wikipedia

Looks like there’s no gem for this.
Yet.

On 17 Nov 2009, at 18:22, Marnen Laibow-Koser wrote:

(among other things) it never returns. Need a lazy functional language
for that kind of thing. (If that even suffices…)

You can’t manipulate the future in any language that I’m aware of –
it’s not there to manipulate yet! Are you thinking of lisp’s
tail-recursion optimization?

Yes you can: Futures and promises - Wikipedia

Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net

raise ArgumentError unless @reality.responds_to? :reason

Aldric G. wrote:

Eleanor McHugh wrote:

Yes you can: Futures and promises - Wikipedia

Wow, that’s very interesting – thanks for the reference.

Looks like there’s no gem for this.
Yet.

But there will be in the future. Perhaps we can require it now, and
block evaluation until the future is resolved. :smiley:

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On Nov 17, 2009, at 1:27 PM, Aldric G. wrote:

Eleanor McHugh wrote:

Yes you can: Futures and promises - Wikipedia

Looks like there’s no gem for this.
Yet.

http://moonbase.rydia.net/software/lazy.rb/

James Edward G. II

On Sun, Nov 15, 2009 at 2:13 PM, Rick DeNatale [email protected]
wrote:

When I was a young lad, it used to be that young programmers took a
semester long course on numerical analysis, which started with, and
continuously came back to dealing with the properties of floating
point numbers.

I guess that doesn’t happen much anymore.

I took numerical analysis, but ironically, only after dropping my CS
major and going for a math major.
Also, I’ll content that abstract algebra was about the best course
I’ve taken for helping the way I think about programming.

Too bad the CS students are all too busy trying to get their Java/C++
projects to compile :slight_smile:

James Edward G. II wrote:

On Nov 17, 2009, at 1:27 PM, Aldric G. wrote:

Eleanor McHugh wrote:

Yes you can: Futures and promises - Wikipedia

Looks like there’s no gem for this.
Yet.

http://moonbase.rydia.net/software/lazy.rb/

James Edward G. II

Well, that’ll teach me. How did you find it, out of sheer curiosity? I
did not use lazy as a keyword, so maybe that was it…

On Sun, Nov 15, 2009 at 8:22 PM, Eleanor McHugh
[email protected] wrote:

On 16 Nov 2009, at 01:12, Todd B. wrote:

On Sun, Nov 15, 2009 at 5:32 PM, Eleanor McHugh
This isn’t an issue of chaotic behaviour (that has a very fixed meaning
mathematically) but of unnoticeable error.

I’m talking about result. A small difference in initial conditions
causes big problem.

The difference between 1e10-13
and 2e10-13 matters a lot when working on a system which needs to be
accurate to a resolution of 1e10-14 but not when working to a resolution of
1e10-4. The additional nine decimal places tell us nothing meaningful in
this latter case as we’ll still end up rounding the result to zero.

Right, sort of. See below.

That’s not a bug but a fundamental outcome of the nature of binary coded
non-integral numbers. Many rational non-integral numbers cannot be expressed
accurately in binary representations, whilst binary coded decimal brings a
whole host of other problems: lower information density, higher memory
usage, and heavier processing load. BCD also does nothing to resolve the
problem of how to represent irrational numbers such as ð.

Ok, not a bug. Just makes you want to scream at somebody (yes the
game thing happened to me recently). The binary inaccuracy thing has
been beaten to death on this list, but you’re right.

The imprecision can indeed stack for complex ballistics systems, depending
on the complexity of the forces involved. However to the extent of the
precision chosen for performing these calculations the resultant inaccuracy
is irrelevant.

I agree. I thought we were talking about a simple game. In any case,
small perversions in data (i.e. rounding beforehand) can cause certain
systems to go haywire. If you stay, for example, at 1e10-4 from the
beginning, you could end up with errors several orders of magnitude
higher, so the “just rounding to zero anyway” argument doesn’t make
sense. This probably doesn’t apply so much in a simple parabolic
equation, but the equation is still nonlinear, so one must be terribly
wary. Error analysis class was way too long ago, otherwise I’d give
an example. If somebody wants to step in, please do.

Accuracy and precision - Wikipedia explains all of this in
reasonable detail.

Ah, yes, the first thing you learn when studying engineering. I’m
guessing the only thing affected in the result would be accuracy.
Just a guess.

Todd

On Nov 17, 2009, at 1:54 PM, Aldric G. wrote:

http://moonbase.rydia.net/software/lazy.rb/

James Edward G. II

Well, that’ll teach me. How did you find it, out of sheer curiosity? I
did not use lazy as a keyword, so maybe that was it…

I’ve just been reading this list forever and knew it existed. I had an
unfair advantage. :wink:

Lazy evaluation was a popular topic in Ruby circles sometime back. That
was when Lazy.rb was invented. I looked into it quite a bit while
writing this old blog post:

http://blog.grayproductions.net/articles/infinite_streams

James Edward G. II

On 17 Nov 2009, at 19:55, Gregory B. wrote:

major and going for a math major.
Also, I’ll content that abstract algebra was about the best course
I’ve taken for helping the way I think about programming.

Too bad the CS students are all too busy trying to get their Java/C++
projects to compile :slight_smile:

Never hire a computer scientist if you can get a maths, physics or
philosophy grad instead :wink:

Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net

raise ArgumentError unless @reality.responds_to? :reason

Eleanor McHugh wrote:

On 17 Nov 2009, at 19:55, Gregory B. wrote:

major and going for a math major.
Also, I’ll content that abstract algebra was about the best course
I’ve taken for helping the way I think about programming.

Too bad the CS students are all too busy trying to get their Java/C++
projects to compile :slight_smile:

Never hire a computer scientist if you can get a maths, physics or
philosophy grad instead :wink:

Yup. Or music. :smiley:

Ellie

Best,

Marnen Laibow-Koser
Composer / Web developer
http://www.marnen.org
[email protected]

On 18 Nov 2009, at 02:30, Marnen Laibow-Koser wrote:

philosophy grad instead :wink:

Yup. Or music. :smiley:

Well I’ve known very few serious coders who didn’t have a strong
interest in music of one sort or another :slight_smile:

Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net

raise ArgumentError unless @reality.responds_to? :reason

James Edward G. II wrote:

I’ve just been reading this list forever and knew it existed. I had an
unfair advantage. :wink:

Lazy evaluation was a popular topic in Ruby circles sometime back. That
was when Lazy.rb was invented. I looked into it quite a bit while
writing this old blog post:

http://blog.grayproductions.net/articles/infinite_streams

James Edward G. II

Time to get some more reading underway. Oh… And did you know that the
lazy.rb file/gem is actually mentioned in “Ruby Best Practices” ?
Figures that ruby-forum and the book would act synchronistically for
me… :slight_smile:

On Wed, 2009-11-18 at 18:46 +0900, Todd B. wrote:

I guess that doesn’t happen much anymore.

Don’t want to hijack (these are all good qualities by the way, but
with a sardonic tone :slight_smile:

Maths grad: F equals MA if the axioms are founded
Phys grad: F does in “fact” equal MA no matter what
Philosophy grad: F equals MA only when it must
Engineering grad: F sometimes equals MA, but that’s not the crux of the issue

Cultural studies graduate: Bourgeois hegemony constructs F as an
arbitrary signifier of MA.

I’ll get my coat.

Rosie

On 18 Nov 2009, at 13:15, Rosalind M. wrote:

Philosophy grad: F equals MA only when it must
Engineering grad: F sometimes equals MA, but that’s not the crux of the issue

Cultural studies graduate: Bourgeois hegemony constructs F as an
arbitrary signifier of MA.

Ah, so that’s what cultural studies is :wink:

Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net

raise ArgumentError unless @reality.responds_to? :reason

Todd B. wrote:

On Tue, Nov 17, 2009 at 8:16 PM, Eleanor McHugh
[email protected] wrote:

I took numerical analysis, but ironically, only after dropping my CS
major and going for a math major.
Also, I’ll content that abstract algebra was about the best course
I’ve taken for helping the way I think about programming.

Too bad the CS students are all too busy trying to get their Java/C++
projects to compile :slight_smile:

Never hire a computer scientist if you can get a maths, physics or philosophy grad instead :wink:

Don’t want to hijack (these are all good qualities by the way, but
with a sardonic tone :slight_smile:

Maths grad: F equals MA if the axioms are founded
Phys grad: F does in “fact” equal MA no matter what
Philosophy grad: F equals MA only when it must
Engineering grad: F sometimes equals MA, but that’s not the crux of the
issue

Hmmm…

Computer science: F = MA, but simple multiplication isn’t OO enough, so
let’s make an AbstractForceFactory…
XP: F = 3 always. When I need F to equal MA, I’ll write a different
test.
Music: F is a M3rd below A.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

On Tue, Nov 17, 2009 at 8:16 PM, Eleanor McHugh
[email protected] wrote:

I took numerical analysis, but ironically, only after dropping my CS
major and going for a math major.
Also, I’ll content that abstract algebra was about the best course
I’ve taken for helping the way I think about programming.

Too bad the CS students are all too busy trying to get their Java/C++
projects to compile :slight_smile:

Never hire a computer scientist if you can get a maths, physics or philosophy grad instead :wink:

Don’t want to hijack (these are all good qualities by the way, but
with a sardonic tone :slight_smile:

Maths grad: F equals MA if the axioms are founded
Phys grad: F does in “fact” equal MA no matter what
Philosophy grad: F equals MA only when it must
Engineering grad: F sometimes equals MA, but that’s not the crux of the
issue

On Tue, Nov 17, 2009 at 10:33 PM, Aldric G. [email protected]
wrote:

James Edward G. II

Time to get some more reading underway. Oh… And did you know that the
lazy.rb file/gem is actually mentioned in “Ruby Best Practices” ?
Figures that ruby-forum and the book would act synchronistically for
me… :slight_smile:

James does know that because the chapter in RBP was based off the blog
series he just linked to :slight_smile:

On Wed, Nov 18, 2009 at 11:15 AM, Marnen Laibow-Koser
[email protected] wrote:

Hmmm…

Computer science: F = MA, but simple multiplication isn’t OO enough, so
let’s make an AbstractForceFactory…
XP: F = 3 always. When I need F to equal MA, I’ll write a different
test.
Music: F is a M3rd below A.

Best,

You should include differences in frequency :slight_smile: That was a pretty cool
spot, though.

Todd

Gregory B. wrote:

On Tue, Nov 17, 2009 at 10:33 PM, Aldric G. [email protected]
wrote:

James Edward G. II

Time to get some more reading underway. Oh… And did you know that the
lazy.rb file/gem is actually mentioned in “Ruby Best Practices” ?
Figures that ruby-forum and the book would act synchronistically for
me… :slight_smile:

James does know that because the chapter in RBP was based off the blog
series he just linked to :slight_smile:

Alright, so I’m a n00b :wink: I turned two more pages to see his name show
up… I’ll just be quiet until I’m done with the book :slight_smile:

Language performs an essentially social function: It helps us get
along together, communicate, and achieve a great measure of concerted
action. Words are signs that have significance by convention, and
those people who do not adopt the conventions simply fail to
communicate.
They do not “get along,” and a social force arises that encourages them
to achieve the correct associations. By “correct,” we mean as used by
other members of the social group. A better education leads to a better
job, a better job leads to a successful career, a successful career
leads to higher income, and higher income leads to a better quality of
life.

— On Wed, 11/18/09, Rosalind M. [email protected]
wrote:

From: Rosalind M. [email protected]
Subject: Re: Trajectories
To: “ruby-talk ML” [email protected]
Date: Wednesday, November 18, 2009, 7:15 AM

On Wed, 2009-11-18 at 18:46 +0900, Todd B. wrote:

I guess that doesn’t happen much anymore.

Don’t want to hijack (these are all good qualities by the way, but
with a sardonic tone :slight_smile:

Maths grad: F equals MA if the axioms are founded
Phys grad: F does in “fact” equal MA no matter what
Philosophy grad: F equals MA only when it must
Engineering grad: F sometimes equals MA, but that’s not the crux of the issue

Cultural studies graduate: Bourgeois hegemony constructs F as an
arbitrary signifier of MA.

I’ll get my coat.

Rosie