Re: [julia-users] Re: IDE for Julia

2015-09-14 Thread jonathan . bieler
Instead of complaining like I usually do I've been making a rough prototype of IDE for Julia in Julia, and it seems to me that in the long term it's the right idea. Using existing editors allow to quickly take advantage of their features, but past that it's really hard to integrate more

Re: [julia-users] Re: IDE for Julia

2015-09-15 Thread jonathan . bieler
GtkSourceView seems nice but I never managed to get it work on windows. The wrapper might be a bit outdated too. On Monday, September 14, 2015 at 5:14:53 PM UTC+2, Daniel Carrera wrote: > > Ooops, stupid question. I see that the screenshot actually shows the > source code. You are using Gtk

Re: [julia-users] Re: IDE for Julia

2015-09-15 Thread jonathan . bieler
Gtk, the code isn't published but it's very similar to Julietta: https://github.com/tknopp/Julietta.jl

Re: [julia-users] Number of loops not known at compile time

2015-09-28 Thread jonathan . bieler
If I understand correctly, the trick is to encode the dimension into the type of the arguments (using parametric types), then the @generated macro allows you to "write" a function just when the type of the arguments is known, so you can create the right numbers of loops on the fly.

[julia-users] Troubles with library build

2015-09-30 Thread jonathan . bieler
I'm trying to build up-to-date binaries for GtkSourceView using MSYS2/MinGW-w64 but I don't manage to get them working with Julia. When I try to ccall a function it gives me a: ERROR: LoadError: could not load library "libgtksourceview-3.0-1.dll" The specified procedure could not be found. In

[julia-users] Re: Troubles with library build

2015-09-30 Thread jonathan . bieler
Seems my version as a problem yes that the working version doesn't, it's looking for DLLMain in libgdk_pixbuf: http://i.imgur.com/YKFat0W.png Is this something that can be easily be fixed ? otherwise I'll just use the precompiled version.

Re: [julia-users] Re: IDE for Julia

2015-09-24 Thread jonathan . bieler
Here's the current state of my Gtk-based IDE prototype. It's very buggy but there's some basic things work. https://gfycat.com/YawningLeftCaterpillar It seems doable to make a decent IDE this way, although it's a lot of work and there's a few challenges. Currently I can't set fonts, there's

[julia-users] Re: Zeroing already allocated array

2015-10-05 Thread jonathan . bieler
Just use a for loop.

Re: [julia-users] Differential Equations Package

2016-06-07 Thread jonathan . bieler
Your package is about computing numerical solutions of differential equations. Differential equations are something a bit more general, for example a package for bifurcation analysis could also want to call itself "DifferentialEquations". I don't really have a better name... NSolveDiffEqus ?

[julia-users] Re: how to use drawnow in Julia

2016-05-28 Thread jonathan . bieler
You can try: drawnow() = sleep(0.001) It works with Gadfly at least.

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

2016-03-12 Thread jonathan . bieler
GR seems pretty good, can it uses Gtk to display plots ?

[julia-users] Re: I am trying to figure out how to pass DataTypes for a dataframe to @ListStore in Gtk.jl

2016-04-12 Thread jonathan . bieler
There's an example in the tests: https://github.com/JuliaLang/Gtk.jl/blob/master/test/gui.jl#L476 So it seems like you need to declare your ListStore with the proper types, and the iterate over your dataframe and push the data in.

[julia-users] GtkIDE.jl, a semi-functional editor for Julia

2016-04-13 Thread jonathan . bieler
GtkIDE.jl is a IDE for Julia 0.4 written in Julia, aiming at providing something similar to the Matlab editor (with a console, plots, tools, and the possibility to make customs GUIs). I've been working on this for a while and although the code is still messy, and there's a lot of issues, I

Re: [julia-users] state of Winston

2016-04-08 Thread jonathan . bieler
Gadfly is probably the best solution for a native implementation, but is has serious performance issues, specially if you want interactivity (which you can get with https://github.com/JuliaGraphics/Immerse.jl).

[julia-users] Re: GtkIDE.jl, a semi-functional editor for Julia

2016-04-13 Thread jonathan . bieler
Hum, I guess you need to add it before you can check it out : Pkg.add("Gtk"). I'll update the readme.

[julia-users] Calling workspace on remote workers

2016-07-11 Thread jonathan . bieler
Seems to break things. After calling workspace *isdefined* tells me my function is still defined, but calling it gives a "function not defined". Am I doing something wrong here, or is this a bug ? https://gist.github.com/jonathanBieler/b14cf743185917442d3bde7f4b85aec2 test.jl just contains

Re: [julia-users] How to Manipulate each character in of a string using a for loop in Julia ?

2016-08-17 Thread jonathan . bieler
Note also that using a range to loop through a string is not a good idea if it might contain unicode characters. s = "a°sd2β2" for i=1:length(s) print(s[i]) end LoadError: UnicodeError: invalid character index Last time I checked there was still some functions in Base like findlast that

[julia-users] Re: Julia and the Tower of Babel

2016-10-08 Thread jonathan . bieler
Maybe an "easy" first step would be to have a page (a github repo) containing domain specific naming conventions (atol/abstol) that package developers can look up. Even though existing packages might not adopt them, at least newly created ones would have a chance to be more consistent. You could

[julia-users] Re: Correct way to use squeeze function

2016-08-23 Thread jonathan . bieler
Squeeze will remove s dimension of size one, so you can transform an array of size 5x1x4 into 5x4 by squeezing the dimension 2. In 0.4 the last dimension is automatically squeezed, and it seems that in 0.5 they all are.