I was in a similar sitation and getting devtoolset to work indeed requires help
from an admin. The easiest option in your case though would be just to build
gcc yourself.
which I installed in SysWOW64
Generally it's not a good idea to manually put things in system folders.
Depending on the path ordering, Julia might be picking this copy up before
the version that's installed by Julia. Remove the libzmq dll from SysWOW64
unless you have some really good
Hi Tony,
Many thanks again for prompt reply and help, as recommended I removed the
libzmq.dll (2.2.0) from SysWOW64 ( was recommended for a metatrader
application), placed it instead in its own library folder - the app worked
just as well there.
In any case, the test worked this time
Thanks, Andreas and Tony. Unfortunately, this is a system at work where
I'm not likely to persuade the sysadmin to install the devtoolset.
However, I just discovered the generic Linux nightlies at
https://status.julialang.org/ which work fine on this system, and are a
great alternative for
If all you want to do is run Julia rather than build it (and the
soon-to-be-C++11 libraries that it depends on), then as Peter said the best
option is to use the generic Linux binaries. We just had to build GCC
ourselves on the centos 5 buildbot VM we use for those, because the
devtoolset does
The idea of Ngram is that it is a view of N string of length k without
using k times as much memory. I would like to preform operation the set of
Ngram string, let's say unique(). In those cases I expect it to be treat as
1 dimension Array of String.
I am making some progress with similar
Hi Diego,
ERROR: UndefVarError: @repl not defined
Are you using julia 0.4-dev here? If so could you try updating julia also,
since @repl is quite new.
— Mike
On Friday, 6 February 2015 01:59:26 UTC+2, Diego Tapias wrote:
No problem while installing. But I’ve got the following error
Hi Tony,
Sorry to bother you again, but today after doing a Pkg.update() - I receive
the same error again (resource not available). Doing Pkg.test(ZMQ) gave
the same error. It said it was using ZMQ 2.2.0 (which I installed in
SysWOW64), however yesterday, when it worked it reported using ZMQ
Hi!
You need to add explicit .* between the parentheses (I guess you copied the
Mathematica code and forgot to add multiplication). That worked for me.
Also, the (41253 .* l) part came out as 41253 .* ell (not one) when I
copied it, but that might be a browser problem on my end.
//martin
On
Hi Joshua -
Did you continue working with this idea? I'd also like to experiment using
Julia in the Cray environment (using aprun etc).
Best,
Patrick
On Friday, August 15, 2014 at 6:25:35 AM UTC+2, Joshua Job wrote:
Hello all,
I recently acquired an account under a project at ORNL's Titan
On Wednesday, February 4, 2015 at 8:07:01 PM UTC-8, Seth wrote:
Jacob,
Thanks. This is just what I was looking for.
To follow up, using DateFormat reduced the time from 15+ minutes to 4m25s
on the 5.9 million line file.
Le jeudi 05 février 2015 à 14:09 -0500, Stefan Karpinski a écrit :
I don't see how it's magical. The function joinpath(path1,path2) gives
the path of path2 relative to path1 – that's what it means. When path2
is absolute, path1 doesn't matter to answer that question.
Yeah, but one could also
Stefan:
I completely agree with the philosophy of using IDs to evaluate whether or
not your code is properly factored, but it seems to me the naming
convention question is orthogonal: a squished id isn't much shorter, and is
more often than not less readable, than its underscore-delimited
Le jeudi 05 février 2015 à 13:55 -0500, Stefan Karpinski a écrit :
When you open the file referred to by path2, that is essentially
looking at joinpath(pwd(), path2) and this is just a generalization of
that that behavior relative to path1 instead of pwd() specifically.
This is also how Python
I don't see how it's magical. The function joinpath(path1,path2) gives the
path of path2 relative to path1 – that's what it means. When path2 is
absolute, path1 doesn't matter to answer that question.
On Thu, Feb 5, 2015 at 2:06 PM, Milan Bouchet-Valat nalimi...@club.fr
wrote:
Le jeudi 05
Hello,
The title of this post is Moving Past a Squished Case Convention not
Moving Pastas Quiche :)
The Julia standard library tends to use the squishedcase notation. Being
concise is great for mathematical functions, like sin, cos, and ln.
However, it is cognitively harder for people for
Yes, you right!
Do you know how to get Density plots with Julia?
GK
On Thursday, February 5, 2015 at 2:16:37 PM UTC+1, Martin Johansson wrote:
Hi!
You need to add explicit .* between the parentheses (I guess you copied
the Mathematica code and forgot to add multiplication). That worked
I closed the issue (https://github.com/JuliaLang/julia/issues/10039) since
a complete rebuild on the i7 appears to have put the i7 ahead of the i5 by
a factor of 10. A full rebuild of 0.3.4 and 0.4 on the i7 now puts the two
versions within the same order of magnitude, so that seems to have
function test()
x = 2
f = (()-x + 3)
println( f() ) # Prints 5 Yeh!
x = 4
println( f() ) # Prints 7 ???
g = (()-(x=4))
println( g() ) # Prints 4 Yeh, that should not be the same x
println( x ) # Oops seems it is the same X
println( f() ) # Yes seems
Yes, this is expected. Have a look at the scope section of the manual,
it also has examples on how to get the behaviour (I suspect) you want.
On Thu, 2015-02-05 at 16:26, Michael Francis mdcfran...@gmail.com wrote:
function test()
x = 2
f = (()-x + 3)
println( f() ) # Prints 5
Hi guys,
I didn’t have problems installing Docile, however when I try to use it
literally nothing happens. Before continue reading, my julia version is
0.4.0-dev.
Consider the following code :
filename test.jl
using Docile
export foo
@doc This function is not important -
function foo()
end
Try installing Lexicon and load it then repeat your example.
On Thursday, February 5, 2015, Diego Tapias dandrove...@gmail.com wrote:
Hi guys,
I didn’t have problems installing Docile, however when I try to use it
literally nothing happens. Before continue reading, my julia version is
(renamed topic because it diverges from the original)
On Thu, Feb 5, 2015 at 12:29 PM, Stefan Karpinski ste...@karpinski.org
wrote:
The general philosophy is that for user code, having underscores in names
is fine, especially when the name refers to a composite thing. In Base
Julia, we
No problem while installing. But I’ve got the following error when ask for
foo:
?foo
ERROR: UndefVarError: @repl not defined
2015-02-05 17:37 GMT-06:00 Tom Short tshort.rli...@gmail.com:
Try installing Lexicon and load it then repeat your example.
On Thursday, February 5, 2015, Diego
Trying to build Julia 0.4 master on CentOS 6.4 with gcc 4.4.7. The
compiler doesn't seem to like one of the lines in gc.c:
...
CC src/disasm.o
CC src/support/int2str.o
CC src/support/libsupportinit.o
CC src/debuginfo.o
CC src/support/arraylist.o
CC src/support/strtod.o
thanks - so it take the scheme approach to closures. The let keyword allows
the inverse.
On Thursday, February 5, 2015 at 10:36:37 AM UTC-5, Mauro wrote:
Yes, this is expected. Have a look at the scope section of the manual,
it also has examples on how to get the behaviour (I suspect) you
I know this is documented by what is the rationale for joinpath(path1, path2)
to return path2 if path2 looks like an absolute path?
Cheers,
Davide
This issue has been reported a couple of times over the last couple of days
and there are some explanations in the those issues so please have a look
at them, but in short, yes it is too old.
2015-02-05 19:23 GMT-05:00 Peter Simon psimon0...@gmail.com:
Trying to build Julia 0.4 master on CentOS
We should just update the README. No sense supporting gcc older than 4.7 if
we plan on using LLVM 3.5 or 3.6 for the Julia 0.4 release (these newer
versions of LLVM use a lot of C++11 so require a new compiler).
You can use the Scientific Linux devtoolset to get a newer gcc for centos.
On
*Good morning, *
*Would you please give me some lights here: *
In [104]:
IP(X,Y) = (0.0011) .* (cos(152.309 .* X - 1324.58 .* Y) + cos(152.309 .* X
- 1050.42 .* Y) + cos(152.309 .* X - 776.265 .* Y)
+ cos(152.309 .* X - 502.11 .* Y) + cos(152.309 .* X - 227.955 .* Y) + 2 .*
Le mercredi 04 février 2015 à 23:11 -0800, Wai Yip Tung a écrit :
I have successfully defined a custom array Ngram.
type Ngram : AbstractArray{ASCIIString,1}
seq::ASCIIString
n::Int
end
function getindex(s::Ngram, i::Int)
s.seq[i:i+s.n-1]
end
function
Hi Julia users,
I would like to organize with the groupe Calcul
(http://calcul.math.cnrs.fr/ : sorry the site is in French) a Julia day in
Paris (France) in April or in May 2015. I think that a good program for
this day could be
- morning: 2 hours for a tutorial about Julia with little
When I have a somewhat complex datatype, I often end up constructing it by
assigning values to local variables, then constructing a value of the
datatype in one go at the end, like x,y=1,2; Foo(x,y). When there are
many fields, Haskell's RecordWildcards idea is convenient: there you can
say
Oops, I forgot to say that you need to use .+ and .- to get outer
addition and subtraction between X and Y (assuming they are defined as in
your example), but I guess you figured that out since you got it working.
If you by Density plot refer to Mathematica's 'DensityPlot' than maybe
simply
Yep, the scoping rules and closure behavior are shamelessly stolen from
Scheme. Those guys seem to know what they're doing :-)
On Thu, Feb 5, 2015 at 12:08 PM, Michael Francis mdcfran...@gmail.com
wrote:
thanks - so it take the scheme approach to closures. The let keyword
allows the inverse.
You don't need a cluster manager to use MPI with Julia. You can start the Julia
processes in the MPI-usual way via aprun julia myproc. In the Julia code, you
can then use MPI to determine the workers' rank etc.
I have written a semi-usable set of communication primitives that work in this
When you open the file referred to by path2, that is essentially looking at
joinpath(pwd(), path2) and this is just a generalization of that that
behavior relative to path1 instead of pwd() specifically. This is also how
Python does it https://docs.python.org/2/library/os.path.html#os.path.join,
I have a Markov Chain Monte Carlo algorithm.
Unlike most MCMC algorithms each state is expensive to compute, and each
sample can be generated independently. Because evaluating the markov chain
is vey cheap, this means that I should be able to be almost embarassingly
parallel.
My current
An underscore is basically the only option here, seeing basically every
other operator imaginable is taken.
Still, I'm personally happy with the current convention of underscore_case
alongside squished case where it doesn't hurt readability.
I agree that things like `searchsortedlast` could
It seems such a small thing, but optional squished case bugs me. In fact,
it is the one blemish http://en.wikipedia.org/wiki/The_Birth-Mark on
Julia that bugs me most. (Of course, that's pretty high praise for a
language if the thing you like least about it is a naming convention.)
Squished case
The general philosophy is that for user code, having underscores in names
is fine, especially when the name refers to a composite thing. In Base
Julia, we consider long names with underscores to be a library design smell
that suggests that we're exposing something that's not sufficiently atomic.
When I select a distribution instance's field from a tab complete list
after a dot, the instance disappears and I'm left with just the unicode
symbol of the field name. Is this normal behavior?
Ex:
dist=Beta(5,5)
dist.[tab]- yields α, β tab completion. Selecting α returns unbound
unicode
42 matches
Mail list logo