Re: [julia-users] map() vs list comprehension - any preference?

2015-06-18 Thread Josh Langsfeld
If anyone's interested, using a generic instead of anonymous function reduces the penalty to ~10x julia function f3(g,a) pairit(x) = Pair(x,g) map(pairit, a) end f3 (generic function with 1 method) julia @time f3(2,ones(1_000_000)); 108.542 milliseconds (2082 k

[julia-users] Overloading `eval`

2015-06-18 Thread Christoph Ortner
Do I understand correctly that `eval` cannot be overloaded? I get the following message (0.3.9): Warning: import of Base.eval into Lattices conflicts with an existing identifier; ignored. Thanks, Christoph

Re: [julia-users] Multiple lines statement?

2015-06-18 Thread Patrick O'Leary
Busier I agree with, but it's marginal; grouping is lightweight as syntax goes. Parens (1) already work, (2) consistently mean keep these things together in a variety of computing environments, (3) have match highlighting support in many editors which make it easy, given one end of the

Re: [julia-users] Multiple lines statement?

2015-06-18 Thread Christoph Ortner
As I said, it is OK. I am getting used to it. Christoph On Thursday, 18 June 2015 13:34:14 UTC+1, Patrick O'Leary wrote: Busier I agree with, but it's marginal; grouping is lightweight as syntax goes. Parens (1) already work, (2) consistently mean keep these things together in a variety of

Re: [julia-users] Overloading `eval`

2015-06-18 Thread Yichao Yu
On Thu, Jun 18, 2015 at 9:21 AM, Isaiah Norton isaiah.nor...@gmail.com wrote: You can define a function called eval in a baremodule, but you will then need to explicitly import the other things you might need from Base ... what is the goal? On Jun 18, 2015 8:31 AM, Christoph Ortner

Re: [julia-users] when running julia --code-coverage, where is the *.cov file?

2015-06-18 Thread Scott Jones
It there any way to have these sorts of file go to another directory (as well as the .o files during a build)? We try to keep source directories always clean, and shared between different builds with different options... On Monday, August 11, 2014 at 6:54:34 AM UTC-4, Tim Holy wrote: All the

Re: [julia-users] Multiple lines statement?

2015-06-18 Thread Christoph Ortner
I think parenthesis are ok, but only just. They make the code busier and more difficult to read. Christoph On Tuesday, 16 June 2015 01:21:45 UTC+1, David Gold wrote: @Ben: as has been noted elsewhere in this thread, you can use parens to this end: julia function foo(a, b, c, d, e, f)

[julia-users] Re: pmap problems

2015-06-18 Thread Chris
Thank you, this is helpful. On Wednesday, June 17, 2015 at 8:01:56 AM UTC-4, Lyndon White wrote: As a convention, one should not normally call `map` with a function that mutates it's inputs, Map comes from the world of functional programming, so assumes to run on pure functions (ie those

Re: [julia-users] Overloading `eval`

2015-06-18 Thread Isaiah Norton
You can define a function called eval in a baremodule, but you will then need to explicitly import the other things you might need from Base ... what is the goal? On Jun 18, 2015 8:31 AM, Christoph Ortner christophortn...@gmail.com wrote: Do I understand correctly that `eval` cannot be

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread John Myles White
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

[julia-users] Multivariate optimization with bounds

2015-06-18 Thread Nils Gudat
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 it seems the optimize function in Optim only allows for bounds in the univariate case.

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread Scott Jones
This was already discussed recently, here on julia-users, I'm trying to get in touch with Dahua Lin (author of Formatting.jl) to see about adding a simpler `sfmt` that would help with this). On Thursday, June 18, 2015 at 10:13:46 AM UTC-4, Tom Breloff wrote: I wonder if what we really need is

Re: [julia-users] when running julia --code-coverage, where is the *.cov file?

2015-06-18 Thread Kevin Squire
(sorry, was responding to Scott's comment, but I should have changed the title, as this isn't related to code coverage). Cheers, Kevin On Thu, Jun 18, 2015 at 7:25 AM, Kevin Squire kevin.squ...@gmail.com wrote: There has been some discussion about moving to cmake, which should enable

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread Scott Jones
I tried directly e-mailing him (after having gotten a lot of grief for posting so much!), but I haven't heard back... On Thursday, June 18, 2015 at 10:30:05 AM UTC-4, Tom Breloff wrote: Scott: I remember there being another discussion but I can't seem to find it. How did you try to get in

