[julia-users] I cant view Plots in Juno - Atom IDE

2016-08-07 Thread Erick J Zagal
I have this code: using Plots x = linspace(0, 10, 200) y = sin(x) plot(x, y, color=:blue, linewidth=2, label="sine") when run this in the console , show the plot , but trying in Juno only show [Plots.jl] Initializing backend:plotly the plot is nothing Add a Screenshot Help

Re: [julia-users] Is the master algorithm on the roadmap?

2016-08-07 Thread Kevin Liu
I'll try to build it, compare it, and show it to you guys. I offered to do this as work. I am waiting to see if they will accept it. On Sunday, August 7, 2016 at 6:15:50 PM UTC-3, Stefan Karpinski wrote: > > Kevin, as previously requested by Isaiah, please take this to some other > forum or

Re: [julia-users] GlobalRef(Module, func) vs. :(Module.func)

2016-08-07 Thread Yichao Yu
On Mon, Aug 8, 2016 at 7:14 AM, Andrei Zh wrote: > Then maybe the whole approach is incorrect, so let me describe what I try > to achieve. > > The general idea is to extract AST of a function and do some > Without knowing more higher level information, if this is what

Re: [julia-users] GlobalRef(Module, func) vs. :(Module.func)

2016-08-07 Thread Andrei Zh
Then maybe the whole approach is incorrect, so let me describe what I try to achieve. The general idea is to extract AST of a function and do some transformations on it. To do so, I use `Base.uncompressed_ast` (borrowed from ReverseDiffSource.jl

Re: [julia-users] GlobalRef(Module, func) vs. :(Module.func)

2016-08-07 Thread Yichao Yu
On Mon, Aug 8, 2016 at 3:57 AM, Andrei Zh wrote: > While parsing Julia expressions, I noticed that sometimes calls to > This shouldn't happen. > global functions resolve to `GloablRef` and sometimes to > and GlobalRef should only happen during lowering. >

[julia-users] Re: I get this error while trying to run *.jl file from Terminal ERROR: LoadError: UndefVarError: input not defined

2016-08-07 Thread Kristoffer Carlsson
Please include the file you are tying to run. On Sunday, August 7, 2016 at 11:09:07 PM UTC+2, Rishabh Raghunath wrote: > > > > Hello, > I am a beginner in the Julia language .. > I get this error while I try to run .jl Julia program file from the > terminal. However It works perfectly fine

Re: [julia-users] Is the master algorithm on the roadmap?

2016-08-07 Thread Stefan Karpinski
Kevin, as previously requested by Isaiah, please take this to some other forum or maybe start a blog. On Sat, Aug 6, 2016 at 10:53 PM, Kevin Liu wrote: > Symmetry-based learning, Domingos, 2014 https://www.microsoft.com/en- > us/research/video/symmetry-based-learning/ > >

Re: [julia-users] @animate @gif using plots

2016-08-07 Thread Tom Breloff
Something like 'legend = :topright' might work. On Sunday, August 7, 2016, digxx wrote: > Is it possible to position the legend manually in a plot(x,y,leg_pos=???) >

Re: [julia-users] @animate @gif using plots

2016-08-07 Thread digxx
Is it possible to position the legend manually in a plot(x,y,leg_pos=???)

Re: [julia-users] Re: chol() more strict in v0.5?

2016-08-07 Thread Andreas Noack
It would be great with an entry for this in Compat.jl, e.g. something like cholfact(A::HermOrSym, args...) = cholfact(A.data, A.uplo, args...) On Sun, Aug 7, 2016 at 2:44 PM, Chris <7hunderstr...@gmail.com> wrote: > mmh, could you explain your comment a little more? > > David, thanks for the

Re: [julia-users] @animate @gif using plots

2016-08-07 Thread digxx
Sorry again, not quite the same error: He was using ffmpeg apparently. Though I got it working with convert now (after removing all the imagemagick packages from julia and with the manually installed stuff) what is remaining is the jumping legend also seen in the above uploaded gif.

[julia-users] GlobalRef(Module, func) vs. :(Module.func)

2016-08-07 Thread Andrei Zh
While parsing Julia expressions, I noticed that sometimes calls to global functions resolve to `GloablRef` and sometimes to getfield(Module, func). Could somebody please clarify: 1. Why do we need both? 2. Is it safe to replace one by the other (assuming only modules and functions are

Re: [julia-users] @animate @gif using plots

2016-08-07 Thread digxx
> > I just manually installed imagemagick and got the error: > > julia> gif(anim,"C:\\Users\\Diger\\Documents\\Julia\\Plotting\\anim2.gif",fps=15) Unzul▒ssiger Parameter - 7 WARNING: Tried to create gif using convert (ImageMagick), but got error: ErrorException("failed process: Process(`convert

[julia-users] Re: chol() more strict in v0.5?

2016-08-07 Thread Chris
mmh, could you explain your comment a little more? David, thanks for the tip.

Re: [julia-users] @animate @gif using plots

2016-08-07 Thread digxx
Yes I did and it still persists :-( I added and removed various Packages to see if sth is missing (comparing to before) but nothing works :-( I removed and readded Imagemagick but that also didnt help. Am Sonntag, 7. August 2016 19:56:23 UTC+2 schrieb Tom Breloff: > > Did you restart julia after

Re: [julia-users] @animate @gif using plots

2016-08-07 Thread Tom Breloff
Did you restart julia after adding ImageMagick? The errors are because it can't find either ImageMagick or ffmpeg, one of which is required to make gifs. On Sunday, August 7, 2016, digxx wrote: > Hey I reinstalled Julia and am now wondering why the animation part of >

[julia-users] @animate @gif using plots

2016-08-07 Thread digxx
Hey I reinstalled Julia and am now wondering why the animation part of plots doesnt work anymore. It did before... I presume I'm lacking dependencies though which ones? The following produces an error. x=linspace(0,pi,100) anim=@animate for i=0:100 y=sin(x*exp(i/50))

[julia-users] Re: new installation of julia

2016-08-07 Thread Uwe Fechner
The informations, that you give are not precise enough. Which Windows version do you have? How do you launch julia? Are you sure, that you do not have to versions of julia on your computer? On Linux, for me the following was sufficient to upgrade julia 0.4 to 0.4.7-pre+3: git pull git checkout

[julia-users] Re: ANN: DifferentialEquations.jl

2016-08-07 Thread Henri Girard
Every thing works fine now. I had to change python version, only 3 works now (I don't know why ?), I work with ubuntu 16.04 repos and compiled julia-0.5 RC+1 with a symlink in /usr/bin/julia5. I still have ubuntu julia version 0.4.5 but unusable at the moment. Regards Henri Le lundi 1 août 2016

Re: [julia-users] Re: eigs fails silently

2016-08-07 Thread Ralph Smith
Right, ARPACK only enforces the projection for the generalized problem. I think your example relies on roundoff error in the orthogonalization step to populate the null space. With regard to semi-definite B (or C in the OP), the shifted version of the algorithm (mode 3 in ARPACK) will work for

[julia-users] Pkg.status()

2016-08-07 Thread digxx
When calling Pkg.status() the first time it's telling me: julia> Pkg.status() INFO: Initializing package repository C:\cygwin64\home\Diger\.julia\v0.4 INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl error: could not lock config file

[julia-users] Re: new installation of julia

2016-08-07 Thread digxx
Hey thx for ur answer. Somewhere I read it is recommended more to compile it urself than using the precompiled binaries. Apart from that I tried once using them and it didnt work somehow. Or are u talking about the windows installer for me? Btw, does it have any effect after compiling and

[julia-users] Re: new installation of julia

2016-08-07 Thread Uwe Fechner
Is there a reason, why you want to compile Julia yourself? It might be easier to use a precompiled version, that you can download from http://julialang.org/downloads/ . ln -s creates a symbolic link to the executable, such that is in the search path. This is the way to go on Linux, but I

[julia-users] Apparently I need to rebuild Julia?

2016-08-07 Thread Daniel Carrera
Hello, I just upgraded my Ubuntu install and now I get this message: % julia WARNING: Error during initialization of module GMP: ErrorException("The dynamically loaded GMP library (version 6.1.0 with __gmp_bits_per_limb == 64) does not correspond to the compile time version (version 5.1.3 with

[julia-users] Re: new installation of julia

2016-08-07 Thread Henri Girard
Make -j9 (number of core) compile le version git you have installed (by the way git is dev version 0.6, as I needed version 0.5 RC i did git checkout 0.5 , for you it's git checkout 0.4.6) Make install : Install in the path you prefix it for example I put it in /usr/share/julia on ubuntu But I

Re: [julia-users] new installation of julia

2016-08-07 Thread digxx
> > Oh and what is the difference between make / make install > What do u need a make.user file for since I dont have it

Re: [julia-users] new installation of julia

2016-08-07 Thread Bart Janssens
Hi, I think you need to do: git checkout v0.4.6 You can also list the tags with git tag. Cheers, Bart On Sun, Aug 7, 2016 at 10:55 AM digxx wrote: > So, now I freshly compiled julia again from the source after I specified: > git checkout release-0.4 but then inside

[julia-users] new installation of julia

2016-08-07 Thread digxx
So, now I freshly compiled julia again from the source after I specified: git checkout release-0.4 but then inside Julia I get by typing versioninfo() Julia Version 0.4.0 Commit 0ff703b* (2015-10-08 06:20 UTC) Platform Info: System: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i5 CPU

Re: [julia-users] One month later...

2016-08-07 Thread Henri Girard
Sorry, now julia-0.4.5 kernel dies. I won't use it any more, as long as julia-0.5 works with my file. It's time to go over... Le 07/08/2016 à 09:06, Yichao Yu a écrit : On Sun, Aug 7, 2016 at 12:10 PM, Henri Girard > wrote: I

Re: [julia-users] One month later...

2016-08-07 Thread Yichao Yu
On Sun, Aug 7, 2016 at 12:10 PM, Henri Girard wrote: > I can't get it working, all my julia/ijulia files give me error and I > can't get any solution, ijulia freezes > your script start giving errors with nothing changed? What are the errors you see? > > Le 06/08/2016