[sage-devel] Re: [sage-cloud-internal] William Stein says Sage has overall failed

2014-08-21 Thread Paul Graham
2014-2015 will be a big year for Sage i think, with SMC leading the charge, 
now that SMC in particular has matured alot. From personal everyday 
experience i know that the idea of being able to make a free account and 
have access to a more mathematically substantial/capable version of Wolfram 
Alpha ,where you can log in and save things, would be popular once school 
starts. Its annoying for students (including myself) trying to do something 
on wolfram alpha, but you cant because your only allowed to use the 
non-paid gimped version, unless you subscribe to become a pro member ($$$).

A lot more that could be said, but just some quick thoughts.

On Thursday, August 21, 2014 6:32:03 AM UTC-7, kcrisman wrote:


 The title they gave it -- 'William Stein says Sage has overall 

 failed' -- seems a bit sensational.  I think that if people read 
 the blog post they will see that I don't mean that the enormous effort 
 that people like Volker, Jereon, etc., are doing, isn't a fantastic 
 job.  I'm measuring progress specifically in terms of the original 
 mission statement. 


 To be fair, you did kind of invite that interpretation with a somewhat 
 dramatic line like that.  Sage clearly IS a viable alternative, and 
 basically is a replacement at the undergraduate level.   It is not a 
 replacement for everything - perhaps we need a jump like the combinat and 
 matroid crowds did in arithmetic geometry?  But neither are they 
 replacements for Sage at this point, right, in many areas?   Again, Sage is 
 a viable alternative even for Matlab.  It's not as good for this as Octave, 
 apparently, and no third-party support etc. - but some people do use it, or 
 they wouldn't be asking for help.

 So I think that it would have been better to say that the statement that 
 has failed is a viable *replacement* for all four M's.  Well, that would be 
 a hard goal indeed!  For precisely the reasons you give.  I don't think 
 that makes Sage a failure, it just makes it different.  Presumably Maple 
 and Mathematica are not replacements for each other either.

 - kcrisman


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: SageMathCloud / closed source / GPL / Spirit of Sage??

2014-08-21 Thread Paul Graham
Seems like some people forget that, you have to play the game in order to 
be successful. The game could broadly be described as: navigating the 
framework of society. That framework whether you like it or not, is and 
likely will continue to be composed largely of money.

The game consists for everyone, as we all play it, and of anything really, 
buying milk at the grocery store, making a product 
successful/popular/accessible etc, there are boundaries and limits that as 
mentioned, are usually monetary in nature.  Hopefully this makes sense so 
far lol.

One of the limits that Sage has encountered against so far, as William 
explicitly points out, is money. Sage MathCloud (SMC) among other things, 
makes Sage more accessible to people as no local installation is needed, 
among other benefits. The barrier to entry to having access to a world 
class piece of mathematics software, is incredibly low with SMC.

Back to the game side of things, all the benefits of SMC came and and 
continue to come at a cost, the servers and infrastructure cost money. 
That's easy to forget if you use SMC just as a black box sort of thing. But 
how else would you do this without cost? Make some sort of distributed 
Computer Algebra System or something? There is no way else, there will 
always be a cost, money, in trying to acheive Sage's Mission: *Creating a 
viable free open source alternative to Magma, Maple, Mathematica and 
Matlab.*

William even explicitly mentions having to play the game in his blog post. 
If you don’t play the game, you lose. Just as an example, since it Magma 
gets brought up alot, as per Magma's Website:

Availability of a student version 

 A student version of Magma is available. The only difference between it 
 and the full version is that the memory usage is restricted to 150MB. The 
 student version is now *only available* through *educational institutions*. 
 See (ii) — (iv) below.

 We regret to announce that the supply of a restricted version of Magma for 
 a small price to students enrolled at a college or university has been 
 *discontinued* for the time being. The costs associated with distributing 
 and supporting the student versions have become far greater than the income 
 received from student licences and we are not in a position to 
 cross-subsidise these costs.

 ...
 Developing countries 

 Users from newly industrialised and developing countries may apply for 
 Magma licences at a reduced rate, by special agreement.

