Hi Eric,
the problem here is that the kernel is blocking the process because there's
nobody reading on the
other side (since the writing process is blocked so it can't do any
reading). We can probably do some
things to improve the situation, but for now I'd recommend the following:
- Start reading
First make sure the repo name is typed correctly (e.g. by trying to clone
outside of julia). Unfortunately on 0.5 we do not respect the credential
helper settings yet. Also if you have 2FA enabled remember that you need to
type an access token rather than your password.
On Mon, Sep 26, 2016 at 5:4
readdir is POSIX: http://man7.org/linux/man-pages/man3/readdir.3.html
On Wed, Sep 14, 2016 at 12:45 PM, Chris Rackauckas
wrote:
> Here it is: https://github.com/JuliaLang/julia/issues/3376. Would
> changing to ls be back on the table?
>
> On Wednesday, September 14, 2016 at 9:41:55 AM UTC-7, Ste
Cxx allows you to create a class on the julia side and implement member
functions in julia, which sounds like what you want?
On Wed, Sep 7, 2016 at 9:14 AM, K leo wrote:
> Upon studying the C++ API that I will need to use, I found that it
> specifies many virtual member functions which are callb
If you create objects from C you need to be very careful to have
appropriate gc roots, for all values involved before yielding control
back to julia.
On Tue, Aug 9, 2016 at 6:23 PM, wrote:
> I'm contributing a bit to rjulia and I've run into some trouble creating
> julia DataFrames from C in 0.5
I haven't gotten around to writing documentation yet, because I'm not quite
happy with the abstraction. If you give me a rough idea of what kind of
tree it is, I can probably tell you the right thing to do. The most basic
interface is just to return an iterator over a node's children from
AbstractT
Sounds like a potential bug in the inliner. Would be good to get a reduced
test case.
On Fri, Aug 12, 2016 at 7:56 PM, Scott T wrote:
> I get the same as you - I haven't been able to produce a concise example
> of this behaviour yet. The actual bug is nested deep within
> VoronoiDelaunay.jl and
Should have been, yes.
On Tue, Aug 9, 2016 at 6:05 PM, Tim Wheeler
wrote:
> Was this fixed?
>
> On Monday, July 11, 2016 at 11:24:00 AM UTC-7, Keno Fischer wrote:
>>
>> I've been working on making this work again. Should be merged in a
>> couple of days.
>&
ake them more flexible to run on distributions
> that have them in non-Debian locations. Is there an alternative way we can
> get those tests to run via an executable that can run as non-root on
> openSUSE?
>
>
> On Tuesday, August 9, 2016 at 7:39:42 AM UTC-7, Keno Fischer wrote:
>
The tests that are being bypassed are for functionality of the package
manager's SSH client capability for git clone over SSH. So yes, those tests
are bypassed if ssh is not available, but is shouldn't be a big problem as
long as SSH clone runs ok. I think the more important aspect of those tests
i
Typo? @con `s` traint
On Sat, Jul 16, 2016 at 9:01 AM, Jen wrote:
> using JuMP
> using Gurobi
> m = Model(solver=GurobiSolver())
> @variable(m,0<= x1 <=10)
> @variable(m, x2 >=0)
> @variable(m, x3>=0)
> @objective(m, Max, x1 + 2x2 + 5x3)
> @contraint(m, constraint1, -x1 + x2 + 3x3 <= -5)
> @contr
hink a given build is completely done or not.
>
> I think the more important question though is, where are you tracking the
> bugs/regressions that need to be fixed before a 0.5.0 release (at whatever
> stage of the process)?
>
> > -Original Message-
> > From: jul
Anything that's not on the milestone right now will not be in the RC
(other than the cleanup tasks).
The RC is there so that people can start fixing packages against 0.5,
without having to worry about
having to do it again once the release is out. We'll of course
continue cleaning up and working on
I've been working on making this work again. Should be merged in a
couple of days.
On Mon, Jul 11, 2016 at 1:30 PM, Tim Wheeler wrote:
> So I may have figured it out.
>
> According to here, one needs to:
>
> Tag PyCall.jl at v1.3.0
> Use the pull request from benmoran
>
> Tagging is accomplished
You may want to look at Instruments.jl: https://github.com/BBN-Q/Instruments.jl
On Mon, Jul 4, 2016 at 2:00 PM, Alex Mellnik wrote:
> Hi Yared,
>
> This should be possible, but it could be less than ideal in some instances.
> What exactly are you hoping to automate?
>
> Like Isaiah, I don't know
Are you sure that your computer's memory is ok? That sounds like a
suspicious number of segfaults.
On Thu, Jun 23, 2016 at 11:22 PM, wrote:
> Anyone had success using Julia on Intel's Skylake processors?
> I get some segfaults when using Julia (download precompiled) + Ubuntu 14.04.
> I also trie
Just get on MIT, it's better an MIT-Guest and doesn't have access control
either.
On Tue, Jun 21, 2016 at 8:56 AM, Douglas Bates wrote:
> I don't think there is a separate discussion forum for JuliaCon so I am
> posting here.
>
> I am using the eduroam network in the building and can't use the c
Some computers have more than one graphics card and the more powerful one
needs to be activated manually. I know that's the case on my macbook.
On Fri, Jun 10, 2016 at 10:20 AM, Robert Feldt
wrote:
> Great thanks. I suggest a comment about this or changing the example in
> the README so it's mor
Thanks for the kind words everyone. I did indeed graduate last Thursday [1].
I will now be working full time with Julia Computing, doing more compiler
work,
debugging, other tools, etc. and whatever else may come up. Should be great
fun.
Cheers,
Keno
[1] Officially the degree is an AM in Physics
Hi Jan,
first of, I recommend using the string macros icxx and cxx over the @cxx
syntax. That should make it a lot clearer what's happening. To answer your
question,
@cxx reader, is the equivalent of icxx"reader;",
however @cxx reader->stuff is the equivalent of icxx"$reader->stuff", so
reader is
I filed this bug with github some years ago (having to refresh to see
the button), but then it stopped happening for me. I suspect there's a
race condition somewhere.
On Mon, May 23, 2016 at 2:05 PM, Kristoffer Carlsson
wrote:
> Note that you don't need "the green button". You can just select you
There seems to be a myth going around that vectorized code in Julia is
slow. That's not really the case. Often times it's just that
devectorized code is faster because one can manually perform
operations such as loop fusion, which the compiler cannot currently
reason about (and most C compilers can
On Mon, Apr 25, 2016 at 11:12 AM, wrote:
> Thanks for the reference. I quickly scanned the Readmes of Gallium and
> ASTInterpreter and found that they're probably too brief to start with. Is
> there a more complete documentation or tutorial? What is the relation
> between Gallium and AST Interpre
Could you be more specific about your confusion? Both those methods
match `f()` so there's an ambiguity.
On Wed, Apr 20, 2016 at 10:30 AM, Robert Gates wrote:
> I was wondering how this can happen:
>
> julia> type T1; end
>
>
> julia> type T2; end
>
>
> julia> f(a::T1...) = ()
>
> f (generic func
You can call REPL.setup_inferface yourself and add your own REPL mode. You
can also look at
https://github.com/JuliaLang/julia/blob/master/base/client.jl to see how
the active_repl gets created.
On Fri, Apr 15, 2016 at 9:16 AM, wrote:
> I have a REPL mode for an application:
> https://github.com
It is, to achieve static compilation, there is no advantage to generating C
code if an LLVM backend is available for the target.
On Fri, Mar 11, 2016 at 5:03 AM, 'Tobias Knopp' via julia-users <
julia-users@googlegroups.com> wrote:
> Sounds very interesting. Are there concrete plans for which thi
It depends on what the exact predicate is you're trying to define (if you
tell us, we might be able to suggest a way). However, I would caution
against this. It sounds like you're encoding properties into ASTs that may
be better off in a proper data structure.
On Fri, Feb 26, 2016 at 6:21 PM, Juli
Sorry, didn't see this before.
The answer is that anything of type CppValue will be owned by julia and
destructed upon GC. Right now that should be stable, but I will not
guarantee that given future possible directions of the language, so for use
cases like this I would recommend keeping the objec
See https://github.com/JuliaLang/julia/issues/6846
On Fri, Jan 15, 2016 at 9:51 PM, David Gleich wrote:
> Julia managed to surprise me today. I'm wondering how to understand what
> happens in this case and if it's a side effect of some design decision or
> syntax -- or a bug.
>
> The following c
Also for completeness, the two ways around this are to use either.
f{T<:TypeAOrB}(::Array{T})
f(::Union{Array{TypeA},Array{TypeB}})
On Tue, Jan 12, 2016 at 7:07 PM, Keno Fischer
wrote:
> This is explained in the manual:
> http://docs.julialang.org/en/release-0.4/manual/types/
This is explained in the manual:
http://docs.julialang.org/en/release-0.4/manual/types/ (grep for invariant,
not sure how to link a section). In short T <: S does not imply Array{T} <:
Array{S}.
On Tue, Jan 12, 2016 at 6:26 PM, Christian Winkler <
christian.wink...@conning.com> wrote:
> Suppose I
>
> Doesn't work with ROOT-6, though, as the LLVM instances
> of Cling and Julia seem to clash.
>
I've been talking to the ROOT authors to get this resolved as well as
getting better integration.
`:` probably? May have to add the makefile magic that turns windows-style
paths into msys style paths.
On Tue, Jan 5, 2016 at 8:35 PM, J Luis wrote:
> Hmm, I found a problem. When running Julia it doesn't know anything about
> 'make'. So I added the msys2 dir where it lives to the path and moved
Manager/Seat0
> DEFAULTS_PATH = /usr/share/gconf/i3.default.path
> PATH =
> /home/jamie/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> MANDATORY_PATH = /usr/share/gconf/i3.mandatory.path
> HOME = /home/jamie
>
> Package Dir
t;
> > LLVM_VER=3.7.1
> > ARCH=native
> >
> > and I'm building with `make debug`. Does that seem right?
> >
> > On 5 January 2016 at 14:18, Keno Fischer
> wrote:
> >> However, taking another look at your backtrace, that's missing debug
> info in
>
gt;>> I'll give that a go. Thanks :)
>>>
>>> On Tuesday, 5 January 2016 14:00:49 UTC, Keno Fischer wrote:
>>>>
>>>> This only works with new versions of LLVM. We're in the middle of
>>>> transitioning to the new LLVM on master,
This only works with new versions of LLVM. We're in the middle of
transitioning to the new LLVM on master, so I think at this point, just
putting LLVM_VER=3.7.1 in your Make.user should be sufficient.
On Tue, Jan 5, 2016 at 2:50 PM, Jamie Brandon
wrote:
> I've seen it mentioned (eg in
> https://
> /lib64/libpthread.so.0 (0x7f9545b0d000)
>
> libm.so.6 => /lib64/libm.so.6 (0x7f954580a000)
>
> libstdc++.so.6 => /lib64/libstdc++.so.6 (0x7f9545503000)
>
> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x7f95452ed000)
>
> libc.so.6 => /lib64/libc.s
Hi Jan,
looks like Intel options are being passed to gcc. Perhaps your libuv
configuration is stale? You could try `make -C deps distclean-uv`
Keno
On Tue, Dec 29, 2015 at 11:02 PM, Jan Strube wrote:
> I'm trying to install julia from source using the Intel compilers.
>
> icc --version
>
> icc
Git 1.8.5.6 was released in 2014 so it's not that old. I suppose the
versions wasn't bumped further because there weren't any problems with it,
as the package manager can't rely on newer git features anyway (because we
support systems with older git versions installed by the user). It should
be not
Sounds like the memory leak is on the browser side? Maybe something is
keeping a javascript reference to the plot? Potentially a Jupyter/IJulia
bug?
On Thu, Nov 19, 2015 at 12:01 PM, Stefan Karpinski
wrote:
> This should work – if there's a memory leak that's never reclaimed by gc,
> that's a bu
You'll want to use an HTTP client, e.g. Requests.jl.
On Thu, Oct 15, 2015 at 1:37 PM, Douglas Bates wrote:
> I have a Tablo over-the-air video recorder (tablotv.com) which
> communicates via a TCP socket. I almost know enough to be able to write
> Julia code to communicate with it but not quite
And since this is a scoping problem, `let` is your friend
```
julia> a = 20
julia> let a = a
global f
f(x) = x*a
end
f (generic function with 1 method)
julia> f(20)
400
julia> a = 40
40
julia> f(20)
400
```
On Fri, Oct 9, 2015 at 10:36 AM, Tomas Lycken
wrote:
> Then don
It's not in the license but the Terms of Use:
```
Content that you submit must not directly compete with products offered by
MathWorks. Content submitted to File Exchange may only be used with
MathWorks products.
```
On Sat, Sep 19, 2015 at 11:23 AM, Stefan Karpinski
wrote:
> IIRC, that used to
Arrayfire is written in C++, so the C++ is by far the simplest way to
interface with it. This work was mostly exploratory, to see if it was
useful at all. If somebody wanted to seriously use it now, I could see
wanting to rewrite it using the C interface, but that would be a simple
task once the AP
Note however, that this behavior has changed in 0.4 and you need to be more
explicit in converting UInts to Ints:
julia> arr = hex2bytes("14fb9c03")
4-element Array{UInt8,1}:
0x14
0xfb
0x9c
0x03
julia> f(x) = abs((x % 3) - 3)
f (generic function with 1 method)
julia> function test_abs(bytes_i
I added an annotation for my video. If you tell me a timestamp for Shashi's
I can do the same there.
On Tue, Aug 18, 2015 at 2:31 PM, Waldir Pimenta
wrote:
> Same for Shashi's session.
>
> On Monday, August 17, 2015 at 11:32:26 PM UTC+1, Keno Fischer wrote:
>>
&g
//t.co/DPuN42F3Qu
>> >>>> 2. Tanmay Mohapatra: Interfacing Julia with Complex systems using
>> Protocol Buffers - http://t.co/Ddxj60KL7g
>> >>>> 3. Eric Davies: Towards A Consistent Database Interface -
>> http://t.co/vdQwFRp7aD
>> >>>>
ou can check yourself. I can also take a look in the morning.
On Mon, Aug 17, 2015 at 11:55 PM, Jan Strube wrote:
> Works!
> Thank you. I appreciate the fast reply. Can't wait to play with Pythia.jl
> :-)
>
>
> On Monday, August 17, 2015 at 2:38:18 PM UTC-7, Keno Fischer wrote
I just fixed this on master. The reason this failed is that the recommended
configuration for Cxx.jl always pulls in latest LLVM master. This causes
problems sometimes when LLVM breaks the API, but it makes it easier for me
to make sure everyone has patches I commit upstream. Please try again.
On
n Geneva, the closest is probably Zurich.
> Let me know if you want to come to Zurich (but it might be a bit short
> notice).
>
> Mauro
>
> On Mon, 2015-08-10 at 21:44, Keno Fischer
> wrote:
> > Hello everyone,
> >
> > I'll be traveling to Geneva later this
Hello everyone,
I'll be traveling to Geneva later this week (Thu/Fri). Not sure if there's
a meet-up group around, but if you're in the area, I'd love to meet up
while I'm there.
Keno
You can put `sudo dmesg` in your travis script block, which will show you
messages from the OOM killer if the job did run out of memory.
On Sun, Jul 26, 2015 at 2:20 AM, Sheehan Olver
wrote:
>
> I spent a bit of time trying to figure out why tests were failing on
> Travis but not locally. It tu
There's theoretically nothing wrong with this, but you do need to setup the
include paths for Cxx. There's addHeaderDir for this purpose.
On Tue, Jul 14, 2015 at 12:38 PM, Kostas Tavlaridis-Gyparakis <
kostas.tavlari...@gmail.com> wrote:
> Hello again,
> I am running Julia Version 0.4.0-dev+5841
ed
> make[2]: *** [install] Error 1
> Makefile:642: recipe for target
> '/home/kostav/julia/usr/lib/libLLVMCodeGen.a' failed
> make[1]: *** [/home/kostav/julia/usr/lib/libLLVMCodeGen.a] Error 2
> Makefile:49: recipe for target 'julia-deps' failed
> make: *** [jul
y
> paste this line
> on the file and then save it in the directory where the source file is
> downloaded?
> Also when you say "ne that uses LLVM-svn" not sure what I need to check for
> this one.
>
>
>
> On Tuesday, July 7, 2015 at 5:36:49 PM UTC+2, Keno Fisc
Please see the instructions in the Cxx.jl README.
In particular, you need (at the moment at least)
- a source install of julia
- one that uses LLVM-svn
On Tue, Jul 7, 2015 at 11:33 AM, Kostas Tavlaridis-Gyparakis <
kostas.tavlari...@gmail.com> wrote:
> Hello,
> I am running the following versio
That struct is not ABI compatible to the given struct, which I believe was
the original question. To get an ABI compatible version, you'll have to use
the same types as the C version. Since unions aren't supported in an ABI
compatible way, this generally does not work for such structs, but in this
The generic solution here is to use a thread and uv's async primitive which
allows you to queue an event on julia's event loop (and is represented by a
SingleAsyncWork at the julia level - ZMQ does this for example). Depending
on what you're waiting on, there may also be deeper integration availabl
Hi everyone,
I think the ideal debugger needs to do a combination of both,
instrumentation and DWARF-style debugging. The trade offs are very
different (instrumentation gives you easy access to variables, AST-level
stepping at the cost of performance of the instrumented code, while the
other gives
gt;
> segunda-feira, 25 de Maio de 2015 às 20:07:08 UTC+1, Keno Fischer escreveu:
>>
>> I don't think anybody has ever tried. It shouldn't be too hard to make
>> work, but will definitely require some modifications to Cxx.jl.
>>
>> On Mon, May 25, 2015 at 3:0
I don't think anybody has ever tried. It shouldn't be too hard to make
work, but will definitely require some modifications to Cxx.jl.
On Mon, May 25, 2015 at 3:00 PM, J Luis wrote:
> Does it worth trying or it's known that it won't work? (I could try to
> build LLVM SVN with VS, if that helps)
The REPL code was designed to have new modes added externally. See e.g. the
RunCxxREPL function here:
https://github.com/Keno/Cxx.jl/blob/master/src/CxxREPL/replpane.jl
On Mon, Apr 20, 2015 at 5:04 PM, wrote:
> I think it would be great to submit the REPL mod, but it is not acceptable
> as it is
That alias should be there:
https://github.com/JuliaLang/julia/blob/master/base/deprecated.jl#L186-L187
On Mon, Apr 20, 2015 at 3:00 PM, Tomas Lycken
wrote:
> Is there a reason this was a hard rename? In other words, would adding
> "typealias Void Nothing" break stuff?
>
> I do understand the re
Did you perhaps accidentally redefine get locally? What version of julia
are you on? Do you get the nearest matching methods (I think that's only on
0.4)? Can you give the output of methods(get) at whatever point it's
failing?
On Wed, Mar 11, 2015 at 11:30 AM, Michael Francis
wrote:
> After movi
I think if they are julia job postings they're fine. General data science
job postings not so much. I think the right policy to follow here is the
LLVM mailing list. People are allowed to advertise their compiler jobs
where they need people with strong LLVM skills, but general job offerings
unrelat
Base.eltype{T<:Foo}(::Type{T})=T.parameters[1]
should work
On Tue, Mar 3, 2015 at 9:58 PM, Sheehan Olver wrote:
> Suppose I have
>
> abstract Foo{T}
> immutable Foo1{T} <:Foo{T} end
> immutable Foo2{T} <:Foo{T} end
>
>
>
> How can I write a function that returns T given the type? E.g.: I want
Are you maybe accidentally defining cdCanvas twice or in two different
modules?
On Wed, Jan 14, 2015 at 3:40 PM, J Luis wrote:
> BTW, if that matters, 'ctgc' is a global variable.
>
> quarta-feira, 14 de Janeiro de 2015 às 14:37:05 UTC, J Luis escreveu:
>
>> Hi, thanks for looking into this.
>>
Hi Jan,
since mutable julia object require a type tag, they always require a pointer
and cannot be structurally inlined. The assertion would hold if both types
were declared `immutable`.
On Wed, Jan 14, 2015 at 11:22 AM, Jan Niklas Hasse wrote:
> Hi!
>
> I'm new to Julia and was wondering why
>
For us, master means the branch that people willing to test out new changes
should be on, in order to provide feedback. If you don't want to do that
you should use the stable branch. We try to keep master building as often
as possible, and if it doesn't that should be considered a priority and
addr
> So can I ask for some honest advice?
Sure
> With the obvious caveats understood, how far away is a "1.0"?
This is a hard one to answer. I think we're doing a lot of the big changes
we've been wanting to do in 0.4, but of course there's always a lot more
stuff to do. If I had to guess, I'd say
> That thing about build stats? Probably grabbing the wrong
numbers, which wasn't true, and could be easily spot checked by using
the script pointed in my linked post.
I apologize for missing that part if your post (and I added a follow up
comment to the hacker news discussion once you pointed tha
I've written up some of my thoughts on the issues raised in this article in
the hacker news discussion, but to answer your question, there's still a
number of big items that need to be tackled by the core team. I do think it
might make some sense to have a docs/tests sprint just prior to the 0.4
re
Personally, I do develop my packages inside .julia.
If I need to sync across machines, I'll just use git, which I should be
doing more anyway (admittedly this can get annoying when developing on two
machines at the same time, in which case I tend to add the remote julia
instance as a worker and shi
LLVM 3.2 is no longer supported. I wouldn't be opposed to a patch
supporting 3.2, since haven't formally dropped support (i.e. there's still
some ifdefs in the code) for it yet - it's just that nobody is using it
anymore.
On Thu, Dec 11, 2014 at 5:21 PM, Stefan Karpinski <
stefan.karpin...@gmail.c
I don't see a good reason for DevNull not to behave like this.
On Sun, Dec 7, 2014 at 11:39 PM, Stefan Karpinski
wrote:
> cc:ing Keno and Jameson as the authors of DevNull.
>
> On Sun, Dec 7, 2014 at 10:28 PM, K Leo wrote:
>
>> Even if I could check something like the following is better:
>>
>>
Might be covered by this issue:
https://github.com/JuliaLang/julia/issues/3648
On Mon, Dec 1, 2014 at 7:12 AM, Ariel Keselman wrote:
> there is an issue when "using" a module fails: I work on a computer w/o
> access to github, I had to just copy Images.jl to use it. Using Images
> resulted in er
This is primarily a Cxx.jl issue, though you might run into problem if
you're trying to unwind through non-C++ frames later. In any case, in the
spirit of experimentation, you can enable exception handling by setting the
appropriate options from here:
https://github.com/llvm-mirror/clang/blob/mast
You can actually do this if you declare Joker to be immutable (at least in
0.4, I'm not sure if that change happened before the 0.3 release or not)
On Fri, Nov 28, 2014 at 5:15 AM,
wrote:
> Ok, so the parameter can only be an integer or a type, am I right ? Is it
> specified in the manual ?
>
>
Yep `44099 * (1/1) == 44100` is false on my machine as well. In any case,
as John mentioned, to be careful about `==` comparisons with floating point.
On Wed, Nov 19, 2014 at 6:04 PM, John Myles White
wrote:
> This does not happen on my machine. Can you give more details about your
> setup?
>
>
Also is git installed.
On Wed, Oct 22, 2014 at 1:30 PM, Stefan Karpinski
wrote:
> Although that should be done for you. Does /home/markus/.julia/v0.3 exist?
> If so, what's in it?
>
> On Wed, Oct 22, 2014 at 1:28 PM, Jake Bolewski
> wrote:
>
>> run Pkg.init() first if the metadata does not exis
Responses inline, let me know if something is unclear:
On Sun, Oct 19, 2014 at 5:25 PM, Greg Plowman wrote:
> Hi,
>
> I have several general questions that came up in my first foray into Julia.
>
>
> Julia seems such a delight to work with, things seems to work magically and
> lots of details are
You can either check out the release-0.3 branch or use the
juliareleases (as opposed to julianightlies) PPA as described at
http://julialang.org/downloads/
On Thu, Oct 9, 2014 at 3:56 AM, Thomas Moore wrote:
> Well that was another surprise: to upgrade, I deleted my julia and .julia
> files, and
Yes, it's definitely supposed to be closed by the garbage collector.
Eachline only closes it manually if it opened it, which it didn't in
this case. Maybe better would be
open("testfile","r") do f
collect(eachline(f))
end
On Tue, Oct 7, 2014 at 1:27 PM, g wrote:
> I tracked it down under
No, that's not the right REPL. The one in the terminal is the
LineEditREPL. We need better repl configuration, but you can change
the prompt like this:
Base.active_repl.interface.modes[1].prompt="abc> "
On Mon, Sep 22, 2014 at 11:34 PM, Steve Kelly wrote:
> The prompt is defined here:
> https://
In some finite element code I wrote I had one big `state` type which I
passed around to every function, which is basically the same as
passing along the arguments, but only takes one argument :). Plus you
don't have to play games with being careful about the types of globals
if you type the fields
It's callable, but probably not what you want:
julia> f(A::Vector{Number}) = println(A)
f (generic function with 1 method)
julia> f(Number[1.0; 1])
Number[1.0,1]
On Sat, Sep 13, 2014 at 9:51 PM, Tony Fong wrote:
> I think a container type with a non-leaf eltype won't match anything. The
> right
Having an array as a field of an immutable is fine. It will be
variable size and heap allocated, just like if you had the array by
itself without the immutable. At some point we will tackle fixed-size
arrays (and the associated performance benefits) both mutable and
immutable.
On Sat, Sep 13, 2014
Thanks
> --Peter
>
>> -Original Message-
>> From: julia-users@googlegroups.com [mailto:julia-
>> us...@googlegroups.com] On Behalf Of Keno Fischer
>> Sent: Thursday, September 11, 2014 1:36 PM
>> To: julia-users@googlegroups.com
>> Subject: Re: [julia
The best thing I can think of is to have a company-local METADATA that
you periodically update withe METADATA from GitHub.
On Thu, Sep 11, 2014 at 4:34 PM, Peter Simon wrote:
> I've introduced several packages at work for my coworkers' use. I expect
> more to be added in the future, both from my
dmg
>
> On Thursday, September 11, 2014 12:10:58 PM UTC-4, Keno Fischer wrote:
>>
>> You probably have a version of julia that is > 0.2.1 but < 0.3, please
>> update to 0.3.
>>
>
You probably have a version of julia that is > 0.2.1 but < 0.3, please
update to 0.3.
On Thu, Sep 11, 2014 at 11:14 AM, Nima Dehghani wrote:
> hi,
> I update julia packages on my Osx. After the update, I got an error about
> building "zmq" and "nettle"...it could not build them again. So, I remov
If I understand correctly, you want hcat:
julia> hcat(v,w)
3x2 Array{Float64,2}:
1.0 2.0
2.0 4.0
3.0 6.0
The general version of that is `cat`.
On Tue, Sep 9, 2014 at 6:31 PM, Diego Tapias wrote:
> Thanks for answering!, but what if I want to form a matrix of dimension 2
> and not an array
Pkg.publish definitely automatically forks and sets up a pull request.
I suspect there is a different permissions problem going on. Perhaps
you didn't register your public key with github?
On Mon, Sep 8, 2014 at 4:27 PM, Ivar Nesje wrote:
> You seem to have done things right. The problem is that
Try x=copy(a). Matlab automatically copies the array if it's written to.
On Sun, Aug 31, 2014 at 1:52 PM, Alex Hollingsworth
wrote:
> Hi Everyone,
>
> I cannot figure out if there is an error in Julia or (more likely) in my
> code. I have a matrix A, which contains some NaN values and I would lik
Before anything else, try `Pkg.checkout("BinDeps")` and see if that fixes it.
On Tue, Aug 19, 2014 at 3:11 PM, Ken Crowell wrote:
> (Posted earlier in IRC, but I'm told this is considerably more active.)
>
> So in the recent past (a few weeks ago), on 0.2 on Ubuntu trusty, I could
> pre-install t
You probably need `import ..Ngrams`.
On Sun, Aug 17, 2014 at 8:49 AM, TR NS wrote:
> Can any one tell me why this line
>
>https://github.com/openbohemians/corpus-julia/blob/master/src/cli.jl#L22
>
> produces the error
>
> ERROR: Ngrams not defined
>
> Thanks.
>
I believe the Taro package can do this, though it depends on having
Java available.
On Fri, Aug 15, 2014 at 4:04 PM, Frederico Novaes
wrote:
> Hi,
>
> Any package/function to read .xlsx files ?
>
> Frederico.
I believe Gadfly has a pgf backend which might help with this. For
svg, I don't think it can so why don't you happen an issue on the
Gadfly repository?
On Wed, Aug 13, 2014 at 11:22 PM, Lee Streeter wrote:
> When using Gadfly to produce graphs, is there a way to embed fonts rather
> than have the
You need to declare the type parameter on Foo:
type Foo1{B<:Bar} <: Foo{B}
bar::B
end
On Sun, Aug 10, 2014 at 3:37 PM, thom lake wrote:
> Not sure if the title and/or nomenclature are correct, but I need to write a
> function that dispatches on the specific type "inner" type while ignoring
>
1 - 100 of 179 matches
Mail list logo