[julia-users] Is FMA/Muladd Working Here?

2016-09-20 Thread Chris Rackauckas
Hi, First of all, does LLVM essentially fma or muladd expressions like `a1*x1 + a2*x2 + a3*x3 + a4*x4`? Or is it required that one explicitly use `muladd` and `fma` on these types of instructions (is there a macro for making this easier)? Secondly, I am wondering if my setup is no applying

[julia-users] Re: how to change background color from black and the Pkg.add() reply lines from BLUE to a readable foreground color

2016-09-20 Thread Kristoffer Carlsson
The default info color is actually changed to cyan on latest julia master but it has not made it into a release yet.

Re: [julia-users] Re: Introducing Knet8: beginning deep learning with 100 lines of Julia!

2016-09-20 Thread Jon Norberg
I get "LoadError: unknown package Knet" when using Pkg.add("Knet"). I am on 0.5. Very interested in this julia native ML library, thanks for sharing

Re: [julia-users] Does Julia 0.5 leak memory?

2016-09-20 Thread K leo
@Luke Stagner Since this appears a problem. Perhaps you can file an issue with your demo code. On Tuesday, September 20, 2016 at 9:14:44 AM UTC+8, Luke Stagner wrote: > > I actually ran into this issue too. I have a routine that calculates fast > ion orbits that uses a lot of memory (90%).

Re: [julia-users] Re: Introducing Knet8: beginning deep learning with 100 lines of Julia!

2016-09-20 Thread Deniz Yuret
It should work with any model that uses gradient based optimization. Let me know if you find otherwise. On Tue, Sep 20, 2016 at 11:19 PM dnm wrote: > Very cool! Does it work with distributions.jl so we can write > probabilistic models? > > > On Tuesday, September 20, 2016

[julia-users] Re: ijulia with multiple versions

2016-09-20 Thread Steven G. Johnson
This is a two year old thread; at that time, there was a different mechanism for launching IPython with Julia that involved "profiles" rather than the current Jupyter method of kernel specs, and it was harder to have multiple kernel versions.

[julia-users] Re: ijulia with multiple versions

2016-09-20 Thread Cedric St-Jean
I have multiple julia versions installed (merely through never deleting them). At every new version I've called `Pkg.build("IJulia")` from the command line. This adds the new kernel to the list of kernels in the Kernel -> Change Kernel menu of the Jupyter notebooks. Does that not work for you?

[julia-users] Re: Maps in Julia?

