[julia-users] Good example of reproducible research with Julia

2016-11-09 Thread Charles Novaes de Santana
reproducible and to spread the word about Julia. I wish I (and all scientists in the Julia community) could do the same kind of thing with our scientific works in the future. Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD https://github.com/cndesantana

[julia-users] how to create an empty 2-dimensional array of Int64 in Julia

2015-03-03 Thread Charles Novaes de Santana
it doesn't allow me to ask for the size of the array using length(a) julia> length(a) ERROR: MethodError: `length` has no method matching length(::Type{Array{Int64,2}}) Any help would be much appreciated! Best Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.im

Re: [julia-users] how to create an empty 2-dimensional array of Int64 in Julia

2015-03-03 Thread Charles Novaes de Santana
Great! Thanks, René, for your quick response! Best, Charles On Tue, Mar 3, 2015 at 4:13 PM, René Donner wrote: > You can use this: > > julia> Array(Int64,0,0) > 0x0 Array{Int64,2} > > > > Am 03.03.2015 um 16:09 schrieb Charles Novaes de Santana < > charles.s

[julia-users] Different ways to create a vector of strings in Julia

2015-03-12 Thread Charles Novaes de Santana
tring,0) different from Array{String}? Thanks for any help! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Different ways to create a vector of strings in Julia

2015-03-12 Thread Charles Novaes de Santana
ing an empty vector of eltype T? Has > one less character than > > Array{T,1}(0) > > :D > > Best, > > Tamas > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Read EDF (European Data Format) files in Julia

2015-03-22 Thread Charles Novaes de Santana
original format. Thanks in advance for any help. Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Read EDF (European Data Format) files in Julia

2015-03-22 Thread Charles Novaes de Santana
was wondering if there is something written in Julia to read them in >> their original format. >> >> Thanks in advance for any help. >> >> Best, >> >> Charles >> -- >> Um axé! :) >> >> -- >> Charles Novaes de Santana, PhD >> http://www.imedea.uib-csic.es/~charles >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Read EDF (European Data Format) files in Julia

2015-03-22 Thread Charles Novaes de Santana
e to read this kind of data using functions written in R or >> Matlab, or to use a free open-source software (edfbrowser) to >> convert the data to ASCII. But as we always use Julia to do the >> analysis of the converted data I was wondering if there is >> som

[julia-users] Zurich Julia users Meetup needs a new organizer

2015-05-11 Thread Charles Novaes de Santana
! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Julia will always be open source

2015-05-11 Thread Charles Novaes de Santana
> Our customers make Julia Computing self-funded. We are grateful that > they have created full time opportunities for us to follow our passions. > Open source development will never cease. > > > > You may have questions. Please shoot them here. We will respond back > with a detailed blog post. > > > > -viral > > > > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Zurich Julia Meetup

2015-06-12 Thread Charles Novaes de Santana
f you are interested in participating on it. Here the link for the Zurich Julia Meetup: http://www.meetup.com/Zurich-Julia-User-Group/ Best wishes, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: How to deploy Julia

2015-06-17 Thread Charles Novaes de Santana
etc. >> > > > > -- > When an engineer says that something can't be done, it's a code phrase > that means it's not fun to do. > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Awesome Julia

2015-06-19 Thread Charles Novaes de Santana
Hi Julians, Just saw it: http://getawesomeness.com/get/julia awesome! Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Problems using PyCall and Igraph

2015-07-10 Thread Charles Novaes de Santana
all by calling "Pkg.add("PyCall"). I have installed python-igraph version 0.6.5-1. Any clue? I am seriously thinking about wrapping Igraph for C/C++ into my julia code. Do you think it can be more stable? Thanks for any help! Best, Charles -- Um axé! :) -- Charles Novaes

[julia-users] Re: Problems using PyCall and Igraph

2015-07-10 Thread Charles Novaes de Santana
Sorry, just to mention: I am using a machine with Ubuntu 14.04.1. Best, Charles On 11 July 2015 at 00:07, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Dear Julians, > > Igraph is an amazing library to work with graphs, currently available for > R, C/C+

Re: [julia-users] Problems using PyCall and Igraph

