if it might interest you, have a look at:
http://sagemath.blogspot.com/2014/07/sagemathcloud-history-and-status.html
best,
cdm
Iain, Jameson,
That confirms my understanding. I'll try out your tuple suggestion, Iain.
I'll try use sizeof to spy on the presence of pointer.
I'm aware of the work in progress (juliadiff), but I am an unredeemable
tinkerer, I just have to try : )
Thank you both!
Philippe
Le jeudi 31 juillet 2014 à 21:19 -0700, John Myles White a écrit :
To address Simon’s general points, which are really good reasons to
avoid jumping on the Option{T} bandwagon too soon:
* I agree that most languages use tagged union types for Option{T}
rather than a wrapper type that
Le jeudi 31 juillet 2014 à 14:03 -0700, John Myles White a écrit :
Exactly. But we generally move over to Array{Float64} before calling
OpenBLAS anyway, so that's not necessarily a fatal problem. Just
something that needs to be approached with caution.
Except that the current layout of
Say I want to change the parser so that a arbitrary character is parsed as
an operator, how can this be done?
Den fredagen den 1:e augusti 2014 kl. 11:49:50 UTC+2 skrev Ivar Nesje:
You can't change how the Julia parser works, without changing the parser,
so arbitrary characters can not be
I've been wondering what, if any kinds of checks or warnings Julia gives
at compile time, or if there are any packages that can type check and give
you warnings on your code.
Dear Julia developers,
first of all let me thank you for all your hard work. I have started to use
Julia
Le jeudi 31 juillet 2014 à 21:19 -0700, John Myles White a écrit :
To address Simon’s general points, which are really good reasons to
avoid jumping on the Option{T} bandwagon too soon:
* I agree that most languages use tagged union types for Option{T}
rather than a wrapper type that
that does sound worrying. I doubt the admin wants to know what I'm
downloading but rather get (temporarily) rid of a problem. Does that
compromise the security of the hpc system or does it mean someone could
hack my github account?
On 1 August 2014 08:02, gael.mc...@gmail.com wrote:
Sounds
Adding a rule that every incidence of anewcustomoperator or 愛 be
interpreted as a function shouldn't cause any conflicts.
Looked through the source and while I found some definitions relating to
the * operator I could not find where the actual parsing happens.
Which file contains the first
I think the parsing is defined here:
https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm
On Friday, August 1, 2014 2:24:37 PM UTC+3, Marcus Appelros wrote:
Adding a rule that every incidence of anewcustomoperator or 愛 be
interpreted as a function shouldn't cause any
Thanks for your help.
FYI, there are 2 reasons I passed a slice instead of a single element:
1. This is just the first of several types of FIR filter. In the case of an
(efficient) decimating FIR filter, the length of the slice is 1 element
2. I want to see how well julia can handle slices
You are at a security level where it is acceptable to use random guys
software downloaded from the internet, that explicitly says in the licence
that you are offered NO guarantees for anything. The software is so complex
that it is impossible for you to review even a fraction of it for security
ok, thanks Ivar. I am not worried about the sysadmin at all. I would have
been worried if the system is shut down by an attack that enters through my
door, but I was advised to turn SSL checking off anyway. I agree that there
seems little to gain from attacking a facility like that (pure research
Thanks Isiah,
I have seen that the errors I got resulted from not running the .bat script
in julia/bin directory... After locating it there, the --build switch
worked well.
But I have some more news. The (naive) .bat script I used is below. The
script shall be located in julia/bin directory
Neal, I just wrote some fast-ish multirate FIR functions. I seems like
you're probable looking for an exercise to learn the language, but if you
want a reference you can check them out here
https://github.com/JayKickliter/Radio.jl/blob/master/src/Filter/FIRFilter.jl.
For the interpolating FIR
Perfect, thank you!
Den fredagen den 1:e augusti 2014 kl. 13:28:37 UTC+2 skrev Johan Sigfrids:
I think the parsing is defined here:
https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm
On Friday, August 1, 2014 2:24:37 PM UTC+3, Marcus Appelros wrote:
Adding a rule that
Hello,
As the title suggests, I'd like to know what are the key features or
improvements in the upcoming Julia 3.0 (whenever it is released).
One feature that I hope to see is either faster compiles or caching. One of
the big selling points of Julia is its speed, but the fact that it has to
https://github.com/julialang/julia/blob/master/NEWS.md
Currently we only have caching of object code for Base, but there is some
tricks you can use to include extra packages in addition to Base when you
compile.
kl. 14:00:23 UTC+2 fredag 1. august 2014 skrev Daniel Carrera følgende:
Hello,
Usually you want @__FILE__ not Base.source_path()
On Friday, August 1, 2014, Júlio Hoffimann julio.hoffim...@gmail.com
wrote:
Anyone?
Júlio.
Em 31/07/2014 09:44, Júlio Hoffimann julio.hoffim...@gmail.com
javascript:_e(%7B%7D,'cvml','julio.hoffim...@gmail.com'); escreveu:
Dear all,
Just an update...
I just run the script without extra modules (basically that is equivalent
to re-running prepare-julia-env.bat) and have a working new image sys.ji.
However the size of the original image and of the current image are
different (13139 KB vs. 13084). Don't know the reason, but I
Thanks!
On 1 August 2014 14:04, Ivar Nesje iva...@gmail.com wrote:
https://github.com/julialang/julia/blob/master/NEWS.md
Currently we only have caching of object code for Base, but there is some
tricks you can use to include extra packages in addition to Base when you
compile.
kl.
This is how Lua enables reentrancy and it's generally not considered a
nightmare. We are also talking about two different issues. One is allowing
Julia to run code in multiple threads using one runtime, GC, etc. which I'm
sure is relatively high priority for you guys. The other issue is of the
Put your constant parameter into the parameter list of the type:
immutable BaseA{Alg} end
f(a::BaseA{0}, x) = x + 10
f(a::BaseA{1}, x) = x - 10
alg0 = BaseA{0}()
alg1 = BaseA{1}()
f(alg0, 25)
f(alg1, 25)
Alternatively, just use different types to signal different algorithms. See the
sorting
There isn't much benefit to running multiple julia instances from one
binary, since Julia uses many c libraries, and these have generally not
been written with this in mind.
It will be a combination of global state with appropriate locks and
thread-local storage. Passing around a global struct
On Friday, August 1, 2014 6:23:59 AM UTC-4, Milan Bouchet-Valat wrote:
Le jeudi 31 juillet 2014 à 21:19 -0700, John Myles White a écrit :
To address Simon’s general points, which are really good reasons to avoid
jumping on the Option{T} bandwagon too soon:
* I agree that most
Corrected .bat script...
I was deleting manually some files while running the batch files, so if
sys.ji exists in the lib/julia dir then prepare-julia-env.bat wouldn't run.
The change/correction consists in moving del %sysjlori% to outside of the
if block (in red below).
So use this version:
Hi,
I'm trying to setup a cluster across machines on a PBS managed cluster. I
parse the PBS_NODEFILE, which for the case of a submit script with option
#PBS -l nodes=2:ppn=12
looks like this:
node001
node001
node001
...
node002
...
node002
I am unsure about what exactly I have to give to
here is the parsing function in case that helps:
https://github.com/floswald/mpitest/blob/removeMaster/julia/iridis/sge.jl
On Friday, 1 August 2014 15:03:49 UTC+1, Florian Oswald wrote:
Hi,
I'm trying to setup a cluster across machines on a PBS managed cluster. I
parse the PBS_NODEFILE,
2014-08-01 9:05 GMT-03:00 Jameson Nash vtjn...@gmail.com:
Usually you want @__FILE__ not Base.source_path()
Thanks Jameson, but I got the same error saying the file was not found.
Any other hint?
Júlio.
and here is the error message I get. there is something wrong with the
ssh_exchange_identification?
https://gist.github.com/floswald/236da440fb717c683e37
On Friday, 1 August 2014 15:18:07 UTC+1, Florian Oswald wrote:
here is the parsing function in case that helps:
Updating info...
Results with building sys.ji image with external module DataFrames (only),
so userimg.jl has inside:
Base.require(DataFrames.jl)
Running the prepare-julia-env.bat script ends with an error/warning?
.
graphics.jl
profile.jl
precompile.jl
'DEFINITIONS' is not
I've come across a problem where I have macro to define a grammar (similar
to how PEGParser currently works):
@grammar foo begin
rule[fn] = some + (rule | test)
end
where the `[fn]` next to the rule defines a function to call on the results
(in this case it's an expansion). The issue is
You should start by checking that `println(@__FILE__)` gives what you want.
(Note that if you are running this in the REPL then that macro and
Base.source_path are both undefined).
On Fri, Aug 1, 2014 at 10:13 AM, Júlio Hoffimann julio.hoffim...@gmail.com
wrote:
2014-08-01 9:05 GMT-03:00
2014-08-01 11:59 GMT-03:00 Isaiah Norton isaiah.nor...@gmail.com:
(Note that if you are running this in the REPL then that macro and
Base.source_path are both undefined).
That explains everything.
Júlio.
That looks like the output of :(esc(fn)), but you don't want to quote that,
you want to evaluate it when generating the code, i.e. use $(esc(fn))
wherever you were previously using $fn
On Friday, August 1, 2014 11:38:44 AM UTC-4, Abe Schneider wrote:
That's correct, I'm generating code that
I think the problem is that I'm not accessing it directly through the macro
parameters. The call:
@grammar foo begin ... end
passes just the single expression block to `foo`. Thus, I'm getting the
function from the resulting Expr tree. Even if I quote it, it still ends up
as an expression
Hi Jose,
I'm not sure if this will solve your problems, but be sure to keep the
capitalization consistent. using Dataframes should be using
DataFrames.
Cheers, Kevin
On Friday, August 1, 2014, Jose Augusto jasaugu...@gmail.com wrote:
Updating info...
Results with building sys.ji image with
I tried a second approach where instead of keeping a function around I keep
just the symbol. I have a `transform` function that applies the function to
the resulting values. However, this only moves the problem to a new place.
In my `transform` method I have:
eval(Expr(:call, action, values))
Cool. There was an interesting discussion
https://groups.google.com/forum/#!topic/sage-devel/1gPkeL_X5dw/discussion
of using multiple dispatch for type promotion on the Sage mailing list
recently, which started out with links to Graydon Hoare's lovely blog post
about the history of scientific
You can use Leah's TypeCheck package
https://github.com/astrieanna/TypeCheck.jl and Tony Fong's Lint package
https://github.com/tonyhffong/Lint.jl currently. In the future, I'd like
to see this kind of checking integrated into Julia itself, so that, e.g.
when you run tests, you are automatically
It's very true that you are running software that could very well have
backdoors (who isn't – has anyone reviewed all of GNU/Linux personally?).
It's still kind of sketchy for the sysadmin to ask you to turn of cert
checking, but probably fine. After all, the git:// protocol has no security
at all
On Fri, Aug 1, 2014 at 9:00 AM, Joseph Naegele joseph.naeg...@gmail.com
wrote:
This is how Lua enables reentrancy and it's generally not considered a
nightmare. We are also talking about two different issues. One is allowing
Julia to run code in multiple threads using one runtime, GC, etc.
On Fri, Aug 1, 2014 at 9:11 AM, Jameson Nash vtjn...@gmail.com wrote:
There isn't much benefit to running multiple julia instances from one
binary, since Julia uses many c libraries, and these have generally not
been written with this in mind.
Yes, also a problem, although threads may raise
Yes, that's correct. TLS can be implemented pretty efficiently with a
small bit of care. Regarding LLVM, it is technically possible to have
multiple independent instances of LLVM in one thread. The reason that
wasn't an option for the multithreaded case is that those instances
can't share any code
I'd like to pose a question on the ess config itself. I haven't been able
to find a satisfactory explanation anywhere. What directory do you need to
provide in the seta inferior-julia-program-name field? When starting julia
with M-x julia, this question comes up ESS (*julia*) starting data
Given two files:
SomeLibrary.jl
===
module SomeLibrary
export MyType, foo, bar
abstract MyType
function bar(mt::MyType)
println(I'm in MyType/bar)
mt.x * 3
end
function foo(mt::MyType)
bar(mt) + 1
end
end
main_program.jl
===
using SomeLibrary
type
llvm can be safely used from multiple threads, it is only challenging to
use because (as Keno pointed out) you need to synchronize the Julia side,
meaning care needs to be taken to compile a function exactly once, and not
attempt to run it until it is finished being compiled.
We need to switch
It is possible to do generic compiler improvements for Union types
(Jameson had a branch at some point that did callsite splitting if we
inferred a Union type). However, I think the best way to go here is to
maintain the current separation of two arrays (one of the values one
for the NAs), but
You could try drop by at Julia Central. Perhaps email Jiahao directly.
-viral
On Wednesday, July 30, 2014 10:16:00 PM UTC+5:30, Ethan Anderes wrote:
There is a big statistics conference in Boston going on the first week of
August (JSM http://www.amstat.org/meetings/jsm/2014/). Since Boston
Since you haven't explicitly imported MyType.bar, when you defined bar
again, it created a new, unrelated function Main.bar, rather than merging
them
On Friday, August 1, 2014, Dustin Lee qhf...@gmail.com wrote:
Given two files:
SomeLibrary.jl
===
module SomeLibrary
export
I could (and probably will, someday) revive that commit. At the time,
though, I seemed to find that it provided little performance benefit -- the
gc cost of allocating boxes was far greater (for type uncertainty involving
bitstypes) and the type dispatch wasn't as much of a performance impact as
I
I think some of this is already in the documentation in bits and pieces,
but we should probably add Doug's explanation into the manual.
Regarding colamd, like Doug said, it is already included, and it should be
easy enough to expose it with a few ccalls.
-viral
On Friday, August 1, 2014
The Julia homepage shows julia beating python by a factor 3 across the board.
The machine specs are shown, and we also see that this was Python
version 2.7.3, but it is not clear which implementation of python was
used.
Gustavo
--
Gustavo Lacerda
http://www.optimizelife.com
On Fri, 2014-08-01 at 11:32 -0700, Sarvagnan Subramanian wrote:
I'd like to pose a question on the ess config itself. I haven't been
able to find a satisfactory explanation anywhere. What directory do
you need to provide in the seta inferior-julia-program-name field?
When starting julia with
So
export MyType, foo, bar
and
using SomeLibrary
is not enough?
How do I change it to be more specific?
On Fri, Aug 1, 2014 at 12:50 PM, Jameson Nash vtjn...@gmail.com wrote:
Since you haven't explicitly imported MyType.bar, when you defined bar
again, it created a new, unrelated
+1 for this quote of yours:
The algorithm Julia uses for type inference works by walking through a
program, starting with the types of its input values, and abstractly
interpreting the code. Instead of applying the code to values, it applies
the code to types, following all branches
The Modules documentation [1] was recently updated with a nice table that's
helpful in understanding what the various using and import statements
actually do. One tricky bit is that there's a difference between bringing a
name into scope and making it available for method extension.
Specifically
import SomeLibrary.bar
Or
SomeLibrary.bar(...) = ...
On Friday, August 1, 2014, Dustin Lee qhf...@gmail.com wrote:
So
export MyType, foo, bar
and
using SomeLibrary
is not enough?
How do I change it to be more specific?
On Fri, Aug 1, 2014 at 12:50 PM, Jameson Nash
On Thursday, July 31, 2014 8:33:49 PM UTC-5, Donald Lacombe wrote:
Dear Doug,
Thank you for taking the time to look at this. In actuality, the W matrix
is a spatial weight matrix which defines who is a neighbor to whom. I think
the symmetric verbiage in the code is not technically correct.
Is there a reason we can't change the way unions of small bits types are
represented, so that if we know something is a Union(Float64,NA) it can
live in registers or on the stack instead of having to be heap allocated?
On Friday, August 1, 2014 2:54:49 PM UTC-4, Jameson wrote:
I could (and
As usual, I agree with Keno :)
We could also implement optimizations for Union(Bits,OtherBits). In
theory this can be stack allocated along with a boolean flag that says
which one it is. However to take full advantage of this it seems you
need to generate lots of branches with code for each case.
Thanks Jameson and Spencer! That's exactly what I was looking for.
On Friday, August 1, 2014 1:09:42 PM UTC-6, Jameson wrote:
import SomeLibrary.bar
Or
SomeLibrary.bar(...) = ...
On Friday, August 1, 2014, Dustin Lee qhf...@gmail.com javascript:
wrote:
So
export MyType, foo, bar
Well, in that case, it sounds like having multiple independent Julia
instances in a single process may be a surmountable problem, but it won't
happen any time soon.
On Fri, Aug 1, 2014 at 2:45 PM, Jameson Nash vtjn...@gmail.com wrote:
llvm can be safely used from multiple threads, it is only
The standard one – CPython.
On Fri, Aug 1, 2014 at 2:55 PM, Gustavo Lacerda gus0...@optimizelife.com
wrote:
The Julia homepage shows julia beating python by a factor 3 across the
board.
The machine specs are shown, and we also see that this was Python
version 2.7.3, but it is not clear
I also haven't read this thread carefully, but it does seem that in this case
one needs to automatically mutate code like this:
x = A[5]
if isa(x, BadType)
...
elseif isa(x, GoodType)
... # do something with x
end
into
dt = peektype(A, 5) # gets the type
Hah. I'm sure that's the first thing we'll all use quantum computers for.
On Fri, Aug 1, 2014 at 3:02 PM, Jutho juthohaege...@gmail.com wrote:
+1 for this quote of yours:
The algorithm Julia uses for type inference works by walking through a
program, starting with the types of its input
Hi folks,
I wanted to share a graph with everyone: JuliaLang questions posted on
#StackOverflow by month from January 2012 to end of July 2014.
I've been putting this together for since the beginning of the year as one
of my metrics for gauging the growth of the Julia user community. It is
What are the lines on the plot? I am assuming that the magenta color is
the raw counts and the green is some kind of smoothed values (moving
averages?).
On Friday, August 1, 2014 3:03:36 PM UTC-5, Stu Thompson wrote:
Hi folks,
I wanted to share a graph with everyone: JuliaLang questions
Correct.
Stu Thompson /forio | +1 (415) 518 32 19 | forio.com
http://www.forio.com/
On Fri, Aug 1, 2014 at 1:17 PM, Douglas Bates dmba...@gmail.com wrote:
What are the lines on the plot? I am assuming that the magenta color is
the raw counts and the green is some kind of smoothed
Nope -- that the right idea. Just pointing out that you get more value from
improving the storage representation than from specializing union call sites
On Friday, August 1, 2014, Simon Kornblith si...@simonster.com wrote:
Is there a reason we can't change the way unions of small bits types are
Hi guys,
So in short, I coded a model-fitting Markov chain to fit some parameters of
a neural network to existing data.
With few amounts of Markov chain iterations, the code works fine, but when
I run for longer, the code dies before it completes my function of finding
the parameters matching
That appears to be exponential growth doubling every three months. Soon all
of StackOverflow will be questions about Julia. Similarly, traffic to
julialang.org has been doubling every nine months, so in a few years most
traffic on the Internet will be people visiting the Julia website.
On Fri,
So in short, I coded a model-fitting Markov chain to fit some parameters
of a neural network to existing data.
With few amounts of Markov chain iterations, the code works fine, but when
I run for longer, the code dies before it completes my function of finding
the parameters matching
That also strikes me as the best approach for what it's worth – just use
option/maybe/nullable for what you return when indexing into a DataArray
but keep the DataArray storage as two separate arrays.
On Fri, Aug 1, 2014 at 3:29 PM, Jeff Bezanson jeff.bezan...@gmail.com
wrote:
As usual, I
Hi Jason,
This is the 0.3.0 - RC. I am not too familiar with memory, so I have yet to
use memtest. This is repeatable at the same number of iterations, at
different iterations, and the error message has repeated again at those
different iterations.
It will be hard for me to pare this down in
Unfortunately lots of other things on the internet is growing
exponentially, so it's not necessarily us that comes out on top.
Also from the github traffic data (hope it's OK to share this), we
had 74,369 views on github last two weeks divided by 6,710 unique visitors.
The most popular issue
Wally,
Try:
rand(3*ones(12)...)
On Fri, Aug 1, 2014 at 3:53 PM, yaoismyh...@gmail.com wrote:
Hi Jason,
This is the 0.3.0 - RC. I am not too familiar with memory, so I have yet
to use memtest. This is repeatable at the same number of iterations, at
different iterations, and the error
Is that from a different version of Julia?
*julia **rand(3*ones(12)...)*
*ERROR: `rand` has no method matching rand(::Float64, ::Float64, ::Float64,
::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64,
::Float64, ::Float64, ::Float64)*
On Friday, August 1, 2014 5:03:36 PM UTC-4,
The code looks perfectly fine to me, so it certainly shouldn't crash.
I'll take a look.
On Fri, Aug 1, 2014 at 4:35 PM, yaoismyh...@gmail.com wrote:
Hi guys,
So in short, I coded a model-fitting Markov chain to fit some parameters of
a neural network to existing data.
With few amounts of
please help I can't add any packages I really really want to use julia but
i can't and the mailing list is terrible. But still I am hoping someone
will help.
so here's what I am getting
julia Pkg.init()
INFO: Initializing package repository /home/shubham/.julia/v0.2
INFO: Cloning METADATA from
I didn't exactly want to launch a discussion about security in general. I did
not even intend to *actually* mean that your sysadmin just want to look at what
you are doing (that thing called irony ...).
Given more time, seeing your message, I would have come back and cleared your
worries much
Hi Kevin,
You're right. Thanks. I was expecting to see a failure :-( and when it
happened I didn't check to see if it was my sloppiness (and indeed it
was...).
I'll try to check again ASAP -- I'm in another place and in another machine
right now :-(
Regards
Jose
I've been trying to precompile my most used packages, but I keep getting
the error UndefVarError(var=:STDERR).
example error message:
error during bootstrap: LoadError(at sysimg.jl line 287: LoadError(at
/Users/joshuajob/julia/base/userimg.jl line 1: LoadError(at
Yes, that command rand(3*ones(Int,12)...) throws julia into an infinite
loop. No good. And very strange.
Bob
On Fri, Aug 1, 2014 at 4:02 PM, Jason ja...@jasonknight.us wrote:
Is that from a different version of Julia?
*julia **rand(3*ones(12)...)*
*ERROR: `rand` has no method matching
you may be able to try Julia through your browser on
https://cloud.sagemath.com/
good luck !
Dear Doug,
My apologies for misstating something. The variance-covariance matrix for
the errors in these spatial models is positive definite, not the (In -
rho*W) term.
The W matrix is not symmetric in general. My goal is to create a lookup
table of values of log(det(In-rho*W)) for values of
On Fri, Aug 1, 2014 at 7:12 PM, gael.mc...@gmail.com wrote:
Finding a collision is already very hard, finding working, malicious, code
with collision is nearly impossible.
If there's one thing I've learned from all the clever attack crafting
papers I've seen (e.g. this one
You are most likely behind a firewall. Can you clone packages from github
manually using the git protocol? Can you telnet to github.com on port 9418?
On Fri, Aug 1, 2014 at 5:48 PM, Shubham Bhushan shubphot...@gmail.com
wrote:
please help I can't add any packages I really really want to use
Thanks, everybody, for the input.
I’m going offline for the next week while camping in Oregon, but I’ll return to
this project once I’m back.
— John
On Aug 1, 2014, at 1:43 PM, Stefan Karpinski ste...@karpinski.org wrote:
That also strikes me as the best approach for what it's worth – just
I don't thinks that leads to an infinite loop. Instead it creates a
12-dimensional matrix with 3^12 (531441) elements. If you use
rand(ones(Int, 12)...);
I guess it won't take nothing to calculate the matrix. The problem is
printing or showing it.
Sounds to me that not all packages support precompilation. I think there are
some peculiarities when building the system image, and I would not be surprised
if a undefined STDOUT, was one of those.
Regarding the actual wavelets package license, I just wanted to suggest the
PyWavelets package which is done in C and seems very complete. It has a MIT
license:
http://www.pybytes.com/pywavelets/
Is it already possible in Julia to make a 2D decomposition /
reconstruction, to decompose images?
You don't need a hash collision to change data in a git pull connection. The
only thing you need to do is to send your own hash when the client asks for the
current HEAD sha of master. It will be detected next time you update, if the
attacker is not still there and remember the lies he told
93 matches
Mail list logo