[julia-users] Julia SQL

2016-05-08 Thread Tero Frondelius
Maybe this thread is relevant: https://groups.google.com/forum/m/#!topic/julia-users/QjxiCO-Lv-0

[julia-users] Re: raytracing in julia

2016-03-31 Thread Tero Frondelius
See Cxx.jl for C++ wrapping https://github.com/Keno/Cxx.jl/blob/master/README.md

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

2016-02-03 Thread Tero Frondelius
You haven't figured out the basic concept. Start reading here: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html Basically all those -lsomethings are libgsl.so, libm.so etc. Now you will need to make your main program and link it against your libEx.so with -lEx in the linking

[julia-users] Has module pre-compilation has been back-ported to Julia 0.3.11?

2016-01-30 Thread Tero Frondelius
Do you mind me asking: why would you need an old version of Julia?

Re: [julia-users] Re: How to organise (float) data in Julia?

2016-01-02 Thread Tero Frondelius
Hi You should update the documentation to be clearer, thus others wouldn't have to struggle with the same misunderstanding in the future.

Re: [julia-users] Type mismatch: MethodError, !Matched::Int64, etc...

2016-01-02 Thread Tero Frondelius
Hi You should update the documentation to be clearer, thus others wouldn't have to struggle with the same misunderstanding in the future.

[julia-users] Re: Array view without a single element

2015-12-21 Thread Tero Frondelius
Hi Can you use a macro to produce your twenty nested loops?

[julia-users] Re: Using .ji files

2015-12-12 Thread Tero Frondelius
http://docs.julialang.org/en/release-0.4/manual/getting-started/ On Saturday, December 12, 2015 at 6:35:42 PM UTC+2, Leonardo wrote: > > Hello, > How can I create .ji files and execute with julia executable? > > I've compiled in native code a simple program (with BuildExecutable package), > but

[julia-users] Re: Using .ji files

2015-12-12 Thread Tero Frondelius
Namely: julia [switches] -- [programfile] [args...] --output-ji name Generate a system image data file (.ji) On Saturday, December 12, 2015 at 8:37:29 PM UTC+2, Tero Frondelius wrote: > > http://docs.julialang.org/en/release-0.4/manual/getting-started/ > > > On Saturd

[julia-users] Re: Avoiding building LLVM with ever Julia release

2015-10-14 Thread Tero Frondelius
git clone https://github.com/JuliaLang/julia.git cd julia make after update in julia folder: git fetch git branch v0.4.1 make Maybe some fine tuning in commands, but basically drop the method of downloading tar and start using git. On Wednesday, October 14, 2015 at 5:21:36 PM UTC+3,

Re: [julia-users] Re: Crowdsourced Julia development

2015-09-25 Thread Tero Frondelius
I don't know, if I made the right conclusion, but it looks like this guy made 27 k$ in a month: https://www.bountysource.com/people/34958-arigo On Friday, September 25, 2015 at 7:55:16 PM UTC+3, Stefan Karpinski wrote: > > Is anyone aware of success stories from open source bounties? Or bad >

Re: [julia-users] Re: [ANN] Conda.jl: using conda package manager for Julia

2015-09-03 Thread Tero Frondelius
I think you answered yourself. As an Anaconda user I will type: conda install X and after this the X starts working even with the open Jupyter notebook by just importing the X. Now when you just look the https://github.com/JuliaLang/pyjulia/blob/master/README.md

Re: [julia-users] Re: [ANN] Conda.jl: using conda package manager for Julia

2015-09-03 Thread Tero Frondelius
> currently have for the Julia parts to be worth the maintenance effort of > setting everything up as conda packages (and keeping them all updated)? > > > On Thursday, September 3, 2015 at 11:32:00 AM UTC-7, Tero Frondelius wrote: >> >> I think you answered yourself. As an A

Re: [julia-users] Extra '\n' char while creating a string spaning over two lines

2015-08-26 Thread Tero Frondelius
Maybe the trivial solution is the best solution here: julia string = some text here some text here julia string = string * some more text here some text here some more text here julia On Thursday, August 27, 2015 at 2:36:17 AM UTC+3, J Luis wrote: \e is the shorthand for typing the

[julia-users] Re: IDE for Julia

2015-08-26 Thread Tero Frondelius
From here: http://julialang.org/downloads/ http://julialang.org/downloads/ - The Juno http://www.junolab.org/ integrated development environment (IDE). http://www.junolab.org/ On Thursday, August 27, 2015 at 6:12:22 AM UTC+3, Deb Midya wrote: Hi, Thanks in advance. I am new to

[julia-users] incrementing counter in a function

2015-08-22 Thread Tero Frondelius
Why testvariable is not incremented? function incrementvariable(numb) numb += 1 end function testing() global testvariable = 0 for i = 1:3 incrementvariable(Ptr{testvariable}) end println(testvariable) end Or actually what should I change to get the testvariable

