[julia-users] Julia support initiated for SageMathCloud worksheets ...

2014-10-26 Thread cdm
for any of you past, or present, Sage users out there, W. Stein has begun to add some support for Julia in Sage worksheets on SMC {cloud.sagemath.com} ... https://groups.google.com/d/msg/sage-cloud/ELO3mTgMRg0/GI_mscuwjrYJ give it a spin if you would like to appreciate some of the great wor

[julia-users] Serialising/unserialising DateTime

2014-10-26 Thread Adrian Cuthbertson
I'm trying out Dates (using Dates, in 0.3.3-pre+8). I would like to serialise the underlying Int64 value for storage and retrieval in the most performant way. Is there a way of constructing a DateTime from the previously serialised Uint64? julia> now = Dates.now() 2014-10-27T06:35:08 julia> now_

[julia-users] Re: Package build errors

2014-10-26 Thread Tony Kelman
Okay, it turns out it's not very hard at all to use the opensuse build service, fork the package that's causing trouble, and revert it back to the last working state. See https://build.opensuse.org/package/show/home:kelman/mingw64-tk You can use this by doing the following: using WinRPM push!(

[julia-users] Re: Package build errors

2014-10-26 Thread Tony Kelman
Sorry about this Miguel. We use a build service from OpenSUSE to download WinRPM binaries for many packages on Windows. Unfortunately it's not a very stable repository, the maintainers frequently change the names around or do massive reformatting on the build scripts which cause our package ins

[julia-users] Re: How to assign names of a RArray object in Rif.jl?

2014-10-26 Thread lgautier
Currently the way to do is to explicitly call the R-level setter: x = Rif.R("names<-")(x, Rif.cR("A", "B", "C")) However, as of today commit the C-level is exposed and a way that is looking a little more like native Julia. (I'll do a pull request so this is part of the released package soon).

[julia-users] Re: LaTeX labels in Winston

2014-10-26 Thread Alex
Hi! I finally got around to push my code to github: https://github.com/acroy/Lasem.jl There is a directory winston, which contains two variants of replacing the Winston text-rendering functions. One version uses itex2mml + MathML rendering provided by Lasem, while the other version assumes tha

[julia-users] Re: Meetup group in Stockholm, Sweden?

2014-10-26 Thread Alberto
Hej Tomas, I found by chance this post. I wanted to let you know that I'm also based in Stockholm at the moment. I'm a total newbie in julia since I started just a couple of months ago but I enjoy working with it a lot. And I think it would be great to know if there are other users in the area

Re: [julia-users] julia upgrade to 0.3.2

2014-10-26 Thread harven
Thanks for your response. That worked.

[julia-users] Package build errors

2014-10-26 Thread Miguel Belbut Gaspar
Hi, I recently updated to julia 0.3.2, and now I have problems with some packages. I removed the .julia directory, and reinstalled, but the problems appeared again (some packages had build errors). I don't remember exactly which packages it was, but the first error I noticed was: configure: er

Re: [julia-users] julia upgrade to 0.3.2

2014-10-26 Thread Stefan Karpinski
If you do `git checkout release-0.3` then you will be on the `release-0.3` branch instead of `master`; you can then proceed exactly as you used to but will only get the relatively conservative changes on that stable release branch. On Sun, Oct 26, 2014 at 3:11 PM, harven wrote: > Hi, I am curren

[julia-users] julia upgrade to 0.3.2

2014-10-26 Thread harven
Hi, I am currently using julia v0.3.1-pre+4 under a debian gnu/linux system and would like to upgrade to the latest stable version 0.3.2. Should I recompile from source or is there a faster way? I used to do `git pull origin` but I guess that would retrieve the 0.4 version of julia. Thanks for

Re: [julia-users] How to get a Julia code review

2014-10-26 Thread Davide Lasagna
@Stefan ;) @John I have in fact just finished wrapping a C library for neural networks (the FANN library) and just wanted to have some feedback on it by someone with more experience. Did not mean at all getting any cheap labour, of course. I will post on this list an announcement, so people in

Re: [julia-users] Parallel computing using Julia tutorials

2014-10-26 Thread Jiahao Chen
>If there aren't any else, I assume that not many people have experimented with parallel Julia. You may also be interested in this preprint: http://arxiv.org/abs/1410.6449

Re: [julia-users] Re: ERROR: function is not yet c-callable

2014-10-26 Thread Jameson Nash
there's a small bug (a negative interaction between it and with COPY_STACKS, actually) that causes segfaults if you call gtk_run (e.g. for a dialog box), or are using a slightly old version of gtk. i just keep forgetting to go and fix it On Sun, Oct 26, 2014 at 5:48 AM, Andreas Lobinger wrote: >

[julia-users] Re: qustion about storing a read-only large structures inside a composite type

2014-10-26 Thread Johan Sigfrids
As I understand it in your immutable type GPDataType only stores the references the Matrix and Vector so it is only the reference which is immutable, not the arrays themselves, and it is only the reference which is passed by value. This also means that the values stored in the arrays themselve

[julia-users] qustion about storing a read-only large structures inside a composite type

2014-10-26 Thread Roy Wang
Hi everyone, I how to best store potentially very large structures in a composite type. These structures won't be modified after initialization. My primary concern right now is performance instead of the possibility of accidentally overwriting the entries of these large structures. I'm experim

