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
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
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
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
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
original format.
Thanks in advance for any help.
Best,
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
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
! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
> 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
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
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
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
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
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+
) 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:
>
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
= 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
LightGraphs.jl?
Thanks for any help!
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
.
>>>>
>>>> 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.
>>>>
>>>>
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
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
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
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
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
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
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
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!
>
&
;
>> 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
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.
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
advance for any suggestion!
Best,
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
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
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
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:
>>
>>
Best,
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
TC)
Thank you in advance for any comment,
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
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
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
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
);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
;
>
> 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
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
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.
>
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
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
: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
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
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
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,
> >
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
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
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
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
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
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).
> >
>
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!! :)
>&
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
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
libraries focus
> will be on statistical Computing.
> > -viral
> >
>
>
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
/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
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
> 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
: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
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
"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
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
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
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
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
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
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
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
--|
>>>>> | 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
:
> 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
o far.
Thanks in advance for any comment!
Best,
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
/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
for any help.
Best,
Charles
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
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
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
.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
;>>>
>>>> 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):
>>>>
>>>
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é! :)
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
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
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
struggle with the same misunderstanding in the future.
>
--
Um axé! :)
--
Charles Novaes de Santana, PhD
http://www.imedea.uib-csic.es/~charles
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
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
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
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
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
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
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
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
100 matches
Mail list logo