2016-09-20 Thread cdm
the julia-geo list may also be helpful: https://groups.google.com/forum/#!forum/julia-geo

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-20 Thread Steven G. Johnson
On Tuesday, September 20, 2016 at 3:46:47 PM UTC-4, Dennis Eckmeier wrote: > > So, I tried this, but the data are still not stored as the Matlab code > (first post) would do it... > > function write_data(X, no_dims, theta, perplexity) > n, d = size(X) > A = write(h, hton(n), hton(d),

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-20 Thread Steven G. Johnson
On Tuesday, September 20, 2016 at 3:46:47 PM UTC-4, Dennis Eckmeier wrote: > > So, I tried this, but the data are still not stored as the Matlab code > (first post) would do it... > > function write_data(X, no_dims, theta, perplexity) > n, d = size(X) > h = open("data.dat","w+") > w+ means

[julia-users] Re: [ANN] ClobberingReload.jl: a more convenient reload, and an Autoreload for 0.5

2016-09-20 Thread Marius Millea
Looks great, thanks for this. Dropped it inplace of Autoreload.jl and works as advertised from what I've seen thus far. I had been hoping something like Autoreload.jl would stick around and be maintained, I find Jupyter+Autoreload makes for a really pleasant workflow. Marius On Tuesday,

[julia-users] Re: Introducing Knet8: beginning deep learning with 100 lines of Julia!

2016-09-20 Thread dnm
Very cool! Does it work with distributions.jl so we can write probabilistic models? On Tuesday, September 20, 2016 at 2:31:31 PM UTC-4, Deniz Yuret wrote: > > It has been a year and a half since I wrote the first version of this post >

[julia-users] Re: Adding publications easier

2016-09-20 Thread Chris Rackauckas
I think he's talking about the fact that this specifically is more than Github: it also requires using pandoc and Jekyll: https://github.com/JuliaLang/julialang.github.com/tree/master/publications If the repo somehow ran a build script when checking the PR so that way all you had to do was

[julia-users] Re: How to write a binary data file? (Matlab to Julia translation)

2016-09-20 Thread Dennis Eckmeier
So, I tried this, but the data are still not stored as the Matlab code (first post) would do it... function write_data(X, no_dims, theta, perplexity) n, d = size(X) h = open("data.dat","w+") A = write(h, hton(n), hton(d), hton(theta), hton(perplexity), hton(no_dims)) # X=X' for i in

Re: [julia-users] Introducing Knet8: beginning deep learning with 100 lines of Julia!

2016-09-20 Thread Kevin Squire
Very cool! I look forward to testing this out. Cheers, Kevin On Tue, Sep 20, 2016 at 11:31 AM, Deniz Yuret wrote: > It has been a year and a half since I wrote the first version of this post > >

Re: [julia-users] RE: [julia-news] ANN: Julia v0.5.0 released!

2016-09-20 Thread Jeff Bezanson
Thanks Tony for your very hard work seeing this through to completion. 0.5 is a big improvement, and we have some equally juicy stuff planned for 0.6! On Tue, Sep 20, 2016 at 12:23 PM, David Anthoff wrote: > Great news, thanks to everyone who contributed to this great

[julia-users] Re: Problem with 0.4.7 mac os distribution

2016-09-20 Thread Tony Kelman
This was a temporary hiccup with a buildbot misconfiguration issue in one of the pieces of software we use (but are about to stop using) to build the mac binaries. We uploaded a replacement build that should have this fixed, try removing the copy of 0.4.7 you downloaded and replacing it with a

[julia-users] Adding publications easier

2016-09-20 Thread Tony Kelman
What do you propose? Github is about as simple as we can do, considering also the complexity of maintaining something from thr project side. There are plenty of people around the community who are happy to walk you through the process of making a pull request, and if it's not explained in enoug

[julia-users] Re: how to change background color from black and the Pkg.add() reply lines from BLUE to a readable foreground color

2016-09-20 Thread Scott T
Hi Rich, If I recall correctly, Pkg prints info messages. To change the color of those you need to set an environment variable. You can do this by adding a line to .juliarc.jl (note the leading dot) in your home directory: ENV["JULIA_INFO_COLOR"] = :cyan or whatever other color you want to

[julia-users] Any way of recovering a corrupted .julia?

2016-09-20 Thread J Luis
Hi, So I did it again. While trying to install ImageMagick and at same time attempting to convince Julia that I already had one ImageMagick installed in my Win machine and manually deleted some files. After that the chaos. Every Pkg.update() has something to complain. For example julia>

[julia-users] Introducing Knet8: beginning deep learning with 100 lines of Julia!

2016-09-20 Thread Deniz Yuret
It has been a year and a half since I wrote the first version of this post and it is time for an update, just in time with the Julia 0.5.0 release! Knet (pronounced “kay-net”) is the

[julia-users] Re: Problem with 0.4.7 mac os distribution

2016-09-20 Thread Kevin Keys
No problem at my end. Perhaps try downloading the package again? Output of versioninfo(): Julia Version 0.4.7 Commit ae26b25 (2016-09-18 16:17 UTC) Platform Info: System: Darwin (x86_64-apple-darwin13.4.0) CPU: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz WORD_SIZE: 64 BLAS:

[julia-users] Re: Any serious quant finance package for Julia?

2016-09-20 Thread Christopher Alexander
I definitely wanted to start integrating some of the existing Julia packages for solvers etc that I basically wrote based off the C++ Quantlib code - maybe in a version 2. Why re-invent the wheel, so to speak (and you're right, they'd definitely be faster)? I'm probably going to start

[julia-users] how to change background color from black and the Pkg.add() reply lines from BLUE to a readable foreground color

2016-09-20 Thread Richdev Boston
HELP !! I am new to Julia. I want to see what the REPL is doing when I add packages. The response is a bright blue against totally black and the contrast is so BAD I can read what is going on. I want to use the Julia REPL out of the box with a minor tweak to change colors, not use another

[julia-users] Adding publications easier

2016-09-20 Thread Magnus Röding
May I suggest that a simpler way to contribute to the list of Julia related publications is introduced? I would like to contribute by adding my publications that use Julia, but I am simply not skilled enough to go through all those steps required to update the repo. Thanks,

[julia-users] Problem with 0.4.7 mac os distribution

2016-09-20 Thread holder66
The distro appears to download OK, but when I attempt to open the app, I get this message: You can’t open the application “Julia-0.4.7.app” because it may be damaged or incomplete. I have not had any problems with any previous distributions, from 0.4.4 through 0.4.6. Am I doing something

Re: [julia-users] Horn clauses

2016-09-20 Thread Kevin Liu
Thanks a lot Cedric. I am just getting to know about Russell and Norvig's importance thanks to you. I came across articles of theirs some time ago but didn't know they were pretty much the holy grail. I just came out of a 330 page book from Domingos (even though not mathy) so am catching some

[julia-users] [ANN] ClobberingReload.jl: a more convenient reload, and an Autoreload for 0.5

2016-09-20 Thread Cedric St-Jean
Hello, ClobberingReload .creload("ModuleName") is an alternative to reload("ModuleName") for interactive development. Instead of creating a new module object, it evaluates the modified code inside the existing module object, clobbering the

[julia-users] RE: [julia-news] ANN: Julia v0.5.0 released!

2016-09-20 Thread David Anthoff
Great news, thanks to everyone who contributed to this great release! I’ve been using the release candidates for a couple of weeks, and 0.5 is a fantastic release. Best, David From: julia-n...@googlegroups.com [mailto:julia-n...@googlegroups.com] On Behalf Of Tony Kelman Sent: Tuesday,

Re: [julia-users] Horn clauses

2016-09-20 Thread Cedric St-Jean
It depends what you want to do. Julia's base language doesn't include logical reasoning. If you want to translate a Prolog program into Julia, you can get away with `if x then y`, but if you want to implement logical reasoning, then you need to build some machinery yourself. I would use types

Re: [julia-users] Horn clauses

2016-09-20 Thread Kevin Liu
The negation I'm guessing would be x = false, iff an equivalence of type and value (but in Julia?), implication a combination of if x = true then y = false? Is it as simple as this? On Tuesday, September 20, 2016 at 11:56:46 AM UTC-3, Kevin Liu wrote: > > Would anyone know how to represent

Re: [julia-users] Horn clauses

2016-09-20 Thread Kevin Liu
Would anyone know how to represent logical connectives (e.g. negation ¬, conjunction ∧, disjunction ∨, material implication ⇒, biconditional iff ⇔) and quantifiers (e.g. all ∀, exists ∃) in Julia? I understand 'all' can be a for loop. Is the conjunction a comma like in Prolog? Disjunction the

[julia-users] Re: Parsing a Julia file

2016-09-20 Thread Cedric St-Jean
That solved the issue, thank you. I was wondering if there was a Base function to do it, but that's simple enough. On Tuesday, September 20, 2016 at 9:17:04 AM UTC-4, Steven G. Johnson wrote: > > I'm not sure exactly what you want, but: > > function parse_file(filename) > str =

[julia-users] Re: Parsing a Julia file

2016-09-20 Thread Steven G. Johnson
I'm not sure exactly what you want, but: function parse_file(filename) str = readstring(filename) exprs = Any[] pos = 1 while pos <= endof(str) ex, pos = parse(str, pos) push!(exprs, ex) end return exprs end will return an array of the parsed expressions

[julia-users] Re: How to deal with methods redefinition warnings in 0.5?

2016-09-20 Thread Matthieu
+1. I also think they are useless and annoying during interactive sessions. Monday, September 19, 2016 at 5:46:10 PM UTC-4, K leo wrote: > > To me, these methods redefinition warnings are pretty annoying - there are > zillions of them. Why should they be there? Look, when I do a include >

[julia-users] Parsing a Julia file

2016-09-20 Thread Cedric St-Jean
Is there a standard way of parsing a .jl file and getting the AST? Autoreload.jl uses parse(string("begin\n", open(filename) do f; readstring(f) end, "\n end")) but it's not the cleanest, and seems to punt on some files. Cédric

[julia-users] Re: ANN: Julia 0.4.7 released

2016-09-20 Thread Páll Haraldsson
On Tuesday, September 20, 2016 at 6:30:46 AM UTC, Tony Kelman wrote: > > Hello all! The latest bugfix release of the Julia 0.4.x line has been > released. We've been a bit distracted with 0.5 release candidates so this > also took longer than our usual monthly target. This may be the last >

[julia-users] Re: ANN: Julia v0.5.0 released!

2016-09-20 Thread Ján Adamčák
Sorry, my mistake. I Installed old binary... _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "?help" for help. | | | | | | |/ _` | | | | |_| | | | (_| | |

[julia-users] Re: ANN: Julia v0.5.0 released!

2016-09-20 Thread Ján Adamčák
Good Job! Small bug: Julia on Windows choose RC4 folder for install by default!!! Dňa utorok, 20. septembra 2016 11:08:44 UTC+2 Tony Kelman napísal(-a): > > At long last, we can announce the final release of Julia 0.5.0! See the > release notes at >

[julia-users] Re: ANN: Julia v0.5.0 released!

2016-09-20 Thread Patrick Kofod Mogensen
Wonderful, congrats to everyone, and good luck towards v1.0! On Tuesday, September 20, 2016 at 11:08:44 AM UTC+2, Tony Kelman wrote: > > At long last, we can announce the final release of Julia 0.5.0! See the > release notes at > https://github.com/JuliaLang/julia/blob/release-0.5/NEWS.md for

[julia-users] ANN: Julia v0.5.0 released!

2016-09-20 Thread Tony Kelman
At long last, we can announce the final release of Julia 0.5.0! See the release notes at https://github.com/JuliaLang/julia/blob/release-0.5/NEWS.md for more details, and expect a blog post with some highlights within the next few days. Binaries are available from the usual place

[julia-users] Re: Any serious quant finance package for Julia?

2016-09-20 Thread Chris Rackauckas
We're using Julia: packages correctly designed with multiple dispatch (DifferentialEquations.jl, the direction that JuliaML and Optim.jl are going with the iterator interfaces, etc.) allow for these to be extendable: adding a new algorithm is just making a new dispatch or a new type. So if

[julia-users] ANN: Julia 0.4.7 released

2016-09-20 Thread Tony Kelman
Hello all! The latest bugfix release of the Julia 0.4.x line has been released. We've been a bit distracted with 0.5 release candidates so this also took longer than our usual monthly target. This may be the last release of the 0.4 line, unless new issues are brought to our attention that need