[julia-users] Re: wish a sinusoidal

2016-06-30 Thread Henri Girard
Solved : The problem was time should be 1/100 and not 1/10 t = float([0:0.01:50]); I knew there was something wrong because I got it right before but I certainly modify it without even noticing it Thanks for your help Henri Le mercredi 29 juin 2016 13:31:42 UTC+2, Henri Girard a écrit : > >

[julia-users] Julia 0.4.6 doesn't work in Windows x86 environment

2016-06-30 Thread Stefan Schnell
Hello community, I installed the new Julia release 0.4.6 on a Windows x86 environment but it doesn't work. I get the following message: Activation context generation failed for "C:\Dummy\Julia-0.4.6\bin\julia.exe". Dependent Assembly

Re: [julia-users] Julia 0.4.6 doesn't work in Windows x86 environment

2016-06-30 Thread Stefan Schnell
Hello Milan, thanks for your reply. To check it again I download the file from your link, size 50255056 bytes, MD5 check sum from the download is eec5b1df45c66bd98d7a094eb8862dc9, it is exact the same as in julia-0.4.6.md5. So I am sure to have the right version. I start the executable in a

[julia-users] Only ODE, Plots

2016-06-30 Thread Henri Girard
I am trying to make this working only with using ODE,Plots but not Sundials, any help ? Works fine this way, but I would like to keep pure julia : using Sundials,ODE,Plots pyplot(size=(300,200),leg=false, guidefont=font(7), titlefont=font(7)); function oscillator(t, y, ydot) ydot[1] = y[2]

[julia-users] Re: How to make a tree datastructure with vector data in JULIA ?

2016-06-30 Thread Ahmed Mazari
Hi Andre. You will fnd attached my files and a picture that illustrates the tree structure l'm looking for. file 1 : somme comments on your codes file 2 : my code to be improved. For the part of your code. We should add child, number of child and data. the structure seems to be appropriate from

Re: [julia-users] Re: JuliaCon schedule announced

2016-06-30 Thread Viral Shah
They have already started appearing. Hopefully by next week they will all be up and we will announce then. -viral On Jun 28, 2016 11:44 AM, "mmh" wrote: > Hi Viral, we have an eta on when the talks will be up on youtube? > > On Wednesday, June 22, 2016 at 11:13:25 AM UTC-4,

[julia-users] Speeding up Matrix .^ transpose(Vector)

2016-06-30 Thread David P. Sanders
Have you tried rewriting with explicit loops?

Re: [julia-users] How to make a tree datastructure with vector data in JULIA ?

2016-06-30 Thread Ahmed Mazari
Hi Mauro look at the discussion below On Wednesday, June 29, 2016 at 5:16:23 PM UTC+2, Mauro wrote: > > I think you need to show us what you've tried so far. Also have a look > at Datatstructures.jl for inspiration. > > On Wed, 2016-06-29 at 11:29, Ahmed Mazari >

[julia-users] Re: Speeding up Matrix .^ transpose(Vector)

2016-06-30 Thread Steven G. Johnson
On Thursday, June 30, 2016 at 7:33:33 AM UTC-4, David P. Sanders wrote: > > Have you tried rewriting with explicit loops? (Especially since, with explicit loops, you can do the operation in-place with a precomputed output array.)

Re: [julia-users] Only ODE, Plots

2016-06-30 Thread Mauro
The almost non-existent ODE.jl manual could sure use some love. However, your question could be answered by reading the readme or this example: http://nbviewer.jupyter.org/github/JuliaLang/ODE.jl/blob/master/examples/Simple_Differential_Equation.ipynb julia> oscillator(t, y) = [y[2], - 3* + y[1]

[julia-users] Re: How to make a tree datastructure with vector data in JULIA ?

2016-06-30 Thread Ahmed Mazari
On Thursday, June 30, 2016 at 2:12:30 PM UTC+2, Ahmed Mazari wrote: > > Hi Andre. > You will fnd attached my files and a picture that illustrates the tree > structure l'm looking for. > file 1 : somme comments on your codes > file 2 : my code to be improved. > > For the part of your code. We

Re: [julia-users] How to make a tree datastructure with vector data in JULIA ?

