I have unit tests that use Test.with_handler, which works with the release
version, but doesn't work with nightly because apparently with_handler has
been removed.
How do I use my own custom handlers with nightly, and more importantly, how
do I write tests that work both in release and
Ok, just discovered that I should put my code from External into
`__init__()` to get it to run at compile time
I have two modules that are included by a julia program. Let's call them
Primary and External.
Primary contains a list of names in an array that's global to the module
and a method to register new names:
module Primary
global names = AbstractString[]
function
consider using something like statsd to collect your stats
On Saturday, April 11, 2015 at 1:19:39 AM UTC-4, colint...@gmail.com wrote:
Great! If you decide to open source it when done then please feel free to
post a link into this thread or start a new thread on julia-stats as I for
one would definitely be interested.
Will do.
Thanks Colin, we're probably going to write our own Holt-Winters
implementation in Julia
Thank you.
Does anyone know if there's a Holt-Winters Double-Exponential Smoothing
module for Julia?
It's available in
R: http://astrostatistics.psu.edu/su07/R/html/stats/html/HoltWinters.html
On Tuesday, March 31, 2015 at 10:12:26 PM UTC-4, James Fairbanks wrote:
Relevant source code from DataArrays.jl/src/datavector.jl
# TODO: should this be an AbstractDataVector, so it works with PDV's?
function Base.map(f::Function, dv::DataVector)
n = length(dv)
res = DataArray(Any,
I should add that I'm using Julia 0.3.6
I have a DataArray{UTF8String,1} and I have a Dict generated using indexmap
that should take this UTF8String and return an Int64, however, when I pass
this through `map`, I get back a DataArray{Any, 1} instead of an
Array{Int64, 1}
Any idea why and what I can do to fix it? I'm using Julia
On Sunday, March 29, 2015 at 1:06:29 PM UTC-4, Milan Bouchet-Valat wrote:
Le dimanche 29 mars 2015 à 09:46 -0700, Philip Tellis a écrit :
As to my actual problem, what I have is a DataFrame with two columns, one
a DataArray{UTF8String, 1} and the other a DataArray{Int64, 1}, and I need
I have a DataArray{UTF8String, 1} and I am trying to map it to an
Array{Int64, 1} using a Dict lookup. My Dict is of type Dict{String,
Int64}, and I'm using map to do the lookup.
However, it seems that the map returns a DataArray{Any, 1} instead of an
Array{Int64, 1}, and I don't understand
I've written the following code:
import Base.convert
function convert(::Type{UTF8String}, x::Int64)
return utf8(string(x))
end
println(convert(UTF8String, 10))
println(convert(Array{UTF8String, 1}, [10]))
The intent is to convert an Array of Int64 into an Array of UTF8String.
The first
I have added JuliaCon to Lanyrd here: http://lanyrd.com/2015/juliacon/
Jiahao and the other organizers should feel free to claim the event and
make updates
I'm using the ODBC package to connect to a database and make a few SQL
queries. For some of these queries, the table name or values in the WHERE
clause come from variables, and I need a way to safely quote them for use
in an SQL string.
Is there a standard method in Julia to do this?
For
Opened issue #74
17 matches
Mail list logo