https://github.com/downloads/JuliaLang/julia/julia-package.zip
This is not yet merged in, but you can follow it here.
https://github.com/JuliaLang/julia/pull/521
-viral
-Keno
> -----Original Message-----
> From: juli...@googlegroups.com [mailto:juli...@googlegroups.com] On
> Behalf Of Alan Edelman
> Sent: Montag, 2. April 2012 08:10
> To: juli...@googlegroups.com
> Subject: Re: [julia-dev] First Windows build of julia
>
> Can I get the quadcore parallelism on my windows machine?
>
>
> On Mon, Apr 2, 2012 at 5:34 AM, Alan Edelman <mit.e...@gmail.com>
> wrote:
>
>
> Very cool --- took five seconds to be up and running!!!!
> Thank you so much Keno and Jameson!!!!
>
> Now I hvae to figure out how to change the color scheme :-)
>
-viral
> <Untitled 1.jpg>
> -----Original Message-----
> From: juli...@googlegroups.com [mailto:juli...@googlegroups.com] On
> Behalf Of Viral Shah
> Sent: Dienstag, 3. April 2012 09:24
> To: juli...@googlegroups.com
> Subject: Re: [julia-dev] First Windows build of julia
>
function kmeansclust (X, k, maxIterations)
nan_ = 0.0 / 0.0;
n = size(X,2);
classes = zeros(Int32,1,n);
centers = rand(size(X,1),k);
oldCenters = copy(centers);
while
(maxIterations > 0)
println(
"iterations left: $maxIterations"
);
maxIterations = maxIterations - 1;
for
i = 1:n
Xexp = repmat(X[:,i],1,k);
dists = sum(abs(centers - Xexp),1);
classes[i] = find(min(dists) == dists)[1];
end
for
i = 1:k
inClass = X[:,find(classes == i)];
if
(isempty(inClass))
centers[:,i] = nan_;
else
centers[:,i] = mean(inClass,2);
end
end
if
(all(oldCenters == centers))
break
;
end
oldCenters = copy(centers);
end
(centers, classes)
end
This is great. You can change the answer color by setting the JL_ANSWER_COLOR environment variable, which can be done within the program or before. See attached.
I'm currently working on fixing the random number seed generation (which is what's causing the various CreateProcessW warnings). However, at this point the codepath of Win vs. Linux/OS X in Julia is so very different that there needs to be a design decision made.
Do we
A. Want to expose the platform information to Julia and use some sort of macro to choose the proper code path or
B. contain all platform differences in C (this would be a lot messier, but has the benefit that we don't need to deal with that in Julia)
Ideas, thoughts, suggestions?
-Keno
P.S: Sorry for not getting to this earlier. I had some problems with my computer and just got the new harddrives to fix it (On the other hand 2s startup time thanks to my SSD now ;)
-viral