Just found that, this is exactly my bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1200381
I am not comfortable with Linux. Following the link below, do I have to
remove something before doing *yum install xscreensaver* ?
Le lundi 12 octobre 2015 11:56:02 UTC+2, Stéphane Laurent a écrit :
>
> Just found that, this is exactly my bug:
>
at 3:40 PM, 'Stéphane Laurent' via julia-users <
> julia...@googlegroups.com > wrote:
>
>> I get the beginning of the message ;
>>
>>
>>> *Error unknown option: --rootin: process_options at ./client.jl:255*
>>
>>
>> There is also a message about start.jl, but I didn't get the time to
>> write it.
>>
>
>
Ok, done. Thank you.
Now I wait and see.
Le lundi 12 octobre 2015 18:33:34 UTC+2, Pablo Zubieta a écrit :
>
> If you are running Ubuntu you should run
>
> sudo apt-get install xscreensaver-data-extra
>
> instead.
>
I get the beginning of the message ;
> *Error unknown option: --rootin: process_options at ./client.jl:255*
There is also a message about start.jl, but I didn't get the time to write
it.
Hello,
Sometimes when my screen switches to save mode (I'm using LXDE desktop on
Ubuntu), I get a message like :
unknown option --root
> in client.jl
This is not the exact message (next time I see it I will update this post).
And I am not using Julia in the session.
the output.
I remember something like cmake not found, but I'm not sure.
Isn't it better to install the latest 0.3 version rather than 0.4 ?
Le dimanche 18 janvier 2015 12:56:16 UTC+1, Milan Bouchet-Valat a écrit :
Le dimanche 18 janvier 2015 à 03:54 -0800, 'Stéphane Laurent' via
julia-users
Hello,
Since Julia version 0.4 this way does not work anymore :
*git pull*
*make clean*
*make*
There are some errors when doing make. Can I simply delete my julia folder
and reinstall ?
Le mardi 20 mai 2014 12:46:41 UTC+2, Ivo Balbaert a écrit :
Sorry, message was posted too quickly:
Also Liclipse :
https://groups.google.com/forum/#!searchin/julia-users/liclipse/julia-users/cw0vLsHTUJk/Y5HO29VjpMQJ
When I have two files in the same project, I source the first one by
pressing F9, and if I source the second one then this is like a new
session: everything sourced from the first file is forgotten. Is there a
way to prevent that ?
Hello Sheehan,
I get a failure with the following example, do you have an idea about the
why ?:
*# solves u = phi²*sinh(u)-2u'/(x+gamma) , u'(a)=-xi, u'(R)=0*
*a= 3.514457e-07*
*R= 7.60773e-07*
*x=Fun(identity, Interval(a,R))*
*d=x.domain*
*B=neumann(d)*
*D=diff(d)*
*# Solves Lu + g(u) == 0*
Thank you. I have successfully modified the julia.liclipse file. It works
now.
S
Le lundi 30 juin 2014 02:16:26 UTC+2, Fabio Zadrozny a écrit :
On Sunday, June 29, 2014 12:14:59 PM UTC-3, Stéphane Laurent wrote:
I have just installed Eclipse and LiClipse, but now I don't see what to
do
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))
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 Laurent' via julia-users
julia...@googlegroups.com javascript: wrote:
A couple of years ago I used this function
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
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 difference is
that the copy in Julia is explicit.
On Mon, Jun 30, 2014 at 10:43 AM, 'Stéphane Laurent' via julia-users
julia
Cool !
*Note that to be installed, LiClipse requires Eclipse 4.3 (Kepler)
onwards. *
Do you know whether Eclipse 4.4 (Luna) is fine too ?
Le dimanche 29 juin 2014 04:13:20 UTC+2, Fabio Zadrozny a écrit :
Hi Julia-users,
Just wanted to let you know that LiClipse (which is mostly Eclipse
These days I have experienced Yihui's runr package and this is indeed not
very satisfactory yet.
Do you know whether we can straightforwardly get in Julia, the console
output as a ready-to-print character string, for example here:
*julia [1,2,3]*
*3-element Array{Int64,1}:*
* 1*
* 2*
* 3*
Hello,
As a R user I am a little puzzled by this behaviour:
*julia ftest = function(x) *
*x[2] = 0 *
*return x*
* end*
*(anonymous function)*
*julia y = [1,2]*
*2-element Array{Int64,1}:*
* 1*
* 2*
*julia ftest(y)*
*2-element Array{Int64,1}:*
* 1*
* 0*
*julia y*
And please, could you explain why this behaviour occurs for the previous
function but not for the following one:
*ftest2 = function(x) *
*x = x[[2,1]] *
*return x*
*end*
I have just installed Eclipse and LiClipse, but now I don't see what to do
when I open a jl file. When typing F9 I get a message claiming julia is not
found, whereas it is on the PATH variable of my bashrc file.
Thank you everyone for your reply.
But finally, what should I do ? My real function is shown on slide 16 here
http://stla.github.io/JULIAGFI01/#1. Basically the function takes an
array and modifies two columns. I would also be glad to get your comments
about all the code shown in these
I really don't know how it works, but this is what Yihui Xie's R package
runr https://github.com/yihui/runr does for R.
My ex-girl friend suspected me to use Julia because of an emotional
attachment with a girl named Julia. Ok this was insanely jealous but I'll
never wear such a T-shirt.
Thank you for the explanations. Reading your papers is on my LOTTD. Some pub
for you here http://stats.stackexchange.com/a/104290/8402 ;)
Hello,
I'd like to solve this equation with Neumann boundary conditions. My code
below does not work. Am I doing something bad or is it a failure of the
Newton algorithm ?
*# solves u = (exp(u)-exp(-u))-2u'/(x+1) , u'(0)=-1, u(1)=0*
*x=Fun(identity, Interval(0.,1.))*
*d=x.domain*
))
u=-0.3*x+0.5 #initial guess
for k=1:5 # this crashes if Ii increase the number of iterations
u=u-[B,L+gp(u)]\[diff(u)[0.]+1.,diff(u)[1.],L*u+g(u)];
end
plot(u)
On 21 Jun 2014, at 6:54 pm, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com javascript: wrote:
Hello
chances are you won't.
Sent from my iPad
On 21 Jun 2014, at 10:15 pm, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com javascript: wrote:
Ok, I understand. It works and it is really awesome. Thank you !
Le samedi 21 juin 2014 12:17:22 UTC+2, Sheehan Olver a écrit :
Hi,
You
u=u-[B,L+gp(u)]\[0.,0.,L*u+g(u)-1.];
end
norm(diff(u,2) + 2(1-x.^2).*diff(u) + g(u) -1) # This equals 0.0
On 12 Jun 2014, at 1:02 am, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com wrote:
Hello Sheehan,
I have unsuccessfully tried to understand how works
) # This equals 0.0
On 12 Jun 2014, at 1:02 am, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com javascript: wrote:
Hello Sheehan,
I have unsuccessfully tried to understand how works the differential
equation solver (I do not understand the Airy example).
It would be nice
Le jeudi 19 juin 2014 19:09:45 UTC+2, John Myles White a écrit :
Maybe we should start removing all the default distributions.
I agree a default binomial distribution is a strange concept. But the
default Gaussian distribution is nice.
Thank you ! I will not try soon, but in the near future, I hope.
Stéphane
Hello Sheehan,
I have unsuccessfully tried to understand how works the differential
equation solver (I do not understand the Airy example).
It would be nice to have an example of code for a simple BVP such as :
u + 2(1-x^2)u + u^2 = 1 , u(-1) = u(1) = 0
Regards,
Stéphane
Le lundi 24 mars
Hmmm there' are more details here
https://github.com/dlfivefifty/ApproxFun/blob/f0b1cd8e9bb1dacc99c198ea2b895d656749613f/examples/Airy%20equation.jl
about the Airy example. I think I understand now.
Hello is there something in Gadfly like the geom_abline() function in the
ggplot2 R package to add a single line to an existing plot ?
.
Of course, one could say that sqrt(a) is complex in general for real a,
but Julia returns a real. As Stefan says, some of these cases have no good
solutions, only less worse ones.
-- mb
On Sun, Jun 8, 2014 at 7:09 PM, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com javascript
, only less worse ones.
-- mb
On Sun, Jun 8, 2014 at 7:09 PM, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com wrote:
If b is rational then a^b is irrational in general, even for a integer,
so this output is quite expected, as well as
julia (10//1)^(2//1)
100.0
Le
More seriously, are there really no case in Julia like that :
*Return float for negative b, integer otherwise ⟹ not type-stable.*
?
Otherwise, a better solution is to return Rational for negative, and Int
for positive. Always returning Rational is not cool because we use positive
numbers
Hi,
In a program I have some *n*1* arrays, say
*A*
*B*
*C*
*D*
and in order to make a certain calculation, for convenience, I construct
the array
*A B*
*B C*
*C D*
*D A*
There will be millions of such arrays generated by my final program, with
*n* greater than 4 and the components A, B,
Thank you, I will think about your proposal and take a look at ArrayViews
in the near future.
- Stéphane
Le lundi 9 juin 2014 19:37:38 UTC+2, Stéphane Laurent a écrit :
Hi,
In a program I have some *n*1* arrays, say
*A*
*B*
*C*
*D*
and in order to make a certain calculation, for
Thank you. I have tried to understand, but really unsuccessful (moreover
the ApproxFun example given on github doesn't work).
Le mardi 20 mai 2014 11:55:35 UTC+2, Mauro a écrit :
I can't help you but maybe it could help to look at the extensive
documentation for chebfun, the matlab
Excellent, I already had all the requited tools (gfortran, curl), and the
installation has been successful. Thank you !
Le mardi 20 mai 2014 12:46:41 UTC+2, Ivo Balbaert a écrit :
Sorry, message was posted too quickly:
Here is my report of the build:
in /home/ivo/julia:
git clone
Maybe, but I really don't understand this code :(
Is it supposed to work with Ubuntu 14 too ?
Le samedi 25 janvier 2014 20:37:03 UTC+1, Stefan Karpinski a écrit :
Just do this:
git clone https://github.com/JuliaLang/julia.git
cd julia
make
It will take a while, but it will download all the things you need under
the deps directory,
Hello,
I have a strange behaviour.
This code works fine:
for file = (newLine, intersect, findRange, getLine, orderPart,
plotPart)
include(*(pwd(), \\function_, file, .jl))
end
But when there's only one string to loop over I get this error:
julia for file = newLine
Hello,
Is there a Julia library allowing to solve ordinary differential equations
with boundary values constraints, similarly to the bvpSolve package for
Rhttp://cran.r-project.org/web/packages/bvpSolve/vignettes/bvpSolve.pdf
?
Hello everybody,
Below I define two new types : Line and Poly. The Poly type is intended
for stacking some lines.
type Line
a::Float64 # intercept
b::BigFloat # slope
x1::BigFloat # x-coordinate of first vertex
y1::BigFloat # y-coordinate of first
Thank you Johan and Jameson.
Johan, I don't know how to make a loop on the fields with a function. For
example this doesn't work:
function removeLine(poly::Poly, index::Int)
for op = (:a, :b, :x1, :y1, :x2, :y2, :typ)
splice!(poly.$op, index)
end
end
How to do, please ?
Hello,
Assume I want to delete the first and the third entries of this array:
julia x = [3,5,9,7]
4-element Array{Int64,1}:
3
5
9
7
How to do ? Using !splice I can only delete one entry or a range.
julia deleteat!(x, 1)
ErrorException(deleteat! not defined)
Le jeudi 8 mai 2014 17:00:01 UTC+2, Tobias Knopp a écrit :
deleteat!(x,(1,3))
But am I missing something or are splice! and deleteat! a little redundant?
Am Donnerstag, 8. Mai 2014 16:49:58 UTC+2 schrieb Stéphane Laurent:
No that generates an error:
ErrorException(error compiling removeLine: syntax: prefix \$ in non-quoted
expression)
Le jeudi 8 mai 2014 17:09:24 UTC+2, Johan Sigfrids a écrit :
You can still use meta-programming to generate the code
function removeLine(poly, index)
for op = (:a, :b,
Sorry, actually it works.
Maybe there was a problem previously because of JuliaStudio. Sometimes when
I copy-paste some code in the JuliaStudio console it is not executed.
Thanks for your help.
Cool, thank you Jameson.
So what is the best choice between these two possibilities :
function removeLine(poly::Poly, index::Int)
for op = (:a, :b, :x1, :y1, :x2, :y2, :typ)
@eval splice!($poly.$op, $index)
end
end
function removeLine2(poly::Poly, index::Int)
for op =
Actually I'm rather using the followig function allowing to remove several
lines.
function removeLines(poly::Poly, indices::BitArray{1})
for op = (:a, :b, :x1, :y1, :x2, :y2, :typ)
@eval $poly.$op = ($poly.$op)[!$indices]
end
end
function removeLines2(poly::Poly,
Right, it works. Thanks.
Le dimanche 4 mai 2014 20:13:25 UTC+2, Keno Fischer a écrit :
Or just use the `float64` function.
On Sun, May 4, 2014 at 2:11 PM, 'Stéphane Laurent' via julia-users
julia...@googlegroups.com javascript: wrote:
Cool like this;
julia [convert(Float64
Hello,
Assume I have a BigFloat number, how to get its Float64 approximation ?
convert works fine on a single BigFloat but it doesn't apply to an array ?
julia x = BigFloat(2.13)
2.130003e+00
with 256 bits of precision
julia convert(Float64,x)
2.13
julia convert(Float64, [x x])
Cool like this;
julia [convert(Float64,a) for a in [x x]]
2-element Array{Any,1}:
2.13
2.13
Thank you everybody, almost every point discussed here is now written on my
blog http://stla.github.io/stlapblog/posts/KantorovichWithJulia.html.
59 matches
Mail list logo