Re: [sage-devel] Re: errno 2 on server only due to missing jmol files

2015-11-10 Thread Jeroen Demeyer

On 2015-11-10 18:56, kcrisman wrote:

Well, it was interrupted for me by a network issue, let's say.   But
then redoing make didn't seem to notice.

I don't understand what you mean with "didn't seem to notice".

Can you just tell me what you did and what went wrong? I'm a bit lost...

--
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: A new book on Sage, for high school students in Poland

2015-11-10 Thread kcrisman

>
>
> I'd like to mention a new book using Sage I co-authored, that got 
> released last week. 
>
>
This is awesome!  We should definitely get this advertised on the website 
as soon as possible.

 

> It is in Polish and covers all mathematics topics from high school, 
> according to the current core curriculum in Poland. It is not a 
> textbook, but supplemental material, which aims to wake up the 
> imagination on the way to proper understanding of mathematics topics. 
> This is why decided to use mathematical package to remove the burden 
> of calculations, and this is why we also decided to use lot of 
> references to pop-culture and imagined stories - sea snake named 
> Ssstefan approaching the Viking ship helps to understand function 
> transformations, Brian the crocodile tamer helps to see overlapping 
> intervals. 
>
> We covered all major interfaces (Cell, Cloud, Notebook, iPhone, 
> Android apps). It is 352 pages, typeset using PDFLaTeX+SageTeX package 
> (we had to adjust it a bit, because we decided to save images in SVG 
> and then convert to TikZ using https://github.com/kjellmf/svg2tikz - 
> for 3D graphics we decided to output png from Tachyon and then added 
> overlay in TikZ, which was more tricky, but also worked). 
>
> It would be cool if our book could be mentioned on 
> http://www.sagemath.org/library-publications.html#books - and it would 
> be also very helpful if we could hear some opinions. Especially, that 
> we have some plans on making an English version in the future - and 
> any opportunity to improve would be great (we need to find some budget 
> for professional translation service, as there are jokes and ideas in 
> the book that do not translate 1-1). 
>
> Below are some release informations: 
>
> Authors: Andrzej Giniewicz, Katarzyna Zajączkowska 
> Title: "Zrozumieć matematykę z pakietem Sage" (translation: 
> "Understand mathematics with the Sage package") 
> Publisher: GiS (http://www.gis.wroc.pl/) 
> ISBN: 978-83-62780-42-6 
> Year: 2015 
> Web page: http://www.eurekacode.com/matematyka 
>
> Sorry, but web pages are in Polish. 
>
> It is kind of self-promotion, but I think it is still relevant. (btw, 
> do we have separate list for such announcements?) 
>
> We are looking forward to hearing some opinions, 
> Thanks, 
> Andrzej Giniewicz & Katarzyna Zajączkowska. 
>

-- 
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: errno 2 on server only due to missing jmol files

2015-11-10 Thread kcrisman


> On 2015-11-10 07:25, kcrisman wrote: 
> > If the build is interrupted, bad things will happen without errors. 
> What do mean? Do you think that Sage should check that all packages are 
> installed before starting? I don't think we should do that: imagine that 
>

No, that's not what I meant.  I meant Sage shouldn't tell me it built okay 
when it didn't.

>
>  > and/or you can't write to HOME/.sage 
> Well, that's a different thing entirely. If no error message shows up, 
> this is indeed a problem with the build scripts. 
>
>
I get an error, but it doesn't tell me any packages failed to build.

 

> > I had 
> > reissued make and the build completed, including building 
> > documentation!  Or so it said, anyway.  It never noticed the missing 
> > packages. 
> I don't get it. You said you *interrupted* the build. 
>
>
Well, it was interrupted for me by a network issue, let's say.   But then 
redoing make didn't seem to notice.

> Bizarrely, doing "sudo make" so it could write to my local folder FIRST 
> > rebuilt the documentation (quick because no changes) and THEN just now 
> > started building cddlib, gfan, cvxopt, and a host of other stuff.  I 
> > will repeat that there were no relevant error messages in the log files. 
> Yes, this order is optimized for parallel builds. With parallel builds, 
> you want to start building the documentation as soon as possible since 
> it takes a long time. 
>
>
>
Okay, that's newer - in the past the documentation was always the last to 
build.  Good idea, as you say. 

-- 
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] A new book on Sage, for high school students in Poland

