[julia-users] Re: ambiguous +(...) definitions between Images and DataArrays

2014-09-23 Thread Jason Merrill
https://github.com/JuliaLang/julia/issues/6190 On Monday, September 22, 2014 10:46:25 PM UTC-7, Don MacMillen wrote: I am seeing ambiguous method definitions when using both the Images and the DataArray packages. I have already done Pkg.update() and Pkg.build(Images) and

Re: [julia-users] Re: ambiguous +(...) definitions between Images and DataArrays

2014-09-23 Thread Don MacMillen
Thanks. (But I was hoping for something simple.) Don On Sep 22, 2014 11:02 PM, Jason Merrill jwmerr...@gmail.com wrote: https://github.com/JuliaLang/julia/issues/6190 On Monday, September 22, 2014 10:46:25 PM UTC-7, Don MacMillen wrote: I am seeing ambiguous method definitions when using

[julia-users] Re: a good IDE for Julia ? (Julia Studio does not work with Julia v 0.3.0)

2014-09-23 Thread Ján Dolinský
Hello, Thanks for another tip. I read a recent post of Stefan Karpinski concerning debugger and IDE and I assume all of these options (LightTable, SublimeText) does not have a debugging capability, right ? Debugging is an important feature :). Thanks, Jan Dňa sobota, 20. septembra 2014

[julia-users] Re: issues with println to file

2014-09-23 Thread Ivar Nesje
Please don't double post your questions https://github.com/JuliaLang/julia/issues/8445. How did you update Julia? http://julialang.org/downloads/ has not yet been updated https://github.com/JuliaLang/julialang.github.com/pull/146 with links to 0.3.1, and your version of Julia identifies itself

Re: [julia-users] Help with eval-free macro

2014-09-23 Thread Ivo Balbaert
Sorry to revive this old thread, but I am trying to understand macros, so please bear with me: When I try to use this example , replacing expr by Expr so the macro becomes: macro dict(syms...) Expr(:dict, { :($(Expr(:quote,s))=$(esc(s))) for s in syms }) end When I now ask for julia r =

Re: [julia-users] Re: ambiguous +(...) definitions between Images and DataArrays

2014-09-23 Thread Tim Holy
Unfortunately, there isn't a simple fix. Someone just has to knuckle down and fix this in julia itself. Until then, tolerate the ambiguity warnings (if they aren't actually relevant for operations you want to perform), or work around then by writing glue code. --Tim On Tuesday, September 23,

Re: [julia-users] Re: issues with println to file

2014-09-23 Thread K Leo
Sorry for double posting. There is nothing special with the print statement. It has been simply: println(file, A, ,, B, ,, C) And with that I usually got: 162038.8,160.2,0.26118204 The update came in today from the julia release PPA for Ubuntu:

Re: [julia-users] Unable to run IJulia after IPython upgrade

2014-09-23 Thread nirinA raseliarison
on Tue, 23 Sep 2014 05:18:40 +0300, Isaiah Norton isaiah.nor...@gmail.com wrote: Try running `Pkg.build(IJulia)` Done: julia Pkg.build(IJulia) INFO: Building Nettle INFO: Building ZMQ INFO: Building IJulia Found IPython version 3.0.0-dev ... ok. Creating julia profile in IPython...

Re: [julia-users] Re: issues with println to file

2014-09-23 Thread K Leo
Removed the binary update and compiled julia from the 0.3.0+6 source. Things become usual. On 2014年09月23日 18:55, K Leo wrote: Sorry for double posting. There is nothing special with the print statement. It has been simply: println(file, A, ,, B, ,, C) And with that I usually got:

[julia-users] windows 7: cutpaste, window widthposition, etc

2014-09-23 Thread Ben Arthur
normally i use mac or linux, but am now having to use windows as well, and have the following questions: 1. i can make the julia repl window taller, but not wider. is the latter possible? 2. i can paste into the julia repl, but not copy anything from it. again, possible? 3. is there any

[julia-users] Re: windows 7: cutpaste, window widthposition, etc

2014-09-23 Thread Johan Sigfrids
The first three questions aren't related to Julia REPL specifically. On Windows when you launch Julia it runs in a command prompt window, so all the normal command prompt stuff applies: you change setting by going to Properties in the drop down menu of the icon in the upper right, and you copy

Re: [julia-users] Re: windows 7: cutpaste, window widthposition, etc

2014-09-23 Thread Leah Hanson
The display of Julia REPL colors is controlled by the settings of the terminal; Julia says this text is blue and the terminal/command prompt decides what that means. I know you can change the terminal color preferences on Linux; I don't know how to do that on Windows. -- Leah On Tue, Sep 23,

Re: [julia-users] Re: Article on `@simd`

2014-09-23 Thread Sebastian Good
Based on this thread, I spent a few days playing around with a toy algorithm in Julia and C++ (trying OpenLC OpenMP), and finally ISPC. My verdict? ISPC is nothing short of magical. While my code was easily parallelizable (working independently on each element of a large array), it was not

Re: [julia-users] Help needed with creating Julia package

