Re: [julia-users] How do I write `import Base.!` in julia 0.5?

2016-08-09 Thread Bart Janssens
On Tue, Aug 9, 2016 at 7:21 AM Kevin Squire wrote: > Generally it's not a different syntax, and the error generated here is > probably a consequence of recent parser changes to handle dot-operator > overloading (and should probably be reported as a bug, and possibly fixed.) > You mean fused broa

Re: [julia-users] How do I write `import Base.!` in julia 0.5?

2016-08-09 Thread Kevin Squire
Sorry, yes, I meant fused broadcast. Or at least, I'm guessing this behavior was caused by some combination of https://github.com/JuliaLang/julia/pull/15032 and https://github.com/JuliaLang/julia/pull/17300. Cheers, Kevin On Tue, Aug 9, 2016 at 12:00 AM, Bart Janssens wrote: > On Tue, Aug

Re: [julia-users] How do I write `import Base.!` in julia 0.5?

2016-08-09 Thread Tim Holy
import Base: ! also works (and you can include more operators). --Tim On Monday, August 8, 2016 9:59:25 PM CDT Fengyang Wang wrote: > On Monday, August 8, 2016 at 10:26:46 AM UTC-4, Kevin Squire wrote: > > Try > > > > import Base.(!) > > > > Cheers, > > > > Kevin > > Why do import statem

Re: [julia-users] precompiling all packages

2016-08-09 Thread Tim Holy
There are several previous threads on this, hopefully one of those will help. Best, --Tim On Monday, August 8, 2016 8:13:42 PM CDT Chang Kwon wrote: > Is there a way to precompile all packages at once? Each time that I run > Pkg.update(), I would also like to precompile all packages so that when

Re: [julia-users] Is the master algorithm on the roadmap?

2016-08-09 Thread Tim Holy
I'd recommend starting by picking a very small project. For example, fix a bug or implement a small improvement in a package that you already find useful or interesting. That way you'll get some guidance while making a positive contribution; once you know more about julia, it will be easier to s

Re: [julia-users] precompiling all packages

2016-08-09 Thread Michael Borregaard
AFAIK none of these threads provided an easy and clear resolution. The latest I could find () ended up with a reques to define a `Pkg.precompile()` function, but I have not seen that anything new has happened since.

Re: [julia-users] precompiling all packages

2016-08-09 Thread Kristoffer Carlsson
Can look at this: https://github.com/staticfloat/MakePkgUpdatePrecompileInTheBackground.jl https://github.com/JuliaLang/julia/issues/16409#issuecomment-228873060

[julia-users] Re: ANN: JuMP 0.14 released

2016-08-09 Thread Kristoffer Carlsson
I didn't think there were any documentation about GradientNumbers in the ForwardDiff documentation hence an implementation detail. Where did you read about it?

Re: [julia-users] precompiling all packages

2016-08-09 Thread Michael Krabbe Borregaard
Nice, thanks! #MakePkg.update()GreatAgain! On Tue, Aug 9, 2016 at 12:46 PM, Kristoffer Carlsson wrote: > Can look at this: > > https://github.com/staticfloat/MakePkgUpdatePrecompileInTheBackground.jl > > https://github.com/JuliaLang/julia/issues/16409#issuecomment-228873060

Re: [julia-users] Is the master algorithm on the roadmap?

2016-08-09 Thread Kevin Liu
Tim Holy, what if I could tap into the well of knowledge that you are to speed up things? Can you imagine if every learner had to start without priors? > On Aug 9, 2016, at 07:06, Tim Holy wrote: > > I'd recommend starting by picking a very small project. For example, fix a > bug > or implem

Re: [julia-users] Is the master algorithm on the roadmap?

2016-08-09 Thread Kevin Liu
Helping me separate the process in parts and priorities would be a lot of help. On Tuesday, August 9, 2016 at 8:41:03 AM UTC-3, Kevin Liu wrote: > > Tim Holy, what if I could tap into the well of knowledge that you are to > speed up things? Can you imagine if every learner had to start without

Re: [julia-users] PyCall-ing Numba-dependent Libraries

2016-08-09 Thread Tom Breloff
Related to this, I can't render anything with my wrapper to OpenAI's gym, because of an llvm version clash inside pyglet. If you solve this problem in a semi-general way, please let us know! On Tuesday, August 9, 2016, Christoph Ortner wrote: > To reply to my own question, this seems to have wor

[julia-users] Setting random number generator seed using sequential integers

2016-08-09 Thread James Douglas
Hi All, I have a question about how Julia handles the seed given to the random number generator through the function srand(seed). I am doing Monte Carlo simulations using Julia, where I have some code that depends on the output from the rand() function and then I run this code with many differe

