Re: [sage-support] Re: 'ascii' codec can't decode byte 0xef in position 281

2016-10-23 Thread v_2e
On Sat, 22 Oct 2016 13:18:12 -0700 (PDT) Volker Braun wrote: > Thats definitely a SageNB bug, though afaik nobody is maintaining > that. My recommendation would be to use "sage --notebook=jupyter" > instead. > Hello! I think, I have fixed this bug. At least, the Notebook does what I need in

Re: [sage-support] Re: 'ascii' codec can't decode byte 0xef in position 281

2016-10-22 Thread v_2e
On Sat, 22 Oct 2016 13:18:12 -0700 (PDT) Volker Braun wrote: > Thats definitely a SageNB bug, though afaik nobody is maintaining > that. My recommendation would be to use "sage --notebook=jupyter" > instead. > Perhaps I could try to do that. Is there some guide on replacing the Sage Notebook ser

[sage-support] 'ascii' codec can't decode byte 0xef in position 281

2016-10-22 Thread v_2e
Hello! I use the Sage Notebook on my server with Sage v.7.4. And each time I try to open some TXT file in the DATA folder I get the error message in the web interface 500: Internal server error. And in the terminal where I started the Sage server, I see this error message: ===

Re: [sage-support] Re: Worksheet "sleep"

2015-03-15 Thread v_2e
On Sun, 15 Mar 2015 02:57:17 -0700 (PDT) Volker Braun wrote: > Presumably your program is printf()-ing stuff on the screen. Once the > stdout buffer fills up your program is paused until the parent reads > the output, this is how stdout works. Redirect stdout to a file or > use screen/tmux. >

[sage-support] Worksheet "sleep"

2015-03-14 Thread v_2e
Hello! I have the following problem, and I do not know whether it is a bug or a supposed behaviour. I upload a C program to my worksheet and compile it using the server's GCC with this command: os.system("cd "+DATA+" && gcc infinite_cycle.c -o infinite_cycle.bin") Than I start the obtained

Re: [sage-support] Installing Python module in Sage (Ubuntu)

2014-04-23 Thread v_2e
Hello! On Wed, 23 Apr 2014 15:40:10 -0700 William Stein wrote: > > 0. Install the necessary devel libraries for Ubuntu: > > sudo apt-get install h5utils libhdf5-dev libhdf5-doc > > 1. Install PIP: > > sage -sh > wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py; >

Re: [sage-support] Re: [Localization] how to switch notebook language..

2013-06-02 Thread v_2e
On Sun, 2 Jun 2013 17:17:33 -0400 Olalékan ABOU BAKAR wrote: > Never mind.. the admin notebook settings are inherited by all other > users! > Which is not very convenient. Vladimir - -- You received this message because you are subscribed to the Google Groups "sage-support" grou

[sage-support] e-mail setting in Notebook

2013-02-22 Thread v_2e
Hello! Could somebody please explain me what does the field 'e-mail' in Sage Notebook account settings exists for? How can I use it? And why cannot I change it when I try? Thanks! Vladimir - -- You received this message because you are subscribed to the Google Groups "sage-sup

[sage-support] Re: Matplotlib: KeyError: 'ItalicAngle'

2012-11-25 Thread v_2e
.get_angle() != 0 or name.lower ().find('italic') >= 0: File "/opt/sage/sage-5.4.1/local/lib/python2.7/site-packages/matplotlib/afm.py", line 468, in get_angle return self._header['ItalicAngle'] KeyError: 'ItalicAngle' ## End ## On Sun

[sage-support] Matplotlib: KeyError: 'ItalicAngle'

2012-11-18 Thread v_2e
operty if font.get_angle() != 0 or name.lower().find('italic') >= 0: File "/opt/sage-5.3/local/lib/python2.7/site-packages/matplotlib/afm.py", line 468, in get_angle return self._header['ItalicAngle'] KeyError: 'ItalicAngle'

Re: [sage-support] Re: large upload fails

2012-08-05 Thread v_2e
, really a lot of work had been done about Notebook! Thanks! Vladimir > On 7/22/12 1:03 AM, v_2e wrote: > >Hello! > >I'm sorry to bring up this old topic, but years are passing by > > and the problem is still there. > >It has been discuss

Re: [sage-support] Dealing with 'NaN' values

2012-07-31 Thread v_2e
Hello! On Tue, 31 Jul 2012 09:16:31 +0200 Zimmermann Paul wrote: >Hi Vladimir, > > 'NaN' means "Not a Number". It might produced by some uninitialized > value, or the arithmetic of some invalid arithmetic operation, like > sqrt(-1.0), 0/0, Inf - Inf, ... > > You should first investig

