Re: [sage-support] installation problem

2010-03-19 Thread Carlo Hamalainen
On Sat, Mar 20, 2010 at 7:18 AM, bb wrote: > The text lines I sent were the last lines of config.log. And what's the output of gcc -v and g++ -v ? Cheers, -- Carlo Hamalainen http://carlo-hamalainen.net -- To post to this group, send email to sage-support@googlegroup

Re: [sage-support] installation problem

2010-03-19 Thread Carlo Hamalainen
and proceeded happily with that and then got stuck on gcc. Also even on "big" Linux distributions like Ubuntu you need to install extra packages to compile Sage (like build-essential, m4, etc). Cheers, -- Carlo Hamalainen http://carlo-hamalainen.net -- To post to this group, send em

Re: [sage-support] Where does this error message come from?

2009-11-28 Thread Carlo Hamalainen
d limit It's a Python error message: http://svn.python.org/projects/python/trunk/Modules/_csv.c So you're working with huge CSV files? -- Carlo Hamalainen http://carlo-hamalainen.net -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, se

Re: [sage-support] Re: publishing a program written with Sage in complement of a scientific article

2009-11-22 Thread Carlo Hamalainen
then add the source URL to your references. If you do that quickly (within the first 24 hours I think) then arxiv.org only announces one version of your paper so it doesn't look like you made a mistake. Hope that's clear :) -- Carlo Hamalainen http://carlo-hamalainen.net -- To po

Re: [sage-support] publishing a program written with Sage in complement of a scientific article

2009-11-21 Thread Carlo Hamalainen
de the py files there. I did that in this paper: http://arxiv.org/abs/0712.0233 and you can get to the source when you select "Other formats" and then "Source". Alternatively, you could use a code hosting site like bitbucket.org or github. -- Carlo Hamalainen http://carlo-h

[sage-support] Re: Sharing worksheets (not via a server)?

2009-10-19 Thread Carlo Hamalainen
On Mon, Oct 19, 2009 at 7:53 PM, William Stein wrote: > Maybe we should change the name to "Save worksheet to a file..."? +1 "Save worksheet to a file" is much more obvious in meaning. -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~-

[sage-support] Re: Could I set breakpoint in Sage?

2009-08-25 Thread Carlo Hamalainen
breakpoint. Here's some info in the reference manual: http://www.sagemath.org/doc/reference/sage/misc/trace.html Also a recent thread discussed debuggers in general: http://groups.google.com/group/sage-devel/browse_thread/thread/d7fbcf164eaedbc5?pli=1 -- Carlo Hamalainen ht

[sage-support] Re: Potential memory leak when calling binomial

2009-07-25 Thread Carlo Hamalainen
267) ==26568==by 0x80CE962: PyEval_EvalFrameEx (ceval.c:3596) -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@goo

[sage-support] Re: breaking out of double for loops

2009-07-23 Thread Carlo Hamalainen
ise GetOut except GetOut: pass print x, y $ sage foo.sage 2 1 -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-supp

[sage-support] Re: sage -t problems with semicolons and line breaks

2009-06-09 Thread Carlo Hamalainen
-- All tests passed! Total time for all tests: 1.7 seconds This is a little inconsistent because Python is happy with that line break without a backslash... -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-su

[sage-support] Re: How to detect memory leaks?

2008-10-23 Thread Carlo Hamalainen
ind on an earlier version of Sage. -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit th

[sage-support] Re: How to detect memory leaks?

2008-10-23 Thread Carlo Hamalainen
per run. > > What tools do you recommend to tracking that memory leak down? Valgrind is the thing to try: http://wiki.sagemath.org/ValgrindingSage -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-su

[sage-support] Re: Cython editor

2008-10-08 Thread Carlo Hamalainen
) and then use << or >> to indent the whole block in/out. This must be a common task for Python programmers, so how do other editors handle it? -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-s

[sage-support] Re: Generating all subgroups of a group

2008-09-24 Thread Carlo Hamalainen
e_group, H), gap.OnRight)) print gap.Order(G) ## I have plans to write a Cython wrapper for LOWX some time, see http://designtheory.org/~peter/software/lowx/ -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~

[sage-support] Re: P.coeffs() issue

2008-08-26 Thread Carlo Hamalainen
and fails in the other case. I posted a similar bug a few days ago: http://groups.google.com/group/sage-devel/browse_thread/thread/09bafdf4e75d5bee This should have a trac ticket? Cheers, -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~

[sage-support] Re: Sage installation problem : Problem in unzipping and CRC error

2008-05-13 Thread Carlo Hamalainen
you may need to get a download manager so that you can resume your download of the Sage binary (it's over 600Mb). -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubsc

[sage-support] Re: Python decorators to implement Maple's "options remember"

2008-04-21 Thread Carlo Hamalainen
ction just stores the results in memory For those interested in the background of this idea, the CS term is memoization: http://en.wikipedia.org/wiki/Memoization http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52201 -- Carlo Hamalainen http:/

[sage-support] Re: sage installation Ubuntu 7.10 - extracting .tar error

2008-03-03 Thread Carlo Hamalainen
u didn't get the full file. If your connection is a bit flaky then wget is better than Firefox/IE/etc: $ wget -c http://sagemath.org/SAGEbin/linux/32bit/sage-2.10.2-linux-32bit-ubuntu-i686-Linux.tar.gz The -c means continue so you can stop and restart the download. Cheers, -- Car

[sage-support] Graph isomorphism problem.

2008-01-27 Thread Carlo Hamalainen
incorrectly? At first I wondered if vertices have to be in the range 0..n (mine are on 1..n) but adding an isolated vertex '0' doesn't change the behaviour of my code. Any ideas? -- Carlo Hamalainen http://carlo-hamalainen.net # This file is at http://carlo-hamalainen.net/sagetmp/gr

[sage-support] Fwd: [sage-newbie] Re: Loading data files (say csv or text) into Sage

2007-12-16 Thread Carlo Hamalainen
Hi, Could someone with a Windows machine make an entry in the documentation or on the FAQ about how to share files between the Ubuntu virtual machine and the host Windows operating system? Maybe with screenshots? (see email below) -- Carlo -- Forwarded message -- From: Carlo

[sage-support] Re: Strange behavior in Partition(x).next()

2007-12-13 Thread Carlo Hamalainen
= [] sage: foo(mylist) sage: foo(mylist) sage: mylist [0, 0] Here's a bit of an explanation about Python's calling model: http://effbot.org/zone/call-by-object.htm So it's not exactly call by reference or call by value, but a bit of both. -- Carlo Hamalainen http://carlo-hamalaine

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Carlo Hamalainen
ets a few elements since it wasn't entirely obvious to me about which constructors to call (I'm new to Sage and Pyrex at the same time). Perhaps the example could be moved to the cookbook at some point? Cheers, -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Carlo Hamalainen
On Dec 5, 2007 6:47 AM, William Stein <[EMAIL PROTECTED]> wrote: > In appreciation of this, any chance you could add a FAQ entry based on what > you just learned? thanks! > >http://wiki.sagemath.org/faq Done :-) -- Carlo Hamalainen http://ca

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Carlo Hamalainen
you need to link in a bunch of libraries. Excellent, that works now. Thanks, -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMA

[sage-support] cimport finite field fails?

2007-12-03 Thread Carlo Hamalainen
le-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.3 20071014 (prerelease) (Debian 4.2.2-3) Any ideas? -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~~---~--~--