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
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
Gtk, the code isn't published but it's very similar to Julietta:
https://github.com/tknopp/Julietta.jl
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.
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
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.
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
Just use a for loop.
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 ?
You can try:
drawnow() = sleep(0.001)
It works with Gadfly at least.
GR seems pretty good, can it uses Gtk to display plots ?
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.
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
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).
Hum, I guess you need to add it before you can check it out :
Pkg.add("Gtk").
I'll update the readme.
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
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
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
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.
19 matches
Mail list logo