[julia-users] Re: [Announcement] Moving to Discourse

2016-11-16 Thread Uwe Fechner
Thanks! On Wednesday, November 16, 2016 at 12:39:02 PM UTC+1, Johan Sigfrids wrote: > > You can put the code inside triple back ticks: > > ``` > function hello() > "Hello" > end > ``` > > On Wednesday, November 16, 2016 at 12:49:09 PM UTC+2, Uwe Fechne

[julia-users] Re: [Announcement] Moving to Discourse

2016-11-16 Thread Uwe Fechner
Hello, how can I paste Julia code in Discourse, such that it has syntax highlighting? Uwe On Wednesday, November 16, 2016 at 3:45:55 AM UTC+1, Valentin Churavy wrote: > > I would like to accelerate the move of `julia-users` to > https://discourse.julialang.org. In the original announcement ( >

Re: [julia-users] Benchmarking a function with parameters

2016-11-15 Thread Uwe Fechner
ov 14, 2016 at 8:16 AM, Uwe Fechner <uwe.fec...@gmail.com > > wrote: > > Hello, > > > > why does the following code not work (no benchmark result shown, no > error > > message or warning): > > using BenchmarkTools > > > > function add2!(v

[julia-users] Benchmarking a function with parameters

2016-11-14 Thread Uwe Fechner
Hello, why does the following code not work (no benchmark result shown, no error message or warning): using BenchmarkTools function add2!(vec, result) """ Calculate the sum of two 3d vectors and store the result in the second parameter. """ [result[i] = vec[i] + result[i] for i in [1,

[julia-users] Re: [Announcement] Moving to Discourse (Statement of Intent)

2016-11-14 Thread Uwe Fechner
If you move to discourse, the links on the Julia homepage in the section "Community->Mailing Lists" should be updated. This did not happen for Julia-Dev. Uwe On Tuesday, November 1, 2016 at 2:43:50 PM UTC+1, Valentin Churavy wrote: > > The Julia community has been growing rapidly over the last

[julia-users] Simulink alternative, based on Julia?

2016-11-01 Thread Uwe Fechner
be implemented with web technologies, based on Atom? Any ideas welcome. Uwe Fechner

[julia-users] Re: Juno workspace variable display.

2016-09-12 Thread Uwe Fechner
It works for me: Try to open the command palette (Cmd-Shift-P on mac, I guess Ctrl-Shift-P on linux and windows), and type 'julia open workspace'. It opens a window showing all variables and functions in scope. On Monday, September 12, 2016 at 11:46:31 PM UTC+2, Patrick Belliveau wrote: > > Hi

[julia-users] Re: Cannot start Julia in Atom

2016-09-10 Thread Uwe Fechner
I uninstalled julia-client and reinstalled it from within Atom as suggested by rogerwhitney. (http://discuss.junolab.org/t/start-julia-error-loading-atom-jl-package/853/2) This fixed it for me. On Saturday, September 10, 2016 at 9:39:39 AM UTC+2, Chris Rackauckas wrote: > > The context is

[julia-users] Re: Cell array of images like Matlab

2016-09-10 Thread Uwe Fechner
8,8}},2} via > > cat( 3, img, img ), > > I get the following error: > > Only two-dimensional images are supported > > On Wednesday, September 7, 2016 at 7:24:14 PM UTC-7, Uwe Fechner wrote: >> >> Could you post code, that reproduces the problem? >> >> On

[julia-users] Re: ANN: Julia 0.5.0-rc4 now available

2016-09-09 Thread Uwe Fechner
Nice work! The regression of RC3 on the load time packages is fixed. On Friday, September 9, 2016 at 9:39:38 AM UTC+2, Tony Kelman wrote: > > I have just tagged and uploaded release candidate 4 for Julia version > 0.5.0. Binaries are available from > > >

[julia-users] Re: Cell array of images like Matlab

2016-09-07 Thread Uwe Fechner
Could you post code, that reproduces the problem? On Thursday, September 8, 2016 at 1:28:00 AM UTC+2, Drew Mahedy wrote: > > I'm just wondering if there is a way to load several RGB .jpg images into > a 4-D array like can be done in MATLAB using cell array. I have the Images > package

[julia-users] Re: julia error in Atom

2016-09-05 Thread Uwe Fechner
Which operation system are you using? Which Julia version? Did you try to run Pkg.add("Atom") in the Julia repl? If yes, which message was displayed? Uwe On Monday, September 5, 2016 at 11:49:54 AM UTC+2, bineethz wrote: > > > > Please help me. I am getting this error when I try to integrate

[julia-users] Re: Is it better to call Julia from C++ or call C++ from Julia?

2016-09-04 Thread Uwe Fechner
Could you explain your fix? I have the same error. Uwe On Sunday, September 4, 2016 at 6:22:36 AM UTC+2, K leo wrote: > > The error of adding Cxx was eliminated by changing small bits in the > makefile. It builds successfully. I am so surprised to find that it is > such a huge package with

Re: [julia-users] Re: 0.5.0 rc3 error

2016-08-24 Thread Uwe Fechner
t > > after : git checkout release-0.5 > > Before I got all dependances from ubuntu sudo apt build-dep julia (I have > the 0.5 binary in repo) but I would like to get the dev rc3. > > > > Le 24/08/2016 à 14:47, Uwe Fechner a écrit : > > Where did you get the source

[julia-users] Re: 0.5.0 rc3 error

2016-08-24 Thread Uwe Fechner
Where did you get the source code from? Which command did you execute, that resulted in this error? On Wednesday, August 24, 2016 at 12:26:30 PM UTC+2, Henri Girard wrote: > > I have this error on ubuntu 16.04, any help ? > > > checking usable gmp.h at link time... yes > checking for

[julia-users] Re: ANN: Julia 0.5.0-rc2 now available

2016-08-17 Thread Uwe Fechner
Well, your test with 0.4.5 includes the time of the precompilation, your test with 0.5 rc2 not, so this is not a valid comparison. I compared only the time without precompilation, the second time of using the module, but after restarting julia. Uwe On Wednesday, August 17, 2016 at 2:32:42 PM

[julia-users] Re: ANN: Julia 0.5.0-rc2 now available

2016-08-17 Thread Uwe Fechner
Hello, first, I had to move the line: gangoffourplot(P,tf(1)) after the line, where you define P. This plot works fine. Next, I can reproduce that stepplot(CLs) doesn't work. But it does not work on Julia 0.4.6 either, so this problem is not related to Julia 5.0 RC2. Uwe, Ubuntu 14.04, 64 bit

Re: [julia-users] Re: ANN: Julia 0.5.0-rc2 now available

2016-08-15 Thread Uwe Fechner
I created an issue regarding the performance regression loading precompiled packages: https://github.com/JuliaLang/julia/issues/18030 Uwe On Saturday, August 13, 2016 at 6:19:42 PM UTC+2, Uwe Fechner wrote: > > Hello, > > sorry for the late reply. I did the profiling now, but on

[julia-users] Re: ANN: Optim v0.6

2016-08-14 Thread Uwe Fechner
016 at 11:40:24 PM UTC+2, Uwe Fechner wrote: >> >> Hello, >> in the README it says, "for more information, see the documentation". >> Is the documentation online available? I cannot find it. >> >> Uwe >> >> On Saturday, August 13, 2016 at 10:

[julia-users] Re: ANN: Optim v0.6

2016-08-13 Thread Uwe Fechner
Hello, in the README it says, "for more information, see the documentation". Is the documentation online available? I cannot find it. Uwe On Saturday, August 13, 2016 at 10:07:57 PM UTC+2, Patrick Kofod Mogensen wrote: > > We are happy to announce that Optim v0.6 has been released. > > Since

[julia-users] Re: ANN: Julia 0.5.0-rc2 now available

2016-08-12 Thread Uwe Fechner
Thanks your hard work! Nevertheless I am a little bit disappointed with the time, needed for including my own code. With Julia 0.5.0rc2 it needs 11.5 s, with Julia 0.4.6 it was only 6.34 s. Is this to be expected? I am using packages like PyPlot and JuMP, but I think they are precompiled. (On

[julia-users] Re: ANN: JuMP 0.14 released

2016-08-11 Thread Uwe Fechner
I did not read about it in any documentation, I just debugged my code in the repl and found a solution, that works. But the following code is ugly: if Pkg.installed("ForwardDiff") < v"0.2" Dual1 = ForwardDiff.GradientNumber else Dual1 = ForwardDiff.Dual end """ Helper function to round

Re: [julia-users] Re: map(mean, zip(v...)) doesn't scale

2016-08-10 Thread Uwe Fechner
Here: rc1+1 on the release-0.5 branch has the bug fixed, and may be more useful to test against: https://s3.amazonaws.com/julianightlies/bin/linux/x64/0.5/julia-0.5.0-acfd04c18b-linux64.tar.gz Uwe On Wednesday, August 10, 2016 at 1:12:57 PM UTC+2, Tamas Papp wrote: > > Where can I find

[julia-users] Re: ANN: JuMP 0.14 released

2016-08-08 Thread Uwe Fechner
6 at 7:27:42 PM UTC+2, Uwe Fechner wrote: >> >> Well, but in the upgrading guide there is no replacement for >> GradientNumber mentioned. >> >> Any idea? >> >> Uwe >> >> On Monday, August 8, 2016 at 7:14:45 PM UTC+2, Miles Lubin wrote: >&

[julia-users] Re: ANN: JuMP 0.14 released

2016-08-08 Thread Uwe Fechner
r defined). See the upgrading guide > <http://www.juliadiff.org/ForwardDiff.jl/upgrade.html>. > > On Monday, August 8, 2016 at 11:10:50 AM UTC-6, Uwe Fechner wrote: >> >> Hello, >> I updated, and now I get the following error: >> julia> include("P

[julia-users] Re: ANN: JuMP 0.14 released

2016-08-08 Thread Uwe Fechner
Hello, I updated, and now I get the following error: julia> include("Plotting.jl") INFO: Recompiling stale cache file /home/ufechner/.julia/lib/v0.4/JuMP.ji for module JuMP. INFO: Recompiling stale cache file /home/ufechner/.julia/lib/v0.4/ReverseDiffSparse.ji for module ReverseDiffSparse.

[julia-users] Re: new installation of julia

2016-08-07 Thread Uwe Fechner
The informations, that you give are not precise enough. Which Windows version do you have? How do you launch julia? Are you sure, that you do not have to versions of julia on your computer? On Linux, for me the following was sufficient to upgrade julia 0.4 to 0.4.7-pre+3: git pull git checkout

[julia-users] Re: new installation of julia

2016-08-07 Thread Uwe Fechner
Is there a reason, why you want to compile Julia yourself? It might be easier to use a precompiled version, that you can download from http://julialang.org/downloads/ . ln -s creates a symbolic link to the executable, such that is in the search path. This is the way to go on Linux, but I

[julia-users] Re: Announcing 0.5.0-rc0 and binaries available

2016-08-04 Thread Uwe Fechner
Which bug (issue) was it? On Thursday, August 4, 2016 at 3:53:29 PM UTC+2, Tony Kelman wrote: > > 0.5.0-rc1 has been tagged and binaries are now available. > > > https://s3.amazonaws.com/julialang/bin/linux/arm/0.5/julia-0.5.0-rc1-linux-arm.tar.gz > >

Re: [julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-29 Thread Uwe Fechner
Thanks. On Thursday, July 28, 2016 at 5:37:38 PM UTC+2, Andreas Lobinger wrote: > > > > On Thursday, July 28, 2016 at 4:37:24 PM UTC+2, Uwe Fechner wrote: >> >> The following command fixed the problem: >> sudo apt-get install libssl-dev >> >> Perhaps this

Re: [julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-28 Thread Uwe Fechner
The following command fixed the problem: sudo apt-get install libssl-dev Perhaps this command could be mentioned in the section "Ubuntu" of Readme.md ? On Thursday, July 28, 2016 at 3:37:28 PM UTC+2, Andreas Lobinger wrote: > > As the error message relates to a missing OpenSSL -> > try to find

Re: [julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-28 Thread Uwe Fechner
gt; Le jeudi 28 juillet 2016 à 01:58 -0700, Uwe Fechner a écrit : > > Hello, > > > > I am trying to install julia-0.5.0-rc0 . > > > > I downloaded it from Github, unpacked it and executed > > make -j4 > > > > The building failed after 10 minutes wi

[julia-users] How to install julia-0.5.0-rc0 on Ubuntu Linux

2016-07-28 Thread Uwe Fechner
Hello, I am trying to install julia-0.5.0-rc0 . I downloaded it from Github, unpacked it and executed make -j4 The building failed after 10 minutes with the following message: cblas_zhpr2 PASSED THE COMPUTATIONAL TESTS ( 577 CALLS) cblas_zhpr2 PASSED THE COMPUTATIONAL TESTS ( 577

Re: [julia-users] What is a gc frame?

2016-07-24 Thread Uwe Fechner
is around something. Is this the case? On Sunday, July 24, 2016 at 1:56:05 PM UTC+2, Yichao Yu wrote: > > On Sun, Jul 24, 2016 at 6:03 AM, Uwe Fechner <uwe.fec...@gmail.com > > wrote: > > Hello, > > in the issues on github I see a lot that refer to gc frames. &g

[julia-users] What is a gc frame?

2016-07-24 Thread Uwe Fechner
Hello, in the issues on github I see a lot that refer to gc frames. What is a gc frame? I know how garbage collection works in general, but I don't understand the meaning of gc frames in the context of Julia. Could someone explain: - What they are used for? - When they need to be created? - If

Re: [julia-users] Re: How to install 0.4.5 on Ubuntu?

2016-07-15 Thread Uwe Fechner
Well, the ppa is up-to-date and works well. On Ubuntu a ppa is (nearly) always better than generic binaries, because the package manager can be used to keep Julia up-to-date. Only if a ppa is not maintained generic binaries are an alternative. Uwe Am 15.07.2016 um 19:37 schrieb Tony Kelman: >

Re: [julia-users] Re: How to install 0.4.5 on Ubuntu?

2016-07-15 Thread Uwe Fechner
yes but it installs the version 0.5 > > On Fri, Jul 15, 2016 at 4:39 PM, Uwe Fechner > <uwe.fechner@gmail.com <mailto:uwe.fechner@gmail.com>> wrote: > > Did you try: > > sudo add-apt-repository ppa:staticfloat/juliareleases > > sudo add-apt-reposito

[julia-users] Re: How to install 0.4.5 on Ubuntu?

2016-07-15 Thread Uwe Fechner
Did you try: sudo add-apt-repository ppa:staticfloat/juliareleases sudo add-apt-repository ppa:staticfloat/julia-deps sudo apt-get update sudo apt-get install julia You need to have the correct ppa enabled! Uwe On Friday, July 15, 2016 at 3:49:04 PM UTC+2, Ahmed Mazari wrote: > > How to

[julia-users] Re: ERROR: LoadError: __precompile__(true) but require failed to create a precompiled cache file

2016-06-28 Thread Uwe Fechner
Julia and try again? Uwe On Tuesday, June 28, 2016 at 9:51:33 PM UTC+2, Uwe Fechner wrote: > > Ok, I restarted Julia, tried to include my program again. It failed again. > Did another Pkg.update() and tried to include my program again. > It failed again, but now with a different erro

[julia-users] Re: ERROR: LoadError: __precompile__(true) but require failed to create a precompiled cache file

2016-06-28 Thread Uwe Fechner
Ok, I restarted Julia, tried to include my program again. It failed again. Did another Pkg.update() and tried to include my program again. It failed again, but now with a different error: julia> include("Plotting.jl") ERROR: LoadError: LoadError: LoadError: LoadError: MethodError: `*` has no

[julia-users] ERROR: LoadError: __precompile__(true) but require failed to create a precompiled cache file

2016-06-27 Thread Uwe Fechner
julia> Any idea, how to fix this? Uwe Fechner

[julia-users] Re: FFT speed much slower than Octave

2016-06-18 Thread Uwe Fechner
For a fair comparison, the Julia function rfft() should be compared with the Octave function fft2(). Both do a 2-D transform. I don't see any significant differences between Julia (with 2 threads) and Octave. Perhaps the discussion can be continued on github:

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

2016-06-17 Thread Uwe Fechner
Hello, I installed Documenter and followed the tutorial. Now I would like to convert the documentation in html WITHOUT deploying it to github. How can I do this? Uwe On Friday, June 17, 2016 at 11:07:26 AM UTC+2, Michael Hatherly wrote: > > I’m please to announce the initial release of

[julia-users] Re: Julia Plugins

2016-06-06 Thread Uwe Fechner
Well, you can load modules on demand in the following way (in this way I load the module PyPlot on demand): eval(Expr(:using, :PyPlot)) To load a module from any path, push the directory, where you module lives into the load path: cd("/home/ufechner/00PythonSoftware/FastSim") push!(LOAD_PATH,

[julia-users] Re: ANN: POSIXClock - writing hard real-time Julia code

2016-06-06 Thread Uwe Fechner
I am very happy about your work. I had the hope, that the built-in method sleep could be improved to reach this level of performance: https://github.com/JuliaLang/julia/issues/12770 But perhaps it is better to have this in a separate package. Uwe On Monday, June 6, 2016 at 10:07:22 AM UTC+2,

[julia-users] Re: Using Julia for real time astronomy

2016-05-30 Thread Uwe Fechner
I think, that would be difficult. As soon as you use any packages for image conversion or estimation you have to assume that they use dynamic memory allocation. The garbage collector of Julia is fast, but not suitable for hard real-time requirements. Implementing a garbage collector for hard

[julia-users] Re: ANN: JuMP 0.13 released (or, JuMP dumps camelCase)

2016-05-01 Thread Uwe Fechner
In the announcement you wrote: "*no existing code should break after updating to JuMP 0.13*". Well, it broke my code, as described in the following issue: https://github.com/JuliaOpt/JuMP.jl/issues/753 But I found a solution: Replace registerNLFunction "registerNLFunction" with

[julia-users] Re: Is Ubuntu's PPA needed for installing Julia?

2016-04-01 Thread Uwe Fechner
Which is a pity, because a PPA (that is maintained) provides a way to automatically get updates. Perhaps Ubuntu 16.04 will provide an easier way to provide up-to-date Ubuntu packages using the Snappy format. On Friday, April 1, 2016 at 5:14:37 PM UTC+2, Kristoffer Carlsson wrote: > > Nope. I

[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

[julia-users] Re: Understanding QML.jl

2016-03-26 Thread Uwe Fechner
allbacks in QML, context properties that can be set > from Julia and QTimer support for background tasks. > > On Friday, March 25, 2016 at 6:07:44 PM UTC+1, Uwe Fechner wrote: > >> 1. When shall I use Julia strings, when a QByteArray? >> > > QByteArray is only

[julia-users] Understanding QML.jl

2016-03-25 Thread Uwe Fechner
The development of the QML bindings (see: https://github.com/barche/QML.jl/) make nice progress. I have some general questions: 1. When shall I use Julia strings, when a QByteArray? 2. Are some or all methods of QT classes, e.g. of QByteArray exposed to Julia? If only a subset of the

Re: [julia-users] Re: calling files in Julia

2016-03-24 Thread Uwe Fechner
ot it. Thank you so much. I am wondering that what about variable? I >> may >> > need to define it in the function, right? How to make it be called by >> other >> > files? >> > >> > On Thursday, March 24, 2016 at 1:30:26 AM UTC-5, Uwe Fechner w

[julia-users] Re: calling files in Julia

2016-03-24 Thread Uwe Fechner
If c is a constant, that you want to define in the file test.jl, than you can define it e.g. at the top of the file OUTSIDE of the function like this: const c=2 On Thursday, March 24, 2016 at 5:42:24 AM UTC+1, new to Julia wrote: > > > Thank you so much for your reply. I am still not very clear

Re: [julia-users] Re: Control system library for Julia?

2016-03-23 Thread Uwe Fechner
ystems toolbox: > The package ControlSystems.jl has seen extensive developement recently, > and developement is still ongoing > https://github.com/JuliaControl/ControlSystems.jl > > > On Wednesday, October 1, 2014 at 10:10:56 AM UTC+2, Uwe Fechner wrote: >> >> I

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

2016-03-20 Thread Uwe Fechner
Today I thought multiple times: How nice would it be to have a "goto definition" function in Juno/Atom. And now it is already there! Very nice. :) Uwe On Sunday, March 20, 2016 at 7:58:15 PM UTC+1, James Dang wrote: > > Hi All, Julia has been great for me, and I wanted to give back a little.

[julia-users] Calling a function on a remote worker

2016-03-20 Thread Uwe Fechner
Hello, I am trying to build a responsive GUI program. QML.jl (see: https://github.com/barche/QML.jl ) works already nicely in providing a GUI, but for performance reasons I have to do the heavy work in the background. I am doing the following (very simple test): addprocs(2) remotecall(2,

[julia-users] Re: QML (Qt5) binding for Julia (GSOC?)

2016-03-19 Thread Uwe Fechner
Hello, unluckily it does not work for me yet. I get the following error: julia> Pkg.test("QML") INFO: Testing QML /usr/bin/julia: symbol lookup error: /home/ufechner/.julia/v0.4/QML/deps/usr/lib/libqml_wrapper.so: undefined symbol:

[julia-users] Re: QML (Qt5) binding for Julia (GSOC?)

2016-03-19 Thread Uwe Fechner
ay, March 16, 2016 at 8:10:49 PM UTC+1, Uwe Fechner wrote: > > I am now on a different computer, and "using QML" now works. > > Pkg.test("QML") still fails, but with a different error: > > julia> Pkg.test("QML") > INFO: Testing QML > QQmlAppl

Re: [julia-users] Registering / renaming CppWrapper

2016-03-19 Thread Uwe Fechner
>From my point of view both names are fine, both CppWrapper.jl and CxxWrapper.jl . It's your choice. Just go ahead! I am waiting for this nice package to be registered. Uwe On Friday, March 18, 2016 at 2:17:12 PM UTC+1, Erik Schnetter wrote: > > The abbreviation "cpp" often stands for "C

[julia-users] Re: QML (Qt5) binding for Julia (GSOC?)

2016-03-19 Thread Uwe Fechner
qml:-1 File not found Which file main.qml should I use for testing? I have many files with this name on my computer. Best regards: Uwe Fechner On Wednesday, March 16, 2016 at 7:49:10 PM UTC+1, Bart Janssens wrote: > > Hi, > > I think this is because the dynamic linker can't find your Qt

[julia-users] Re: QML (Qt5) binding for Julia (GSOC?)

2016-03-19 Thread Uwe Fechner
olute path. By default, the test runs in the test directory of > the package, so the test looks for .julia/v0.4/QML/test/main.qml. maybe > your .juliarc.jl did an override on that. > > Cheers, > > Bart > > On Wednesday, March 16, 2016 at 8:22:29 PM UTC+1, Uwe Fechner wrote: >

Re: [julia-users] QML (Qt5) binding for Julia (GSOC?)

2016-03-14 Thread Uwe Fechner
On Monday, March 14, 2016 at 8:01:01 PM UTC+1, Uwe Fechner wrote: > > Hello, > > perhaps I could become mentor of such a project? > At least I know a little bit of Julia and a little bit of QML. > > I am currently implementing optimizations and simulations > in Julia, and

Re: [julia-users] QML (Qt5) binding for Julia (GSOC?)

2016-03-14 Thread Uwe Fechner
be expected for a mentor? Regards: Uwe Fechner, TU Delft On Monday, March 14, 2016 at 2:23:32 PM UTC+1, Maurice Diamantini wrote: > > > > Le lundi 14 mars 2016 13:24:13 UTC+1, Uwe Fechner a écrit : > > >> What Julia is missing is mainly an easy to use GUI toolkit, and QML

Re: [julia-users] QML (Qt5) binding for Julia (GSOC?)

2016-03-14 Thread Uwe Fechner
Well, I am not an expert on QML, but as far as I understand, QML is mainly for writing GUIs, whereas the QT library contains a lot of functions for a lot of other tasks. What Julia is missing is mainly an easy to use GUI toolkit, and QML could play that role. Implementing a Julia - QML binding

Re: [julia-users] Custom type to store scalars and vectors

2016-03-13 Thread Uwe Fechner
project in projects] > > or to get a vector in case you are only interested for one specific > parameter of each project > > [project.rel_drum_diameter for project in projects] > > hope that helps > > > Am 13.03.2016 um 15:12 schrieb Uwe Fechner: > > Thanks for

Re: [julia-users] Custom type to store scalars and vectors

2016-03-13 Thread Uwe Fechner
at does not seem to > make sense for your case. > > Also, you might wish to be a little more specific with your types. > "Number" is very general, and might also be a complex number for > instance. Judging from your variable names, AbstractFloat would probably > b

[julia-users] Custom type to store scalars and vectors

2016-03-13 Thread Uwe Fechner
to implement the copy and the push! functions in a generic way, so they do not need to be modified if I add fields? Perhaps there is also a generic way to implement the constructor: Project(f::Vector) Any hints appreciated! Uwe Fechner

[julia-users] Julia and Atom

2016-03-08 Thread Uwe Fechner
Hello, I gave Atom a try. One question: When I close Atom and restart it it doesn't remember the window size. Is it possible to convince Atom to start with a wider window? Best regards: Uwe

Re: [julia-users] Plots library example not working: @gif not defined

2016-03-06 Thread Uwe Fechner
ts") should do the trick. > > On Sunday, March 6, 2016, Uwe Fechner <uwe.fec...@gmail.com > > wrote: > >> Hello, >> >> I am trying to fun the following example from >> http://plots.readthedocs.org/en/latest/ >> >> using Plots >> p

[julia-users] Plots library example not working: @gif not defined

2016-03-06 Thread Uwe Fechner
Hello, I am trying to fun the following example from http://plots.readthedocs.org/en/latest/ using Plots pyplot(size=(300,300)) # initialize the attractor n = 3000 dt = 0.02 σ, ρ, β = 10., 28., 8/3 x, y, z = 1., 1., 1. X, Y, Z = [x], [y], [z] # build an animated gif, saving every 10th

[julia-users] Re: Using Latex in PyPlot

2016-03-02 Thread Uwe Fechner
uot;])["axes.labelsize"] = [18] PyDict(pyimport("matplotlib")["rcParams"])["xtick.labelsize"] = [18] PyDict(pyimport("matplotlib")["rcParams"])["ytick.labelsize"] = [18] PyDict(pyimport("matplotlib")["rcParams"])["font.size"] = [18] Sorry for the noise! Uwe On Wednesday, March 2, 2016 at 5:58:24 PM UTC+1, Uwe Fechner wrote: > > Hello, > > does anybody know, how to enable latex rendering in PyPlot? > > Best regards: > > Uwe >

Re: [julia-users] Scalar and array version of a function

2016-02-28 Thread Uwe Fechner
Thank's a lot! My code looks now like this: const Z_REF = 10.0# reference height for wind profile law const ALPHA = 0.23375 # exponent of the wind profile law for Cabauw """ calcWindAtHeight(v_wind_gnd, z) Calculate the average wind speed for the given ground wind speed `v_wind_gnd` at a

[julia-users] Scalar and array version of a function

2016-02-28 Thread Uwe Fechner
quot; function calcWindAtHeight(v_wind_gnd, Z::AbstractArray) result = similar(Z) for i in eachindex(Z) result[i] = calcWindAtHeight(v_wind_gnd, Z[i]) end result end Is this good programming style? Could it be improved? Regards: Uwe Fechner

Re: [julia-users] Re: Non-uniform interpolation in 1D

2016-02-28 Thread Uwe Fechner
rpolate((P_NOM,), ETA, Gridded(Linear())) # You pass the > x-values as a tuple, since this generalizes to multi-dimensional coordinates > println(itp[3.5]) > > x = linspace(1.5, 14.9, 1024) > y = itp[x] > > plot(x,y) > > > > On Saturday, February 27, 2016

Re: [julia-users] Re: Non-uniform interpolation in 1D

2016-02-27 Thread Uwe Fechner
have Fortran available. Best regards: Uwe On Saturday, February 27, 2016 at 3:58:11 PM UTC+1, Yichao Yu wrote: > > > > On Sat, Feb 27, 2016 at 9:40 AM, Uwe Fechner <uwe.fec...@gmail.com > > wrote: > >> Hello, >> >> I don't think, that this works on a no

[julia-users] Non-uniform interpolation in 1D

2016-02-27 Thread Uwe Fechner
t is shown at the end of this posting. How can I port this to Julia? I am trying to use the package "Interpolations.jl", but I do not see any example, that shows the interpolation on a non-uniform grid. For now I need only linear interpolation, but I want to use B-Splines later. Any hi

[julia-users] Re: Communicate thru COM Ports (Serial)

2015-10-29 Thread Uwe Fechner
Did you try: https://github.com/rennis250/Arduino.jl On Thursday, October 29, 2015 at 1:49:32 PM UTC+1, endowdly wrote: > > I'd like to read and write text and strings (STDIN and STDOUT) via COM1 or > COM2 (standard baud rates). > > Short story short, I'd like to control one or two systems with

Re: [julia-users] Re: Julia garbage collection - question on status and future (and interaction when using with other languages)

2015-10-24 Thread Uwe Fechner
You wrote: "... note that `malloc/free` are not hard real time either, you basically cannot have any sort of memory allocation for that. " It is an old myth, that you cannot have any memory allocation for hard real-time applications. For me, and probably also for other people who do real-time

[julia-users] Re: Crowdsourced Julia development

2015-09-25 Thread Uwe Fechner
I just created a bounty for implementing a low latency garbage collector: https://www.bountysource.com/issues/5020251-implement-a-low-latency-incremental-garbage-collector Uwe Am Freitag, 25. September 2015 17:31:11 UTC+2 schrieb Jonathan Malmaud: > > $5 to the first person to take transposes

[julia-users] Re: Optimal Control using Dynamic Programming

2015-09-25 Thread Uwe Fechner
Hello, as far as I know, there is no ready-made package for optimal control. There is one package on control design: https://github.com/JuliaControl/Control.jl And there are a lot of packages for solving optimization problems. Could you be a little bit more specific about your problem? How do

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

2015-09-23 Thread Uwe Fechner
efore Julia 0.5. With "available by default" I mean, that a pre-compiled version of Julia can be used. Am Mittwoch, 23. September 2015 12:46:21 UTC+2 schrieb Páll Haraldsson: > > Sorry, kind of of-topic for the thread, mostly about Cxx.jl/C++: > > On Friday, September 18,

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

2015-09-23 Thread Uwe Fechner
sday, September 23, 2015 at 11:30:45 AM UTC, Uwe Fechner wrote: >> >> Keno's Cxx.jl " currently requires the head version of LLVM. This is >> fragile, but furthermore the compilation with >> the newest version of LLVM is very slow. >> > >

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

2015-09-21 Thread Uwe Fechner
liaStudio was a nice start (also based on > QtCreator). I wish a group would fork it and develop it further in the > direction of RStudio. > > On Friday, September 18, 2015 at 10:08:23 AM UTC+2, Christof Stocker > wrote: >> >> I would be a huge fan of an RStudio like Julia

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

2015-09-21 Thread Uwe Fechner
On their homepage they say: "As a desktop replacement for Julia Studio, Forio recommends Juno <http://www.junolab.org>" Uwe Am Montag, 21. September 2015 18:49:13 UTC+2 schrieb Daniel Carrera: > > How do you know they are not interested? > > On 21 September 2015 at

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

2015-09-18 Thread Uwe Fechner
I like QT a lot. There is more then one open source, QT based IDE out there, e.g. QT Creator. QT has a GUI builder, that is much better then the GUI builders for GTK (in my opinion). And you can use the java-script like QML language for building the user interface, if you want to. Tutorial for

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

2015-09-14 Thread Uwe Fechner
Well, Gambas for example: https://en.wikipedia.org/wiki/Gambas Am Montag, 14. September 2015 14:54:27 UTC+2 schrieb Sheehan Olver: > > Are there any open source languages with a "good" native IDE? > > I think IDEs are probably too painful to develop unless paid to do so.. > > > On 14 Sep 2015,

[julia-users] Re: IDE for Julia

2015-09-14 Thread Uwe Fechner
While I understand your point, the success of a new programming language depends on the availability of a good IDE. Apart from the projects, mentioned so far I also want to mention spyder. Integrating Julia support would be easy and it would make the transition for Python users easier. Not

Re: [julia-users] PyPlot does not work with Julia Version 0.4.0-rc1+5

2015-09-10 Thread Uwe Fechner
Plot Any idea? Am Donnerstag, 10. September 2015 18:20:52 UTC+2 schrieb Mauro: > > Works for me. The error suggests that matplotlib doesn't work. Can you > import in python itself? > > $ python > > >>> import matplotlib > > On Thu, 2015-09-10 at 18:

[julia-users] PyPlot does not work with Julia Version 0.4.0-rc1+5

2015-09-10 Thread Uwe Fechner
84 in _require_from_serialized at ./loading.jl:109 in require at ./loading.jl:186 during initialization of module PyPlot julia> Any idea? Uwe Fechner

[julia-users] Re: PyPlot does not work with Julia Version 0.4.0-rc1+5

2015-09-10 Thread Uwe Fechner
I tried it also with Julia 0.3.11. Same error. If I use ipython, import matplotlib works fine. In [2]: matplotlib.__version__ Out[2]: '1.4.3' In [3]: I used conda on ubuntu 14.04, 64 bit to install matplotlib. Am Donnerstag, 10. September 2015 18:06:30 UTC+2 schrieb Uwe Fechner: > >

[julia-users] Re: PyPlot does not work with Julia Version 0.4.0-rc1+5

2015-09-10 Thread Uwe Fechner
0 in include_from_node1 at ./loading.jl:271 in require at ./loading.jl:210 during initialization of module PyPlot while loading /home/ufechner/.julia/v0.4/PyPlot/src/PyPlot.jl, in expression starting on line 653 Any idea? Uwe Fechner Am Donnerstag, 10. September 2015 18:51:32 UTC+2 schr

[julia-users] 0.4 enters stabilizing period

2015-09-09 Thread Uwe Fechner
Hello, there are no more issues blocking the 0.4 release. https://github.com/JuliaLang/julia/milestones/0.4.0 Hooray! Waiting for the release candidate. Uwe Fechner, TU Delft

[julia-users] Re: [ANN] Conda.jl: using conda package manager for Julia

2015-09-02 Thread Uwe Fechner
Julia does have a very good internal package manager, that can also install binary dependencies cross-platform. Why would you want to add another package manager? Am Dienstag, 1. September 2015 14:42:31 UTC+2 schrieb Luthaf: > > Hi Julians! > > I am happy to present you the Conda.jl >

[julia-users] Re: Very poor performance on Linux

2015-08-26 Thread Uwe Fechner
Can you tell a little bit more about your machine? Which CPU? How much RAM? Which Linux version? Uwe Am Mittwoch, 26. August 2015 17:12:48 UTC+2 schrieb Chris: Hello, I recently got access to a new Linux machine, and I've been trying to run some of my code there. I tried downloading a

Re: [julia-users] Re: What is the fastest way to perform 100k blocking IO operations in parallel?

2015-08-24 Thread Uwe Fechner
Did you try the DNS servers from Google, e.g. 8.8.8.8 ? I never saw a reply that needs more than one second. (Well, in our university network.) Am Montag, 24. August 2015 16:25:06 UTC+2 schrieb Seth: Name resolution delays are generally an issue with network latency. Trying to resolve 1000

Re: [julia-users] Creating a new version of a package

2015-08-23 Thread Uwe Fechner
to understand why Pkg.publish() fails. Uwe Am Samstag, 22. August 2015 19:42:25 UTC+2 schrieb Uwe Fechner: Well, it is not that easy. I did: Pkg.tag(NaNMath,:minor) which worked well. Pkg.pubish() did not work. First I had to do

Re: [julia-users] Creating a new version of a package

2015-08-22 Thread Uwe Fechner
Well, it is not that easy. I did: Pkg.tag(NaNMath,:minor) which worked well. Pkg.pubish() did not work. First I had to do: git config --global github.user ufechner7 which worked fine. Than I had to do: Pkg.add(JSON) It would be nice if the error message of the missing JSON package would

Re: [julia-users] Creating a new version of a package

2015-08-22 Thread Uwe Fechner
of that works, then go back to the GitHub page for your fork, and click the “pull request” link. But I still would like to understand why Pkg.publish() fails. Uwe Am Samstag, 22. August 2015 19:42:25 UTC+2 schrieb Uwe Fechner: Well, it is not that easy. I did: Pkg.tag(NaNMath,:minor) which

[julia-users] Creating a new version of a package

2015-08-22 Thread Uwe Fechner
Hello, I was invited to tag a new version of the package NaNMath.jl . https://github.com/mlubin/NaNMath.jl Does anyone know, how to do this? Best regards: Uwe Fechner

Re: [julia-users] Creating a new version of a package

2015-08-22 Thread Uwe Fechner
/latest/manual/packages/ It works for 0.3 as well as 0.4. t Le 2015-08-22 12:20, Uwe Fechner uwe.fec...@gmail.com javascript: a écrit : Hello, I was invited to tag a new version of the package NaNMath.jl . https://github.com/mlubin/NaNMath.jl Does anyone know, how to do this? Best

  1   2   >