[julia-users] Re: changing the package name

2016-04-26 Thread Tony Kelman
Git LFS is https://git-lfs.github.com/ - you didn't enable anything? What kind of github account do you have? I wonder if you may have installed some git extension, or if homebrew-cask's version of Julia is using its own customized git rather than the bundled one? On Tuesday, April 26, 2016

[julia-users] Re: Fbls - a simple but flexible Julia DB

2016-04-26 Thread Ismael Venegas Castelló
what's up Fbls is an attempt at adding more degrees of freedom to the database paradigm, it's an itch I've been scratching for a while now. I'm all for standards as interfaces and theory as a starting point; but I'm drawing a line in the sand right here, the madness has to stop. All I ever

Re: [julia-users] Re: automatic export of all enum values

2016-04-26 Thread David P. Sanders
Thanks. Tricky!

Re: [julia-users] How to print out the expression of a simple function

2016-04-26 Thread Yichao Yu
On Wed, Apr 27, 2016 at 12:08 AM, Ismael Venegas Castelló < ismael.vc1...@gmail.com> wrote: > Does the field code has a use for non anon funcs? I can see that the > g.code object is a LambdaStaticData, so only for anon funcs. I was trying > to understand the implementation differences. > Not

Re: [julia-users] How to print out the expression of a simple function

2016-04-26 Thread Ismael Venegas Castelló
Does the field code has a use for non anon funcs? I can see that the g.code object is a LambdaStaticData, so only for anon funcs. I was trying to understand the implementation differences. ​ Ismael Venegas Castelló *Data Analyst* Cel. 044 55 6434 0229 ivene...@richit.com.mx Cerro San

Re: [julia-users] How to print out the expression of a simple function

2016-04-26 Thread Yichao Yu
On Tue, Apr 26, 2016 at 10:42 PM, Ismael Venegas Castelló wrote: > Why is `f.code` an `UndefRefError`? > > julia> f.code > > ERROR: UndefRefError: access to undefined reference > Because it doesn't exist. > > > El martes, 26 de abril de 2016, 18:27:50 (UTC-5), Yichao Yu

[julia-users] Re: REQUIRE specification for allowing installation in OS X only

2016-04-26 Thread Chang Kwon
How shall I flag an error in deps/build.jl? Can I do something like if os != :Darwin @error("...") end On Tuesday, April 26, 2016 at 11:10:42 PM UTC-4, Tony Kelman wrote: > > This doesn't exist right now. You can't prevent users on unsupported OSes > from installing your package,

[julia-users] Re: changing the package name

2016-04-26 Thread Chang Kwon
"VariationalInequality.jl" is a new name. When I did Pkg.publish(), I obtained this error: This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push. error: failed to push some

[julia-users] REQUIRE specification for allowing installation in OS X only

2016-04-26 Thread Tony Kelman
This doesn't exist right now. You can't prevent users on unsupported OSes from installing your package, though you could flag an error in deps/build.jl or at module load time.

[julia-users] REQUIRE specification for allowing installation in OS X only

2016-04-26 Thread Chang Kwon
My working package currently works only in OS X. Can I specify this in the REQUIRE file? @osx seems only provide an "if" condition.

Re: [julia-users] How to print out the expression of a simple function

