[sage-support] libgmp bug?

2011-06-14 Thread Thierry Dumont

Dear Colleagues,
Using 4.7, we got the following bug,... Sage-4.7 was obtained by 
upgrading from source the last preceeding version.

Here is the gdb run.
Yours
t.d.


germoni@damysos:~$ sage -gdb
--
| Sage Version 4.7, Release Date: 2011-05-23 |
| Type notebook() for the GUI, and license() for information.|
--
/usr/local/sage/local/bin/sage-ipython
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/local/sage/local/bin/python...done.
[Thread debugging using libthread_db enabled]
Python 2.6.4 (r264, May 28 2011, 10:37:01)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
sage: var("x y")
(x, y)
sage:
parametric_plot3d((x,y,1-(x^2+y^2)/6),(x,-1,1),(y,-1,1),opacity=.6).show(viewer="tachyon",aspect_ratio=1)

Program received signal SIGILL, Illegal instruction.
0x72265dd3 in mpn_popcount ()
   from /usr/local/sage/local/lib/libgmp.so.3
(gdb)

--
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
<>

[sage-support] Re: Memleak when deleting elliptic curve over finite field ?

2011-06-14 Thread Jean-Pierre Flori

On 14 juin, 08:44, Simon King  wrote:
> Since sage-nt seems to agree that it is a bug, I opened trac ticket
> #11474.
Good !

About the original memleak, I tried looking at how
EllipticCurves_finite_field (maybe not correct name) are created but
could not find anything fishy, only Python code which should not
produce any memleak.
I also tried running sage under valgrind (using the new spkg available
on trac) but that was not more helpful.
So any help or advice, even completely trivial, to investigate this
would be welcome.

Cheers,
JP

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


[sage-support] sage-support header

2011-06-14 Thread Keshav Kini
The header on the sage-support google group says "Before posting, please 
check the FAQ page or try searching Sage resources. You can also goto 
ask.sagemath.org or join IRC chat room #sage-devel at irc.freenode.net." 
This should be changed so that "goto" becomes "go to", and so that 
"#sage-devel" becomes "#sagemath".

-Keshav

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


[sage-support] Re: How configure notebook server to have ALL new worksheets for ALL users run some customizations?

2011-06-14 Thread Chris Seberino
Nevermind.  I found out about $HOME/.sage/init.sage

cs

On Jun 13, 11:54 pm, Chris Seberino  wrote:
> How configure notebook server to have ALL new worksheets for ALL users
> run some customizations?
>
> e.g. I want implicit_multiplication(True) to be global as well as
> var("a b c d e f g h  z")
> and var("alpha beta gamma delta  omega")
>
> cs

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


[sage-support] Sage startup problem

2011-06-14 Thread flyingsquirrel
I installed sage on a ubuntu system using the binary file (sage-4.7-
linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux.tar.lzma). Then when I try
to start it up, I get the following:

--
| Sage Version 4.7, Release Date: 2011-05-23 |
| Type notebook() for the GUI, and license() for information.|
--
/usr/local/share/sage/local/bin/python: 2:   
   : not found
/usr/local/share/sage/local/bin/python: 1: cannot create  � @@ @8:
Permission denied
/usr/local/share/sage/local/bin/python: 1:  ELF: not found
/usr/local/share/sage/local/bin/python: 3: ��
   : not found
/usr/local/share/sage/local/bin/python: 3: CE��
   :�
 2b���K���qX j �:
not found
/usr/local/share/sage/local/bin/python: 3: � ��0 : not found
/usr/local/share/sage/local/bin/python: 3:
   : not found
/usr/local/share/sage/local/bin/python: 3: �: not found
/usr/local/share/sage/local/bin/python: 3: � �@� 
 : not found
/usr/local/share/sage/local/bin/python: 3:: not found
/usr/local/share/sage/local/bin/python: 3:  H��s�  �� H���5r: not
found
/usr/local/share/sage/local/bin/python: 3:  8 ���: not found
/usr/local/share/sage/local/bin/python: 1: Syntax error: word
unexpected (expecting ")")

(Those are a bunch of garbled characters.) If anybody can point out
what's wrong here, I would greatly appreciate it.

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


Re: [sage-support] Re: Must *all* notebook server pages be under SSL if server uses SSL?

2011-06-14 Thread Michael Orlitzky
On 06/13/2011 06:16 PM, Chris Seberino wrote:
> On Jun 13, 4:43 pm, Michael Orlitzky  wrote:
>> I don't know if there's a way to allow this, but why would you want to?
>> When you log in -- presumably, over SSL, because you want to protect
>> your password -- your browser is sent a session cookie that it uses to
>> identify you in the future.
>>
>> If you switch to plain HTTP in the same session, your password won't be
>> sent in plain text, but the session cookie will be, and that's almost as
>> bad: an attacker can pretend he's you until you log out.
>>
>> You could do a delicate dance to try to ensure that only "unprivileged"
>> data is sent across the plain-HTTP channel; but again, why? And is it
>> worth the time it would take to implement it and the associated security
>> risk?
> 
> Michael
> 
> Speed is one reason someone may want to only do the login with SSL.

The speed difference really is negligible these days.


> I just checked and when I log into PayPal, it stays in SSL mode.
> However, when I log into eBay, it jumps OUT of SSL mode.  Godaddy
> seems to do some pages with SSL and some without SSL.
> 
> Whenever these sites drop down to unencrypted, aren't they also
> insecure since eBay and Godaddy are sending cookies in the clear?

Chances are, they screwed up somewhere and are insecure. While it's
still possible to send *only* the cookie over HTTPS, it's unnecessarily
error-prone. Someone released a tool a while ago called Firesheep that
was originally targeted at Facebook,

  http://codebutler.com/firesheep

and a number of other websites got caught with their pants down,
including Google (gmail), Twitter, and Flickr. So it's not so
unbelievable that eBay or GoDaddy would make the same mistake.

If your account is important enough that you encrypt the password, you
probably want to encrypt the whole session.

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


Re: [sage-support] Log log plots in sage.

2011-06-14 Thread ancienthart
Thanks Rajeev.
Incidently, doing
plt.savefig('./a.png')
will allow notepad to display the resultant file.

Joal Heagney

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