2015-11-10 Thread Andrzej Giniewicz
Hello,

I'd like to mention a new book using Sage I co-authored, that got
released last week.

It is in Polish and covers all mathematics topics from high school,
according to the current core curriculum in Poland. It is not a
textbook, but supplemental material, which aims to wake up the
imagination on the way to proper understanding of mathematics topics.
This is why decided to use mathematical package to remove the burden
of calculations, and this is why we also decided to use lot of
references to pop-culture and imagined stories - sea snake named
Ssstefan approaching the Viking ship helps to understand function
transformations, Brian the crocodile tamer helps to see overlapping
intervals.

We covered all major interfaces (Cell, Cloud, Notebook, iPhone,
Android apps). It is 352 pages, typeset using PDFLaTeX+SageTeX package
(we had to adjust it a bit, because we decided to save images in SVG
and then convert to TikZ using https://github.com/kjellmf/svg2tikz -
for 3D graphics we decided to output png from Tachyon and then added
overlay in TikZ, which was more tricky, but also worked).

It would be cool if our book could be mentioned on
http://www.sagemath.org/library-publications.html#books - and it would
be also very helpful if we could hear some opinions. Especially, that
we have some plans on making an English version in the future - and
any opportunity to improve would be great (we need to find some budget
for professional translation service, as there are jokes and ideas in
the book that do not translate 1-1).

Below are some release informations:

Authors: Andrzej Giniewicz, Katarzyna Zajączkowska
Title: "Zrozumieć matematykę z pakietem Sage" (translation:
"Understand mathematics with the Sage package")
Publisher: GiS (http://www.gis.wroc.pl/)
ISBN: 978-83-62780-42-6
Year: 2015
Web page: http://www.eurekacode.com/matematyka

Sorry, but web pages are in Polish.

It is kind of self-promotion, but I think it is still relevant. (btw,
do we have separate list for such announcements?)

We are looking forward to hearing some opinions,
Thanks,
Andrzej Giniewicz & Katarzyna Zajączkowska.

-- 
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] numpy/matplotlib/scipy upgrade needs review

2015-11-10 Thread François Bissey

Hi all,

I have put three tickets that have to be merged together
as needing review.
* numpy 1.10.1 http://trac.sagemath.org/ticket/17642
* matplotlib 1.5.0 http://trac.sagemath.org/ticket/19556
* scipy 0.16.1 http://trac.sagemath.org/ticket/17643

numpy has three patches added. The first two are backport
provided by upstream and included by some distro.
The last one is to enable sage to interact nicely with
linspace from numpy. After a good discussion with
upstream we have agreed to the fix which I included.
Before my changes are merged in upstream numpy I need
to write some tests (help welcome).

The upgrade of numpy generate a lot of deprecation warnings.
All but two of them go away by upgrading matplotlib to 1.5.0.
The ticket for the matplotlib upgrade also has fix for the last
two deprecation warnings. Finally the matplotlib upgrade obsoletes
a doctest that was showcasing a limitation that doesn't exist
anymore. Said doctest has been removed.

Finally the upgrade to numpy also change the output (format) of one
doctest involving scipy. Upgrading scipy changes the format of that 
doctest again so I only fixed it in the scipy ticket upgrade.


Cheers,
Francois

--
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: Patchbot warnings about "increased startup time"

2015-11-10 Thread Frédéric Chapoton
Because this is a very flaky plugin, its results must be human-interpreted 
and not taken a a rule of law.

More generally, the patchbots are there to warn you, but full green light 
is not a mandatory requirement.