2016-04-26 Thread Ismael Venegas Castelló
This works with anonymous functions though: julia> g = (x) -> x.^2 (anonymous function) julia> g.code AST(:($(Expr(:lambda, Any[:(x::Any)], Any[Any[Any[:x,:Any,0]],Any[],0,Any []], :(begin # none, line 1: return x .^ 2 end) El martes, 26 de abril de 2016, 21:42:29 (UTC-5),

Re: [julia-users] How to print out the expression of a simple function

2016-04-26 Thread Ismael Venegas Castelló
Why is `f.code` an `UndefRefError`? julia> f.code ERROR: UndefRefError: access to undefined reference El martes, 26 de abril de 2016, 18:27:50 (UTC-5), Yichao Yu escribió: > > On Tue, Apr 26, 2016 at 6:39 PM, > wrote: > > I wonder how to print the expression of a

Re: [julia-users] Why don't NaNs raise an error?

2016-04-26 Thread Tom Breloff
A NaN doesn't necessarily signify an error... Mathematically it can represent the empty set when there is no solution to an equation. On Tuesday, April 26, 2016, Anonymous wrote: > Why are NaNs allowed to be created without raising an error, and then > allowed to propagate

Re: [julia-users] How to print out the expression of a simple function

2016-04-26 Thread Yichao Yu
On Tue, Apr 26, 2016 at 6:39 PM, wrote: > I wonder how to print the expression of a function, e.g. x.^2 for the > following example. > > julia> f(x) = x.^2 > f (generic function with 1 method) > > julia> f > f (generic function with 1 method) > > If it is not possible for

[julia-users] PETSc.jl on Windows

2016-04-26 Thread E. Tadeu
Hi, Is there someone here using Julia + PETSc on Windows? If so, I'd like to know more details about your configuration (which packages, versions, etc.). If not, where should I begin? I've noticed that there's the `JuliaParallel/PETSc.jl` package, and also a (very simple) `PETSc.jl` from

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Jonas Kersulis
Thanks for the tip! I'll try this out. On Tuesday, April 26, 2016 at 10:30:10 AM UTC-4, Miles Lubin wrote: > > Hey Jonas, > > I don't have an answer to this, but if you're looking for state-of-the-art > performance for sparse linear algebra, I'd recommend using a proprietary > library like

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Jonas Kersulis
Good point. The matrices I actually want to factorize are about 1% nonzeros. I changed the nonzero parameter to that value and re-ran the experiment. Now LU beats QR.

[julia-users] Why don't NaNs raise an error?

2016-04-26 Thread Anonymous
Why are NaNs allowed to be created without raising an error, and then allowed to propagate around your program corrupting basically all future computation.

[julia-users] How to print out the expression of a simple function

2016-04-26 Thread chobbes158
I wonder how to print the expression of a function, e.g. x.^2 for the following example. julia> f(x) = x.^2 f (generic function with 1 method) julia> f f (generic function with 1 method) If it is not possible for the expression of a function as simple as the above to be printed, is there a

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Ali Rezaee
That's a very beautiful solution. Thank you! On Tuesday, April 26, 2016 at 10:58:39 PM UTC+2, Josh Langsfeld wrote: > eval works in global scope but returns its result locally, so something > like this works easily enough: > > rulestrs = ["x[1] && x[2]", "x[3] || x[4]", "x[1] && (x[2] ||

Re: [julia-users] Re: Good practices for constrained constructors

2016-04-26 Thread Stefan Karpinski
I would consider this a bug in Lint, not an actual problem. If a constructor either doesn't return (i.e. errors) or returns the right type, it still always returns the right type. On Tue, Apr 26, 2016 at 5:10 PM, Jeffrey Sarnoff wrote: > try this: > > type

[julia-users] Re: Good practices for constrained constructors

2016-04-26 Thread Jeffrey Sarnoff
try this: type LoHiPair{T<:Real} lo::T hi::T function LoHiPair{A}(lo::A, hi::A) if lo > hi throw( error("out of order") ) end new(lo, hi) end end LoHiPair{T<:Real}(lo::T, hi::T) = LoHiPair{T}(lo, hi) On Tuesday, April 26, 2016 at 3:57:59 PM

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Josh Langsfeld
eval works in global scope but returns its result locally, so something like this works easily enough: rulestrs = ["x[1] && x[2]", "x[3] || x[4]", "x[1] && (x[2] || x[3])"] function evaluate(rules, boolList) rulefuncs = [eval(parse(string("x -> ", rule))) for rule in rules]

Re: [julia-users] Pyplot and type definitions

2016-04-26 Thread samuel . huberman
In my jupyter notebook, sequentially, I define types: workspace() # needed for redefining type type State position::Int spin::Array{Any,2} State() = new(0,[1 0]') State(position,spin) = new(position,spin) end and functions on types function +(s1::State, s2::State) #Linear

Re: [julia-users] Pyplot and type definitions

2016-04-26 Thread Tom Breloff
It's hard to help without seeing your code, and more complete output. On Tue, Apr 26, 2016 at 4:09 PM, wrote: > Hi, > > I'm trying to use PyPlot in a Jupyter notebook (Julia 0.4.5). I have some > type definitions and I have some functions that overload functions from

[julia-users] Pyplot and type definitions

2016-04-26 Thread samuel . huberman
Hi, I'm trying to use PyPlot in a Jupyter notebook (Julia 0.4.5). I have some type definitions and I have some functions that overload functions from Base (i.e I define the + operator on my new types). When I try to call a plotting function after these definitions, I just get something like

[julia-users] Good practices for constrained constructors

2016-04-26 Thread CrocoDuck O'Ducks
Hi there! I was reading this and trying the code, which I saved into a file called test.jl: type OrderedPair x::Real y::Real OrderedPair(x,y) = x > y ? error("out of order") : new(x,y) end If I

Re: [julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Yichao Yu
On Tue, Apr 26, 2016 at 2:24 PM, Ali Rezaee wrote: > Reading the rules from a file, how can I convert the strings to such > anonymous functions? You need to `eval` in global scope. If you are more serious about input validation and such, you might need to have your own

[julia-users] Re: Improvements to GPU integration with Julia

2016-04-26 Thread Michael Jin
I've noticed that there are computer owners who only have access to an AMD GPU (Mac Pro 2013, 2015 iMac) and wish to tap into their GPUs for extra processing power for machine learning applications. cuBLAS won't help them and it appears that the state of out of the box (without much

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Ali Rezaee
Reading the rules from a file, how can I convert the strings to such anonymous functions? On Tuesday, April 26, 2016 at 6:48:21 PM UTC+2, Josh Langsfeld wrote: > > Maybe a better design would be to store the rules as anonymous functions > rather than code strings? Something like: > > ``` >

Re: [julia-users] Re: automatic export of all enum values

2016-04-26 Thread Yichao Yu
On Tue, Apr 26, 2016 at 1:56 PM, David P. Sanders wrote: > > > El martes, 26 de abril de 2016, 12:13:22 (UTC-4), Steven G. Johnson > escribió: >> >> >> >> On Tuesday, April 26, 2016 at 11:07:45 AM UTC-4, Pieterjan Robbe wrote: >>> >>> Is it possible to export all values of an

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Ali Rezaee
I am writing code for regulated Flux Balance Analysis. I need to read some regulatory rules from a file and predict the future state of the genes in the network. In this example x is a vector of genes being on or off, and each rule belongs to a reaction, i.e. if the rule is true, then the

[julia-users] Re: automatic export of all enum values

2016-04-26 Thread Pieterjan Robbe
nice solution, thanks! Op dinsdag 26 april 2016 18:13:22 UTC+2 schreef Steven G. Johnson: > > > > On Tuesday, April 26, 2016 at 11:07:45 AM UTC-4, Pieterjan Robbe wrote: >> >> Is it possible to export all values of an an enum defined inside a module? >> That is, without rewriting all values after

Re: [julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Milan Bouchet-Valat
Le mardi 26 avril 2016 à 13:22 -0400, Yichao Yu a écrit : > On Tue, Apr 26, 2016 at 12:58 PM, Milan Bouchet-Valat wrote: > > > > Le mardi 26 avril 2016 à 12:52 -0400, Yichao Yu a écrit : > > > > > > On Tue, Apr 26, 2016 at 12:09 PM, Ali Rezaee wrote: > > > > > > > > > >

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Steven G. Johnson
On Tuesday, April 26, 2016 at 12:09:33 PM UTC-4, Ali Rezaee wrote: > > My objective is exactly what the code shows. I have a list of Boolean > expressions similar to the examples in the code, and I need to evaluate > them one by one based on x values. > So writing a macro would be the only

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Steven G. Johnson
I should also mention that the timings can be quite different (probably worse) for an sprand matrix than for a matrix that comes from discretizing a mesh, even with the same number of nonzeros.How well sparse-direct algorithms work depends a lot on the structure of the sparsity pattern.

Re: [julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Yichao Yu
On Tue, Apr 26, 2016 at 12:58 PM, Milan Bouchet-Valat wrote: > Le mardi 26 avril 2016 à 12:52 -0400, Yichao Yu a écrit : >> On Tue, Apr 26, 2016 at 12:09 PM, Ali Rezaee wrote: >> > >> > >> > Thanks for your replies. >> > My objective is exactly what the

Re: [julia-users] changing the package name

2016-04-26 Thread Milan Bouchet-Valat
Le mardi 26 avril 2016 à 09:17 -0700, Chang Kwon a écrit : > I was wondering what is the proper way to change the package name > under development. This is often the case when I submit a package and > then was recommended to revise the package name. Well, without much > knowledge of git, I always

Re: [julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Milan Bouchet-Valat
Le mardi 26 avril 2016 à 12:52 -0400, Yichao Yu a écrit : > On Tue, Apr 26, 2016 at 12:09 PM, Ali Rezaee wrote: > > > > > > Thanks for your replies. > > My objective is exactly what the code shows. I have a list of Boolean > > expressions similar to the examples in the

Re: [julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Yichao Yu
On Tue, Apr 26, 2016 at 12:09 PM, Ali Rezaee wrote: > > Thanks for your replies. > My objective is exactly what the code shows. I have a list of Boolean > expressions similar to the examples in the code, and I need to evaluate them > one by one based on x values. > So writing

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Josh Langsfeld
Maybe a better design would be to store the rules as anonymous functions rather than code strings? Something like: ``` rules = [(x -> x[1] && x[2]), (x -> x[3] || x[4])] #parentheses not required result = [rule(boolList) for rule in rules] ``` On Tuesday, April 26, 2016 at 12:09:33 PM UTC-4,

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Kristoffer Carlsson
For completeness, cholesky factorization takes about 0.7 seconds. On Tuesday, April 26, 2016 at 6:40:50 PM UTC+2, Kristoffer Carlsson wrote: > > For a 200 x 200 grid with a 2D elasticity PDE problem I get 2.4 seconds > for lufact and 8.2 seconds from qr. The resulting stiffness matrix has a >

[julia-users] Re: changing the package name

2016-04-26 Thread Bart Janssens
You could first uninstall the package, then rename on Github and then clone from the new address. Cheers, Bart On Tuesday, April 26, 2016 at 6:17:10 PM UTC+2, Chang Kwon wrote: > > I was wondering what is the proper way to change the package name under > development. This is often the case

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Kristoffer Carlsson
For a 200 x 200 grid with a 2D elasticity PDE problem I get 2.4 seconds for lufact and 8.2 seconds from qr. The resulting stiffness matrix has a density of ~ 0.00022. On Monday, April 25, 2016 at 10:49:40 PM UTC+2, Jonas Kersulis wrote: > > Can someone explain why qrfact is faster and

[julia-users] changing the package name

2016-04-26 Thread Chang Kwon
I was wondering what is the proper way to change the package name under development. This is often the case when I submit a package and then was recommended to revise the package name. Well, without much knowledge of git, I always mess up... When I'm ready to develop a package, I generate a

[julia-users] Re: automatic export of all enum values

2016-04-26 Thread Steven G. Johnson
On Tuesday, April 26, 2016 at 11:07:45 AM UTC-4, Pieterjan Robbe wrote: > > Is it possible to export all values of an an enum defined inside a module? > That is, without rewriting all values after 'export'. > for s in instances(WindDirection) @eval export $(symbol(s)) end

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Steven G. Johnson
On Tuesday, April 26, 2016 at 12:05:00 PM UTC-4, Steven G. Johnson wrote: > > A more realistic application of sparse matrices would be something like > discretizing a PDE on a 2d mesh. A 100x100 grid with nearest-neighbor > interactions is a 1x1 matrix, with about 5*1 nonzero

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Steven G. Johnson
On Monday, April 25, 2016 at 4:49:40 PM UTC-4, Jonas Kersulis wrote: > > Can someone explain why qrfact is faster and requires less memory than > lufact for square, sparse matrices? LU is less computationally complex than > QR, and with decent pivoting LU should be able to preserve sparsity

Re: [julia-users] Re: Arrow Keys when debugging

2016-04-26 Thread chobbes158
I'm thrilled. It worked! Thanks for the hint! On Tuesday, April 26, 2016 at 2:46:42 PM UTC+1, Scott T wrote: > > Try setting > > ENV["EDITOR"] = "atom" > > in .juliarc. This works for me on a linux system but you may need a > different command name to launch atom on mac or windows. > > > On

[julia-users] Re: Evaluation of boolean expression fails

2016-04-26 Thread Steven G. Johnson
On Tuesday, April 26, 2016 at 11:38:21 AM UTC-4, Ali Rezaee wrote: > > Hi everyone, > > I am trying to run the code below. When I try the code outside of a > function and in REPL, it runs successfully. However when I run it using a > function it throw an error. > Why do I get the error? and

Re: [julia-users] Re: Intel MKL optimizations in default Julia builds?

2016-04-26 Thread Stefan Karpinski
TLDR: since MKL is a proprietary library, we cannot ship Julia with both that and GPL libraries, and we still ship with a few of those. On Tue, Apr 26, 2016 at 11:21 AM, Oliver Schulz < oliver.sch...@tu-dortmund.de> wrote: > Oh, sorry - kinda missed those. Thanks! > > > On Tuesday, April 26,

[julia-users] Evaluation of boolean expression fails

2016-04-26 Thread Ali Rezaee
Hi everyone, I am trying to run the code below. When I try the code outside of a function and in REPL, it runs successfully. However when I run it using a function it throw an error. Why do I get the error? and how can I solve this problem? Thanks in advance for your help. rules = ["(x[1] &&

[julia-users] Re: Intel MKL optimizations in default Julia builds?

2016-04-26 Thread Oliver Schulz
Oh, sorry - kinda missed those. Thanks! On Tuesday, April 26, 2016 at 11:24:29 AM UTC+2, Kristoffer Carlsson wrote: > > See: > > https://github.com/JuliaLang/julia/issues/4272 > > https://github.com/JuliaLang/julia/issues/10969 > > >

[julia-users] automatic export of all enum values

2016-04-26 Thread Pieterjan Robbe
Is it possible to export all values of an an enum defined inside a module? That is, without rewriting all values after 'export'. julia> module Compass export WindDirection @enum WindDirection north east south west end julia> using Compass julia> WindDirection Compass.WindDirection

[julia-users] How to get access to Julia function calling it from matlab engine using MATLAB.jl

2016-04-26 Thread Maxim Barsukov
I have a problem with calling julia functions from matlab engine using MATLAB.jl . In my project I have specific function which I must call outside of the engine. In the simpliest form this problem can be demonstrated like this: using MATLAB

[julia-users] julia 0.4.5 very slow on ubuntu 16.04 (amd fx 8 -16Go RAM)

2016-04-26 Thread Henri Girard
When I try Gadfly (and specially plots) using Plots gadfly() , initialising is very slow about 3 mns to get the plots : f(x) = exp(-x^2/2) plot(f, -3, 3) Is it normal ?

[julia-users] Re: Why does QR beat LU for sparse, square matrices?

2016-04-26 Thread Miles Lubin
Hey Jonas, I don't have an answer to this, but if you're looking for state-of-the-art performance for sparse linear algebra, I'd recommend using a proprietary library like PARDISO . Miles On Monday, April 25, 2016 at 4:49:40 PM UTC-4, Jonas Kersulis

Re: [julia-users] Re: Arrow Keys when debugging

2016-04-26 Thread Scott T
Try setting ENV["EDITOR"] = "atom" in .juliarc. This works for me on a linux system but you may need a different command name to launch atom on mac or windows. On Tuesday, 26 April 2016 12:16:36 UTC+1, chobb...@gmail.com wrote: > > I know @which, but not @edit. Thanks! > > Btw, I have a hard

[julia-users] ANN: WinReg.jl

2016-04-26 Thread Simon Byrne
I've put together a small package for interfacing with the Windows registry: https://github.com/simonbyrne/WinReg.jl At the moment, it can only be used for querying the registry, but if you have other needs, please open a pull request. -Simon

[julia-users] Re: Installation Problem

2016-04-26 Thread randmstring
Hi, there's no problem with the installation of either Atom or Juno or Julia, it's just that your home dir seems to be on a network drive and that doesn't play well with Julia's package manager. You could try setting the JULIA_PKGDIR environement variable to a folder on a local hard drive and

[julia-users] Re: Improvements to GPU integration with Julia

2016-04-26 Thread Chris Rackauckas
I think the GPU integration libraries for Julia are already really good if you're using CUDA. CUDArt.jl and Arrayfire.jl work quite well. I don't know too much about the OpenCL side, but I don't tend to have a use for it. On Monday, April 25, 2016 at 6:06:10 PM UTC-7, Michael Jin wrote: > >

Re: [julia-users] Re: Arrow Keys when debugging

2016-04-26 Thread chobbes158
I know @which, but not @edit. Thanks! Btw, I have a hard time setting the default editor for Julia, following the suggestion in the following thread. https://groups.google.com/forum/#!searchin/julia-users/default$20editor/julia-users/00OlSKal6uY/7XjDuNnPMUAJ Could you let me know the exact

[julia-users] Re: Arrow Keys when debugging

2016-04-26 Thread ming . chau
great news ! thanks ! Le lundi 25 avril 2016 16:20:33 UTC+2, Steven G. Johnson a écrit : > > > > That debugger is mostly a stopgap/prototype until we have a "real" > debugger based on LLDB, which allows you to run code at full speed until > you hit a break point. Such a debugger was recently

Re: [julia-users] Re: build issue on v0.4.2

2016-04-26 Thread ming . chau
it worked ! RAM requirement for building julia from source is higher than 1Gb. i put 4 Gb

[julia-users] Re: Intel MKL optimizations in default Julia builds?

2016-04-26 Thread Kristoffer Carlsson
See: https://github.com/JuliaLang/julia/issues/4272 https://github.com/JuliaLang/julia/issues/10969 https://software.intel.com/en-us/articles/julia-with-intel-mkl-for-improved-performance On Tuesday, April 26, 2016 at 10:16:24 AM UTC+2, Oliver Schulz wrote: > > Apparently, Anaconda 2.5 builds

[julia-users] Re: julia ?

2016-04-26 Thread Henri Girard
Thanks it works ! the typo errors ! So stupid errrors ! Usually I copy and paste... This time I probably type it myself best regards Henri Le mardi 26 avril 2016 08:23:57 UTC+2, Henri Girard a écrit : > > Hi, > It's really a pain to make julia (ijulia) works on native ubuntu 16.04. I > tried

[julia-users] Re: julia ?

2016-04-26 Thread Lutfullah Tomak
Instruction from the error ENV["PYTHON"]="" Pkg.build("PyCall") worked for me. Since sinecoef is defined I could not work out whole example but the rest worked with copy paste after above steps. If that does not work try removing and adding matplotlib with Conda.rm and Conda.add

[julia-users] Re: julia ?

2016-04-26 Thread Kaj Wiik
Oops, typo, shoud be Pkg.build("PyPlot") On Tuesday, April 26, 2016 at 11:34:09 AM UTC+3, Kaj Wiik wrote: > > You are missing matplotlib library, try: > > apt-get install python-matplotlib > > In REPL: > > Pkg.build(PyPlot") > > Kaj > > > On Tuesday, April 26, 2016 at 10:59:01 AM UTC+3, Henri

[julia-users] Re: julia ?

2016-04-26 Thread Kaj Wiik
You are missing matplotlib library, try: apt-get install python-matplotlib In REPL: Pkg.build(PyPlot") Kaj On Tuesday, April 26, 2016 at 10:59:01 AM UTC+3, Henri Girard wrote: > > Here is the kind of error I got : > > INFO: Recompiling stale cache file /home/pi/.julia/lib/v0.4/PyCall.ji for

[julia-users] Intel MKL optimizations in default Julia builds?

2016-04-26 Thread Oliver Schulz
Apparently, Anaconda 2.5 builds now ship with Intel MKL optimizations: https://www.continuum.io/blog/developer-blog/anaconda-25-release-now-mkl-optimizations I wonder if this would be possible for the official Julia builds, too? I don't know about the MKL licensing conditions (and whether

[julia-users] Re: julia ?

2016-04-26 Thread Henri Girard
Here is the code (sorry I forgot to join it ) : using PyPlot n = 1:2:99 # odd integers from 1 to 99 loglog(n, abs(sinecoef(f, n)), "bo") xlabel(L"n") ylabel(L"Fourier sine coefficient $|b_n|$") title(L"Sine series convergence for $f(x) = 0.5 - |x - 0.5|$") loglog(n, 1 ./ n.^2, "b--")

[julia-users] Re: julia ?

2016-04-26 Thread Henri Girard
Here is the kind of error I got : INFO: Recompiling stale cache file /home/pi/.julia/lib/v0.4/PyCall.ji for module PyCall. INFO: Recompiling stale cache file /home/pi/.julia/lib/v0.4/PyPlot.ji for module PyPlot. LoadError: InitError: Failed to pyimport("matplotlib"): PyPlot will not work

Re: [julia-users] Re: Arrow Keys when debugging

2016-04-26 Thread Hans-Peter
On Monday, 25 April 2016 23:34:03 UTC+2, chobb...@gmail.com wrote: > > ... want to see which constructor is called for construction, if multiple > constructors exist > ^ Do you know the @which macro? E.g. @which DateTime(2016) or @which DateTime("20151204"). To

[julia-users] Re: julia ?

2016-04-26 Thread Henri Girard
Sorry, for empty answers... Thanks for you answers, I will send you errors when I meet them Le mardi 26 avril 2016 08:23:57 UTC+2, Henri Girard a écrit : > > Hi, > It's really a pain to make julia (ijulia) works on native ubuntu 16.04. I > tried conda env but after adding modules in julia I got

[julia-users] Re: julia ?

2016-04-26 Thread Henri Girard
Le mardi 26 avril 2016 08:23:57 UTC+2, Henri Girard a écrit : > > Hi, > It's really a pain to make julia (ijulia) works on native ubuntu 16.04. I > tried conda env but after adding modules in julia I got a lot of errors > specially with pycall pyplots ans scipy. > Can you advice me to have a

[julia-users] Re: julia ?

2016-04-26 Thread Lutfullah Tomak
I use julia 0.4.5 from Ubuntu 16.04 repository without any problem. As an IDE I prefer Atom and it works very well and IJulia works too. I have not tried any other python related package for that matter but if you post specific errors it'd be better. On Tuesday, April 26, 2016 at 9:23:57 AM

Re: [julia-users] julia ?

2016-04-26 Thread Tamas Papp
I don't know about ijulia, but julia works fine for me if I just download and extract the binary. Copy-pasting specific error messages would be more likely to result in answers that help you. Reinstalling the OS is not necessary and unlikely to be the easiest way to fix anything by a long shot.

[julia-users] julia ?

2016-04-26 Thread Henri Girard
Hi, It's really a pain to make julia (ijulia) works on native ubuntu 16.04. I tried conda env but after adding modules in julia I got a lot of errors specially with pycall pyplots ans scipy. Can you advice me to have a good stable working julia (ijulia) on ubuntu, even if I must use conda