This should help a bit, although there's probably some room for improvement by
replacing the hex(byte, 2) calls with something that doesn't allocate an
intermediate string object:
function bytes2hex(bytes::Vector{Uint8})
io = IOBuffer()
for byte in bytes
This is great. Thanks, Jacob.
-- John
On Dec 1, 2014, at 8:32 AM, Jacob Quinn quinn.jac...@gmail.com wrote:
For all the vectorization fans out there, I stumbled across this LLVM blog
post: http://blog.llvm.org/2014/11/loop-vectorization-diagnostics-and.html
-Jacob
On Wed, Oct 29, 2014
Did you run this inside a function? If not, your results are not going to be
useful indicators of how code will perform inside a function.
Inside of a function body, I see 0 bytes being allocated.
-- John
On Dec 1, 2014, at 4:53 PM, Yijing Wu wuyijing1...@gmail.com wrote:
Hi all, I found a
Hi Pileas,
Please don’t use the word “must” on this mailing list. It’s somewhat offensive
when you behave as if you can order other people around.
If something is that important to you, _you_ should be doing the work, not
insisting that someone else do it.
— John
On Dec 1, 2014, at 6:22 PM,
push!(B[2,3],i)
end
T=zeros(Int64,513)
for i=1:513
@time T[i]=B[2,3][i]
println(T[i])
end
end
在 2014年12月1日星期一UTC-6下午7时24分31秒,John Myles White写道:
Did you run this inside a function? If not, your results are not going to be
useful indicators of how code
[i]^2+2*T[i]+sqrt(T[i])
println(T[i])
end
for i=1:513
@time x=B[2,3][i]
@time y=x^2+2*x+sqrt(x)
println(x)
end
end
Yijing
On Dec 1, 2014, at 8:49 PM, John Myles White johnmyleswh...@gmail.com
wrote:
Hi Yijing,
Thanks
http://en.wikipedia.org/wiki/Associative_array
-- John
On Dec 2, 2014, at 9:50 AM, Ivar Nesje iva...@gmail.com wrote:
It's not the obvious choice to me either, but it is in the docs, and has been
since I read it the first time 1.5 years ago.
kl. 16:10:34 UTC+1 tirsdag 2. desember 2014
There's no clean solution to this. In general, I'd argue that we should stop
exporting so many names and encourage people to use qualified names much more
often than we do right now.
But for important abstractions, we can put them into StatsBase, which all stats
packages should be derived
I think both of the problems you're hitting are the same core problem: @sprintf
is a macro, so its behavior is surprising when you think in terms of the
run-time behaviors that control function evaluation. In particular, your line
continuation problem wouldn't be fixed by having line
I hate to say it, but Packt's handling of its Julia publications is rather
troubling. I received a request to review this book and told them I wasn't
free, but the truth is that I would prefer that they not pubilsh this kind of
book at all right now. The blurb refers to several things that may
of date
pretty quickly.
Then again, I figured if I helped review, I could perhaps help push things in
a good direction and help make it as timely as possible.
-Jacob
On Thu, Dec 4, 2014 at 8:35 PM, John Myles White johnmyleswh...@gmail.com
wrote:
I hate to say it, but Packt's handling
0x03
— John
On Dec 5, 2014, at 3:17 AM, Francesco omeg...@gmail.com wrote:
When I write:
julia x = 3
I assign to x a Int64 by default.
julia typeof(x)
Int64
Let say that 3 should be Uint8, then I write:
julia x = convert(Uint8, 3)
Is there a more idiomatic way of doing it?
I think you'll want an answer from Stefan, Jeff, Keno, Jameson or Viral to get
a better review, but my sense is that multiple dispatch is primarily costly at
compile time and pays close to zero cost at run-time. Within a function body,
if the types of variables don't change, then the choice of
Documentation is undergoing a shift as 0.4 will be the first release with
built-in documentation tools. Check the GitHub issues for details about the
upcoming @doc macro.
-- John
On Dec 5, 2014, at 10:40 AM, Petr Krysl krysl.p...@gmail.com wrote:
Hello,
Does anyone know how the document
This function is impossible to write in generality since hash functions aren't
one-to-one.
-- John
On Dec 5, 2014, at 4:32 PM, David Koslicki dmkosli...@gmail.com wrote:
Hello,
Is there a built in function that will undo hash()?
i.e. I am looking for a function dehash() such that
and Jags use Stanmodel and Jagsmodel (I could rename them to StanModel
and JagsModel). Is it reasonable to make Model an abstract type?
Rob
On Dec 2, 2014, at 4:37 PM, John Myles White johnmyleswh...@gmail.com
wrote:
There's no clean solution to this. In general, I'd argue that we
, John Myles White wrote:
This function is impossible to write in generality since hash functions
aren't one-to-one.
-- John
On Dec 5, 2014, at 4:32 PM, David Koslicki dmkos...@gmail.com wrote:
Hello,
Is there a built in function that will undo hash()?
i.e. I am looking
I think this might be a problem with Julia 0.3. I see it on Julia 0.3, but not
on the development branch for Julia 0.4.
— John
On Dec 5, 2014, at 6:27 PM, Will Dobbie wdob...@gmail.com wrote:
Hi,
I have a program which copies elements between two arrays of immutables in a
tight loop.
I finally updated METADATA to point to the fixed version of BloomFilters.
— John
On Dec 6, 2014, at 9:23 AM, Stefan Karpinski ste...@karpinski.org wrote:
On Sat, Dec 6, 2014 at 12:14 PM, David Koslicki dmkosli...@gmail.com wrote:
Implementing your own Bloom filter really shouldn't be too
I see this on Julia 0.4-dev, but not on Julia 0.3.3.
— John
On Dec 6, 2014, at 1:34 PM, remi.ber...@gmail.com wrote:
Hi guys,
While trying to insert elements of type Rational{Int} into a Set, I ran into
an issue with an InexactError exception.
It happens with some elements. For example:
It might be useful to put a bit about Julia being lexically scoped into the
manual and refer to the Wikipedia article on scope.
— John
On Dec 7, 2014, at 9:05 AM, Milan Bouchet-Valat nalimi...@club.fr wrote:
Le dimanche 07 décembre 2014 à 08:31 -0800, remi.ber...@gmail.com a
écrit :
, 2014, at 5:04 PM, John Myles White johnmyleswh...@gmail.com
wrote:
StatsBase is meant to occupy that sort of role, but there's enough
disagreement that we haven't moved as far foward as I'd like. Have you read
through the StatsBase codebase?
-- John
On Dec 2, 2014, at 8:19 PM, Rob J
What platform are you on? What's the hex dump of the file that gets created?
Are perhaps Unix newlines being used, but you're using something like Notepad?
-- John
On Dec 7, 2014, at 7:37 PM, Greg Plowman greg.plow...@gmail.com wrote:
Hi
Are newlines missing from the following output to
Over the last month or so, I've been slowly working on a new library that
defines an abstract toolkit for writing CSV parsers. The goal is to provide an
abstract interface that users can implement in order to provide functions for
reading data into their preferred data structures from CSV
.
On Mon, Dec 8, 2014 at 12:35 AM, John Myles White johnmyleswh...@gmail.com
wrote:
Over the last month or so, I've been slowly working on a new library that
defines an abstract toolkit for writing CSV parsers. The goal is to provide
an abstract interface that users can implement in order
.
On Mon, Dec 8, 2014 at 12:35 AM, John Myles White johnmyleswh...@gmail.com
wrote:
Over the last month or so, I've been slowly working on a new library that
defines an abstract toolkit for writing CSV parsers. The goal is to provide
an abstract interface that users can implement in order to provide
formatting, etc.)
* be able to specify a end of data rule, other than end-of-file or number
of lines (e.g. stop on an empty line)
s
On Monday, 8 December 2014 05:35:02 UTC, John Myles White wrote:
Over the last month or so, I've been slowly working on a new library that
defines an abstract
other alternative, because we have a really fast transpose
now.
The only disadvantage I see is taking twice as much memory as would be
minimally needed. (This can be fixed once we have row-major arrays.)
--Tim
On Monday, December 08, 2014 08:38:06 AM John Myles White wrote:
I believe
time (compared to the
I/O)?
--Tim
On Monday, December 08, 2014 09:14:35 AM John Myles White wrote:
Yes, this is how I've been doing things so far.
-- John
On Dec 8, 2014, at 9:12 AM, Tim Holy tim.h...@gmail.com wrote:
My suspicion is you should read into a 1d vector (and use `append
at the start).
-- John
On Dec 8, 2014, at 9:24 AM, Simon Byrne simonby...@gmail.com wrote:
On Monday, 8 December 2014 17:04:10 UTC, John Myles White wrote:
* This package and the current DataFrames code both support specifying the
types of all columns before parsing begins. There's no fast path
(compared to the
I/O)?
--Tim
On Monday, December 08, 2014 09:14:35 AM John Myles White wrote:
Yes, this is how I've been doing things so far.
-- John
On Dec 8, 2014, at 9:12 AM, Tim Holy tim.h...@gmail.com wrote:
My suspicion is you should read into a 1d vector (and use `append
I've met Malcolm and like him quite a lot. I didn't realize he was writing this
specific book.
-- John
On Dec 8, 2014, at 4:42 PM, Avik Sengupta avik.sengu...@gmail.com wrote:
Yes, Malcom runs the London Julia user group.
On Monday, 8 December 2014 23:25:43 UTC, cdm wrote:
see also:
+1 for emulating the Rust site
-- John
On Dec 9, 2014, at 4:46 PM, Joey Huchette joehuche...@gmail.com wrote:
I think the [Rust website](http://www.rust-lang.org/) is pretty fantastic, in
terms of both design and content. Having the code examples runnable and
editable (via JuliaBox) would
As always in Julia (and OSS in general), I think the problem is that there's no
labor supply to do most nice things for the community. Everybody would love
to see weekly updates. Not many people have both the time and desire to do the
work.
-- John
On Dec 10, 2014, at 10:41 AM, Tamas Papp
Stefan, I shared your moment of terror about the idea of posting plans
(essentially all of which will be invalidated) to the home page.
Although it's huge volume of e-mail, I do feel like people who want to keep up
with new developments in Julia should try to subscribe to the issue tracker and
.
On Wednesday, December 10, 2014 1:58:52 PM UTC-8, Randy Zwitch wrote:
I think it would please everyone if you moved daily televised scrums.
On Wednesday, December 10, 2014 4:53:50 PM UTC-5, John Myles White wrote:
Stefan, I shared your moment of terror about the idea of posting plans
Hi Sean,
I'm really confused by the output you're showing.
X = [1,2]; Y = [1,2];
append!(X,Y)
4-element Array(Int64,1):
1
2
3
4
Do you really get this output? That seems like a huge bug if so. But I don't
see that at all, which is what I'd expect.
-- John
This is a very good point. I'd label this as something like core unsolved
challenges. Julia #265 (https://github.com/JuliaLang/julia/issues/265) comes
to mind.
In general, a list of the big issues would be much easier to maintain than a
list of goals for the future. We could just use a tag
Nope.
You'll find Julia much easier to program in if you always replace x += y with x
= x + y before attempting to reason about performance. In this case, you'll
get
x[:, :] = x[:, :] + 1.0f - 5 * dxdt
In other words, you literally make a copy of the entire matrix x before doing
any useful
Does find() work?
-- John
On Dec 11, 2014, at 4:19 PM, Douglas Bates dmba...@gmail.com wrote:
I realize it would be a one-liner to write one but, in the interests of not
reinventing the wheel, I wanted to ask if I had missed a function that does
this. In R there is such a function called
My understanding is that different versions of LLVM are enormously different
and that there's no safe way to make Julia work with any version of LLVM other
than the intended one.
-- John
On Dec 11, 2014, at 4:56 PM, Vehbi Eşref Bayraktar
vehbi.esref.bayrak...@gmail.com wrote:
Hi;
I am
You want include, not require.
-- John
On Dec 11, 2014, at 7:25 PM, Test This curiousle...@gmail.com 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
.
On Thursday, December 11, 2014 7:39:23 PM UTC-5, John Myles White wrote:
You want include, not require.
-- John
On Dec 11, 2014, at 7:25 PM, Test This curiou...@gmail.com wrote:
I have two files: dataTypes.jl and paramcombos.jl
In dataTypes.jl I have
type Params
Are you creating a bunch of garbage? My understanding is that any garbage that
gets created will be cleaned up at seemingly haphazard (but fully
deterministic) points in times.
-- John
On Dec 11, 2014, at 11:43 PM, Sean McBane seanmc...@gmail.com wrote:
Hi all,
So, I'm starting to define
Well, you're clearly allocating memory and discarding it since the list
comprehension and sort both allocate memory. So that's garbage that the GC has
to deal with. The GC means that your function's timing will be erratic and,
generally, longer on a second pass than during the first.
-- John
This is just how the GC works. Someone who's done more work on the GC can give
you more context about why the GC runs for the length of time it runs for at
each specific moment that it starts going.
As a favor to me, can you please make sure that you quote the entire e-mail
thread you're
).
So, the type of the return value is stable, but I haven't found a way of
informing the compiler that it is so.
Petr
On Thursday, December 11, 2014 8:20:20 PM UTC-8, John Myles White wrote:
The moral of this story is: If you can't or won't declare every single
variable
Very cool. Glad you've been enjoying Julia so much, Josh.
-- John
On Dec 12, 2014, at 2:06 PM, Josh Langsfeld jdla...@gmail.com wrote:
After about 6 weeks of initial part-time development, I'm announcing the
first release of the RobotOS.jl package, which enables essentially seamless
That seems like a bug. Running something like,
x = rand(Float16, 10, 10)
y = rand(Float16, 10, 10)
all(abs(x - y) . eps(max(maximum(x), maximum(y
Gives me a true more than 80% of the time.
-- John
On Dec 14, 2014, at 3:26 AM, Steve Cordwell steve.cordw...@gmail.com wrote:
Hi,
I have
This would be a great first project for someone interested in learning Julia.
FWIW, the RDatasets.jl repo doesn't have anything to do with ISRL -- except
insofar as ISRL decided to use common R datasets.
-- John
On Dec 14, 2014, at 10:36 AM, webuser1...@gmail.com wrote:
I'm going through
have been
elaborated enough that I'm comfortable saying that most non-pathological files
will be read correctly.
-- John
On Dec 8, 2014, at 12:35 AM, John Myles White johnmyleswh...@gmail.com wrote:
Over the last month or so, I've been slowly working on a new library that
defines an abstract
Assigning in-place and creating temporaries are actually totally orthogonal.
One is concerned with mutating J. This is contrasted with writing,
J = K * M
The other is concerned with the way that K * M gets computed before any
assignment operation or mutation can occur. This is contrasted with
You need to check isnan() per element. NaN == NaN is false, so in() fails on
NaN right now.
-- John
On Dec 15, 2014, at 3:33 PM, Evan Pu evanthebou...@gmail.com wrote:
1 in [1,2,3] # returns true
NaN in [NaN, 1.0, 2.0] # returns false
how do I test if a float64 NaN is present in an
This is taking the thread off-topic, but conceptually such things are possible.
But Rust has a very different set of semantics for memory ownership than Julia
has and is doing a lot more analysis at compile-time than Julia is doing. So
Julia would need to change a lot to be more like Rust. I've
If you want to retain N words, perhaps a priority queue would be useful?
http://julia.readthedocs.org/en/latest/stdlib/collections/#priorityqueue
I'd be cautious about drawing many coding lessons from the TextAnalysis
package, which has been never been optimized for performance.
-- John
On
The trouble is that values aren't usually know at compile time, which is why
dispatching on them doesn't work well.
When values of immutables can be known at compile time, something like your
proposal does work. For example, you can do this:
immutable Sentinel{S}
end
I should probably point out that the type parameters being immutable is not
quite right: the restriction is any bits types, which you can assess using
the isbits() function on a type's name. You can find more information here:
https://github.com/JuliaLang/julia/issues/6081
-- John
On Dec 16,
{:Case2})
works as expected.
Thanks again
Luca
On Tuesday, December 16, 2014 6:57:58 PM UTC+1, John Myles White wrote:
I should probably point out that the type parameters being immutable is not
quite right: the restriction is any bits types, which you can assess using
the isbits
It's easy to write a macro that takes a static literal string and makes a
variable out of it.
It's much harder (maybe impossible) to write a macro that takes in a variable
that happens to be bound to a string value and to make a variable out of the
value you happen to have stored in that
This debate seems a little premature to me since the definition of @doc is not
totally finished yet and we need to finalize that before anyone should be
adding documentation to 0.3 packages.
-- John
On Dec 17, 2014, at 3:15 PM, Seth catch...@bromberger.com wrote:
+1. Please reconsider
I also develop in .julia, but it's possible to use any directory as your
package directory. The manual should have some sections that describe how to
configure an alternative to .julia.
-- John
On Dec 17, 2014, at 8:15 PM, Keno Fischer kfisc...@college.harvard.edu wrote:
Personally, I do
This should get you started: http://c2.com/cgi/wiki?GlobalVariablesAreBad
-- John
On Dec 18, 2014, at 7:36 PM, Greg Plowman greg.plow...@gmail.com wrote:
I realise my original question should have been more specific and not digress
about implementing fast globals.
Please bear with me as
Are you timing things in the global scope?
-- John
On Dec 19, 2014, at 1:00 PM, John Drummond john...@gmail.com wrote:
For the following code (julia 0.3.3 in windows 7 ) I don't understand what
the bytes allocated in @time means
All I'm doing each time is adding 10 8 byte integers
The problem is that your let block is not a proper function body. You need to
time things inside of a function body:
julia function foo()
@time a1 = zeros(Int64,1000)
@time resize!(a1, 1000)
@time resize!(a1, 1000)
@time resize!(a1,
Julia is a _lot_ less mature than Fortran or Python. Between Julia 0.3 and
Julia 1.0 I am pretty sure there will changes as substantial as the Python 2
and Python 3 changes. We've tried to provide deprecation periods for changes,
but there's going to be more changes than in Fortran.
-- John
It would be really easy to run a GitHub page that is literally a list of URL’s
for unofficial packages and which receives edits via GitHub pull requests.
— John
On Dec 22, 2014, at 12:03 PM, Stefan Karpinski ste...@karpinski.org wrote:
To me the main benefit of having a list of
You need to install cmake and make it available on your path:
http://www.cmake.org/download/
-- John
On Dec 26, 2014, at 2:07 PM, Ethan Anderes ethanande...@gmail.com wrote:
Hi Everyone:
I just decided to upgrade to Julia v0.4 and ran into the following error when
trying to compile from
, John Myles White wrote:
You need to install cmake and make it available on your path:
http://www.cmake.org/download/
-- John
On Dec 26, 2014, at 2:07 PM, Ethan Anderes ethana...@gmail.com wrote:
Hi Everyone:
I just decided to upgrade to Julia v0.4 and ran into the following error
This is aliasing. Almost all languages allow this.
-- John
Sent from my iPhone
On Dec 26, 2014, at 2:49 PM, Bradley Setzler bradley.setz...@gmail.com
wrote:
Hi,
I cannot explain this behavior. I apply a function to a variable in the
workspace, the function initializes its local
I've been doing a lot of streaming data analysis in Julia lately, so I
finally put together a package with some core functionality for working
with data streams:
https://github.com/johnmyleswhite/StreamStats.jl
My hope is that the community can help refine the design over time. After
it's
I have seen t-digest. Ill try to implement it after getting q-digest
working and then try comparing them.
-- John
On Monday, February 9, 2015 at 4:48:42 AM UTC-8, Stephen Lien wrote:
Have you seen t-digest https://github.com/tdunning/t-digest ? Per the
link: it handles doubles, uses less
Here's my two, not very thorough, cents:
(1) The odds of a bug in Optim.jl are very high (90%).
(2) The odds of a bug in your code are very high (90%).
It's pretty easy to make a decision about (2). Deciding on (1) is a lot
harder, since you need a specific optimization that Optim should solve,
Here's my perspective:
* You should almost never define any type that has fields that aren't
concrete types. You can achieve this in two ways: by hard-coding concrete
types or by using parametric types.
* You should generally avoid allocating new arrays. This means that, if
your type
I think it's time for this thread to stop. People are already upset and
things could easily get much worse.
Let's all go back to our core work: writing packages, building
infrastructure and improving Base Julia's functionality. We can discuss
naming conventions when we've got the functionality
In the long-term, the best way to do this will be to use SubArray and
ReshapeArray. You'll allocate enough space for all parameters, then unpack
them into separate objects when that helps.
-- John
On Thursday, May 14, 2015 at 2:03:27 AM UTC-7, Tim Holy wrote:
Some Optim algorithms, like cg,
En general, escribimos en ingles en esta lista.
Has probado Juno?
-- John
On Wednesday, May 20, 2015 at 3:33:08 PM UTC-7, perico garcia wrote:
IDE Julia como cuando Anaconda o Spyder ?? Sería el factor determinante
para la expansión del lenguaje de programación.
https://groups.google.com/forum/#!topic/julia-users/HYhm0A8KQXw
On Thursday, June 4, 2015 at 2:02:51 PM UTC-7, David Gold wrote:
What is A*b? Is it just a formal multiplication?
On Thursday, June 4, 2015 at 4:54:39 PM UTC-4, Gabriel Goh wrote:
Do there exist anonymous objects, in the same
A long time ago, I did this with
IJulia: https://github.com/johnmyleswhite/UCDavis.jl
Hopefully most of my approach isn't relevant anymore, since I hit a couple
of bugs in the resulting slides that I had to fix with a Ruby script.
-- John
On Thursday, June 4, 2015 at 7:49:15 AM UTC-7,
http://julia.readthedocs.org/en/release-0.3/manual/faq/#i-passed-an-argument-x-to-a-function-modified-it-inside-that-function-but-on-the-outside-the-variable-x-is-still-unchanged-why
http://www.johnmyleswhite.com/notebook/2014/09/06/values-vs-bindings-the-map-is-not-the-territory/
On Monday,
http://julia.readthedocs.org/en/release-0.3/manual/faq/#i-passed-an-argument-x-to-a-function-modified-it-inside-that-function-but-on-the-outside-the-variable-x-is-still-unchanged-why
http://www.johnmyleswhite.com/notebook/2014/09/06/values-vs-bindings-the-map-is-not-the-territory/
On Monday,
to is of type `MYSQL_BIND[]`, in
which case John is correct that declaring this as `Vector{MYSQL_BIND}`
(where `MYSQL_BIND` is an appropriated defined isbits type) should work
exactly as desired.
On Tue, Jun 2, 2015 at 11:09 AM John Myles White johnmyleswh...@gmail.com
wrote:
I've been
My answer to these questions is always the same these days: if you're not
sure that you have enough expertise to determine Julia's value for
yourself, then you should be cautious and stick to playing around with
Julia rather than trying to jump onboard wholesale. Julia is a wonderful
language
Excited you're working on dependent data bootstraps. I implemented one just
the other day since it could be useful for analyzing benchmark data. Would
be great to have other methods to do out.
-- John
On Wednesday, June 24, 2015 at 5:31:52 AM UTC-4, Milan Bouchet-Valat wrote:
Le mercredi 24
provides. But then it's
good to know whether the fundamentals like basic visualization and
optimization functions are mature or not.
On Thursday, June 18, 2015 at 10:57:08 AM UTC-4, John Myles White wrote:
My answer to these questions is always the same these days: if you're not
sure
Try NLopt.
-- John
On Thursday, June 18, 2015 at 8:35:20 AM UTC-7, Nils Gudat wrote:
I'm trying to minimize a function of multiple variables using the Optim
package. In my original Matlab code, I'm supplying two arrays to fmincon to
set upper and lower bounds on each of the variables, but
Could you elaborate? What exactly is lacking?
On Friday, June 19, 2015 at 6:32:36 AM UTC-7, cuneyts...@gmail.com wrote:
Dear all,
Considering that Julia is designed to be a scientific programming
language, its built-in Linear Algebra capabilities seems to be limited
(based on the users
For many of the numerical methods in that package, people weren't sure if
the code in question would generate reasonable results for other types.
Some of it probably does, but it's not trivially true that evaluating those
distribution on high-precision floats would produce correct results.
On
It sounds like you might be better off working with Dict's instead of types.
-- John
On Saturday, June 20, 2015 at 12:43:03 PM UTC-7, Stef Kynaston wrote:
I feel I am missing a simpler approach to replicating the behaviour of a
Matlab structure. I am doing FEM, and require structure like
Should be set now. There's only an empty repo there right now
at https://github.com/JuliaLang/atom-language-julia
On Friday, June 12, 2015 at 2:39:29 PM UTC-7, John Myles White wrote:
I can create a repo.
On Friday, June 12, 2015 at 12:04:09 PM UTC-7, Spencer Lyon wrote:
John,
Do you
I can create a repo.
On Friday, June 12, 2015 at 12:04:09 PM UTC-7, Spencer Lyon wrote:
John,
Do you have create permissions within the JuliaLang github org?
If not, who should we contact to create the repo/set up permissions?
I guess I could just request that my repo be transferred
Looking into this more, it looks like the repo can have any name you want.
The important thing is that the package is named language-julia, not the
repo.
On Thursday, June 11, 2015 at 8:05:20 PM UTC-7, Spencer Lyon wrote:
Good to see something for atom-language-julia. That is what the package
Myles White wrote:
David,
To clarify your understanding of what's wrong with DataArrays, check out
the DataArray code for something like getindex():
https://github.com/JuliaStats/DataArrays.jl/blob/master/src/indexing.jl#L109
https://www.google.com/url?q=https%3A%2F%2Fgithub.com
I've been fixing up the MySQL.jl package recently. To receive data on the
client-side from prepared statements, I need to pass around an array of mutable
structs, defined in MySQL C's API, so that C can populate those structs with
data from the server.
If helpful, an example of how this works
David,
To clarify your understanding of what's wrong with DataArrays, check out
the DataArray code for something like
getindex():
https://github.com/JuliaStats/DataArrays.jl/blob/master/src/indexing.jl#L109
I don't have a full understanding of Julia's type inference system, but
here's my
Nullable is Julia's closest equivalent to Haskell's Maybe. But there are
important differences:
* Presently run-time dispatch through even a very restricted subset of
types is quite costly. So you want to make sure that all code allows type
inference to assign a concrete type to every value.
To reinforce Yichao's point, using Nullables in the way you propose comes
with substantial performance risks. The problem is that your strategy
globally poisons type inference: type-uncertain functions don't just force
run-time dispatch near the location of their function calls, they also
Keyan,
Don't worry about pkg.julialang.org. It's only updated once-a-week because
it's not the definitive package listing.
The listing that has day-to-day importance to user experience is the
listing on METADATA.jl and the content of your package's README. Worry
about those and just ignore
Since f1(x) requires a call to f(x), there's no way for your approach to
work in Julia. You probably should define f1(x) as sqrt(x[1]) and f2(x) as
2 * x[2].
-- John
On Wednesday, August 19, 2015 at 2:32:38 PM UTC-7, Nikolay Kryukov wrote:
I have a problem when I try to separate the
You'll want to study http://julialang.org/blog/2013/09/fast-numeric/ to
figure out how to make your code faster.
On Monday, August 24, 2015 at 10:31:56 AM UTC-7, Mohamed Moussa wrote:
Hey. I'm new to Julia. I'm playing around with 0.4 on Windows. I'm
interested in writing finite element code
There's tons of WIP-code that implements arithmetic on Distributions. No
one has the time to finish that code or volunteer to maintain it, so it's
just sitting in limbo.
OP: What you're asking for sounds like it's largely equivalent to
probabilistic programming. There are a ton of ways you
601 - 700 of 726 matches
Mail list logo