[julia-users] Re: GUI toolkits for Julia: Gtk vs Tk vs others

2016-03-27 Thread Uwe Fechner
I would like to add: QML.jl -- 33 commits, 2 contributors The very first release was just tagged. Already useful for simple but beautiful GUI's. C++ libraries need a C++ wrapper. Cxx.jl is still very difficult to install. An alternative, CxxWrap.jl is just becoming available. Uwe On

Re: [julia-users] shell command didn't work

2016-03-27 Thread Isaiah Norton
> > what we're used to in Bash doesn't work in Julia. This is because Julia does not shell out to bash. If the documentation is giving that impression, that is not intended and should be corrected. That said, there is support for making tilde expansion work, but it hasn't been ironed out yet:

[julia-users] hdf5 not installing on linux cluster node

2016-03-27 Thread jda
I am getting this error: LoadError: None of the selected providers can install dependency libhdf5. on a linux cluster node. Can anyone suggest a fix?

Re: [julia-users] Almost at 500 packages!

2016-03-27 Thread Jean-François Baffier
Maybe I missed a a more recent thread but I would like how things are going for the packages organization. It is currently hard to look for a package when you know what functionality you're looking. It is even harder when you look for something general. What about a tag list ? (keywords

[julia-users] Re: Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Andrew Keller
Hi Oliver, Just a heads up that I've been working on something similar for the past six months or so. I'm fortunate enough to be starting a new project where I have no legacy code and the freedom to play around a bit. I think we have similar ideas: properties are abstract / singleton types in

Re: [julia-users] Interest in BandedMatrices.jl Package?

2016-03-27 Thread Sheehan Olver
I've split out the BandedMatrix data structure in BandedMatrices.jl: https://github.com/ApproxFun/BandedMatrices.jl Right now the entries are in the "wrong" order for LAPack: the rows are stored (instead of the columns) . I'm debating whether to support both orderings, or replace the

[julia-users] Re: GUI toolkits for Julia: Gtk vs Tk vs others

2016-03-27 Thread Lewis Levin
The Python doc for tk will provide some hints... On Sunday, March 27, 2016 at 5:09:51 PM UTC-7, Daniel Carrera wrote: > > Hello, > > When it comes to GUI toolkits in Julia, Gtk seems to be the main choice, > followed by Tk. At least in terms of development effort: > > Gtk.jl -- 444 commits, 23

Re: [julia-users] shell command didn't work

2016-03-27 Thread Lewis Levin
Of course. And that's the hardest thing: what we're used to in Bash doesn't work in Julia. Thanks.

Re: [julia-users] Tools for creating presentation slides with Julia code?

2016-03-27 Thread Ken B
I've used RISE for a Julia presentation before and I was very happy with that, you can easily switch between presentation style and notebook style for live coding. On Tuesday, 22 March 2016 17:32:05 UTC+1, Douglas Bates wrote: > > On Tuesday, March 22, 2016 at 11:00:13 AM UTC-5, Mauro wrote: >>

[julia-users] GUI toolkits for Julia: Gtk vs Tk vs others

2016-03-27 Thread Daniel Carrera
Hello, When it comes to GUI toolkits in Julia, Gtk seems to be the main choice, followed by Tk. At least in terms of development effort: Gtk.jl -- 444 commits, 23 contributors Tk.jl -- 235 commits, 28 contributors PySide.jl -- 35 commits, 2 contributors Although I like Gtk, I'm curious. Is

[julia-users] Re: Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Jeffrey Sarnoff
*I use this to think about inter type relationships -- and wrote it above, ymmv ymwv!* * read{T<:Scope}(scope::T{Tektronix}) = ...* On Sunday, March 27, 2016 at 7:21:19 PM UTC-4, Jeffrey Sarnoff wrote: > > Glad to know you are up to speed ... > Try this in v0.4 and in

[julia-users] Re: Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Jeffrey Sarnoff
Glad to know you are up to speed ... Try this in v0.4 and in v0.5-dev: length( methods(Base.call) ) v0.4 gives 1000, v0.5 gives 1 (deprecated) So, Julia is known to work with 1000-fold signatured methods. The fact that v0.5 is better groomed suggests its worthwhile to consider approaching

[julia-users] Re: hypot question

2016-03-27 Thread Jeffrey Sarnoff
Andreas gave you the correct answer as it happened: issue 3101 and on 2013-May-16 Later that year, responding to issue 4465

