Re: [julia-users] How to tell if Val{T} is using a fast route

2016-11-16 Thread Chris Rackauckas
The top level scope of a module is still a global (interactive scope). On Wednesday, November 16, 2016 at 7:59:04 AM UTC-8, FANG Colin wrote: > > Typo, should be > > module ... > > ff(x::Type{Val{1}}) = 1 > > x = 1 > a = ff(Val{x}) > > const y = 1 > a = ff(Val{y}) > > end > >> >>

[julia-users] Re: Use of special characters in labels of plots.jl

2016-11-16 Thread Chris Rackauckas
Use LaTeXStrings.jl's L_str macro: L"$10^{10}" I know this works with the PyPlot backend, and I think GR. On Wednesday, November 16, 2016 at 4:37:16 AM UTC-8, Ferran Mazzanti wrote: > > ...and please notice that I'm not looking for explicit LaTeX suppport. > Just wanted to know if there is

[julia-users] Re: Sharing experience on packages

2016-11-15 Thread Chris Rackauckas
For now, stars are the best bad measurement we have. On Tuesday, November 15, 2016 at 8:05:16 AM UTC-8, Jérôme Collet wrote: > > Hi all, > > > I am new to Julia, I used to use R. And using R packages, the main > difficulty for me is the choice of a package for a given task. Most of the > time,

[julia-users] Re: PSA: Documenter.jl deprecations

2016-11-03 Thread Chris Rackauckas
Once again, thank you very much for this change! It's highly appreciated by those of us who are unfamiliar with gem, Ruby, travis, and the whole install feature. As you know, I gave this new access token setup a go and had it working in minutes with no extra software to install. Just generate

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

2016-11-03 Thread Chris Rackauckas
Nice work! On Wednesday, November 2, 2016 at 1:14:06 PM UTC-7, Michael Hatherly wrote: > > I’m pleased to announce the initial 0.1 release of Highlights.jl > — a Julia package for > highlighting source code similar to the well-known Python package

Re: [julia-users] Re: Fast vector element-wise multiplication

2016-11-02 Thread Chris Rackauckas
don't think they can fuse. On Tuesday, November 1, 2016 at 8:06:12 PM UTC-7, Sheehan Olver wrote: > > Ah thanks! > > Though I guess if I want the same code to work also on a GPU array then > this won't help? > > Sent from my iPhone > > On 2 Nov. 2016, at 13:51, Chris Ra

Re: [julia-users] Re: Fast vector element-wise multiplication

2016-11-01 Thread Chris Rackauckas
; On Tue, Nov 1, 2016 at 10:06 PM, Sheehan Olver <dlfiv...@gmail.com > > wrote: > >> Ah, good point. Though I guess that won't work til 0.6 since .* won't >> auto-fuse yet? >> >> Sent from my iPhone >> >> On 2 Nov. 2016, at 12:55, Chris Rackauck

[julia-users] Re: Fast vector element-wise multiplication