I have no idea what Magma's Mission is, and it doesnt matter, as im not 
comparing/contrasting them here, i just post that from their website to 
show people, detractors/haters of SMC that theres others in the game as 
well, trying to achieve whatever their goal is, but bound by same limits as 
sage, money. Sage's Mission, its goal, is lofty, so if your a person that 
loves sage but hates all or just some of SMC, then your free to never use 
SMC and can just view it as *playing the game*. 

On Tuesday, August 19, 2014 2:35:13 AM UTC-7, Nathann Cohen wrote:

 About William's blog post (*): even though I don't like you do much (but I 
 don't like what a lot of persons do, so apparently there is nothing wrong 
 in that), I was wondering about your plans. If you ever end up earning 
 money with this for-profit company you have in mind, who would you hire to 
 write Sage code ?

 What I mean is that I feel safe when I write graph code, but that I am 
 afraid of touching group stuff, or categories. I would not dare writing any 
 statistics-related stuff (it was too long ago), nor differential equations, 
 nor symbolics...

 Well, not anything else, actually. And so I felt that one perso can write 
 code for his specific domain, and not for a lot of other things.

 Sooo I wondered. Where do you think you could find guys able to 
 work on Sage who you could hire for a long time, i.e. with in mind that 
 they have several years of work ahead of them, probably on different 
 mathematical topics.

 Even though I guess you also want to expand non-mathematical parts of 
 Sage, i.e. some infrastructure, or support on new platforms, things like 
 that.

 Just wondering.

 Nathann

 (*) It made me laugh at first. Recently our former president Nicolas 
 Sarkozy was arrested because of one of the + procedures against him 
 (like hundreds of others are, daily). The following day, he was at prime 
 time on the TV explaining why he did not deserve any different justice than 
 the one given to any normal citizen, and why everything against him was a 
 conspiracy. Most other persons can't do that. It made me laugh because 
 you answered a sage-devel thread on a blog.
  

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at 

[sage-devel] Re: NameError: global name 'sage' is not defined

2014-08-21 Thread Paul Graham
I was able to get things working okay in my development version of sage, 
the sage git repo at ~/sage , but when i try to do this:

sage: t = Tachyon()
sage: t.show()

in my system non development sage installation, i get the same error as 
before? Im using sage 6.3. Im assuming my installations didnt cross paths 
or anything funky, but, it just donned on me that i had the same issue in 
my non development install, and to see if others where having the issue?

On Tuesday, August 19, 2014 10:10:14 PM UTC-7, Travis Scrimshaw wrote:

 No that's correct. The difference is that my way imports the *function* as 
 oppose to the *module* given by John. This is a python thing, see 
 https://docs.python.org/3/reference/import.html 
 https://www.google.com/url?q=https%3A%2F%2Fdocs.python.org%2F3%2Freference%2Fimport.htmlsa=Dsntz=1usg=AFQjCNHFrh-OlETJ3pXspWW4COICVwUI3w
  
 for more details.

 Best,
 Travis


 On Tuesday, August 19, 2014 9:24:16 PM UTC-7, Paul Graham wrote:

 Ok i did:

 from sage.misc.viewer import png_viewer

 at the top of the file tachyon.py, and then in my code as you suggest, in 
 Tachyon.show, i changed it from:

 os.system('%s %s 2/dev/null 1/dev/null '%(sage.misc.viewer.png_viewer
 (), filename))

 to:

 os.system('%s %s 2/dev/null 1/dev/null '%(png_viewer(), filename))

 and it works just fine. I never made any modifications to that line 
 originally, so not sure why its stopped working... Works now though, thanks.


 Or referring to changing it somewhere else? 
 On Tuesday, August 19, 2014 8:40:52 PM UTC-7, Travis Scrimshaw wrote:

 Interestingly, i tried doing:

 from sage.misc.viewer import png_viewer

 first, but got the same error.


 In your code, you just want `png_viewer`, not 
 `sage.misc.viewer.png_viewer` (which is what I suspect you had).

 Best,
 Travis



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Finding SAGE_ROOT?

2014-08-21 Thread Paul Graham
In trying to setup development for the Sage Notebook, by following the 
guide at: http://www.sagemath.org/doc/developer/sagenb/index.html , you 
first need to locate the root directory of the Sage installation, SAGE_ROOT 
. Thats the part where im stuck as i dont know where SAGE_ROOT is... Many 
other places make reference to this place, not just the notebook. So kind 
of a general dev issue. Im on ubuntu and have a development directory, just 
containing the sage repository at : ~/sage , and have what is supposed to 
be a non-development working stable installation of sage  that was 
installed using the UBUNTU PPA instructions at 
http://www.sagemath.org/download-linux.html, just:

