Re: [sage-devel] metalinks for downloads

2010-01-14 Thread Hector Villafuerte
On Thu, Sep 10, 2009 at 2:26 PM, Harald Schilly
harald.schi...@gmail.com wrote:
[...]
 And yes, this mail is also a request for testing ;)
 [not all mirrors are in sync, so use the metalinks from
 http://sage.math.washington.edu/sage/ ]

 H


Here in Guatemala, were internet can be really slow sometimes, these
metalinks helped a lot. Just to give you one data point:
- wget-ing the .lzma for sage-4.3 using the Scipy server: about 3 hours
- .metalink: 10 minutes

Pretty cool!
-- 
 Hector
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: scilab

2008-05-02 Thread Hector Villafuerte

On Fri, May 2, 2008 at 10:31 AM, William Stein [EMAIL PROTECTED] wrote:
[...]
  Very interestingly, somebody posted that the next major release of
  SciLab will be
  GPL-compatible.  See
   http://www.scilab.org/download/index_download.php?page=CHANGES_5.0-beta-1

  This means there is potential for collaboration between the Sage and
  SciLab projects.
  I.e., we could potentially share code with them, etc.

   -- William


This is very interesting indeed. In what language is Scilab developed?
I assume it's C/C++.

-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: scilab

2008-05-02 Thread Hector Villafuerte

On Fri, May 2, 2008 at 5:41 PM, David Joyner [EMAIL PROTECTED] wrote:

  I think this is interesting too but was unable to compile it nor get
  the binary to work.



So I downloaded these two packages for scilab-5.0-beta-1:

http://www.scilab.org/download/5.0-beta-1/prerequirements-scilab-5.0-beta-1-src.tar.gz
http://www.scilab.org/download/5.0-beta-1/scilab-5.0-beta-1-src.tar.gz

Doing ./configure kept failing until I got everything it needed,
except matio (http://sourceforge.net/projects/matio) since I couldn't
find it in Ubuntu 8.04.

Summarizing, here's what needs to be done:

$ sudo apt-get install gfortran sun-java6-jdk ant libncurses5-dev
ocaml-native-compilers libxml2-dev lapack3-dev atlas3-base-dev
libpcre3-dev tcl-dev tk-dev

These are the dependencies... talking about multiple languages:
fortran, java, ocaml, tcl/tk... I found this link after all that
experimentation: http://wiki.scilab.org/Dependencies_of_Scilab_5.X

Package: gfortran -- Description: The GNU Fortran 95 compiler
Package: sun-java6-jdk -- Description: Sun Java(TM) Development Kit (JDK) 6
Package: ant -- Description: Java based build tool like make
Package: libncurses5-dev -- Description: Developer's libraries and
docs for ncurses
Package: ocaml-native-compilers -- Description: Native code compilers
of the ocaml suite (the .opt ones)
Package: libxml2-dev -- Description: Development files for the GNOME XML library
Package: lapack3-dev -- Description: library of linear algebra
routines 3 - static version
Package: atlas3-base-dev -- Description: Automatically Tuned Linear
Algebra Software,generic static
Package: libpcre3-dev -- Description: Perl 5 Compatible Regular
Expression Library - development files
Package: tcl-dev -- Description: The Tool Command Language (default
version) - development files
Package: tk-dev -- Description: The Tk toolkit for Tcl and X11
(default version) - development files


$ ./configure --without-matio
$ make all

It build successfully, but then...

$ ./scilab-bin
/home/hector/scilab/scilab-5.0-beta-1/.libs/lt-scilab-bin: error while
loading shared libraries: libjava.so: cannot open shared object file:
No such file or directory

This is all running within VMware with Mac OS X as host system:
$ uname -a
Linux ah-kan 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 8.04
Release:8.04
Codename:   hardy


-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: knoboo

2008-04-11 Thread Hector Villafuerte

On Fri, Apr 11, 2008 at 7:09 PM, William Stein [EMAIL PROTECTED] wrote:

  Hi,

  I just made a Knoboo optional spkg (http://www.knoboo.com/).  Knoboo is
  similar to the Sage notebook but looks more likey Mathematica and uses
   xmlrpc.

  To try it out:

   1. Type sage -optional to see what the package name is.

   2. Type sage -i knoboo-20080411 to install (or whatever the latest name is).

   3. Type

  sage: !knoboo

to try it out.  Be sure to not have something running on port
  8000 when you do this.

  Note: Knoboo in this spkg lets you work only with pure Python right
  now.  It'll have support for
  Sage's libraries itself in the near future.  (i.e., from sage.all
  import * doesn't work yet).


It seems like pysqlite2 could be a show stopper... this happened on
'SAGE Version sage-2.11, Release Date: 2008-03-30'
Mac OS X 10.4


sage: !knoboo
**
*  Make sure that nothing is already serving up a service*
*  on port 8000.  If so, Knoboo won't work.  *
*  Now connect to http://localhost:8000  *
*  NOTE: Only Python currently works in Knoboo; none of the  *
*  Sage library is available yet.*
**
2008/04/11 19:16 -0600 [-] Log opened.
2008/04/11 19:16 -0600 [-] twistd 2.5.0
(/Users/hector/sage/local/bin/python 2.5.1) starting up
2008/04/11 19:16 -0600 [-] reactor class: class
'twisted.internet.selectreactor.SelectReactor'
2008/04/11 19:16 -0600 [-] Loading /Users/hector/sage/local/lib/knoboo.tac...
2008/04/11 19:16 -0600 [-] Traceback (most recent call last):
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/app.py,
line 218, in getApplication
2008/04/11 19:16 -0600 [-] application =
service.loadApplication(filename, style, passphrase)
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/service.py,
line 341, in loadApplication
2008/04/11 19:16 -0600 [-] application =
sob.loadValueFromFile(filename, 'application', passphrase)
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/persisted/sob.py,
line 215, in loadValueFromFile
2008/04/11 19:16 -0600 [-] exec fileObj in d, d
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/knoboo.tac, line 9, in module
2008/04/11 19:16 -0600 [-] CONFIG = kbconfig.read_config()
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/knoboo/config.py,
line 27, in read_config
2008/04/11 19:16 -0600 [-] self.check()
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/knoboo/config.py,
line 34, in check
2008/04/11 19:16 -0600 [-] self.check_for_db()
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/knoboo/config.py,
line 82, in check_for_db
2008/04/11 19:16 -0600 [-] self.make_default_db()
2008/04/11 19:16 -0600 [-]   File
/Users/hector/sage/local/lib/python2.5/site-packages/knoboo/config.py,
line 67, in make_default_db
2008/04/11 19:16 -0600 [-] from pysqlite2 import dbapi2 as sqlite
2008/04/11 19:16 -0600 [-] ImportError: No module named pysqlite2
2008/04/11 19:16 -0600 [-] Failed to load application: No module named pysqlite2
2008/04/11 19:16 -0600 [-] Unhandled Error
Traceback (most recent call last):
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/app.py,
line 379, in run
runApp(config)
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/scripts/twistd.py,
line 23, in runApp
_SomeApplicationRunner(config).run()
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/app.py,
line 157, in run
self.application = self.createOrGetApplication()
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/app.py,
line 207, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- exception caught here ---
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/app.py,
line 218, in getApplication
application = service.loadApplication(filename, style, passphrase)
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/application/service.py,
line 341, in loadApplication
application = sob.loadValueFromFile(filename,
'application', passphrase)
  File 
/Users/hector/sage/local/lib/python2.5/site-packages/twisted/persisted/sob.py,
line 215, in loadValueFromFile
exec fileObj in d, d
  File /Users/hector/sage/local/lib/knoboo.tac, line 9, in module
CONFIG = kbconfig.read_config()
  File 

[sage-devel] Re: knoboo

2008-04-11 Thread Hector Villafuerte

On Fri, Apr 11, 2008 at 9:34 PM, alex clemesha [EMAIL PROTECTED] wrote:
[...]
 Hector: maybe you could throw in a
 import sys;print sys.path
  into the beginning of trunk/knoboo/knoboo.tac?
[...]

Sure, but I'm not a developer yet :)  so I could use some guidance. I
have 3 knoboo.tac files in my Sage directory:
$ find . -iname knoboo.tac
./local/knoboo/knoboo.tac
./local/lib/knoboo.tac
./local/lib/python2.5/site-packages/knoboo/knoboo.tac

Which is the one that needs tweaking? I'm guessing that by
trunk/knoboo/knoboo.tac you mean the first one, but shall I also
change the rest?
Thanks,
-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: knoboo

2008-04-11 Thread Hector Villafuerte

On Fri, Apr 11, 2008 at 11:16 PM, William Stein [EMAIL PROTECTED] wrote:

  local/lib/knoboo.tac

It's alive!
Alex was right, adding import sys;print sys.path fixed it.
Thanks,
-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: book on sage

2008-04-03 Thread Hector Villafuerte

On Thu, Apr 3, 2008 at 7:24 PM, William Stein [EMAIL PROTECTED] wrote:

  Hi,

  I'm just starting to write a book on Sage for an undergrad course.
  It's supposed
  to have a narrative and personal feel, much more so than the
  tutorial or other
  books.  I guess it's a little like Sage for newbies except (1) aimed at 
 senior
  undergrads with a programming background, and (2) will be finished by June
  at the lastest.I'm posting it here as I write it:

  http://wiki.wstein.org/2008/480a/book

  Comments on the general structure, approach, etc., are welcome, before it is
  too late.

  --
  William Stein
  Associate Professor of Mathematics
  University of Washington
  http://wstein.org



Hi William,
I really like the way your book is written, it looks very promising!
What follows is a list of typos I noted, and just a few comments.
Best,
-- 
 Hector

Legend:
-: typos
*: comments

p.3:
- algorithms for compuations /// computations
- In sharp contract /// contrast

p.8:
* start the notebook by typing ./sage -notebook /// example does $
sage -inotebook instead
* maybe \emph{command line} and \emph{Sage notebook} would be better
throughout section 1.1.2

p.12:
- WinSCP Using WinSCP /// missing period
* ...by assigning to it. E.g., /// ...by assigning to it. For example,
* maybe \emph{save} and \emph{load} would be better throughout section 1.1.3

p.14:
- my favoriates /// favorites

p.15:
* You can also use the : slicing notation /// improve readability
You can also use the slicing notation, e.g. a[1:3], ...

p.16:
* The output does not follow the input:
sage: b = [[1,2], 1.234, 3/4, vector([1/3,2,3]), [[1]]]
sage: b[0] = 5
sage: b[-1] = 'hello'
sage: b[:2] = [1,2,3,4]
sage: b[1:4] = []
sage: len(b); b
4
[1, 3/4, (1/3, 2, 3), 'hello']

- There many list methods /// missing are

p.18:
-  for computing the numer /// number

p.19:
- after millions of people have used it /// missing period

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Color palettes

2008-03-09 Thread Hector Villafuerte

Hi,
in a moment of procrastination I came up with this:
https://www.sagenb.org/home/pub/1728/

Hopefully somebody can put this banality to good use within SAGE :)
Best,
-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: interact versus manipulate

2008-03-08 Thread Hector Villafuerte

On Sat, Mar 8, 2008 at 9:18 AM, William Stein [EMAIL PROTECTED] wrote:
...
  If you care about this new functionality, just let me
  know what you think, between the above two names or
  other names you might think up.
...

Cool functionality!
+ 1 for 'interact'

-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage-2.10.2

2008-02-23 Thread Hector Villafuerte

On Sat, Feb 23, 2008 at 10:17 AM, William Stein [EMAIL PROTECTED] wrote:

  On Sat, Feb 23, 2008 at 7:21 AM, mabshoff [EMAIL PROTECTED] wrote:
  
  
  
On Feb 23, 3:48 am, William Stein [EMAIL PROTECTED] wrote:
 Hello folks,

 Sage 2.10.2 has been released on February 23nd, 2008. It is available at

http://sagemath.org/download.html
SNIP
  
Those of you who want to bundle patches against 2.10.2 be warned that
currently the repo at sagemath.org hasn't been updated yet, i.e. the
bundles you will create will have all changes from 2.10.1-2.10.2 in
it. Consequently you will be unable to attach them to any trac ticket
due to its size, i.e. roughly 490 KB!

  Don't worry, I just updated the default repo's at sagemath.org.

  William

I just noticed that the binary downloads for sage-2.10.2 haven't been
updated, just the source code is available.
Best,
-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: sage-2.10.2

2008-02-23 Thread Hector Villafuerte

On Sat, Feb 23, 2008 at 11:26 AM, mabshoff [EMAIL PROTECTED] wrote:
...
  it always takes a while (roughly up to a day) for the binaries to be
  build, tested and uploaded to the sagemath.org. So they should appear
  this evening.

  Cheers,

  Michael

I see. Thanks for letting me know, Michael!
-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-devel] Re: [sage-edu] Re: [sage-devel] sage-edu, standard API, etc.

2008-02-22 Thread Hector Villafuerte

On Fri, Feb 22, 2008 at 12:56 PM, David Joyner [EMAIL PROTECTED] wrote:

  On Fri, Feb 22, 2008 at 1:09 PM, Jason Grout
  [EMAIL PROTECTED] wrote:
  

...

  
Over on sage-edu, we ought to pretty quickly get a focus so that we
don't become too fragmented to do any good.

  Maybe this should be another thread but possible topics:
  (1) writing education materials which are integrated with SAGE, such as
  http://sage.math.washington.edu/home/wdj/teaching/granville-calculus/


Regarding educational material, I'm currently using SAGE in an
undergraduate course on Digital Signal Processing (an area where
Matlab is by far the tool of choice). I will gladly compile and
translate into English (since we're working in Spanish) something like
DSP with SAGE. I'm truly sorry that this will have to wait until May
though (... I guess we're all crazy busy).
Best,
-- 
 Hector

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---