[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

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

2016-01-26 Thread Charles Novaes de Santana
;> 2: run your 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

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

2016-01-13 Thread Charles Novaes de Santana
; /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 >> >> I was e

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

2016-01-12 Thread Charles Novaes de Santana
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

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

2016-01-12 Thread Charles Novaes de Santana
at 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: ANN: A potential new Discourse-based Julia forum

2016-01-12 Thread Charles Novaes de Santana
t for code is *terrible*. Wrong or no >> indentation, 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] Re: Problems using log and Arrays of AbstractFloats

2016-01-04 Thread Charles Novaes de Santana
y 2016 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

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

2016-01-04 Thread Charles Novaes de Santana
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

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

2016-01-04 Thread Charles Novaes de Santana
ng the performance tips page 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 >

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

2016-01-02 Thread Charles Novaes de Santana
thus others wouldn't > have to struggle with the same misunderstanding in the future. > -- 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-01 Thread Charles Novaes de Santana
cts or to implement dispatch rules, 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-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 <eric.fo...@gmail.com> wrote: > Ah. Thanks for the correction :) > > Happy New Year! >

[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 perfectl

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

2015-12-30 Thread Charles Novaes de Santana
gt;>> Ei::Float64, Ef::Float64, N::Int64) >>>> >>>> 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 >>>>

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

2015-12-30 Thread Charles Novaes de Santana
.969 KB) >> 246.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

[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

[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

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

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

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

2015-12-04 Thread Charles Novaes de Santana
oblem 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] Fwd: [ANN] Nemo 0.4 released!

2015-12-04 Thread Charles Novaes de Santana
liam 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 >>> rel

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

2015-12-04 Thread Charles Novaes de Santana
liam 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 >>> rel

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

2015-12-04 Thread Charles Novaes de Santana
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] 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't know

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

2015-12-04 Thread Charles Novaes de Santana
3 | 1.95668e6 | >>>>> >>>>> >>>>> However, I get an error when I read my data from an external file. >>>>> Assume I have an ascii file containing only one line: >>>>> >>>>> $ echo "GOOG/NASDAQ_GOOG" > portfolio.txt >>>>> >>>>> $ cat portfolio.txt >>>>> GOOG/NASDAQ_GOOG >>>>> >>>>> >>>>> I just read the content of this file by using readdlm and try to use >>>>> it to call the same function quandl, but it does not work. >>>>> >>>>> julia> myportfolio = 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") >>>>> ERROR: MethodError: `quandlget` has no method matching >>>>> quandlget(::SubString{ASCIIString}) >>>>> >>>>> >>>>> I suppose the easiest way to solve 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 >>>>> >>>> >>> >>> >>> -- >>> 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] Adding 1 to an Array{Array{Int64,1},1}

2015-12-04 Thread Charles Novaes de Santana
ically, 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

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

2015-12-03 Thread Charles Novaes de Santana
at will allow them to contribute quickly. You 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

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

2015-11-20 Thread Charles Novaes de Santana
novembre 2015 23:58: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

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

2015-11-19 Thread Charles Novaes de Santana
t;>>> >>>>> 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

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

2015-11-19 Thread Charles Novaes de Santana
mackay/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

[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 http

Re: [julia-users] Moore foundation grant.

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

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

2015-10-31 Thread Charles Novaes de Santana
s 8. >> >> I am looking for an 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

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

2015-10-30 Thread Charles Novaes de Santana
uch as: support for Amazon EC2, OpenStack; >> allow to set a price threshold; provide different QoS (SLA). >> >> We are looking forward to getting feedback from you. >> >> Sincerely, >> >> >> André Lage. >> Ph.D. in Computer Science >> https://sites.google.com/a/ic.ufal.br/andrelage/home/cv >> > > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

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

2015-10-29 Thread Charles Novaes de Santana
org/en/latest/stdlib/file/?highlight=stat#Base.stat > > On Thu, Oct 29, 2015 at 11:22 AM, Charles Novaes de Santana > <charles.sant...@gmail.com> wrote: > > Hi julians, > > > > I am using readdir() and filter!() to list files in a folder that match a > > given

[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

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

2015-10-29 Thread Charles Novaes de Santana
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.imedea.uib

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

2015-10-29 Thread Charles Novaes de Santana
bly not > be considered 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 <yyc1...@gmail.com> wrote: > >> On Thu, Oct 29, 2015 at 11:41 AM, Charles Novaes de Santana >> <

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

2015-10-19 Thread Charles Novaes de Santana
the plot in EEG.jl to the one we want to do. Thanks, Charles On 19 October 2015 at 14:51, Christof Stocker <stocker.chris...@gmail.com> wrote: > Does https://github.com/codles/EEG.jl help? > > > On 2015-10-19 14:45, Charles Novaes de Santana wrote: > >> Dear all, >> &g

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

2015-09-25 Thread Charles Novaes de Santana
ill be 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
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] How to find connected components in a matrix using Julia

2015-09-24 Thread Charles Novaes de Santana
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

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

2015-09-11 Thread Charles Novaes de Santana
On 10 September 2015 at 19:24, Steven G. Johnson <steve...@gmail.com> >> 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.

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

2015-09-10 Thread Charles Novaes de Santana
t; > > Do you have any 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] Convert an Array{Any,2} to an AbstractVector in Julia

