Hi , I am new here .
Just started playing around with julia, my background is in Matlab c++ and
GPU computing(writing kernels)
I am trying to figure out what will be good practice for rapid prototyping.
How would you use Julia and Juno IDE for a research and development project
that will
end up
Thank you for the time you took to answer.
How do you go about debugging and inspecting? and making sure that changes
you made gets compiled
and that you are not accidentally running a previously imported version of
a function?
On Thursday, September 15, 2016 at 10:11:21 PM UTC+3, Tsur
I noticed this also .. and this is why I chose to "rip" some packages for
some of its functionality.
>From what I observed the problem is the "coolness" of the language and the
highly creative level of the package writers. Just as the first post here
states the seemingly two advantages , cool
I am pondering the question on how to achieve the following functionality
elegantly in Julia:
1) I am reading camera parameters from an ini file into an object of type
camera
2) I want to monitor the ini file that used to create the object for any
changes .. lets say every second, and to
The real problem is that eltype(t^2 for t in rand(10)) returns Any.
that is not a problem (t^2 for t in rand(10)) is a generator its element
type is Any which means a pointer to something complex.
On Friday, September 23, 2016 at 12:50:18 AM UTC+3, Steven G. Johnson wrote:
>
> I don't think
On my side both function perform equally. although test2 had to be timed
twice to get to the same performance.
julia> test2(x)= sum( [t^2 for t in x] )
julia> @time test2(r)
0.017423 seconds (13.22 k allocations: 1.339 MB)
julia> @time test2(r)
0.000332 seconds (9 allocations: 781.531 KB)
By the way my test3 functions is super fast
@time test3(r)
0.32 seconds (4 allocations: 160 bytes)
On Friday, September 23, 2016 at 12:48:50 AM UTC+3, Tsur Herman wrote:
>
>
> On my side both function perform equally. although test2 had to be timed
> twice to get
wrote:
>
>
> On Thursday, September 22, 2016 at 6:10:29 PM UTC-4, Tsur Herman wrote:
>>
>> The real problem is that eltype(t^2 for t in rand(10)) returns Any.
>>
>>
>> that is not a problem (t^2 for t in rand(10)) is a generator its element
>> typ
{We could use type inference on the function t -> t^2 (which is buried in
the generator) to determine a more specific eltype.}
We can declare :
eltype(G::Base.Generator) =
Base.code_typed(G.f,(eltype(G.iter),))[1].rettype
element type of Generator G will be the inferred return type of G.f
did any one managed to get that working?
I am getting an error Base.active_repl not defined .
However debugging somewhat works in julia shell .
I personally think that the ability to comfortably step into functions,
including what is considered system packages is crucial
for the language to
Tnx
On Tuesday, September 27, 2016 at 10:58:47 PM UTC+3, Yichao Yu wrote:
>
> On Tue, Sep 27, 2016 at 3:56 PM, Tsur Herman <tsur@gmail.com
> > wrote:
> > is there a way to know in run-time from which file the code that is
> > currently executing comes fro
is there a way to know in run-time from which file the code that is
currently executing comes from?
[ind]
3×2 Array{Float64,2}:
0.427998 0.427998
0.0333443 0.0333443
0.402635 0.402635
julia>
On Wednesday, October 26, 2016 at 6:19:45 PM UTC+3, Cedric St-Jean wrote:
>
> A[indices] = Values
>
> ?
>
> On Wednesday, October 26, 2016 at 9:53:17 AM UTC-4, Tsur Herman wrote
Any idea on how to implement Reactive signals across processes?
I know there is the concept of channels to interact across different
parallel processes , I wonder if there exist an implementation that uses
Signals instead.
What would you suggest is a fast and elegant way to achieve indexing into
an array using a set of indices?
function setindices!(A,Values,Indices)
assert(length(Values) == size(Indices,1))
for i=1:length(Values)
setindex!(A,Values[i],(Indices[i,:]...)...)
end
end
I am
15 matches
Mail list logo