When trying to Pkg.add(Cairo), the build process reliably fails - and
kills the runtime - with a segmentation fault, every time.
julia Pkg.add(Cairo)
INFO: Installing BinDeps v0.3.12
INFO: Installing Cairo v0.2.27
INFO: Installing Color v0.4.5
INFO: Installing Compat v0.4.4
INFO: Installing
I don't understand why you can't just use parentheses for this. A key
advantage is that if you edit it to put the break at a different place, or
decide to add/eliminate a break, the expression is still valid. This is not
true in, say, Matlab, where a statement like
x = 5 + ...3;
Oh, ok - let me restart.
On Saturday, May 30, 2015 at 10:29:50 AM UTC-7, Viral Shah wrote:
Yes, those steps are good. Could you leave out the JULIA_CPU_ARCH for now?
-viral
On 30-May-2015, at 10:56 pm, Seth catc...@bromberger.com javascript:
wrote:
Oh, also export
Did this only start today? I just tagged a new Cairo release; you could try
pinning an older one.
Otherwise, follow the usual issue-filing procedures. Useful info is here:
http://docs.julialang.org/en/latest/devdocs/backtraces/
no matter whether you decide to just report an issue or want to try
Oh, also export JULIA_CPU_ARCH=arm1176jzf-s. Build running now - will
report back in about 12 hours :)
On Saturday, May 30, 2015 at 10:24:15 AM UTC-7, Seth wrote:
On it. make distcleanall; git pull; make?
On Saturday, May 30, 2015 at 10:23:05 AM UTC-7, Viral Shah wrote:
Could you guys try
Ditto on what Tim said... had to use C/C++ \ for macros for years... always
accidentally getting deleted, and causing things to break. In Julia you
can use parenthesis, for macros quote ; end...
I happily haven't really seen a need for them in Julia (at least yet).
On Saturday, May 30, 2015 at
Hi,
The following code segment seems to throw error:
using StatsBase
other lines
println(size(sqdists),m, ,sampleSize)
wv = WeightVec(sqdists)
println(done-3)
println(sample(1:m,wv,sampleSize))
(31670,)31670 50
ERROR: LoadError: BoundsError
in getindex at range.jl:346
done-3
while loading
Ok so I have a few simple examples working for ccalling fortran functions
and subroutines from Julia.
Maybe someone will find this useful examples when first looking into
calling fortran from julia.
compile the following fortran mod
```
!fileName = simplemodule.f95
module simpleModule
implicit
Hello all! The latest bugfix release of the 0.3.x Julia line has been
released. Binaries are available from the usual place
http://julialang.org/downloads/, and as is typical with such things,
please report all issues to either the issue tracker
https://github.com/JuliaLang/julia/issues, or
Steven,
Thanks. Is it then the recommended/usual practice to have one main
function with every possible argument you might want, and then several
methods that provide specific dispatch and pass just the arguments relevant
to that method? That is,
function dijkstra_shortest_paths(graph,
Yes, those steps are good. Could you leave out the JULIA_CPU_ARCH for now?
-viral
On 30-May-2015, at 10:56 pm, Seth catch...@bromberger.com wrote:
Oh, also export JULIA_CPU_ARCH=arm1176jzf-s. Build running now - will report
back in about 12 hours :)
On Saturday, May 30, 2015 at
Thanks for the reply. Got it working this way
imv = shareproperties(imhsv, [HSV(imhsv[i,j].h 280, imhsv[i,j].s 0.5,
imhsv[i,j].v 0.14) for i = 1:size(imhsv,1),j = 1:size(imhsv,2)])
Regards
On Thursday, May 28, 2015 at 3:10:53 PM UTC+2, fshus...@gmail.com wrote:
Hi,
I use matlab for
The NullableArrays work is very far behind schedule. I developed RSI right
after announcing the work on NullableArrays and am still recovering, which
means that I can spend very little time working on Julia code these days.
I'll give you more details offline.
-- John
On Saturday, May 30,
On it. make distcleanall; git pull; make?
On Saturday, May 30, 2015 at 10:23:05 AM UTC-7, Viral Shah wrote:
Could you guys try with the latest master, with a fresh clone? I am no
longer passing any flags to LLVM and also using LLVM 3.6.1.
-viral
On Saturday, May 30, 2015 at 7:18:41 AM
Could you guys try with the latest master, with a fresh clone? I am no
longer passing any flags to LLVM and also using LLVM 3.6.1.
-viral
On Saturday, May 30, 2015 at 7:18:41 AM UTC+5:30, Viral Shah wrote:
We need to figure out the magic they use to build those binaries. What if
you remove
Thank you for the link and the explanation, John -- it's definitely
helpful. Is current work with Nullable and data structures available
anywhere in JuliaStats, or is it being developed elsewhere?
On Saturday, May 30, 2015 at 12:23:09 PM UTC-4, John Myles White wrote:
David,
To clarify your
Ok so I have a few simple examples working for ccalling fortran functions
and subroutines from Julia.
Maybe someone will find this useful examples when first looking into
calling fortran from julia.
compile the following fortran module with
*gfortran simplemodule.f95 -o simplemodule.so -shared
I was installing in a fresh home directory yesterday, so I would have been
using v0.2.26.
To be sure, I've pinned that and retried, and it fails in the same way.
I've filed an issue.
Thanks for the documentation pointer. :)
I'll try to see where it's going wrong, although it looks like the
There is one exception though, which is keyword arguments
Am Samstag, 30. Mai 2015 03:49:45 UTC+2 schrieb Steven G. Johnson:
*No!* This is one of the most common misconceptions about Julia
programming.
The type declarations in function arguments have *no impact* on
performance. Zero.
But @eval is still a macro, so it is even better to rewrite this without
that:
function getfn()
return function(); 1; end
end
const n = getfn()
On Sat, May 30, 2015 at 2:30 PM David Gold david.gol...@gmail.com wrote:
Something to note about Tom's method is that the name function must be
passed
Not tested, but
xsub = sub(x, 10:20)
Base.LinAlg.axpy!(a, y, xsub)
should work just fine.
--Tim
On Saturday, May 30, 2015 02:35:01 PM Gabriel Goh wrote:
Hey All,
I'm wondering if its easy to do an in place assignment, say
x[10:20] = x[10:20] + a*y
using the axpy! library. I want to
I'd like to work on making an autoformat tool for Julia. It is a generic
but experimental project but I'm sure if the tool is made, it will be
welcome by the community. I'm familiar with the language an have a
structured plan in mind; writing the proposal should not take much time if
I am
It would be great if you could clean up your example and add it to the
documentation.
Thanks,
Jiahao Chen
Research Scientist
MIT CSAIL
On Sun, May 31, 2015 at 3:17 AM, Andre Bieler andre.biele...@gmail.com
wrote:
Ok so I have a few simple examples working for ccalling fortran functions
and
hi folks,
i run into a lot of color usage lately, and always wanted to have a color
palette to help me choose right and convenient color strings already listed
in Color package, so that end up a simple palette which i thought someone
may think it useful.
cheers
ipython notebook:
Nope:
error during bootstrap:
LoadError(at sysimg.jl line 278: LoadError(at constants.jl line 94:
Base.AssertionError(msg=Float64(π) == Float64(big(π)
On Saturday, May 30, 2015 at 10:30:49 AM UTC-7, Seth wrote:
Oh, ok - let me restart.
On Saturday, May 30, 2015 at 10:29:50 AM UTC-7,
:-(
I wonder what’s the magic incantation those LLVM binaries use.
-viral
On 31-May-2015, at 9:29 am, Seth catch...@bromberger.com wrote:
Nope:
error during bootstrap:
LoadError(at sysimg.jl line 278: LoadError(at constants.jl line 94:
Base.AssertionError(msg=Float64(π) ==
Hey All,
I'm wondering if its easy to do an in place assignment, say
x[10:20] = x[10:20] + a*y
using the axpy! library. I want to avoid the use of any temporary variables
if possible!
Thanks!
Gabe
El domingo, 31 de mayo de 2015, 0:37:45 (UTC+2), Jameson escribió:
But @eval is still a macro, so it is even better to rewrite this without
that:
function getfn()
return function(); 1; end
end
const n = getfn()
This does not give quite the same answer, though, since the function does
Am important note about online hotel reservations:
Some attendees have reported problems using the Hyatt's reservation site. For
enquiries that include dates other than June 24-28, the website may erroneously
report that no rooms are available. In reality, we still many rooms available
at the
I lost multiple days attempting to pin down this behavior. I had something
along the lines of
x = a + b
+ c
It's not clear to me why the second line is a valid expression. At the very
least, it would be nice for lint to catch these, or an optional `...`
line-continuation operator.
On
Sorry, that should have been June 1.
On Sat, May 30, 2015, 11:52 Jiahao Chen cjia...@gmail.com wrote:
Hi Rohit,
Please read the CFP and submit a proposal by the end of 1 May. The CFP
contains sample code projects.
http://julialang.org/blog/2015/05/jsoc-cfp/
Its ok Sir. I am drafting a proposal and will be sharing with you for
consideration and discussion for improvement before submission.
-Original Message-
From: Jiahao Chen cjia...@gmail.com
Sent: 30-05-2015 12:13
To: julia-users@googlegroups.com julia-users@googlegroups.com
Subject:
Yes thats true but thats the future and currently not in stable Julia.
Am Samstag, 30. Mai 2015 12:39:10 UTC+2 schrieb Jiahao Chen:
For this use case of optionally present data, Nullable would seem
appropriate (although this is 0.4-only).
Something to note about Tom's method is that the name function must be
passed to gf as a symbol, unlike in the case of a macro. However, in most
cases this slight difference probably will not warrant a macro.
On Friday, May 29, 2015 at 8:58:56 PM UTC-4, Tom Lee wrote:
You don't need to use a
https://github.com/JuliaLang/Compat.jl#new-types
--Tim
On Saturday, May 30, 2015 04:50:07 AM Tobias Knopp wrote:
Yes thats true but thats the future and currently not in stable Julia.
Am Samstag, 30. Mai 2015 12:39:10 UTC+2 schrieb Jiahao Chen:
For this use case of optionally present data,
@Steven,
Would you help me to understand the difference between this case here and
the case of DataArray{T}s -- which, by my understanding, are basically
AbstractArray{Union{T, NaN}, 1}'s? My first thought was that taking a
Union{Bool, AbstractArray{Float, 2}} argument would potentially
But looking at other tools, it seems that the bar is not set very high :D
Just realized that this sounds quite arrogant without some context ;)
This just applies to fast and extendable libraries. You could not really
extend HTML itself, could you?
So QT seems to be one of the libraries, that is
For this use case of optionally present data, Nullable would seem
appropriate (although this is 0.4-only).
http://julia.readthedocs.org/en/latest/manual/types/#nullable-types-representing-missing-values
Thanks,
Jiahao Chen
Research Scientist
MIT CSAIL
On Sat, May 30, 2015 at 2:08 PM, Tobias
In general,
1. if my code stretches to multiple lines, that is usually a warning
sign that I may be doing something wrong. Expressions that are very long
are difficult to understand, and thus are likely source of bugs.
2. if I review my code and find that I really need multiple lines,
ending
I'm surprised so few people are bothered by this. Maybe it is just sloppy
coders like myself who worry about it ;).
Christoph
On Friday, 29 May 2015 00:04:46 UTC+1, Yichao Yu wrote:
Sorry. Somehow the gmail hotkey got messed up...
On Thu, May 28, 2015 at 6:08 PM, Christoph Ortner
I can't speak for anyone else, but my experience with Matlab's _obligatory_
line continuation characters makes me actively disinterested in them. Not sure
how I would feel about an optional character.
--Tim
On Saturday, May 30, 2015 06:41:31 AM Christoph Ortner wrote:
I'm surprised so few
Well alright then! Today I learned something about C. Thanks :)
On Fri, May 29, 2015 at 6:25 PM, Jeff Bezanson jeff.bezan...@gmail.com
wrote:
This line will do it:
jl_options.handle_signals = JL_OPTIONS_HANDLE_SIGNALS_OFF;
jl_options is DLLEXPORTed, and both it and its type are in julia.h.
On Sat, May 30, 2015 at 11:24 AM, Tim Holy tim.h...@gmail.com wrote:
I can't speak for anyone else, but my experience with Matlab's _obligatory_
line continuation characters makes me actively disinterested in them. Not sure
how I would feel about an optional character.
The only reason I want
Once you spend a few days tracking down a bug due to this, you never
forget. The idea would be to find a way to save people from this experience.
Some lines are naturally long because e.g. the equation is long or because
you prefer long, informative variable names. You can always use variables
David,
To clarify your understanding of what's wrong with DataArrays, check out
the DataArray code for something like
getindex():
https://github.com/JuliaStats/DataArrays.jl/blob/master/src/indexing.jl#L109
I don't have a full understanding of Julia's type inference system, but
here's my
45 matches
Mail list logo