Le jeudi 22 septembre 2016 à 14:54 -0700, Tsur Herman a écrit :
> By the way my test3 functions is super fast
>
> @time test3(r)
> 0.32 seconds (4 allocations: 160 bytes)
Beware, if you don't return 'total' from the function, LLVM optimizes
away the whole loops and turns the function into a
Le samedi 24 septembre 2016 à 06:17 -0700, Ján Adamčák a écrit :
> Thanks,
>
> after installing
>
> sudo apt-get install libxml2-dev
>
> is LightXML fully working.
Could you file an issue against LightXML.jl? It should be able to
install the package automatically, or could even work without it.
Le mercredi 28 septembre 2016 à 04:44 -0700, K leo a écrit :
> Thanks for the reply. Then this is an issue in DataFrames.
Yes, but one that is already fixed in master by removing the dependency
on DataArrays.
Regards
> > As the error says, they both export a function called rle, so it is
> > no
Le lundi 03 octobre 2016 à 08:21 -0700, Min-Woong Sohn a écrit :
>
> I am using DataFrames from master branch (with NullableArrays as the
> default) and was wondering how the following should be done:
>
> df = DataFrame()
> df[:A] = NullableArray([1,2,3])
>
> The following are not allowed or ret
Le lundi 03 octobre 2016 à 08:21 -0700, Min-Woong Sohn a écrit :
> I am using DataFrames from master branch (with NullableArrays as the default)
> and was wondering how the following should be done:
>
> df = DataFrame()
> df[:A] = NullableArray([1,2,3])
>
> The following are not allowed or retur
Le lundi 03 octobre 2016 à 18:14 -0700, Min-Woong Sohn a écrit :
> Previously, under DataArray, I could do
>
> df2 = df[!isna(df[:somvar),:]
>
> Is there a NullableArray equivalent to isna()? I've tried isnull(),
> which is not defined.
isnull() is defined in Julia Base. But it's not a vectorized
Le samedi 08 octobre 2016 à 01:47 -0700, jonathan.bie...@alumni.epfl.ch
a écrit :
> Maybe an "easy" first step would be to have a page (a github repo)
> containing domain specific naming conventions (atol/abstol) that
> package
> developers can look up. Even though existing packages might not adopt
Le samedi 08 octobre 2016 à 03:23 -0700, Femto Trader a écrit :
> Hello,
>
> my main development environment is under Mac OS X
> but I'm looking for a Linux distribution (that I will run under
> VirtualBox)
> that have Julia 0.5.0 support (out of the box)
>
> Even Debian Sid is 0.4.7 (October 8th
p the good work. I'm sure in the end it will be great -- I'd just
like to ensure we don't have to go through a too messy period with
broken translations everywhere.
Regards
>
> Think synergy!
>
> Regards,
> Ismael Venegas Castelló
>
>
> 2016-10-08
Le jeudi 13 octobre 2016 à 06:45 -0700, Florian Oswald a écrit :
> I mean, do I have to cycle through the array and basically clean it
> of #NULL before findign the maximium or is there another way?
Currently you have two solutions:
julia> using NullableArrays
julia> x = NullableArray([1, 2, 3, Nu
Le jeudi 13 octobre 2016 à 07:27 -0700, Florian Oswald a écrit :
>
> Hi Erik,
>
> that's great thanks. I may have a hot inner loop where this could be
> very helpful. I'll have a closer look and come back with any
> questions later on if that's ok.
Maybe I'm stating the obvious, but you don't ne
Le jeudi 13 octobre 2016 à 15:40 +0200, Florian Oswald a écrit :
> i'm trying to understand why we don't have something similar in terms
> of comparison for Nullable as we have for DataArrays NAtype (below).
> point me to the relevant github conversation, if any, is fine.
Such a method already exi
Le samedi 15 octobre 2016 à 20:36 -0700, colintbow...@gmail.com a
écrit :
> Hi all,
>
> Twice now I've thought I had overloaded the appropriate functions for
> a new type, only to observe apparent inconsistencies in the way the
> new type behaves. Of course, there were no inconsistencies. Instead,
Le vendredi 14 octobre 2016 à 19:59 -0700, Henri Girard a écrit :
> Hi,
> Is it possible to have a table with only the result ?
> I don't want row /column names.
So why do you create a data frame? Isn't a Matrix enough?
Regards
> using DataFrames
> function iain_magic(n::Int)
> M = zeros(Int
ould ask how to make a nice border in a matrix ?
DataFrames' main feature isn't to provide nice borders... You can try
overriding the show() method for Matrix if you want borders.
Regards
> Regards
>
> Henri
>
>
> Le 15/10/2016 à 22:32, Milan Bouchet-Valat a écr
Le mercredi 19 octobre 2016 à 04:46 -0700, programista...@gmail.com a
écrit :
> Data file is coding UTF8 but i cant procedsed this datain Julia ?
> What wrong ?
>
> o=open("data.txt")
>
> julia> temp=readline(io)
> "3699778,13,2,gdbiehz jablej gupując szybgi Injehnej dg 26
> paździehniga,1\n"
>
Le mardi 18 octobre 2016 à 15:28 -0700, Steven G. Johnson a écrit :
>
>
> > Since it uses the in-place assignment operator .= it could be made
> > to work as desired, but there's some designing to do.
> >
>
> The problem is that it doesn't know that * is a matrix multiplication
> until compile-
Le mercredi 19 octobre 2016 à 06:02 -0700, programista...@gmail.com a
écrit :
> Version 0.3.12, udate to 5 ?
Yes. 0.3.x versions are unsupported for some time now.
Regards
> > Le mercredi 19 octobre 2016 à 04:46 -0700, program...@gmail.com a
> > écrit :
> > > Data file is coding UTF8 but i can
Le mercredi 19 octobre 2016 à 13:51 -0700, Dean Schulze a écrit :
> I have a DataFrame
>
> julia> df
> 252931×2 DataFrames.DataFrame
> │ Row │ x │ y │
> ├┼──┼─┤
> │ 1 │ 0 │ 3 │
> │ 2 │ 0 │ 6 │
> │ 3 │ 0 │ 124800 │
> │ 4 │ 0
Le lundi 24 octobre 2016 à 08:05 -0400, Isaiah Norton a écrit :
>
>
> On Monday, October 24, 2016, Angel de Vicente gmail.com> wrote:
> > Hi,
> >
> > I don't see it in the documentation, but I'm wondering if there is
> > a way
> > to have named nested loops, so that one can specify those names
Le lundi 24 octobre 2016 à 21:44 -0700, Chris Stook a écrit :
> I'm trying to parse a text file which contains some floating point
> numbers. The number 2.5 is represented by the string
> "\x002\0.\x005\0". Parse will not convert this to a Float64. Print
> works (prints "2.5") in Atom and Jupyte
Le vendredi 28 octobre 2016 à 00:24 -0700, Kevin Kunzmann a écrit :
> Hey,
>
> I was just wondering whether Julia has a checkpoint-like
> functionality (R checkpoint-package) for using a specific checkpoint
> of the package ecosystem. With quick development happening this would
> improve reproduci
Le jeudi 03 novembre 2016 à 13:35 -0700, LeAnthony Mathews a écrit :
> Thanks Michael,
> I been thinking about this all day. Yes, basically I am going to
> have to create a macro CSVreadtable that mimics the readtable
> command, but in the expantion uses CSV.read. The macro will manually
> cons
For reference, here's the long discussion that happened before making
that change:
https://github.com/JuliaLang/julia/pull/16371
Indeed I think Tony was right that this has undesirable consequences in
terms of usability. Not being able to use the same in-place API for
dense and sparse matrices is
Le dimanche 06 novembre 2016 à 01:49 -0800, Andreas Lobinger a écrit :
> Hello colleague,
>
> > The Julia community has been growing rapidly over the last few
> > years and discussions are happening at many different places: there
> > are several Google Groups (julia-users, julia-dev, ...), IRC,
>
Le dimanche 06 novembre 2016 à 10:13 -0800, Alberto Barradas a écrit :
> Hi guys,
> Now that `parseint()` got removed for version 0.5, Is `parse()` the
> only way to do this?
> How could I parse binary into a BigInt? More specifically, I want to
> see the integer number of the arecibo message. (73
Le dimanche 06 novembre 2016 à 15:31 -0800, Kristoffer Carlsson a écrit :
>
>
> > For reference, here's the long discussion that happened before making
> > that change:
> > https://github.com/JuliaLang/julia/pull/16371
> >
> > Indeed I think Tony was right that this has undesirable consequenc
Le mercredi 09 novembre 2016 à 05:37 -0800, Christoph Ortner a écrit :
> Is there as iterator implemented that allows me to iterate over all
> non-zero entries of a sparse matrix or vector? E.g.
>
> for (i, j, z) in nonzeros(A)
>
>
> (I realise that nonzeros does something else!)
As the docs f
Le lundi 14 novembre 2016 à 14:18 -0800, Hongwei Liu a écrit :
> Hi guys,
>
> I am new to Julia and I have trouble in finding a similar function in
> Julia that has the ability of "update" in R.
>
> For example, set formula = y ~ x1 + x2
>
> In R, I can use update(formula, D ~ . ) to change the
Le mardi 15 novembre 2016 à 02:02 -0800, Jérôme Collet a écrit :
> Hi all,
>
> I am new to Julia, I used to use R. And using R packages, the main
> difficulty for me is the choice of a package for a given task. Most
> of the time, there are many packages solving the same problem, so we
> have to c
Le mercredi 16 novembre 2016 à 04:18 -0800, FANG Colin a écrit :
> Say, I have a few constants
>
> const VTYPE_BINARY = 'B'
> const VTYPE_INTEGER = 'I'
> const VTYPE_CONTINUOUS = 'C'
>
> What's a good way to have a namespace on it?
>
> So that I can use Vtype.BINARY, Vtype.INTEGER, Vtype.CONTINU
Le mercredi 16 novembre 2016 à 13:38 +, FANG Colin a écrit :
> Is there going to be overhead if I create constant group modules and
> use them via module_name.abc?
Not that I know of.
Regards
> On 16 November 2016 at 13:31, Milan Bouchet-Valat
> wrote:
> > Le mercredi 16
Le vendredi 25 novembre 2016 à 00:35 -0800, programista...@gmail.com a
écrit :
> How to convert Char to Float? What wrong ?
Use parse(Float64, string(x)), with x the Char.
Regards
> julia> eltype(sort(unique(dane[:,4]))[3])
> Char
>
> julia> (sort(unique(dane[:,4]))[3])
> "-.097"
>
> julia>
Le mercredi 14 janvier 2015 à 05:32 -0800, J Luis a écrit :
> Hi,
> I have had quite some head-aches with types (converted from C structs)
> but this one wins.
>
> I have this type (from IUP)
>
>
> type tCTC
> iup_canvas::Ptr{cdCanvas}
> w::Cint
> h::Cint
> ...
>
> which I initializ
> convert(Ptr{cdCanvas},0)
>
> (see first member in my first post)
>
>
> quarta-feira, 14 de Janeiro de 2015 às
> 13:39:21 UTC, Milan Bouchet-Valat escreveu
P (or via a nasty memory
corruption bug). You should be able to reproduce it with a short
artificial example.
Regards
> quarta-feira, 14 de Janeiro de 2015 às 15:30:20 UTC, Milan Bouchet-Valat
> escreveu:
> Le mercredi 14 janvier 2015 à 06:54 -0800, J Luis a écrit :
>
reveu:
> Yes, an synthetic example would be nice, but I strongly
> suspect that if I was able to create one than it would because
> I had found the problem.
>
> quarta-feira, 14 de Janeiro de 2015 às 16:15:20 UTC, Milan
>
vate(ctgc_l.iup_canvas)
does it make any difference?
(Please copy/paste the output of the Julia console.)
Also, I guess you've made sure you start from a clean workspace? What
does methods(cdActivate) say?
Regards
> quarta-feira, 14 de Janeiro de 2015 às 18:58:54 UTC, Milan
> Bouchet-
Le mercredi 14 janvier 2015 à 11:59 -0800, J Luis a écrit :
>
> Just a shot in the dark, but if instead of this:
> ctgc_l = tCTC_l(C_NULL)
> ctgc_l.iup_canvas = t
> cdActivate(ctgc_l.iup_canvas)
>
> you do this:
> ctgc_l = tCTC_l(t)
>
Le mercredi 14 janvier 2015 à 13:00 -0800, jspark a écrit :
>
>
> Hi,
>
>
>
> I am trying to port following simple Matlab code into Julia to get mu
>
>
> M=500
> m_plus=M*0.2;
> m_0=M*0.1;
> m_minus=M*0.7;
>
> mu_plus=0.15+0.5*(1:m_plus)/m_plus;
> mu_minus=-3*(1:m_minus
Le vendredi 16 janvier 2015 à 14:29 +0800, K leo a écrit :
> julia> A=zeros(UTF8String, 5)
> ERROR: `zero` has no method matching zero(::Type{UTF8String})
> in zeros at array.jl:169
>
>
> This used to work, but with the new update it doesn't. Any idea?
Doesn't work on 0.3.4 either. But what wou
|_| | | | (_| | | Version 0.3.3
_/ |\__'_|_|_|\__'_| |
|__/ | x86_64-redhat-linux
julia> A=zeros(UTF8String, 5)
ERROR: `zero` has no method matching zero(::Type{UTF8String})
in zeros at ./array.jl:169
Regards
> On Friday, January 16, 2015, Milan Bouchet-Valat
> wrote
Le dimanche 18 janvier 2015 à 03:54 -0800, 'Stéphane Laurent' via
julia-users a écrit :
> Hello,
>
>
> Since Julia version 0.4 this way does not work anymore :
> git pull
> make clean
> make
>
>
> There are some errors when doing make. Can I simply delete my julia
> fo
han
> 0.4 ?
>
> Le dimanche 18 janvier 2015 12:56:16 UTC+1, Milan
> Bouchet-Valat a écrit :
> Le dimanche 18 janvier 2015 à 03:54 -0800, 'Stéphane
> Laurent' via
> julia-users a écrit :
&
Le dimanche 18 janvier 2015 à 10:15 -0500, Isaiah Norton a écrit :
> I should also emphasize the difference: pointer_from_objref returns a
> jl_value_t*, which includes the type tag found at the beginning of all
> (well, most) Julia value instances. With "Ptr{T}" and "&v" in ccall,
> you get a poin
Le lundi 19 janvier 2015 à 09:48 -0800, J Luis a écrit :
>
> In Matlab, all variables are arrays, so testing for emptiness
> is (nearly) always possible, although not always meaningful.
> For example, what does isempty mean when applied to a file or
> a window? In m
Ptr{Ihandle}, name::String)
# Do the oposite of setappdata
att = IupGetAttribute(hand, name)
if (att != C_NULL)
val = Nullable(unsafe_pointer_to_objref(att))
else
val = Nullable{Union()}()
end
return val
end
Nullable is in Julia 0.4, also available in 0.3 via
Le lundi 19 janvier 2015 à 14:20 -0800, Ivar Nesje a écrit :
> The problem here is a parsing ambiguity, because tuples support
> indexing. I believe there is an issue on github for this, but I can't
> figure out what to search for.
That's https://github.com/JuliaLang/julia/issues/9445
> It might b
Le lundi 19 janvier 2015 à 21:34 -0800, AVF a écrit :
> I just wanted to double-check that I understand it correctly: doing a
> vectorized operation to a passed variable inside a function will not
> change the variable on the outside?
More or less. `x += 10` is just syntactic sugar for `x = x + 10`
Le vendredi 23 janvier 2015 à 13:02 -0800, J Luis a écrit :
>
> But atoi and atof are only for NULL-terminated strings; why is
> conversion of individual characters relevant?
>
> But why can't, in Julia, the C NULL termination be forgotten?
The problem is not with NULL: it's that
The post wasn't about this, but I must say I love to see support for Cox
models coming to Julia!
Regards
Le vendredi 23 janvier 2015 à 14:37 -0800, Ben Kuhn a écrit :
> Hi Julia folks,
>
>
> Trying to get a feel for Julia, I decided to write a basic Cox
> proportional hazards model. While I wa
Le dimanche 25 janvier 2015 à 08:45 -0800, Martin Kapfhammer a écrit :
> I generated a data set
> 10 000 000 rows á 2 elements
> resulting in 476 MB
>
>
> and cluster it using kmeans algorithms with k = 3.
>
>
>
>
> Julia over 5 minutes
> R 20 seconds
> Scipy 16 seconds
>
>
> My machine
Le lundi 26 janvier 2015 à 03:07 -0800, Yuuki Soho a écrit :
> Coming back to my original problem, I did a simplified version of it,
>
> which is about 10x slower than a vectorized matlab version. Have I
> missed anything here ?
Your code looks fine to me, at least it doesn't seem to suffer from t
Le mardi 27 janvier 2015 à 10:42 -0800, Kuba Roth a écrit :
> Does that mean this particular issue is rather a lack of optimization
> on the LLVM side and has nothing to do with Julia's performance?
> It can be easily optimized by hand.
> Moving the sin(3.4) out of the loop gives me similar timings
Le mercredi 28 janvier 2015 à 23:44 -0800, Kirill Ignatiev a écrit :
> The documentation for Base.reshape says
>
>
> > Create an array with the same data as the given array, but with
> different dimensions. An implementation for a particular type of array
> may choose whether the data is copied o
Le samedi 31 janvier 2015 à 13:08 -0500, Jiahao Chen a écrit :
> k = findin(particles, particles[3])
>
> findin requires both arguments to be collections.
> Try findin(particles, [particles[3]]) instead.
Maybe we should add a version accepting a single element too? Any reason
not to?
Re
Le dimanche 01 février 2015 à 00:35 -0800, alex codoreanu a écrit :
> Hi all,
>
>
> I'm a new Julia user and I'm starting to write a high-level multi data
> type fits file reader and writer akin to IDL's mwrfits/mrdfits. I got
> most of the dynamics figured out by I can't quite make a custom
> st
ata[1].lambda
Regards
> but
>
>
> julia> data[1].lambda=[1., 2.0]
>
> ERROR: type DataType has no field lambda
>
>
>
> Now that I have the structure data how do I access the branch members?
>
>
>
>
> On Sunday, February 1, 2015 at 8:07:5
Le dimanche 01 février 2015 à 07:18 -0800, Arshak Navruzyan a écrit :
> Hello,
>
> A really basic question how do I turn a symbol into a string ?
>
> :blah -> "blah"
julia> string(:blah)
"blah"
Easy, isn't it?
Regards
Le mercredi 04 février 2015 à 02:00 -0800, Kristoffer Carlsson a écrit :
> If you want to allocate an Array you can simply write:
>
>
>
> julia> Array(Int, 5, 1)
> 10x1 Array{Int64,2}:
> 2187293504
> 2151034912
> 2195818528
> 2147516504
>
>
>
> Now, Vector is a short form for Array{T, 1}.
Le mercredi 04 février 2015 à 23:11 -0800, Wai Yip Tung a écrit :
> I have successfully defined a custom array Ngram.
>
>
>
> type Ngram <: AbstractArray{ASCIIString,1}
> seq::ASCIIString
> n::Int
> end
>
>
> function getindex(s::Ngram, i::Int)
> s.seq[i:i+s.n-1]
> end
>
>
> func
Le jeudi 05 février 2015 à 13:55 -0500, Stefan Karpinski a écrit :
> When you open the file referred to by path2, that is essentially
> looking at joinpath(pwd(), path2) and this is just a generalization of
> that that behavior relative to path1 instead of pwd() specifically.
> This is also how Pyt
ion.
Yeah, but one could also imagine raising an exception instead, as the
programmer may not have expected path2 to be absolute. It's not magical,
but maybe a little too smart for my taste for a function called
"joinpath". YMMV of course.
Regards
> On Thu, Feb 5, 2015 at 2:06
t automatically works for UTF-8 strings too.
Finally, your size() function should return a tuple with one element
instead of a scalar. You should also have a length function, like this:
Base.length(s::Ngram) = length(s.seq) - s.n + 1
Base.size(s::Ngram) = (length(s),)
Regards
> Wai yip
Le vendredi 06 février 2015 à 03:48 -0800, Ivar Nesje a écrit :
> Please don't tell him to use +1 and -1 to manipulate UTF8String
> indexes. Use nextind and prevind.
Indeed, shame on me, for somebody who's trying to forbid indexing
strings with integers...
So, if you want to support strings other
Le vendredi 06 février 2015 à 11:12 -0800, Keith Kee a écrit :
> Hi
>
>
> Using DataFrames ( v"0.6.0" ) and Win32 julia 0.3.5
>
>
> ds = readtable("EURUSD.CSV", header=false)
>
>
>
> results in
>
>
>
> BoundsError()
> in findcorruption at io.jl:698
> in readtable! at io.jl:779
> in readt
e knowledgeable, and there's apparently a bug at least
in the line number that is being reported.
Regards
> Thanks.
>
>
> Keith
>
> On Friday, 6 February 2015 12:19:55 UTC-8, Milan Bouchet-Valat wrote:
> Le vendredi 06 février 2015 à 11:12
he issue, it would be very useful.
Regards
> Keith
>
>
>
>
>
> On Saturday, 7 February 2015 08:17:51 UTC-8, Milan Bouchet-Valat
> wrote:
> Le vendredi 06 février 2015 à 15:01 -0800, Keith Kee a
> écrit :
> > Hi Milan,
>
Le lundi 09 février 2015 à 08:03 -0800, Seth a écrit :
> Inspired by a Lint.jl message:
>
>
>
> INFO In 0.4+, replace int() with Int()
>
>
>
>
> I wanted to find out whether Int() was actually functionally the same
> as int(). Short answer: it's not, but I'm not sure whether (if int()
> is
Le lundi 16 février 2015 à 10:31 -0800, Joel Nelson a écrit :
> The issue was found to be with HttParser and more specifically the
> shared library libhttp-parser. In the deps.jl file under HttpParser
> the @checked_lib was pointing to /usr/lib64/libhttp_parser.so.
> However, our libhttp_parser.so
Le jeudi 19 février 2015 à 07:10 -0800, Roy Wang a écrit :
> I'd appreciate it if someone can help me out with two questions:
>
> I think this function is not a type-stable function. This is because
> the type of out depends on the input A. If it is type-stable, why?
No, it *is* type stable, preci
Le vendredi 20 février 2015 à 05:06 -0800, Sebastian Good a écrit :
> Thanks for the hard work!
>
>
> I got a surprising deprecation when writing an array with one term in
> it. While the expression [1] is valid (creating an Array{Int64,1} with
> one element in it), the expression [1:5] generates
Le vendredi 20 février 2015 à 22:26 -0800, Viral Shah a écrit :
> You could explore DataArrays.
> https://github.com/JuliaStats/DataArrays.jl
I guess you mean DataFrames? Indeed, the column names would provide the
equivalent of your variables/subfields.
flows.out wouldn't be possible, but you can
Le vendredi 20 février 2015 à 18:40 -0800, Tom Colvin a écrit :
> I get a "key not found" error even though the key is clearly in there.
> Here's a stripped down version of the code that produces the error:
>
> # Define my custom type
> type Test
> act::Array{Int64}
> obs::Array{Int64}
> end
>
Le mardi 24 février 2015 à 00:46 -0800, Grunde Waag a écrit :
> Hi,
> I have an array, for instance x = linspace(0, 10, 20);, and I want to
> find the index for which x==1 and then change the value of x at that
> index.
>
>
> In Matlab this is easy: x(x==0) = 100;
>
>
> What is the best way to
Le mardi 24 février 2015 à 01:13 -0800, giovanni.m...@gmail.com a
écrit :
> Hello,
>
> I am a beginner to Julia and would like to try out some features. I
> would like to improve performances of some bottleneck functions by
> translating them into C.
Do you think that's really necessary? One of th
Le mardi 24 février 2015 à 05:25 -0800, Bill Hart a écrit :
> In answer to your original question, assuming you had a very complex C
> program that Julia just didn't handle efficiently (it's possible), or
> you had already written a very large external library which you didn't
> want to rewrite in
ed for database-like data, while arrays are useful
when you want to use matrix algebra and things like that.
Regards
> On Saturday, February 21, 2015 at 5:08:44 AM UTC-5, Milan Bouchet-Valat wrote:
> Le vendredi 20 février 2015 à 22:26 -0800, Viral Shah a écrit :
> &
Le vendredi 27 février 2015 à 10:31 -0800, Eric S a écrit :
> I see from the definition of the Messagebox function much of what I
> might do. I'm having a real problem figuring out how to define the
> filetypes however. I looked to Python's tk interface for file dialogs
> for a clue, but still got
uot;; args...)
end
Any other ideas to handle this situation (which should be quite common
in Tcl/Tk)? Maybe `to_tcl(::Pair)` should return `""` when the value is
`nothing`, so that default values can be passed directly without any
effect?
Regards
> Eric
>
>
>
t;. In any case, I still can't get the filetypes keyword to
> work on my Mac. Even with your latest suggestion, all the files end up grayed
> out. It may be that the Mac dialogs don't support the use of filetypes in
> this context. I'm supposing there must be some function for
Le samedi 28 février 2015 à 06:58 -0800, Eric S a écrit :
> Milan,
>
>
>
> My problem was a semicolon instead of a comma in the call to
> tcl("tk_getOpenFile", args). The function now seems to work. I can
> work up versions for GetSaveFile and ChooseDirectory. Once they seem
> to work, what is t
quot;initialfile"] = initialfile end
> if length(title) > 0 args["title"] = title end
> tcl("tk_getSaveFile", args)
> end
>
>
>
>
> function
> ChooseDirectory2(;initialdir::String="",mustexist=false,titl
Le dimanche 01 mars 2015 à 23:20 -0500, Stefan Karpinski a écrit :
> A little more detail about what you're doing may help. How are you
> running this? What code are you using? The phrase "Process Completed"
> doesn't appear anywhere in the Julia source code – are you using some
> package?
"Process
Le jeudi 05 mars 2015 à 11:59 -0800, Pooya a écrit :
> Thanks for this clear explanation. If I do the following, is my
> function type still unstable? How do you compare the following
> solution to yours in terms of efficiency, style, etc?
>
> function compute_outputs(..., output2Flag)
> # do s
Le mardi 10 mars 2015 à 01:40 -0700, David van Leeuwen a écrit :
> Hello,
>
> On Friday, March 6, 2015 at 2:22:42 AM UTC+1, Tony Kelman wrote:
> > I suppose this is related to + and - being unary operators?
>
>
> Ding ding. Unfortunately space being the horizontal
Le mardi 10 mars 2015 à 15:12 -0700, Shivkumar Chandrasekaran a écrit :
> Thanks! I guess I will put the return type in the calling code
> instead. Nuisance though.
But you shouldn't need to. Julia is able to find out what the return
type is as long as you write type-stable code. Can you give more
Le jeudi 12 mars 2015 à 11:01 -0500, Tim Holy a écrit :
> This is something that many people (understandably) have a hard time
> appreciating, so I think this post should be framed and put up on the julia
> wall.
>
> We go to considerable lengths to try to make code work efficiently in the
> ge
Le jeudi 12 mars 2015 à 10:31 -0700, Phil Tomson a écrit :
>
>
> On Thursday, March 12, 2015 at 2:14:34 AM UTC-7, Mauro wrote:
> Julia is not yet very good with producing fast vectorized code
> which
> does not allocate temporaries. The temporaries is what gets
>
> Did you run your benchmarks on 0.4 ?
>
> Thanks,
> Jan
>
> Dňa štvrtok, 12. marca 2015 19:19:08 UTC+1 Milan Bouchet-Valat
> napísal(-a):
> Le jeudi 12 mars 2015 à 11:01 -0500, Tim Holy a
> é
Le samedi 14 mars 2015 à 07:11 -0700, Zexuan Luo a écrit :
> I am confused on the the doc of
> [embedding](https://github.com/JuliaLang/julia/blob/master/doc/manual/embedding.rst)...
>
> > For instance, when Julia is installed to $JULIA_DIR, one can
> compile the above test program test.c with gc
Le lundi 16 mars 2015 à 13:00 -0700, Chris a écrit :
> Hello,
>
>
> I have written a bunch of Julia code with functions assuming a certain
> variable (time) is a Float64 (really it's a Julian Date). I recently
> decided it might be a good idea to introduce a custom JDate type,
> which I defined a
Le vendredi 20 mars 2015 à 14:03 -0700, Julia User a écrit :
> I looked through some of the Base source code and see different things
> for conversions.
>
> c%UInt8
> convert(UInt8,x)
> UInt8(t)
>
> to name a few
>
> Any official recommendation for someone starting out new - anything
> which
Le lundi 23 mars 2015 à 02:29 -0700, Sisyphuss a écrit :
> It may be a bit out of topic, but I wonder whether there are any Julia
> users in France, particularly in Paris.
I'm in Paris. Nice to see that other people are around.
Regards
> On Wednesday, February 25, 2015 at 2:35:13 PM UTC+1, David
Le lundi 23 mars 2015 à 04:39 -0700, Uliano Guerrini a écrit :
> The doc says that "The resulting array type is inferred from the
> expression" so I can't understand why
>
>
>
> k=[-1.0,0.0,2.0]
> A=[k[r]^(c-1) for r=1:3,c=1:3]
>
>
> gives me
>
>
> 3x3 Array{Any,2}:
> 1.0 -1.0 1.0
> 1.0
Le lundi 23 mars 2015 à 05:50 -0700, Daniel Carrera a écrit :
> Dear all,
>
>
> For me personally my biggest irritation with Julia is the fact that
> @sprintf() is a macro and not a function. That means that I am always
> forced to write the entire format string in one go. For example, this
> doe
Le lundi 23 mars 2015 à 06:33 -0700, Uliano Guerrini a écrit :
>
>
> Il giorno lunedì 23 marzo 2015 14:02:43 UTC+1, Milan Bouchet-Valat ha
> scritto:
> That's because type inference has a hard time checking whether
> the type of k remains the same in th
Le lundi 23 mars 2015 à 13:45 -0700, Tony Kelman a écrit :
> Anyone have any objections to me tagging 0.3.7, now-ish?
A few minutes too late, but it's OK on my side, the RPM builds went
fine.
Regards
> Elliot, if you get this, is there anything special on the buildbot
> side to make it post actu
Le mercredi 25 mars 2015 à 07:55 -0700, Matt Bauman a écrit :
> See https://github.com/JuliaLang/julia/issues/6219#issuecomment-38117402
This looks like a case where, as discussed for string indexing, writing
something like p + 5bytes could make sense. Then the default behavior
could follow the mo
Le samedi 28 mars 2015 à 21:35 -0700, Philip Tellis a écrit :
> I've written the following code:
>
>
>
> import Base.convert
> function convert(::Type{UTF8String}, x::Int64)
> return utf8(string(x))
> end
> println(convert(UTF8String, 10))
> println(convert(Array{UTF8String, 1}, [10]))
>
>
1 - 100 of 565 matches
Mail list logo