sudo apt-add-repository -y ppa:aims/sagemath
sudo apt-get update
sudo apt-get install sagemath-upstream-binary

Im not sure where this installs to, what the default installation directory 
is on ubuntu, or if sage installs somewhere different? If i do:

user1@computer0:~$ ./sage
bash: ./sage: Is a directory

but but if i do:

user1@computer0:~$ sage
┌┐
│ Sage Version 6.3, Release Date: 2014-08-10 │
│ Type notebook() for the browser-based notebook interface.│
│ Type help() for help.│
└┘
/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/utils/path.py:
310: UserWarning: IPython dir '/home/user1/.sage/ipython-2.1.0' is not a 
writable location, using a temp directory.
   using a temp directory.%ipdir)
sage: 

I dont know what the difference between sage and ./sage is, but maybe 
above info will help someone pinpoint where my SAGE_ROOT is? I tried alot 
of searching but no luck so far.


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: NameError: global name 'sage' is not defined

2014-08-19 Thread Paul Graham
Interestingly, i tried doing:

from sage.misc.viewer import png_viewer

first, but got the same error. But then i tried:

import sage.misc.viewer

and Tachyon.show works just fine now... So not sure what happened there.

On Saturday, August 16, 2014 9:22:23 PM UTC-7, Travis Scrimshaw wrote:

 You can also do from sage.misc.viewer import png_viewer, but that's 
 mainly a stylistic difference.

 Best,
 Travis

  

 Looks like a bug. You should add a line import sage.misc.viewer.

 -- 
 John
  



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: NameError: global name 'sage' is not defined

2014-08-19 Thread Paul Graham
Ok i did:

from sage.misc.viewer import png_viewer

at the top of the file tachyon.py, and then in my code as you suggest, in 
Tachyon.show, i changed it from:

os.system('%s %s 2/dev/null 1/dev/null '%(sage.misc.viewer.png_viewer(), 
filename))

to:

os.system('%s %s 2/dev/null 1/dev/null '%(png_viewer(), filename))

and it works just fine. I never made any modifications to that line 
originally, so not sure why its stopped working... Works now though, thanks.


Or referring to changing it somewhere else? 
On Tuesday, August 19, 2014 8:40:52 PM UTC-7, Travis Scrimshaw wrote:

 Interestingly, i tried doing:

 from sage.misc.viewer import png_viewer

 first, but got the same error.


 In your code, you just want `png_viewer`, not 
 `sage.misc.viewer.png_viewer` (which is what I suspect you had).

 Best,
 Travis



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: SageMathCloud / closed source / GPL / Spirit of Sage??

2014-08-15 Thread Paul Graham
Since you mention looking on Wikipedia for more info on SageMathCloud, just 
thought id let you know that William writes about SageMathCloud on his Sage 
blog at: http://sagemath.blogspot.com/ , in case you hadn’t come across it. 
As it has a lot of information about SMC.

On Friday, August 15, 2014 1:42:14 AM UTC-7, Dr. David Kirkby (Kirkby 
Microwave Ltd) wrote:

 As I understand it, the SageMathCloud is closed source. Yet it is 
 making extensive use of open-source code. Maybe the closed source bits 
 don't link to the open-source bits, though I find it a bit hard to 
 believe. If it did not link, it would not that be against the GPL? Or 
 I guess if the code is not distibuted, but only kept on a server, it 
 probably gets around the GPL. 

 If not against the GPL, this certainly seems to be going against the 
 *spirit* of the Sage project. It looks as though the intention is to 
 charge for access to a web service which makes use of open-source code 
 developed by many - myself included. 

 One might argue it is the same with any web service making use of 
 Apache for example, although I still think a closed-source 
 SageMathCloud is pushing the limits of what some (myself included), 
 find morally acceptable. 

 The only comment on the Wikipedia talk page 

 http://en.wikipedia.org/wiki/Talk:SageMathCloud 

 says Unfortunately, some part of it is becoming closed source. And, 
 they will charge for the many of the services... I don't know who 
 wrote that, but it was not me. 

 Maybe it is legal. I don't think it is morally right. 

 Dave 


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] NameError: global name 'sage' is not defined