[julia-users] good time to start to learn julia?

2015-06-18 Thread J.Z.
Hi, I have been following julia for some time and have seen lots of positive comments. There are still lots of good work being put into its development. I use R and Python to do lots of technical (statistical) computing and would like to try julia for my work. My quick question to the current

[julia-users] PyPlot not working on 0.4.0

2015-06-18 Thread Linus Härenstam-Nielsen
I am having problems with using PyPlot in the nightly build (version 0.4.0). Typing 'using PyPlot' followed by 'plot([sin(a) for a=linspace(0,2*pi)])' yields the following: _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)|

[julia-users] Is there a reason any(p, c) isn't lazy?

2015-06-18 Thread Seth
julia function bar(x) info(bar $x) x end bar (generic function with 1 method) julia any(v-bar(v), [false, false, true, false, false]) INFO: bar false INFO: bar false INFO: bar true INFO: bar false INFO: bar false true Is there a reason the rest of the elements in the

Re: [julia-users] Reading from and writing to a process using a pipe

2015-06-18 Thread Miguel Bazdresch
Is there a way to read the spawned process' STDERR? Gnuplot likes to write most output to it. I've tried readandwrite(`gnuplot 21`) but gnuplot interprets 21 as a filename and fails. This, however, works: readandwrite(`gnuplot` . /tmp/gnuplot.err) but I'd like to avoid having to

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread Tom Breloff
I wonder if what we really need is just some extra additions to Formatting.jl (since I think this is the best place to keep standard formatting calls). We could add fmt2, fmt3, etc which would be meant for formatting floats to that precision. I suspect that's the most common use of

Re: [julia-users] when running julia --code-coverage, where is the *.cov file?

