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 ot
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] ==
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,
>
> run(`d
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, Wilton Basse wrote:
>>
>> Why
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( pi
Why was the pipeline symbol |> changed to pipeline() ? Not objecting, just
trying to learn. Thanks!
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 ha
Oliver,
Its definitely safe to have it on 0.4. Are you putting it in /REQUIRE or
/test/REQUIRE? You probably want to put it in the latter. (Apologies if I'm
telling you something you already know!)
On Sunday, January 17, 2016 at 8:04:59 AM UTC-5, Oliver Schulz wrote:
>
> Thanks, Tony!
>
> I'll
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.
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 se
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
>
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
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 soundca
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 the`
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:
https://
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 allows us to use dot synta
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 becau
Looks to me like the compiler is smart enough to see there is no use for
blah, and therefore removes it from final output.
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, 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
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.
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
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 order
23 matches
Mail list logo