[julia-users] Re: Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread James Dang
Thanks! I think it's the default Atom theme heh.

Re: [julia-users] structuring src/test directories

2016-03-20 Thread Erik Schnetter
I have a project (see ) where I have many files in src, each with its own module. The modules refer to each other, using regular "using" statements. In my tests I say unshift!(LOAD_PATH, "../src") so that statements such as "using Comm" find the respective

Re: [julia-users] macroexpand entire module

2016-03-20 Thread Tim Holy
It probably needs updating, but https://github.com/timholy/MacroExpandJL.jl might help. It lets you macroexpand a whole source file. Best, --Tim On Sunday, March 20, 2016 08:53:49 PM Yichao Yu wrote: > On Sun, Mar 20, 2016 at 8:26 PM, wrote: > > Hi all, > > > > I'd like

Re: [julia-users] pre-compile with userimg.jl instructions

2016-03-20 Thread Tim Holy
Welcome! To recompile julia, just type "make" from the command line. If you've downloaded a binary, this won't work: you have to build from source. Given that there's package precompilation, it's not usually "using XYZ" that's slow anymore: it's usually the first usage of the functions in the

Re: [julia-users] macroexpand entire module

2016-03-20 Thread Yichao Yu
On Sun, Mar 20, 2016 at 8:26 PM, wrote: > Hi all, > > I'd like to be able to load in a module, then macroexpand the whole thing, > then print out the macroexpanded version. > > This should be a full, recursive macroexpand. > > I've noticed there is a function called

[julia-users] structuring src/test directories

2016-03-20 Thread vishesh
So far, I've been using include("file") to import local files. This seems like a really bad idea in the long run, but I've been unable to find documentation of how to do it differently. So for all of my own modules, I have to do: module M include("N.jl") importall .N # do some coding here

[julia-users] macroexpand entire module

2016-03-20 Thread vishesh
Hi all, I'd like to be able to load in a module, then macroexpand the whole thing, then print out the macroexpanded version. This should be a full, recursive macroexpand. I've noticed there is a function called macroexpand that normally does what i want: > macro m(x) 1 end .. > @m(2) 1 >

Re: [julia-users] Re: Nothing conditional operator

2016-03-20 Thread Jeffrey Sarnoff
Redis itself is written in C. They document GET key: > Get the value of key. If the key does not exist the special value nil is > returned. An error is returned if the value stored at key is not a string, because GET only handles string values. digging

[julia-users] pre-compile with userimg.jl instructions

2016-03-20 Thread Lewis Lehe
Hi I am new to Julia and trying to pre-compile modules with the userimg.jl file, to speed up loading. There are instructions of various dates around online. But none seem complete. I am looking for step-by-step instructions on setting this up in OSX. I think that would be helpful for a good

Re: [julia-users] [ANN] JuliaAudio Organization and a slew of packages

2016-03-20 Thread Stefan Karpinski
This is very cool. I've been meaning to try out some audio programming in Julia but now I really must.. On Sun, Mar 20, 2016 at 5:31 AM, Spencer Russell wrote: > Hey there, Julians. > > So AudioIO has been languishing for some time now, and I’ve been busily > working away at

Re: [julia-users] Re: [ANN] JuliaAudio Organization and a slew of packages

2016-03-20 Thread Stefan Karpinski
I think it's a package of types for defining samples, not a collection of types which are sampled, so I don't think that would be clearer (unless I'm misunderstanding what the package is for). On Sun, Mar 20, 2016 at 7:10 AM, Tony Kelman wrote: > Would SampledTypes maybe be a

Re: [julia-users] Wrong description of a GSoC project on idea page.

2016-03-20 Thread Sarvjeet singh ghotra
PS: Would have been really nice if other Julia members could also give some inputs. ᐧ On Mon, Mar 21, 2016 at 4:29 AM, Sarvjeet singh ghotra < sssarvjee...@gmail.com> wrote: > @Jock Very useful information. > > I was thinking to do like GO's Gorilla packages for routing, secure cookie > and

Re: [julia-users] Wrong description of a GSoC project on idea page.

2016-03-20 Thread Sarvjeet singh ghotra
@Jock Very useful information. I was thinking to do like GO's Gorilla packages for routing, secure cookie and session handling, can checkout their packages here . For load-balancing I have found a library here

Re: [julia-users] Re: Nothing conditional operator

2016-03-20 Thread jock . lawrie
Redis.jl returns nothing when requesting a the value of a key that doesn't exist: using Redis conn = RedisConnection() r = get(conn, "non_existent_key") disconnect(conn) r == nothing# true On Sunday, March 20, 2016 at 1:31:30 AM UTC+11, Milan Bouchet-Valat wrote: > > For now I don't know

[julia-users] Re: Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread Eric Forgy
*drool* That looks awesome. Can't wait to try it out. Thanks!

[julia-users] Sampling from distributions appears to be slower in .4 compared to .3

2016-03-20 Thread Christopher Fisher
Hi all- It appears that sampling from certain distributions in .4 is slower than .3. Strangely, however, .4 is faster when sampling from a standard uniform distribution. Is there any reason for this? Here are a few cases with typical run times: #Version .4 *@time rand(10^8);* 0.380916

[julia-users] Re: Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread Uwe Fechner
Today I thought multiple times: How nice would it be to have a "goto definition" function in Juno/Atom. And now it is already there! Very nice. :) Uwe On Sunday, March 20, 2016 at 7:58:15 PM UTC+1, James Dang wrote: > > Hi All, Julia has been great for me, and I wanted to give back a little.

