Re: [julia-users] Re: Do you have binary Julia compiled on Red Hat ?

2014-02-24 Thread Elliot Saba
Not that I know of. Please open an issue with as much detail (OS, hardware specs, julia version, steps to reproduce the problem, etc...) as possible. On Sun, Feb 23, 2014 at 9:21 PM, Glen Hertz glen.he...@gmail.com wrote: Hi Elliot, Thanks for the explanation. I think there might be more

Re: [julia-users] Help getting started with Julia's Graphs package

2014-02-24 Thread Eric Davies
Those are for plotting (graphing as in data visualization). The OP is asking about graphs, the data structures. On Monday, 24 February 2014 02:15:50 UTC-6, RecentConvert wrote: From what I've seen on the Google group it seems like most people use an external package like Winston, PyPlot, or

[julia-users] Re: Eigvals slowness

2014-02-24 Thread Andreas Lobinger
Hello colleague, you are aware, that the calculation of eigenvalues is not constant runtime and depends on the input matrix? You are comparing here 0...1 with -1...1 inputs, afaics.

[julia-users] Re: Julia as a General Purpose Language

2014-02-24 Thread Tejinder Singh
Yes, its just a matter of time when library support increases for web development and it will be perfectly suitable for web and as a general purpose language. I am definitely keeping an eye on Julia and i would love to replace python with it. :) On Sunday, 23 February 2014 18:54:00 UTC+5:30,

Re: [julia-users] Blog post on floating point basics with Julia examples

2014-02-24 Thread Hans W Borchers
The following function is one of the most difficult test functions for univariate root finding I know of, julia function fn(x::Real) return log(x) + x^2/(2*exp(1)) - 2 * x/sqrt(exp(1)) + 1 end whose exact root between 1.0 and 3.4 is sqrt(e) = 1.6487212707001282...

[julia-users] What is a Number?