2014-08-15 Thread Paul Graham
Im working on ticket #16228: http://trac.sagemath.org/ticket/16228 , and 
now when trying to make doctests for both Tachyon..save and Tachyon.show, i 
recieve an error when trying to test Tachyon.show.

Ive tried different input combinations, but just right now, trying to 
figure out this error my input has been:
sage: T = Tachyon()
sage: T.show()

The error i receive is:

tachyon /home/user1/.sage/temp/computer0/8798/tmp_wKHvo_.dat  -format PNG  -o 
/home/user1/.sage/temp/computer0/8798/tmp_Q5WnBs.png+V ; rm -f 
/home/user1/.sage/temp/computer0/8798/tmp_wKHvo_.dat
Tachyon Parallel/Multiprocessor Ray Tracer   Version 0.98.9   
Copyright 1994-2010,John E. Stone john.st...@gmail.com 
 
Scene Parsing Time: 0.0001 seconds
CPU Information:
  Node0:  4 CPUs, CPU Speed 1.00, Node Speed   4.00 Name: computer0
  Total CPUs: 4
  Total Speed: 4.00

Allocating Image Buffer.
Preprocessing Time: 0.0001 seconds
Rendering Progress:   100% complete
  Ray Tracing Time: 0.0056 seconds
Image I/O Time: 0.0131 seconds
---
NameError Traceback (most recent call last)
ipython-input-9-8acd66951ac1 in module()
 1 T.show()

/home/user1/sage/local/lib/python2.7/site-packages/sage/plot/plot3d/tachyon.pyc 
in show(self, verbose, extra_opts)
345 from sage.plot.plot import EMBEDDED_MODE
346 if not DOCTEST_MODE and not EMBEDDED_MODE:
-- 347 os.system('%s %s 2/dev/null 1/dev/null '%(sage.misc.
viewer.png_viewer(), filename))
348 
349 def _res(self):

NameError: global name 'sage' is not defined


I recieve a similar error if i do:
sage: show(T)

as well. For brevity i didnt include it, but can if needed.

This error occurs whether i try in my system wide sage installation or 
development version, but have no issue in either running these Tachyon 
commands in the Sage Notebook. Tachyon.save works just fine.

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Best way to discuss an open ticket?

2014-08-10 Thread Paul Graham
In working on some of the beginner tickets, and for some of them they are 
straightforward enough that i can work on them on my own up to changing the 
status to needs-review. But for others if im unsure where to start on it, 
or cant push my code to trac without input from other developers, what is 
the best way to get some feedback on a specific ticket?


E.g. #16228, http://trac.sagemath.org/ticket/16228 , im unsure of which 
approach to take. I commented on the ticket to see if there is a place on 
trac where tickets with new comments are bumped to, and Active Tickets - 
By Time , shows it add the top, but i dont know if this is a common place 
to look.

I couldnt find much info on the needs_info status, and didnt see too many 
examples on the mailing list titled like #12345 doing x in x, so am 
wondering what the usual way to do this is?

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Best way to discuss an open ticket?

2014-08-10 Thread Paul Graham
Im not sure if the other developer that has now made a comment on the 
ticket im using as an example, #16228, did so because i made this post to 
the mailing list or because they came across it purely through trac 
somehow. I dont know if thats a coincidence or not, but basically i am just 
wondering if in this case and future cases, making a mailing list post like 
#16228 make tachyon respect standard verbosity settings is the thing to 
do? Hopefully that makes sense :)

On Sunday, August 10, 2014 12:45:19 PM UTC-7, Paul Graham wrote:

 In working on some of the beginner tickets, and for some of them they are 
 straightforward enough that i can work on them on my own up to changing the 
 status to needs-review. But for others if im unsure where to start on it, 
 or cant push my code to trac without input from other developers, what is 
 the best way to get some feedback on a specific ticket?


 E.g. #16228, http://trac.sagemath.org/ticket/16228 , im unsure of which 
 approach to take. I commented on the ticket to see if there is a place on 
 trac where tickets with new comments are bumped to, and Active Tickets - 
 By Time , shows it add the top, but i dont know if this is a common place 
 to look.

 I couldnt find much info on the needs_info status, and didnt see too many 
 examples on the mailing list titled like #12345 doing x in x, so am 
 wondering what the usual way to do this is?


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Cant see changes made to developer guide when rebuilding?

