[julia-users] Re: Why was pipeline symbol deprecated?

2016-01-17 Thread Wilton Basse
On Sunday, January 17, 2016 at 8:16:11 PM UTC-6, Wilton Basse wrote: > > Why was the pipeline symbol |> changed to pipeline() ? Not objecting, > just trying to learn. Thanks! > The reason I ask is, run(`dofoo` |> `dobar` |> `dosomethingelse` |> "myfile.txt ") seems much easier than run(

Re: [julia-users] Re: Why was pipeline symbol deprecated?

2016-01-17 Thread Kevin Squire
I don't have an answer, but there's a long chain of discussion at https://github.com/JuliaLang/julia/pull/14476 that might shed some light. Cheers, Kevin On Sun, Jan 17, 2016 at 8:19 PM, Wilton Basse wrote: > > > On Sunday, January 17, 2016 at 8:16:11 PM UTC-6,

[julia-users] Importing Package and not running external code.

2016-01-17 Thread vishesh
In python, you can do if name == '__main__' to preface code that should only be run when this module is DIRECTLY called as the entry point. In julia, I tried replicating this (a la some other post in this group) as module M export f function f(x) 2x end end if length(ARGS) > 0 && ARGS[1]

[julia-users] Re: Expression object for "unquote"

2016-01-17 Thread vishesh
Update, it seems like the unquote expressions are actually correct, in that they evaluate to the right thing. However, that's some ugly printing. If I write :(:($x)) why does it look so messy? Why can't the printer outptut :(:($x)) as the representation of itself? This seems contrary to many

[julia-users] Re: Why was pipeline symbol deprecated?

2016-01-17 Thread elextr
On Monday, January 18, 2016 at 2:20:41 PM UTC+10, Wilton Basse wrote: > > > > On Sunday, January 17, 2016 at 8:16:11 PM UTC-6, Wilton Basse wrote: >> >> Why was the pipeline symbol |> changed to pipeline() ? Not objecting, >> just trying to learn. Thanks! >> > > The reason I ask is, > >

Re: [julia-users] Asynchronous Escher

2016-01-17 Thread Leonardo
Many thanks, but I cannot run examples based on Gadfly or Compose (like this one) for precompilation errors (in this example Patchwork cache creates some problem loading Compose) Leonardo Il 17/01/2016 17:42, Shashi Gowda ha scritto: The monte carlo example does something like this:

[julia-users] Re: Bio package - open function error

2016-01-17 Thread St Elmo Wilken
Thanks! On Sunday, January 17, 2016 at 4:49:23 AM UTC-8, Kenta Sato wrote: > > Hi, Elmo, > > Thank you for using our Bio.jl package. > > I guess that is because you didn't run `using Bio.Seq` before opening a > FASTA file. Types and functions related to biological sequences are defined > in

Re: [julia-users] Using Dot Syntax in Julia

2016-01-17 Thread Steve Kelly
It has always been this way because of multiple dispatch. However you can do something like: type Wallet dotTest::Function end Which might have ambiguous performance impact. On Jan 17, 2016 12:45 PM, "Bryan Rivera" wrote: > I have seen some code out in the wild that

Re: [julia-users] Cannot pull with rebase...?

2016-01-17 Thread Tony Kelman
That doesn't make much sense... How about ENV["HOMEPATH"] ? That should tell you where your pkg folder is. Find .julia/v0.4/METADATA there and run `git diff` to see what the local changes are. If you don't remember making them you can probably do `git checkout -- filename` to undo all of them.

[julia-users] Re: Project ideas in julia

2016-01-17 Thread Patrick Kofod Mogensen
What do you study? On Sunday, January 17, 2016 at 8:47:05 PM UTC+1, noufal n wrote: > > I'm a student and i wish to study and contribute to julia community. As a > part my professional degree i like to do a project in julia. Need > suggestions >

[julia-users] Project ideas in julia

2016-01-17 Thread noufal n
I'm a student and i wish to study and contribute to julia community. As a part my professional degree i like to do a project in julia. Need suggestions

[julia-users] Simultaneous audio playback / recording.

2016-01-17 Thread CrocoDuck O'Ducks
Hi there! I have a number MATLAB scripts that I use for electro-acoustic measurements (mainly impulse responses) and I would like to port them to JULIA. I also written the data acquisition in MATLAB. It works by streaming the test signal to the soundcard outputs while recording from the

[julia-users] Re: Simultaneous audio playback / recording.

2016-01-17 Thread STAR0SS
When dealing with small packages you often need to look at the code, because the documentation is sometimes lacking. AudioIO.jl uses the C library PortAudio, so in theory anything that can be done with PortAudio can be done in Julia, you need to have the right wrappers for the C functions. It

[julia-users] Re: Building Julia from v0.5 master on Raspberry Pi 2, after LLVM 3.7.1 merge

2016-01-17 Thread Scott Jones
Thanks! I was finally able to build LLVM, with the setting JULIA_CPU_TARGET=cortex-a7, however, the build was still not able to complete, because libgit2 would not build (due to some problem with the openssl library, which is installed, but for some reason the cmake doesn't find correctly) I

[julia-users] Why was pipeline symbol deprecated?

2016-01-17 Thread Wilton Basse
Why was the pipeline symbol |> changed to pipeline() ? Not objecting, just trying to learn. Thanks!

[julia-users] Re: Bio package - open function error

2016-01-17 Thread Kenta Sato
Hi, Elmo, Thank you for using our Bio.jl package. I guess that is because you didn't run `using Bio.Seq` before opening a FASTA file. Types and functions related to biological sequences are defined in the`Bio.Seq` module, not `Bio`. And, you don't have to install neither Colm nor Ragel in

[julia-users] Re: Make Julia package requirements depends on Julia version?

2016-01-17 Thread Oliver Schulz
Thanks, Tony! I'll just keep BaseTestNext in REQUIRE, then. Might be a useful feature for the future though, on occasion, to be able to mark a line in REQUIRE Julia-version dependent. Cheers, Oliver On Saturday, January 16, 2016 at 3:42:01 PM UTC+1, Tony Kelman wrote: > > Not easily. I think

[julia-users] Asynchronous Escher

2016-01-17 Thread Leonardo
Hi all, how can I build a (simple) Web-UI that must wait for long-running computation in Escher? Or (after a long computation), how can I generate asynchrounously a signal that "wake up" a web page rendered by Escher? Many thanks in advance Leonardo

[julia-users] Building Julia from v0.5 master on Raspberry Pi 2, after LLVM 3.7.1 merge

2016-01-17 Thread Lutfullah Tomak
I was able to build with 'make MARCH=native' on my phone using 'GNURoot debian' app for arm architecture with all dependencies. Maybe just cross-compile instead since LLVM takes long hours to build in some distributions.

Re: [julia-users] Asynchronous Escher

2016-01-17 Thread Shashi Gowda
The monte carlo example does something like this: https://github.com/shashi/Escher.jl/blob/master/examples/mc.jl See specifically these lines https://github.com/shashi/Escher.jl/blob/master/examples/mc.jl#L24-L40 may give you a template for your own code. On Sun, Jan 17, 2016 at 9:20 PM,

[julia-users] Re: Curious behavior

2016-01-17 Thread Bryan Rivera
Looks to me like the compiler is smart enough to see there is no use for blah, and therefore removes it from final output.

[julia-users] Using Dot Syntax in Julia

2016-01-17 Thread Bryan Rivera
I have seen some code out in the wild that allows us to use dot syntax like so: function dotTest!(wallet::Wallet, valueToAdd::Int): ... end wallet = Wallet(100) wallet.dotTest!(5) # Does not work dotTest!(wallet, 5) # Works However I cannot get it to work, the method is not found