Re: [julia-users] How can I run this "raijin", fx auto trading program?

2016-11-05 Thread ぺぺぺぺ
I tryed but end up to look like under.. julia> raijin.jl arg1 arg2... ERROR: syntax: extra token "arg1" after end of expression 2016-11-06 13:40 GMT+09:00 Yichao Yu : > On Sun, Nov 6, 2016 at 12:32 AM, wrote: > > could not run it means I don't know how to run a script. Thank you for > your > >

Re: [julia-users] How can I run this "raijin", fx auto trading program?

2016-11-05 Thread Yichao Yu
On Sun, Nov 6, 2016 at 12:32 AM, wrote: > could not run it means I don't know how to run a script. Thank you for your > reply. http://docs.julialang.org/en/latest/manual/getting-started/?highlight=script > > 2016年11月6日日曜日 10時16分18秒 UTC+9 Yichao Yu: >> >> On Sat, Nov 5, 2016 at 6:49 AM, wrote:

Re: [julia-users] How can I run this "raijin", fx auto trading program?

2016-11-05 Thread pepepepe25250
could not run it means I don't know how to run a script. Thank you for your reply. 2016年11月6日日曜日 10時16分18秒 UTC+9 Yichao Yu: > > On Sat, Nov 5, 2016 at 6:49 AM, > > wrote: > > > > > > I found "raijin" in https://github.com/iuraiura/raijin > > I could download it and rewrite some parameters,

[julia-users] Re: Immutable type modification of SparseMatrixCSC

2016-11-05 Thread vavasis
Just to clarify, you don't actually need to allocate the memory for two large sparse matrices. You can change colptr, rowval, and nzval in place (as you have already done) and then create a new sparse matrix using these modified arrays. In this case, the arrays won't be copied over; instead t

Re: [julia-users] How can I run this "raijin", fx auto trading program?

2016-11-05 Thread Yichao Yu
On Sat, Nov 5, 2016 at 6:49 AM, wrote: > > > I found "raijin" in https://github.com/iuraiura/raijin > I could download it and rewrite some parameters, but I could not run it. > Could you help me? What do you mean by "you could not run it"? You don't know how to run a script? It raises an error

[julia-users] How can I run this "raijin", fx auto trading program?

2016-11-05 Thread pepepepe25250
I found "raijin" in https://github.com/iuraiura/raijin I could download it and rewrite some parameters, but I could not run it. Could you help me?

[julia-users] Re: Immutable type modification of SparseMatrixCSC

2016-11-05 Thread Corbin Foucart
I see. returning a new, smaller instance of the matrix was my temporary solution. Bummer that it's necessary... Is it really so strange to want to change the size of a Another alternative which occurs to me is to make some child class of SparseCSCMatrix with two more arrays, each with one elem

[julia-users] Re: Immutable type modification of SparseMatrixCSC

2016-11-05 Thread Jared Crean
When a type is immutable, that means you can't modify the data in the type. If a field of a type is mutable, a reference to it is stored in the type, and you cannot modify that reference. In the case of SparseMatrixCSC, that means you can't make A.colptr point to a different array, for exampl

Re: [julia-users] BigInt And Expression

2016-11-05 Thread Steven G. Johnson
On Saturday, November 5, 2016 at 10:31:24 AM UTC-4, Tamas Papp wrote: > > myexpression{T <: Integer}(a::T) = myexpression(convert(Int128, a)) myexpression(a::Integer) = ... is more concise and is equivalent.

[julia-users] Immutable type modification of SparseMatrixCSC

2016-11-05 Thread Corbin Foucart
The SparseMatrixCSC type is immutable, which I understand to mean that I must respect the types of the attributes of SparseMatrixCSC types, as well as not changing the attributes themselves. The following gives a loadError (type is immutable). I am confused that I can modify the colptr and row

Re: [julia-users] Where does Pkg.clone() put files?

2016-11-05 Thread Yichao Yu
On Sat, Nov 5, 2016 at 2:40 PM, Dean Schulze wrote: > I'm on Ubuntu 15. I can't find this answer anywhere. > Pkg.dir(), same as all other package operations.

[julia-users] Where does Pkg.clone() put files?

2016-11-05 Thread Dean Schulze
I'm on Ubuntu 15. I can't find this answer anywhere.

Re: [julia-users] BigInt And Expression