[julia-users] Calling a function on a remote worker

2016-03-20 Thread Uwe Fechner
Hello, I am trying to build a responsive GUI program. QML.jl (see: https://github.com/barche/QML.jl ) works already nicely in providing a GUI, but for performance reasons I have to do the heavy work in the background. I am doing the following (very simple test): addprocs(2) remotecall(2,

[julia-users] Re: Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread Kristoffer Carlsson
This looks very nice! Might even push me into using Atom ;)

[julia-users] Re: Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread feza
Nice I will try this! BTW which theme are you using :) On Sunday, March 20, 2016 at 2:58:15 PM UTC-4, James Dang wrote: > > Hi All, Julia has been great for me, and I wanted to give back a little. > LightTable and Atom are great editors, but I was really starting to miss > good

Re: [julia-users] importing julia in python

2016-03-20 Thread SVAKSHA
On Sun, Mar 20, 2016 at 4:20 PM, awanish das wrote: > hey i am trying to import julia functions in python using pyjulia by > installing PyCall but the problem im facing is that im not able to set the > julia binary to my PATH and i.e. why while writing "import julia " in

[julia-users] Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-20 Thread James Dang
Hi All, Julia has been great for me, and I wanted to give back a little. LightTable and Atom are great editors, but I was really starting to miss good intellisense-like autocomplete and basic navigation features like jump-to-definition, especially on larger codebases. It's really quite a slog

[julia-users] Display a point in violin plot

2016-03-20 Thread Christopher Fisher
Hi all- I am trying to visually assess the fit of a model. The model produces as distribution of predictions and the observation is one point. I would like to overlay the observation onto a violin plot of predictions. For some reason the observation does not display in this simple example:

Re: [julia-users] Re: Parametric splines?

2016-03-20 Thread Tomas Lycken
I tried googling for “parametric splines” but didn’t end up with a concise definition of what they are. If B-splines fit your needs (and it seems from the SciPy documentation that it might do), maybe Interpolations.jl would be useful enough? The

[julia-users] importing julia in python

2016-03-20 Thread awanish das
hey i am trying to import julia functions in python using pyjulia by installing PyCall but the problem im facing is that im not able to set the julia binary to my PATH and i.e. why while writing "import julia " in python script it is showing that no module find named julia.

[julia-users] Re: ANN: NetworkViz.jl - Julia module for graph visualization

2016-03-20 Thread Simon Danisch
Ah great! lets continue there! Am Donnerstag, 17. März 2016 14:17:15 UTC+1 schrieb Abhijith Anilkumar: > > Hi, > > I'm happy to announce the first registered version of NetworkViz.jl > , a julia interface > to visualize graphs using ThreeJS.jl

[julia-users] Re: ANN: NetworkViz.jl - Julia module for graph visualization

2016-03-20 Thread Simon Danisch
Why not writing rendering backend agnostic code and switch out backends as the library evolves? You can simply work with lines, points and text types, and decouple things from the visualization code completely. This way you could also use GLVisualize , which should

[julia-users] Re: fft normalization

2016-03-20 Thread CrocoDuck O'Ducks
Hi there, sorry for the late reply. I get slightly confused when using DSP.jl . I am trying to implement the inverse filter technique to measure linear systems impulse response. So, I define a filter with DSP.jl and the test signal x (a log swept sine), with

[julia-users] Re: Is there going to be an abstract type/trait-ocalypse?

2016-03-20 Thread DNF
I guess maybe this question is difficult to answer with any confidence; I certainly have no particular insight. There have been previous discussions, but I don't know what the prevailing opinion is currently. I just wanted to bump it, and add that this is exactly the kind of topic I find

[julia-users] Re: DataFrame conversion challenge

2016-03-20 Thread Matt Bauman
Yes, the DataArrays package exists to handle `NA` elements as a foundation for DataFrames. You've stumbled upon an open issue in the language, and you're exactly right: vectorization like this is really handy, but it can make reading code a bit harder to understand. In this case, for example,

[julia-users] Re: cross-module exports / extending modules