2015-06-18 Thread Kevin Squire
There has been some discussion about moving to cmake, which should enable building in a separate directory. ( https://github.com/JuliaLang/julia/issues/1832, https://github.com/JuliaLang/julia/pull/9422). There are some concerns raised by people who cross-compile (supposedly cmake doesn't have

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread Simon Byrne
You might be thinking of https://github.com/JuliaLang/julia/issues/10610 On Thursday, 18 June 2015 15:30:05 UTC+1, Tom Breloff wrote: Scott: I remember there being another discussion but I can't seem to find it. How did you try to get in touch? Do you want to start a github issue and I'll

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread Scott Jones
Ditto 110% to what Seth and Tom just said... and I only heard of Julia 3 months ago, and started contributing on GitHub less than 2 months ago... I still like C for some things (and Julia interfaces wonderfully with C), but as for any other languages... I'd really prefer to just forget them!)

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread Tom Breloff
Will the language change? Yes. Will you have to relearn things? Yes. Will new releases break code? Yes. Should you start using Julia now? YES! The language is fairly mature, considering its age. I've been using Julia exclusively for 8 months now. I used to do C/C++/Python/R and also

Re: [julia-users] when running julia --code-coverage, where is the *.cov file?

2015-06-18 Thread Isaiah Norton
On Thu, Jun 18, 2015 at 10:25 AM, Kevin Squire kevin.squ...@gmail.com wrote: There has been some discussion about moving to cmake, which should enable building in a separate directory. ( https://github.com/JuliaLang/julia/issues/1832, https://github.com/JuliaLang/julia/pull/9422). See also

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread Tom Breloff
Scott: I remember there being another discussion but I can't seem to find it. How did you try to get in touch? Do you want to start a github issue and I'll comment there? On Thursday, June 18, 2015 at 10:20:08 AM UTC-4, Scott Jones wrote: This was already discussed recently, here on

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread Seth
On Thursday, June 18, 2015 at 9:58:05 AM UTC-5, Tom Breloff wrote: Will the language change? Yes. Will you have to relearn things? Yes. Will new releases break code? Yes. Should you start using Julia now? YES! The language is fairly mature, considering its age. I've been using

Re: [julia-users] Overloading `eval`

2015-06-18 Thread Christoph Ortner
I didn't fully understand this: are you saying that, unless I use `baremodule`, I cannot overload `eval`? my usage is simply that I have type A, say, that defines a function and I want to call eval(A, arg) to evaluate. I am perfectly happy to just call `feval` instead of `eval`, but I was

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread Scott Jones
Ah, I forgot, it wasn't in julia-users, it was in julia-dev! https://groups.google.com/forum/#!topic/julia-dev/KloaO7zTYwo On Thursday, June 18, 2015 at 10:30:05 AM UTC-4, Tom Breloff wrote: Scott: I remember there being another discussion but I can't seem to find it. How did you try to get

Re: [julia-users] inverse function error?

2015-06-18 Thread Stefan Karpinski
I think these sample programs may be too big for people to review for you. If you can pare the problem down to an example that can be posted in an email, you've more likely to get help. On Thu, Jun 18, 2015 at 11:11 AM, SG davidhe...@gmail.com wrote: Hi All, I am a novice to Julia. While I

[julia-users] Re: PyPlot not working on 0.4.0

2015-06-18 Thread Scott T
Hi Linus, This is due to a change in Julia master https://github.com/JuliaLang/julia/commit/4220ecebf107997ec7d44bd2a6236f7898e83473 which altered the way timers work. It's broken PyCall and therefore PyPlot in this particular case. There are pending pull requests on PyCall which should fix

[julia-users] Re: Is there a reason any(p, c) isn't lazy?

2015-06-18 Thread Seth
Thanks, Josh. I opened #11750 https://github.com/JuliaLang/julia/issues/11750. On Thursday, June 18, 2015 at 11:04:29 AM UTC-5, Josh Langsfeld wrote: It seems 'any' calls 'mapreduce' which calls 'mapfoldl' which has a specialization that will stop computing in the case of searching for a

Re: [julia-users] Help: My parallel code 8300x slower than the serial.

2015-06-18 Thread Stefan Karpinski
On Wed, Jun 17, 2015 at 4:38 PM, Daniel Carrera dcarr...@gmail.com wrote: An irritating problem with all the codes that solve planetary systems is that they are all serial -- this problem is apparently hard to parallelize. That appears to be a language-independent issue. Even with mature

Re: [julia-users] inverse function error?

2015-06-18 Thread SG
Thank you, I will cut it down and post it again soon. On Thursday, June 18, 2015 at 7:01:16 PM UTC+2, Stefan Karpinski wrote: I think these sample programs may be too big for people to review for you. If you can pare the problem down to an example that can be posted in an email, you've

[julia-users] JuliaCon: Software expectations / attendance lists?

2015-06-18 Thread Randy Zwitch
Two thoughts as a workshop presenter: 1) What version of Julia should we be using, both so that the presenter knows and anyone following along has a similar environment? 2) Along the lines of #1, are all of the talks just going to be a free-for-all of attendance? I'm not suggesting that

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread J.Z.
I should have been more specific. I am just wondering if the core language itself (syntax etc.) would change a lot in the future or not. I am not expecting that Julia has a specific package that R provides. But then it's good to know whether the fundamentals like basic visualization and

[julia-users] inverse function error?

2015-06-18 Thread SG
Hi All, I am a novice to Julia. While I am running the attached julia program, I found inverse function throws an error? However it worked well in Matlab. Can you help me? Many thanks. lag0.jl Description: Binary data example1_rev.jl Description: Binary data ,Inflation

[julia-users] Re: Is there a reason any(p, c) isn't lazy?

2015-06-18 Thread Josh Langsfeld
It's actually pretty weird. It will take the shortcut if you pass it an AbstractArray{Bool}, but only if it has 16 or more elements. For other array types, it still never takes it. On Thursday, June 18, 2015 at 12:07:48 PM UTC-4, Seth wrote: Thanks, Josh. I opened #11750

Re: [julia-users] Re: good time to start to learn julia?

2015-06-18 Thread Scott Jones
Yes, good points all... I'd also point out that there is a Compat.jl package, as well as a deprecation facility, that help smooth over most of the syntax changes that happen in Julia... On Thursday, June 18, 2015 at 12:38:28 PM UTC-4, Isaiah wrote: I am just wondering if the core language

Re: [julia-users] Re: Set precision when printing to file

2015-06-18 Thread Scott Jones
I was aware that it could be any or all of those issues. I was just stating the facts, not complaining. Here is what I sent him: Hi, I hope you don’t mind a direct e-mail. I was pointed at your Formatting.jl package, after I’d made the suggestion of adding a fmt function in a new package,

[julia-users] Re: Is there a reason any(p, c) isn't lazy?

2015-06-18 Thread Josh Langsfeld
It seems 'any' calls 'mapreduce' which calls 'mapfoldl' which has a specialization that will stop computing in the case of searching for a single true or false value. However, it seems the call to mapreduce instead goes to a more specific method that doesn't implement this shortcut. If 'any'

