Re: [Scilab-users] Scilab is crashing -- on one machine only

2017-06-28 Thread Tim Wescott
Thank you very much!  I missed that thread.  It's good to know what the
issue is.

Hopefully I can just wait it out -- if not, I know how to reboot with
an older kernel.

On Wed, 2017-06-28 at 11:09 +0300, Nikolay Strelkov wrote:
> Dear Tim!
> 
> As was discussed In the list ( http://mailinglists.scilab.org/Scilab-
> users-scilab-gt-Segmentation-fault-td4036624.html ).
> 
> This is not Scilab bug, it's bad attempt to fix CVE-2017-1000364
> security bug in Linux kernel.
> Debian 7, 8, 9; Ubuntu 14.04 LTS and 16.04 LTS are affected (seehttps
> ://bugs.launchpad.net/bugs/1699772).
> 
> The temporary solution is to reboot with previous kernel versions:
> * Debian 7 (wheezy): <= 3.2.78-1
> * Debian 8 (jessie): <= 3.16.43-2
> * Debian 9 (stretch): <= 4.9.30-2
> * Ubuntu 14.04 LTS (trusty): <= 3.13.0-119
> * Ubuntu 16.04 LTS (xenial): <= 4.4.0-79
> 
> Canonical and Debian will release normal kernel updates soon.
> 
> --
> With best regards,
> Ph.D., associate professor at MPEI,
> IEEE member,
> maintainer of Mathieu functions toolbox for Scilab,
> Nikolay Strelkov.
> 
> 28 июня 2017 г. 7:02 пользователь "Tim Wescott"  m> написал:
> On one machine, Scilab crashes, with a segmentation fault.
> 
> On the other, it perks along happily.
> 
> The "bad" machine had the normal Ubuntu installation of Scilab
> (5.5.2),
> then I wiped that and installed 6.0.0 -- same thing.  I just
> reinstalled the Ubuntu version -- crashes.
> 
> scilab-cli works
> 
> The "good" machine is the same Ubuntu distro (16.04, 64-bit).
> 
> Any clues as to what may be happening?
> 
> --
> 
> Tim Wescott
> www.wescottdesign.com
> Control & Communications systems, circuit & software design.
> Phone: 503.631.7815
> Cell:  503.349.8432
> 
> 
> 
> ___
> users mailing list
> users@lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
> 
-- 

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] overload column/row extraction

2017-06-28 Thread philippe
Le 28/06/2017 à 10:45, Samuel Gougeon a écrit :
> Hello Philippe,
> Could you please provide a full executable example, and the final error
> message?  It would help testing and possibly debugging.

Sorry Samuel I finally found the solution by myself ;-) My problem comes
from insertion more than extraction. I can now manage  all matrix of
"bigint". It remains to code some functions for overloading unary/binary
operators +-,*,/,<>,==  for compatibility between double/bigint/mbigint
  after that I could  publish it !

best regards,

Philippe

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plot with 2 y-axes

2017-06-28 Thread Richard llom
Hi Samuel,
thanks I already figured it out with demo_gui and by searching the archive.

So for the record:
For my case I needed to create 3-axes:
1 for each extra y-axe and one "virtual" to get the x-axe in its own color
scheme.

This is the code I ended up with:




--
View this message in context: 
http://mailinglists.scilab.org/Plot-with-2-y-axes-tp4036672p4036692.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] overload column/row extraction

2017-06-28 Thread Samuel Gougeon

Hello Philippe,
Could you please provide a full executable example, and the final error 
message?

It would help testing and possibly debugging.
Thanks
Samuel


Le 27/06/2017 à 22:06, philippe a écrit :

hi,

I've created a type "bigint" as an tlist :

x = tlist(['bigint','rep','signe'], tab, signe)
//  tab  =double vector
// signe = +-1

and then created a new type "mbigint" for  "matrix of bigint" as an mlist :

M=mlist(['mbigint','display','value'],D,T)
// D =matrix of strings
// T =cell  of bigint

Then I create the %mbigint_e.sci function to overload the extraction :

function r=%mbigint_e(varargin)
   M=varargin($)
   r=mlist(['mbigint','display','value'], M.display(varargin(1:$-1)),
M.value(varargin(1:$-1)))
endfunction

all kind of extractions works ( M(1,4); M(2,:) ; M(:,2)  ) except
the mixed extraction on row/column  like M(2:3,2:3). I don't understand
the problem,  does anyone can help me ?

Philippe

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Plot with 2 y-axes

2017-06-28 Thread Samuel Gougeon

Le 27/06/2017 à 13:33, Richard llom a écrit :

Hello Samuel,
I couldn't find plotyy in the help, neither does plotyy() work for me:
"Undefined variable: plotyy"


My fault: demos are not named plotyy() and plotyyy() but plotyy and plotyyy.
There are usages without dedicated functions. In the demos GUI:
--> demo_gui // go to the Graphics => 2D and 3D plot section

To get documentation on the archives, you may use for instance
--> uman plotyy|plotyyy @

after having installed uman:
--> atomsInstall uman


Samuel

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] Scilab is crashing -- on one machine only

2017-06-28 Thread Nikolay Strelkov
Dear Tim!

As was discussed In the list (
http://mailinglists.scilab.org/Scilab-users-scilab-gt-Segmentation-fault-td4036624.html
).

This is not Scilab bug, it's bad attempt to fix CVE-2017-1000364 security
bug in Linux kernel.
Debian 7, 8, 9; Ubuntu 14.04 LTS and 16.04 LTS are affected (see
https://bugs.launchpad.net/bugs/1699772).

The *temporary* solution is to reboot with previous kernel versions:
* Debian 7 (wheezy): <= 3.2.78-1
* Debian 8 (jessie): <= 3.16.43-2
* Debian 9 (stretch): <= 4.9.30-2
* Ubuntu 14.04 LTS (trusty): <= 3.13.0-119
* Ubuntu 16.04 LTS (xenial): <= 4.4.0-79

Canonical and Debian will release normal kernel updates soon.

--

*With best regards,Ph.D., *


*associate professor at MPEI
,IEEE member,maintainer
of Mathieu functions toolbox for Scilab
,Nikolay Strelkov.*

28 июня 2017 г. 7:02 пользователь "Tim Wescott" 
написал:

On one machine, Scilab crashes, with a segmentation fault.

On the other, it perks along happily.

The "bad" machine had the normal Ubuntu installation of Scilab (5.5.2),
then I wiped that and installed 6.0.0 -- same thing.  I just
reinstalled the Ubuntu version -- crashes.

scilab-cli works

The "good" machine is the same Ubuntu distro (16.04, 64-bit).

Any clues as to what may be happening?

--

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432



___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users