2014-02-24 Thread andrew cooke
Working on the finite field code I found myself asking what is a Number?. One answer is: julia Base.subtypetree(Number) (Number,{(Complex{Float16},{}),(Complex{Float32},{}),(Complex{Float64},{}),( Complex{T:Real},{}),(Real,{(FloatingPoint,{(BigFloat,{}),(Float16,{}),(

[julia-users] Re: macro for generating functions with optional arguments

2014-02-24 Thread andrew cooke
not an expert, but when i was trying to understand macros i found that dump(...) was more useful than macroexpand. it shows more of the structure of the AST. andrew On Friday, 21 February 2014 17:36:07 UTC-3, Joosep Pata wrote: Hi, I’m trying to write a macro that would generate

[julia-users] Re: UDP Support

2014-02-24 Thread Bob Cowdery
I don't think your code was doing a broadcast as you didn't send to the broadcast address. However, I've finally got something working by copying this - http://nikhilm.github.io/uvbook/networking.html#udp. Sender: bcaddr = IPv4(255,255,255,255) anyaddr = IPv4(0,0,0,0) s = UdpSocket()

[julia-users] Re: What is a Number?

2014-02-24 Thread Johan Sigfrids
This is actually a really good question. I found myself wondering the same thing the other day. On Monday, February 24, 2014 1:54:59 PM UTC+2, andrew cooke wrote: Working on the finite field code I found myself asking what is a Number?. One answer is: julia Base.subtypetree(Number)

Re: [julia-users] Package Dependencies

2014-02-24 Thread Stefan Karpinski
What I've been doing is inside of ~/.juliarc.jl check `git rev-parse --is-inside-work-tree` and then using `git rev-parse --show-toplevel` to modify JULIA_PKGDIR and LOAD_PATH. That way each git repository can have its own collection of packages. I'd like to formalize this pattern so that it's

Re: [julia-users] Re: What is a Number?

2014-02-24 Thread Iain Dunning
One way to do it is abstract Parent method1(p::Parent) = error(Children must implement this or face an error!) For an example of this at larger scale, check out https://github.com/JuliaOpt/MathProgBase.jl/blob/master/src/MathProgSolverInterface.jl On Monday, February 24, 2014 8:29:09 AM

Re: [julia-users] Re: Eigvals slowness

2014-02-24 Thread Stefan Karpinski
This is a long-standing problem with OpenBLAS's default thread detection. They start using multiple threads at a ridiculously low threshold of 4. Yes, that's right using multiple threads for a 4x4 matrix. Here is the two-year-old issue about the matter:

Re: [julia-users] Re: What is a Number?

2014-02-24 Thread David Salamon
related question: is there a way to see all the methods that involve a given datatype? kind of the inverse of methods(foo)? On Mon, Feb 24, 2014 at 6:55 AM, Iain Dunning iaindunn...@gmail.com wrote: One way to do it is abstract Parent method1(p::Parent) = error(Children must implement

Re: [julia-users] Re: What is a Number?

2014-02-24 Thread Steven G. Johnson
On Monday, February 24, 2014 9:55:33 AM UTC-5, Iain Dunning wrote: One way to do it is abstract Parent method1(p::Parent) = error(Children must implement this or face an error!) How is this better than just deleting the method1(::Parent) method, in which case you will get a MethodError

Re: [julia-users] Re: What is a Number?

2014-02-24 Thread David Salamon
Well, a MethodError could mean a lot of other things (ie typo/poor test coverage) On Mon, Feb 24, 2014 at 7:27 AM, Steven G. Johnson stevenj@gmail.comwrote: On Monday, February 24, 2014 9:55:33 AM UTC-5, Iain Dunning wrote: One way to do it is abstract Parent method1(p::Parent) =

Re: [julia-users] Re: What is a Number?

2014-02-24 Thread Fabian Gans
Yes, there is methodswith(t::Type) On Monday, February 24, 2014 4:25:55 PM UTC+1, David Salamon wrote: related question: is there a way to see all the methods that involve a given datatype? kind of the inverse of methods(foo)? On Mon, Feb 24, 2014 at 6:55 AM, Iain Dunning

Re: [julia-users] Does any one has experience in computer aided translating? ¿( .rst - .po )?

2014-02-24 Thread John Myles White
I’m not in charge of the GSoC projects, so it’s hard to say. If I recall correctly, we’ve said that we’ll only accept students who have previously made contributions on their proposed project, so it might be worth trying to get a start on this assuming there are no objections. You might want

[julia-users] animated plot

2014-02-24 Thread harven
Is there a way to produce an animated plot with julia? I am thinking of simple animations, like the one produced by CAS softwares (maple/mathematica/sage etc) e.g. http://www.maplesoft.com/support/help/helpview.aspx?si=2057/file01057/plot309.gif

Re: [julia-users] animated plot

2014-02-24 Thread Miguel Bazdresch
Gaston supports output to GIF, which you could then assemble into an animation with an independent tool. https://github.com/mbaz/Gaston.jl If possible, use the development version -- the latest release is getting a bit long in the tooth. -- mb On Mon, Feb 24, 2014 at 11:57 AM, harven

[julia-users] Re: animated plot

2014-02-24 Thread Steven G. Johnson
Matplotlib (via PyPlot) has support for generating and exporting animations (http://matplotlib.org/examples/animation/index.html).

[julia-users] Re: animated plot

2014-02-24 Thread harven
Thanks for the answer, pyplot looks great and seems to be the easiest way to animate a plot. I tried with Winston and I just managed to do a simple animation as follows: using Winston frame(f, u; pts = 1000, kw...) = Curve([real(f(t,u)) for t in 0:1/pts:1],[imag(f(t,u)) for t in

[julia-users] Started working on a module for reading PList (for textmate bundles), but perhaps it already exists?

2014-02-24 Thread Erik Engheim
I use the TextMate editor a lot and I want to write plugins (bundles) for it. Most bundles today seem to use Ruby, but I am not great at Ruby and I think Julia has a lot of neat features for interacting with external processess and manipulating strings. So I am starting to write some code for

Re: [julia-users] Blog post on floating point basics with Julia examples

2014-02-24 Thread Jason Merrill
On Monday, February 24, 2014 3:34:22 AM UTC-8, Hans W Borchers wrote: The following function is one of the most difficult test functions for univariate root finding I know of, julia function fn(x::Real) return log(x) + x^2/(2*exp(1)) - 2 * x/sqrt(exp(1)) + 1

[julia-users] List of testing packages to date

2014-02-24 Thread Iain Dunning
It feels like every few weeks someone writes a new test package, so I was thinking of writing a blog post summarizing what has been tried to try to prevent wasted effort. I wanted to do some research first. So here we go, anyone else got anything to add? - Base.Test - Pretty much some

Re: [julia-users] Blog post on floating point basics with Julia examples

2014-02-24 Thread Jason Merrill
On Monday, February 24, 2014 7:48:50 PM UTC-8, Jason Merrill wrote: On Monday, February 24, 2014 3:34:22 AM UTC-8, Hans W Borchers wrote: BTW It would be nice to have Ridders' algorithm available in Julia, too, about which the Numerical Recipes say: *In both reliability and speed,

Re: [julia-users] Blog post on floating point basics with Julia examples

2014-02-24 Thread Stefan Karpinski
This sort of comparison seems inevitably bound to favor bisection for objective functions that are fast to evaluate and to favor sophisticated methods when the objective function is costly, no? On Mon, Feb 24, 2014 at 11:01 PM, Jason Merrill jwmerr...@gmail.com wrote: On Monday, February 24,

Re: [julia-users] Blog post on floating point basics with Julia examples

2014-02-24 Thread Jason Merrill
On Monday, February 24, 2014 8:16:28 PM UTC-8, Stefan Karpinski wrote: This sort of comparison seems inevitably bound to favor bisection for objective functions that are fast to evaluate and to favor sophisticated methods when the objective function is costly, no? Yes, that's right. And

Re: [julia-users] List of testing packages to date

2014-02-24 Thread svaksha
On Tue, Feb 25, 2014 at 3:53 AM, Iain Dunning iaindunn...@gmail.com wrote: It feels like every few weeks someone writes a new test package, so I was thinking of writing a blog post summarizing what has been tried to try to prevent wasted effort. I wanted to do some research first. So here we

Re: [julia-users] ProtoBuf library for Julia

2014-02-24 Thread Tanmay K. Mohapatra
No, the plugin would be in pure Julia. The protoc compiler would send events to the plugin over stdin as it parses the .proto file, and the plugin sends out generated code over stdout. This exchange happens using protobuf messages. The documentation I pointed to explains the input and output