2016-11-01 Thread Chris Rackauckas
This is pretty much obsolete by the . fusing changes: A .= A.*B should be an in-place update of A scaled by B (Tomas' solution). On Tuesday, November 1, 2016 at 4:39:15 PM UTC-7, Sheehan Olver wrote: > > Should this be added to a package? I imagine if the arrays are on the GPU > (AFArrays)

Re: [julia-users] inconsistent 'unique' in Atom

2016-10-31 Thread Chris Rackauckas
Just click on the number and it will expand it. On Sunday, October 30, 2016 at 7:28:47 PM UTC-7, missp...@gmail.com wrote: > > Hi Yichao, > > thanks a lot, > it does display it correctly if I use dump, but it's annoying that Atom is > inconsistent while displaying the results > > thanks a lot,

[julia-users] Re: Changing label fontsize in Plots.jl

2016-10-31 Thread Chris Rackauckas
Wonderful to see the learning process in action haha. For future reference, to see which commands are available in which packages, you can check the supported attributes page of the documentation. On Monday, October 31, 2016 at 3:05:30 PM UTC-7, Nitin

[julia-users] Re: What's julia's answer to tapply or accumarray?

2016-10-31 Thread Chris Rackauckas
For reference I've been gathering these kinds of "vectorized" functions in, well, VectorizedRoutines.jl . I am just trying to get an implementation of all of those vectorized routines you know and love since, in some cases, they lead to

[julia-users] Re: Cost of @view and reshape

2016-10-30 Thread Chris Rackauckas
reshape makes a view, and views are cheap. Don't worry about this. BTW, I would love to add a collocation method to JuliaDiffEq. Would you consider making this a package? On Sunday, October 30, 2016 at 3:52:37 AM UTC-7, Alexey Cherkaev wrote: > > I'm writing RadauIIA (for now, fixed order 5

[julia-users] Re: 3D plot (Plots)

2016-10-29 Thread Chris Rackauckas
Plotly/PlotlyJS can also do some 3d. So can GR. Just look at the chart of supported attributes: https://juliaplots.github.io/supported/ On Saturday, October 29, 2016 at 5:29:06 PM UTC-7, Sheehan Olver wrote: > > surface(x,y,z) > > (or maybe surface(x,y,z')). > > Note that if x and y are matrices

[julia-users] Re: Defining a type that inherits methods

2016-10-29 Thread Chris Rackauckas
Functions shouldn't be written for concrete types and instead for abstract types. If you write your function for AbstractMatrix and then make your type <: AbstractMatrix, this will work naturally. Making the type declarations on a function too strict doesn't help performance anyways. On

[julia-users] Re: so many plotting packages

2016-10-28 Thread Chris Rackauckas
Just use Plots.jl. JuliaPlots and Plots.jl is essentially a metapackage/org which puts this all together into one convenient package. It works very well and should be recommended as the standard plotting package to almost everyone. On Friday, October 28, 2016 at 12:17:56 PM UTC-7, Ben Arthur

[julia-users] Re: ANN: ParallelAccelerator v0.2 for Julia 0.5 released.

2016-10-28 Thread Chris Rackauckas
ential to be a lot easier to use particularly for scientific > programmers who are more scientist than programmer. In general, I feel > there is room for all approaches to be supported across a range of > programming ability. > > On Thursday, October 27, 2016 at 10:47:57

[julia-users] Re: ANN: ParallelAccelerator v0.2 for Julia 0.5 released.

2016-10-27 Thread Chris Rackauckas
Thank you for all of your amazing work. I will be giving v0.2 a try soon. But I have two questions: 1) How do you see ParallelAccelerator integrating with packages? I asked this in the chatroom, but I think having it here might be helpful for others to chime in. If I want to use

[julia-users] Re: Status of Plots.jl?

2016-10-16 Thread Chris Rackauckas
using Plots #Pkg.add("GR") gr() # Change the backend plot(rand(4,4)) There's a bug with the plot pane where you might need to hit it twice. If that's not working, then it's not setup correctly. On Sunday, October 16, 2016 at 9:45:07 AM UTC-7, missp...@gmail.com wrote: > > Hi folks, > > I don't

[julia-users] Re: matrix multiplication in Matlab is much faster

2016-10-16 Thread Chris Rackauckas
Take a look at the performance tips . The first time you run it, the function will compile. Then the compiled function is cached. On my computer I did: a = rand(1000,1000) y=similar(a) @time a*a @time a*a @time

[julia-users] Re: Root finding package

2016-10-15 Thread Chris Rackauckas
I don't know if NLsolve handles complex roots but I've always found it to be very good. Maybe you can just act like the problem is on a vector of two points (the real and imaginary parts) and solve for where the norm of f(x) is zero. On Saturday, October 15, 2016 at 4:56:23 PM UTC-7, digxx

Re: [julia-users] Re: Setting/getting field-like members with side effects

2016-10-09 Thread Chris Rackauckas
with a lot > less headaches for students I hope), but rewriting the entire framework is > just too much work right now, so I think we are stuck with this overall > structure for the time being. > > On Sun, Oct 9, 2016 at 9:13 PM Chris Rackauckas <rack...@gmail.com > > wrote

[julia-users] Re: Setting/getting field-like members with side effects

2016-10-09 Thread Chris Rackauckas
Missed that one, though it should be mysolver[:linear_system][:parameters][:solver_type] = :GMRES There's no reason for an algorithm choice to be a String. But this entire thing seems wrong-headed. The choice of the solver method should likely be done by dispatching on the solve method

Re: [julia-users] Re: macro: with

2016-10-09 Thread Chris Rackauckas
g like this in Parameters. > > On Sun, Oct 9, 2016 at 1:27 PM, Chris Rackauckas <rack...@gmail.com > > wrote: > >> What about Parameters.jl <https://github.com/mauro3/Parameters.jl>? >> >> >> On Wednesday, September 7, 2016 at 7:23:47 AM UTC-7, Tom Breloff wrote:

[julia-users] Re: Setting/getting field-like members with side effects

