For the tab issue have you tried adding
*:editor.julia [(:lt.objs.editor/tab-settings false 4 4)]*
to the *{:+* section of *user.behaviours*? It needs to be *:editor.julia*
to actually override Jewel's settings.
If that doesn't work would you be able to post your behaviours file to a
gist or
Hi Mike,
It looks very nice, but I still have an issue.
I followed all recommendations, have updated all plugins, on startup after
Spinning up a Julia client, I always get the error:
Couldn't connect to Julia
ERROR: latex_symbols not definedin anonymous at no file
in include at boot.jl:244
Hi Ivo,
Which version of julia are you using, v0.2.1 or v0.3? latex_symbols looks
like it's only a v0.3 feature.
-- other Mike
On Monday, 30 June 2014 08:56:03 UTC+2, Ivo Balbaert wrote:
Hi Mike,
It looks very nice, but I still have an issue.
I followed all recommendations, have updated
This http://docs.julialang.org/en/latest/manual/functions/#functions
doesn’t cut it for you? =)
// T
On Monday, June 30, 2014 7:26:15 AM UTC+2, Brian Nguyen wrote:
The Julia Manual seems to not mention (or use) the following syntax:
function([arguments]) [body] end
This is Matlab's code:
[Q,S] = svd(A,'econ'); %S is always square.
if ~isempty(S)
S = diag(S);
tol = max(size(A)) * S(1) * eps(class(A));
r = sum(S tol);
Q = Q(:,1:r);
end
Op maandag 30 juni 2014 07:53:19 UTC+2 schreef Andre P.:
I have some Matlab code I'm porting to
It is a bug (in my opinion, but others might disagree), but fixing this
will have consequences for performance in some cases.
Part of problem is that most users want sum to be fast, and that means it
has to be type stable. That means that the type of the sum needs to be
determined only based
Hi,
has someone a hint, how I could use a range query?
https://github.com/Lytol/Mongo.jl:
# Find everyone's name and age and display
fields = { name = 1, age = 1 }
cursor = find(client, test.people, Dict(), fields)
How is it possible to iterate only for people with age 30 for example?
Many
Modifying mapflodl in reduce.jl would make sum work:
function mapfoldl(f, op, itr)
i = start(itr)
if done(itr, i)
return Base.mr_empty(f, op, eltype(itr))
# instead of: error(Argument is empty.)
end
(x, i) = next(itr, i)
v0 = evaluate(f, x)
Such questions are usually easiest to answer for the developer of a
package, and the best way to reach him/her is to open an issue with the
package. Most other readers of julia-users will probably not spend time to
investigate possible feature requests (or documentation issues) before the
Hi Mike,
I use : julia version 0.3.0-prerelease+2809
on Windows 8 - 64 bit
Ivo
Op maandag 30 juni 2014 09:00:09 UTC+2 schreef Michael Hatherly:
Hi Ivo,
Which version of julia are you using, v0.2.1 or v0.3? latex_symbols looks
like it's only a v0.3 feature.
-- other Mike
On Monday, 30
Could you try the latest prerelease from the website? Looks like 2809 was
prior to the latex additions.
On Monday, 30 June 2014 13:21:57 UTC+2, Ivo Balbaert wrote:
Hi Mike,
I use : julia version 0.3.0-prerelease+2809
on Windows 8 - 64 bit
Ivo
Op maandag 30 juni 2014 09:00:09 UTC+2
Alireza – I think you've won the weirdest error competition. This looks
like some kind of low-level graphics issue, so if it's caused by the plugin
something very strange is going on. Does it still happen when Julia is
disconnected? What about if you type in a non-Julia file?
The other Mike is
PSA: I've just realised that installing the plugin doesn't change the
default theme as I had thought. I've added an instruction to the readme,
but if you installed before that you'll want to see here
https://github.com/one-more-minute/Jupiter-LT/wiki/Settings-%26-Configuration
to change the theme
Nope, Brian is talking about the other anonymous function syntax. I was
surprised when I ran across it myself, and think it is indeed undocumented.
Perhaps open an issue?
julia f = function(x) println(x); end
(anonymous function)
julia f(foo)
foo
On Monday, June 30, 2014 3:03:11 AM UTC-4,
I can't get Gadfly to plot anything. It gives me this error:
WARNING: Jewel: pad_inner not defined
in render at C:\Users\admin\.julia\v0.3\Gadfly\src\Gadfly.jl:643
in writemime at C:\Users\admin\.julia\v0.3\Gadfly\src\Gadfly.jl:736
in sprint at io.jl:465
in display_result at
Careful! That is Copyright 1984-2011 The MathWorks, Inc.
Especially on such short functions, it's important for folks to have never
seen a proprietary implementation so that their code is done in a clean
room. That becomes tougher to argue when you have a copy of the code
sitting in your
Good point, I am not used to having to deal with licensing issues so I was
probably a bit careless. My apologies for that.
I removed my message, unfortunately it is still contained in your response
:-).
Op maandag 30 juni 2014 15:40:03 UTC+2 schreef Matt Bauman:
Careful! That is Copyright
A couple of years ago I used this function (maybe I copied the Matlab or
Octave code, I don't remember):
*## similar to the Matlab orth() function*
*function orth(A)*
* if (isempty (A))*
*retval = []*
* else*
*(U, S, V) = svd(A) *
*(rows, cols) = size(A) *
*tol = max (size (A))
Please don’t post code whose copyright status is not 100% certain. If you are
even vaguely unsure, you are putting the community in needless danger.
As a minimal example, it may be illegal for you to have written the e-mail you
just wrote.
— John
On Jun 30, 2014, at 7:07 AM, 'Stéphane
Ok, I need to correct my instructions: to get interactivity in Gadfly you
must use Pkg.checkout(Compose), not Pkg.checkout(Gadfly). Checking out
Gadfly too won't hurt, but isn't mandatory. I can't guarantee that either
will be stable so if there are problems just call Pkg.free(Compose) (same
Yes now I got it working. Thank you.
On Monday, June 30, 2014 5:19:02 PM UTC+3, Mike Innes wrote:
Ok, I need to correct my instructions: to get interactivity in Gadfly you
must use Pkg.checkout(Compose), not Pkg.checkout(Gadfly). Checking out
Gadfly too won't hurt, but isn't mandatory. I
Ok sorry, I have deleted the code. BTW I have never really understand how
some piece of code could be proprietary.
Le lundi 30 juin 2014 16:09:37 UTC+2, John Myles White a écrit :
Please don’t post code whose copyright status is not 100% certain. If you
are even vaguely unsure, you are
You don't like my slides ? :-(
I'd like to know how to avoid the deepcopy at the beginning of
updatePoly1().
Le dimanche 29 juin 2014 23:00:30 UTC+2, Stéphane Laurent a écrit :
Thank you everyone for your reply.
But finally, what should I do ? My real function is shown on slide 16
here
Hi, I get the following error when running the hashing functionality
example for Nettle:
julia using Nettle
julia h = HashState(SHA256)
SHA256 Hash state
julia update!(h, this is a test)
ERROR: no method pointer(ASCIIString,)
in update! at C:\Users\jeff\.julia\Nettle\src\hash.jl:74
Linking directly to the relevant slide is helpful:
http://stla.github.io/JULIAGFI01/#16
You don't need a deepcopy, just a copy; there's no way to avoid it if you
don't want to modify the original matrix. In R there's an implicit copy
that happens as soon as you modify the matrix so the only
Ahh ok, thank you. I don't know why I was searching somrthing more
complicated.
Le lundi 30 juin 2014 17:01:16 UTC+2, Stefan Karpinski a écrit :
Linking directly to the relevant slide is helpful:
http://stla.github.io/JULIAGFI01/#16
You don't need a deepcopy, just a copy; there's no way
No problem, glad to help.
I just released new versions of both the package and plugin with some more
Windows fixes.
On Monday, 30 June 2014 15:31:28 UTC+1, Johan Sigfrids wrote:
Yes now I got it working. Thank you.
On Monday, June 30, 2014 5:19:02 PM UTC+3, Mike Innes wrote:
Ok, I need to
In your definition I think you meant type stability, not type instability.
To be completely explicit, a function is type-stable if you can calculate the
return type(s) of all outputs from the types of the inputs. If you have to
look at the actual values of the inputs, it's not type-stable.
Hey Tim,
Thanks for the answer. I think I meant what I stated in the definition. A
function is type instable if return types depend on input types.
I guess the question I really want to get an answer to is whether or not
functions like this will make it difficult for the compiler to emit
Hey Spencer,
A function is defined to be type stable if the return types depend only on
the input types.
-- John
On Jun 30, 2014, at 9:51 AM, Tim Holy tim.h...@gmail.com wrote:
In your definition I think you meant type stability, not type
instability.
To be completely explicit, a
On Monday, June 30, 2014 09:54:43 AM Spencer Lyon wrote:
Hey Tim,
Thanks for the answer. I think I meant what I stated in the definition. A
function is type instable if return types depend on input types.
No, that's not right. Think about the + function: if you add a Float64 +
Float64, you
Ha, you guys are totally right.
Sorry about that Tim, I was wrong there.
Thanks for clearing it up, John.
On Monday, June 30, 2014 12:56:10 PM UTC-4, John Myles White wrote:
Hey Spencer,
A function is defined to be type stable if the return types depend only
on the input types.
--
It's easy to check for yourself: code_typed(bellman_operator,(GrowthModel,
Vector{Float64},Bool))
I cannot tell conclusively since I don't know what g.grid is, but at the
very last line you'll have something that looks like:
end::Union(Array{Float64,1},(Array{Float64,1},Array{Float64,1}))
It
OK! It works with the latest prerelease-version, thank you.
Ivo
Op maandag 30 juni 2014 13:52:39 UTC+2 schreef Michael Hatherly:
Could you try the latest prerelease from the website? Looks like 2809 was
prior to the latex additions.
On Monday, 30 June 2014 13:21:57 UTC+2, Ivo Balbaert
Here's another text-only plotting package to play around with:
https://github.com/mbauman/Sparklines.jl
We're starting to have substantial text plotting abilities.
On Sat, May 24, 2014 at 5:39 PM, Adam Smith swiss.army.engin...@gmail.com
wrote:
Patrick: I hadn't seen urwid before. It looks
Hmm, what version of Nettle do you have installed? Pkg.status() should tell
you.
-E
On Mon, Jun 30, 2014 at 7:19 AM, jwmillerusa jwmiller...@gmail.com wrote:
Hi, I get the following error when running the hashing functionality
example for Nettle:
julia using Nettle
julia h =
Ah, I see. I had Nettle version 0.1.4 (which requires Julia version 0.3?).
I reverted to Nettle version 0.1.3 and it works now.
Thanks, Elliot!
Jeff
Le lundi 30 juin 2014 14:47:15 UTC-4, Elliot Saba a écrit :
Hmm, what version of Nettle do you have installed? Pkg.status() should
tell
Sure – basically, Jewel is the core plugin which provides most of the
functionality, built out of the Jewel.jl package and the Jewel plugin for
Light Table (although Jewel.jl can support other editors/IDEs in principle,
so if anyone wants to borrow the autocompletion etc. just let me know).
It's
Cool, very nice work. I had no problem install it on windows 7, but I have
to say I'm quite confused by Light Table, it seems interesting though.
I got these data display but I haven't find yet how to close them ...
http://i.imgur.com/uNIxePy.png
How easy to contribute to the project, add
How did you get 0.1.4 installed on Julia 0.2.1? Hopefully that should be
difficult, as the package manager is supposed to do the right thing
automatically.
-E
On Mon, Jun 30, 2014 at 12:23 PM, Jeff Miller jwmiller...@gmail.com wrote:
Ah, I see. I had Nettle version 0.1.4 (which requires
For clearing the inline results you can open the command panel ctrl-space
and type clear inline results. You can also add keybindings for any
frequently used commands. Here's my config files
https://gist.github.com/MichaelHatherly/05832061e01f423ceaa7 for
LightTable, perhaps they'll be helpful
Great – if you want to minimise results just double click them, or right
click and select remove result to close them (or use the clear inline
results command to get rid of all of them at the same time). I really
recommend having a look through the wiki
Let's assume that I have defined composite types
type Xy
x
y
end
type Minmax{T}
min::T
max::T
end
To make code readable, I'd like to initialize nested composite type
variable like this:
var=Minmax{Xy}()
var.min.x = 0
var.max.x = 1
var.min.y = -10
var.max.y = 0
How to
I believe it was installed when I did Pkg.add(WebSockets). I don't
recall whether or not there was a warning about an insufficient Julia
version.
I just tried removing WebSockets (which also removed Nettle), and when I
added it again, it gives me Nettle 0.1.3. I'm not sure why it
Well, glad it seems to be doing something reasonable now. Let me know if
it happens again!
-E
On Mon, Jun 30, 2014 at 2:04 PM, Jeff Miller jwmiller...@gmail.com wrote:
I believe it was installed when I did Pkg.add(WebSockets). I don't
recall whether or not there was a warning about an
Will do. Thanks again for your help!
Le lundi 30 juin 2014 17:16:09 UTC-4, Elliot Saba a écrit :
Well, glad it seems to be doing something reasonable now. Let me know if
it happens again!
-E
On Mon, Jun 30, 2014 at 2:04 PM, Jeff Miller jwmil...@gmail.com
javascript: wrote:
I
http://i.imgur.com/wzn0yAT.png
Red dots: contributors to the Julia repository (size is log-proportional to
number of commits)
Green dots: Github users who are watching the Julia repository
Purple circles: Github users who have starred the Julia repository
imgur link: http://imgur.com/wzn0yAT
Hi all,
I've got some very basic questions about building Julia from source on an
hpc cluster. I got it to build fine a month ago, but now the makefile
changed. I was partially succesful this time as well (my test runs), but
some strange things happen and there's a lot of stuff in that
That arrayops.jl test failure is because you're missing an LLVM patch,
see https://github.com/JuliaLang/julia/issues/7197#issuecomment-46688404
A lot of these build customization options should be better-documented,
especially for the heterogenous-processor case. Don't copy Make.inc to
I stumbled upon this interesting post about machine learning techniques
that happens to use Julia:
http://lepisma.svbtle.com/extreme-learning-machines-with-julia
I rather like that this post just uses Julia and makes no real remark on
that fact.
thanks tony, just giving this a try from scratch. to be honest, I dont'
know the exact age of those processors. Let me see how far I get without
those newer binutils.
On Monday, 30 June 2014 23:17:00 UTC+1, Tony Kelman wrote:
That arrayops.jl test failure is because you're missing an LLVM
Pull request opened here https://github.com/JuliaLang/julia/pull/7476
If you get into trouble compiling the Haswell kernels due to no such
instruction: vpermpd, give NO_AVX a try. Or upgrade binutils, up to you.
On Monday, June 30, 2014 3:50:58 PM UTC-7, Florian Oswald wrote:
thanks tony,
The only thing I can really suggest is that if it is a graphics issue it's
most likely to do with Chromium, so searching for that might turn more up.
You could also open an issue in the Light Table repo, but I wouldn't hold
my breath waiting for a response.
As for the autocompletion – you've
I also get the same value (4705360871073570227520) that you quoted when using
Int128; I guess that
the difference is due to some round-off error from using Float64...
On Jun 29, 2014, at 11:29 AM, gentlebeldin gentlebel...@hotmail.com wrote:
You're right, my code seems to be fast, because it
I spent several hours struggling with display() not using STDOUT. I found
that
pushdisplay(TextDisplay(STDOUT))
does not make display() to use STDOUT. I think it has something to do with
the Latex symbol support, because my old functions stopped working around
the time it was introduced.
Sure enough, that is undocumented. I think I was unaware of it when I wrote
that section of the manual and it never got added. Please do open an issue
so we remember to document it at some point. Or better still, make a PR
that documents it :-)
On Mon, Jun 30, 2014 at 9:35 AM, Matt Bauman
I wanted a scale! method that works for tridiagonal matrices and did the
following.
import Base.scale!
function scale!{T}(A::Tridiagonal{T}, x::T)
Base.scale!(A.dl, x)
Base.scale!(A.d, x)
Base.scale!(A.du, x)
return
end
Doing
methods(scale!)
gives the output
# 15 methods
57 matches
Mail list logo