[julia-users] Re: Dimension mismatch error in Julia!​

2015-03-10 Thread Jonathan Goldfarb
Looks like a couple things going on here: - The error is due to a mix of hcat and vcat in the definition of f; replacing it with either *f(x,y)= [y;-w^2*sin(x)-u*w^2*cos(x); -2γ*y];* or *f(x,y)= [y, -w^2*sin(x)-u*w^2*cos(x), -2γ*y];* will fix this error. I predict other errors down the line: -

[julia-users] ANN/RFC: Termbox.jl

2015-03-28 Thread Jonathan Goldfarb
Termbox.jl (https://github.com/jgoldfar/Termbox.jl) is a wrapper for Termbox, a lightweight text-based user interface library. OSX and Linux are currently supported, and the low-level interface is complete enough to re-implement the demo from the original package (see test/outputexample.jl.) I

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

2015-04-11 Thread Jonathan Goldfarb
Many thanks for the package; particularly interesting that Yeppp! is faster than devectorized Julia code as well, when it is able to outperform Julia. In case anyone else finds it useful, I added a small benchmark here at this gist: https://gist.github.com/jgoldfar/7cb34d8469f92d36fb47 -Max On

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

2015-04-11 Thread Jonathan Goldfarb
gt;> > https://groups.google.com/forum/#!topic/julia-users/o3Tbjh2eA9c >> > https://github.com/JuliaLang/julia/issues/8450 >> > >> > Cheers, >> >Kevin >> > >> > >> > On Sat, Apr 11, 2015 at 7:10 AM, Jonathan Goldfarb >

[julia-users] Help request wrapping a library with Clang.jl

2015-01-13 Thread Jonathan Goldfarb
Been working off of the examples (and the docs, which I understand are in flux) but running into an issue I'm not sure is worth reporting, or can be fixed. Don't honestly know where to start, if anyone has an idea

Re: [julia-users] Re: Ubuntu bug? Executing .jl files via shebang does nothing on Ubuntu 16.04 x64

2016-05-19 Thread Jonathan Goldfarb
Yes [1] I've been bitten by this before as well; it's unfortunate. Is there perhaps some way to change some command line arguments after starting Julia? [1] http://unix.stackexchange.com/questions/14887/the-way-to-use-usr-bin-env-sed-f-in-shebang/14892#14892 On Thursday, May 19, 2016 at 2:35:27

[julia-users] Re: Want: "Deprecation" badge for Github

2016-07-12 Thread Jonathan Goldfarb
Perhaps related: https://dependencyci.com/ I like the other suggestions in the thread. On Tuesday, July 12, 2016 at 1:15:24 PM UTC-4, Erik Schnetter wrote: > > Our Julia projects live on Github, and many projects proudly present > badges for Travis, Appveyor, Codecov, and probably a few more. TL;

Re: [julia-users] Does anyone have a fork/branch of Sundials.jl that works on 0.4/0.5?

2015-10-30 Thread Jonathan Goldfarb
For anyone following along at home, the branch in question is now updated with wrapper functions recreated so the tests should now pass. Regards, Max On Wednesday, October 28, 2015 at 8:30:09 AM UTC-4, Alex wrote: > > Hi Simon, > > Christian Haargaard just created a PR ( > https://github.com/Ju

[julia-users] Anyone running into a build error on latest master on OSX?

2016-01-20 Thread Jonathan Goldfarb
Not sure if this is the place for this kind of discussion, but here goes. Been building from source from master periodically and enjoying poking around in the source, but have run into an issue apparently due to the updated LLVM version, and am wondering if anyone else is having similar issues.

Re: [julia-users] Anyone running into a build error on latest master on OSX?

2016-01-20 Thread Jonathan Goldfarb
an 20, 2016 at 9:21 PM Isaiah Norton wrote: > Probably outdated/mismatched XCode version leading to some error earlier > in the build. See: > https://github.com/JuliaLang/julia/issues/14593 > https://github.com/JuliaLang/julia/pull/14605 > > On Wed, Jan 20, 2016 at 7:59 PM, Jon

[julia-users] Creating closures referencing type parameters recently broken

2016-02-13 Thread Jonathan Goldfarb
Not sure if anyone else has (perhaps poorly conceived, but used to work) code like this: function dotest{T}(x::T) subf(x2::T)=println(x, ", ", x2) subf(one(x)) end dotest(1.1) (reduced from a more complicated construction, in which "subf" is mapped onto multiple arrays.) Some change in

Re: [julia-users] Creating closures referencing type parameters recently broken

2016-02-13 Thread Jonathan Goldfarb
Ah, I do recall reading that thread but didn't make the connection. I thought I'd built a version recent enough that it should have already broken due to that, but I guess not. Thanks for your help! -Max Goldfarb > On Feb 13, 2016, at 6:33 PM, Kristoffer Carlsson > wrote: > > Jeff said this.

[julia-users] Updated performance tips?

2016-02-22 Thread Jonathan Goldfarb
I've really been enjoying writing Julia code as a user, and following the language as it develops, but I have noticed that over time, previously fast code sometimes gets slower, and (impressively) previously slow code will sometimes get faster, with updates to the Julia codebase. No complaint he

Re: [julia-users] Updated performance tips?

2016-02-23 Thread Jonathan Goldfarb
ssed is very > helpful. Thanks to Jarrett Revels excellent work, we now have some great > performance regression tracking infrastructure, but of course we always > need more things to test! > > On Mon, Feb 22, 2016 at 9:58 AM, Milan Bouchet-Valat > wrote: > >> Le lundi

[julia-users] Functions in defined immutables

2016-02-28 Thread Jonathan Goldfarb
I realize now I may have been misunderstanding http://docs.julialang.org/en/release-0.4/manual/performance-tips/#avoid-containers-with-abstract-type-parameters for a long time... Is the recommendation there only related to parameterized types, or any user defined type? My specific question, in

Re: [julia-users] Functions in defined immutables

2016-02-28 Thread Jonathan Goldfarb
at 7:24 PM, Yichao Yu wrote: >> On Sun, Feb 28, 2016 at 6:49 PM, Jonathan Goldfarb >> wrote: >>> I realize now I may have been misunderstanding >>> http://docs.julialang.org/en/release-0.4/manual/performance-tips/#avoid-containers-with-abstract-type-parameters >

[julia-users] Change in CLI behavior between v0.4 and v0.5?

2016-03-01 Thread Jonathan Goldfarb
I'm not sure how often this comes up, but I've found a difference in how the Julia CLI parses arguments between v0.4 and v0.5 on Linux and OSX on v0.4: julia -O -- script.jl ERROR: could not open file /path/to/file/-- in include at ./boot.jl:261 in include_from_node1 at ./loading.jl:304 in

[julia-users] Re: How to install JuMP without SSL errors?

2016-10-19 Thread Jonathan Goldfarb
FYI: https://github.com/JuliaLang/julia/issues/18871 On Sunday, October 16, 2016 at 11:55:07 AM UTC-4, Rick Graham wrote: > > Ref: https://github.com/JuliaOpt/JuMP.jl/issues/864 > > I can't seem to add package JuMP. Other packages seem to be added fine. > > How can I fix this? > > OS: Fedora 24