2016-10-09 Thread Chris Rackauckas
Why not use Symbols instead of strings here? On Sunday, October 9, 2016 at 8:26:57 AM UTC-7, Bart Janssens wrote: > > Hi all, > > I'm thinking about how to translate a Python interface that makes > extensive use of __getattr__ and __setattr__ overloading to allow chaining > a series of option

[julia-users] Re: macro: with

2016-10-09 Thread Chris Rackauckas
What about Parameters.jl ? On Wednesday, September 7, 2016 at 7:23:47 AM UTC-7, Tom Breloff wrote: > > Hey all... I just threw together a quick macro to save some typing when > working with the fields of an object. Disclaimer: this should not be used >

[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] 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: 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] New Julia-Focused Blog: Pkg Update

2016-10-06 Thread Chris Rackauckas
Hey, I am happy to announce Pkg Update, a new blog focused on summarizing the large changes throughout the Julia package ecosystem. As I feel it's always easier to get people involved once you already have things up and running, I went ahead and created the first blog post

[julia-users] Re: Julia vs Seed7, why languages succeed or fail

2016-10-05 Thread Chris Rackauckas
Who's the audience for Seed7? I googled Seed7 BLAS, Seed7 Linpack, Seed7 FFT and nothing came up. So a large portion of Julia users are not the Seed7 audience. To me, there is almost no similarity between Julia and Seed7, even if the syntax or features were similar. But for the reasons you

[julia-users] Re: multiple processes question