Re: [julia-users] Confusion about dimensions

2014-10-26 Thread John Myles White
size(m, 1) — counts _over_ rows sum(m, 1) — sums _over_ rows So no mixup, just a different perspective than you’re taking right now. My best advice: discard everything you know about R while using Julia. If you’ve used Matlab, that will be much more useful as an analogy for how Julia works.

Re: [julia-users] Learning to Type?

2014-10-26 Thread Stefan Karpinski
Haha. That's entirely possible :-) On Sun, Oct 26, 2014 at 11:30 AM, John Myles White wrote: > Funny, I had thought you were the person who sent that post to the mailing > list long ago. > > — John > > > On Oct 26, 2014, at 8:29 AM, Stefan Karpinski > wrote: > > On Sun, Oct 26, 2014 at 11:08 A

Re: [julia-users] Learning to Type?

2014-10-26 Thread John Myles White
Funny, I had thought you were the person who sent that post to the mailing list long ago. — John On Oct 26, 2014, at 8:29 AM, Stefan Karpinski wrote: > On Sun, Oct 26, 2014 at 11:08 AM, John Myles White > wrote: > For understanding mutable vs. immutable types, I found this very helpful: >

[julia-users] Confusion about dimensions

2014-10-26 Thread Justas _
I am a bit confused. Take a look: size(m, 1) # returns size of rows size(m, 2) # returns size of columns sum(m, 1) # sums columns sum(m, 2) # sums rows Also, I have R background, and there 1 is used for rows, 2 - for columns. Why Julia mixes this up?

Re: [julia-users] Learning to Type?

2014-10-26 Thread Stefan Karpinski
On Sun, Oct 26, 2014 at 11:08 AM, John Myles White wrote: > For understanding mutable vs. immutable types, I found this very helpful: > > * http://cr.openjdk.java.net/~jrose/values/values-0.html > > It takes several reads to really understand, but it gets at the core > issues. What it lacks is a

Re: [julia-users] Learning to Type?

2014-10-26 Thread John Myles White
I’ve often wished we had a Julia reading list that provided useful references for people wanting to learn about the big ideas involved in Julia. For understanding mutable vs. immutable types, I found this very helpful: * http://cr.openjdk.java.net/~jrose/values/values-0.html It takes several re

Re: [julia-users] Re: Modified Gram-Schmidt: getting the best out of Julia

2014-10-26 Thread Tim Holy
On Friday, October 24, 2014 04:27:46 AM Ján Dolinský wrote: > I assume some mat-vec (or mat-mat) operations like (v_i' * s) are directly > translated into a BLAS call e.g. BLAS.gemv('T',v_i,s), right ? Is there a > way to find out what is being called under the hood ? @which --Tim

[julia-users] Re: Sublime-IJulia help installation for Sublime text 3

2014-10-26 Thread Till Ehrengruber
Are you sure you setup the path to the julia executable right? I'm on OS X and have julia in my path so the default settings are fine for me but on windows you either need to add the julia to your path or set it up in the preferences of the sublime ijulia plugin Am Sonntag, 26. Oktober 2014 12:

[julia-users] Re: ANN: GeometricalPredicates.jl

2014-10-26 Thread Ariel Keselman
Traits/Interfaces can easily solve the redefinition of points in geometry packages. All I want is to use something that has getx and gety, I don't rally care about the it's type hierarchy! see for e.g. this: https://github.com/mauro3/Traits.jl About replacing BigInts with (some small number) X

[julia-users] Sublime-IJulia help installation for Sublime text 3

2014-10-26 Thread ccsv . 1056915
I tried Sublime IJulia from https://github.com/quinnj/Sublime-IJulia and followed the directions. Then I created a new file and put this code in print("Hello Julia") Then I pressed "Ctrl+B" to run it.I got an error which looks like this in the prompt: [WinError 2] The system cannot find the

[julia-users] Re: Learning to Type?

2014-10-26 Thread Simon Danisch
I don't understand your question that well. You state, that you have problems understanding the type system, which leads to more complex code. I don't fully get the connection between not understanding the type system and more complex code. I'd expect far more troubling problems from not underst

Re: [julia-users] Re: Naive question about data frames -- What are they used for?

2014-10-26 Thread Kaj Wiik
John, many thanks! Cheers, Kaj On Sunday, October 26, 2014 1:27:03 AM UTC+3, John Myles White wrote: > > FWIW, I don’t think overhead is the right concept here: DataFrames and > Arrays are almost almost totally dissimilar data structures. (DataFrames > are arguably much more like Dict’s than A

[julia-users] Re: Learning to Type?

2014-10-26 Thread Andreas Lobinger
Yes, it helps a little bit. The question was rather on what to read (what book to read) to be able to follow discussions like Stefan's and John's discussion here. Obviously the julia type system is a benefit for the compiler. On Wednesday, October 22, 2014 4:53:26 PM UTC+2, Iain Dunning wrote:

Re: [julia-users] Re: ERROR: function is not yet c-callable

2014-10-26 Thread Andreas Lobinger
Just a small question: What actually is the status of the "enable an experimental reversal of the julia main loop"?