2015-09-10 Thread Charles Novaes de Santana
ks 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
t;>> >> > 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

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

2015-08-14 Thread Charles Novaes de Santana
! 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] big matrices in Julia

2015-08-13 Thread Charles Novaes de Santana
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

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

2015-08-13 Thread Charles Novaes de Santana
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

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

2015-07-17 Thread Charles Novaes de Santana
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] Problems using PyCall and Igraph

2015-07-11 Thread Charles Novaes de Santana
it as an alternative. Thanks a lot for your help and your advice! Best, Charles On 11 July 2015 at 01:37, Yichao Yu yyc...@gmail.com wrote: On Fri, Jul 10, 2015 at 7:16 PM, Charles Novaes de Santana charles...@gmail.com wrote: Thanks for your answer, Yichao! I am installing the nightly version of julia

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

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

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

2015-07-10 Thread Charles Novaes de Santana
it as an alternative. Thanks a lot for your help and your advice! Best, Charles On 11 July 2015 at 01:37, Yichao Yu yyc1...@gmail.com wrote: On Fri, Jul 10, 2015 at 7:16 PM, Charles Novaes de Santana charles.sant...@gmail.com wrote: Thanks for your answer, Yichao! I am installing the nightly version of julia

[julia-users] Problems using PyCall and Igraph

2015-07-10 Thread Charles Novaes de Santana
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 de Santana, PhD http://www.imedea.uib

[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++ and Python (http

[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

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

2015-06-17 Thread Charles Novaes de Santana
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] Zurich Julia Meetup

2015-06-12 Thread Charles Novaes de Santana
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: Read EDF (European Data Format) files in Julia

2015-03-22 Thread Charles Novaes de Santana
always use Julia to do the analysis of the converted data I 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

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

2015-03-22 Thread Charles Novaes de Santana
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

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

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

2015-03-12 Thread Charles Novaes de Santana
...) while the latter has a redundant parameter. So instead of providing a default for dims..., wouldn't Array{T}(0) be an idiomatic solution for creating an empty vector of eltype T? Has one less character than Array{T,1}(0) :D Best, Tamas -- Um axé! :) -- Charles Novaes de Santana

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

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

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

2015-03-03 Thread Charles Novaes de Santana
} But 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.imedea.uib

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 li...@donner.at 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.sant...@gmail.com: Dear all

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

2014-11-04 Thread Charles Novaes de Santana
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
? Sorry if this is a question regarding to Github more than Julia scope. And 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

[julia-users] Julia off-line documentation

2014-10-02 Thread Charles Novaes de Santana
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
general one so far. Thanks in advance for any comment! 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] Julia off-line documentation

2014-10-02 Thread Charles Novaes de Santana
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 building. -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles

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

2014-09-24 Thread Charles Novaes de Santana
in this updating? -- 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
: 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. Best, --Tim On Wednesday, September 24, 2014 12:16:02 PM Charles Novaes de Santana wrote: Dear all, I am working with huge matrices

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

2014-09-24 Thread Charles Novaes de Santana
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

[julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
/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.imedea.uib-csic.es/~charles

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
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 the following error: julia using Distributions Warning: could not import

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
(ArrayViews) and Pkg.free(PDMats) Med venlig hilsen Andreas Noack 2014-09-23 17:51 GMT-04:00 Charles Novaes de Santana charles.sant...@gmail.com: Hi guys, thank you for the quick reply! About my version of Distributions: julia Pkg.status(Distributions) - Distributions 0.4.2

Re: [julia-users] Problem loading package Distributions

2014-09-23 Thread Charles Novaes de Santana
...@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 Novaes de Santana charles.sant...@gmail.com: Hi guys, thank you for the quick reply! About my

[julia-users] create a matrix dynamically with Julia

2014-09-11 Thread Charles Novaes de Santana
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
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é

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

2014-08-13 Thread Charles Novaes de Santana
of that, I would like to get cost_0.1. Any idea about how to do that? I am sorry for this very basic question, but so far I couldn't realize by myself neither find in the forums a way to do that. Thank you for your attention and for any help! Best, Charles -- Um axé! :) -- Charles Novaes de

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

2014-08-13 Thread Charles Novaes de Santana
. 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-08-13 7:42 GMT-04:00 Charles Novaes de Santana charles...@gmail.com : Dear all, I would like to convert a float

[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 arrived

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

2014-07-06 Thread Charles Novaes de Santana
) Charles On Sun, Jul 6, 2014 at 1:32 AM, Charles Novaes de Santana charles...@gmail.com wrote: Dear all, I am starting to use Graphs.jl and some simple questions arrived. It is not clear for me how to create a Graph from my data if my data is in a matrix format, for example

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

2014-07-05 Thread Charles Novaes de Santana
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] Read XLS files with Julia

2014-06-26 Thread Charles Novaes de Santana
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
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 improve performance in cumsum

2014-06-24 Thread Charles Novaes de Santana
Distribution. Do you know an alternative to cumsum 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 -- Um axé! :) -- Charles

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.com

[julia-users] How to improve performance in cumsum

2014-06-20 Thread Charles Novaes de Santana
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
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 -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es

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! I will open

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

2014-06-20 Thread Charles Novaes de Santana
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...@gmail.com wrote: Thank you, Dahua! I will open an issue in Github as suggested by you. In meanwhile I