[sage-edu] Error in sage-5.0 + R: sage notebook does not show R parsing errors if length(input)>=1024 characters

2012-05-20 Thread Maciek Sykulski
Hi All,
I've compiled from source sage-5.0 on Gentoo on the following
machine:
Linux 3.2.6 #3 SMP Thu Feb 16 17:40:05 CET 2012 x86_64 Intel(R)
Xeon(R) CPU X5690 @ 3.47GHz GenuineIntel GNU/Linux

Everything seems to work fine except for this:
When an input cell with some R code contains a syntax error and the
input is longer than 1023 characters, the cell evaluates without
printing any message at all.

This is exemplified below (evalute in R enironment):

#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#234567890123456789012
]

The above code when evaluated, as it should, prints :
  Error: unexpected ']' in "]"

However, the below code with one more letter inside comments evaluates
and nothing is printed at all:

#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
#2345678901234567890123
]


Does anyone have a clue where in the source code this bug hides?
It's a serious bug, it makes developing R code rather difficult.

Thanks,
MS

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] Error in sage-5.0 + R: sage notebook does not show R parsing errors if length(input)>=1024 characters

2012-05-20 Thread David Joyner
This was cross-posted to sage-devel.
Please post replies there.

On Sun, May 20, 2012 at 9:38 AM, Maciek Sykulski  wrote:
> Hi All,
> I've compiled from source sage-5.0 on Gentoo on the following
> machine:
> Linux 3.2.6 #3 SMP Thu Feb 16 17:40:05 CET 2012 x86_64 Intel(R)
> Xeon(R) CPU X5690 @ 3.47GHz GenuineIntel GNU/Linux
>
> Everything seems to work fine except for this:
> When an input cell with some R code contains a syntax error and the
> input is longer than 1023 characters, the cell evaluates without
> printing any message at all.
>
> This is exemplified below (evalute in R enironment):
> 
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #234567890123456789012
> ]
> 
> The above code when evaluated, as it should, prints :
>          Error: unexpected ']' in "]"
>
> However, the below code with one more letter inside comments evaluates
> and nothing is printed at all:
> 
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678
> #2345678901234567890123
> ]
> 
>
> Does anyone have a clue where in the source code this bug hides?
> It's a serious bug, it makes developing R code rather difficult.
>
> Thanks,
> MS
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-edu" group.
> To post to this group, send email to sage-edu@googlegroups.com.
> To unsubscribe from this group, send email to 
> sage-edu+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/sage-edu?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] Drag and Drop equation exercising

2012-05-20 Thread Jurgis Pralgauskis
> I like very much your idea.
Hi, good to hear :)

no vcs for now,
I have some experience with launchpad.net, code.google.com, bitbucket
and github.
For now I would use googlecode, but you can suggest other with some args.

I will have more free time after end of school year (in 2 weeks) so
remind me then :)

On Sat, May 19, 2012 at 6:41 PM, Raniere Gaia Silva  wrote:
> Hello Jurgis,
> I like very much your idea.
> At the moment I would like to know if you have start some version control,
> like git, mercurial, svn, for the files you write
> (math_rules.js, dragging.js and dom_manip.js).
> I would like to contribute in some closer future.
> Thanks,
>
> Raniere
>...
> --
> You received this message because you are subscribed to the Google Groups
> "sage-edu" group.
> To post to this group, send email to sage-edu@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-edu+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sage-edu?hl=en.



-- 
Jurgis Pralgauskis
tel: 8-616 77613;
Don't worry, be happy and make things better ;)
http://galvosukykla.lt

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



[sage-edu] Online Data Base of Dynamic Question

2012-05-20 Thread Raniere Gaia Silva
Hi,

I was searching for a easily and quickly way to make math tests/exercises
(I don't want a course management system like moodle  or
webwork ).
Since I didn't find any great solution I start to make one:
http://smart-teacher.alwaysdata.net/

would be interested in comments :)
and in which other groups I could discuss it?

Raniere

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.



Re: [sage-edu] Online Data Base of Dynamic Question

2012-05-20 Thread MišoLietavec
Hi, Raniere,

2012/5/20 Raniere Gaia Silva :
> Hi,
>
> I was searching for a easily and quickly way to make math tests/exercises (I
> don't want a course management system like moodle or webwork).
> Since I didn't find any great solution I start to make
> one: http://smart-teacher.alwaysdata.net/

I always liked the idea of having something like WebWork, but in clear
Python. And not burned in huge LMS.
My colleague is trying something similar in AcroTeX educational bundle
(we make it functioning in Linux).
But your approach has more potential for further development.

> would be interested in comments :)
> and in which other groups I could discuss it?

I think, You can post and discuss things also in python-edu SIG,
http://www.python.org/community/sigs/current/edu-sig/



> Raniere
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-edu" group.
> To post to this group, send email to sage-edu@googlegroups.com.
> To unsubscribe from this group, send email to
> sage-edu+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sage-edu?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To post to this group, send email to sage-edu@googlegroups.com.
To unsubscribe from this group, send email to 
sage-edu+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-edu?hl=en.