2014-09-23 Thread Bill Hart
Sorry for the delay, but I have now added a function to flint which takes the location of the CPimport.txt file (which is in the flint source tree in the qadic directory) at runtime. The function is void flint_set_cpimport(char * path); where path is a full path including filename of the

[julia-users] Backend for PyPlot

2014-09-23 Thread Diego Tapias
For the command: using PyPlot I got a warning and then a error: /usr/local/lib/python2.7/dist-packages/matplotlib-1.5.x-py2.7-linux-x86_64.egg/matplotlib/__init__.py:1282: UserWarning: This call to matplotlib.use() has no effect because the backend has already been chosen; matplotlib.use()

[julia-users] tags not showing up on package master branch

2014-09-23 Thread Tim Holy
This may be a julia (Pkg) question or a plain old git question (if so, sorry). Pkg.checkout(Gtk) Then from the Gtk.jl directory, git log --oneline --decorate shows v0.7.1 as the last tag, which occurred on July 21. Since there have been many commits since then, I thought it was time

[julia-users] PathPatch object in julia with PyPlot

2014-09-23 Thread Diego Tapias
I share a question I did in the stackoverflow forum. http://stackoverflow.com/questions/26001119/pathpatch-object-in-julia-with-pyplot Any comments are welcome. Thank you.

Re: [julia-users] Re: issues with println to file

2014-09-23 Thread Iain Dunning
There was an issue and the unstable nightly version got pushed to juliareleases - should be fixed soon. On Tuesday, September 23, 2014 8:36:13 AM UTC-4, K leo wrote: Removed the binary update and compiled julia from the 0.3.0+6 source. Things become usual. On 2014年09月23日 18:55, K Leo

[julia-users] Re: Backend for PyPlot

2014-09-23 Thread Steven G. Johnson
See https://github.com/stevengj/PyPlot.jl/issues/87

[julia-users] Re: Unable to run IJulia after IPython upgrade

2014-09-23 Thread Steven G. Johnson
Does ipython notebook work? i.e. try running a pure Python notebook. If that fails, the problem is unrelated to Julia.

Re: [julia-users] Re: new REPL

2014-09-23 Thread cdm
perfect ... this is expected to aid the implementation of Julia magics from Sage Notebooks over on SMC {cloud.sagemath.com}. many thanks ! cdm On Monday, September 22, 2014 8:40:55 PM UTC-7, Keno Fischer wrote: No, that's not the right REPL. The one in the terminal is the LineEditREPL.

Re: [julia-users] Re: Article on `@simd`

2014-09-23 Thread Jeff Waller
Could this theoretical thing be approached incrementally? Meaning here's a project and he's some intermediate results and now it's 1.5x faster, and now he's something better and it's 2.7 all the while the goal is apparent but difficult. Or would it kind of be all works or doesn't?

[julia-users] Re: windows 7: cutpaste, window widthposition, etc

2014-09-23 Thread Tony Kelman
We hope to eventually bundle Windows Julia with mintty, a much nicer terminal experience (used by Cygwin and MSYS2) than the default console in Windows. You can run Julia inside mintty right now, but if you are using Cygwin or MSYS2 there are some issues with the package manager not working

Re: [julia-users] Help needed with creating Julia package

2014-09-23 Thread Tony Kelman
Great. Bumping the git version to a51e15e53d636e38c107e48f1d8ec34a932590ab looks like it built okay: https://build.opensuse.org/package/show/home:kelman/mingw32-flint We'll need to adjust Nemo.jl's deps/build.jl script to use BinDeps Autotools/WinRPM providers and library_dependency's instead

Re: [julia-users] Help needed with creating Julia package

2014-09-23 Thread Bill Hart
Thanks for checking that. I'll try to work on those things this weekend. The amount of time I'll have to work on Nemo for the next two months will be smallish, but not completely zero. So we'll get it there eventually. Bill. On 23 September 2014 21:16, Tony Kelman t...@kelman.net wrote:

[julia-users] Re: PathPatch object in julia with PyPlot

2014-09-23 Thread Diego Tapias
I have advanced on my question, but I’m stuck trying to change the properties of a PyObject. Consider the following code: using PyCall @pyimport matplotlib.patches as patch circle=patch.pymember(“Circle”) But when I try circle[:set_radius](1.0) or set!(circle, radius, 1.0) I got an error. Any

[julia-users] Re: windows 7: cutpaste, window widthposition, etc

2014-09-23 Thread Peter Simon
The default Windows terminal is not very good. I am very happy with ConEmu as a replacement, which is highly configurable, and integrates into the Windows Explorer context menu, allowing one to launch a Julia session in a particular directory by right-clicking. --Peter On Tuesday,

Re: [julia-users] Re: issues with println to file

2014-09-23 Thread Elliot Saba
Yes sorry about that. This has now been fixed. Thanks for reporting! -E On Tue, Sep 23, 2014 at 10:39 AM, Iain Dunning iaindunn...@gmail.com wrote: There was an issue and the unstable nightly version got pushed to juliareleases - should be fixed soon. On Tuesday, September 23, 2014

[julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
Dear Julia users, I was trying to use package Distributions, but I got the following error: julia using Distributions Warning: could not import Base.add! into NumericExtensions Warning: could not import Base.add! into PDMats ERROR: Cholesky not defined in include at ./boot.jl:246 in

Re: [julia-users] Re: Unable to run IJulia after IPython upgrade

2014-09-23 Thread nirinA raseliarison
on Tue, 23 Sep 2014 21:14:25 +0300, Steven G. Johnson stevenj@gmail.com wrote: Does ipython notebook work? No, it also hangs. i.e. try running a pure Python notebook. If that fails, the problem is unrelated to Julia. Yes, there is something wrong with my IPython

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Andreas Noack
What do you get from *Pkg.status(Distributions)* Med venlig hilsen Andreas Noack 2014-09-23 17:08 GMT-04:00 Charles Novaes de Santana charles.sant...@gmail.com: Dear Julia users, I was trying to use package Distributions, but I got the following error: julia using Distributions Warning:

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Tim Holy
I assume you're building julia from master. One likely cure is to check out the release-0.3 branch and stick with that. Alternatively, see if you can update Distributions so it works on 0.4-dev. Best --Tim On Tuesday, September 23, 2014 11:08:40 PM Charles Novaes de Santana wrote: Dear Julia

Re: [julia-users] tags not showing up on package master branch

2014-09-23 Thread Jameson Nash
Those tags are on the v0.7 branch, so if you are looking at the history for master, they wouldn't show up On Tuesday, September 23, 2014, Tim Holy tim.h...@gmail.com wrote: This may be a julia (Pkg) question or a plain old git question (if so, sorry). Pkg.checkout(Gtk) Then from the

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
Hi guys, thank you for the quick reply! About my version of Distributions: julia Pkg.status(Distributions) - Distributions 0.4.2 master And, yes, I am building julia from master (the default option, right?). I tried to update Distributions and I got the following

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Andreas Noack
Do you have a reason to have ArrayViews and PDMats fixed? If not try Pkg.free(ArrayViews) and Pkg.free(PDMats) Med venlig hilsen Andreas Noack 2014-09-23 17:51 GMT-04:00 Charles Novaes de Santana charles.sant...@gmail.com: Hi guys, thank you for the quick reply! About my version of

Re: [julia-users] Re: Article on `@simd`

2014-09-23 Thread Arch Robison
Update on 64-bit support for vectorizing loops: The support just went into the Github sources. See https://github.com/JuliaLang/julia/pull/8452 . Though for 3D vectors, those are in need of tuple vectorization. See https://github.com/JuliaLang/julia/pull/6271 for the prototype.

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
Hi again, I don't know why PDMats and ArrayViews are fixed. I don't even know what it means in Julia. Sorry. I tried Pkg.free(ArrayViews) and Pkg.free(PDMats) as you suggested, but I got some errors (below): WARNING: StatsBase is fixed at 0.3.9+ conflicting with requirement for Distributions:

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Andreas Noack
If you are using Julia 0.4 then your packages are in .julia/v0.4 not 0.3. I don't think you should edit any of these files by hand. Somehow your packages have gone into a weird state. I'd just delete the .julia/v0.4 directory and then run Pkg.init();Pkg.add(Distributions) Med venlig hilsen

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Andreas Noack
If you don't want to delete the directory you could try to print the output from Pkg.status() Med venlig hilsen Andreas Noack 2014-09-23 18:19 GMT-04:00 Andreas Noack andreasnoackjen...@gmail.com: If you are using Julia 0.4 then your packages are in .julia/v0.4 not 0.3. I don't think you

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
Great, Andreas!! I have removed my folder .julia and followed your instructions: julia Pkg.init() INFO: Initializing package repository /home/charles/.julia/v0.4 INFO: Cloning METADATA from git://github.com/JuliaLang/METADATA.jl julia Pkg.add(Distributions) INFO: Cloning cache of ArrayViews from

[julia-users] Pretty Printing of Results

2014-09-23 Thread Donald Lacombe
Dear Julia Users, I have been coding various Bayesian spatial econometric models and have a question that is probably very basic but the solution eludes me. I'd like to be able to pretty print the output from the models akin to a standard regression package like so: Direct Effects Variable

[julia-users] Re: windows 7: cutpaste, window widthposition, etc

2014-09-23 Thread Tony Kelman
I evaluated and shared my impressions of ConEmu, cmder, Console2, and mintty a few months back here https://github.com/JuliaLang/julia/issues/7267#issuecomment-47131696. The last libuv bugs that were causing trouble with mintty have been fixed since then. People who want to use ConEmu can of

[julia-users] Re: Pretty Printing of Results

2014-09-23 Thread Jason Knight
Donald, I would enjoy seeing your code once you release it. I'm doing research with Bayesian bioinformatics models using MCMC. You can place all your MCMC samples in a DataFrame and then call describe on it to get a very similar output to what you described. You can also write your own

[julia-users] DataArray Concatenation

2014-09-23 Thread Li Zhang
a=@data([NA,3,5,7,NA,3,7]) i want to do this: b=[NA,a[1:end-1]] but julia says no convert methods. is there anyone know some other ways?