Re: [julia-users] Julia and sshd tests

2016-08-09 Thread Keno Fischer
The tests that are being bypassed are for functionality of the package manager's SSH client capability for git clone over SSH. So yes, those tests are bypassed if ssh is not available, but is shouldn't be a big problem as long as SSH clone runs ok. I think the more important aspect of those tests i

Re: [julia-users] Setting random number generator seed using sequential integers

2016-08-09 Thread Stefan Karpinski
That's a very good question. Issue filed: https://github.com/JuliaLang/julia/issues/17918. On Tue, Aug 9, 2016 at 6:02 AM, James Douglas wrote: > Hi All, > > I have a question about how Julia handles the seed given to the random > number generator through the function srand(seed). I am doing Mon

[julia-users] Re: Setting random number generator seed using sequential integers

2016-08-09 Thread Andreas Lobinger
Hello, we somehow have similar problem (not in julia, but matlab). One idea is to have a long (624 32-bit int) (random) number available and multiply by the single seed. Or get /dev/random for seeding and store it along the output.

Re: [julia-users] Setting random number generator seed using sequential integers

2016-08-09 Thread Simon Byrne
It's an interesting problem. In general, there's not much you can do if the state of your generator is larger than the size of the seed (which it definitely is in the case of Mersenne twisters). As to whether it would bias your sample: it ultimately depends on what you are doing with your rando

[julia-users] What do do when @less does not work?

2016-08-09 Thread Páll Haraldsson
A. julia> @less Base.memhash_seed ERROR: ArgumentError: argument is not a generic function in methods at ./reflection.jl:140 I know what this means, but it would be nice for it to look up the source, and when it's actually a function (sometimes, I'm not sure of the right parameters..). Is the

[julia-users] How to debug segmentation fault?

2016-08-09 Thread Adrian Salceanu
I ran into an issue where apparently at random I get segmentation faults - how can I find out what exactly is causing the problem? Here is the dump: signal (11): Segmentation fault: 11 julia_call_23669 at (unknown line) disposable_instance at /Users/adrian/Dropbox/Projects/jinnie/lib/Genie/src

Re: [julia-users] How to debug segmentation fault?

2016-08-09 Thread Jacob Quinn
There are many much more knowledgeable than me on this, but I know there's a good section in the manual to help you get started: http://docs.julialang.org/en/latest/devdocs/C/ -Jacob On Tue, Aug 9, 2016 at 9:53 AM, Adrian Salceanu wrote: > I ran into an issue where apparently at random I get se

Re: [julia-users] How to debug segmentation fault?

2016-08-09 Thread Adrian Salceanu
Thanks Jacob Huhm, probably not worth spending time with debug builds of v0.4 when 0.5 is just around the corner. Think it's time to upgrade to 0.5 and debug that if needed. marți, 9 august 2016, 17:58:10 UTC+2, Jacob Quinn a scris: > > There are many much more knowledgeable than me on this,

Re: [julia-users] Julia and sshd tests

2016-08-09 Thread Tony Kelman
Though we should try to make them more flexible to run on distributions that have them in non-Debian locations. Is there an alternative way we can get those tests to run via an executable that can run as non-root on openSUSE? On Tuesday, August 9, 2016 at 7:39:42 AM UTC-7, Keno Fischer wrote:

Re: [julia-users] Julia and sshd tests

2016-08-09 Thread Keno Fischer
Well, we could write an ssh server in julia and just use that to test against, but who would want to do that ;). If it's just a matter of me having put a scary warning there, I guess we can take that out. On Tue, Aug 9, 2016 at 1:44 PM, Tony Kelman wrote: > Though we should try to make them more

Re: [julia-users] PyCall-ing Numba-dependent Libraries

2016-08-09 Thread Christoph Ortner
Do you have a short piece of code to try? I'd like to see whether I run into the same problem as with chemview.

Re: [julia-users] PyCall-ing Numba-dependent Libraries

2016-08-09 Thread Christoph Ortner
(or a long piece; as long as I can just clone and run something) On Tuesday, 9 August 2016 19:14:13 UTC+1, Christoph Ortner wrote: > > > Do you have a short piece of code to try? I'd like to see whether I run > into the same problem as with chemview. >

[julia-users] "Recommendadions" at julialang.org [for e.g. [Py]Plot] for say Julia 0.5

2016-08-09 Thread Páll Haraldsson
A. First a specific matter: http://julialang.org/downloads/ I see PyPlot. I'm not asking for recommendations, just discussiong what should be officially pointed to [in general]. I can understand that you would not want to take side (or maybe you do, PyCall.jl is awesome and I guess PyPlot/ma

Re: [julia-users] "Recommendadions" at julialang.org [for e.g. [Py]Plot] for say Julia 0.5

