/Covariance_and_contravariance_%28computer_science%29
and there are various discussions in the mailing list about why this choice
has been made in Julia.
Regards
-
Avik
On Wednesday, 22 April 2015 18:20:46 UTC+1, Test This wrote:
Avik and Patrick,
Thanks to both of you for clarifying this and for the alternative
I defined a function
function func(a::Params, b::String, c::Dict{String, Array{Int, 1}},
d::Dict{String, Array{Int, 1}})
...
end
When I run the program, calling this function with func(paramvalue, H,
d1, d2), I get an error saying func has no method matching
(::Params, ::ASCIIString,
-
Avik
On Wednesday, 22 April 2015 14:14:06 UTC+1, Test This wrote:
I defined a function
function func(a::Params, b::String, c::Dict{String, Array{Int, 1}},
d::Dict{String, Array{Int, 1}})
...
end
When I run the program, calling this function with func(paramvalue, H,
d1, d2), I get
Some basic questions:
We know that Node is blocking on cpu intensive tasks. If I use the async
option, are the calculations run separately. That is does it allow the mode
process to continue with its event loop. If the answer is yes, what happens
when julia is busy with a previous calculation
I meant the node process not mode process. Blaming the autocorrect in
iPad . . .
On Saturday, January 17, 2015 at 10:53:36 AM UTC-5, Test This wrote:
Some basic questions:
We know that Node is blocking on cpu intensive tasks. If I use the async
option, are the calculations run separately
this
line somewhere when the server starts.
Otherwise, the start up time will increase the wait for the web clients.
On Saturday, January 17, 2015 at 12:32:36 PM UTC-5, Jeff Waller wrote:
On Saturday, January 17, 2015 at 10:53:36 AM UTC-5, Test This wrote:
Some basic questions:
We
`Pkg.update()` recently?
On Thu, Jan 8, 2015 at 10:34 AM, Test This curiou...@gmail.com
javascript: wrote:
This might have been because I did not delete ~/.julia. I have not tried
yet by deleting it on my Mac.
However, I just installed 0.3.4 on Ubuntu and installed the above
packages without any
.
On Thursday, January 8, 2015 11:57:09 AM UTC-5, Test This wrote:
Can someone please let me know how I can switch from version 0.4.0 to
0.3.4 or 0.3.2?
I have added the *ppa:staticfloat/juliareleases *on Elliot Saba's page
here: https://launchpad.net/~staticfloat/+archive/ubuntu/juliareleases
that will work on Mac too.
On Thursday, January 8, 2015 11:35:23 AM UTC-5, Test This wrote:
Hello,
I downloaded Julia 0.3.4 (dmg version) recently for Mac. I am using OS X
10.9.5. Today I tried installing some packages.
Package Distributions and ArgParse installed fine (have not used them yet
Hello,
I downloaded Julia 0.3.4 (dmg version) recently for Mac. I am using OS X
10.9.5. Today I tried installing some packages.
Package Distributions and ArgParse installed fine (have not used them yet,
but they did not throw any error).
However, DataFrames and PyCall did not install. Here
Can someone please let me know how I can switch from version 0.4.0 to 0.3.4
or 0.3.2?
I have added the *ppa:staticfloat/juliareleases *on Elliot Saba's page
here: https://launchpad.net/~staticfloat/+archive/ubuntu/juliareleases.
and ran sudo apt-get update followed by sudo apt-get upgrade
.
On Thursday, December 11, 2014 11:54:55 PM UTC-5, Stefan Karpinski wrote:
It is possible that you have managed to get into a state where there are
two different types by the name Params.
On Dec 11, 2014, at 9:10 PM, Test This curiou...@gmail.com javascript:
wrote:
I am running into what appears
-5, Stefan Karpinski wrote:
I would love to detect this kind of confusing situation and indicate
what's happening better because obviously it's pretty confusing when you
first encounter it.
On Fri, Dec 12, 2014 at 4:37 AM, Test This curiou...@gmail.com
javascript: wrote:
Thanks Stefan
it. You should only include dataTypes.jl in one place.
On Fri, Dec 12, 2014 at 10:28 AM, Test This curiou...@gmail.com
javascript: wrote:
Hi Stefan,
Please see below for what may be relevant code structure. I am happy to
email the actual code off the list if you think that is necessary
I have two files: dataTypes.jl and paramcombos.jl
In dataTypes.jl I have
*type Params*
* .*
* . // field names and types*
* .*
*end*
In paramcombos.jl I have
*module paramcombos*
*require(dataTypes.jl)*
*function baseParams()*
* params = Params( field1 = blah1, field2
, Test This curiou...@gmail.com javascript:
wrote:
I have two files: dataTypes.jl and paramcombos.jl
In dataTypes.jl I have
*type Params*
* .*
* . // field names and types*
* .*
*end*
In paramcombos.jl I have
*module paramcombos*
*require(dataTypes.jl
I have the following function:
function getidforrec(db::PyObject, collectn::PyObject, rec,
countername::ASCIIString)
# check if rec exists; if so get its id
r = doesrecexist(collectn, rec)
if r
return r[_id]
else
r = db[countername][:find_and_modify](
Thank you so much. I will use that.
On Friday, November 28, 2014 1:04:17 PM UTC-5, Steven G. Johnson wrote:
On Friday, November 28, 2014 12:57:57 PM UTC-5, Test This wrote:
if r
It sounds like you want
if r == nothing
here.
I have the following function defined to check whether a record exists in a
Mongodb database (thanks a million for PyCall, which make it easy to use
pymongo
to interact with mongodb in julia).
function doesrecexist(collectn::PyObject, rec::Dict{ASCIIString,Any})
# checks if record
correct
in understanding that they can be of any type, however, they have to be the
same type?
Thank you.
On Wednesday, November 26, 2014 7:17:48 PM UTC-5, Patrick O'Leary wrote:
On Wednesday, November 26, 2014 6:01:56 PM UTC-6, Test This wrote:
I have the following function defined to check
Happy to see thus reaction from a core julia developer. Hope julia makes
parallel programming on CPUs and GPUs easier.
.
That's being attributed to the first line of the for loop (the reasons are
a
little complex, and I'm late for a meeting).
--Tim
On Thursday, November 13, 2014 04:01:52 PM Test This wrote:
On performance tips page of the Julia documentation, it says that one
way
to identify
On performance tips page of the Julia documentation, it says that one way
to identify performance problems is to look for unexpected memory usage.
As suggested, I ran the code with --track-allocation=user option.
The following are some lines from my code (including the type definitions
at the
23 matches
Mail list logo