So, if I created a plot in a block of code, and then want to add another
array of data to it in another block of code, is that possible? (I.e., I
find it inconvenient that I have only one chance to plot all the layers...
or did I misunderstand how it works?)
Mocha.jl https://github.com/pluskid/Mocha.jl v0.0.6: Mocha is a deep
learning framework for Julia. Check out our new tutorial on unsupervised
pre-training with stacked denoising auto-encoders
http://mochajl.readthedocs.org/en/latest/tutorial/mnist-sDA.html.
v0.0.6 2014.12.31
-
Actually, I do know `d` at compile time - I just hadn't grok-ed quoting and
interpolation well enough to understand how to convey that in code. As it
turns out, what I needed was to create a *symbol* for `d`, so that the
interpolation would get back its *value*: `$(matching(:d))` does the
I know there are type aliases and function assignment.
I find that a macro call is like Expr(:macrocall, symbol(@time),.)
And we can embed a macro inside a macro, but it looks really uncomfortable
to me.
Thanks.
Glad to be of help :)
On Wednesday, 31 December 2014 10:15:14 UTC+1, Tomas Lycken wrote:
Actually, I do know `d` at compile time - I just hadn't grok-ed quoting
and interpolation well enough to understand how to convey that in code. As
it turns out, what I needed was to create a *symbol*
Why wait?
On Tuesday, December 30, 2014 5:47:04 PM UTC+1, j verzani wrote:
That's the plan, eventually. --J
btw: also Winston.jl uses gtk.jl after enabling it in the Winston.ini
On Tuesday, December 30, 2014 3:00:39 PM UTC+1, Tim Holy wrote:
Do a `git checkout gtk` to check out the gtk branch.
--Tim
Hello colleagues,
i remember reading something about the impossibility to create a consistent
julia version number, but i cannot find it ... anymore
Still:
What is the recommended way to get a julia major/minor version number (i
need to check v.0.4)? Just parse Base.VERSION?
Wishing a happy
This has actually been a particularly nasty bug, it broke many packages on
0.3.x, from Gadfly to GLM to HDF5, starting sometime in mid October. Tim
had a workaround in Color.jl that solved some of the issues, but there are
still reports of more failures.
Thanks to Tim and Jameson for tracking
hi
Please let me know how to declare float, double, long int, unsigned long
and unsigned char to some variable in julia( Please mention syntax)
Thanks
I recommend reading the manual
http://docs.julialang.org/en/release-0.3/manual/variables/.
// Tomas
On Wednesday, December 31, 2014 1:57:25 PM UTC+1, sadhanapriya…@vit.ac.in
wrote:
hi
Please let me know how to declare float, double, long int, unsigned long
and unsigned char to some
Yes, dealing with version numbers is really sweet in julia. I believe Stefan
deserves credit for this. Incidentally, if you parse C library version numbers
into a VersionNumber type, you can use all the same machinery.
--Tim
On Wednesday, December 31, 2014 04:19:44 AM Andreas Lobinger wrote:
Apparently it's important to get it right from the beginning:
version numbers should be boring
http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/
On Wednesday, December 31, 2014 2:25:54 PM UTC+1, Tim Holy wrote:
Yes, dealing with version numbers is really sweet
Well, just as you said, the manual method does not work since there is no
.vim file in my home directory? Could you share your successful
installation experience?
On Friday, January 31, 2014 1:25:37 PM UTC+8, Thomas Moore wrote:
I got it working now :) This is probably quite obvious to most
Yes, the short answer is that the Julia manual is full of talk about types.
Whether to specify type information, and if so, how depends on what you are
trying to do. So an example of what you are trying to write would be
helpful.
Exact type correspondences
Hello Julians,
Are fallback out of core chunking algorithms for common Darrays/shared
mmap array linalg functions planned? This would allow trivial reuse of
generic code.
Thanks
http://docs.julialang.org/en/release-0.3/manual/integers-and-floating-point-numbers/
This might be really useful, and I find that Julia's manual is really easy
to understand.
在 2014年12月31日星期三UTC+8下午8时57分25秒,sadhanapriya...@vit.ac.in写道:
hi
Please let me know how to declare float, double,
On Wednesday, December 31, 2014 7:03:34 AM UTC-5, Andreas Lobinger wrote:
What is the recommended way to get a julia major/minor version number (i
need to check v.0.4)? Just parse Base.VERSION?
Within Julia:
*julia *
*VERSION**v0.4.0-dev+2340*
*julia *
*VERSION.minor**4*
Also,
On Wednesday, December 31, 2014 7:57:25 AM UTC-5, sadhanapriya...@vit.ac.in
wrote:
hi
Please let me know how to declare float, double, long int, unsigned long
and unsigned char to some variable in julia( Please mention syntax)
I've found the following works for me
As others have
It's not really supported. Adding a push! function to add layers to plots
was proposed (https://github.com/dcjones/Gadfly.jl/issues/332), but I
haven't done so yet. In fact, adding layers to a plot p will usually work
with push!(p.layers, layer(...)), but that's kind of an unofficial
Your suggestion works fine, thank you.
Am Sonntag, 21. Dezember 2014 16:22:13 UTC+1 schrieb Christoph Ortner:
This is not exactly what you want but it may be close enough: The line
plt.rc(font, family=serif)
changes the figure to a serif font, which looks very similar to latex.
On Wednesday, December 31, 2014 7:03:34 AM UTC-5, Andreas Lobinger wrote:
What is the recommended way to get a julia major/minor version number (i
need to check v.0.4)? Just parse Base.VERSION?
You normally don't need to get the major/minor explicitly, because
comparison operations are
I want to calculate the 95% confidential intervals of the parameter p of a
binomial distribution, for a given x and n. I known that in MATLAT, it
could be got in the 2nd output of binofit(x,n,0.95)
Is there any way to do it in Julia, using Distributions.jl or any python
package?
Do we have a video somewhere of one of your talks about ApproxFun? This is
a really impressive package.
On Tue, Dec 30, 2014 at 10:54 PM, Sheehan Olver dlfivefi...@gmail.com
wrote:
ApproxFun is a package for approximating functions and solving
differential equations. ApproxFun v0.05 adds
On Wednesday, December 31, 2014 11:30:50 AM UTC-5, Jeff Waller wrote:
As others have mentioned, that reference page looks good, but for the C
equivalent, you need to be a little careful in 2 cases. float will always
be Float32 and double will always be Float64, but long is not necessarily
In Bash I can do something like this
$ echo $RANDOM_VAR
$ RANDOM_VAR='heya' env
RANDOM_VAR='heya'
OTHER_ENV_VAR=whatever_it_was_before
...
$ echo $RANDOM_VAR
$
In Julia, however,
julia run(`env`)
OTHER_ENV_VAR=whatever_it_was_before
...
julia run(`RANDOM_VAR='heya' env`)
ERROR: could not
how would one clear values of variable, or change the type: for instance if
I declare a = 5 and after evaluation, if I fix the statement reevaluate
const a = 5, I get error that a is already defined. How would I get a out
of the memory without restarting the entire kernel?
Second question is
julia c = setenv(`env`, [FOO=bar])
setenv(`env`,Union(ASCIIString,UTF8String)[FOO=bar])
julia run(c)
FOO=bar
On Wed, Dec 31, 2014 at 2:16 PM, Sean Marshallsay srm.1...@gmail.com
wrote:
In Bash I can do something like this
$ echo $RANDOM_VAR
$ RANDOM_VAR='heya' env
RANDOM_VAR='heya'
1) workspace()
2) maybe Lint.jl could help here? Not sure (haven't used it myself yet,
although I probably should). There are various open issues about better
error messages although I don't remember one about this specifically. It
will probably be a bit more tractable as an up-for-grabs project
We would very much like to have out of core functionality, but we don't
have any active project to work on it.
If you could spare the time, this would be a very valuable feature to work
toward having in Julia.
On Wed Dec 31 2014 at 10:38:44 AM Lampkld lampk...@gmail.com wrote:
Hello Julians,
Pkg.add(ApproxFun) did not give me v0.0.5 for some reason
$ git tag
v0.0.1
v0.0.2
v0.0.3
v0.0.4
So your first examples failed. But, this is very impressive!
--John
On Wednesday, December 31, 2014 4:54:06 AM UTC+1, Sheehan Olver wrote:
ApproxFun is a package for approximating functions and
On Wed, Dec 31, 2014 at 2:53 PM, lapeyre.math1...@gmail.com wrote:
Pkg.add(ApproxFun) did not give me v0.0.5 for some reason
0.0.5 was posted less than two days ago. Did you run Pkg.update() before
doing Pkg.add?
Duh!
Sorry for adding noise to the list.
On Wednesday, December 31, 2014 9:06:22 PM UTC+1, Jiahao Chen wrote:
On Wed, Dec 31, 2014 at 2:53 PM, lapeyre@gmail.com javascript:
wrote:
Pkg.add(ApproxFun) did not give me v0.0.5 for some reason
0.0.5 was posted less than two days ago. Did
Awesome, thank you!
On Wednesday, 31 December 2014 19:27:26 UTC, Isaiah wrote:
julia c = setenv(`env`, [FOO=bar])
setenv(`env`,Union(ASCIIString,UTF8String)[FOO=bar])
julia run(c)
FOO=bar
On Wed, Dec 31, 2014 at 2:16 PM, Sean Marshallsay srm@gmail.com
javascript: wrote:
In Bash I
Also:
julia ENV[FOO] = BAR
BAR
julia run(`env` | `grep FOO`)
FOO=BAR
On Wed, Dec 31, 2014 at 3:35 PM, Sean Marshallsay srm.1...@gmail.com
wrote:
Awesome, thank you!
On Wednesday, 31 December 2014 19:27:26 UTC, Isaiah wrote:
julia c = setenv(`env`, [FOO=bar])
Thanks Stefan but I ideally wanted something that would leave ENV intact
(which setenv does). On an unrelated note, how on earth do you find the
time to answer all these questions so quickly? However you do it, thanks
for being so dedicated.
On Wednesday, 31 December 2014 20:55:51 UTC, Stefan
+1 to addering to the git flow, I had also allways expected for the master
branch to be as stable and possible, while development happening in another
branch, not the other way around and sometimes I've had to search for a
past working commit in order to build julia, which strikes me as odd, as
I currently am trying to solve a problem where I have many composite types
and I would like to associate some data with each type, such that every
instance has access to it. Obviously, in C++ I would just create a static
member variable.
Is there a good way to go about this in Julia?
On Thursday, January 1, 2015 9:55:11 AM UTC+10, Ismael VC wrote:
+1 to addering to the git flow, I had also allways expected for the master
branch to be as stable and possible, while development happening in another
branch, not the other way around and sometimes I've had to search for a
I didn't know that fact about the Linux kernel, or how usual it is, I've
just red the git book and it explains it like this:
http://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows
On Wed, Dec 31, 2014 at 7:30 PM, ele...@gmail.com wrote:
On Thursday, January 1, 2015 9:55:11 AM
method dispatch on the object type does a remarkably good job at providing
this functionality without needing a specialized feature:
static_data(::Type{MyObj}) = 1
static_data(::Type{MyOtherObj}) = 2
On Wed Dec 31 2014 at 8:23:40 PM Josh Langsfeld jdla...@gmail.com wrote:
I currently am trying
Sorry, doesn't seem to work:
a = rand(10)
b = rand(10)
c = rand(10)
d = rand(10)
p = plot(x=a, y=b)
push!(p.layers, layer(x=c, y=d))
`convert` has no method matching convert(::Type{Layer}, ::Array{Layer,1})
while loading In[185], in expression starting on line 9
in push! at array.jl:457
My mistake, it should work with append! instead of push!.
For your second question, here's one option:
a, b, c, d = [rand(10) for _ in 1:4]
On Wednesday, December 31, 2014 5:58:15 PM UTC-8, AVF wrote:
Sorry, doesn't seem to work:
a = rand(10)
b = rand(10)
c = rand(10)
d = rand(10)
p
Lint.jl relies on julia's built-in parser which only generates line number,
not column number, in the abstract syntax tree, so it won't help on the 2nd
question, either.
On Thursday, January 1, 2015 2:30:42 AM UTC+7, Isaiah wrote:
1) workspace()
2) maybe Lint.jl could help here? Not sure
If you Pkg.update() and try again, you should be fine. DataFrames was
overdue for a tagged release -- you'll get v0.6.0 which includes some
updates to vcat. As a gut check, this works just fine:
using DataFrames
dfs = [DataFrame(Float64, 15, 15) for _=1:200_000]
vcat(dfs)
(If it doesn't for
Is there a standard method for declaring a package's changes in a package
NEWS file? Couldn't find anything in Julia docs. I think some packages use
a NEWS.md file at the top level (e.g. DataFrames, Gadfly, Distributions),
but others do not (e.g. Dates, Optim).
FWIW, since I agreed to help review the book, I've yet to hear from Packt
again. Perhaps they saw this thread and decided to postpone? :)
-Jacob
On Thu, Dec 11, 2014 at 2:20 PM, cdm cdmclean@gmail.com wrote:
i will vote with my green paper and let the market decide ...
here is some
There really isn't. We use NEWS.md in julia, and presumably that could be
come standard.
I really wish we could have a mechanism, where Pkg.publish() prompts you
for a NEWS update, appends it to NEWS.md, and then also submits it as part
of the PR - so that when merging in METADATA.jl, one can
I'm really glad you like it, thanks for your support! :D
On Wed, Dec 31, 2014 at 10:17 PM, Viral Shah vi...@mayin.org wrote:
Thanks. I see the discussion on the PR. This is really cool!
-viral
On Monday, December 29, 2014 12:22:16 AM UTC-8, Ismael VC wrote:
Sorry I forgot to mention, the
Also, would be nice for Pkg.update() to return change logs for updated
packages. This might be tricky given the usual markdown format, but
shouldn't be impossible
On Thursday, 1 January 2015 15:10:26 UTC+11, Viral Shah wrote:
There really isn't. We use NEWS.md in julia, and presumably that
Happy new year!!
I am encountering a very odd fft error. I am trying fft NxN data. The data
is produced using a mathematical equation. After debugging I have found
that the following expression is gives NaN error:
fft(besselj(1, sqrt(X.^2+Y.^2))./sqrt(X.^2+Y.^2))
where X and Y are
I would be more than happy to help, but that doesn't sound like a project
within the domain of Julia and CS knowledge at the moment. If someone
would set up a project framework, I could probably be better placed to
contribute.
On Wednesday, December 31, 2014 2:47:21 PM UTC-5, Jiahao Chen
I found the reason because both arrays contains (0, 0). Is there way around
it?
On Thursday, 1 January 2015 00:50:56 UTC-5, Zahirul ALAM wrote:
Happy new year!!
I am encountering a very odd fft error. I am trying fft NxN data. The data
is produced using a mathematical equation. After
may be not
On Thursday, 1 January 2015 01:05:02 UTC-5, Zahirul ALAM wrote:
I found the reason because both arrays contains (0, 0). Is there way
around it?
On Thursday, 1 January 2015 00:50:56 UTC-5, Zahirul ALAM wrote:
Happy new year!!
I am encountering a very odd fft error. I am
Hi everyone,
Happy New Year!
I briefly introduced myself and what I'm trying to do here
https://groups.google.com/forum/#!searchin/julia-users/Forgy/julia-users/umHiBwVLQ4g/P6DoT7qGrB8J
.
I saw that Stefan gave a nice answer to the question Is Julia ready for
production use?
On Thursday, January 1, 2015 11:44:53 AM UTC+10, Ismael VC wrote:
I didn't know that fact about the Linux kernel, or how usual it is, I've
just red the git book and it explains it like this:
http://git-scm.com/book/en/v2/Git-Branching-Branching-Workflows
And just under that diagram it
any help please
On Thursday, 1 January 2015 01:07:33 UTC-5, Zahirul ALAM wrote:
may be not
On Thursday, 1 January 2015 01:05:02 UTC-5, Zahirul ALAM wrote:
I found the reason because both arrays contains (0, 0). Is there way
around it?
On Thursday, 1 January 2015 00:50:56 UTC-5, Zahirul
While the basic assert based tests are good enough for me, I do wish that
the test framework could be more flexible. Some of this is historic - we
started out not wanting a separate set of unit vs. comprehensive test
suites. The goal with the unit tests was to have something that could be
There is a NaN item at the very centre. How to deal with it?
On Thursday, 1 January 2015 02:25:34 UTC-5, Zahirul ALAM wrote:
any help please
On Thursday, 1 January 2015 01:07:33 UTC-5, Zahirul ALAM wrote:
may be not
On Thursday, 1 January 2015 01:05:02 UTC-5, Zahirul ALAM wrote:
I found
On Thursday, January 1, 2015 11:45:00 AM UTC+10, Jameson wrote:
method dispatch on the object type does a remarkably good job at providing
this functionality without needing a specialized feature:
static_data(::Type{MyObj}) = 1
static_data(::Type{MyOtherObj}) = 2
Would like to document
60 matches
Mail list logo