[julia-users] Re: Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Oliver Schulz
Hi Jeffrey, On Sunday, March 27, 2016 at 3:51:18 PM UTC+2, Jeffrey Sarnoff wrote: > > Assuming your handshaking and signal management is keeping information > available in some easy to discern and decode manner and you are not pushing > latency issues, Julia should be a good platform for that.

Re: [julia-users] Re: metaprogramming update variable when slider changes

2016-03-27 Thread Erik Schnetter
Instead of a length-one array you can use `Ref` to hold a reference to an object. If you have multiple variables, then using a dictionary to hold the values with either strings or symbols as keys might be the easiest approach. -erik On Sun, Mar 27, 2016 at 1:13 PM, Fabian Gans

Re: [julia-users] shell command didn't work

2016-03-27 Thread Erik Schnetter
My guess is that Julia doesn't expand the "~" character, as if you were to write \~/Dropbox/Elements/QuickRef/export.txt in a shell. -erik On Sun, Mar 27, 2016 at 2:46 PM, Lewis Levin wrote: > Not sure what was wrong with this: > >>> function preparation() >>> >>>

[julia-users] Re: Julia and Atom

2016-03-27 Thread Lewis Levin
I've been pretty happy using Atom with just "language-julia". I've tried Juno: julia-client and ink with the support installed into julia. But, there are many problems and few benefits. Maybe we get too dependent on fancy IDEs. I also install terminal-plus. Just launch a terminal--it

[julia-users] Tracking RNG state when calling external C++ function

2016-03-27 Thread Michael Lindon
I have an application which requires me to call an external C++ function involving some random number generation. This function gets called thousands of times during the running of my julia code and I would like to know how to properly seed or track the state of the random number generator

[julia-users] shell command didn't work

2016-03-27 Thread Lewis Levin
Not sure what was wrong with this: function preparation() > > run(pipeline(`find -s /Volumes/ll1t/pictures/`, >> "~/Dropbox/Elements/QuickRef/export.txt")) > > run(pipeline(`find -s /Volumes/Photos/Pictures/`, >> "~/Dropbox/Elements/QuickRef/source.txt")) > > end > > Error from the

Re: [julia-users] Re: metaprogramming update variable when slider changes

2016-03-27 Thread Fabian Gans
However, be aware that this only works in global scope: function f() z=2.0 change_variable(:z) println(z) end f() will print 2. If this is a problem, you might wrap your variable in an array of size 1. x=[2.0] change_variable(x)=x[1]=3 On Saturday,

[julia-users] Re: hypot question

2016-03-27 Thread feza
I don't think that's the reason, since: ``` if x == 0 r = y/one(x) # Why not just return y? ``` This can only happen if x = 0 or x = 0.0 and y = NaN or x = 0 or x = 0.0 and y = 0 or y = 0.0

[julia-users] Re: Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Jeffrey Sarnoff
There are alternative ways to orchestrate your API. Given the always-on-duty nature of your microagents and the fact that (once configured and mapped into the software as a useable description) it is helpful that your information propagators are persistent (oscilloscope A measures properties

[julia-users] Re: Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Jeffrey Sarnoff
Assuming your handshaking and signal management is keeping information available in some easy to discern and decode manner and you are not pushing latency issues, Julia should be a good platform for that. Compilation time usually is not a concern -- and you can make your package autoprecompile

[julia-users] Re: hypot question

2016-03-27 Thread Andreas Noack
It's to ensure that the return type doesn't depend on the value of x. If x and y are integers then the return type of hypot1 will be Int if x==0 and Float64 otherwise.

[julia-users] Can Julia handle a large number of methods for a function (and a lot of types)?

2016-03-27 Thread Oliver Schulz
Hello, I'm designing a scheme to control and read out hardware devices (mostly lab instruments) via Julia. The basic idea is that each device type is characterized by a set of features/properties that have a value type and dimensionality and that can be read-only or read/write (a bit like SCPI

Re: [julia-users] Announcing JuDE: autocomplete and jump to definition support for Atom

2016-03-27 Thread James Dang
Hi David, I think Jude's functionality is pretty orthogonal to julia-client so they function pretty well as distinct, easier to manage packages. julia-client is focused on live code execution and results visualization while Jude is more about getting traditional IDE tools via static syntax

Re: [julia-users] How to suppress output from interactive session

2016-03-27 Thread Tim Holy
Override some methods in base/client.jl (e.g., eval_user_input). --Tim On Saturday, March 26, 2016 03:44:32 PM feza wrote: > Sorry I meant without using ; > > I.e. to have it permanently without ; > > On Saturday, March 26, 2016 at 6:40:16 PM UTC-4, Miguel Bazdresch wrote: > > 3; > > > > On