[julia-users] Re: What's the status of SIMD instructions from a user's perspective in v0.5?

2016-10-13 Thread Valentin Churavy
If you want explicit simd the best way right now is the great SIMD.jl package https://github.com/eschnett/SIMD.jl it is builds on top of VecElement. In many cases we can perform automatic vectorisation, but you have to start Julia with -O3 On Thursday, 13 October 2016 22:15:00 UTC+9, Florian

Re: [julia-users] ERROR: Target architecture mismatch

2016-10-13 Thread Valentin Churavy
Since KNL is just a new platform the default version of the LLVM compiler that Julia is based on does not support it properly. During our testing at MIT we found that we needed to switch to the current upstream of LLVM (or if anybody reads this at a later time LLVM 4.0) You can do that by putting

[julia-users] [Announcement] Moving to Discourse (Statement of Intent)

2016-11-01 Thread Valentin Churavy
The Julia community has been growing rapidly over the last few years and discussions are happening at many different places: there are several Google Groups (julia-users, julia-dev, ...), IRC, Gitter, and a few other places. Sometimes packages or organisations also have their own forums and c

Re: [julia-users] Re: [Announcement] Moving to Discourse (Statement of Intent)

2016-11-05 Thread Valentin Churavy
See the about page, https://discourse.julialang.org/about there is a specific section about privacy https://discourse.julialang.org/privacy Let me know if you have any questions or concerns. On Sat, 5 Nov 2016 at 22:15 Robert DJ wrote: > I would love to get away from GG, but I can't seem to fin

Re: [julia-users] Re: [Announcement] Moving to Discourse (Statement of Intent)

2016-11-08 Thread Valentin Churavy
`julia-dev` has now moved to discourse. One possibility would be to start forwarding posts for `julia-users` from Google Groups to Discourse, but that is a one way street. So before I enable that I would like to hear what everybody thinks about it. On Wed, 9 Nov 2016 at 02:01 Tom Breloff wrote:

[julia-users] Re: Value assignment of compound expression

2016-11-09 Thread Valentin Churavy
Welcome to Julia. Similar to other programming language you can (but you do not need to) use a semicolon as a separator between statements. So your code example is equivalent to: tri=base=5 height=10 1/2*base*height so there is no assignment to tri after the first line, and thus the value is e

[julia-users] [Announcement] Moving to Discourse

2016-11-15 Thread Valentin Churavy
I would like to accelerate the move of `julia-users` to https://discourse.julialang.org. In the original announcement (https://groups.google.com/d/msg/julia-users/Ov1J6MOVly0/cD7vNKOUAgAJ) I mentioned a evaluation period of 4 weeks, but since then members of the community have been approaching

[julia-users] Re: [Announcement] Moving to Discourse

2016-11-16 Thread Valentin Churavy
C+2, Uwe Fechner wrote: >>> >>> Hello, >>> how can I paste Julia code in Discourse, such that it has syntax >>> highlighting? >>> >>> Uwe >>> >>> On Wednesday, November 16, 2016 at 3:45:55 AM UTC+1, Valentin Churavy >

[julia-users] Re: [Announcement] Moving to Discourse

