I just wanted to share why Sage is (or will be soon) useful for me.
1) I have a program that I do for my master thesis, it's some finite
elements method + electronic structure calculations and my boss gave
me access to some solaris very fast boxes,
and I told him, thanks the access works, I only need to find "a while"
to install scipy+numpy+pysparse+umfpack+netcdfg+mercurial. Michael
Abshoff told me it's easy, but I just remember I gave up installing
scipy+umfpack on some old Debian boxes in Munich, so I just installed
Sage instead (it doesn't have umfpack yet though, or it didn't back
then).
The irony is that I comaintain scipy in Debian sid and it works like a
charm in there, but when we tried to install the scipy from sid on the
old debian, it pulled a hell of dependencies including libc and gcc
upgrade (probably due to the recent gfortran transition in Debian) and
we just didn't do it, because it would mean an upgrade to sid of the
whole machine.
Anyway, so when I told my boss the packages I need to install on the
solaris to even get my program to run, he just replied "you need to
write your program in a way so that other people can actually use
it!". And he was right.
So, mabshoff -- Solaris port +1.
So when I get to it, hopefully soon, I think I'll start creating spkg
packages of missing stuff that I need and then just use the fact that
Sage just works on any system, so that other people can actually run
my programs.
So, none of the above has anything in common with symbolic
manipulation. But one of the aims of Sage is to be a viable
alternative to Matlab, so that's about it.
2) There is a nonzero chance I'll be teaching some undergrad calculus
stuff in a year or two and so I was thinking which programs (if any)
I'd use and the constrain will probably be windows. So, I would like
to use python + sympy, because I'd like to explain how to actually do
limits and integrals and derivatives on the computer (to show that
actually the way it is taught at schools, for example my school, is
old fashioned, because in practise, the computer uses different
algorithms than those that they teach us and so one should be at least
aware of this how things are done in practise), and sympy has a
working pure python implementation. But then, installing python+sympy
in windows is not convenient -- it's about 10 clicks with mouse and it
installs somewhere to C:\Python2.5 by default and I don't understand
windows much but I just get the feeling that it messes up with the
registry as well and I don't like this at all. Another problem is that
it installs, but then I need to start the shell (cmd.exe) and run
python in it (or ipython). I would like to just download one tarball,
unpack it and run it. That's it.
So, mabshoff -- Sage windows port +1.
Well, if I could even run my scipy+numpy linux programs in windows
easily using sage, that would be awesome!
So the above are rather side effects of the main Sage's aim, but those
are things that would make my life much more easier.
Ondrej
Thanks!
> So, none of the above has anything in common with symbolic
> manipulation. But one of the aims of Sage is to be a viable
> alternative to Matlab, so that's about it.
This is absolutely one of the core goals of Sage.
>
>
> 2) There is a nonzero chance I'll be teaching some undergrad calculus
> stuff in a year or two and so I was thinking which programs (if any)
> I'd use and the constrain will probably be windows. So, I would like
> to use python + sympy, because I'd like to explain how to actually do
> limits and integrals and derivatives on the computer (to show that
> actually the way it is taught at schools, for example my school, is
> old fashioned, because in practise, the computer uses different
> algorithms than those that they teach us and so one should be at least
> aware of this how things are done in practise), and sympy has a
> working pure python implementation. But then, installing python+sympy
> in windows is not convenient -- it's about 10 clicks with mouse and it
> installs somewhere to C:\Python2.5 by default and I don't understand
> windows much but I just get the feeling that it messes up with the
> registry as well and I don't like this at all. Another problem is that
> it installs, but then I need to start the shell (cmd.exe) and run
> python in it (or ipython). I would like to just download one tarball,
> unpack it and run it. That's it.
You could also just run a sage notebook server with some published worksheets.
That's what I would do in the above situation. Then the students don't have
to install anything.
> So, mabshoff -- Sage windows port +1.
>
> Well, if I could even run my scipy+numpy linux programs in windows
> easily using sage, that would be awesome!
>
>
> So the above are rather side effects of the main Sage's aim, but those
> are things that would make my life much more easier.
I think they are actually one of the three cores aims of Sage:
1. Distribution
2. New library
3. Interfaces
William
Just as a data point: While I was at City College in New York I
started a project called Doyen to make a Live CD as a computer
algebra platform. I advertised in the computer science department
for 2 students with a knowledge of Linux for a paid position.
Ten students showed up for interviews, all of them were computer
science majors and most of them were seniors. Eight of the ten
had not heard of Linux.
This was 4 years ago. Things might have changed. Your school may vary.
Tim
+1
I'll go so far to say that it's perfectly fine with me for somebody to
*like* to
use Windows. In fact, I used Windows by choice
on my *laptop* for a full year in 2003, and some of the time I really
really liked it. I would have laughed if somebody told me that
they had made a viable alternative to the Ma's but that
if I wanted to use it I had to switch from Windows back to Linux.
> Third, even if you have two OS installed on your computer, it is
> annoying to switch between them if it requires rebooting.
I agree -- it is MASSIVELY annoying, and completely unreasonable
to ask of users to reboot to use your program. Especially
given that a lot of people like to stay
logged into chat programs, etc. This is also a strong argument
against live boot cd's, unless they are run via virtualization (e.g., vmware).
> Due to all the reasons above, I REALLY like VMware image of sage to
> run locally and after starting using it I removed the Linux partition
> from my computer and made just a separate disk for the image files.
> But my favorite way is to run sage remotely and use only browser on my
> machine. And I think that this is also the way many calculus students
> will like most, even when there will be a native sage port - no need
> to install anything on your machine and ability to continue your work
> from any computer in the library, under any operating system!
Yep. That really agrees with how I think tons of people feel.
I think it's closely related to something Google and numerous
other companies noticed a couple of years ago.
It's AMD opteron. I thought they run solaris, but actually I've found
out they run opensuse. So I tried to install Sage, because that should
work, but to my big surprise it doesn't compile:
http://groups.google.com/group/sage-support/msg/89d14e6cb5eaf182
but it should be easier to fix than the solaris port. Which is a good
news to me, maybe I'll be able to use the boxes soon.
> Why should it be windows?
Andrey, root and William has already said the points. I can only add
my own point of view, I am right wing thinking, so I don't try and
believe in persuadig people to think differently (or the same as I
do), I rather try to understand why people think what they think and
start from that. And try to do my actions in a way that if people do
what is good for them, it's also good for me.
So if the students use windows, they have reasons for that. And
because switching is pain, it's better for me to use the fact that
they use Windows as an axiom and make my program run on windows.
Because then they'll try it. Otherwise they won't.
If it comes to my own laptop, I of course use Debian, because it's the
best. :) I believe that everyone is using the system that is the best
for him. By (my) definition.
Ondrej
That sounds like the way to go. BTW I think it can be greatly
improved, for example I think the login should not be required if one
doesn't
need to have things saved. Something like:
Where anyone can immediatelly start typing commands and use it.
However, the interface needs to be greatly improved, this is just a
proof of concept, but it works. I think it's like a pyramid. You start
with something like live.sympy.org where you don't need any login,
nothing, you just use it and it works. Then you decide you'd like to
save your state. So you create a login and save your worksheets. Then
you decide you'd actually run it on your computer, either for greater
speed, or to use data from your computer or to have a better control
of it. You run it on windows for example. And then you decide you'd
actually do a lot of development, and you might switch to linux or Mac
Os X. Or you may install the dev tools in windows.
Ondrej
Sage is one such crazy script :-)
sage: magma_free('Factorization(100000000000000000000090130000000000000000000117)')
[ <10000000000000000000009, 1>, <10000000000000000000000013, 1> ]
> and a captcha-type entry page
> storing a one-time code as a cookie is necessary. But yes, the entry
> barriers need to be low. The same applies for every further step - the
> transition steps should be easy, but some are already (think of python
> everywhere and so on)
+1; let's do it...
> Also, a year ahead, think of tools like google gears or a bit later
> HTML 5. Then, it is possible to store all the worksheet data locally
> inside the users browser in a sql-lite database. So, the data could be
> tied to the users local computer account, the "computational power" is
> in the network; or by changing the host, locally on the machine. (I
> think this is currently impossible due to cross-site restrictions, but
> maybe there will be a way to allow this kind of storage (box pops up
> an asks) - at least worth to request in the gears group ;) [and
> sharing worksheets would mean to transfer the data to a public server
> or something like that...]
Cool! Let's make it happen!
William
Google fixes that by having 10s limit, then it kills the code.
Let's do it the opposite way. Let people access it completely freely,
and fix problems (i.e. add restrictions) only if needed.
With sympy it's very easy, because it's pure python, so I just leave
all the nasty scripts to google to handle. :)
>> and a captcha-type entry page
>> storing a one-time code as a cookie is necessary. But yes, the entry
>> barriers need to be low. The same applies for every further step - the
>> transition steps should be easy, but some are already (think of python
>> everywhere and so on)
>
> +1; let's do it...
>
>> Also, a year ahead, think of tools like google gears or a bit later
>> HTML 5. Then, it is possible to store all the worksheet data locally
>> inside the users browser in a sql-lite database. So, the data could be
>> tied to the users local computer account, the "computational power" is
>> in the network; or by changing the host, locally on the machine. (I
>> think this is currently impossible due to cross-site restrictions, but
>> maybe there will be a way to allow this kind of storage (box pops up
>> an asks) - at least worth to request in the gears group ;) [and
>> sharing worksheets would mean to transfer the data to a public server
>> or something like that...]
>
> Cool! Let's make it happen!
Yes, let's do it. I am not good at web stuff though, so I'd prefer if
someone else did it. :)
Ondrej
Could you please put it to the google app engine, so that we can play
with it? I'd spare all of us time to install it. :)
Ondrej
Western Europe < USA < Northern Europe (for Windows) is really
interesting--I'd have expected USA to have the highest percentage of
Windows visits (but not by much) There's bound to be a huge bias for
sagemath.org one way or another so I am taking this with a huge grain
of salt.
In terms of Tim Daly's experience of CS majors that haven't even
heard of Linux, all I can say is Wow! My experience has been (even
back 4 years ago) that nearly everyone that worked/studied in the CS
departments knew a bit if Linux, even if many didn't choose it as
their primary OS.
- Robert
I actually wrote (6-7 years ago)the web backend that is being
scripted/scraped by magma_free above, and I limited computation to
30s.
> Let's do it the opposite way. Let people access it completely freely,
> and fix problems (i.e. add restrictions) only if needed.
>
> With sympy it's very easy, because it's pure python, so I just leave
> all the nasty scripts to google to handle. :)
>
>>> and a captcha-type entry page
>>> storing a one-time code as a cookie is necessary. But yes, the entry
>>> barriers need to be low. The same applies for every further step - the
>>> transition steps should be easy, but some are already (think of python
>>> everywhere and so on)
>>
>> +1; let's do it...
>>
>>> Also, a year ahead, think of tools like google gears or a bit later
>>> HTML 5. Then, it is possible to store all the worksheet data locally
>>> inside the users browser in a sql-lite database. So, the data could be
>>> tied to the users local computer account, the "computational power" is
>>> in the network; or by changing the host, locally on the machine. (I
>>> think this is currently impossible due to cross-site restrictions, but
>>> maybe there will be a way to allow this kind of storage (box pops up
>>> an asks) - at least worth to request in the gears group ;) [and
>>> sharing worksheets would mean to transfer the data to a public server
>>> or something like that...]
>>
>> Cool! Let's make it happen!
>
>
> Yes, let's do it. I am not good at web stuff though, so I'd prefer if
> someone else did it. :)
Same here :-)
William
Until the early 20th century Ireland was part of Great Britain (the
British Empire). Then it was divided: the catholic south became
Eire, the Republic of Ireland, while the protestant north became
Northern Ireland which is part of the UK (= "United Kingdom of Great
Britain and Northern Ireland"). Much blood has been spilled over this
since.
Both of these two countries are members of the EU. The RoI is in the
euro zone while the UK is not. Each is independent and sets its own
taxes. I have no idea if taxes there are less than here (=UK).
I have no political axe to grind here, seriously!
John
2008/7/24 Harald Schilly <harald....@gmail.com>:
Haha, that made me laugh. It's like some people think that the Czech
Republic is in eastern europe, which is obviously not true.
http://en.wikipedia.org/wiki/Czech_Republic
Well, but if England can be in the Northen Eeurope, why not then.
Anyway, back to work.
Ondrej
We're veering ridiculously far offtopic here, but...for anyone who gets
confused at the differences between "Britain", "the UK", "British Isles"
and so on, here's a useful Venn diagram:
Dan
--
--- Dan Drake <dr...@mathsci.kaist.ac.kr>
----- KAIST Department of Mathematical Sciences
------- http://math.kaist.ac.kr/~drake
> We're veering ridiculously far offtopic here, but...for anyone who
> gets
> confused at the differences between "Britain", "the UK", "British
> Isles"
> and so on, here's a useful Venn diagram:
>
> http://qntm.org/?uk
THANK YOU!!!!!
david
I just learned that this view is rather Libertarian:
http://en.wikipedia.org/wiki/Libertarian
Anyway.
Ondrej