[julia-users] Re: BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-08 Thread Tony Kelman
sounds like the library can't handle out of tree builds? you should also use a local prefix, not a system-wide one that would require sudo.

[julia-users] Re: Representation of a material conditional (implication)

2016-10-08 Thread Kevin Liu
Thanks Fengyang On Saturday, October 8, 2016 at 12:39:42 AM UTC-3, Fengyang Wang wrote: > > As Jussi Piitulainen noted, the ^ operator is backwards, so you need to > wrap it around a function. > > On Friday, October 7, 2016 at 10:05:34 AM UTC-4, Kevin Liu wrote: >> >> *julia>

Re: [julia-users] Re: translating julia

2016-10-08 Thread Ismael Venegas Castelló
I'll leave this references here. Attract more contributors to i18n #428 https://github.com/JuliaLang/julialang.github.com/issues/428 Julia-i18n dashboard https://github.com/Julia-i18n/julia-i18n/projects/1

Re: [julia-users] ANN: RawArray.jl

2016-10-08 Thread Páll Haraldsson
On Monday, September 26, 2016 at 1:59:15 PM UTC, David Smith wrote: > > Hi, Isaiah. This is a valid question. > > 0. As a preface, I'd like to say I'm not trying to replace anything. I > wrote RawArray to solve a problem we have in magnetic resonance imaging > (quickly saving and loading large

[julia-users] Re: Warning since 0.5

2016-10-08 Thread Ralph Smith
By "module file" I just meant a source code file where all definitions are enclosed in modules, so if you "include" it, it replaces the whole module. Thus module M function f(x) x^2 end end then references to M.f are more likely to be consistent than a bare function f defined at the top

[julia-users] Re: How to print an array with the correct shape in 0.5

2016-10-08 Thread Steven G. Johnson
On Friday, October 7, 2016 at 9:30:00 AM UTC-4, spaceLem wrote: > > In Julia 0.4.6 I could print or @show a 2d array, and it would give me a > nicely formatted 2d array > println(reshape(1:4,2,2)) > [1 3 > 2 4] > > However in Julia 0.5 I instead get: > println(reshape(1:4,2,2)) > [1 3; 2 4] >

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-10-08 Thread Steven G. Johnson
There seems to be some breakage right now in Anaconda from their switch from Qt4 to Qt5. Updating to PyCall and PyPlot master, and forcing the Qt4Agg backend (e.g. with ENV["MPLBACKEND"]="Qt4Agg") should work.

[julia-users] Re: Warning since 0.5

2016-10-08 Thread digxx
is f(x)=x^2 not an anonymous function?!?!

[julia-users] Re: Warning since 0.5

2016-10-08 Thread digxx
Maybe one sidenote: So what is the difference between f(x)=x^2 and f=x->x^2 since the last one does not return that warning?

[julia-users] Re: Warning since 0.5

2016-10-08 Thread digxx
Thanks for ur example I'm not that familiar with it but what do u mean by "module files"? Do you have an example and why are they less dangerous?

[julia-users] Re: BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-08 Thread Femto Trader
I tried provides(Sources, URI("http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz;), libta_lib, unpacked_dir="ta-lib") Thanks Tony, it helps me... but I'm still facing build error with Linux and BinDeps (contrary to a simple bash script with ./configure --prefix=/usr make sudo

[julia-users] BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-08 Thread Tony Kelman
Try using the unpacked_dir keyword argument to the Sources provider to tell it the github tarball has a different folder name that it extracts to than its default assumption.

Re: [julia-users] Must we reinstall all packages after updating to v0.5?

2016-10-08 Thread Yichao Yu
On Sat, Oct 8, 2016 at 3:43 PM, wrote: > It worked. Thanks for your advice. Another thing, I observed the previous > version v0.4 folder on the disk. Is there a way to delete it and free up > some space? Well, just delete it and free up the space? A newer version of julia

Re: [julia-users] Must we reinstall all packages after updating to v0.5?

2016-10-08 Thread varun7rs
It worked. Thanks for your advice. Another thing, I observed the previous version v0.4 folder on the disk. Is there a way to delete it and free up some space? On Saturday, 8 October 2016 20:43:57 UTC+2, Yichao Yu wrote: > > On Sat, Oct 8, 2016 at 2:41 PM, Yichao Yu > wrote:

[julia-users] Re: New SPEC - open to Julia[applications]?

2016-10-08 Thread Chris Rackauckas
>From your second link: >- Submissions for the first step in the search program will be >accepted by SPEC beginning 11 November 2008 and ending 30 June 2010 (11:59 >pm, Pacific Standard Time). > > On Saturday, October 8, 2016 at 12:18:53 PM UTC-7, Páll Haraldsson wrote: > > >

[julia-users] New SPEC - open to Julia[applications]?

2016-10-08 Thread Páll Haraldsson
https://www.spec.org/cpuv6/ It would be cool (and publicity) if Julia would make it into SPEC version 6. Anyway, might be of interest to people here. SPEC used C or Fortran last I looked, I see only references to "languages", "C/C++" and "portable": https://www.spec.org/cpuv6/ "SPEC holds

[julia-users] BinDeps / LoadError: Path /home/travis/.julia/v0.5/TALib/deps/src/ta-lib-0.4.0-src was not created successfully

2016-10-08 Thread Femto Trader
Hello, I'm new to BinDeps. I use it in https://github.com/femtotrader/TALib.jl to be able to download / build / install TA-Lib http://ta-lib.org/ I'm able to install this library using OS X and Homebrew without problem see https://travis-ci.org/femtotrader/TALib.jl/jobs/166091755 but with

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-10-08 Thread Ferran Mazzanti
Dear all, sorry for not replying before but I've been very busy lately... Still I wanted to report back here. While I found some of teh previous solutions to work, I finally found out there was a bad interaction between Anaconda's Python and julia. SImply got rid of Anaconda and then

Re: [julia-users] Must we reinstall all packages after updating to v0.5?

2016-10-08 Thread Yichao Yu
On Sat, Oct 8, 2016 at 2:41 PM, Yichao Yu wrote: > On Sat, Oct 8, 2016 at 2:39 PM, wrote: >> Hi, I'm not sure if anyone else has this problem but apparently, after >> updating to v0.5, I can no longer find the packages that I had previously > > This is

Re: [julia-users] Must we reinstall all packages after updating to v0.5?

2016-10-08 Thread Yichao Yu
On Sat, Oct 8, 2016 at 2:39 PM, wrote: > Hi, I'm not sure if anyone else has this problem but apparently, after > updating to v0.5, I can no longer find the packages that I had previously This is expected since packages might use different code on different julia versions

[julia-users] Must we reinstall all packages after updating to v0.5?

2016-10-08 Thread varun7rs
Hi, I'm not sure if anyone else has this problem but apparently, after updating to v0.5, I can no longer find the packages that I had previously installed in v0.4. The console says, argumenterror: Module Statsbase not found in current path. I tried Pkg.status in my pwd and it didn't show any

[julia-users] Zero indexed arrays

2016-10-08 Thread Brian Rogoff
Hi, I saw in the release notes that Julia added support for different array indexing methods. I decided to try my hand at implementing zero indexed vectors, and started with the instructions here http://docs.julialang.org/en/latest/devdocs/offset-arrays/ I found this part of the

[julia-users] Re: Warning since 0.5

2016-10-08 Thread Ralph Smith
The problem is that some Julia processing stores references to definitions in hidden locations which are not updated consistently, so you get inconsistency like this: julia> f(x)=x^2 f (generic function with 1 method) julia> map(f,[1,2,3]) 3-element Array{Int64,1}: 1 4 9 julia>

Re: [julia-users] Re: translating julia

2016-10-08 Thread henri.gir...@gmail.com
Personally I think it's better to have translated web even if it doesn't look professional. I understood that it would be interesting that more people participated to translation ? Milan if you find mistakes of mine (I surely do !) better correcting them I wouldn't be angry... But telling me

[julia-users] Re: translating julia

2016-10-08 Thread Ismael Venegas Castelló
*I got a mail today and I published a response, but I'm not sure why it doesn't show up here, so I'll paste it verbatim:* Hi Milan! Thank you for stating your concern, > but I'm worried that we completely destroy the professional aspect of the website I agree with you but, I think that we

Re: [julia-users] Re: Julia on Research Computing Podcast RCE

2016-10-08 Thread Stefan Karpinski
. Looking forward to hearing the episode! Thanks, Brock. On Wed, Oct 5, 2016 at 6:45 PM, Brock Palen wrote: > Thank you everyone for the support of the podcast. If you have other > topics please let me know off list. > > The Julia episode is up at:

Re: [julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Stefan Karpinski
Good generic API design is one of the hardest problems around. For many problem areas, we just haven't found the right design yet. JuMP is one of the prime examples of brilliant work in this area. Mathematica is the best example of consistent APIs in a language and it's ecosystem because Stephen

Re: [julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Tom Breloff
I think sometimes people go overboard with types, but types allow us to take full advantage of multiple dispatch and abstraction on another level. For example, a diagonal matrix and a full/dense matrix are both the same thing, but if you can dispatch on them differently you can massively improve

Re: [julia-users] How does one read and write a sizeable amount of data (megabytes) from a process?

2016-10-08 Thread Stefan Karpinski
https://github.com/JuliaLang/julia/issues/18840 On Fri, Oct 7, 2016 at 6:26 PM, Eric Davies wrote: > Thanks, I will try both of those. I had tried making smaller pieces before > but I'll try with `Base.process_events(false)`. >

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Tsur Herman
I noticed this also .. and this is why I chose to "rip" some packages for some of its functionality. >From what I observed the problem is the "coolness" of the language and the highly creative level of the package writers. Just as the first post here states the seemingly two advantages , cool

Re: [julia-users] @testset in v0.4 testing?

2016-10-08 Thread Yichao Yu
On Sat, Oct 8, 2016 at 7:19 AM, Andreas Lobinger wrote: > Hello colleagues, > > it's quite nice to structure testing with @testset in v0.5 (and higher), but > it doesn't exist in 0.4. And it's not expected to be backported. > Could Compat be a place for this? Or just build

[julia-users] Re: Warning since 0.5

2016-10-08 Thread digxx
Hey, Thx for ur answer. So The first time I call my program which includes a file with function definitions there is no problem. I do this because with 0.4 parallel loops didnt work with functions which are defined in the same file even though an @everywhere is prefixed. I still dont understand

[julia-users] Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Ismael Venegas Castelló
Just do: sudo pacman -S julia And you are done! :D

[julia-users] Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Ismael Venegas Castelló
I think you are looking for Arch Linux! https://www.archlinux.org/packages/community/x86_64/julia If you need a GUI and easy setup, there are se eral distros that come with a desktop and are based on Arch: https://wiki.archlinux.org/index.php/Arch_based_distributions#Desktop

[julia-users] Trick to use plotlyjs in Atom

2016-10-08 Thread Giuseppe Ragusa
i think in the last versions of Atom the plot will show in the plot pane without the need of tricks.

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Giuseppe Ragusa
it seems a good idea JuliaPraxis. I have been struggling with trying to get consistent naming and having a guide to follow may at least cut short the struggling time.

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Jeffrey Sarnoff
I have created a new Organization on github: *JuliaPraxis.* Everyone who has added to this thread will get an invitation to join, and so contribute. I will set up the site and let you know how do include your wor(l)d views. Anyone else is welcome to post to this thread, and I will send an

[julia-users] Re: Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Femto Trader
Thanks all for your kind answers Le samedi 8 octobre 2016 12:23:00 UTC+2, Femto Trader a écrit : > > Hello, > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under VirtualBox) > that have Julia 0.5.0 support (out of the box) > > Even

[julia-users] @testset in v0.4 testing?

2016-10-08 Thread Andreas Lobinger
Hello colleagues, it's quite nice to structure testing with @testset in v0.5 (and higher), but it doesn't exist in 0.4. And it's not expected to be backported. Could Compat be a place for this? Or just build two blocks (>0.4 and <= v0.4) in runtests.jl ?

[julia-users] Re: Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Páll Haraldsson
On Saturday, October 8, 2016 at 10:23:00 AM UTC, Femto Trader wrote: > > Hello, > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under VirtualBox) > that have Julia 0.5.0 support (out of the box) > > Even Debian Sid is 0.4.7 (October

Re: [julia-users] Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Milan Bouchet-Valat
Le samedi 08 octobre 2016 à 03:23 -0700, Femto Trader a écrit : > Hello, > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under > VirtualBox) > that have Julia 0.5.0 support (out of the box) > > Even Debian Sid is 0.4.7 (October

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Chris Rackauckas
Conventions would have to be arrived at before this is possible. On Saturday, October 8, 2016 at 3:39:55 AM UTC-7, Traktor Toni wrote: > > In my opinion the solutions to this are very clear, or would be: > > 1. make a mandatory linter for all julia code > 2. julia IDEs should offer good

[julia-users] Re: Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Andreas Lobinger
Hello colleague, On Saturday, October 8, 2016 at 12:23:00 PM UTC+2, Femto Trader wrote: > > my main development environment is under Mac OS X > but I'm looking for a Linux distribution (that I will run under VirtualBox) > that have Julia 0.5.0 support (out of the box) > > Even Debian Sid is 0.4.7

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Traktor Toni
In my opinion the solutions to this are very clear, or would be: 1. make a mandatory linter for all julia code 2. julia IDEs should offer good intellisense Am Freitag, 7. Oktober 2016 17:35:46 UTC+2 schrieb Gabriel Gellner: > > Something that I have been noticing, as I convert more of my

[julia-users] Linux distributions with Julia >= 0.5.0

2016-10-08 Thread Femto Trader
Hello, my main development environment is under Mac OS X but I'm looking for a Linux distribution (that I will run under VirtualBox) that have Julia 0.5.0 support (out of the box) Even Debian Sid is 0.4.7 (October 8th, 2016) https://packages.debian.org/fr/sid/julia So what Linux distribution

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Chris Rackauckas
Create a repo where we can all bikeshed different names, agree upon some, and then standardize. I honestly don't care which conventions are chosen and will just find/replace with whatever people want, but there has to be a "whatever people want" to do that. On Saturday, October 8, 2016 at

[julia-users] Getting variable names of function though the AST?

2016-10-08 Thread Jon Norberg
I should have added that growthV was a function Function growthV(s,f) Return s+f+q End An i am looking to get a list containing s, f and q

Re: [julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread Milan Bouchet-Valat
Le samedi 08 octobre 2016 à 01:47 -0700, jonathan.bie...@alumni.epfl.ch a écrit : > Maybe an "easy" first step would be to have a page (a github repo) > containing domain specific naming conventions (atol/abstol) that > package > developers can look up. Even though existing packages might not

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread jonathan . bieler
Maybe an "easy" first step would be to have a page (a github repo) containing domain specific naming conventions (atol/abstol) that package developers can look up. Even though existing packages might not adopt them, at least newly created ones would have a chance to be more consistent. You could

[julia-users] Re: multiple dispatch for operators

2016-10-08 Thread Sisyphuss
The multiplication maybe is not the best example. Actually, I wanted to say "addition". I wanted that my operator `+` works for: 1) np.ndarray + np.ndarray 2) np.ndarray + LRmatrix 3) LRmatrix + np.ndarray 4) LRmatrix + LRmatrix 1) is a part of Numpy. 3) and 4) can be implemented by

[julia-users] Re: multiple dispatch for operators

2016-10-08 Thread Sisyphuss
You mean: def mydot(A,B): if isinstance(A, np.ndarray) and isinstance(B, np.ndarray): return np.dot(A, B) else: # mycode ? Maybe you are right. Since I can't overload `np.dot`, maybe the neater way is to write a higher level function and then delegate the work by

Re: [julia-users] Re: multiple dispatch for operators

2016-10-08 Thread Sisyphuss
No, no, no, I am expert of neither language. I sincerely want to learn the difference between these 2 languages. This will help me better understand both Python and Julia. On Friday, October 7, 2016 at 9:41:43 PM UTC+2, Stefan Karpinski wrote: > > I think you're asking on the wrong list :P > >