2016-10-05 Thread Chris Rackauckas
See this blog post . If your code is perfectly efficient, yes then processes equal to the number of cores (so for something like BLAS where it's written as the most efficient threaded algorithms you could image). But for your simple homework

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-03 Thread Chris Rackauckas
Thanks for the suggestion. For some reason I never checked to see if there were other GUIs, but once you mentioned it I did quite a bit of Googling. I am now using GitKraken and while it will take a bit to get used to, it's already improving my productivity. Thanks for the suggestion. On

[julia-users] Re: View (a portion of a) vector as a matrix

2016-10-02 Thread Chris Rackauckas
Fengyang's reshape((@view x[1:6]), (3, 2)) will work well and will be essentially cost-free since reshape creates a view, and a view of a view is still just a view (no copy). Another way to write it is reshape(view(x,1:6), (3, 2)). For example: function f(t,u,du) x = reshape(view(x,1:6), (3,

[julia-users] Re: Changing Repositories Without Deleting METADATA

2016-10-02 Thread Chris Rackauckas
l request from Github's ui. > > On Sunday, 2 October 2016 18:01:28 UTC+1, Chris Rackauckas wrote: >> >> Does anyone have a good way to change repositories? A common example for >> me is, Sundials is in JuliaDiffEq, so I fork it to my Github account for an >> ext

[julia-users] Changing Repositories Without Deleting METADATA

2016-10-02 Thread Chris Rackauckas
Does anyone have a good way to change repositories? A common example for me is, Sundials is in JuliaDiffEq, so I fork it to my Github account for an extended PR, but to work on it I need to remove my current Sundials install and clone from my own repository. However, METADATA does not like this

[julia-users] ANN: ParallelDataTransfer.jl

2016-10-02 Thread Chris Rackauckas
ParallelDataTransfer.jl is a library for sending and receiving data among processes defined using Julia's parallel computing framework. This library can be used to: - Send variables to worker processes - Directly define

[julia-users] Re: ANN: CUDAdrv.jl, and CUDA.jl deprecation

2016-09-30 Thread Chris Rackauckas
Thanks for the update. On Thursday, September 29, 2016 at 6:31:29 PM UTC-7, Tim Besard wrote: > > Hi all, > > CUDAdrv.jl is Julia wrapper for > the CUDA driver API -- not to be confused with its counterpart CUDArt.jl >

[julia-users] Southern California Julia Users Kickoff Meeting - October 7th

2016-09-28 Thread Chris Rackauckas
Hello, We are excited to announce a kickoff meeting for the Southern California Julia Users on October 7th at 6PM at UCLA (Engineering 4). There will be presentations by local Julia users showcasing their work. If you are interested in presenting, please let us know through email, Gitter, or

Re: [julia-users] Re: [ANN] UnicodeFun

2016-09-28 Thread Chris Rackauckas
what about the other direction? It would be a sick to write symbolic code for SymEngine or SymPy in that unicode form, and have it convert to the appropriate code. On Wednesday, September 28, 2016 at 6:43:48 AM UTC-7, Simon Danisch wrote: > > That's the short form which works with

Re: [julia-users] Re: Why does Julia 0.5 keep complaining about method re-definitions?

2016-09-27 Thread Chris Rackauckas
You could've just used Suppressor.jl ... On Tuesday, September 27, 2016 at 9:55:53 PM UTC-7, K leo wrote: > > > On Wednesday, September 28, 2016 at 12:53:12 PM UTC+8, K leo wrote: >> >> This a very heavy install. It's fetching tons of things that I

[julia-users] Re: Why does Julia 0.5 keep complaining about method re-definitions?

2016-09-27 Thread Chris Rackauckas
Or just a standard way to suppress warnings of a given type (say, surpress("MethodDefinition")). For now, Suppressor.jl does well. On Tuesday, September 27, 2016 at 12:13:00 PM UTC-7, Andrew wrote: > > It seems like a lot of people are complaining

[julia-users] Re: PkgDev.tag issues

2016-09-27 Thread Chris Rackauckas
It happened to me as well when I tagged yesterday. I just changed computers over to Linux... v0.5 Windows 10. On Monday, September 26, 2016 at 8:26:00 PM UTC-7, Tony Kelman wrote: > > The "no changes to commit" issue sounds like > https://github.com/JuliaLang/PkgDev.jl/issues/28 >

[julia-users] Re: Benchmarking Julia

2016-09-27 Thread Chris Rackauckas
Is your code still type-stable and the type are inferred correctly? There are some type-inference issues that came up when I transitioned a lot of things to v0.5. After I got rid of those, the performance on v0.5 ended up being a bit better (most likely due to -O3 optimization). I transitioned

[julia-users] Re: Is there a way to download a copy of Plots' documentation?

2016-09-25 Thread Chris Rackauckas
You have to do what Sundara describes. This is a limitation of Documenter.jl with the mkdocs render. That would be a feature request for Documenter.jl . I think it's planned for the new native renderer, but I couldn't find the issue (and Plots would

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

2016-09-22 Thread Chris Rackauckas
-mcpu=haswell and > function attribute unsafe-fp-math=true. > > > > > -erik > > > > On Wed, Sep 21, 2016 at 9:33 PM, Yichao Yu <yyc...@gmail.com > > wrote: > >> > >> On Wed, Sep 21, 2016 at 9:29 PM, Erik Schnetter <schn...@gmail

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

2016-09-21 Thread Chris Rackauckas
m0, %xmm0 movabsq $568231040, %rax# imm = 0x21DE8480 vaddsd (%rax), %xmm0, %xmm0 popq%rbp retq nopw%cs:(%rax,%rax) On Wednesday, September 21, 2016 at 6:29:44 PM UTC-7, Erik Schnetter wrote: > > On Wed, Sep 21, 2016 at 9:22 PM, Chris R

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

2016-09-21 Thread Chris Rackauckas
think that should be highlighted somewhere. On Wednesday, September 21, 2016 at 12:11:34 PM UTC-7, Milan Bouchet-Valat wrote: > > Le mercredi 21 septembre 2016 à 11:36 -0700, Chris Rackauckas a écrit : > > The Windows one is using the pre-built binary. The Linux one uses the > &g

[julia-users] Re: Plotting lots of data

2016-09-21 Thread Chris Rackauckas
so my hint is to give the GR backend a try if you're ever in a similar case. On Wednesday, September 21, 2016 at 11:54:11 AM UTC-7, Andreas Lobinger wrote: > > Hello colleague, > > On Wednesday, September 21, 2016 at 8:34:21 PM UTC+2, Chris Rackauckas > wrote: >> >> I've manag

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

2016-09-21 Thread Chris Rackauckas
The Windows one is using the pre-built binary. The Linux one uses the COPR nightly (I assume that should build with all the goodies?) On Wednesday, September 21, 2016 at 9:00:02 AM UTC-7, Simon Byrne wrote: > > On Wednesday, 21 September 2016 06:56:45 UTC+1, Chris Rackauckas wrote: &g

[julia-users] Re: Plotting lots of data

2016-09-21 Thread Chris Rackauckas
I've managed to plot quite a few large datasets. GR through Plots.jl works very well for this. I tend to still prefer the defaults of PyPlot, but GR is just so much faster that I switch the backend whenever the amount of data gets unruly (larger than like 5-10GB, and it's worked to save a

[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: 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: Any serious quant finance package for Julia?

2016-09-20 Thread Chris Rackauckas
ng > numerical algorithms. If that's not the case here than so much the better. > > On Monday, September 19, 2016 at 9:45:13 PM UTC-7, Chris Rackauckas wrote: >> >> If you implement an optimization routine for a specific type of >> functions, why not have that maintained

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

2016-09-19 Thread Chris Rackauckas
ex vs numerical vs global vs etc. > > And, as always, some optimization algorithms will have to be custom rolled > out since established packages will never have everything you need exactly > as you need it. > > On Monday, September 19, 2016 at 7:29:30 PM UTC-7, Chris Rac

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

2016-09-19 Thread Chris Rackauckas
in Julia. I haven't given it much love lately, > but I hope to pick it back up sometime soon. Anyone who wants to join in > is definitely welcome! > > Chris > > On Saturday, September 17, 2016 at 11:28:36 AM UTC-4, Chris Rackauckas > wrote: >> >> Thanks Femto Trad

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

2016-09-17 Thread Chris Rackauckas
Thanks Femto Trader for bumping this. I took a quick look at Quantlib (and Ito) and I have to say, their numerical methods are very rudimentary (in fact, one of their methods for stochastic processes, EndPointEuler, doesn't have finite moments for its error due to KPS 1994...). For anything

[julia-users] Re: Idea: Julia Standard Libraries and Distributions

2016-09-16 Thread Chris Rackauckas
I think some of this I just answered here: https://github.com/JuliaLang/julia/issues/18389 . Here's a quote: I think a good way to go forward is to start making some metapackages held > by the Julia orgs. For example, FFT could move out of Base into JuliaMath, > and there can be a standard

[julia-users] Re: How would you use Julia in a real world R Setup ?

2016-09-16 Thread Chris Rackauckas
The tooling for debugging is still growing. Gallium.jl with Juno is nice, but I still do a lot of println debugging. As Gallium/Juno matures I use it more and more often. To make sure you're not using old versions, quit the REPL. In Juno, that's Ctrl+j Ctrl+k. You can hit that command almost

[julia-users] Re: How would you use Julia in a real world R Setup ?

2016-09-15 Thread Chris Rackauckas
I don't know what you mean by "real world R" because that could mean anything. But as my main project has grown, here are a few tips I wish I knew when I started (some of these are scientific computing / data science centric): 1. If you're doing anything complicated with a piece of data, make

[julia-users] Re: Fused broadcasting?

2016-09-15 Thread Chris Rackauckas
Ahh, last time I checked I must've accidentally been on the v0.4 docs. Here it is: http://docs.julialang.org/en/latest/manual/functions/?highlight=fused On Thursday, September 15, 2016 at 2:24:35 PM UTC-7, Steven G. Johnson wrote: > > It's in the manual. Search the 0.5 manual for "vectorized"

[julia-users] Re: Fused broadcasting?

2016-09-15 Thread Chris Rackauckas
https://github.com/JuliaLang/julia/blob/master/NEWS.md v0.5 section. With the issues: https://github.com/JuliaLang/julia/pull/15032 https://github.com/JuliaLang/julia/pull/17300 https://github.com/JuliaLang/julia/pull/17510 It probably needs to be documented. On Thursday, September 15, 2016 at

Re: [julia-users] Re: Idea: Julia Standard Libraries and Distributions

2016-09-14 Thread Chris Rackauckas
both packages plot # 3 methods solve # 7 methods On Wednesday, September 14, 2016 at 3:01:34 PM UTC-7, Mosè Giordano wrote: > > 2016-09-14 23:46 GMT+02:00 Chris Rackauckas: > > I too am weary about how different distributions would play together. > I'd > > assume you'd

[julia-users] Re: Idea: Julia Standard Libraries and Distributions

2016-09-14 Thread Chris Rackauckas
I didn't think about using metapackages instead to do "distributions" (with Reexport.jl to make using Metapackage import all of the packages). That seems like an interesting idea. I too am weary about how different distributions would play together. I'd assume you'd just install with one and

[julia-users] Re: Pkg.add() works fine while Pkg.update() doesn't over https instead of git

2016-09-14 Thread Chris Rackauckas
+1000 for the REQUIRE hack. Never knew about that. Be careful to save the packages you've been working on (or just commit and push somewhere) if you do this though. On Wednesday, September 14, 2016 at 10:02:22 AM UTC-7, David P. Sanders wrote: > > > I am a fan of deleting the entire .julia

Re: [julia-users] Re: Curious parsing behavior

2016-09-14 Thread Chris Rackauckas
Some are unavoidable: [1 -2] vs [1 - 2] (though I think there should be a row-concatenation operator, like ; does column-concatenation. That would stop this problem). On Wednesday, September 14, 2016 at 10:01:07 AM UTC-7, Erik Schnetter wrote: > > There was a talk at JuliaCon suggesting that

[julia-users] Re: Pkg.add() works fine while Pkg.update() doesn't over https instead of git

2016-09-14 Thread Chris Rackauckas
If git stash doesn't work, you can always go nuclear and delete your METADATA folder, along with META_BRANCH and REQUIRE. Then when you Pkg.update() it will install a new METADATA and basically try again, but I think this will delete all of your installed packages so it really is a

Re: [julia-users] ls()?

2016-09-14 Thread Chris Rackauckas
gt; silly, but it's just syntax. >> >> I thought it might be an idea to stick with POSIX standards. >> >> On Wednesday, September 14, 2016 at 4:40:03 PM UTC+1, Chris Rackauckas >> wrote: >>> >>> >>> >>> On Wednesday, September 14, 2016 a

[julia-users] Re: [ANN]New package RFlavor.jl provides R-like functions

2016-09-14 Thread Chris Rackauckas
We may want to combine efforts. I have VectorizedRoutines.jl for this with a slightly larger scope (I don't know if it's the right name though). On Wednesday, September 14, 2016 at 8:12:21 AM UTC-7, Lanfeng Pan wrote: > > Hi all, > > To

Re: [julia-users] ls()?

2016-09-14 Thread Chris Rackauckas
You can find a thread/issue where this is discussed. Some group decided to call it readdir() and like it more. I just got used to it. I think it's silly, but it's just syntax. On Wednesday, September 14, 2016 at 7:36:18 AM UTC-7, Jacob Quinn wrote: > > readdir() > > On Wed, Sep 14, 2016 at 8:34

Re: [julia-users] Re: Julia Users and First Customers

2016-09-13 Thread Chris Rackauckas
ator that the ecosystem may be a little rough > around the edges. Once Julia 0.5 is out, there will be a stable version of > Juno released to go with it. > > On Tue, Sep 13, 2016 at 1:19 PM, Chris Rackauckas <rack...@gmail.com > > wrote: > >> I agree that there are some q

[julia-users] Re: 1st try julia, 2/3 speed of python/c++

2016-09-13 Thread Chris Rackauckas
range is a single scalar value? Are > you > suggesting I want an Array{range}? > > Chris Rackauckas wrote: > > > Do you need to use an array? That sounds better suited for a range. > > > > On Tuesday, September 13, 2016 at 10:24:15 AM UTC-7, Neal Becker wro

[julia-users] Re: 1st try julia, 2/3 speed of python/c++

2016-09-13 Thread Chris Rackauckas
Do you need to use an array? That sounds better suited for a range. On Tuesday, September 13, 2016 at 10:24:15 AM UTC-7, Neal Becker wrote: > > Steven G. Johnson wrote: > > > > > > > > > On Monday, September 12, 2016 at 7:32:48 AM UTC-4, Neal Becker wrote: > >> > >> PnSeq.jl calls rand() to

Re: [julia-users] Re: Julia Users and First Customers

2016-09-13 Thread Chris Rackauckas
julia > versions.” Or something like that. > > > > Cheers, > > David > > > > -- > > David Anthoff > > University of California, Berkeley > > > > http://www.david-anthoff.com > > > > > > *From:* julia...@googlegroups.

[julia-users] Re: Pkg.add() works fine while Pkg.update() doesn't over https instead of git

2016-09-13 Thread Chris Rackauckas
You modified your METADATA. Did you make a package or something? The easiest thing to do would be to go to the v0.4/METADATA folder and use `git stash`. However, this will stash any of the changes you made. Did you make these changes for a reason, like you want to publish a new release for a

[julia-users] Re: Julia Users and First Customers

2016-09-13 Thread Chris Rackauckas
1. Jeff Bezanson and Stefan Karpinski. I kid (though that's true). It's the group of MIT students who made it. You can track the early issues and kind of see who's involved. Very early on that's probably a good

[julia-users] Re: Vector Field operators (gradient, divergence, curl) in Julia

2016-09-13 Thread Chris Rackauckas
For gradients, check out ForwardDiff. It'll give you really fast calculations. On Tuesday, September 13, 2016 at 4:29:59 AM UTC-7, MLicer wrote: > > Dear all, > > i am wondering if there exists Julia N-dimensional equivalents to Numpy > vector field operators like gradient, divergence and curl,

[julia-users] Idea: Julia Standard Libraries and Distributions

2016-09-13 Thread Chris Rackauckas
I think one major point of contention when talking about what should be included in Base due to competing factors: 1. Some people would like a "lean Base" for things like embedded installs or other low memory applications 2. Some people want a MATLAB-like "bells and whistles"

[julia-users] Re: Juno workspace variable display.

2016-09-12 Thread Chris Rackauckas
I can confirm that works. Wow, never knew that was there. It should be added to the menu. Maybe it's still considered experimental. On Monday, September 12, 2016 at 4:27:52 PM UTC-7, Uwe Fechner wrote: > > It works for me: > Try to open the command palette (Cmd-Shift-P on mac, I guess

[julia-users] JuliaDiffEq Logo Poll

2016-09-12 Thread Chris Rackauckas
Sometime last week I threw up a logo idea, and a ton of other really cool ideas followed. Now that we have so many awesome choices due to a previous thread , it's hard to pick. Help us choose the JuliaDiffEq logo by going to this issue

[julia-users] Re: Juno workspace variable display.

2016-09-12 Thread Chris Rackauckas
I don't think it's available yet. This might be something you might want to file a request for by opening an issue. On Monday, September 12, 2016 at 2:46:31 PM UTC-7, Patrick Belliveau wrote: > > Hi all, > In his JuliaCon 2016 talk > on

Re: [julia-users] code design question – best ideomatic way to define nested types?

2016-09-12 Thread Chris Rackauckas
– which is complete and can > be instantiated – from the abstract type, which is incomplete and can be > subtyped. > > On Mon, Sep 12, 2016 at 3:17 PM, Chris Rackauckas <rack...@gmail.com > > wrote: > >> https://en.wikipedia.org/wiki/Composition_over_inheritance >

[julia-users] Re: can someone help me read julia's memory footprint on this cluster? [SGE]

2016-09-12 Thread Chris Rackauckas
For SGE, a lot of systems let you ssh into the node and use htop. That will show you a lot of information about the node, and can help you find out which process is using up what about of memory (note, this check only works in real-time so your computational has to be long enough). On Monday,

Re: [julia-users] code design question – best ideomatic way to define nested types?

2016-09-12 Thread Chris Rackauckas
https://en.wikipedia.org/wiki/Composition_over_inheritance http://programmers.stackexchange.com/questions/134097/why-should-i-prefer-composition-over-inheritance https://www.thoughtworks.com/insights/blog/composition-vs-inheritance-how-choose That's just the start. Overtime, people realized

[julia-users] Re: Suggestion regarding valuable Youtube videos related to Julia learning

2016-09-12 Thread Chris Rackauckas
I think we should setup something for video tutorials, like the JuliaBlogger community except for Youtube (is there such a thing as Youtube aggregating?). I plan on doing some tutorials on "Plotting with Plots.jl in Juno", "Solving ODEs with DifferentialEquations.jl", "Using Julia's Pkg with

Re: [julia-users] Want to contribute to Julia

2016-09-12 Thread Chris Rackauckas
I would say start with the package ecosystem. Almost nothing in Julia Base is really first-class or special, so almost anything can contribute to Julia via packages. For example, things like Traits and VML bindings

[julia-users] Re: Help on building Julia with Intel MKL on Windows?

2016-09-12 Thread Chris Rackauckas
You just do what it says here: https://github.com/JuliaLang/julia. Then you can replace a lot of the functions using VML.jl On Sunday, September 11, 2016 at 10:35:35 PM UTC-7, Zhong Pan wrote: > > Anybody knows how to build Julia with Intel MKL on Windows?

Re: [julia-users] Re: ProfileView not compatible with julia-0.5?

2016-09-11 Thread Chris Rackauckas
ck: Icon 'document-open' not present in theme > Adwaita > > > (:53358): Gtk-WARNING **: Error loading theme icon > 'document-save-as' for stock: Icon 'document-save-as' not present in > theme Await > > > # and many more lines like that. > > > > > On Sunday,

Re: [julia-users] Re: ProfileView not compatible with julia-0.5?

2016-09-11 Thread Chris Rackauckas
in REPL and NB ? > > On Sunday, 11 September 2016 02:08:53 UTC+1, Chris Rackauckas wrote: >> >> Is this after updating? Do you also have an error when you do it from the >> REPL? >> >> On Saturday, September 10, 2016 at 2:34:03 PM UTC-7, Christoph Ortner

Re: [julia-users] Re: ProfileView not compatible with julia-0.5?

2016-09-10 Thread Chris Rackauckas
Is this after updating? Do you also have an error when you do it from the REPL? On Saturday, September 10, 2016 at 2:34:03 PM UTC-7, Christoph Ortner wrote: > > And here the error message I get in a notebook: > > type Array has no field func > > in >

[julia-users] Re: Cannot start Julia in Atom

2016-09-10 Thread Chris Rackauckas
art-julia-error-loading-atom-jl-package/853/2) > This fixed it for me. > > On Saturday, September 10, 2016 at 9:39:39 AM UTC+2, Chris Rackauckas > wrote: >> >> The context is important: >> http://stackoverflow.com/questions/39419502/cannot-start-julia-in-atom-loaderror-

[julia-users] Re: Cannot start Julia in Atom

2016-09-10 Thread Chris Rackauckas
The context is important: http://stackoverflow.com/questions/39419502/cannot-start-julia-in-atom-loaderror-argumenterror-juno-not-found-in-path/39420874#39420874 Or the bottom of this: https://gitter.im/JunoLab/atom-ink/archives/2016/09/09 It's known. It's a bad tag. Either just clone Juno.jl

[julia-users] Re: Slow Performance Compared to MATLAB

2016-09-10 Thread Chris Rackauckas
I can't get this to run because of a dimension mismatch error. Was this written for v0.4? I am using v0.5 and there is a difference in how it drops extra dimensions which may be the cause. On Friday, September 9, 2016 at 8:13:00 PM UTC-7, Zhilong Liu wrote: > > Hello All, > > I am trying to

[julia-users] Re: Installation error

2016-09-10 Thread Chris Rackauckas
Run Pkg.update()? For some reason Atom isn't in your METADATA, so it's either old or corrupted. On Friday, September 9, 2016 at 8:13:05 PM UTC-7, Yuanchu Dang wrote: > > Was told: > > Error installing Atom.jl package > Go to the Packages → Julia → Open Terminal menu and > run `Pkg.add("Atom")`

[julia-users] Re: ProfileView not compatible with julia-0.5?

2016-09-09 Thread Chris Rackauckas
n Friday, September 9, 2016 at 3:47:47 PM UTC-7, Neal Becker wrote: > > Chris Rackauckas wrote: > > > Did you checkout master? > > > > No I just did Pkg.add("ProfileView"). I don't actually know how to do > otherwise - is that a Pkg option? > > >

[julia-users] Re: Running octave scrips from julia

2016-09-09 Thread Chris Rackauckas
You accidentally revived a >1 year old thread. On Friday, September 9, 2016 at 4:32:56 AM UTC-7, Steven G. Johnson wrote: > > > > On Friday, February 6, 2015 at 2:03:23 PM UTC-5, astromono wrote: >> >> in pyinitialize at /home/rober/.julia/v0.4/PyCall/src/pyinit.jl:245 >> > > I think you must

[julia-users] Re: Running octave scrips from julia

2016-09-09 Thread Chris Rackauckas
I guess not >1 year, but getting close to a year. On Friday, September 9, 2016 at 4:32:56 AM UTC-7, Steven G. Johnson wrote: > > > > On Friday, February 6, 2015 at 2:03:23 PM UTC-5, astromono wrote: >> >> in pyinitialize at /home/rober/.julia/v0.4/PyCall/src/pyinit.jl:245 >> > > I think you

[julia-users] Re: ProfileView not compatible with julia-0.5?

2016-09-09 Thread Chris Rackauckas
Did you checkout master? On Friday, September 9, 2016 at 2:55:21 PM UTC-7, Neal Becker wrote: > > using ProfileView > INFO: Precompiling module ProfileView. > WARNING: Module Compat with uuid 314389968181888 is missing from the > cache. > This may mean module Compat does not support

[julia-users] Re: whole arrays pass by reference while matrix columns by value?

2016-09-07 Thread Chris Rackauckas
You allocate memory for the entire array that you pass back. So if A is nxn, and instead of modifying it in-place, you create function takes in A, creates an Anew, and returns that, notice that you will have done an nxn array of memory allocation. As you can see, this will happen with every

[julia-users] Re: Julia equivalent to Matlab's [Q, R, P] = qr(A)?

2016-09-06 Thread Chris Rackauckas
Use qrfact() (or the in-place version). It doesn't return [Q,R,P] because Julia is smarter than that. It returns a specially designed type for the QR return. It holds all of the those parts so you can get Q, R, and P out, but most of the time you won't need to. For example, if A is the return

[julia-users] Re: Pkg.update() does not pull latest version?

2016-09-06 Thread Chris Rackauckas
Maybe one of its dependencies has a maximum version requirement? On Tuesday, September 6, 2016 at 8:38:01 AM UTC-7, Tim Wheeler wrote: > > Okay, this is a little weird. > > If I run the following it looks like the culprit is a dirty package: > > julia> Pkg.checkout("Distributions") > INFO:

  1   2   3   >