Le mardi 10 novembre 2015 21:58:45 UTC+1, Nathann Cohen a écrit :
>
> Hello everybody, 
>
> Once in a while one of my tickets is flagged by the patchbot as 
> "increasing startup time". Sometimes I add a function or two and thus 
> wonder if I did something wrong, but in this specific case I am 
> relatively confident that I didn't do anything that might have 
> increased startup time: 
>
> Could somebody who knows about such matters see why the patchbot 
> reports this ticket as impacting Sage's startup time? 
>
> http://trac.sagemath.org/ticket/19564 
>
> All it does is remove some pointers from a C++ file. 
>
> Thanks, 
>
> Nathann 
>

-- 
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] Patchbot warnings about "increased startup time"

2015-11-10 Thread Nathann Cohen
Hello everybody,

Once in a while one of my tickets is flagged by the patchbot as
"increasing startup time". Sometimes I add a function or two and thus
wonder if I did something wrong, but in this specific case I am
relatively confident that I didn't do anything that might have
increased startup time:

Could somebody who knows about such matters see why the patchbot
reports this ticket as impacting Sage's startup time?

http://trac.sagemath.org/ticket/19564

All it does is remove some pointers from a C++ file.

Thanks,

Nathann

-- 
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: errno 2 on server only due to missing jmol files

2015-11-10 Thread Jeroen Demeyer

On 2015-11-10 07:25, kcrisman wrote:

If the build is interrupted, bad things will happen without errors.
What do mean? Do you think that Sage should check that all packages are 
installed before starting? I don't think we should do that: imagine that 
for some reason R does not build on a particular system. That user might 
be happily using Sage without R installed. Also, Sage itself is used by 
certain pieces of the build system (conway_polynomials for example uses 
Sage to install a pickle).


> and/or you can't write to HOME/.sage
Well, that's a different thing entirely. If no error message shows up, 
this is indeed a problem with the build scripts.



I had
reissued make and the build completed, including building
documentation!  Or so it said, anyway.  It never noticed the missing
packages.

I don't get it. You said you *interrupted* the build.


Bizarrely, doing "sudo make" so it could write to my local folder FIRST
rebuilt the documentation (quick because no changes) and THEN just now
started building cddlib, gfan, cvxopt, and a host of other stuff.  I
will repeat that there were no relevant error messages in the log files.
Yes, this order is optimized for parallel builds. With parallel builds, 
you want to start building the documentation as soon as possible since 
it takes a long time.


Jeroen.

--
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: errno 2 on server only due to missing jmol files

2015-11-10 Thread kcrisman
Okay, I think that I figured out the problem.  I built Sage from scratch to 
upgrade our notebook server, and find a whole slew of packages that never 
built!  But there are no error messages I can find - just no log files.  In 
particular, I can't find any jmol - or indeed cddlib or some other stuff.  
But that would explain my initial problem.

How could that happen?  I believe there is an error in our build scripts.  
If the build is interrupted (as was the case here) and/or you can't write 
to HOME/.sage, bad things will happen without errors.  I had reissued make 
and the build completed, including building documentation!  Or so it said, 
anyway.  It never noticed the missing packages.

Bizarrely, doing "sudo make" so it could write to my local folder FIRST 
rebuilt the documentation (quick because no changes) and THEN just now 
started building cddlib, gfan, cvxopt, and a host of other stuff.  I will 
repeat that there were no relevant error messages in the log files.  

I am 90% certain that my problem will be solved by the time all these 
packages finish building, but I wanted to bring this up because perhaps 
others will be building Sage remotely and not use/not remember how to 
use/not know how to use things like screen and nohup.  At the very least 
make should figure out that these packages aren't built!

- 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.


[sage-devel] Re: ipython-notebook: show picture in notebook (e.g. latex-tikz)

2015-11-10 Thread Henri Girard
+1 circuitikz in jupiter

Le jeudi 2 avril 2015 21:52:08 UTC+2, Daniel Krenn a écrit :
>
> The command 
>   view(transducers.GrayCode()) 
> produces tikz-output which can be show by latex. In sagenb this was 
> shown directly inside the notebook, while in the ipython-notebook this 
> opens a new pdf with the picture. 
>
> It would be nice to have this shown in the ipynb... 
>
> Comments? Guesses when this will be possible? Trac-Ticket? 
>
> Best wishes, 
>
> Daniel 
>

-- 
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.