2016-06-30 Thread Ahmed Mazari
l took a look at Datastructures.jl there is no tree implementation except balance_tree.jl https://github.com/JuliaLang/DataStructures.jl/blob/master/src/balanced_tree.jl which is not what l'm looking for On Wednesday, June 29, 2016 at 5:16:23 PM UTC+2, Mauro wrote: > > I think you need to show

[julia-users] Re: Only ODE, Plots

2016-06-30 Thread Henri Girard
Thanks much better : The worse I have done day21of julia and it worked but converted to mine it didn"t : Has ode23 any importance ? I have looked two days on most ODE help (there is more than the manual with example) but I really got grasy. Son now I have to finish phase portrait, done Solved

[julia-users] Re: how to hide deprecated warning ?

2016-06-30 Thread David P. Sanders
El jueves, 30 de junio de 2016, 10:20:49 (UTC-4), Henri Girard escribió: > > I am not a developper, I can't help to correct > these warning (unfortunatly) but that's > quiet annoying if one wants to make a clean > worksheet, this one is not too big but > sometimes it's half a page ! > > >

[julia-users] Re: Julia for Newbie Programmer.

2016-06-30 Thread Adrian Felismino
thanks for your answer. I really appreciate it. On Wednesday, June 29, 2016 at 9:49:31 PM UTC+8, Daniel Carrera wrote: > > Hello, > > Yeah... Julia is different from Python. Functions will have different > names and do different things. Let's take your `input()` example. You want > to print

[julia-users] Re: Julia for Newbie Programmer.

2016-06-30 Thread Adrian Felismino
On Wednesday, June 29, 2016 at 5:17:54 PM UTC+8, Patrick Kofod Mogensen wrote: > > This may not be the advice you are looking for, but do you have a specific > problem you want to solve? I started programming by reading texts online > about C - and it killed my enthusiasm. People are

[julia-users] Re: Julia for Newbie Programmer.

2016-06-30 Thread Henri Girard
I am beginner too... Before using ijulia I used sagemath. So I have tons of programs to convert. Even with sagemath I am not an expert, but with mailing list (julia and others...) one can quickly get an answer. Julia mailing list is very quick answering, if you don't get an answer after one

[julia-users] how to hide deprecated warning ?

2016-06-30 Thread Henri Girard
I am not a developper, I can't help to correct these warning (unfortunatly) but that's quiet annoying if one wants to make a clean worksheet, this one is not too big but sometimes it's half a page ! using ODE,Plots pyplot(size=(300,200),leg=false, guidefont=font(7), titlefont=font(7));

Re: [julia-users] New constructor syntax in 0.5