Re: [julia-users] Re: Set precision when printing to file

2015-06-18 Thread Stefan Karpinski
Dahua is pretty busy and lives in a very different time zone. He also may not want to respond to direct messages. On Thu, Jun 18, 2015 at 11:44 AM, Scott Jones scott.paul.jo...@gmail.com wrote: I tried directly e-mailing him (after having gotten a lot of grief for posting so much!), but I

Re: [julia-users] Overloading `eval`

2015-06-18 Thread Isaiah Norton
I skipped a step: as Yichao said, the built-in eval is not a generic function so it can't be extended. my usage is simply that I have type A, say, that defines a function and I want to call eval(A, arg) to evaluate. I am perfectly happy to just call `feval` instead of `eval`, but I was

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread Scott Jones
John Myles was right on when he said this: ...unless you're confident that you can do the development work required to implement any functionality that you find to be missing. That's true, but it is also very true that fixing any problems or implementing missing functionality (if you have

Re: [julia-users] Overloading `eval`

2015-06-18 Thread Stefan Karpinski
Yes, I don't think there is a way to replace a module's eval function. At least, I can't think of any way to accomplish this besides creating a baremodule. On Thu, Jun 18, 2015 at 11:35 AM, Christoph Ortner christophortn...@gmail.com wrote: I didn't fully understand this: are you saying that,

Re: [julia-users] Reading from and writing to a process using a pipe

2015-06-18 Thread Kevin Squire
I don't think there's a standard way--at least, I couldn't find it when I looked. I ended up rolling my own--see https://github.com/kmsquire/VideoIO.jl/blob/master/src/util.jl. This functionality should probably be part of readandwrite. Cheers, Kevin On Thursday, June 18, 2015, Miguel

Re: [julia-users] Re: good time to start to learn julia?

2015-06-18 Thread Isaiah Norton
I am just wondering if the core language itself (syntax etc.) would change a lot in the future or not. I think there is an important distinction to be made here: - depending on the features you use, parts of your code will almost certainly break from 0.3 - 0.4 - 0.5 - As John said,

Re: [julia-users] Re: Set precision when printing to file

2015-06-18 Thread Tom Breloff
Yes it was on julia-dev. Regardless I think the right path forward is to start a discussion on github (in Formatting.jl) and we could hash out exactly what would be nice for users. Based on your posts, you may have a very different perspective on string formatting that your average

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread John Myles White
There will definitely still be some languages to the core language. But, in my experience, the changes to the core language are seldom very burdensome. They're almost always large improvements to the language, so the code that you have to rewrite ends up being vastly easier to maintain. This,

[julia-users] Re: Multivariate optimization with bounds

2015-06-18 Thread John Myles White
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

[julia-users] Re: good time to start to learn julia?

2015-06-18 Thread J.Z.
Thanks for those strong voices. Will spend more time on Julia! On Thursday, June 18, 2015 at 11:39:06 AM UTC-4, Scott Jones wrote: Ditto 110% to what Seth and Tom just said... and I only heard of Julia 3 months ago, and started contributing on GitHub less than 2 months ago... I still like

[julia-users] Re: PyPlot not working on 0.4.0

2015-06-18 Thread Scott T
Oh and of course you could always revert Julia to an earlier version, like the parent commit (29d8c650) https://github.com/JuliaLang/julia/commit/29d8c650010b5ee2a491ff6a56ae66a65d8d8788. Using the nightlies, it's pretty much guaranteed that things will break occasionally. Cheers, Scott On

Re: [julia-users] How to manually install julia packages on a Windows system

2015-06-18 Thread Yonatan
yes, unfortunately i'm getting a similar error: fatal: unable to access 'https://github.com/JuliaLang/julia/': Failed connect to github.com:443; No error ERROR: failed process: Process(`git clone https://github.com/JuliaLang/julia/`, ProcessExited(128)) [128] in error at error.jl:22 (repeats 2

[julia-users] DataFrames + RDatasets error

2015-06-18 Thread km
Dear All, I am using the following version of Julia and trying to load iris dataset from RDatasets package using Dataframes. Do you think things are broken ? _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation:

Re: [julia-users] Overloading `eval`

2015-06-18 Thread Christoph Ortner
ok - thank you for clarifying! Christoph

Re: [julia-users] Re: Set precision when printing to file

2015-06-18 Thread Scott Jones
Waiting for your comments, over at https://github.com/lindahua/Formatting.jl/issues/8! On Thursday, June 18, 2015 at 1:22:04 PM UTC-4, Tom Breloff wrote: Yes it was on julia-dev. Regardless I think the right path forward is to start a discussion on github (in Formatting.jl) and we could

Re: [julia-users] How to manually install julia packages on a Windows system

2015-06-18 Thread Isaiah Norton
I just noticed your sig... in a regulated environment I guess it is not surprising if github is specifically filtered. Various ideas: - git probably does not pick up Windows proxy server settings automatically (whereas your web browser would). if you access the internet through a proxy server,

Re: [julia-users] JuliaCon: Software expectations / attendance lists?

2015-06-18 Thread Stefan Karpinski
Until 0.4 is released, I would suggest using the latest 0.3.x release – that way anyone with some 0.3.x version should be able to follow along. On Thu, Jun 18, 2015 at 1:28 PM, Randy Zwitch randy.zwi...@fuqua.duke.edu wrote: Two thoughts as a workshop presenter: 1) What version of Julia