2015-07-10 Thread Charles Novaes de Santana
) recomend another way to wrap c++ code into julia? I took a look at Cxx.jl and it seems to be more intuitive to use, but I didn't try it yet. Best, Charles On 11 July 2015 at 00:39, Yichao Yu wrote: > On Fri, Jul 10, 2015 at 6:07 PM, Charles Novaes de Santana > wrote: >

Re: [julia-users] Problems using PyCall and Igraph

2015-07-10 Thread Charles Novaes de Santana
ke a look at Cxx.jl to see if I can use it as an alternative. Thanks a lot for your help and your advice! Best, Charles On 11 July 2015 at 01:37, Yichao Yu wrote: > On Fri, Jul 10, 2015 at 7:16 PM, Charles Novaes de Santana > wrote: > > Thanks for your answer, Yichao! I am install

Re: [julia-users] Problems using PyCall and Igraph

2015-07-11 Thread Charles Novaes de Santana
= gg[:Barabasi](5) >> julia> g[:degree]() >> 5-element Array{Any,1}: >> 3 >> 1 >> 1 >> 2 >> 1 >> >> ``` >> >> I will start working with python-igraph, but I will also take a look at >> Cxx.jl to see if I can use it as a

[julia-users] Read GML format graphs by using LightGraphs.jl

2015-07-11 Thread Charles Novaes de Santana
LightGraphs.jl? Thanks for any help! Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Read GML format graphs by using LightGraphs.jl

2015-07-17 Thread Charles Novaes de Santana
. >>>> >>>> My graphs are in GML format ( >>>> http://gephi.github.io/users/supported-graph-formats/gml-format/). >>>> However, as far as I understand, LightGraphs.jl can not read graphs in this >>>> format. >>>> >>>>

[julia-users] big matrices in Julia

2015-08-13 Thread Charles Novaes de Santana
r, for big matrices I get the following message: S=65600; M = zeros(S,S); ERROR: OutOfMemoryError() in call at essentials.jl:201 in zeros at array.jl:233 I am using Julia Version 0.4.0-dev+5920 in Ubuntu 14.04. Thanks for any tip! Best, Charles -- Um axé! :) -- Charles Novaes de Santana

Re: [julia-users] Re: big matrices in Julia

2015-08-13 Thread Charles Novaes de Santana
gt;> end >> >> However, for big matrices I get the following message: >> >> S=65600; >> M = zeros(S,S); >> ERROR: OutOfMemoryError() >> in call at essentials.jl:201 >> in zeros at array.jl:233 >> >> I am using Julia Versi

Re: [julia-users] Re: big matrices in Julia

2015-08-14 Thread Charles Novaes de Santana
gt;> end >> >> However, for big matrices I get the following message: >> >> S=65600; >> M = zeros(S,S); >> ERROR: OutOfMemoryError() >> in call at essentials.jl:201 >> in zeros at array.jl:233 >> >> I am using Julia Version 0.4.0-dev+5920 in Ubuntu 14.04. >> >> Thanks for any tip! >> >> Best, >> >> Charles >> -- >> Um axé! :) >> >> -- >> Charles Novaes de Santana, PhD >> http://www.imedea.uib-csic.es/~charles >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Convert an Array{Any,2} to an AbstractVector in Julia

2015-09-10 Thread Charles Novaes de Santana
ble? Thanks for your attention and for any tip! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Convert an Array{Any,2} to an AbstractVector in Julia

2015-09-10 Thread Charles Novaes de Santana
y suggestion about how to convert an Array{Any,2} to an > > AbstractVector? Or how to read a text file to an AbstractVector variable? > > Have you tried to just flatten the array: > > wc = wordcloud(x = corpus[:]) > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] How to improve performance in cumsum

2014-06-20 Thread Charles Novaes de Santana
or do you indicate a good way to use this function. Thanks in advance for any help! Best regards, Charles Novaes de Santana -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: How to improve performance in cumsum

2014-06-20 Thread Charles Novaes de Santana
site i will move, >> by generating a random number between 0 and maximum(Dc[i,:]). That means, >> we are trying to perform a Multinomial Distribution. >> >> Do you know an alternative to cumsum or do you indicate a good way to use >> this function. >> >> T

Re: [julia-users] Re: How to improve performance in cumsum

2014-06-20 Thread Charles Novaes de Santana
Hi again, Just to let you know about the issue I just opened in Github: https://github.com/JuliaLang/julia/issues/7342 Thank you for everything! Best, Charles On Fri, Jun 20, 2014 at 10:07 PM, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Thank you, Dahua! > &

Re: [julia-users] Re: How to improve performance in cumsum

2014-06-20 Thread Charles Novaes de Santana
; >> Just to let you know about the issue I just opened in Github: >> >> https://github.com/JuliaLang/julia/issues/7342 >> >> Thank you for everything! >> >> Best, >> >> Charles >> >> >> On Fri, Jun 20, 2014 at 10:07 PM, Charle

Re: [julia-users] Re: How to improve performance in cumsum

2014-06-22 Thread Charles Novaes de Santana
backtrace was 1921. For the new version of cumsum the backtrace was 139. One order of magnitude lower!! Thank you again for your huge effort in making Julia such a dynamic project! Long life to Julia! Best, Charles On Sat, Jun 21, 2014 at 1:24 AM, Charles Novaes de Santana < charles.sant...@gmail.

Re: [julia-users] Re: How to improve performance in cumsum

2014-06-24 Thread Charles Novaes de Santana
o a site >> j. We use Dc to determine to which site an individual in site i will move, >> by generating a random number between 0 and maximum(Dc[i,:]). That means, >> we are trying to perform a Multinomial Distribution. >> >> Do you know an alternative to cumsum or do yo

[julia-users] Read XLS files with Julia

2014-06-26 Thread Charles Novaes de Santana
advance for any suggestion! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Read XLS files with Julia

2014-06-26 Thread Charles Novaes de Santana
now is to convert my xls files to csv and >>> to read them with readdlm or other functions in Julia. Any other? >>> >>> Thanks in advance for any suggestion! >>> >>> Best, >>> >>> Charles >>> >>> -- >>> Um axé! :) >>> >>> -- >>> Charles Novaes de Santana, PhD >>> http://www.imedea.uib-csic.es/~charles >>> >> -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Create a Graph from a matrix by using Graphs.jl

2014-07-05 Thread Charles Novaes de Santana
if this information has been asked before and I didn't find the correct reference. I would much appreciate any help. Best wishes, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Re: Create a Graph from a matrix by using Graphs.jl

2014-07-06 Thread Charles Novaes de Santana
Just to complete the information. I am using Julia Version 0.3.0-prerelease+3841 (2014-06-22 11:24 UTC) Charles On Sun, Jul 6, 2014 at 1:32 AM, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Dear all, > > I am starting to use Graphs.jl and some simple questions

Re: [julia-users] Re: Create a Graph from a matrix by using Graphs.jl

2014-07-06 Thread Charles Novaes de Santana
t; >> Just to complete the information. I am using Julia Version >> 0.3.0-prerelease+3841 (2014-06-22 11:24 UTC) >> >> Charles >> >> >> On Sun, Jul 6, 2014 at 1:32 AM, Charles Novaes de Santana < >> charles...@gmail.com> wrote: >> >>

[julia-users] About conversion of a 5-decimal-digit float to string

2014-08-13 Thread Charles Novaes de Santana
Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] About conversion of a 5-decimal-digit float to string

2014-08-13 Thread Charles Novaes de Santana
gt; > Am Mittwoch, 13. August 2014 13:48:40 UTC+2 schrieb Andreas Noack: >> >> One solution is to use the @sprintf macro, i.e. something like >> @sprintf("cons_%f, 0.1). >> >> Med venlig hilsen >> >> Andreas Noack >> >> >> 2014

[julia-users] create a matrix dynamically with Julia

2014-09-11 Thread Charles Novaes de Santana
TC) Thank you in advance for any comment, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: create a matrix dynamically with Julia

2014-09-11 Thread Charles Novaes de Santana
t; error message: >> >> ERROR: mismatch in dimension 2 >> in cat_t at abstractarray.jl:689 >> in cat at abstractarray.jl:666 >> >> I am using julia Version 0.4.0-dev+523 (2014-09-10 15:51 UTC) >> >> Thank you in advance for any comment, >> >> Charles >> >> -- >> Um axé! :) >> >> -- >> Charles Novaes de Santana, PhD >> http://www.imedea.uib-csic.es/~charles >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
lia/issues/6436 However, even after running "Pkg.update()" the error continues. Any idea about it? My versiton of Julia is: Version 0.4.0-dev+734 (2014-09-23 18:22 UTC) Thank you for any comment! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imede

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
at. Alternatively, see if you can > update Distributions so it works on 0.4-dev. > > Best > --Tim > > On Tuesday, September 23, 2014 11:08:40 PM Charles Novaes de Santana wrote: > > Dear Julia users, > > > > I was trying to use package Distributions, but I got

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
ck < andreasnoackjen...@gmail.com> wrote: > Do you have a reason to have ArrayViews and PDMats fixed? If not try > Pkg.free("ArrayViews") and Pkg.free("PDMats") > > Med venlig hilsen > > Andreas Noack > > 2014-09-23 17:51 GMT-04:00 Charles

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
);Pkg.add("Distributions") >> >> Med venlig hilsen >> >> Andreas Noack >> >> 2014-09-23 18:12 GMT-04:00 Charles Novaes de Santana < >> charles.sant...@gmail.com>: >> >> Hi again, >>> >>> I don't know why PDMa

Re: [julia-users] @grisu_ccall not defined when using Gadfly

2014-09-24 Thread Charles Novaes de Santana
; > > I tried Pkd.update(), but the problem is the same. The Gadfly works file > in the first version of Julia 0.4.0 released last month. Is the > @grisu_ccall removed in this updating? > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] cumsum and Multinomial distribution with a huge Sparse matrix in Julia

2014-09-24 Thread Charles Novaes de Santana
first. Any idea about how to deal with such huge matrices? Thank you for your attention! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] cumsum and Multinomial distribution with a huge Sparse matrix in Julia

2014-09-24 Thread Charles Novaes de Santana
define cummat in terms of a > Vector{StairVector}, > one StairVector per column of mat. > > One tip: this will be _vastly_ more efficient if you do the cumsum over > columns, > not rows. You're going to have to dig into the internal representation of a > SparseMatrixCSC. >

Re: [julia-users] @grisu_ccall not defined when using Gadfly

2014-09-24 Thread Charles Novaes de Santana
1 >>> >>> in include at ./boot.jl:246 >>> in include_from_node1 at ./loading.jl:128 >>> in include at ./boot.jl:246 >>> in include_from_node1 at ./loading.jl:128 >>> in reload_path at loading.jl:152 >>> in _require at loading.jl:67 >>> in require at loading.jl:51 >>> >>> >>> I tried Pkd.update(), but the problem is the same. The Gadfly works file >>> in the first version of Julia 0.4.0 released last month. Is the >>> @grisu_ccall removed in this updating? >>> >> >> >> >> -- >> Um axé! :) >> >> -- >> Charles Novaes de Santana, PhD >> http://www.imedea.uib-csic.es/~charles >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Convert an Array{Any,2} to an AbstractVector in Julia

2015-09-10 Thread Charles Novaes de Santana
ec(a) is equivalent to reshape(a, length(a)), and is fast because it > doesn't make a copy of the data. > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Convert an Array{Any,2} to an AbstractVector in Julia

2015-09-11 Thread Charles Novaes de Santana
:24, Steven G. Johnson >> wrote: >> >>> >>> >>> On Thursday, September 10, 2015 at 10:39:58 AM UTC-4, Seth wrote: >>>> >>>> would vec() also work for you? It's supposed to be pretty fast. >>>> >>>>> <http://www.imedea.uib-csic.es/~charles> >>>>> >>>> >>> vec(a) is equivalent to reshape(a, length(a)), and is fast because it >>> doesn't make a copy of the data. >>> >> >> >> >> -- >> Um axé! :) >> >> -- >> Charles Novaes de Santana, PhD >> http://www.imedea.uib-csic.es/~charles >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] How to find connected components in a matrix using Julia

2015-09-24 Thread Charles Novaes de Santana
volves the use of a Python library + PyCall for example. Although I would prefer to use a pure Julia solution. Regards Charles P.S.: Just asked the same question in Stackoverflow: https://stackoverflow.com/questions/32772190/how-to-find-connected-components-in-a-matrix-using-julia -- Um axé! :) -- Char

Re: [julia-users] Re: How to find connected components in a matrix using Julia

2015-09-25 Thread Charles Novaes de Santana
much appreciated. >> >> I am open if your suggestion involves the use of a Python library + >> PyCall for example. Although I would prefer to use a pure Julia solution. >> >> Regards >> Charles >> P.S.: Just asked the same question in Stackoverflow: >> https://stackoverflow.com/questions/32772190/how-to-find-connected-components-in-a-matrix-using-julia >> >> -- >> Um axé! :) >> >> -- >> Charles Novaes de Santana, PhD >> http://www.imedea.uib-csic.es/~charles >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: How to find connected components in a matrix using Julia

2015-09-25 Thread Charles Novaes de Santana
Yes, it is my post in Stackoverflow :) Thanks, Charles On 25 September 2015 at 10:46, Tim Holy wrote: > See also http://stackoverflow.com/a/32778103/1939814 > > --Tim > > On Friday, September 25, 2015 09:55:31 AM Charles Novaes de Santana wrote: > > Hi Valentin, > >

Re: [julia-users] Re: How to find connected components in a matrix using Julia

2015-09-25 Thread Charles Novaes de Santana
Actually, Thanks, a LOT! :) Great increase in performance indeed!! :) Charles On 25 September 2015 at 11:41, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Yes, it is my post in Stackoverflow :) > > Thanks, > > Charles > > On 25 September 201

[julia-users] Plotting evoked potential data as a "head" picture using Julia

2015-10-19 Thread Charles Novaes de Santana
figure similar to the one in the following picture: http://d2avczb82rh8fa.cloudfront.net/content/jn/113/3/740/F3.large.jpg Thanks for any help, sorry for not having a reproducible example. Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Plotting evoked potential data as a "head" picture using Julia

2015-10-19 Thread Charles Novaes de Santana
plot in EEG.jl to the one we want to do. Thanks, Charles On 19 October 2015 at 14:51, Christof Stocker wrote: > Does https://github.com/codles/EEG.jl help? > > > On 2015-10-19 14:45, Charles Novaes de Santana wrote: > >> Dear all, >> >> I have .csv file with

[julia-users] Re: List non-empty files in a folder

2015-10-29 Thread Charles Novaes de Santana
Just to give a code to work. My code now is: folder="."; files = filter!(r"\.txt$",readdir(folder)); Thanks! Charles On 29 October 2015 at 16:22, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Hi julians, > > I am using readdir() and filte

[julia-users] List non-empty files in a folder

2015-10-29 Thread Charles Novaes de Santana
which sizes are higher than zero bytes. Some days ago there was a thread about listing the last modified file, that used map() and mtime(). Do you know something similar to list files by size? Thanks for any tip! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imede

Re: [julia-users] List non-empty files in a folder

2015-10-29 Thread Charles Novaes de Santana
light=stat#Base.stat > > On Thu, Oct 29, 2015 at 11:22 AM, Charles Novaes de Santana > wrote: > > Hi julians, > > > > I am using readdir() and filter!() to list files in a folder that match a > > given pattern (lets' say, to list all .txt files). > > >

Re: [julia-users] List non-empty files in a folder

2015-10-29 Thread Charles Novaes de Santana
to have the extension ".txt" even though it does technically > end with that string. > > On Thu, Oct 29, 2015 at 11:53 AM, Yichao Yu wrote: > >> On Thu, Oct 29, 2015 at 11:41 AM, Charles Novaes de Santana >> wrote: >> > Thanks! stat is great!! :) >&

[julia-users] Re: ANN: CloudArray.jl: Easy Big Data programming in the Cloud

2015-10-30 Thread Charles Novaes de Santana
rovements or to pull requests to CloudArray code. >> CloudArray >> roadmap <https://github.com/gsd-ufal/CloudArray.jl#future-features> >> includes interesting features such as: support for Amazon EC2, OpenStack; >> allow to set a price threshold; provide different QoS (SL

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

2015-10-31 Thread Charles Novaes de Santana
n IDE for Julia (like RStudio in R). >> >> Once again, thank you very much for the time you have given.. >> >> Regards, >> >> Deb >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Moore foundation grant.

2015-11-11 Thread Charles Novaes de Santana
libraries focus > will be on statistical Computing. > > -viral > > > > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Access Bloomberg data with Julia

2015-11-18 Thread Charles Novaes de Santana
/blpapi-py I might try to use PyCall.jl However, I would prefer to use some library in Julia, if it exists. I found some packages to work with finances, but I didn't see any mention to Bloomberg database. Thanks for any tip! Charles -- Um axé! :) -- Charles Novaes de Santana, PhD

Re: [julia-users] Re: Access Bloomberg data with Julia

2015-11-19 Thread Charles Novaes de Santana
ckay/blpapi-py I might try to use PyCall.jl >>> >>> However, I would prefer to use some library in Julia, if it exists. I >>> found some packages to work with finances, but I didn't see any mention to >>> Bloomberg database. >>> >>> Thanks for any tip! >>> >>> Charles >>> >>> -- >>> Um axé! :) >>> >>> -- >>> Charles Novaes de Santana, PhD >>> http://www.imedea.uib-csic.es/~charles >>> >> -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Access Bloomberg data with Julia

2015-11-19 Thread Charles Novaes de Santana
> I know there is a library in R ( >>>>> http://ftp.auckland.ac.nz/software/CRAN/src/contrib/Descriptions/RBloomberg.html) >>>>> but I think it is no longer updated. >>>>> >>>>> There is also an API for Python, availabl

Re: [julia-users] Re: Access Bloomberg data with Julia

2015-11-20 Thread Charles Novaes de Santana
:56 UTC+1, Charles Santana ha > scritto: >> >> Hi, >> >> Does anyone know a way to access Bloomberg data with Julia? >> > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Silicon Valley Start-Up Software Engineer Position

2015-12-03 Thread Charles Novaes de Santana
u will be a key player in a cutting edge, rapidly growing venture-backed microbiome startup. -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles Attached Description: Binary data

[julia-users] Re: Fw: Fwd: [External-faculty] Silicon Valley Start-Up Software Engineer Position

2015-12-03 Thread Charles Novaes de Santana
"bappy" is "happy" before 10am :) Charles On Thursday, December 3, 2015, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Hi people, > > Just received this advertisement. It makes me feel so bappy when I see > Julia as a reference for such

[julia-users] Convert SubString{ASCIIString} to String

2015-12-04 Thread Charles Novaes de Santana
this problem is to convert my SubString{ASCIIString} variable to ASCIIString. Am I right here? How can I do it? Does any of you have another suggestion? May be I could read my data in a different way instead of using readdlm? Thanks for any tip! best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Convert SubString{ASCIIString} to String

2015-12-04 Thread Charles Novaes de Santana
tfolio = readdlm("./portfolio.txt",'\n') >> 1x1 Array{Any,2}: >> "GOOG/NASDAQ_GOOG" >> >> julia> typeof(myportfolio[1]) >> SubString{ASCIIString} >> >> julia> mydat = quandl(myportfolio[1],rows=100,format="DataFrame&qu

Re: [julia-users] Fwd: [ANN] Nemo 0.4 released!

2015-12-04 Thread Charles Novaes de Santana
nteresting open ended research > projects, (as opposed to small bits and pieces of maintenance, which we've > confined to our todo.txt). > > Suggestions of additional projects are also very welcome. > > Enjoy!! > > And please do let us know of successful/unsuccessful builds. > > Best Wishes, > > Bill Hart > Tommy Hofmann > Claus Fieker > Fredrik Johansson > > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Fwd: [ANN] Nemo 0.4 released!

2015-12-04 Thread Charles Novaes de Santana
illiam Hart >>> * Tommy Hofmann >>> * Claus Fieker >>> * Fredrik Johansson. >>> >>> A number of others contributed to build testing. >>> >>> We've actually been working on Nemo-0.5 in parallel, so this should be >>> released

Re: [julia-users] Fwd: [ANN] Nemo 0.4 released!

2015-12-04 Thread Charles Novaes de Santana
illiam Hart >>> * Tommy Hofmann >>> * Claus Fieker >>> * Fredrik Johansson. >>> >>> A number of others contributed to build testing. >>> >>> We've actually been working on Nemo-0.5 in parallel, so this should be >>> released

Re: [julia-users] Adding 1 to an Array{Array{Int64,1},1}

2015-12-04 Thread Charles Novaes de Santana
cally, why does the type change from Array{Array{Int64,1},1} to > Array{Any,1}, and what can I do to keep it as Array{Array{Int64,1},1}? > > Thanks, > Chris > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Adding 1 to an Array{Array{Int64,1},1}

2015-12-04 Thread Charles Novaes de Santana
end newsum (generic function with 1 method) julia> newsum(a,1) 5-element Array{Array{Int64,1},1}: [2,2] [2,2] [2,2] [2,2] [2,2] best, Charles On 5 December 2015 at 02:45, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Hi Chris, > > Unfortunately I don&#

Re: [julia-users] Re: Convert SubString{ASCIIString} to String

2015-12-04 Thread Charles Novaes de Santana
--| >>>>> | 1 | 2015-07-08 | 521.05 | 522.73 | 516.11 | 516.83 | 1.2967e6 | >>>>> | 2 | 2015-07-09 | 523.12 | 523.77 | 520.35 | 520.68 | 1.84235e6 | >>>>> | 3 | 2015-07-10 | 526.29 | 532.56 | 525.55 | 530.13 | 1.95668e6 | >>>>> >&g

Re: [julia-users] Convert SubString{ASCIIString} to String

2015-12-06 Thread Charles Novaes de Santana
: > Le vendredi 04 décembre 2015 à 23:47 +0100, Charles Novaes de Santana a > écrit : > > Hi people, > > > > Maybe it is a trivial question for most of you, but I really could > > not find a way to solve my problem. > > > > I am using the function quandlget(i

[julia-users] Julia off-line documentation

2014-10-02 Thread Charles Novaes de Santana
o far. Thanks in advance for any comment! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Julia off-line documentation

2014-10-02 Thread Charles Novaes de Santana
off-line. >>> >>> What do you recommend to use if I want to "read the docs" without >>> connecting to internet. I looked for documents like these but I couldn't >>> find a good general one so far. >>> >>> Thanks in advance for any co

Re: [julia-users] Julia off-line documentation

2014-10-02 Thread Charles Novaes de Santana
/www.imedea.uib-csic.es/~charles> >> > > This is being worked on for Julia 0.4. See > https://github.com/JuliaLang/julia/issues/8514 and > https://github.com/JuliaLang/julia/issues/3988 ... the details have been > debated for a while, but some consensus seems to be buildi

[julia-users] Downgrade to a previous version of Julia

2014-11-04 Thread Charles Novaes de Santana
for any help. Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Re: Downgrade to a previous version of Julia

2014-11-04 Thread Charles Novaes de Santana
age: "error: pathspec '0.4.0-dev+734' >>> did not match any file(s) known to git." >>> >>> I successfully could do a downgrade to version 0.3 by running "git >>> checkout release-0.3". Why is it different for a previous version

[julia-users] Optimize sum of elements in an Array according to some conditions

2015-12-29 Thread Charles Novaes de Santana
s for any help! Happy new year to all of you! Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Re: Optimize sum of elements in an Array according to some conditions

2015-12-29 Thread Charles Novaes de Santana
calcSum2(x,y,Ei,Ef,N) 0.51 seconds (1.01 k allocations: 20.969 KB) 246.1975746121703 Thanks again, sorry for this inconvenience! Charles On 30 December 2015 at 03:00, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Dear all, > > In a p

[julia-users] Re: Optimize sum of elements in an Array according to some conditions

2015-12-30 Thread Charles Novaes de Santana
.1975746121703 >> >> @time calcSum2(x,y,Ei,Ef,N) >> 0.51 seconds (1.01 k allocations: 20.969 KB) >> 246.1975746121703 >> >> >> Thanks again, sorry for this inconvenience! >> >> Charles >> >> On 30 Decemb

Re: [julia-users] Re: Optimize sum of elements in an Array according to some conditions

2015-12-30 Thread Charles Novaes de Santana
;>>> >>>> return sum(y[map(v -> Ei < v <= Ef, x)]); >>>> end >>>> >>>> >>>> And so the results of the calls for this function change a bit (but not >>>> the performance): >>>> >>>

[julia-users] Type mismatch: MethodError, !Matched::Int64, etc...

2015-12-31 Thread Charles Novaes de Santana
this problem could be solved by replacing all my "Float64" and "Int64" by "Number". Is that the good practice? Wouldn't it make my code slower as the exact type is not defined? thanks for any help! have a nice last day of Gregorian year! ;) Charles -- Um axé! :)

[julia-users] Re: Type mismatch: MethodError, !Matched::Int64, etc...

2015-12-31 Thread Charles Novaes de Santana
By the way: I am running my function in a Ubuntu 64 bits with Julia Version 0.4.2-pre+16 Best, Charles On 31 December 2015 at 16:41, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Hi people, > > I defined a simple function that is running perfectly in my

Re: [julia-users] Type mismatch: MethodError, !Matched::Int64, etc...

2016-01-01 Thread Charles Novaes de Santana
of them to make them a bit more portable. For example, to use template (function f1{T}(p1::T, v1::Vector{T}, m1::Matrix{T}). Thanks a lot! Charles On 1 January 2016 at 09:02, Eric Forgy wrote: > Ah. Thanks for the correction :) > > Happy New Year! > -- Um axé! :) -- Cha

Re: [julia-users] Type mismatch: MethodError, !Matched::Int64, etc...

2016-01-01 Thread Charles Novaes de Santana
s, However, from what I have > seen, it is common for new Julia users coming from statically typed > languages to put the type annotations too narrow. > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

Re: [julia-users] Type mismatch: MethodError, !Matched::Int64, etc...

2016-01-02 Thread Charles Novaes de Santana
struggle with the same misunderstanding in the future. > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Problems using log and Arrays of AbstractFloats

2016-01-04 Thread Charles Novaes de Santana
ys of AbstractFloat? Should I convert it to a Matrix? Or should I convert its elements to Array of Float instead of Array of Any? Any other suggestion? Thanks for your attention and for any advice! Charles -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

[julia-users] Re: Problems using log and Arrays of AbstractFloats

2016-01-04 Thread Charles Novaes de Santana
016 at 13:47, Charles Novaes de Santana < charles.sant...@gmail.com> wrote: > Hi people, > > I would like to work with matrices represented as Arrays of Arrays of > AbstractFloats. Something like this: > > F=Array{AbstractFloat}[];#initialize the matrix F as

Re: [julia-users] Problems using log and Arrays of AbstractFloats

2016-01-04 Thread Charles Novaes de Santana
age and these > two sections of the FAQ: > http://docs.julialang.org/en/stable/manual/faq/#what-does-type-stable-mean > > http://docs.julialang.org/en/stable/manual/faq/#how-do-abstract-or-ambiguous-fields-in-types-interact-with-the-compiler > > Best, > --Tim > > On

[julia-users] good approach to run julia scripts in parallel in a PC

2016-01-12 Thread Charles Novaes de Santana
so I am fine if I need to combine Linux programs with Julia. Many thanks in advance for any help! Best, Charles -- Um axé! :) -- Charles Novaes de Santana, PhD https://github.com/cndesantana

Re: [julia-users] Re: ANN: A potential new Discourse-based Julia forum

2016-01-12 Thread Charles Novaes de Santana
tation, no >> >> syntax highlighting, no font contrast between code and text? Or are you >> >> able to achieve some of those with your Emacs setup? >> > >> > Fixed width font takes care of indentation. For short code snippets, I >> > can live without highlighting, for longer code I prefer if people post >> > it as a gist. >> > >> > Best, >> > >> > Tamas >> > > -- Um axé! :) -- Charles Novaes de Santana, PhD https://github.com/cndesantana

[julia-users] Error running examples of parallel computing with Julia

2016-01-12 Thread Charles Novaes de Santana
task.jl:447 ...and 3 other exceptions. in sync_end at ./task.jl:413 [inlined code] from task.jl:422 in advection_shared! at none:2 What am I doing wrong here? As far as I know I am just reproducing the example in the docs... or not? Thanks for any help, Charles -- Um axé! :) -- Charles Novaes

Re: [julia-users] Re: good approach to run julia scripts in parallel in a PC

2016-01-13 Thread Charles Novaes de Santana
Ssl 15:20 0:02 >> /home/cdesantana/Downloads/julia/usr/bin/julia -Cnative >> -J/home/cdesantana/Downloads/julia/usr/lib/julia/sys.so --bind-to >> 192.168.89.174 --worker >> cdesant+ 2159 0.0 0.0 11716 892 pts/10 S+ 15:21 0:00 grep >> --color=auto julia

Re: [julia-users] Re: Create distributed array from a file

2016-01-26 Thread Charles Novaes de Santana
application >>> 3: check the memory usage on htop, if it use 100% of memory, then the >>> machine will start to swap >>> >>> Please, correct me if I'm wrong. >>> >> -- Um axé! :) -- Charles Novaes de Santana, PhD https://github.com/cndesantana

  1   2   >