There's probably a fancier answer to that, but you can just shell out to
it: readall(`powershell -Command Get-ChildItem -Path hkcu:`)
This may end up being just a slower, different, equally hard-to-parse way
of accomplishing what you were already doing via reg query, but powershell
has a lot
Currently having a mental block about this here. Why does this code:
julia [(d,d) for d in 1.0:10.0]
10-element Array{(Float64,Float64),1}:
(1.0,1.0)
(2.0,2.0)
(3.0,3.0)
(4.0,4.0)
(5.0,5.0)
(6.0,6.0)
(7.0,7.0)
(8.0,8.0)
I have a bunch (~1000) of x,y,z and a corresponding value, V. One unique V
for each x,y,z. I want to interpolate and extrapolate wildly (so I really
don't care about how accurate or correct it is). The x,y,z I have are not
regularly spaced or anything. They're scattered across some range (they
My guess is that this has something to do with currently lacking facilities
for type inference on global variables. If you wrap your indirect approach
in a function, you get the predictable behavior:
julia function f()
xvals = [ d for d in 1.0:10.0 ]
xxvals = [ (d,d) for d
Often a package uses a library in the system, or more specifically, the
package is an interface to a library. The library should be installed as
well. There might be version problems but if the same OS and version is
used the only problem usually is whether the library is installed.
On
On Wednesday, May 13, 2015 06:26:07 AM J Luis wrote:
Matlab does that with the interp3 function that, I believe, uses the qhull
http://www.qhull.org/C lib. At least it used to use it and Octave does.
It would be nice to have a wrapper for this lib.
There's a PyCall based wrapper here:
You could use an ensemble regression approach - see
https://github.com/rened/ExtremelyRandomizedTrees.jl#regression for a 1D to
1D example. For your data you could use this (ndims == 2, for
visualization):
using ExtremelyRandomizedTrees, FunctionalDataUtils
# train model
ndim = 2
nsamples =
So copying the installed library(.so / .a ) to the other machine will solve
that right ?
On Wednesday, 13 May 2015 17:33:04 UTC+5:30, Paulo Jabardo wrote:
Often a package uses a library in the system, or more specifically, the
package is an interface to a library. The library should be
The co-founders include the three of us, Alan, Keno, and Deepak who is helping
develop the business. The team strength is closing in on 12. We will be
updating our website shortly with all this information. On the open source
part, we have reaffirmed our commitment here.
As I said in my
I have a simple custom type called JDate:
immutable JDate : FloatingPoint
t::Float64
end
When I construct a range, e.g. [J1:s:J2], where J1::JDate, s::Real,
J2::JDate, I'd like the result to be an Array{JDate,1}. What
conversion/promotion rules are necessary to do this?
Thanks in advance,
Very good to know! I assume Alan is staying on as an MIT professor,
evangelizing Julia to bright young MIT students. ;-)
What about Keno and Jameson?
Digging around shows they are still students (which surprised me a bit...
I’ve been very impressed with their comments and contributions).
I’d
Yes, it was clear that you were also a cofounder of Julia Computing, what
was not clear, just from your GitHub info, if you were actively working for
JC, or for MIT, or splitting your time between them.
I do hope there’s enough funding so that you’ll be able to work full time
on the language.
I was wondering if I could make a constructor function that works with
multiple dispatch. My goal is to have a bool that can be set to true or
false on creation as an argument, which would then change the way the
constructor works. I could do it with an if statement, but I was curious
about
Sorry for the noise; just discovered the thread
at
https://groups.google.com/forum/#!searchin/julia-users/linalg4$20icc/julia-users/ZsGhxR0Pd_s/7V4LNjNO0foJ
and will report back if I still have trouble after reading that.
On Wednesday, May 13, 2015 at 12:08:41 PM UTC-7, Jim Garrison wrote:
Hello all,
I'm trying to solve a system of equations using the Sundials package for
Julia.
The code is the following:
# CODE starts
===#
*import Sundials*
*function sysfn(y_in, fy_in, a_in)*
*y = Sundials.asarray(y_in)*
*
Is there a way to determine if an array is memory-mapped? I know that if
the file was opened read-only then trying to write to the array throws an
error but that seems a rather heavy-handed approach. Perhaps this is not
possible because the memory-mapped file behaves just like a chunk of
Yeah, I missed that you were subtyping FloatingPoint before. It still
worked ok for me though once I also defined colon methods suggested by the
ambiguity warnings. in my case it was:
colon(::JDate, ::JDate, ::JDate)
colon(::JDate, ::FloatingPoint, ::JDate)
colon(::JDate, ::Real, ::JDate)
It
I added methods to NamedTuples.jl to support merge, set and delete. Since
NamedTuples are essentially immutable dictionaries it seems incorrect to
use the ! forms of setindex and delete. I now have an issue that these are
not defined in base. How best to solve this? This is indirectly related
Aha, yes of course. I lifted the code out of a function to inspect it more
closely, and it all went downhill from there... :)
I can't say I really understand why there are type inference problems here, but
I'm happy with the explanation.
Thanks!
Is your concern that some other package might also export non-mutating
setindex and delete, thereby conflicting with yours? Or just that they
should exist in Base?
On Wednesday, May 13, 2015 at 2:35:44 PM UTC-4, Michael Francis wrote:
I added methods to NamedTuples.jl to support merge, set
This is for latest build of 0.4 on Mac OS X Yosemite
On Thursday, May 14, 2015 at 2:51:07 PM UTC+10, Sheehan Olver wrote:
I get the error message below, and cannot find any sign of the cause.
With debug statements, I found that its dying trying to call a function
with the signature
I get the error message below, and cannot find any sign of the cause.
With debug statements, I found that its dying trying to call a function
with the signature
function
linsolve{T:Operator,N:Number}(A::Vector{T},b::Array{N};tolerance=0.01,maxlength=100)
...
end
Any thoughts? Maybe
Thanks Tony! If I disable the logdet test, everything else in linalg4
works. (I'm running the remainder of the test suite now to see if
anything else errors.) If there's no hope of backporting the fix, I
wonder if it makes sense to put a note in the 0.3-release README.
On Wed, 2015-05-13 at
You're welcome. My (incomplete and entirely heuristic) understanding is
that type inference on global variables is difficult because there aren't
clearly defined boundaries without which the variable cannot be
referenced. On the other hand, when manipulation of a variable is wrapped
in a
A little bit of both, I have defined what I would consider common verbs,
they happen to not exist in Base today. So either they get added to Base,
which in this instance may be the right thing or at some point in the
future they will conflict and breakage will ensue.
It also brings up an
It also brings up an asymmetry between the overloaded [] operator for
immutable collections, where y = x[:a] is valid but x' = x[:b] = 1.23 is
not. I'm ok with this, but it does lead to some confusion.
Would you please elaborate on this? I'm not sure I understand (I'm
confident the issue is
With the merging of #11251, I have been attempting (once again) to get
julia 0.3 working on a cluster where it has so far resisted working fully.
When I compile master with icc/mkl according to the instructions in the
README, all tests pass. But when I do the same thing for v0.3.8 (using icc
If you haven't yet, you should check out FunctionalCollections.jl, which
solves this by not allowing assignment in this way, instead defining
`assoc` and `dissoc`.
Cheers,
Kevin
On Wed, May 13, 2015 at 3:05 PM, Michael Francis mdcfran...@gmail.com
wrote:
On a mutable associative it is valid
Thanks a ton people!!!
ExtremelyRandomizedTrees.jl: Might be really good, but errored a lot on
version 4.
ApproXD.jl: Very cool, I'll come back to that later, but for now: What
Lininterp cannot do: Multidimensional extrapolation which I need (and
accept is prone to silliness). Plus, according
What should the new method be, precisely? I tried colon(start::JDate,
step::Real, stop::JDate) = JDate(colon(float64(start),step,float64(stop)) (I
have conversion rules defined for the JDate to Float64 conversions), but I
get several warning messages of the form:
Warning: New definition
No clue how this fares, but my lab has a code base of approximately 35k lines
if you include tests. This does not include documentation, nor does it include
any packages.
--Tim
On Wednesday, May 13, 2015 08:42:24 AM Páll Haraldsson wrote:
I'm thinking how well Julia scales up. I would think
I believe you only need to add a method to Base.colon of the form
'colon(start::JDate, step::Real, stop::JDate)'
I just tested it and that was the only thing needed to make the the
[J1:s:J2] syntax work.
On Wednesday, May 13, 2015 at 11:13:53 AM UTC-4, Chris wrote:
I have a simple custom
Julia cannot dispatch on values, but it can dispatch on types
parametrized by values. The canonical way of doing this is value types
(see in the Types section of the manual), but pretty much any other
parametrized type would work:
carsetup(::Type{Val{:fast}}) = fast
carsetup(::Type{Val{:slow}}) =
On Tuesday, May 12, 2015 at 9:03:37 AM UTC, Viral Shah wrote:
I think this is a great idea. We will add our commitment to open source
Julia to the website.
I for one am not worried. I can at least see both sides, it's good that
there is a company/consulting to point to.
Playing devil's
At that point would it make more sense to have a constructor function that
would be called if a speed bool is passed at all and one for when no bool
passed?
In my use case the bool would only be passed if it needed to be true and would
be fine defaulting as false.
Would that be more straight
El miércoles, 13 de mayo de 2015, 10:58:18 (UTC-5), Elburz Sorkhabi
escribió:
At that point would it make more sense to have a constructor function that
would be called if a speed bool is passed at all and one for when no bool
passed?
In my use case the bool would only be passed if it
Hi,
i want to draw a line segment in a 3d plot of the function x^2 + y^2.I have
already plotted the function but i want to connect two points in the plot.
this is what I've done until now:
using PyPlot
using Distributions
function f(x)
return (x[1]^2 + x[2]^2)
return sin(x[1]) +
I am running Julia on a cluster SGI Altix 8400 LX with 64 CPUs and 384
cores. Each node have 2 processors Intel Xeon Six Core 5680 of 3.33GHz.
This is computer run Suse Linux of the Novell. I believe I'll have to
compiling the language to work on IBM AIX...
Em 13/05/2015 22:55, Tony Kelman
Jameson Nash did some work pretty recently on getting Julia to build on
PowerPC under Linux,
see https://github.com/JuliaLang/julia/blob/master/Make.powerpc
Not sure how much of that would also work on AIX. Do you have access to
GCC/Gfortran, or can you only use the IBM compilers? Some of the
Other than logdet, the mod2pi tests fail pretty miserably. Everything
else passes.
On Wed, 2015-05-13 at 14:45 -0700, Jim Garrison wrote:
Thanks Tony! If I disable the logdet test, everything else in linalg4
works. (I'm running the remainder of the test suite now to see if
anything else
Here you have the same problem though. If I also defined assoc and deassoc
people could not include the two libraries without conflict. I'm also of the
mind that the verbs should be consistent with the more common mutable
collections.
Now that you mention it, I think the only reason I made it a subtype of
FloatingPoint was some (very) vague notion of type inference and
performance. I will re-examine that decision now, I think. Thanks for your
help.
Chris
On Wednesday, May 13, 2015 at 2:30:53 PM UTC-4, Josh Langsfeld wrote:
There's also at least one issue open on the topic of declaring a generic
function without implementing any methods. Things like non-mutating
setfield would probably be good candidates to reserve names for in Base
even if there aren't any types in Base where that generic function makes
sense.
Oh right, give me a minute to
backport 3ab9af16015b23426c0936bbe73a6d4007c32040 then try from latest
release-0.3.
On Wednesday, May 13, 2015 at 7:15:05 PM UTC-7, Jim Garrison wrote:
Other than logdet, the mod2pi tests fail pretty miserably. Everything
else passes.
On Wed, 2015-05-13 at
Yes I've see reference to those. You can do this today though by defining the
following in Base.
setindex = nothing
delete = nothing
This would reserve the verbs, or we could do
setindex() = error(Not implemented)
I'm not sure what would be added beyond that?
Whilst in this instance I
On Monday, May 11, 2015 at 10:03:20 PM UTC, Michael Louwrens wrote:
I am starting to read Region-Based Memory Management for a
Dynamically-Typed Language
http://link.springer.com/content/pdf/10.1007/b102225.pdf#page=240 it
proposes a second inference system, region inference.
Note it may be an optional package. It's a question what version of Windows
you/Julia wants to support.. Not optional in all but Windows Server 2008
and EOLed XP (pre-SP2) that you still may want to support (or just
document)?
Just checked on Wikipedia:
PowerShell 1.0 was released in 2006
On Wednesday, May 13, 2015 at 4:32:01 PM UTC, Tim Holy wrote:
No clue how this fares, but my lab has a code base of approximately 35k
lines
if you include tests. This does not include documentation, nor does it
include
any packages.
Thanks,
Anyone want to raise? :)
Now, that is
You can use Polyharmonic Splines
http://nbviewer.ipython.org/gist/lstagner/04a05b120e0be7de9915
On Wednesday, May 13, 2015 at 5:33:08 AM UTC-7, Yakir Gagnon wrote:
I have a bunch (~1000) of x,y,z and a corresponding value, V. One unique V
for each x,y,z. I want to interpolate and
Here is the beginning of a package
http://nbviewer.ipython.org/gist/lstagner/04a05b120e0be7de9915
-Luke
On Wednesday, May 13, 2015 at 1:03:34 AM UTC-7, René Donner wrote:
Thin plate splines are just a special case of Polyharmonic Splines.
Would there be interest of expanding this script
Small update, Alex has almost finished with his school science project
(testing people's visual and auditory memory, and seeing which is better
for most people).
He particularly likes string interpolation... he asked me why string ..
string didn't work (he knows (some) Lua), and was very happy
Thin plate splines are just a special case of Polyharmonic Splines. Would
there be interest of expanding this script into a package?
Yes please, that would be great to have!
-Luke
On Wednesday, May 13, 2015 at 12:26:12 AM UTC-7, Jan Kybic wrote:
I have a set of irregularly gridded data
OK, that thread does not seem to apply for me because I am indeed using ifc
as my fortran compiler. My full Make.user is as follows:
MARCH = nehalem
USEICC = 1
USEIFC = 1
USE_INTEL_MKL = 1
USE_INTEL_MKL_FFT = 1
USE_INTEL_LIBM = 1
I get the same error even without the
53 matches
Mail list logo