Re: [julia-users] Re: Examples of integrating Fortran code in Julia

2016-01-19 Thread Mauro
Welcome to Julia! You probably shouldn't necromance such an old thread, instead make a new one and link to the old ones you researched. Anyway, in the old thread, I linked to a blog post of mine on this topic (I just saw that its formatting was all messed up: now fixed):

[julia-users] Re: CurveFit Package. why the code below does not work?

2016-01-19 Thread Paulo Jabardo
You are implementing the function fun wrong. If you want y = a1*sin(a2*x - a3) fun should be something like: fun(x,a) = a[1]*sin(a[2]*x[1] - a3) - x[2] in this case, the function is not converging. Later today I will try to find out what is going on. On Tuesday, January 19, 2016 at 12:40:37

[julia-users] Re: ANN: Julia v0.4.3 released

2016-01-19 Thread Kacper Kornet
On Thursday, January 14, 2016 at 6:27:48 PM UTC, Tony Kelman wrote: > > Hello all! The latest bugfix release of the Julia 0.4.x line has been > released. Binaries are available from the usual place > , and as is typical with such things, > please report all

Re: [julia-users] Intel Xeon Phi support?

2016-01-19 Thread Viral Shah
Phi is very unlikely, as there is no official LLVM support. Keno performed some heroics, but not having real LLVM support was a major showstopper. Julia is expected to work on KNL though, whenever it comes out. -viral On Tuesday, January 19, 2016 at 9:22:39 AM UTC+5:30, Chris Rackauckas wrote:

[julia-users] Re: Running julia script on the web

2016-01-19 Thread Viral Shah
Please see the Mux.jl, JuliaWebAPI.jl, or Escher.jl packages. Did you also see JuliaWebStack? Did you do some search and digging and not find what you were looking for? -viral On Tuesday, January 19, 2016 at 12:02:29 AM UTC+5:30, parth patel wrote: > > I am a new user to Julia. I was wondering

Re: [julia-users] Re: ANN: Julia v0.4.3 released

2016-01-19 Thread Tony Kelman
We should actually remove the ubuntu ppa from that page. It's maintained by one person who has been very busy and not had much time for Julia lately. He'll update it if he gets a chance, otherwise use the generic linux binaries.

Re: [julia-users] Simultaneous audio playback / recording.

2016-01-19 Thread CrocoDuck O'Ducks
I forgot about sox. Good point. I will look into and be back if I need your code as an example. Thanks! On Monday, 18 January 2016 22:33:20 UTC, Miguel Bazdresch wrote: > > An alternative would be to interact with the sound card using sox ( > http://sox.sourceforge.net/). In the past, I used sox

Re: [julia-users] Simultaneous audio playback / recording.

2016-01-19 Thread CrocoDuck O'Ducks
Wow! Sounds amazing! Can't wait for that! On Monday, 18 January 2016 23:42:30 UTC, Spencer Russell wrote: > > AudioIO is going to be going deprecated soon in favor of a family of > packages that are each a bit more focused and simpler to interface with. > They’re not quite release-ready but

[julia-users] Calling C from Julia with OpenMP (Windows)

2016-01-19 Thread pokerhontas2k8
Hi, I am trying to call C code from Julia.It works for 'regular' C code but now I have code that (potentially) uses OpenMP which causes trouble. I am trying to interpolate a function using a spline approximation. In short, if I type: gcc -shared -O3 nspline_omp.c -o libcspline.dll

Re: [julia-users] Re: Examples of integrating Fortran code in Julia

2016-01-19 Thread pokerhontas2k8
Yes, sorry, next time I will open a new thread. I actually already have a new problem, so I am going to post that in a new thread. This particular problem here has been solved. I didn't manage to get it working with ifort (I guess there is no hope?) and with gfortran I noticed that the

[julia-users] Re: Shell commands in Julia 0.4.2 in Windows 10

2016-01-19 Thread Jason Bates
> > Unix shell commands that we happened to be getting from git are no longer > on Julia's path. This is not temporary. Windows is not unix. If you want to > use unix shell commands on windows, either download and add your own > windows posix layer to your path (temporarily in juliarc, not

[julia-users] Re: Calling C from Julia with OpenMP (Windows)

2016-01-19 Thread Tony Kelman
Take a look at the libcspline3.dll in Dependency Walker. You're likely missing a libgomp dll which you'll need to copy from your compiler installation and put it next to libcspline3.dll. Where did you install the gcc compiler from and are you calling it from inside an environment like cygwin

[julia-users] How to find matrix value by column and row headers?

2016-01-19 Thread Cobul
Hello all, I am using a distance matrix in my optimization model. There are plants and customers. The whole data set is something like the following: Cust ACust BCust CCust DPlant A23344256Plant B1343241433Plant C86986545 However, when I read data, I only use the distance values (not the

[julia-users] Re: Shell commands in Julia 0.4.2 in Windows 10

2016-01-19 Thread Tony Kelman
If you can suggest a non-GPL-licensed method of obtaining coreutils, I'd be open to incorporating it somehow. I'm planning on putting together a few packages (where GPL isn't quite as much of an issue) that provide convenience wrappers around busybox-w32 or powershell, but haven't devoted much

[julia-users] Re: Running a julia script on the web

2016-01-19 Thread Eric Forgy
You might also have a look at a package I put together: - https://github.com/EricForgy/JavaScriptBridge.jl It's not an official package yet, but I'm already using it for some of my work doing exactly what you described. I initially called it JuliaJS in a "pre-announcement" here

[julia-users] Re: Shell commands in Julia 0.4.2 in Windows 10

2016-01-19 Thread Tony Kelman
If you can suggest a non-GPL-licensed method of obtaining coreutils, I'd be open to incorporating it somehow. I'm planning on putting together a few packages (where GPL isn't quite as much of an issue) that provide convenience wrappers around busybox-w32 or powershell, but haven't devoted much

Re: [julia-users] Re: ANN: Julia v0.4.3 released

2016-01-19 Thread Michele Zaffalon
Under Debian (at least), the generic Linux binaries work fine. On Tue, Jan 19, 2016 at 1:06 PM, Kacper Kornet wrote: > > > On Thursday, January 14, 2016 at 6:27:48 PM UTC, Tony Kelman wrote: >> >> Hello all! The latest bugfix release of the Julia 0.4.x line has been >>

Re: [julia-users] Intel Xeon Phi support?

2016-01-19 Thread Isaiah Norton
If you have access to ICC you could potentially use https://github.com/IntelLabs/ParallelAccelerator.jl and compile with ICC. But this will be pretty far out in the weeds so YMMV. On Tue, Jan 19, 2016 at 7:09 AM, Viral Shah wrote: > Phi is very unlikely, as there is no

Re: [julia-users] Multiple Dispatch Question

2016-01-19 Thread Christopher Alexander
Erik and Cedric, thanks for the suggestions! I think I will look into the Val{Bool} option. Right now I'm just using a normal Bool flag in the function, but it's not as clean as I'd like. Thanks! Chris On Monday, January 18, 2016 at 6:27:10 PM UTC-5, Erik Schnetter wrote: > > Chris > > In

[julia-users] Re: Running a julia script on the web

2016-01-19 Thread Alex Mellnik
A fairly radical approach would be to use Escher.jl (http://escher-jl.org/) as your web server and write all the code in julia. Another method would be to write a simple webserver with Mux.jl (https://github.com/JuliaWeb/Mux.jl). If you can use it, I think the best method would be to have a