2016-06-30 Thread Bart Janssens
Allright, thanks! For some reason I decided to discard the ::Type when reading that warning, sorry for the noise. Cheers, Bart On Thu, Jun 30, 2016 at 8:53 AM Mauro wrote: > Basically the transform is: move first argument to where `call` was > (note that the function

Re: [julia-users] JuliaCon schedule announced

2016-06-30 Thread Eric Forgy
Just noticed a small set of videos have appeared already +1 On Wednesday, June 29, 2016 at 10:47:30 PM UTC+8, Viral Shah wrote: > > We are hopeful they should be up by next week. >

Re: [julia-users] Julia 0.4.6 doesn't work in Windows x86 environment

2016-06-30 Thread Milan Bouchet-Valat
Le jeudi 30 juin 2016 à 02:24 -0700, Stefan Schnell a écrit : > > > Hello community, > > I installed the new Julia release 0.4.6 on a Windows x86 environment > but it doesn't work. I get the following message: > Activation context generation failed for "C:\Dummy\Julia- > 0.4.6\bin\julia.exe".

Re: [julia-users] New constructor syntax in 0.5

2016-06-30 Thread Mauro
Basically the transform is: move first argument to where `call` was (note that the function parameters stay): call{T,Y}(::Type{A{I,T}}, t::T, y::Y) = ... (::Type{A{I,T}}){T,Y}(t::T, y::Y) = ... On Wed, 2016-06-29 at 23:59, Yichao Yu wrote: > On Wed, Jun 29, 2016 at 5:46 PM,

[julia-users] a compilation question

2016-06-30 Thread chobbes158
This is an entry-level question. So bear me please. I am writing a package which uses three other packages, say A, B, C. Each time I made any change in A or B or C, I had to workspace() and re-ran. This is usually very time consuming. 1. Is there anyway to only clear the compilation of the

[julia-users] Re: how to hide deprecated warning ?

2016-06-30 Thread Henri Girard
Thanks. Well I don't really understand what they mean, sure it would be better. Le jeudi 30 juin 2016 16:20:49 UTC+2, Henri Girard a écrit : > > I am not a developper, I can't help to correct > these warning (unfortunatly) but that's > quiet annoying if one wants to make a clean > worksheet,

[julia-users] I have done few examples where can I put them at disposition ?

2016-06-30 Thread Henri Girard
I have done some examples in julia (in french) and I think it could be interesting for beginners. Juliabox or similar web site could host them ?

Re: [julia-users] invalid redefinition of type even though the type is not redefined

2016-06-30 Thread Matthieu Gomez
Thanks! On Wednesday, June 29, 2016 at 4:35:19 PM UTC-4, Mauro wrote: > > Also, you can put a guard around it: > > if !isdefined(:MyType) >include("myfile.jl") > end > > On Wed, 2016-06-29 at 21:33, Matthieu Gomez > wrote: > > I have a file myfile.jl with the

Re: [julia-users] Re: how to hide deprecated warning ?

2016-06-30 Thread Henri Girard
thanks, I do understand better how to correct them now and I will try to do it, when I read [a] I thaught I had to go inside the programm to correct it ! Le 30/06/2016 17:50, Tim Holy a écrit : To translate: [a] concatenation is deprecated; use collect(a) instead in depwarn at

Re: [julia-users] Re: how to hide deprecated warning ?

2016-06-30 Thread Tim Holy
To translate: [a] concatenation is deprecated; use collect(a) instead in depwarn at ./deprecated.jl:73 while loading In[2], in expression starting on line 9 The first line implies you have some object `a` and you're putting brackets around it, `[a]`. Julia is telling you to switch

[julia-users] Re: Speeding up Matrix .^ transpose(Vector)

2016-06-30 Thread Simon Byrne
exp(a*log(b)) is usually faster than b^a (in fact, b^a internally usually does something similar, but with some extra tricks to avoid loss of precision). You might be able to use one of the vectorized math libraries: AppleAccelerate.jl (if you're on OS X), VML.jl (if you have access to Intel

Re: [julia-users] Julia 0.4.6 doesn't work in Windows x86 environment

2016-06-30 Thread Stefan Schnell
Hello Tony, thanks for this information. Cheers Stefan Am Donnerstag, 30. Juni 2016 17:11:05 UTC+2 schrieb Tony Kelman: > > Yeah, this was a mistake in 0.4.6 that will be fixed for 0.5.0 and 0.4.7. >

[julia-users] Re: I have done few examples where can I put them at disposition ?

2016-06-30 Thread Gabriel Gellner
You could also just make a repo on GitHub. See for example: https://github.com/dpsanders/intermediate_julia On Thursday, June 30, 2016 at 8:28:25 AM UTC-7, Henri Girard wrote: > > I have done some examples in julia (in french) and I think it could be > interesting for beginners. Juliabox or

[julia-users] Pkg.test("ParallelAccelerator") failed

2016-06-30 Thread iman panahi
Hi, I have installed "ParallelAccelerator" according to this "http://parallelacceleratorjl.readthedocs.io/en/latest/install.html; guide. When i run Pkg.test("ParallelAccelerator") it gives me following error: julia> Pkg.test("ParallelAccelerator") INFO: Computing test dependencies for

[julia-users] PriorityQueue for fast large network simulation

2016-06-30 Thread Rainer J. Engelken
Hi, I am trying to implement a fast event-based numerically exact simulation of a sparse large spiking neural network using a priority queue. It is fast, but not fast enough. Profiling indicates that the bottleneck seem to be the dictionary operations keyindex and setindex! when changing priority

Re: [julia-users] Re: Fixing JavaCall for 0.5: generating methods which call ccall

2016-06-30 Thread Isaiah Norton
This is a lowering bug. I have a repro and a patch that fixes it (Pkg.test JavaCall succeeds), but may have unforeseen side-effects. Will file an issue or a PR soon once I do a bit more testing. (there's also a work-around: use a different variable name for the ccall ptr argument) On Wed, Jun

[julia-users] Re: Precompilation fails on `using RCall`

2016-06-30 Thread John Best
This seems to be affecting most of the packages (e.g. PyPlot via JSON and Compat, but not Distributions) that I have installed. I did a Pkg.update() for the first time in a while today, which is when I started having problems. On Thursday, June 30, 2016 at 3:18:35 PM UTC-8, John Best wrote: >

Re: [julia-users] Re: Fixing JavaCall for 0.5: generating methods which call ccall

2016-06-30 Thread Isaiah Norton
https://github.com/JuliaLang/julia/issues/17219 On Thu, Jun 30, 2016 at 6:28 PM, Isaiah Norton wrote: > This is a lowering bug. I have a repro and a patch that fixes it (Pkg.test > JavaCall succeeds), but may have unforeseen side-effects. Will file an > issue or a PR

[julia-users] Precompilation fails on `using RCall`

2016-06-30 Thread John Best
I've just installed RCall. It appears to identify my R installation, but fails to load with errors about other packages: julia> Base.compilecache("RCall") R installation found at "/usr/lib/R" "~/.julia/lib/v0.4/RCall.ji" julia> using RCall INFO: Recompiling stale cache file

Re: [julia-users] Re: Fixing JavaCall for 0.5: generating methods which call ccall

2016-06-30 Thread Eric Davies
Thanks Isaiah! On Thu, Jun 30, 2016 at 5:51 PM, Isaiah Norton wrote: > https://github.com/JuliaLang/julia/issues/17219 > > On Thu, Jun 30, 2016 at 6:28 PM, Isaiah Norton > wrote: > >> This is a lowering bug. I have a repro and a patch that

Re: [julia-users] Re: JuliaCon schedule announced

2016-06-30 Thread Christian Peel
A link: https://www.youtube.com/user/JuliaLanguage/videos On Thu, Jun 30, 2016 at 3:43 AM, Viral Shah wrote: > They have already started appearing. Hopefully by next week they will all > be up and we will announce then. > > -viral > On Jun 28, 2016 11:44 AM, "mmh"

[julia-users] Pkg.test("ParallelAccelerator") failed

2016-06-30 Thread Tony Kelman
Looks like they're missing a "using Compat" somewhere.

Re: [julia-users] Re: I have done few examples where can I put them at disposition ?

2016-06-30 Thread Henri Girard
Yes I didn't see the commit button now it's there Le 30/06/2016 20:52, Gabriel Gellner a écrit : You could also just make a repo on GitHub. See for example: https://github.com/dpsanders/intermediate_julia On Thursday, June 30, 2016 at 8:28:25 AM UTC-7, Henri Girard wrote: I have done

Re: [julia-users] Re: I have done few examples where can I put them at disposition ?

2016-06-30 Thread Henri Girard
I have done a github, I upload files but I see nothing ? https://github.com/aishenri Le 30/06/2016 20:52, Gabriel Gellner a écrit : You could also just make a repo on GitHub. See for example: https://github.com/dpsanders/intermediate_julia On Thursday, June 30, 2016 at 8:28:25 AM UTC-7,

Re: [julia-users] Parsing ASCIIString to Bool

2016-06-30 Thread Jacob Quinn
This was just fixed on master: https://github.com/JuliaLang/julia/pull/17078 On Thu, Jun 30, 2016 at 1:43 AM, wrote: > Hi all, > > I was just wondering if the following is expected behaviour: > > julia> parse("true") > true > > julia> typeof(parse("true")) > Bool > >

Re: [julia-users] Parsing ASCIIString to Bool

2016-06-30 Thread colintbowers
Okay, cool. Thanks for responding. Cheers, Colin On Thursday, 30 June 2016 16:00:20 UTC+10, Jacob Quinn wrote: > > This was just fixed on master: > https://github.com/JuliaLang/julia/pull/17078 > > On Thu, Jun 30, 2016 at 1:43 AM, > wrote: > >> Hi all, >> >> I was just