[sage-support] Dealing with 'NaN' values

2012-07-30 Thread v_2e
Hello! I'm working with some data arrays which have 'NaN's somewhere inside them. So I have a couple of questions on how to deal with such arrays. First, how does the 'mean()' function treats the 'NaN' values in the lists passed to it? Should it just ignore them and calculate the average valu

Re: [sage-support] Re: large upload fails

2012-07-24 Thread v_2e
ly 24, 2012 5:27:09 AM UTC-4, v_2e wrote: > > > > I sniffed the traffic from my browser to my local Sage-server > > during such large file upload attempt using WireShark. But I'm not > > sure how to interpret the obtained results. > > - -- To pos

Re: [sage-support] Re: large upload fails

2012-07-24 Thread v_2e
Hello! On Sun, 22 Jul 2012 12:45:57 -0700 (PDT) Volker Braun wrote: > ... > If you want to get to the bottom of it, check the logs and/or sniff > the http traffic and see what happens. Does the upload end in a HTTP > error code 413 ("Request Entity Too Large")? > I sniffed the traffic from

Re: [sage-support] Re: large upload fails

2012-07-23 Thread v_2e
t, check the logs and/or sniff > the http traffic and see what happens. Does the upload end in a HTTP > error code 413 ("Request Entity Too Large")? > I'd try that. Could you please give me a hint how to do that? Thank you! > > On Sunday, July 22, 2012 2:03:04

[sage-support] Re: large upload fails

2012-07-21 Thread v_2e
It sounds like v_2e is suggesting this doesn't actually always happen. kcrisman <http://ask.sagemath.org/users/41/kcrisman/> (Dec 06 '11)" I tried to upload one of my worksheets (about 11 MB in size) to several Sage servers today: - my local server on localhost:8000 (run

[sage-support] numpy.histogram2d - TypeError: len() of unsized object

2012-07-21 Thread v_2e
Hello! I encountered the following problem today. A simple example code import numpy x = numpy.random.randn(3000) y = numpy.random.randn(3000) hist,xedges,yedges = numpy.histogram2d(x,y,bins=40) which I took here: http://www.physics.ucdavis.edu/~dwittman/Matplotlib-exampl

[sage-support] legend_label in graphics_array()

2012-07-03 Thread v_2e
Hello! I need to use a graphics_array() function to plot two functions with "legend_labels". I remember not being able to do that about a year ago, but tried to check it out today and found this ticket: http://trac.sagemath.org/sage_trac/ticket/11160 The comment #5 there ( http://trac.sagema

Re: [sage-support] Re: Sage-4.8: ATLAS-build - Illegal instruction

2012-02-03 Thread v_2e
Hello! On Thu, 2 Feb 2012 11:55:08 -0800 (PST) Volker Braun wrote: > On Thursday, February 2, 2012 11:36:48 AM UTC-8, v_2e wrote: > > > > What setting should I use for the Intel Core i3 processor? "Corei7" > > > > I'd try that first. > Tha

Re: [sage-support] Re: Sage-4.8: ATLAS-build - Illegal instruction

