[julia-users] Re: VS code extension

2016-06-22 Thread Tony Kelman
VS Code feels much snappier and higher performance to me than Atom, especially on larger files. If you're on Windows especially, the installation and updating experience is just a lot more polished and customizable. The downside is there's been a lot less work on Julia-specific addin

[julia-users] Found T Pass in Stata

2016-06-22 Thread Xiangxi Gao
Picked up a one week T pass valid till 6/28 this afternoon and handed it to Edelman. The pass was purchased at South station on 6/21 at 0721.

[julia-users] Re: Calling Fortran in Julia Windows 10 - dlopen Error

2016-06-22 Thread Tony Kelman
Most likely you're missing one of the dependency dll's (or Julia can't find it). Check in Dependency Walker and/or cygcheck to see which it is - probably the libgfortran dll. Also note that since Julia itself is built using mingw-w64 compilers, trying to load libraries built by the standard

[julia-users] Re: Indicating Fortran path dependencies the correct way?

2016-06-22 Thread Tony Kelman
You have a few options. You can save the location of the library to a module-level const variable and use that in your ccall's, or use BinDeps to write the path of the found library (if any) to a generated file. I believe Dierckx.jl is an example of using the former, where the library just gets

[julia-users] Re: VS code extension

2016-06-22 Thread Eric Forgy
On Thursday, June 23, 2016 at 10:36:58 AM UTC+8, Gabriel Gellner wrote: > > Are there benefits to using this over atom? Why are people moving over? > Pros, Cons? > Hi Gabriel, In my case, we are using Visual Studio (not VS Code) for ASP.NET and Julia in Atom/Juno (.NET & Julia talk to each

[julia-users] Re: VS code extension

2016-06-22 Thread Gabriel Gellner
Are there benefits to using this over atom? Why are people moving over? Pros, Cons? On Tuesday, June 21, 2016 at 3:26:52 PM UTC-7, David Anthoff wrote: > > Hi all, > > > > I’ve created a new github repo for a VS code extension > https://github.com/davidanthoff/julia-vscode and it is published

[julia-users] Indicating Fortran path dependencies the correct way?

2016-06-22 Thread Charles Ll
Dear all, I use a Fortran code in my package Spectra.jl, it is working really nicely. However, I still use the absolute library path in ccall. From discussion in the Gitter, I know that I could use eval, but my ccall is in a function so as eval works on global variables, it seems not

[julia-users] Re: Calling Fortran in Julia Windows 10 - dlopen Error

2016-06-22 Thread Charles Ll
I faced a similar problem, and actually had to indicate the absolute path of the shared library. Also, when calling a Fortran function/subroutine, you need to add an underscore after its name. So maybe try the following: ccall((:hello_,"/my/path/HelloWorld.dll"),Void,()) Le jeudi 23 juin

RE: [julia-users] Re: VS code extension

2016-06-22 Thread David Anthoff
I just used this https://github.com/JuliaLang/Julia.tmbundle/blob/696f630736669251a3cb56cb27741b5b07a4c093/Syntaxes/Julia.tmLanguage file. I don’t know what format atom uses to define grammars… From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On Behalf Of

Re: [julia-users] Re: VS code extension

2016-06-22 Thread Eric Forgy
Hi David, This is awesome. Thanks for this. Out of curiosity, is this the same syntax highlighting used in Juno? It feels a little different and I've gotten used to Juno. I was able to get the same Julia.tmBundle to work in Visual Studio (not VS Code) and filed an issue here

[julia-users] Calling Fortran in Julia Windows 10 - dlopen Error

2016-06-22 Thread Kaela Martin
I'm trying to get Julia to run a Fortran file on Windows 10, and Julia says that it can't open the library. Libdl.dlopen also fails to open the file. I've tried adding the current path to LOAD_PATH but still get the same error. For a test case, I'm running the following module: module

Re: [julia-users] JuliaCon birds of a feather

2016-06-22 Thread Josh Day
Sounds great, I'm in. I'd be especially interested in talking about LearnBase.

[julia-users] Re: GraphViz.jl alternative on windows

2016-06-22 Thread Simon Danisch
There's also https://github.com/JuliaGraphs/GraphVisualize.jl Am Mittwoch, 22. Juni 2016 16:01:10 UTC-4 schrieb David Anthoff: > > Hi, > > > > GraphViz.jl doesn’t seem to work on Windows. Is there an alternative > package for this sort of thing? I know about NetworkViz.jl and >

Re: [julia-users] JuliaCon birds of a feather

2016-06-22 Thread Tom Breloff
Let's meet in front of the name-tags at 6:30 and walk somewhere together. If you haven't already gotten in touch, please let me know if you want to join. On Wednesday, June 22, 2016, Cedric St-Jean wrote: > I'm down. Thank you for organizing. > > On Wed, Jun 22, 2016 at

Re: [julia-users] GraphViz.jl alternative on windows

2016-06-22 Thread Tom Breloff
I have a basic graph recipe using a spectral algorithm in PlotRecipes... You can see a couple examples in the readme. It's not full featured but might fit your needs. On Wednesday, June 22, 2016, David Anthoff wrote: > Hi, > > > > GraphViz.jl doesn’t seem to work on

Re: [julia-users] Question about parse (conversion from string) of Bool types

2016-06-22 Thread Eduardo Lenz
Thanks. I filled an issue (#17065) as requested.

Re: [julia-users] Re: ERROR: syntax: "±" is not a unary operator

2016-06-22 Thread Stefan Karpinski
Side comment: ± should probably be allowed as a unary operator. On Wed, Jun 22, 2016 at 3:39 PM, Kaj Wiik wrote: > To wrap this item up, it would be good to know where the distinction > (parsing) is done in sources? > > Thanks, > Kaj > > > On Wednesday, June 22, 2016 at

Re: [julia-users] Question about parse (conversion from string) of Bool types

2016-06-22 Thread Stefan Karpinski
Yeah, it probably should be. Can you file an issue? On Wed, Jun 22, 2016 at 3:07 PM, Eduardo Lenz wrote: > Hi. > > It is well documented and it is not a bug by any means, but if it is > possible to > use > > parse(Int64,"2") > parse(Float64,"3.1415") > > why it is not

[julia-users] GraphViz.jl alternative on windows

2016-06-22 Thread David Anthoff
Hi, GraphViz.jl doesn't seem to work on Windows. Is there an alternative package for this sort of thing? I know about NetworkViz.jl and TikzGraphs.jl, but would appreciate pointers to any other package that I might have missed. Thanks, David -- David Anthoff University of

Re: [julia-users] Re: JuliaCon birds of a feather

2016-06-22 Thread Cameron McBride
Sounds like a good plan -- seems an interesting topic given a number of relevant talks today. Cameron On Wed, Jun 22, 2016 at 1:19 PM, Tom Breloff wrote: > For those at JuliaCon today, I'm organizing a dinner to discuss "The > future of Machine Learning and Data Science in

[julia-users] Re: ERROR: syntax: "±" is not a unary operator

2016-06-22 Thread Kaj Wiik
To wrap this item up, it would be good to know where the distinction (parsing) is done in sources? Thanks, Kaj On Wednesday, June 22, 2016 at 5:03:09 PM UTC+3, Steven G. Johnson wrote: > > > > On Wednesday, June 22, 2016 at 2:34:00 PM UTC+1, Kaj Wiik wrote: >> >> Yes, it is probably a binary

Re: [julia-users] Re: Help with a macro

2016-06-22 Thread Mauro
A REPL session of mine trying to figure out how to make that macro would look something like this: julia> ex = :(f(x, y, z, zz)) # this is what is passed into the macro :(f(x,y,z,zz)) julia> xdump(ex) # xdump is nice to get an overview of nested datastructures Expr head: Symbol call args:

Re: [julia-users] async web socket read & write?

2016-06-22 Thread Stefan Karpinski
If you prefix the first `while` with `@async` then they will run in separate tasks, and their blocking operations will be logically concurrent. On Wed, Jun 22, 2016 at 3:19 AM, Jon Norberg wrote: > I am trying to use a websocket to provide online input to a simulation

Re: [julia-users] Parallel computing: SharedArrays not updating on cluster

2016-06-22 Thread Stefan Karpinski
That's right – shared memory arrays cannot, by definition, be used on a non-shared memory distributed system like a cluster. You may want DistributedArrays . On Tue, Jun 21, 2016 at 10:15 PM, 'Greg Plowman' via julia-users <

[julia-users] Question about parse (conversion from string) of Bool types

2016-06-22 Thread Eduardo Lenz
Hi. It is well documented and it is not a bug by any means, but if it is possible to use parse(Int64,"2") parse(Float64,"3.1415") why it is not possible to use parse(Bool,"true") ? Thanks.

[julia-users] Installing with Intel compiler

2016-06-22 Thread Victor Eijkhout
I'm trying to install in the the Intel15 compiler on Linux. In the Make.inc I've set ever ICC to true that I ccould find. The output is a complete mix of gcc and icc. Any suggestions for how to disabuse it of the notion that it's using gcc? checking whether we are using the GNU C compiler...

Re: [julia-users] Re: JuliaCon birds of a feather

2016-06-22 Thread Tom Breloff
For those at JuliaCon today, I'm organizing a dinner to discuss "The future of Machine Learning and Data Science in Julia". Tonight (Wednesday) 7pm, location TBD. If you're interested in joining, please let me know. -Tom On Mon, Jun 20, 2016 at 11:15 AM, Cedric St-Jean

RE: [julia-users] Re: VS code extension

2016-06-22 Thread David Anthoff
The VS code extension now lives here https://github.com/JuliaEditorSupport/julia-vscode. Cheers, David From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On Behalf Of Lyndon White Sent: Tuesday, June 21, 2016 7:53 PM To: julia-users

[julia-users] Re: Applied NLA course in Julia

2016-06-22 Thread Ivan Slapnicar
Thanks! One reference for tracking eigenvalues with Jacobi is http://www.sciencedirect.com/science/article/pii/S00243795046X Proper implementation of Jacobi requires blocking and some preconditioning (see LAPACK's dgesvj.f). I will take your suggestion seriuosly and see what to do about

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

2016-06-22 Thread Viral Shah
Live streaming was too expensive and we did not do it this year, but we certainly want to next year. -viral On Jun 22, 2016 10:33 AM, "Gabriel Gellner" wrote: > For future conferences I would be super stoked to pay some fee to have > early access if that would help at

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

2016-06-22 Thread Gabriel Gellner
For future conferences I would be super stoked to pay some fee to have early access if that would help at all. Super stoked to see so many of these sweet talks! On Wednesday, June 22, 2016 at 6:49:43 AM UTC-7, Viral Shah wrote: > > Yes they will be and hopefully much sooner than last year. > >

[julia-users] Re: ERROR: syntax: "±" is not a unary operator

2016-06-22 Thread Steven G. Johnson
On Wednesday, June 22, 2016 at 2:34:00 PM UTC+1, Kaj Wiik wrote: > > Yes, it is probably a binary operator but searches fail to find it. > Certain symbols are parsed as operators, and others are parsed as identifiers. This is independent of whether that symbol is defined in Base. For example

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

2016-06-22 Thread Viral Shah
Yes they will be and hopefully much sooner than last year. -viral On Jun 22, 2016 7:31 AM, "nuffe" wrote: > Will all the talks be posted on youtube, like last year? If so, do you > know when? Thank you (overseas enthusiast) > > On Thursday, June 9, 2016 at 11:34:18 PM UTC+2,

[julia-users] Re: ERROR: syntax: "±" is not a unary operator

2016-06-22 Thread Kaj Wiik
Yes, it is probably a binary operator but searches fail to find it. Any use would also clash with Measurements.jl, so it'd be a bad idea anyway :-). Thanks, Kaj On Wednesday, June 22, 2016 at 4:02:57 PM UTC+3, David van Leeuwen wrote: > > It probably is defined as an operator, but without

[julia-users] Re: Parse Array of Bytes

2016-06-22 Thread jw3126
Thats exactly what I was looking for, thanks! On Wednesday, June 22, 2016 at 3:11:17 PM UTC+2, David van Leeuwen wrote: > > Probably just > > reinterpret(Float32, block) > > ---david > > On Wednesday, June 22, 2016 at 2:56:46 PM UTC+2, jw3126 wrote: >> >> I have an array containing 4n bytes

[julia-users] Re: Parse Array of Bytes

2016-06-22 Thread David van Leeuwen
Probably just reinterpret(Float32, block) ---david On Wednesday, June 22, 2016 at 2:56:46 PM UTC+2, jw3126 wrote: > > I have an array containing 4n bytes (::Array{UInt8,1}) and I want to parse > it into an array of n Float32. What is a sane way of doing this? >

[julia-users] Re: ERROR: syntax: "±" is not a unary operator

2016-06-22 Thread David van Leeuwen
It probably is defined as an operator, but without definition. julia> ±(a,b) = (a+b, a-b) ± (generic function with 1 method) julia> 3±4 (7,-1) your assignment probably overrides the default operator. ---david On Wednesday, June 22, 2016 at 2:08:21 PM UTC+2, Kaj Wiik wrote: > > > I have

[julia-users] Parse Array of Bytes

2016-06-22 Thread jw3126
I have an array containing 4n bytes (::Array{UInt8,1}) and I want to parse it into an array of n Float32. What is a sane way of doing this?

[julia-users] Re: Wrap fortran 90 interface code for DDE

2016-06-22 Thread Dupont
I am trying something simpler. I added a function in the f90 file that call the relevant function in order to remove the issue of having optional arguments. Hence, I wrote: FUNCTION DKL_4_SIMPLE(NVAR,DDES,DELAYS,HISTORY,TSPAN) RESULT (SOL) ! Both BETA and HISTORY are user supplied

[julia-users] ERROR: syntax: "±" is not a unary operator

2016-06-22 Thread Kaj Wiik
I have a strange problem using ± and ∓ Unicode symbols as variables when placed at the front of equation. Although they seem not to be defined in Main, they behave differently from e.g. α (but e.g. 2*± does work). See below. Any suggestions? _ _ _ _(_)_ | A fresh

[julia-users] Re: JuliaCon schedule announced

2016-06-22 Thread nuffe
Will all the talks be posted on youtube, like last year? If so, do you know when? Thank you (overseas enthusiast) On Thursday, June 9, 2016 at 11:34:18 PM UTC+2, Viral Shah wrote: > > The JuliaCon talks and workshop schedule has now been announced. > > http://juliacon.org/schedule.html > >

[julia-users] Re: Help with a macro

2016-06-22 Thread Mosè Giordano
Ok, here is a simpler example, not specific to Measuments.jl. From @foo f(x, y, z, ...) get f([x.re, y.re, z.re, ...].^2 + [x.im, y.im, z.im, ...]) The expression provided to the macro should can take any number of arguments. For example: x = complex(3.2, -5.2) y = complex(8.9, 0.4)

[julia-users] Re: Julia 0.4.6 Windows 32bits not run

2016-06-22 Thread Tony Kelman
Oh I didn't notice you said you're using Windows XP for which Microsoft ended support 2 years ago. I would be a little surprised if something we backported caused problems on Windows XP, but can't easily test right now. It might be the case that 0.4.5 will be the last release that works on XP.

[julia-users] Re: Julia 0.4.6 Windows 32bits not run

2016-06-22 Thread alx
sorry forget: this happens with a double click julia.exe or running on the terminal "c: \ julia0.4.6 \ bin \ julia.exe" if I install the version 0.4.5 all right again El miércoles, 22 de junio de 2016, 9:01:06 (UTC+2), alx escribió: > > my error message is: > > "You can not start the

[julia-users] async web socket read & write?

2016-06-22 Thread Jon Norberg
I am trying to use a websocket to provide online input to a simulation that runs on another process and update back with a given frequency. The examples I have found all wait for a read event and then immediately write back. I would like to have the ability to have separate read and write loops

[julia-users] Re: Julia 0.4.6 Windows 32bits not run

2016-06-22 Thread alx
my error message is: "You can not start the application because the configuration is incorrect. Reinstalling the application may fix the problem" El martes, 21 de junio de 2016, 16:17:40 (UTC+2), Андрей Логунов escribió: > > I had similar difficulties when having upgraded from 0.4.5 to 0.4.6