Re: [julia-users] incrementing counter in a function

2015-08-22 Thread Tero Frondelius
, 2015 at 2:49 PM, Tero Frondelius tero.fr...@gmail.com javascript: wrote: Why testvariable is not incremented? function incrementvariable(numb) numb += 1 end function testing() global testvariable = 0 for i = 1:3 incrementvariable(Ptr{testvariable

[julia-users] Re: Recommended Hardware Setup for Simulations such as magnetic fields, fluid simulations of fire dynamics

2015-08-16 Thread Tero Frondelius
We are starting https://github.com/JuliaFEM/JuliaFEM.jl currently no answers to your questions. Although at work we use significantly more computing resources for combustion simulations. I propose that you will look the commercial software hardware recommendations as a starting point. On

Re: [julia-users] ANN: unroll macro

2015-08-09 Thread Tero Frondelius
It seems that the package runtests.jl will give you the answer: julia Pkg.test(Unroll) INFO: Testing Unroll TIMING TEST FOR SINGLE UNROLL no unrolling: 969.406 milliseconds (9523 allocations: 207 MB, 7.77% gc time) hand unrolled: 730.370 milliseconds (8170 allocations: 207 MB, 8.60% gc time)

[julia-users] Re: Errors while trying to use cxx and embed Julia together

2015-08-01 Thread Tero Frondelius
I don't know if this helps, but we have been also learning the basics of Cxx. See here @ovainola implementation of a simple library: https://github.com/JuliaFEM/MiniBall.jl/blob/master/src/MiniBall.jl On Saturday, August 1, 2015 at 5:00:41 PM UTC+3, Kostas Tavlaridis-Gyparakis wrote: Hello

[julia-users] Re: DOWNLOADING JUNO THROUGH LIGHT TABLE. PLEASE HELP!!!

2015-08-01 Thread Tero Frondelius
I don't know, if this helps, but I just downloaded Juno from here: http://junolab.org/docs/install.html On Saturday, August 1, 2015 at 3:56:13 AM UTC+3, Vuyo Majila wrote: Hi i followed all the steps required for downloading juno through light table. However, Juno doesn't appear under plug

[julia-users] Re: Syntax Highlighting in Vim

2015-07-30 Thread Tero Frondelius
If you are new to Vim, you might also want to consider Juno http://junolab.org/. On Sunday, December 15, 2013 at 9:18:21 AM UTC+2, Thomas Moore wrote: I recently installed Ubuntu 12.04, and from there installed Julia through githib. Now, when I open a .jl file in Vim, it seems there's some

[julia-users] Re: should using a pkg sub-module as the package loads work?

2015-07-25 Thread Tero Frondelius
Maybe it's otherwise ok, just remove using SubModule. I assume that your src/file2.jl defines the SubModule and when you include it you don't have to write using SubModule at all. Or I just misunderstood your question. On Saturday, July 25, 2015 at 4:45:29 PM UTC+3, Jeffrey Sarnoff wrote:

Re: [julia-users] Printf() of a variable number of arguments

2015-07-23 Thread Tero Frondelius
formatted output as string. julia s = @sprintf this is a %s test this is a test julia println(s) this is a test That is because `@sprintf` returns a string which you haven't printed. El miércoles, 22 de julio de 2015, 23:31:36 (UTC-5), Tero Frondelius escribió: Thanks. My real error

Re: [julia-users] Printf() of a variable number of arguments

2015-07-23 Thread Tero Frondelius
82089.565630 48240.227962 80307.529256 62870.334927 78309.327456 63086.608038 86144.524017 julia But this can be done with anormal function. El miércoles, 22 de julio de 2015, 13:37:28 (UTC-5), Tero Frondelius escribió: I'm trying to learn macros. Can you help me to get this working

Re: [julia-users] Printf() of a variable number of arguments

2015-07-22 Thread Tero Frondelius
I'm trying to learn macros. Can you help me to get this working? Currently the error is that arr is not defined. Probably an obvious mistake, but I just don't get hang of it. macro Write(arr) @eval begin for i in arr @sprintf(%12.6f\n,i) end end end a =

Re: [julia-users] Printf() of a variable number of arguments

2015-07-22 Thread Tero Frondelius
62870.334927 78309.327456 63086.608038 86144.524017 julia But this can be done with anormal function. El miércoles, 22 de julio de 2015, 13:37:28 (UTC-5), Tero Frondelius escribió: I'm trying to learn macros. Can you help me to get this working? Currently the error is that arr

[julia-users] Re: How rotate a cube f1 to its edges are parallel to another cube (f2) ?

2015-07-06 Thread Tero Frondelius
Maybe this package will help: https://github.com/timholy/AffineTransforms.jl On Saturday, July 4, 2015 at 1:40:34 PM UTC+3, paul analyst wrote: How rotate a cube f1 to its edges are parallel to another cube (f2) ? I have two 3 dimensional orthogonal sets of the 1444 observation in each.