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 an

[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, t

[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 s

[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 cal

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

2016-11-02 Thread Chris Rackauckas
do this, but I 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.

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

2016-11-01 Thread Chris Rackauckas
ve used it... > > On Tue, Nov 1, 2016 at 10:06 PM, Sheehan Olver > 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

[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) the

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 A

[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 with

[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 Saturda

[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 wr

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

2016-10-28 Thread Chris Rackauckas
e former > has the potential 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,

[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 ParallelAcceler

Re: [julia-users] parse Unicode string to Float64

2016-10-25 Thread Chris Stook
The StringEncodings package solves the problem. Thank all, Chris

[julia-users] Re: parse Unicode string to Float64

2016-10-25 Thread Chris Stook
I just need a vector of the values. The names are known from the circuit file. The problem is really just with converting the string to a Float64 value when the file is Unicode from LTspiceXVII. Everything works fine with the ASCII from LTspiceIV. More specifically, the capturing block which

[julia-users] Re: parse Unicode string to Float64

2016-10-25 Thread Chris Stook
The circuit file is test1.asc ( https://github.com/cstook/LTspice.jl/blob/master/test/test1.asc). You should be able to open it with LTspice and run the simulation to produce the log file. The log file is a human readable text file, which I am parsing to get the measurements. LTspiceIV used A

[julia-users] Re: parse Unicode string to Float64

2016-10-25 Thread Chris Stook
;,"r") for line in readlines(io) m = match(r".*",line) print(line) println(m) end Circuit: * C:\Users\Chris\.julia\v0.5\LTspice\test\test1.asc RegexMatch("C\0i\0r\0c\0u\0i\0t\0:\0 \0*\0 \0C\0:\0\\\0U\0s\0e\0r\0s\0\\\0C\0h\0r\0i\0s\0\\\0.\0j\0u\0l\0i\0a\0\\\0v\x000\0.

[julia-users] parse Unicode string to Float64

2016-10-24 Thread Chris Stook
at .\parse.jl:167 julia> I am not familiar with Unicode. Is the Unicode valid? How should I convert this to a Float? I do not have control over the input file. Thanks, Chris

[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 A_mul_B!(y,a,a)

[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 wrot

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

2016-10-09 Thread Chris Rackauckas
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 > wrote: > >> Mis

[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 somehow.

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

2016-10-09 Thread Chris Rackauckas
anything like this in Parameters. > > On Sun, Oct 9, 2016 at 1:27 PM, Chris Rackauckas > 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 va

[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 > i

[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: > > > https:

[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 intellisen

[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 1:47:

Re: [julia-users] help with syntax for Function-like objects for parametric types

2016-10-07 Thread Chris Stook
That makes sense. I should have seen that. Thank you!

[julia-users] help with syntax for Function-like objects for parametric types

2016-10-07 Thread Chris Stook
Calling objects of type T is only valid if N arguments are provided. What is the correct syntax for this? immutable T{N} t :: NTuple{N,Any} end (x::T)(args...) = error("wrong number of arguments") function {N}(x::T{N})(args::Varargs{Any,N}) print("do stuff here") end syntax: invalid functi

[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 say,

[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 assignment

[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 Sunday

[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
ctober 2, 2016 at 10:50:29 AM UTC-7, Avik Sengupta wrote: > > I usually do this directly in git, and not via Pkg commands. I go into the > package directory, and add my fork as an additonal remote. So.. > > cd /home/chris/v0.5/Sundials > git remote add chris https://github.com/Chr

[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 variabl

[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] Re: Overload what to fix "Julia Client - Internal Error" with subtype of AbstractArray?

2016-09-29 Thread Chris Stook
That fixed it. Thank you!

[julia-users] Overload what to fix "Julia Client - Internal Error" with subtype of AbstractArray?

2016-09-29 Thread Chris Stook
(::Base.AbstractIOBuffer{Array{UInt8,1}}, ::MIME{Symbol("text/plain")}, ::LTspice.IsModifiedArray{Float64,1}) at .\multimedia.jl:50 in #sprint#304(::Void, ::Function, ::Int64, ::Function, ::MIME{Symbol("text/plain")}, ::Vararg{Any,N}) at .\strings\io.jl:37 in Type at C:\Users\Chris\.julia\v0.5\

[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 t

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 sub/superscrip

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 hav

[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 abo

[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 h

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

2016-09-22 Thread Chris Rackauckas
t; function attribute unsafe-fp-math=true. > > > > > -erik > > > > On Wed, Sep 21, 2016 at 9:33 PM, Yichao Yu > wrote: > >> > >> On Wed, Sep 21, 2016 at 9:29 PM, Erik Schnetter > > >> wrote: > >> > On Wed, Sep 21, 201

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, C

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

2016-09-21 Thread Chris Rackauckas
25910 Should I open an issue? Note that this is on v0.6 Windows. On Linux the sysimg isn't rebuilding for some reason, so I may need to just build from source. On Wednesday, September 21, 2016 at 6:22:06 AM UTC-7, Erik Schnetter wrote: > > On Wed, Sep 21, 2016 at 1:56 AM, Chris Rac

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

2016-09-21 Thread Chris Rackauckas
tion I guess? I 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 us

[julia-users] Re: Plotting lots of data

2016-09-21 Thread Chris Rackauckas
) etc., 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: >>

[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 raster

[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 edi

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

2016-09-20 Thread Chris Rackauckas
ble to rely solely on off-the-shelf packages when writing > 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 typ

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

2016-09-19 Thread Chris Rackauckas
up efforts and (most likely) not get more optimized algorithms. On Monday, September 19, 2016 at 9:27:38 PM UTC-7, esproff wrote: > > Ok Chris I'll definitely check out Plots.jl. > > As for optimization packages, more than one will probably have to be used > depending on the probl

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

2016-09-19 Thread Chris Rackauckas
goal was basically a > rewrite of the C++ package 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

[julia-users] Re: ANN: SymEngine.jl, a symbolic manipulation library

2016-09-19 Thread Chris Rackauckas
Is there documentation? I don't see a link in the README. On Monday, September 5, 2016 at 2:49:54 AM UTC-7, Isuru Fernando wrote: > > We are happy to announce the first release of SymEngine.jl. GitHub repo is > at https://github.com/symengine/SymEngine.jl . > > SymEngine.jl wraps SymEngine, a sym

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

2016-09-17 Thread Chris Rackauckas
adding to it other features of Quantlib (as best as I can!). I'm glad > someone mentioned the InterestRates package too as I hadn't seen that. I > work at major bank in risk, and my goal is to at some point sell them on > the power of Julia (we are currently a Python/C++ shop). &

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

2016-09-16 Thread Chris Rackauckas
a package" will be helpful in the long run for non-software development experts, and then whenever these principles aren't followed one can just be pointed to there with an explanation of why it's a good practice and how to do it. On Thursday, September 15, 2016 at 4:45:25 AM UTC-7

[julia-users] Re: How would you use Julia in a real world R&D 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 in

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

2016-09-15 Thread Chris Rackauckas
I don't know what you mean by "real world R&D" 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" or

[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: How do I use @deprecate and depwarn ?

2016-09-15 Thread Chris
te the old code. @deprecate and depwarn > actually create a redirect of some sort, so that calls to the old function > are sent to the new function. > > > On 15 September 2016 at 09:54, Chris <7hunde...@gmail.com > > wrote: > >> Did you find any answers about t

Re: [julia-users] Re: How do I use @deprecate and depwarn ?

2016-09-15 Thread Chris
Did you find any answers about this? I can't find anything about how to use these either. On Sunday, July 31, 2016 at 3:36:13 PM UTC-4, Daniel Carrera wrote: > > Oh... is that what I was supposed to do? I honestly didn't know. > > On 31 July 2016 at 18:02, Kristoffer Carlsson > wrote: > >> Why d

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

2016-09-14 Thread Chris Rackauckas
ports 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

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

2016-09-14 Thread Chris Rackauckas
t some standard library, julia --barebones seems possible. I don't know if exclude is possible because I don't think there's an easy way to remove a package after it's been imported). On Wednesday, September 14, 2016 at 2:03:17 PM UTC-7, Mosè Giordano wrote: > > Hi Chri

[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 dire

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 p

[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 heavy-handed

Re: [julia-users] ls()?

2016-09-14 Thread Chris Rackauckas
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 at 7:36:18

[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
e-1.0 numbering of > the language is a good indicator 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 > wrote: > >

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

2016-09-13 Thread Chris Rackauckas
ou here. IIUC a 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 UT

[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
roduce breaking API changes between 0.x versions, which > might require extra work on the users part when updating to new julia > versions.” Or something like that. > > > > Cheers, > > David > > > > -- > > David Anthoff > > University of California, B

[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 pa

[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 indic

[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" approach.

[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 Ctrl-Shift-

[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

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

2016-09-12 Thread Chris Stook
On Monday, September 12, 2016 at 7:22:39 PM UTC-4, Chris Stook wrote: > > Last post was incomplete. > > abstract AbstractFoo > > macro commonfields() > return :( > bar; > foo; > ) > end > > type Foo <: AbstractFoo > @common

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

2016-09-12 Thread Chris Stook
Last post was incomplete. abstract AbstractFoo macro commonfields() return :( bar foo ) end type Foo <: AbstractFoo @commonfields() end type Foobar <: AbstractFoo @commonfields() barbaz bazbaz end Chris

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

2016-09-12 Thread Chris Stook
I use a macro to avoid retyping common fields. abstract AbstractFoo macro commonfields() return :( type Foo <: AbstractFoo bar baz end type Foobar <: AbstractFoo bar baz barbaz bazbaz end

[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 Jun

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

2016-09-12 Thread Chris Rackauckas
type – 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 > 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, S

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 inhe

[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 Gi

  1   2   3   4   5   >