2012-02-02 Thread v_2e
Hello! On Thu, 2 Feb 2012 10:46:08 -0800 (PST) Volker Braun wrote: > We saw that earlier, somehow ATLAS failed to find its L1 cache size. > It has been reported that setting SAGE_ATLAS_ARCH fixes this > (see http://www.sagemath.org/doc/installation/source.html) > Thank you! I'll try tha

[sage-support] Sage-4.8: ATLAS-build - Illegal instruction

2012-02-02 Thread v_2e
Hello! I tried to build Sage-4.8 on my Debian Testing x86_64 machine and failed because of some error with ATLAS build. To be short, it gave me the following error message: # Begin quote /opt/sage-4.8/spkg/build/atlas-3.8.4.p1/ATLAS-build/bin/ATLrun.sh /opt/sage-4.8/spkg

[sage-support] 'plotjoined=False' puts the plot to back

2012-01-10 Thread v_2e
Hello! I discovered today that if I list_plot two lists on the same graph, the order of the curves depends on the value of the 'plotjoined' parameter. I want to plot one list with joined points (theoretical curve) and the second list with scattered points (experimental points). Naturally, I

Re: [sage-support] Re: Does 'plot' evaluate the function at random points?

2011-12-14 Thread v_2e
Hello! On Wed, 14 Dec 2011 08:20:02 -0800 (PST) kcrisman wrote: >... As you can see at > http://sagemath.org/doc/reference/sage/plot/plot.html#sage.plot.plot.generate_plot_points, > if you do "randomize=False" you will get what you want. > Thanks a lot! It did exactly what I wanted to get!

[sage-support] Does 'plot' evaluate the function at random points?

2011-12-14 Thread v_2e
Hello! I have noticed a strange unpredictable behaviour of the "plot" function today. Here is the situation: I have a data set in the following form: [[2006, 289.5750], [2007, 289.5470], [2008, 289.4790], [2009, 289.5860],

Re: [sage-support] Re: Low order digits from thin air

2011-12-12 Thread v_2e
On Mon, 12 Dec 2011 07:16:17 -0600 Jason Grout wrote: > > sage: round(-0.02800200,12) > -0.028 > > See > http://www.sagemath.org/doc/reference/sage/misc/functional.html?#sage.misc.functional.round > Thanks a lot! :) It looks like I really should improve my searching skills. Usually

Re: [sage-support] Low order digits from thin air

2011-12-12 Thread v_2e
On Mon, 12 Dec 2011 04:42:19 -0800 (PST) Volker Braun wrote: > A good read is "What Every Computer Scientist Should Know About > Floating-Point Arithmetic": > > http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html Thank your for the advice. I'll take a look at it. On Mon, 12 Dec 20

[sage-support] Low order digits from thin air

2011-12-12 Thread v_2e
Hello! I have discovered a strange (at least so it seems to me) behaviour of Sage. Here is the problem: I have a list of tuples of the following format: (2000, 289.4280) (2001, 289.5570) (2002, 289.6050) (2003, 289.6170)

[sage-support] legend_label doesn't work with graphics_array

2011-12-10 Thread v_2e
Hello! Today I have noticed that if I cannot use the "legend_label" plot parameter while joining several plots in one "grahpics_array" object. For example, the following code works fine: plot1 = plot(sin, xmin=0, xmax=8*pi) plot2 = plot(cos, xmin=0, xmax=8*pi) total_p

Re: [sage-support] Re: Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-15 Thread v_2e
Hello! On Mon, 14 Nov 2011 17:29:24 -0600 Jason Grout wrote: > ... > As a work-around, you can do (in the last statement): > > curves_plot.show(ymin=0, ymax=0.7, figsize= > [8,4],aspect_ratio='automatic') > Thank you! That hint really helped! :) Regards, Vladimir - -- T

Re: [sage-support] Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread v_2e
On Mon, 14 Nov 2011 12:56:26 -0800 William Stein wrote: > > What input did you give to get the output you show in the file above? > On Mon, 14 Nov 2011 15:33:50 -0600 Jason Grout wrote: > > There were some changes in how aspect ratio and figure sizes are > handled in 4.7.2, so yes, it would b

[sage-support] Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread v_2e
Hello! I upgraded Sage to version 4.7.2 a couple of days ago and today I noticed a strange behaviour of "graphics_array". It shows only the last element of the array correctly (with a correct size) while all the previous plots are too small. Here is a screenshot of what it looks like:

Re: [sage-support] Re: Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-22 Thread v_2e
Hello! On Mon, 22 Aug 2011 07:43:28 -0700 (PDT) Chris Seberino wrote: > On Aug 22, 8:06 am, Simon King wrote: > > But apparently other people find it practical to be able to > > write 2x instead of 2*x. > > The preference comes from years of using Mathematica. Also, I think a > space looks

Re: [sage-support] Re: Is "x (x)" impossible with all implicit_multiplication levels? (Please help decode warning get.)

2011-08-22 Thread v_2e
Hello guys! Could you please explain me (and perhaps some of the other readers) the reasons (or advantages) of using implicit multiplication at all? I mean in what situations it could be useful? Thanks Vladimir - -- To post to this group, send email to sage-support@googlegro

Re: [sage-support] Re: how to a copy of a nested list?

2011-08-18 Thread v_2e
Hello! On Thu, 18 Aug 2011 00:35:21 -0700 (PDT) Stan Schymanski wrote: > Dear Robert, > > Thanks a lot for your help, this is exactly what I wanted. I still > don't get why it is necessary to import a special function to perform > such a standard thing. "import copy" has the affect that sudde

[sage-support] Re: large upload fails

2011-07-07 Thread v_2e
Hello! It looks like this problem is still there. Or maybe someone knows a workaroud? My situation is as follows: I have a single .sws file with the size about 20 MB and I cannot upload it onto any Sage Notebook servers I know including my own laptop. Thanks. Vladimir On Dec 3, 2009,