Re: [julia-users] inverse function error?

2015-06-18 Thread SG
#= This line adds functions to take an AR(2) model for US inflation =# using DataFrames function lag0(x,p) R::Int32=size(x,1) C::Int32=size(x,2) # Take the first R-p rows of matrix x x1=x[1:(R-p),:] return out=[zeros(p,C); x1] end #load inflation

Re: [julia-users] Help: My parallel code 8300x slower than the serial.

2015-06-18 Thread Stefan Karpinski
Unfortunately, I suspect that even with threads and fully shared process memory this would not parallelize well. On Thu, Jun 18, 2015 at 2:41 PM, Daniel Carrera dcarr...@gmail.com wrote: On 18 June 2015 at 18:48, Stefan Karpinski ste...@karpinski.org wrote: On Wed, Jun 17, 2015 at 4:38 PM,

[julia-users] Re: X.2=X*0.2, easy to make mistake.

2015-06-18 Thread Art Kuo
That does sound like a good thing to check with lint. Whether it should be considered a bug or not might depend on how the language spec is interpreted. The documentation http://docs.julialang.org/en/release-0.3/manual/integers-and-floating-point-numbers/#man-numeric-literal-coefficients says

Re: [julia-users] inverse function error?

2015-06-18 Thread Mauro
I don't know why Y does not get its type inferred correctly. But you can do: eltype(df[2])[df[i,2] for i in 1:size(df,1)] On Thu, 2015-06-18 at 20:21, SG davidhe...@gmail.com wrote: #= This line adds functions to take an AR(2) model for US inflation =# using DataFrames

Re: [julia-users] How to manually install julia packages on a Windows system

2015-06-18 Thread Jameson Nash
WinRPM can be run from a mac/linux system directly, if you pass win32 as the architecture flag to the install methods. I intended it to be fairly friendly and object oriented to use from the command line (and wrote most of it from a Mac). On Thu, Jun 18, 2015 at 2:26 PM Isaiah Norton

Re: [julia-users] JuliaCon: Software expectations / attendance lists?

2015-06-18 Thread Mauro
2) Along the lines of #1, are all of the talks just going to be a free-for-all of attendance? I'm not suggesting that anything rigorous is desirable, just wondering how I would communicate to people coming to my workshop (hopefully someone!). Or, should we just do environment/package

Re: [julia-users] Adding a native function to julia's scheduler

2015-06-18 Thread Isaiah Norton
You could potentially yield to Julia from C instead. See https://github.com/JuliaLang/julia/issues/6006 (use with caution...) On Wed, Jun 17, 2015 at 7:54 AM, Tim Holy tim.h...@gmail.com wrote: Not sure it will help your specific use case, but see

Re: [julia-users] Adding a native function to julia's scheduler

2015-06-18 Thread Keno Fischer
The generic solution here is to use a thread and uv's async primitive which allows you to queue an event on julia's event loop (and is represented by a SingleAsyncWork at the julia level - ZMQ does this for example). Depending on what you're waiting on, there may also be deeper integration

Re: [julia-users] Help: My parallel code 8300x slower than the serial.

