You're welcome. Compiling multiple architectures into the same sys.so is a
very interesting question - that's not possible right now, not easily, as
far as I'm aware. But it would be interesting to take a page out of what
OpenBLAS does and set up something similar, both for the pre-compiled
Hi guys,
I would like to include a couple of .png images in a notebook with IJulia -
what is the simplest way of doing that? On one hand there is the ImageView
package, but that seems to be geared towards the terminal? Perhaps I can
include them directly in a markdown cell?
ty,
A
If you're using the Images package, any image whose output you don't suppress
with a semicolon just gets shown automatically.
--Tim
On Sunday, July 20, 2014 01:26:58 AM Andrei Berceanu wrote:
Hi guys,
I would like to include a couple of .png images in a notebook with IJulia -
what is the
If you're interested, PEGParser includes a lisp grammar in the examples
section. The transform converts to Julia expressions, but that can easily be
changed.
Thanks, that's interesting.
This project is aimed at people who want to implement every detail detail
of a simple lisp themself, but it would be interesting to compare with
other ways to do it.
On Sunday, July 20, 2014 7:25:57 AM UTC-6, Abe Schneider wrote:
If you're interested, PEGParser
I'm writing some polyphase resampling
http://nbviewer.ipython.org/github/jaykickliter/Notebooks/blob/master/Polyphase.ipynb
code. Sometimes there are symmetries that cut down on the number of
required multiplies. I'm still learning how to use Julia's metaprogramming
facilities, but assuming
Recently I found that my application spends ~65% of time in garbage
collector. I'm looking for ways to reduce amount of memory produced by
intermediate results.
For example, I found that A * B may be changed to A_mul_B!(out, A, B)
that uses preallocated out buffer and thus almost eliminates
Have you considered using type parameters to indicate the symmetry of the
filter object? That would allow you to use multiple dispatch to make a
separate method for each kind of symmetry.
-- Leah
On Sun, Jul 20, 2014 at 10:03 AM, Jay Kickliter jay.kickli...@gmail.com
wrote:
I'm writing some
Dahua Lin's post at http://julialang.org/blog/2013/09/fast-numeric/
might be helpful.
On Sunday, July 20, 2014 11:41:19 AM UTC-4, Andrei Zh wrote:
Recently I found that my application spends ~65% of time in garbage
collector. I'm looking for ways to reduce amount of memory produced by
in C it is possible to use statements like
double a, b, c, d, e, f, g ;
rather than
double a;
double b;
...
double g;
I frequently find the former notation more convenient than the latter, is
there anyway to replicate it in Julia? Specifically, I want to avoid typing
something like this.
Something that perhaps has something to do with this. I get this error most
times when opening a new ImageView window:
'ErrorException(getgc: Canvas is not drawable)'
So I make a while loop with try for the image view, until it appears. The
code is like this:
appeared = false
while !appeared
On Saturday, July 19, 2014 8:52:11 PM UTC-4, James Delaney wrote:
Since I also agree that Monte Carlo in parallel seems like it is
unavoidably distributed, you should require each process to work on
non-overlapping substreams of the same stream. I wonder (mainly for my own
purposes) if
This is my first question in this group, maybe it is silly, but:
In Julia 2.1.0, comprehensions create new variable bindings on each
iteration.
This is explained as a new behavior in this example:
https://github.com/JuliaLang/julia/blob/master/NEWS.md#new-language-features-1
But, in recent
Sorry, I've did it wrong the first time, the second attempt. Seems like the
behavior of comprehensions in 0.3.0-rc1 was changed (compared to stable
0.2.1), and changed in a wrong way. The expected behavior is documented
here:
Please see https://github.com/JuliaStats/MLBase.jl/blob/master/NEWS.md for
recent updates.
Also the documentation is moved from Readme to a Sphinx doc
http://mlbasejl.readthedocs.org/en/latest/
Now we already have quite a few packages for various machine learning tasks:
MLBase.jl
Sparse matrices in Julia are to my understanding stored as compressed
sparse columns. So it is very easy to get the nonzero elements for a given
column, but not so easy for rows.
To get the indices of nonzeros rows for column 'c' in sparse matrix M, one
can use (at least in the current
I don't think it is supported out of the box, but you can achieve that with
a macro.
julia macro as(Typ, names...)
res = quote end
for n in names
push!(res.args, Expr(:(::), n, Typ))
end
res
end
julia type Foo
@as
I have got the following error whenever I try to run a Julia Script with
the editor LightTable:
Couldn't connect to Julia
ERROR: REPLCompletions not defined
in anonymous at no file
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in include at boot.jl:238
in
Can you post the contents of your user behaviors file? You can get to it
via ctrl+space and then typing user behaviors, you should see an option
to edit them. You have to specify the path to julia there, or have it on
your path. More details can be found
at
Bug filed: https://github.com/JuliaLang/julia/issues/7679
On Sunday, July 20, 2014 6:08:46 PM UTC-4, Keno Fischer wrote:
I don't recall that being changed again intentionally.
On Sun, Jul 20, 2014 at 2:18 PM, Cyril Slobin cyril@gmail.com
javascript: wrote:
Sorry, I've did it wrong
Simon filed an issue: https://github.com/JuliaLang/julia/issues/7679.
Thanks for the report!
On Sunday, July 20, 2014 3:58:17 PM UTC-5, Cyril Slobin wrote:
This is my first question in this group, maybe it is silly, but:
In Julia 2.1.0, comprehensions create new variable bindings on each
Thank you @Joshua. That's what I got (I have followed the instructions of
the one-more-minute repo).
;; User behaviors
;; -
;; Behaviors are stored as a set of diffs that are merged together
;; to create the final set of functionality that makes up Light Table. You
can
It wasn't obvious to me initially why `sort` wasn't working for me (strings
and composite types). On further investigation it looks like that it only
works for single-dimension arrays -- which makes sense. However, if I type:
lst = [a b c]
sort(lst)
I get an error. The answer is that it's of
I've used abstract function types to something similar to what I think you
may be wanting. The following is a simple example of this method, which
hopefully may give you some ideas:
Firstly, say I have a model which has a value x and I wish to apply a
simulation function, which takes an argument
Thanks!! It solved my problem.
Einar
On Friday, July 18, 2014 1:38:11 AM UTC+2, Ivar Nesje wrote:
Bigger than memory smells of mmap_array
http://docs.julialang.org/en/latest/stdlib/base/#Base.mmap_array
25 matches
Mail list logo