[julia-users] Re: BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-09 Thread Femto Trader
I'm doing provides(BuildProcess, Autotools(libtarget = "libta_lib", configure_options=["--prefix=/usr"]), libta_lib, os = :Unix) Is --prefix=/usr "local prefix" or a "system-wide" prefix ? If it's a system-wide prefix... how to use a local prefix ? Sorry for my newbies questions about

[julia-users] Re: BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-08 Thread Femto Trader
I tried provides(Sources, URI("http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz;), libta_lib, unpacked_dir="ta-lib") Thanks Tony, it helps me... but I'm still facing build error with Linux and BinDeps (contrary to a simple bash script with ./configure --prefix=/usr make sudo

[julia-users] BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-08 Thread Femto Trader
Hello, I'm new to BinDeps. I use it in https://github.com/femtotrader/TALib.jl to be able to download / build / install TA-Lib http://ta-lib.org/ I'm able to install this library using OS X and Homebrew without problem see https://travis-ci.org/femtotrader/TALib.jl/jobs/166091755 but with

[julia-users] Re: Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Femto Trader
Thanks all for your kind answers Le samedi 8 octobre 2016 12:23:00 UTC+2, Femto Trader a écrit : > > Hello, > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under VirtualBox) > that have Julia 0.5.0 support (out of

[julia-users] Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Femto Trader
Hello, my main development environment is under Mac OS X but I'm looking for a Linux distribution (that I will run under VirtualBox) that have Julia 0.5.0 support (out of the box) Even Debian Sid is 0.4.7 (October 8th, 2016) https://packages.debian.org/fr/sid/julia So what Linux distribution

[julia-users] Re: LZMA decompression with Julia

2016-09-18 Thread Femto Trader
I'm still blocked https://github.com/yuyichao/LibArchive.jl/issues/2 Any help is welcome. Le samedi 17 septembre 2016 18:54:48 UTC+2, Femto Trader a écrit : > > Thanks I will have a look > > Le samedi 17 septembre 2016 16:18:34 UTC+2, Tony Kelman a écrit : >> >> Your be

Re: [julia-users] Read a stuctured binary file with big endian unsigned integers (4 bytes) and big endian floats (4 bytes)

2016-09-18 Thread Femto Trader
dimanche 18 septembre 2016 15:00:03 UTC+2, Tim Holy a écrit : > > See ntoh and hton. Perhaps even better, see StrPack.jl. > > --Tim > > On Sunday, September 18, 2016 1:13:43 AM CDT Femto Trader wrote: > > Hello, > > > > I'd like to read this file > > htt

[julia-users] Read a stuctured binary file with big endian unsigned integers (4 bytes) and big endian floats (4 bytes)

2016-09-18 Thread Femto Trader
Hello, I'd like to read this file http://www.dukascopy.com/datafeed/EURUSD/2016/02/14/20h_ticks.bi5 using Julia. It's a LZMA compressed file. I can decompressed it using cp 20h_ticks.bi5 20h_ticks.xz xz --decompress --format=lzma 20h_ticks.xz Now, I have a 20h_ticks binary file. It's a

[julia-users] Re: LZMA decompression with Julia

2016-09-17 Thread Femto Trader
Thanks I will have a look Le samedi 17 septembre 2016 16:18:34 UTC+2, Tony Kelman a écrit : > > Your best bet is probably https://github.com/yuyichao/LibArchive.jl > > > On Saturday, September 17, 2016 at 7:14:56 AM UTC-7, Femto Trader wrote: >> >> Hello, >> >

[julia-users] LZMA decompression with Julia

2016-09-17 Thread Femto Trader
Hello, I'd like to read a LZMA compressed file with Julia. I haven't found such a library. Maybe I missed it ? Any help is welcome. Kind regards

[julia-users] Re: Any serious quant finance package for Julia?

2016-09-17 Thread Femto Trader
Hi guys, Not sure if we can consider this package as a "serious quant finance" one... but I wrote some month ago https://github.com/femtotrader/TALib.jl It's a Julia wrapper for TA-Lib (technical analysis library) Status is still "Work In Progress" Kind regards Le vendredi 11 septembre 2015

Re: [julia-users] Signal / slot (or publish-subscribe) libraries in Julia

2016-07-10 Thread Femto Trader
meters that affect the drawing > but > not trigger a redraw on each one. Sheer magic. > > Best, > --Tim > > On Friday, June 3, 2016 10:55:12 PM CDT Penn Taylor wrote: > > Femto Trader, > > > > I came up with a way to get emit to work the way you wanted: > > https://gist.github.com/penntaylor/a4dd1ed268b2401e54a72705954180c5 > > >

Re: [julia-users] Signal / slot (or publish-subscribe) libraries in Julia

2016-06-02 Thread Femto Trader
Thanks Penn... Here is my implementation on top of Reactive That I post also https://github.com/JuliaLang/Reactive.jl/issues/99 using Reactive Signal() = Reactive.Signal(Bool, false) typealias Slot Function function emit(signal::Reactive.Signal, args...; kwargs...) push!(signal,

[julia-users] Context manager and Julia (with...)

2016-06-01 Thread Femto Trader
Hello, Python have a nice concept called "context manager" (see "with" statement) http://book.pythontips.com/en/latest/context_managers.html With this concept it's quite easy to open a file without having to close it. Yattag, for example, use this concept to create XML files. You just need to use

[julia-users] Re: Access attribute (field) using symbol (or string)

2016-05-31 Thread Femto Trader
I got it getfield(v, :x) Sorry Le mardi 31 mai 2016 20:54:02 UTC+2, Femto Trader a écrit : > > Hello, > > I have a type like > > type V > x::Float64 > y::Float64 > z::Float64 > end > > v = V(1.0,2.0,3.0) > > I read on http://docs.julia

[julia-users] Access attribute (field) using symbol (or string)

2016-05-31 Thread Femto Trader
Hello, I have a type like type V x::Float64 y::Float64 z::Float64 end v = V(1.0,2.0,3.0) I read on http://docs.julialang.org/en/release-0.4/devdocs/reflection/ that fieldnames(v) returns attributes of v as symbol I would like to access to field x using either :x symbol (or "x"

Re: [julia-users] Signal / slot (or publish-subscribe) libraries in Julia

2016-05-31 Thread Femto Trader
Here is my very basic implementation #= A very basic signal / slot library Usage: function myslot01(args...; kwargs...) println("myslot01 with $args and $kwargs") end function myslot02(args...; kwargs...) println("myslot02 with $args and $kwargs") end function myslot03(a,b; x=-1,

[julia-users] Re: Does anyone use BBEditTextWrangler-julia.plist?

2016-05-31 Thread Femto Trader
I use it !!! Le mardi 31 mai 2016 16:49:20 UTC+2, Tony Kelman a écrit : > > Agreed, but that can wait until someone wants to resurrect it and use it. > If such a person comes upon this thread some time in the future, the > removal PR was https://github.com/JuliaLang/julia/pull/16637, and you

Re: [julia-users] keyword arguments and anonymous function - ERROR: syntax: "begin args... kwargs... end" is not a valid function argument name

2016-05-31 Thread Femto Trader
mardi 31 mai 2016 09:49:38 UTC+2, Mauro a écrit : > > This works on 0.5, where anonymous functions are almost like normal > functions now. > > On Tue, 2016-05-31 at 09:26, Femto Trader <femto@gmail.com > > wrote: > > Hello, > > > >

[julia-users] keyword arguments and anonymous function - ERROR: syntax: "begin args... kwargs... end" is not a valid function argument name

2016-05-31 Thread Femto Trader
Hello, I'm trying to define an anonymous function julia> (args...) -> begin println("hello anonymous func with args") end (anonymous function) works correctly A "classic" with keywords arguments can be define using julia> function f(args...; kwargs...)

Re: [julia-users] Signal / slot (or publish-subscribe) libraries in Julia

2016-05-29 Thread Femto Trader
e lundi 30 mai 2016 01:45:12 UTC+2, Jacob Quinn a écrit : > > ZMQ.jl? Or maybe you don't need something socket based. > > -Jacob > > On Sun, May 29, 2016 at 1:25 PM, Femto Trader <femto@gmail.com > > wrote: > >> Hello, >> >> I'm looking for a Juli

[julia-users] Signal / slot (or publish-subscribe) libraries in Julia

2016-05-29 Thread Femto Trader
Hello, I'm looking for a Julia library which implements one of these design pattern: - signal / slot - publish / subscribe Python have many libraries for this purpose for signal / slot signalslot https://github.com/Numergy/signalslot smokesignal https://github.com/shaunduncan/smokesignal