2015-06-18 Thread Daniel Carrera
On 18 June 2015 at 18:48, Stefan Karpinski ste...@karpinski.org wrote: On Wed, Jun 17, 2015 at 4:38 PM, Daniel Carrera dcarr...@gmail.com wrote: An irritating problem with all the codes that solve planetary systems is that they are all serial -- this problem is apparently hard to

Re: [julia-users] Multiple lines statement?

2015-06-18 Thread Art Kuo
A small comment in favor of optional line continuations. I've sometimes used code to write out complicated symbolic equations, sometimes thousands of lines long. I found it easy to programmatically spit out both C and Matlab code, only having to do a semi-colon (and a ... for Matlab). I agree

Re: [julia-users] Adding a native function to julia's scheduler

2015-06-18 Thread Stefan Karpinski
At some point I wrote this code https://gist.github.com/StefanKarpinski/839b236b173855605c4b which allows you to create a separate thread and make arbitrary ccalls on that thread. It uses ZMQ for communication though, and the Julia process segfaults when it quits, so it's not ideal. It might be

[julia-users] Building Julia from source in Windows

2015-06-18 Thread Sayeed Tasnim
Hi, I’m trying to build Julia from source in Windows. I’m following the instructions described in the README.windows.md here: https://github.com/JuliaLang/julia/blob/master/README.windows.md https://github.com/JuliaLang/julia/blob/master/README.windows.md

[julia-users] Building Julia from Source in Windows

2015-06-18 Thread Sayeed Tasnim
Hi, I’m trying to build Julia from source in Windows. I’m following the instructions described in the README.windows.md here: https://github.com/JuliaLang/julia/blob/master/README.windows.md However, I’m getting stuck on step 6.iv where I begin the build. I get the following error in

Re: [julia-users] inverse function error?

2015-06-18 Thread David P. Sanders
El jueves, 18 de junio de 2015, 22:18:48 (UTC+2), Mauro escribió: I don't know why Y does not get its type inferred correctly. But you Array comprehensions in global scope never (?) have their types inferred. You can try putting the array comprehension inside a function -- this may (or

[julia-users] Re: unable to update julianightlies - 16 days old master - ubuntu14.04

2015-06-18 Thread Tony Kelman
Looks like the last successful build of the package itself was on June 2nd, see https://launchpad.net/~staticfloat/+archive/ubuntu/julianightlies/+builds?build_text=build_state=built (scroll down a bit). We upgraded to a newer version of PCRE on 0.4-dev which will need to be re-packaged

[julia-users] Re: Set precision when printing to file

2015-06-18 Thread cormullion
You could use a type: julia type Out n::Float64 end julia function Base.show(io::IO, n::Out) print(io, $(round(n.n, 2))) end show (generic function with 83 methods) then you can just use Out(x) whenever you want x rounded to 2 d.p.

[julia-users] Re: how to move Julia packages from Ubuntu to OSX?

2015-06-18 Thread K leo
Fantastic Eliot - thank you. That problem is resolved! BTW, does anyone know what the following message is about: *julia **using Winston* Warning: could not import Base.Text into Tk On Tuesday, June 16, 2015, Elliot Saba staticfl...@gmail.com wrote: Congratulations! You have helped me

[julia-users] Re: how to move Julia packages from Ubuntu to OSX?

2015-06-18 Thread Andreas Lobinger
On Thursday, June 18, 2015 at 11:08:22 AM UTC+2, Andreas Lobinger wrote: Hello colleague, On Thursday, June 18, 2015 at 10:34:47 AM UTC+2, K leo wrote: BTW, does anyone know what the following message is about: *julia **using Winston* Warning: could not import Base.Text into Tk

[julia-users] Re: how to move Julia packages from Ubuntu to OSX?

2015-06-18 Thread Andreas Lobinger
Hello colleague, On Thursday, June 18, 2015 at 10:34:47 AM UTC+2, K leo wrote: BTW, does anyone know what the following message is about: *julia **using Winston* Warning: could not import Base.Text into Tk There is a activity to move Base graphics calls into Graphics as a package and

[julia-users] Re: unable to update julianightlies - 16 days old master - ubuntu14.04

2015-06-18 Thread SVAKSHA
On Thu, Jun 18, 2015 at 6:29 AM, Tony Kelman t...@kelman.net wrote: Looks like the last successful build of the package itself was on June 2nd, see https://launchpad.net/~staticfloat/+archive/ubuntu/julianightlies/+builds?build_text=build_state=built (scroll down a bit). We upgraded to a newer