2014-08-08 Thread Paul Graham
Im working on one of the beginner tickets, where you have to fix something 
in the developers guide, http://www.sagemath.org/doc/developer/index.html.  
I saved the changes i made to sage_manuals.rst at 
/home/me/sage/src/doc/en/developer/sage_manuals.rst then do:

sage --docbuild developer html

and it says i should look at 
/usr/lib/sagemath/src/doc/output/html/en/developer. But when i open the 
sage_manuals.html file there, i dont see any of the changes i made?

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Cant see changes made to developer guide when rebuilding?

2014-08-08 Thread Paul Graham
Okay. No worries, at this point nothing is very obvious to me yet! About 
how hours does it normally take for sage to build the first time? I guess i 
should of done 

./sage -br

instead of 

make

since i didnt change any third party packages, just documentation, as make 
has been running for the past 4 hours... Part of the learning process i 
suppose.

On Friday, August 8, 2014 12:40:54 AM UTC-7, Jeroen Demeyer wrote:

 On 2014-08-08 09:15, kcrisman wrote: 
  You have to do sage -b first, though I don't know if this is well 
  advertised. 

 Or even easier, you can replace 

 $ sage -b 
 $ sage --docbuild developer html 

 by the simple command 

 $ make 

 And sorry to state the obvious, but you might need to hit the refresh 
 button on your browser. 


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Cant see changes made to developer guide when rebuilding?

2014-08-08 Thread Paul Graham
I end up getting a permission denied error after running like this:

user1@computer0:~/sage$ make


I tried doing other things so the exact message went away but i know it 
said permission error.

THen i tried doing:

user1@computer0:~/sage$ sudo sage -b

user1@computer0:~/sage$ sudo sage --docbuild developer html

but 
file:///usr/lib/sagemath/src/doc/output/html/en/developer/sage_manuals.html 
, still doesnt show my changes...

Am i modifying the wrong file 
/home/user1/sage/src/doc/en/developer/sage_manuals.rst ? Should i instead 
be modifying /usr/lib/sagemath/src/doc/en/developer/sage_manuals.rst? It 
says permission denied if i try to edit and save that one...


On Friday, August 8, 2014 12:45:37 PM UTC-7, Paul Graham wrote:

 Okay. No worries, at this point nothing is very obvious to me yet! About 
 how hours does it normally take for sage to build the first time? I guess i 
 should of done 

 ./sage -br

 instead of 

 make

 since i didnt change any third party packages, just documentation, as make 
 has been running for the past 4 hours... Part of the learning process i 
 suppose.

 On Friday, August 8, 2014 12:40:54 AM UTC-7, Jeroen Demeyer wrote:

 On 2014-08-08 09:15, kcrisman wrote: 
  You have to do sage -b first, though I don't know if this is well 
  advertised. 

 Or even easier, you can replace 

 $ sage -b 
 $ sage --docbuild developer html 

 by the simple command 

 $ make 

 And sorry to state the obvious, but you might need to hit the refresh 
 button on your browser. 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Cant see changes made to developer guide when rebuilding?

2014-08-08 Thread Paul Graham
Okay ya i did:

user1@computer0:~$ /home/user1/sage/sage --docbuild developer html

and that worked great, thanks :)

