Re: [julia-users] load a Julia dataframe from Microsoft SQL Server table

2016-02-02 Thread Terry Seaward
Is there a DBI compliant version of this? Also I have endless string conversion issues with this package. On Tuesday, 17 March 2015 21:22:50 UTC+2, Jacob Quinn wrote: > > Check out the https://github.com/quinnj/ODBC.jl package for connecting to > DSN defined in your ODBC manager. > > On Tue, Mar

Re: [julia-users] Calling your own C Function

2016-02-02 Thread Yichao Yu
On Tue, Feb 2, 2016 at 11:29 PM, Chris Rackauckas wrote: > Hey, sorry if this is a really noob question, but how does one use ccall on > your own C function? Since the binding to the Monte Carlo VEGAS integration > libraries in GSL.jl currently need work (if anyone wants to fix that up / > guide m

[julia-users] Calling your own C Function

2016-02-02 Thread Chris Rackauckas
Hey, sorry if this is a really noob question, but how does one use ccall on your own C function? Since the binding to the Monte Carlo VEGAS integration libraries in GSL.jl currently need work (if anyone wants to fix that up / guide me on how to fix it up, I'll give you 10 cookies!), I was lookin

Re: [julia-users] @everywhere using Images gives error

2016-02-02 Thread Abhinanda Ranjit
Hi Musfir, Tried that already. Still doesn't work. On Wednesday, January 27, 2016 at 9:37:54 AM UTC+5:30, Musfir Mohammed wrote: > > Hi > It looks to me like the package images and ImageMagick have not been > imported "import" prior to "using". > As I understand import doesn't make the expo

Re: [julia-users] Assigment inside a comprehension

2016-02-02 Thread Cedric St-Jean
If you're looking for a one-liner, this works: for i in 1:10 tmp[1:i,i] = rand(i) end It looks gross at first, but eventually the brain parses it just fine. `end` is just a very verbose closing parenthesis. On Tuesday, February 2, 2016 at 10:17:56 AM UTC-5, Stefan Karpinski wrote: > > As you su

[julia-users] Re: array size

2016-02-02 Thread Cedric St-Jean
I think it's related to some old Matlab convention that Julia inherited, where there is an implicit infinity of singleton dimensions: rand(5,5)[2,2,1,1] # this is valid rand(5,5)[1,:] # Returns a 1x5 2D array rand(5,5)[:,1] # returns a 5-element 1D array It's kinda consistent in its own way, but

Re: [julia-users] Re: Plotting (Greek letter label, high resolution...)

2016-02-02 Thread Stefan Karpinski
You need to press the tab key after typing \gamma. On Tue, Feb 2, 2016 at 7:26 PM, digxx wrote: > Yes I tried for example > "\gamma" > or > "{\gamma }" > "{\gamma } " > and so on but i still get only the written gamma :-/ > Maybe I'm missing some package?

[julia-users] Re: v0.4.3 Generic Linux binaries on CentOS 6

2016-02-02 Thread Tony Kelman
If you need to add things to your path, my highly biased opinion is it's best to do so temporarily and only for the relevant task at hand. Did you install that version of git for use with Julia, or some other purpose? Things tend to accumulate on the path and end up conflicting far later down t

Re: [julia-users] Re: Plotting (Greek letter label, high resolution...)

2016-02-02 Thread digxx
Yes I tried for example "\gamma" or "{\gamma }" "{\gamma } " and so on but i still get only the written gamma :-/ Maybe I'm missing some package? Or some <> u need like with ?

[julia-users] array size

2016-02-02 Thread Davide Lasagna
Hi, Just out of curiosity. What is the fundamental reason why size(rand(5, 5), 3) is equal to 1 and does not raise an error? Davide

Re: [julia-users] Re: Plotting (Greek letter label, high resolution...)

2016-02-02 Thread Tom Breloff
Yes sorry you need the closing "" at the end. means actually pressing the TAB key on your keyboard. On Tue, Feb 2, 2016 at 5:35 PM, digxx wrote: > Sorry to bother you again, but I still do have 2 issues: > using label="xx" for example works fine as long as I just plot in the > browser, but whe

[julia-users] PyPlot and art3D

2016-02-02 Thread Alex Dowling
Hello, I'm having trouble finding examples for using art3D through the PyPlot module in Julia. Ultimately I'd like to reproduce this example: http://stackoverflow.com/questions/4622057/plotting-3d-polygons-in-python-matplotlib (Python, code below) from mpl_toolkits.mplot3d import Axes3Dfrom

Re: [julia-users] Re: Plotting (Greek letter label, high resolution...)

2016-02-02 Thread digxx
Sorry to bother you again, but I still do have 2 issues: using label="xx" for example works fine as long as I just plot in the browser, but when trying to use savefig it's telling me (julia.exe:5956): Pango-WARNING **: pango_layout_set_markup_with_accel: Error on line 1 char 31: Element 'markup'

Re: [julia-users] Any way to bypass the cache[s] for load and/or stores [e.g. to make better sorting] for big arrays..?

2016-02-02 Thread Stefan Karpinski
On Tue, Feb 2, 2016 at 5:05 PM, Páll Haraldsson wrote: > > Anyway, is floating-point sorting considered very important (this is just > an intellectual exercise for me and I have to make up my mind where to > start, if it's more important than something else, suhc as [Uniciode] > strings), up to w

Re: [julia-users] method to determine return type of a method

2016-02-02 Thread Yichao Yu
On Feb 2, 2016 5:03 PM, "David Anthoff" wrote: > > Hi, > > > > is there a method that I can pass a function f and a type signature to and it returns the return type I can expect from calling f with the given types? I.e. something like > > > > code_returntype(f, (Int64, Float64)) There's base.retu

Re: [julia-users] Plotting with Plot

2016-02-02 Thread digxx
Though do u know what this means? INFO: Recompiling stale cache file C:\cygwin64\home\Diger\.julia\lib\v0.4\Plots.ji for module Plots. It doesn't show it when I say using Plots directly in Julia.

Re: [julia-users] Any way to bypass the cache[s] for load and/or stores [e.g. to make better sorting] for big arrays..?

2016-02-02 Thread Páll Haraldsson
2016-02-02 21:44 GMT+00:00 Stefan Karpinski : > On Tue, Feb 2, 2016 at 4:22 PM, Páll Haraldsson > wrote: > >> >> I'm looking into doing better sorting for Julia. >> >> [Anyone tried bypassing for better sort performance (in other languages) >> or for other things? Is Quicksort in Julia the defaul

Re: [julia-users] Plotting with Plot

2016-02-02 Thread digxx
Probably I wont be able to solve it anyway :-/ but I'm using Windows with cygwin. Version 0.4 Julia.

[julia-users] method to determine return type of a method

2016-02-02 Thread David Anthoff
Hi, is there a method that I can pass a function f and a type signature to and it returns the return type I can expect from calling f with the given types? I.e. something like code_returntype(f, (Int64, Float64)) and then it would return the type that f would return if called with an In

Re: [julia-users] Plotting with Plot

2016-02-02 Thread Tom Breloff
You need "using Plots" just as you would in the REPL. Your fonts issue is likely either your system or Pango, so not necessarily Plots or Gadfly. Sorry I can't be of more help there, but if you post more info on your system and julia versions maybe someone else can help. On Tuesday, February 2,

Re: [julia-users] Any way to bypass the cache[s] for load and/or stores [e.g. to make better sorting] for big arrays..?

2016-02-02 Thread Stefan Karpinski
On Tue, Feb 2, 2016 at 4:22 PM, Páll Haraldsson wrote: > > I'm looking into doing better sorting for Julia. > > [Anyone tried bypassing for better sort performance (in other languages) > or for other things? Is Quicksort in Julia the default for floating point, > because a stable (merge-sort, oth

Re: [julia-users] Beginnner's Question

2016-02-02 Thread Stefan Karpinski
Drop the [ ] around 1:z. On Tue, Feb 2, 2016 at 4:17 PM, James Byars wrote: > function multi_sum_6(x,y,z) > total = sum(filter(i -> ((i % x == 0) | (i % y == 0)), [1:z])) > return(total) > end > > I am getting the following warnings with my function (Project Euler) . > When I run the sep

Re: [julia-users] Plotting with Plot

2016-02-02 Thread digxx
Am Dienstag, 2. Februar 2016 22:34:54 UTC+1 schrieb digxx: > > Sorry it's me again: > while writing: > > > f = "Sans"; > default(tickfont = font(f,8), > guidefont = font(f,11), > legendfont = font(f,8)) > > it gives me the error: > > ERROR: LoadError: UndefVarError: font not defined > in include

Re: [julia-users] Plotting with Plot

2016-02-02 Thread digxx
Am Dienstag, 2. Februar 2016 15:24:17 UTC+1 schrieb Tom Breloff: > > The easiest way? Add spaces to the end of your text, which will force > extra padding. The "correct" way to solve this (without fixing the font > issue) is pretty complex. > > On Mon, Feb 1, 2016 at 6:25 PM, digxx > > wrote

Re: [julia-users] Plotting with Plot

2016-02-02 Thread digxx
Sorry it's me again: while writing: f = "Sans"; default(tickfont = font(f,8), guidefont = font(f,11), legendfont = font(f,8)) it gives me the error: ERROR: LoadError: UndefVarError: font not defined in include at boot.jl:261 in include_from_node1 at loading.jl:304 in try_include at client.jl

RE: [julia-users] Juno IDE

2016-02-02 Thread David Anthoff
Ha, excellent, I had completely missed that plotting support for Gadfly is there already! I really appreciate how nicely the whole Juno thing is coming along, thanks to all the contributors of that fantastic effort! From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com]

[julia-users] Any way to bypass the cache[s] for load and/or stores [e.g. to make better sorting] for big arrays..?

2016-02-02 Thread Páll Haraldsson
I'm looking into doing better sorting for Julia. [Anyone tried bypassing for better sort performance (in other languages) or for other things? Is Quicksort in Julia the default for floating point, because a stable (merge-sort, otherwise the default) in not judged important? I might look into s

[julia-users] Beginnner's Question

2016-02-02 Thread James Byars
function multi_sum_6(x,y,z) total = sum(filter(i -> ((i % x == 0) | (i % y == 0)), [1:z])) return(total) end I am getting the following warnings with my function (Project Euler) . When I run the separate lines I do not get the following warning, but get the exact answer. It is only when

[julia-users] Re: v0.4.3 Generic Linux binaries on CentOS 6

2016-02-02 Thread daniel . matz
Sorry, you asked me to do that earlier, and indeed you are right. It seems that my lab's recent upgrade broke my personal installation of git. What do you encourage people to do instead of adding to their paths? Thanks for all of your help, Tony! On Tuesday, February 2, 2016 at 2:17:18 PM UTC-

[julia-users] Re: Voronoi tess / ccall with Fortran

2016-02-02 Thread Robert DJ
I'm no next to nothing about Fortran -- I was mostly inspired by the package https://github.com/simonster/GLMNet.jl/ I'll look into Ptr/Ref ! On Tuesday, February 2, 2016 at 3:55:50 PM UTC+1, Lutfullah Tomak wrote: > > I think you already know Fortran functions take arguments by > reference/poin

Re: [julia-users] Voronoi tess / ccall with Fortran

2016-02-02 Thread Robert DJ
Actually, I wasn't aware of that package -- thanks for the link! It looks like the output from this package would also need some work, though. On Tuesday, February 2, 2016 at 3:12:29 PM UTC+1, Tom Breloff wrote: > > I don't have a complete answer, but wanted to make you aware of this > package:

[julia-users] What to do with my package ClusterUtils.jl ?

2016-02-02 Thread Matthew Pearce
As part of working on an MCMC algorithm, I have produced some tools to help leverage my academic cluster. I've stuck them on github as ClusterUtils.jl . The functionality builds on `remotecall' and on the ClusterManagers.jl package, with - `descr

[julia-users] Re: v0.4.3 Generic Linux binaries on CentOS 6

2016-02-02 Thread Tony Kelman
Does your custom installation of git work if you run it outside of Julia? It may be missing some rpaths or LD_LIBRARY_PATH etc. Another data point in why I strongly discourage people from permanently adding things to their paths. On Tuesday, February 2, 2016 at 8:07:39 AM UTC-8, danie...@gmail

Re: [julia-users] Juno IDE

2016-02-02 Thread Sisyphuss
I didn't know that, since I use Winston, a light-weighted plotting package which already satisfies my need. I think getting the foundations really right is more important than adding other plotting packages. For now, I can always use LT, and wait for Julia version 0.5 to checkout Atom. I thi

Re: [julia-users] Vectorization of reductions including tuples

2016-02-02 Thread Kristoffer Carlsson
Thanks for your reply, Erik. I am playing around with getting SIMD instructions to work with the GradientNumbers in ForwardDiff.jl: (see: https://github.com/JuliaDiff/ForwardDiff.jl/issues/98). In ForwardDiff, GradientNumbers are represented as a type with a Number field and a NTuple of Number

Re: [julia-users] Vectorization of reductions including tuples

2016-02-02 Thread Erik Schnetter
Kristoffer Automatic SIMD vectorization is easily thrown off guard by seemingly small changes in the code. In your case, it's probably the additional complexity introduced by tuples that makes it not vectorize. Note that usual vectorization works by combining several loop iterations into a single

[julia-users] Re: Julia vs Matlab: interpolation and looping

2016-02-02 Thread Lutfullah Tomak
Hi I attached the code I used and timings I get. I used MSpline. If Dierckx is used my changes will be less visible in timings since interpolations take much more time. Regards splinetry.jl Description: Binary data 4.728200 seconds (197.23 k allocations: 5.225 GB, 10.38% gc time) 3.798389 s

[julia-users] Re: incompatibility of Tk and PyPlot

2016-02-02 Thread Andreas Lobinger
Hello colleague, this is clearly a bug but i cannot track down where. I'd recommend an issue on PyPlot. On Tuesday, February 2, 2016 at 5:04:28 PM UTC+1, Bernd Blasius wrote: > > > One a side note, does anybody know if it is possible in a single program > to draw on a canvas in Tk AND use a plo

Re: [julia-users] Juno IDE

2016-02-02 Thread Mike Innes
Currently we do support Gadfly, it's not too hard to add others (although right now I'm focused on getting the foundations really right rather than display of specific types). Are you using Images.jl? On Tue, 2 Feb 2016 at 18:19 Sisyphuss wrote: > The multimedia support, specifically, the image

Re: [julia-users] Juno IDE

2016-02-02 Thread Sisyphuss
The multimedia support, specifically, the image support is the only remaining issue that hold me back from Atom. > > > 4) We want to support different workflows as well as we can. The Atom work > includes a repl which is going to get a lot nicer over the next couple > weeks. If there are any ot

Re: [julia-users] Juno IDE

2016-02-02 Thread Mike Innes
Thanks for the feedback, it's always good to hear what teething problems people have. Many of these things are one the roadmap and over the next couple months we'll be aimed at making the first-time Juno experience really good. In particular: 1) Don't worry about the LT update. In fact, I highly

[julia-users] Re: Julia vs Matlab: interpolation and looping

2016-02-02 Thread Andre Bieler
I found that reducing memory allocation in the loop does not do much in terms of speed. E.g. when doing something like xx = xprime[:] the timing difference between sql(xprime[:]) and sql(xx) is only about 5%. so my guess is most of the time is just spent inside the sql() function call and t

[julia-users] Re: deep learning for regression?

2016-02-02 Thread Phil Tomson
I'd be interested in seeing your sin-fitting network as well. Phil On Monday, February 1, 2016 at 9:34:16 AM UTC-8, michae...@gmail.com wrote: > > Thanks everyone for the comments and pointers to code. I have coded up a > simple example, fitting y=sin(x) + error, and the results very good, enoug

[julia-users] Re: Juno IDE

2016-02-02 Thread Sisyphuss
I infer that you are using a Juno/Julia bundle. For this purpose, you may prefer downloading it from here . Or you can also install Julia and Juno separately like Arch by following this manual

Re: [julia-users] Parametric Type Question - updating type

2016-02-02 Thread Christopher Alexander
Hey guys, thanks a million for the feedback! I actually really like the idea of just making the instruments (e.g. Bond) immutable, and then just creating new instances when I need to change something. I could create copy methods that would make it easy to spin up a new instance with generally

[julia-users] Re: v0.4.3 Generic Linux binaries on CentOS 6

2016-02-02 Thread daniel . matz
That was the clue I was needing, thank you. I had installed git 2.3.3 in my user directory and had that on my PATH, and so I wasn't getting the system's installation. If I use the system's git, things work fine. Any thoughts on why it wasn't working with my installation of git 2.3.3? On Monda

[julia-users] incompatibility of Tk and PyPlot

2016-02-02 Thread Bernd Blasius
Julia packages Tk and PyPlot don't like each other. The following code produces a crash of the REPL: using Tk using PyPlot plot() With the following error message: Fatal Python error: PyEval_RestoreThread: NULL tstate > signal (6): Aborted > gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown l

[julia-users] Re: Julia vs Matlab: interpolation and looping

2016-02-02 Thread Lutfullah Tomak
I tried this examples. It only improves if xprime is not allocated over and over. Instead, try fill!(xprime,1.0) for ones(...). Also, colon indexing xprime[:] allocates memory. Instead, you can use reinterpret/reshape. In real code, xprime should not be re-allocated with ones method. You can upd

Re: [julia-users] Parametric Type Question - updating type

2016-02-02 Thread Mauro
> Christopher: I think it might make sense to break out TermStructure and > pass it into your methods as an independent object. If you find yourself > "mixing and matching" pricing engines and term structures, then that sounds > to me like you should be making use of multiple dispatch. If a bond

Re: [julia-users] Re: Anonymous functions now faster? Need for functors?

2016-02-02 Thread Stefan Karpinski
Jeff is working on a blog post on this change which will explain it. On Tue, Feb 2, 2016 at 4:55 AM, Ján Dolinský wrote: > This also means that calls to map() and mapreduce() will no longer be so > slow :). > > Dňa nedeľa, 31. januára 2016 13:35:39 UTC+1 Ben Ward napísal(-a): > >> Hi, >> >> I ju

Re: [julia-users] am i prepared for the arraypocalypse?

2016-02-02 Thread Stefan Karpinski
The major change that has already happened is that singleton slices are dropped regardless of whether they are trailing or not. Thus, both column and row slices return vectors: julia> A = rand(3,4) 3x4 Array{Float64,2}: 0.901849 0.928557 0.234609 0.0242837 0.639919 0.434856 0.735784 0.8902

Re: [julia-users] Assigment inside a comprehension

2016-02-02 Thread Stefan Karpinski
As you suspect, assignment inside of comprehensions is and antipattern. It *will* allocate the result array of arrays and then throw it away. This could potentially be optimized away, but why not just use a for loop? On Tue, Feb 2, 2016 at 4:00 AM, Ján Dolinský wrote: > Hi, > > Is an assigment i

Re: [julia-users] Re: Sparse matrix memory preallocation?

2016-02-02 Thread Stefan Karpinski
This is a classic pattern for sparse matrices – constructing them by assignment is very inefficient, so it's much better to construct the I, J, V vectors and then call sparse. It's often more efficient to use findnz to get I, J, V, do some operations on these vectors, and call sparse to construct a

Re: [julia-users] Is the Actor model for parallelism a good paradigm for Julia

2016-02-02 Thread Stefan Karpinski
Actors in the actor model are somewhere between a Julia Task (shared memory, concurrent but not parallel) and a Julia Worker (separate memory, concurrent and parallel). Once Julia Tasks are actually parallel as well as concurrent (i.e. can run in separate threads), then the two will be even more si

[julia-users] Voronoi tess / ccall with Fortran

2016-02-02 Thread Lutfullah Tomak
I think you already know Fortran functions take arguments by reference/pointer. If there is not a typo in ccall some of the arguments are not Ptr but IntXX in the example. I suggest you use Ref instead of Ptr and just pass any variable since it will be converted automatically to a pointer. You c

Re: [julia-users] Parametric Type Question - updating type

2016-02-02 Thread Tom Breloff
Thanks for the link Mauro. Christopher: I think it might make sense to break out TermStructure and pass it into your methods as an independent object. If you find yourself "mixing and matching" pricing engines and term structures, then that sounds to me like you should be making use of multiple

Re: [julia-users] Re: Plotting (Greek letter label, high resolution...)

2016-02-02 Thread Tom Breloff
I think this example will help: ​ The greek letters are created with tab completion: "\gamma" For a little more info on latex in Gadfly, see this issue: https://github.com/dcjones/Gadfly.jl/issues/356 On Mon, Feb 1, 2016 at 5:55 PM, digxx wrote: > Sorry just found out about the second... > S

Re: [julia-users] Plotting with Plot

2016-02-02 Thread Tom Breloff
The easiest way? Add spaces to the end of your text, which will force extra padding. The "correct" way to solve this (without fixing the font issue) is pretty complex. On Mon, Feb 1, 2016 at 6:25 PM, digxx wrote: > So concerning the actual problem. How can I increase the space for the > legend

Re: [julia-users] Voronoi tess / ccall with Fortran

2016-02-02 Thread Tom Breloff
I don't have a complete answer, but wanted to make you aware of this package: https://github.com/Voxel8/Voronoi.jl On Tue, Feb 2, 2016 at 7:23 AM, Robert DJ wrote: > Hi, > > I am looking for way to work with Voronoi tesselations. I have a set of 2D > points where the stored order is not importan

[julia-users] Re: Crashing REPL experimenting for macro aliases

2016-02-02 Thread Ismael Venegas Castelló
The macro alias is good, but the way you call it is not, instead like this: julia> eval(Expr(:macrocall, symbol("@m"), :(1+2))) Expr head: Symbol call args: Array(Any,(3,)) 1: Symbol + 2: Int64 1 3: Int64 2 typ: Any Also please do submit a bug report as the crash error indicates

[julia-users] Re: deep learning for regression?

2016-02-02 Thread Fabrizio Lacalandra
Dear Michael, i am interested in using Mocha in the context of regression too. Could you share the simple example of the sintetic function below to me too (possibly in private) ? Thanks, Fabrizio On Monday, February 1, 2016 at 6:34:16 PM UTC+1, michae...@gmail.com wrote: > > Thanks everyone for

[julia-users] Shell mode for scripts

2016-02-02 Thread Lance Larsen
In the julia interactive interpreter, the shell mode is very nice. I would like to be able to use julia as my main shell except for one thing. Shell mode is only available in interactive mode. Has there been discussion about having a way to enter shell mode in julia scripts. That would be awesom

[julia-users] Vectorization of reductions including tuples

2016-02-02 Thread Kristoffer Carlsson
For a simple reduction of an array I have code that vectorizes nicely: function simd_sum{T}(x::Vector{T}) s = zero(T) @simd for i in eachindex(x) @inbounds s = s + x[i] end return send By looking at @code_llvm simd_sum(rand(Float64, 10)) it can be seen that the loop is

Re: [julia-users] How to unpack a .tar file in Julia?

2016-02-02 Thread Josef Heinen
Thanks for the info. The problem is solved (in the meantime). See GR.jl commit 889f9d0 On Tuesday, February 2, 2016 at 12:34:45 AM UTC+1, Tony Kelman wrote: > > Check the BinDeps package for unpack_cmd > > > On Monday, February 1, 2016 at 4:34:13 AM UTC-8, Aslak Grinsted wrote: >> >> >> I have

[julia-users] Voronoi tess / ccall with Fortran

2016-02-02 Thread Robert DJ
Hi, I am looking for way to work with Voronoi tesselations. I have a set of 2D points where the stored order is not important, but has to be preserved in the final result. I would like to compute the bounded Voronoi tesselation of the points (i.e., the Voronoi tesselation intersected with a bou

[julia-users] Re: how to get back the objective value, the number of explored nodes, number of simplex iterations from gurobi solver

2016-02-02 Thread Nils Gudat
Are you using Gurobi.jl?

[julia-users] Re: ANN: new blog post on array indexing, iteration, and multidimensional algorithms

2016-02-02 Thread Andrew Gibb
Agreed! A very clear introduction which shows off some of the power of these new Array iterators. Thanks, Tim. Andy On Monday, 1 February 2016 18:55:06 UTC, Tim Holy wrote: > > It's come to my attention that some of the exciting capabilities of julia > 0.4 > for indexing, iteration, and writ

[julia-users] Re: Anonymous functions now faster? Need for functors?

2016-02-02 Thread Ján Dolinský
This also means that calls to map() and mapreduce() will no longer be so slow :). Dňa nedeľa, 31. januára 2016 13:35:39 UTC+1 Ben Ward napísal(-a): > > Hi, > > I just saw this merged PR . > > In the past I used the functor trick of defining a type,

Re: [julia-users] am i prepared for the arraypocalypse?

2016-02-02 Thread Mauro
> What is the arraypocalypse? Braking changes for array indexing are on the plate for 0.5: https://github.com/JuliaLang/julia/issues/13157 Note that another name is arraymageddon: https://github.com/JuliaLang/julia/search?utf8=%E2%9C%93&q=arraymageddon&type=Issues The terms stems from the previ

[julia-users] Re: Juno IDE

2016-02-02 Thread Arch Call
David, I am on Windows 10 64 bit. I run Juno and LightTable as my IDE. It is a fairly good IDE, although nowhere as comprehensive as RStudio for the R language. Question #1) When LT prompts for new version just download and install. After the installation everything should be just fine. Ques

Re: [julia-users] Signature for function accepting array of parameterised types

2016-02-02 Thread Mauro
> For the purposes of readability, is there any syntax by which I can avoid > explicit parameterisation of the function? I am thinking of something like > this: > > function fun(arr::Array{<:Type3, 1}) > end No, there is none but it has been discussed https://github.com/JuliaLang/julia/issues/6984

[julia-users] Assigment inside a comprehension

2016-02-02 Thread Ján Dolinský
Hi, Is an assigment inside a comprehension a "good practice" e.g. I want to fill in columns of a temporary matrix as follows: tmp = zeros(10,10) # this is flawless for i in 1:10 tmp[1:i,i] = rand(i) end # this is a neat one line expression but I wonder whether it does not silently allocate r

Re: [julia-users] Signature for function accepting array of parameterised types

2016-02-02 Thread Samuel Powell
Of course, thank you Mauro. For the purposes of readability, is there any syntax by which I can avoid explicit parameterisation of the function? I am thinking of something like this: function fun(arr::Array{<:Type3, 1}) end S. On Tuesday, 2 February 2016 06:27:10 UTC, Mauro wrote: > > On Mo