2016-03-20 Thread Gregory Salvan
Hi, when you want to add methods on Base module (like getindex, getfield...) you use "import Base.getindex" then write a new function with new types args. for exemple to add methods in B.jl on functionA from A.jl import A.functionA function functionA(...) end Is what you were looking for? Le

Re: [julia-users] Registering / renaming CppWrapper

2016-03-20 Thread Morten Piibeleht
I would second Erik, CXX seems to be the standard way of referring to C++ (e.g. in makefiles), and it would be consistent with Cxx.jl. Also, maybe the shorter "CxxWrap.jl"? Sounds a tiny bit better to me ("wrap C++ code in Julia") whereas CxxWrapper could be interpreted as "wrapper around

[julia-users] Re: [ANN] JuliaAudio Organization and a slew of packages

2016-03-20 Thread Tony Kelman
Would SampledTypes maybe be a bit clearer? Otherwise it reads a bit like it would contain examples. On Sunday, March 20, 2016 at 2:31:28 AM UTC-7, Spencer Russell wrote: > > Hey there, Julians. > > So AudioIO has been languishing for some time now, and I’ve been busily > working away at the

[julia-users] cross-module exports / extending modules

2016-03-20 Thread Andreas Lobinger
Hello colleagues, i remember a discussion about this, but maybe without conclusion and maybe without the right keywords. Let's have module A (from package A.jl) with certain funcitionality and maybe some types. Now module/package/code B.jl that somehow extends A with optional functions. How

Re: [julia-users] Signal Processing related project for GSOC 2016

2016-03-20 Thread Spencer Russell
Hi Rishabh, Please poke around the various packages at JuliaAudio, they are pretty much ready to replace AudioIO at this point. The basic stream and file I/O should be working pretty well, though I’m sure there are many rough edges to smooth. I think integrating with more DSP functionality

[julia-users] [ANN] JuliaAudio Organization and a slew of packages

2016-03-20 Thread Spencer Russell
Hey there, Julians. So AudioIO has been languishing for some time now, and I’ve been busily working away at the next generation. One of the issues with AudioIO is that it was a lot to swallow if you just wanted to play or record some audio. I’ve been focusing on getting the fundamental APIs

[julia-users] Re: Output to a C file does not write until after julia exits

2016-03-20 Thread Páll Haraldsson
On Wednesday, March 9, 2016 at 8:07:05 PM UTC, Samuel Massinon wrote: > > Tried looking for a solution but couldn't find anything. > Just curious, is this just a test, or is there a good reason to use non-pure "[Lic]C"/more complicated solution? I think, in pure Julia you can also flush

[julia-users] Re: [ECCN] What packages are included in the basic distribution of Julia

2016-03-20 Thread Páll Haraldsson
On Friday, March 18, 2016 at 10:11:38 AM UTC, Johan Sigfrids wrote: > > Since packages are installed over an encrypted connection Julia must ship > with some kind of crypto. > That is strictly not true. A. First *A* counterexample: download("https:// ") does work on my Linux machine.

[julia-users] Re: ReverseDiffSource on a nonlinear function with three plus variables

2016-03-20 Thread Kristoffer Carlsson
Late reply but I found this googling some other stuff. The problem is that x[1] + x[2] + x[3] is parsed as +(x[1], x[2], x[3]). If you insert a parenthesis, that is: (x[1] + x[2]) + x[3] then it will work. On Wednesday, February 3, 2016 at 7:54:49 PM UTC+1, Eliot Abrams wrote: > > Hello, > >

Re: [julia-users] Re: Google SoC '16: Native Julia solvers for ordinary differential equations, Julia|Quantum>, and Native Julia implementation of Holonomic Functions

2016-03-20 Thread Stefan Karpinski
Related: https://github.com/jverzani/SymPy.jl and http://nemocas.org/ On Wed, Mar 16, 2016 at 5:01 PM, Chris Rackauckas wrote: > Taking a quick look at the paper you linked makes big use of symbolic > computing algorithms to compute things like a Groebner basis. To get the

Re: [julia-users] ANN: NetworkViz.jl - Julia module for graph visualization

2016-03-20 Thread Mike Innes
This looks promising so far. With things like plotting, wrapping web-based libraries has turned out to work very nicely; what's your take on wrapping something like Cytoscape instead of starting from scratch, in terms of pros and cons? On Thu, 17 Mar 2016 at 13:17 Abhijith Anilkumar

Re: [julia-users] append! multiple collections

2016-03-20 Thread Stefan Karpinski
Yes, that would be better written to pre-extend the array only once. Another good PR/issue to open. On Wed, Mar 16, 2016 at 10:58 PM, Cedric St-Jean wrote: > Not part of Michele's PR, but I just saw this definition: > > push!(A, a, b, c...) = push!(push!(A, a, b), c...)