2016-08-09 Thread Tamas Papp
I looked at almost all Julia plotting libraries again recently (last week) for a project, running 0.5-rc1 (approximately). Many have issues and lots of warnings, and probably need time to catch up to 0.5. I ended up using VegaLite for my current project, and found it very nice. Very close to Gafly

Re: [julia-users] "Recommendadions" at julialang.org [for e.g. [Py]Plot] for say Julia 0.5

2016-08-09 Thread Tom Breloff
A) there's a discussion happening right now: https://github.com/JuliaLang/julialang.github.com/pull/399 On Tue, Aug 9, 2016 at 3:06 PM, Tamas Papp wrote: > I looked at almost all Julia plotting libraries again recently (last > week) for a project, running 0.5-rc1 (approximately). Many have issue

[julia-users] Re: unable to connect to FTP using IP address

2016-08-09 Thread Samuel Massinon
Hi Yared Sorry, I got side tracked by other things and forgot about this. Can you show what's in "host", "username", and "password"? Is it just "192.168.251.200","anonymous", and "" respectively? I tried ftp('192.168.251.200', 'anonymous', '') But got an error saying that I was unable to reac

Re: [julia-users] Julia and sshd tests

2016-08-09 Thread Tony Kelman
The warning makes sense since it is skipping some tests. I'm asking more how we can avoid skipping those tests on non-Debian distros, without writing lots more Julia code. On Tuesday, August 9, 2016 at 10:55:52 AM UTC-7, Keno Fischer wrote: > > Well, we could write an ssh server in julia and ju

Re: [julia-users] Re: can't get pyjulia to work

2016-08-09 Thread Tim Wheeler
Was this fixed? On Monday, July 11, 2016 at 11:24:00 AM UTC-7, Keno Fischer wrote: > > I've been working on making this work again. Should be merged in a > couple of days. > > On Mon, Jul 11, 2016 at 1:30 PM, Tim Wheeler > wrote: > > So I may have figured it out. > > > > According to here, o

Re: [julia-users] Re: can't get pyjulia to work

2016-08-09 Thread Keno Fischer
Should have been, yes. On Tue, Aug 9, 2016 at 6:05 PM, Tim Wheeler wrote: > Was this fixed? > > On Monday, July 11, 2016 at 11:24:00 AM UTC-7, Keno Fischer wrote: >> >> I've been working on making this work again. Should be merged in a >> couple of days. >> >> On Mon, Jul 11, 2016 at 1:30 PM, Ti

Re: [julia-users] Re: can't get pyjulia to work

2016-08-09 Thread Christoph Ortner
seems to work for me.

Re: [julia-users] Re: can't get pyjulia to work

2016-08-09 Thread Tim Wheeler
Okay, thank you! We are trying to get it to work on another computer. On Tuesday, August 9, 2016 at 3:19:02 PM UTC-7, Keno Fischer wrote: > > Should have been, yes. > > On Tue, Aug 9, 2016 at 6:05 PM, Tim Wheeler > wrote: > >> Was this fixed? >> >> On Monday, July 11, 2016 at 11:24:00 AM UTC-7,

[julia-users] Re: can't get pyjulia to work

2016-08-09 Thread Alex Kuefler
After calling Pkg.Build("PyCall") I'm still having the same issue with 1.7.0. When I run julia from python: Python 2.7.6 (default, Jun 22 2015, 17:58:13) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import julia >>> julia.Julia() ERROR: Un

[julia-users] creating a DataFrame from C now fails in 0.5 rc 1+1

2016-08-09 Thread phaverty
I'm contributing a bit to rjulia and I've run into some trouble creating julia DataFrames from C in 0.5 (rc 1+1) Creating a DataFrame from C like this: jl_value_t *ans = jl_eval_string("DataFrame( Any[ 1:4, 5:8 ], [:a,:b] )"); worked in 0.4 as did jl_function_t *func = jl_get_function(jl_main

[julia-users] Permissions in my 'usr' don't look right

2016-08-09 Thread Colin Beckingham
The latest 0.6 is failing to build on my openSUSE system. Specifically it keeps falling over when trying to handle the files and symlinks in usr/lib for libopenlibm.* that cannot be changed. Permissions on these files seem to be ok, but the permissions in the lib directory don't look right. I ha

[julia-users] Replacement for jl_gc_preserve() and jl_gc_unpreserve()?

2016-08-09 Thread Kit Adams
I am investigating the feasibility of embedding Julia in a C++ real-time signal processing framework, using Julia-0.4.6 (BTW, the performance is looking amazing). However, for this usage I need to retain Julia state variables across c++ function calls, so the stack based JL_GC_PUSH() and JL_GC_