2016-11-20 Thread Valentin Churavy
The group is now in read-only mode. Please continue the discussion at discourse.julialang.org. On Wednesday, 16 November 2016 23:48:59 UTC+9, Valentin Churavy wrote: > > It is similar to Github. You can also switch languages by ```python, Julia > is set as the default though :) >

Re: [julia-users] Re: [Announcement] Moving to Discourse

2016-11-21 Thread Valentin Churavy
You can still answer to current thread, but you should be unable to create new threads. Re: Discourse mobile view. I just tested it on my Android phone and I can also not zoom in. Switching into Desktop mode works. On Android chrome has in the accessibility settings the option to "Force enable zoo

Re: [julia-users] Re: [Announcement] Moving to Discourse

2016-11-21 Thread Valentin Churavy
I forgot to post the link to the iOS 10 problem https://meta.discourse.org/t/discourse-1-7-0-beta4-problems-due-to-removal-of-fixed-zoom-safari-iphone/50145 On Mon, 21 Nov 2016 at 22:39 Valentin Churavy wrote: > You can still answer to current thread, but you should be unable to create &g

[julia-users] [JuliaCon 2017] Call for Proposals

2017-01-10 Thread Valentin Churavy
It is my pleasure to announce that the call for proposals for JuliaCon 2017 is now open. Please visit http://juliacon.org/2017/cfp for all the details and the submission form. TL;DR All speakers welcome! Call for Participation closes: March 25th, 11:59pm AOE (UTC-12) Estimated notification

[julia-users] Finite field / Gaulois field implementation

2015-04-23 Thread Valentin Churavy
Hej, Did anybody tried to implement finite field arithmetic in Julia?. I would be particular interested in GF(2) eg. base 2 arithmetic modulus 2. Best, Valentin

Re: [julia-users] Finite field / Gaulois field implementation

2015-04-24 Thread Valentin Churavy
did one in this > > http://andreasnoack.github.io/talks/2015AprilStanford_AndreasNoack.ipynb > > notebook. The arithmetic definitions are simpler for GF(2), but should be > simple modifications to the definitions in the notebook. > > 2015-04-24 2:50 GMT-04:00 Valentin Churavy >: > >&g

Re: [julia-users] IJulia not working on 0.3.10

2015-07-01 Thread Valentin Churavy
Zeromq stands for zero message queue (http://zeromq.org/) and is the protocol used by Jupyter/IPython backends to communicate with the Jupyter/IPython frontend. So if there is any problems with that you can not run the Julia kernel (aka the Julia backend). Also if you have problems like that it

Re: [julia-users] Re: Loops versus maps, 1-D vs. 2-D access

2014-08-05 Thread Valentin Churavy
I mean you could skip the map and use a reduce directly thus skipping the array allocation. You could skip the array allocation by using reduce instead of the map()... construct reduce((acc, x) -> promote_type(acc, typeof(x)),None, X) I created a Gist (https://gist.github.com/vchuravy/f25d31ef

[julia-users] Re: What's new in 0.3?

2014-08-23 Thread Valentin Churavy
There is https://github.com/JuliaLang/julia/blob/v0.3.0/NEWS.md On Saturday, 23 August 2014 15:02:56 UTC+2, Ed Scheinerman wrote: > > Is there a document describing new features and significant changes > between versions 0.2 and 0.3? > > One item I noticed is that in 0.2 the express 1:5 == [1:5

[julia-users] Re: ANN: PGF/TikZ packages

2014-08-23 Thread Valentin Churavy
There is also a PGF backend for Compose which is used by Gadfly, which is producing quite nice plots. On Saturday, 23 August 2014 00:22:34 UTC+2, Kaj Wiik wrote: > > Hi! > > I've been using Tikz, so this package is very welcome! > > However, > using PGFPlots > a=plot(rand(20),rand(20)) > save("te

[julia-users] Re: question about performance hit because of build options on unix HPC

2014-08-24 Thread Valentin Churavy
Hej, so from what I gather if you set JULIA_CPU_TARGET=core2, Julia restricts itself to the cpu features defined here: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86.td?view=markup Currently the only supported and tested options are i386, core2 and native, whereas native tri

[julia-users] Re: How to import module from another file in same directory?

2014-08-24 Thread Valentin Churavy
What you are looking for is described in http://julia.readthedocs.org/en/latest/manual/modules/#relative-and-absolute-module-paths in P.jl you include all your submodules module P include("u.jl") include("a.jl") include("b.jl") using .A, .B export f, g end u.jl module U g() = 5 f()

Re: [julia-users] external editor from IJulia

2014-10-01 Thread Valentin Churavy
After looking at https://github.com/JuliaLang/julia/blob/1c4e8270646f7d5cab3d259f0464e6ea66e3574a/base/interactiveutil.jl#L11 it seems that you should set JULIA_EDITOR. It might be that your VISUAL variable is still set to Vim. V On Wednesday, 1 October 2014 15:24:30 UTC+2, Andrei Berceanu w

[julia-users] Re: ANN: NullableArrays.jl package

2015-09-19 Thread Valentin Churavy
Congratulations. I am looking forward to using it. Are the performance characteristics as good as expected (compared to DataArray?) On Sunday, 20 September 2015 02:38:08 UTC+9, David Gold wrote: > > I'm happy to announce that a tagged and registered beta release of > NullableArrays.jl

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-20 Thread Valentin Churavy
take a look at @code_warntype calc_net(0, 0, 0, Dict{String,Float64}(), Dict{String,Float64 }()) It tells you where the compiler has problems inferring the types of the variables. Problematic in this case is b_hist::Any b_hist_col2::Any numB::Any b_hist_col2_A::Any b_hist_col2_B::Any

Re: [julia-users] Re: Julia code 5x to 30x slower than Matlab code

2015-09-20 Thread Valentin Churavy
warntype not defined > > Do I need to update Julia or something? I have version 0.3.11. > > On 20 September 2015 at 16:14, Valentin Churavy > wrote: > >> take a look at >> @code_warntype calc_net(0, 0, 0, Dict{String,Float64}(), Dict{String, >> Float64}()) &g

[julia-users] Re: How to find connected components in a matrix using Julia

2015-09-25 Thread Valentin Churavy
Hej Charles, in the future please only post in one place. A lot of the people who answer on SO are also here. You can use the label_components function in Images.jl https://github.com/timholy/Images.jl/blob/master/doc/function_reference.md#label_components To get the the list of coordinates fo

Re: [julia-users] ANN: ParallelAccelerator.jl v0.1 released

2015-10-20 Thread Valentin Churavy
This looks great :) The only thing I am wondering about is the license. Is the license compatible with MIT? And if I want to contribute do I have to fill out a Contributor License Agreement? I would much prefer if the license would be one of the standard open-source ones, but I understand if yo

[julia-users] Re: Google releases TensorFlow as open source

2015-11-10 Thread Valentin Churavy
It fits in the same niche that Mocha.jl and MXNet.jl are filling right now. MXNet is a ML library that shares many of the same design ideas of TensorFlow and has great Julia support https://github.com/dmlc/MXNet.jl On Wednesday, 11 November 2015 01:04:00 UTC+9, Randy Zwitch wrote: > > For me, t

[julia-users] Re: Julia and Slurm 'Hello World'

2016-05-16 Thread Valentin Churavy
I would recommend that you look into ClusterManagers.jl https://github.com/JuliaParallel/ClusterManagers.jl it includes a simple starting script for using it with slurm. On Monday, 16 May 2016 23:27:21 UTC+9, John Hearns wrote: > > I hope this is an acceptable question... > I am starting out wit

[julia-users] Re: @inbounds and @simd not showing any sign of speedup

2016-07-29 Thread Valentin Churavy
A great tool to figuring out what is going on in these cases is `@code_llvm`. It shows you a representation of your code that is still readable, but very close to the machine. Your simple julia code without a `@simd` is nearly optimal, but does benefits from the inclusion of `@inbounds` -

[julia-users] Re: Simple type constructor question

2014-11-06 Thread Valentin Churavy
You could using a abstract type instead of a Union abstract Element type Tree body :: Element end type Branch <: Element a :: Tree b :: Tree end type Leaf <: Element a end so this would create a tree julia> Tree(Branch( Tree(Leaf(:a)), Tr

[julia-users] Re: Compose.jl Tutorials for working on Gadfly.jl

2014-11-22 Thread Valentin Churavy
There is also https://github.com/dcjones/Compose.jl/tree/master/examples On Saturday, 22 November 2014 10:08:41 UTC+1, ccsv.1...@gmail.com wrote: > > Are there any tutorials for Compose.jl other than the documentation page? > > I want to try to make pie charts and venn diagrams. > >

[julia-users] Re: Simple Finite Difference Methods

2014-11-30 Thread Valentin Churavy
Nice work! Regarding the pretty Julia version of Lennard-Jones MD. You can shape of another second (on my machine) by not passing in the lj method as a parameter, but directly calling it. I tried to write an optimize version of your lj_pretty function by analysing it with @profile and rewriti

Re: [julia-users] Re: Text editor for coding Julia: Atom vs Light Table vs Bracket

2014-11-30 Thread Valentin Churavy
So one argument feature wise for Juno/Lightable is the good integration of profile(). You get an inline view of how expensive each line is that you can directly jump from the call tree to the appropriate line. On Sunday, 30 November 2014 19:00:07 UTC+1, Hans W Borchers wrote: > > Yes, I found th

[julia-users] Re: Simple Finite Difference Methods

2014-11-30 Thread Valentin Churavy
Sunday, 30 November 2014 20:54:58 UTC+1, Valentin Churavy wrote: > > Nice work! > > Regarding the pretty Julia version of Lennard-Jones MD. > > You can shape of another second (on my machine) by not passing in the lj > method as a parameter, but directly calling it. &g

[julia-users] Re: Rendering images with Julia and seeing them in iJulia

2014-11-30 Thread Valentin Churavy
Take a look at https://github.com/timholy/Images.jl it currently is the best way I know of to work with images in Julia. On Sunday, 30 November 2014 22:29:53 UTC+1, Benjohn Barnes wrote: > > Hi, > > I'd like to experiment with writing rendering / graphics algorithms in > Julia. Mostly for fun a

[julia-users] Re: Simple Finite Difference Methods

2014-12-01 Thread Valentin Churavy
orate this. > > (And sorry for the typos - I am normally better at testing.) > > Christoph > > > > > On Sunday, 30 November 2014 20:54:40 UTC, Valentin Churavy wrote: >> >> I found a second error in lj_cstyle >> >> t is calculated wrongly: >

Re: [julia-users] Re: Simple Finite Difference Methods

2014-12-02 Thread Valentin Churavy
Hi Christoph, If you pass in a function via an argument the compiler get relatively little information about that function and can not do any optimization on it. That is part of the reason why map(f, xs) is currently slower than a for-loop. There are ongoing discussions on how to solve that pro

Re: [julia-users] Re: Text editor for coding Julia: Atom vs Light Table vs Bracket

2014-12-02 Thread Valentin Churavy
Julia is in this regard not like Matlab. In Matlab a function file is with the right name is picked up by the interpreter and loaded. In Julia you first have to include your file [1] and the you can call using A. The profile function is a bit hidden but an explanation can be found here [2] [1

[julia-users] Re: Finite element code in Julia: Curious overhead in .* product

2014-12-08 Thread Valentin Churavy
I would think that when f is a 1x1 matrix Julia is allocating a new 1x1 matrix to store the result. If it is a scalar that allocation can be skipped. When this part of the code is now in a hot loop it might happen that you allocate millions of very small short-lived objects and that taxes the G

Re: [julia-users] Re: home page content

2014-12-09 Thread Valentin Churavy
An other nice example might be the new haskell homepage http://new-www.haskell.org/ For the runnable part. Maybe we could use tmpnb/juliabox to host an example notebook. We should probably use a docker image with an userimages otherwise the attention span will be over before Gadfly is loaded.

Re: [julia-users] Re: home page content

2014-12-10 Thread Valentin Churavy
I agree that displaying runnable code widgets are useless, but showing the good integration with Jupyter/IPython via juliabox/tmpnb/SAGE is not. It would enable to demonstrated people features of Julia without having them actually installing yet another programming environment, thus reducing the

Re: [julia-users] Re: home page content

2014-12-10 Thread Valentin Churavy
I like the point: Solving P=NP reminds me of rust's * In theory. Rust is a work-in-progress and may do anything it likes up to > and including eating your laundry. On Wednesday, 10 December 2014 19:15:05 UTC+1, Christian Peel wrote: > > One thing that I would very much appreciate is some kind

Re: [julia-users] Re: Finite element code in Julia: Curious overhead in .* product

2014-12-11 Thread Valentin Churavy
see, the >> first >> > > >> > > two >> > > >> > > > >> options are the fast one (multiplication with a scalar) and the >> slow >> > > >> > > one >> > > >> > > > >> (multiplicati

[julia-users] Re: Announcing RobotOS.jl

2014-12-12 Thread Valentin Churavy
This looks great :) On Friday, 12 December 2014 20:06:37 UTC+1, Josh Langsfeld wrote: > > After about 6 weeks of initial part-time development, I'm announcing the > first release of the RobotOS.jl package, which enables essentially seamless > integration of Julia code with ROS

[julia-users] Re: @profile -> don't wait for me computation?

2014-12-14 Thread Valentin Churavy
For reference the discussion about slow backtraces on windows started here https://groups.google.com/forum/#!msg/julia-users/hNEJtracCuI/bTaKlrKLIAcJ and the PR reducing the sampling interval can be found https://github.com/JuliaLang/julia/pull/9241 On Sunday, 14 December 2014 23:51:41 UTC+1,

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-15 Thread Valentin Churavy
A fellow archuser here. Under which circumstances does the error occur? Eg. what code are you executing? And what does pacman -Qi julia blas lapack output> On Monday, 15 December 2014 19:14:22 UTC+1, Andrei Berceanu wrote: > > Where do i need to type all this? I must mention that I did not com

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-16 Thread Valentin Churavy
Algebra PACKageArchitecture : x86_64URL: >> http://www.netlib.org/lapack <http://www.netlib.org/lapack>Licenses : >> customGroups : NoneProvides : NoneDepends On : >> blas=3.5.0Optional Deps : NoneRequired By: arpack julia >>

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-16 Thread Valentin Churavy
December 2014 16:52:18 UTC+1, Andrei Berceanu wrote: > > So if your suspicion is correct, setting USE_SYSTEM_SUITESPARSE=1 should > fix this, right? > Let me know how it goes :) > > On Tuesday, December 16, 2014 3:19:43 PM UTC+1, Valentin Churavy wrote: >> >> So your sy

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-16 Thread Valentin Churavy
by me and Andrei, can anybody not using Arch try that out? On Tuesday, 16 December 2014 17:07:55 UTC+1, Valentin Churavy wrote: > > So building it from the PKGBUILD leads to the same error. I am now > building it with the same make options from the tar.gz on the Julia > d

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-16 Thread Valentin Churavy
UTC+1, Valentin Churavy wrote: > > So using > > make \ > USE_SYSTEM_LLVM=0 \ > USE_SYSTEM_LIBUNWIND=1 \ > USE_SYSTEM_READLINE=0 \ > USE_SYSTEM_PCRE=1 \ > USE_SYSTEM_LIBM=1 \ > USE_SYSTEM_OPENLIBM=0 \ > USE_SYSTEM_OPENSP

[julia-users] Re: Comparison of FE codes; Julia versus commercial FE solver

2014-12-16 Thread Valentin Churavy
Petr, Congratulations for achieving this. Is J FinEALE available somewhere? Maybe as as package? Valentin On Tuesday, 16 December 2014 17:52:29 UTC+1, Petr Krysl wrote: > > I have made some progress in my effort to gain insight into Julia > performance in finite element solvers. > > I have co

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-16 Thread Valentin Churavy
On Tuesday, 16 December 2014 18:07:23 UTC+1, Valentin Churavy wrote: > > Ok setting > USE_SYSTEM_BLAS=0 \ > USE_SYSTEM_LAPACK=0 \ > USE_SYSTEM_SUITESPARSE=0 \ > > Make the problem go away. So it is the interaction between the system > blas/lapack and the built suitesparese

Re: [julia-users] obscure error in Julia 0.3.3

2014-12-17 Thread Valentin Churavy
oes not work? > > > Also, do you imply it worked fine with 0.3.2, and started randomly > failing only with 0.3.3? > > > Regards > > > > On Tue, Dec 16, 2014 at 10:03 AM, Valentin Churavy > > wrote: > > So I narrowed it down to

Re: [julia-users] Re: Article on `@simd`

2014-12-23 Thread Valentin Churavy
There is a recent and ongoing discussion on the llvm maillinglist to expose scatter and load operations as llvm intrinsics http://thread.gmane.org/gmane.comp.compilers.llvm.devel/79936 . - Valentin On Monday, 1 December 2014 17:43:11 UTC+1, John Myles White wrote: > > This is great. Thanks, Ja

[julia-users] Re: [ANN] SQLite.jl package update

2014-12-29 Thread Valentin Churavy
Great work! Do you think it would make sense to extract some common functionality and function names in a DB package? There is https://github.com/JuliaDB/DBI.jl. I like the interface you provided and would like to use parts of it for the Postgres driver I am working on. - Valentin On Monday

Re: [julia-users] Dan Luu's critique of Julia: needs commented code, better testing, error handling, and bugs fixed.

2014-12-29 Thread Valentin Churavy
Here is Keno's comment https://news.ycombinator.com/item?id=8810146 and the general HN discussion https://news.ycombinator.com/item?id=8809422 On Monday, 29 December 2014 17:44:35 UTC+1, Keno Fischer wrote: > > I've written up some of my thoughts on the issues raised in this article > in the hac

[julia-users] Re: Macro scoping (or hygiene?) problems

2014-12-30 Thread Valentin Churavy
So I do not totally understand the goal of what you are trying to achieve, but could you try to do this with a macro? macro value(d) @show d quote println("d at runtime ", $d) end end @ngenerate N T function example{T,N}(A::Array{T,N}, xs::NTuple{N,Real}...) @nexprs N dim->begin @nex

[julia-users] Re: Macro scoping (or hygiene?) problems

2014-12-31 Thread Valentin Churavy
create a *symbol* for `d`, so that the > interpolation would get back its *value*: `$(matching(:d))` does the trick. > > Thanks for kicking me in the right direction =) > > // T > > > On Tuesday, December 30, 2014 10:09:01 PM UTC+1, Valentin Churavy wrote: >>

[julia-users] Re: checking a version number?

2014-12-31 Thread Valentin Churavy
That is at least the way Compat does it https://github.com/JuliaLang/Compat.jl/blob/master/src/Compat.jl and there is even a useful script to get the version number of a SHA https://github.com/JuliaLang/Compat.jl#developer-tips - Valentin On Wednesday, 31 December 2014 13:03:34 UTC+1, Andrea

Re: [julia-users] Speedup/clarity/brevity ideas for LZW compression? (Rosetta code)

2016-01-02 Thread Valentin Churavy
Just a small idea. I would make makedict also take a type so that makedict(1024) also works. Alternatively using typemax(UInt8) would remove the dependence on the magic number. On Saturday, 2 January 2016 03:05:19 UTC+9, Erik Schnetter wrote: > > Julia distinguishes between two kinds of strings,

[julia-users] Re: [ANN] GLVisualize

2016-02-28 Thread Valentin Churavy
Congratulations Simon :) Now let's get quickly to a Vulkan backend On Saturday, 27 February 2016 22:46:56 UTC+9, Simon Danisch wrote: > > Thanks :) > > >I wonder if it will be the Matplotlib of Julia > > While possible, it will need quite a bit of work :) Offering the > flexibility and usability

Re: [julia-users] ANN: A potential new Discourse-based Julia forum

2016-03-10 Thread Valentin Churavy
One could use categories as channels. Rust has two differenent discourse instances for internal and user discussions. But in practice categories can have subcategories and we could have a tree like structure that also give a namespace for the package organisation like JuliaGPU.

[julia-users] Re: MXNet setting workspace, Convolutional layers, kernels etc

2016-04-07 Thread Valentin Churavy
What happens if you set the batch_size to 1? Also take a look at https://github.com/dmlc/mxnet/tree/master/example/memcost Also workspace is per convolution and you should keep it small. On Thursday, 7 April 2016 19:13:36 UTC+9, kleinsplash wrote: > > Hi, > > I have a memory error using Quadro

[julia-users] Re: MXNet setting workspace, Convolutional layers, kernels etc

2016-04-08 Thread Valentin Churavy
Also take a look at https://github.com/dmlc/MXNet.jl/pull/73 where I implemented debug_str in Julia so that you can test your network on its space requirements. On Friday, 8 April 2016 15:54:06 UTC+9, Valentin Churavy wrote: > > What happens if you set the batch_size to 1? Also take a l

[julia-users] Re: SIMD multicore

2016-04-16 Thread Valentin Churavy
Blas is using a combination of SIMD and multi-core processing. Multi-core (threading) is coming in Julia v0.5 as an experimental feature. On Saturday, 16 April 2016 14:13:00 UTC+9, Jason Eckstein wrote: > > I noticed in Julia 4 now if you call A+B where A and B are matrices of > equal size, the

[julia-users] Re: Improvements to GPU integration with Julia

2016-04-27 Thread Valentin Churavy
Hey, I am one of the maintainers of OpenCL.jl and I would recommend you to look at https://github.com/JuliaGPU/OpenCL.jl, https://github.com/JuliaGPU/CLFFT.jl, and https://github.com/JuliaGPU/CLBLAS.jl. We welcome any improvements and help. I can only speak for myself in that most of the improv

[julia-users] push! on multidimensional arrays

2014-03-14 Thread Valentin Churavy
Hello there, I am looking into ways to grow a multidimensional array in julia. Essential I would like to do the following: d1=10 d2=10 A=Array(Float64, d1, d2, 0) b=ones(d1, d2) push!(A, b) A[:, :, 1] == b Is there any way to do such a thing? According to the documentation on Dequeues the pu

[julia-users] Re: [First post] What IDE everyone uses?

2014-03-18 Thread Valentin Churavy
Sublime Text 3 for programming and IJulia for prototyping and testing. On that note is somebody working on a LightTable integration? On Monday, 17 March 2014 08:42:23 UTC-4, Mohammed El-Beltagy wrote: > > I use vim with julia-vim extension > https://github.com/JuliaLang/julia-vim > > On Monday, M

[julia-users] Citing Julia

2014-03-18 Thread Valentin Churavy
My colleagues and I are in the midst of finishing a research paper in which the code was mostly written in Julia. Since without Julia the work on it would have not been as much fun or as fast I would like to give credit where credit is due. Is there any publication one should cite when using ju

[julia-users] Re: Citing Julia

2014-03-19 Thread Valentin Churavy
. mars 2014 skrev Valentin Churavy følgende: >> >> My colleagues and I are in the midst of finishing a research paper in >> which the code was mostly written in Julia. Since without Julia the work on >> it would have not been as much fun or as fast I would like to give

Re: [julia-users] Re: Citing Julia

2014-03-19 Thread Valentin Churavy
orking on. I'm always interested in what > other people are up to. > > Best, > Jake > > > On Wednesday, March 19, 2014 10:58:50 AM UTC-4, Valentin Churavy wrote: >> >> Thanks I totally didn't see that :). >> >> I will definitely cite the first p

[julia-users] isready() blocking when process is busy

2014-03-20 Thread Valentin Churavy
So isready() seems to block if the process the RemoteRef is on is busy. On the REPL addprocs(1) @everywhere function test() i = 0 while true i += 1 end return i end rref = @spawn test() isready(rref) # <- blocking What I would have expected is that it is evaluating to

[julia-users] Re: How can I create a simple Graph using Graphs.jl?

2014-06-02 Thread Valentin Churavy
:) I first saw your post on SO and answered it there and afterwards I stumbled upon it on the mailing list. I gave pretty much the same answer Alex provided above. Best Valentin aka wallnuss On Sunday, 1 June 2014 20:12:39 UTC+2, Alex wrote: > > Glad it helped. I am not active on stackoverflow

[julia-users] Async callbacks

2014-06-10 Thread Valentin Churavy
Hey there, I am trying to create an asynchronous thread-safe callback following the guidelines here http://julia.readthedocs.org/en/latest/manual/calling-c-and-fortran-code/#thread-safety Trying to do one thing after another I tried to manually call my callback via the thread safe and asynch

Re: [julia-users] Re: Async callbacks

2014-06-10 Thread Valentin Churavy
ou are using an > 0.3 snapshot then you need to change your cb function so that it only takes > one argument, data --- the status argument was eliminated. > > > On Tuesday, June 10, 2014 1:55:56 PM UTC-4, Valentin Churavy wrote: >> >> Hey there, >> >> I am tr