2016-11-05 Thread Andrey Stepnov
Tamas, thank you! Andrey On Sunday, November 6, 2016 at 1:31:24 AM UTC+11, Tamas Papp wrote: > > myexpression{T <: Integer}(a::T) = myexpression(convert(Int128, a)) > # You can also define for BigInt, depending on the range you will need > # for `a`. Order is important. > myexpression(a::Int12

Re: [julia-users] BigInt And Expression

2016-11-05 Thread Tamas Papp
myexpression{T <: Integer}(a::T) = myexpression(convert(Int128, a)) # You can also define for BigInt, depending on the range you will need # for `a`. Order is important. myexpression(a::Int128) = a*((a+12)*(a+24)*(a+36)*(a+48)) julia> myexpression(16140) 1103425489430061096960 On Sat, Nov 05 201

[julia-users] BigInt And Expression

2016-11-05 Thread Andrey Stepnov
Hi Community! Suppose we have the following code: a = 1 y = 0 t = false while t == false y = a*((a+12)*(a+24)*(a+36)*(a+48)) if mod(y,10^6) == 0 println(a) println(y) t = true end a += 1 end And the output will be: 16140 -3379154992512000

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

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

2016-11-05 Thread Robert DJ
I would love to get away from GG, but I can't seem to find a privacy policy/terms for the new Discourse forum. Is it the general Discourse privacy policy (https://www.discourse.org/privacy-policy/) that apply?

Re: [julia-users] using or import a specific package version

2016-11-05 Thread Steven G. Johnson
On Saturday, November 5, 2016 at 12:38:41 AM UTC-4, Tom Lee wrote: > > Project-local environments sounds like exactly what I am after. Great to > hear its being worked on. I guess we will need to wait until 0.6 for Pkg3? > No, you can do that now. insert!(LOAD_PATH, 1, mypath) insert!(Base.LOA

Re: [julia-users] Adding ZMQ fails on debian-strech ARM

2016-11-05 Thread Lutfullah Tomak
Thanks Yichao. I also found that there is an open issue https://github.com/JuliaLang/julia/issues/18816. On Saturday, November 5, 2016 at 3:04:25 PM UTC+3, Yichao Yu wrote: > > On Sat, Nov 5, 2016 at 3:55 AM, Lutfullah Tomak > wrote: > > 1)System libzmq fails because binary tarball(julia-0.5) f

Re: [julia-users] Adding ZMQ fails on debian-strech ARM

2016-11-05 Thread Yichao Yu
On Sat, Nov 5, 2016 at 3:55 AM, Lutfullah Tomak wrote: > 1)System libzmq fails because binary tarball(julia-0.5) from julialang.org > includes old libstdc++ shared library hence Pkg.build("ZMQ") fails. 2) I > tried to build julia-0.5 with the system's gcc (6.2) but build fails while > compiling

Re: [julia-users] Equivalance of SymbolNode in Julia-0.5

2016-11-05 Thread Yichao Yu
On Sat, Nov 5, 2016 at 2:12 AM, AStupidbear wrote: > Thanks. Though there are still confusing errors after replacing "SymbolNode" > to "Slot". As I said, simply replacing `SymbolNode` with `Slot` won't work.

[julia-users] Adding ZMQ fails on debian-strech ARM

2016-11-05 Thread Lutfullah Tomak
1)System libzmq fails because binary tarball(julia-0.5) from julialang.org includes old libstdc++ shared library hence Pkg.build("ZMQ") fails. 2) I tried to build julia-0.5 with the system's gcc (6.2) but build fails while compiling julia that says "target does not support ifunc". Are there ways

[julia-users] Re: entering an unicode symbol ?

2016-11-05 Thread Jeffrey Sarnoff
```julia u4DC0 = '\u4DC0' u4DC0 = '\U4DC0' ``` On Friday, November 4, 2016 at 8:01:57 AM UTC-4, Henri Girard wrote: > > Hi, > I want to enter a list of unicode like this one : > > U+4DC0 how to do it ? > regards > Henri > > > > >

[julia-users] Re: How to debug julia v0.5 code? Debug.jl is down, how to use Gallium.jl

2016-11-05 Thread Deniz Yuret
Hi, Does anybody know if it is possible to set several breakpoints, and whether there is a command to continue until the next breakpoint? deniz On Thursday, October 13, 2016 at 6:15:25 PM UTC+3, Florian Oswald wrote: > > hi, > > i usually used Debug.jl to debug code, which is great, but errors