On Friday, August 8, 2014 3:11:46 PM UTC-7, John H Palmieri wrote:



 On Friday, August 8, 2014 2:09:36 PM UTC-7, Paul Graham wrote:

 I end up getting a permission denied error after running like this:

 user1@computer0:~/sage$ make


 I tried doing other things so the exact message went away but i know it 
 said permission error.

 THen i tried doing:

 user1@computer0:~/sage$ sudo sage -b

 user1@computer0:~/sage$ sudo sage --docbuild developer html

 but 
 file:///usr/lib/sagemath/src/doc/output/html/en/developer/sage_manuals.html 
 , still doesnt show my changes...

 Am i modifying the wrong file 
 /home/user1/sage/src/doc/en/developer/sage_manuals.rst ? Should i instead 
 be modifying /usr/lib/sagemath/src/doc/en/developer/sage_manuals.rst? It 
 says permission denied if i try to edit and save that one...


 On Friday, August 8, 2014 12:45:37 PM UTC-7, Paul Graham wrote:

 Okay. No worries, at this point nothing is very obvious to me yet! About 
 how hours does it normally take for sage to build the first time? I guess i 
 should of done 

 ./sage -br

 instead of 

 make

 since i didnt change any third party packages, just documentation, as 
 make has been running for the past 4 hours... Part of the learning process 
 i suppose.

 On Friday, August 8, 2014 12:40:54 AM UTC-7, Jeroen Demeyer wrote:

 On 2014-08-08 09:15, kcrisman wrote: 
  You have to do sage -b first, though I don't know if this is well 
  advertised. 

 Or even easier, you can replace 

 $ sage -b 
 $ sage --docbuild developer html 

 by the simple command 

 $ make 

 And sorry to state the obvious, but you might need to hit the refresh 
 button on your browser. 


 First, if you're just modifying .rst files, you shouldn't have to run 
 'make' or 'sage -b'; just rebuilding the documentation should be good 
 enough. Second, if when you rebuild the documentation, it tells you to look 
 in /usr/lib/..., then you should be editing the files in /usr/lib/... On 
 the other hand, if you want to edit files in /home/me/sage/src/..., then 
 you should run '/home/me/sage/sage --docbuild ...' to rebuild them.

 -- 
 John



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Deleting SSH key from trac account?

2014-08-07 Thread Paul Graham
Ahh okay, so you can delete one as long as you add one. Just once a key 
have been saved there it appears you cant click save changes with nothing 
there.

On Wednesday, August 6, 2014 4:31:21 PM UTC-7, Paul Graham wrote:

 Are you able to delete an SSH key that is associated with your trac 
 account? Ive tried erasing it and pressing 'save changes' but it stays 
 there?


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Authenticity warning message when SSH-ing into g...@trac.sagemath.org

2014-08-06 Thread Paul Graham
Im new to Sage development and am going through the various items from the 
dev guide, right now im trying to test that im being authenticated 
correctly as suggested by example 
in 
http://www.sagemath.org/doc/developer/trac.html#manually-linking-your-public-key-to-your-trac-account
 
after adding my ssh key to my trac account (i have one).

When i type in 
ssh g...@trac.sagemath.org info

It says: 

The authenticity of host 'trac.sagemath.org (some IP address)' can't be 
established.
ECDSA key fingerprint is (some hex string).
Are you sure you want to continue connecting (yes/no)? 

I am new to this process and wasn't sure whether or not its safe to write 
down the IP address and hext string in the above message. But i dont know 
what to do with thiat message, as id like to get up and running. 

And relating to this, step 5. in the Manually Linking your Public Key to 
your Trac Account section of the dev guide:

5. Paste the content of your public key file (e.g. ~/.ssh/id_rsa.pub)

I wasn't sure whether to copy and paste just the random string by itself, 
or the whole thing including the ssh-rsa and foo@bar.local parts, as 
like i said before, this is new to me :)

Example key (not mine) taken 
from: 
http://git-scm.com/book/en/Git-on-the-Server-Generating-Your-SSH-Public-Key

ssh-rsa B3NzaC1yc2EBIwAAAQEAklOUpkDHrfHY17SbrmTIpNLTGK9Tjom/BWDSUGPl
+nafzlHDTYW7hdI4yZ5ew18JH4JW9jbhUFrviQzM7xlELEVf4h9lFX5QVkbPppSwg0cda3 
Pbv7kOdJ/MTyBlWXFCR+HAo3FXRitBqxiX1nKhXpHAZsMciLq8V6RjsNAQwdsdMFvSlVK/7XA 
t3FaoJoAsncM1Q9x5+3V0Ww68/eIFmb1zuUFljQJKprrX88XypNDvjYNby6vw/Pb0rwert/En mZ
+AW4OZPnTPI89ZPmVMLuayrD2cE86Z/il8b+gw3r3+1nKatmIkjn2so1d01QraTlMqVSsbx 
NrRFi9wrf+M7Q== foo@bar.local

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Deleting SSH key from trac account?

2014-08-06 Thread Paul Graham
Are you able to delete an SSH key that is associated with your trac 
account? Ive tried erasing it and pressing 'save changes' but it stays 
there?

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.