[julia-users] Re: Cxx.jl: Creating a templated class

2016-07-06 Thread Jan Strube
Is this in any way related to https://github.com/Keno/Cxx.jl/issues/212 ? Any pointer what this means? ERROR: LoadError: Creating LLVM constants for type `T` not implemented yet On Monday, July 4, 2016 at 10:09:34 PM UTC-7, Jan Strube wrote: > > What's the right way to create a templated class

Re: [julia-users] list kw args

2016-07-06 Thread Leonardo
Thanks, I've found function: kwarg_decl(sig::ANY, kwtype::DataType) in develop version (not stable version 0.4.6) But I cannot understand (also following code flow) what is kwtype parameter and how kwarg_decl can be called. And finally, can this code run on current stable version? Many

[julia-users] Pkg "threadsafe" or interprocess mutex package

2016-07-06 Thread David Anthoff
Hi, I have a script that is using some packages. The script is set up such that if the package it is trying to use is not installed, it will do a ``Pkg.add`` to add the package before ``using`` it. This script is triggered by a third process, and it might be triggered multiple times

Re: [julia-users] R code to Julia Performance issues with pmap

2016-07-06 Thread Michael Krabbe Borregaard
Ah, forgot that the system.time is a bit tricky when running parallel cores

[julia-users] Re: Julia community stewards

2016-07-06 Thread Jameson
I have +o privileges on IRC. I'm (almost) never on, but I can give ops if you PM me and have an account registered with NickServ. On Tuesday, July 5, 2016 at 9:48:07 AM UTC-4, Chris Rackauckas wrote: > > I think in general we need some active mods for IRC/Gitter. Some people > with the ability

[julia-users] Re: How to fix writemime deprecation?

2016-07-06 Thread Jameson
Correct. This still needs a doc update (I added #16763 to the v0.5.x milestone). The two-argument form `show(io, x)` should produce a concise, single line description that formats reasonably into any unknown context. The three-argument mime-format aware version `show(io, mime, x)` can be

Re: [julia-users] R code to Julia Performance issues with pmap

2016-07-06 Thread jascisen
This is not entirely true in R: Details: ‘proc.time’ returns five elements for backwards compatibility, but its ‘print’ method prints a named vector of length 3. The first two entries are the total user and system CPU times of the current R process and any child processes on

Re: [julia-users] R code to Julia Performance issues with pmap

2016-07-06 Thread Michael Borregaard
I am not seeing your speed-up in R? elapsed is less time, but user significantly more, and it is the sum that counts. When executing in parallel the language needs to copy the data to the workers. If the matrices are large, that takes longer than the speedup of the parallel execution. See what

Re: [julia-users] Re: MYSQL/MARIADB Big INSERT

2016-07-06 Thread Páll Haraldsson
On þri 5.júl 2016 23:49, Andrey Stepnov wrote: Hi Palli! Thanks for reply. Here is code with transactions example: || |mysql_query(con, "SET autocommit = 0") Generally you do not have to change this, rely on the default setting of the database(?). mysql_query(con, "START

Re: [julia-users] More on Macros

2016-07-06 Thread Isaiah Norton
No worries; if you are missing S-expressions too much, you might enjoy playing with https://github.com/swadey/LispSyntax.jl On Wed, Jul 6, 2016 at 12:41 AM, Rangarajan Krishnamoorthy < ranga@gmail.com> wrote: > That was very helpful. Thanks for your patience. > > -Rangarajan > > > On

Re: [julia-users] list kw args

2016-07-06 Thread Isaiah Norton
The implementation is not trivial to follow, but have a look at `kwarg_decl` in `base/methodshow.jl`. This might be a reasonable thing to have as a helper function, if you want to open a GitHub issue to discuss. (Be warned: you will pay a severe performance penalty if you try to use reflection

Re: [julia-users] R code to Julia Performance issues with pmap

2016-07-06 Thread jascisen
Yes, but I am not using BLAS or FFT transforms so it si a bit surprising that I am not getting any speed improvements On Wednesday, July 6, 2016 at 2:17:49 AM UTC+2, Stefan Karpinski wrote: > > Similar question and answer: >

Re: [julia-users] Re: Master list of constants

2016-07-06 Thread Waldir Pimenta
While we're at it: since all constants in that list are represented by their symbols, with the names serving as aliases, would it be a good idea to define Catalan's constant using the G symbol? If that's too common a character which we

[julia-users] Advice for parallel computing

2016-07-06 Thread Dupont
Hi, I have an array of composite type A = Array{MyType}(N) that have been initialized somewhere else. Currently, I am doing this operation for i=1:N doit!(A[i]) end I would like to perform this operation in parallel (threads if possible on a single computer) but SharedArray does not

[julia-users] JuliaCon 2016 Escher.jl examples

2016-07-06 Thread Jānis Erdmanis
Hello everybody, I am impressed by a recent Escher.jl JuliaCon presentation - youtube . I would like to try and tinker on these talk codes myself, is it possible now?

[julia-users] JuliaCon 2016 Escher.jl examples

2016-07-06 Thread Jānis Erdmanis
Hello everybody, I am impressed by a recent Escher.jl JuliaCon presentation - youtube . I would like to try and tinker on these talk codes myself, is it possible now?