Re: [julia-users] Oracle ODBC

2016-06-27 Thread cdm
extending the wrapper theme ... do survey: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html On Monday, June 27, 2016 at 10:30:14 AM UTC-7, Jacob Quinn wrote: > > It's probably the case that Oracle has built the drivers themselves, so a > programming

[julia-users] Re: Multiple JULIA_PKGDIR directories in a hierarchy for supporting a shared environment

2016-06-27 Thread Eric Forgy
Hi David, I'm not a pro, but I had similar issues and went with a main Julia package that contains many other Julia packages as Git submodules. In this way, my team can just clone the main Julia package and do a "git submodule init" and "git submodule update" and they get all the packages from

[julia-users] Any examples of using Julia with online judge systems

2016-06-27 Thread Андрей Логунов
Are there any projects/initiatives to apply Julia with online judge systems (https://en.wikipedia.org/wiki/Online_judge) like spoj, codechef, codeforces for use in education

Re: [julia-users] Re: polynomial terms in formula specification

2016-06-27 Thread dnm
I think the formula interface is slated to get an overhaul..but someone can correct me if I'm wrong. On Monday, June 27, 2016 at 5:49:18 PM UTC-4, Michael Borregaard wrote: > > And... Sorry if I sounded unnecessarily critical, I just hoped to argue > the case for a change. I know all decisions

[julia-users] Re: Julia 0.4.6 MD5's are not Matching...

2016-06-27 Thread 'Danny Hunt' via julia-users
All better now, thanks! On Monday, June 27, 2016 at 5:34:54 PM UTC-4, Tony Kelman wrote: > > My mistake. Automated code signing of the Windows binaries has been > problematic for the last several months, so I've had to do it manually. The > code signing happened after downloading the unsigned

Re: [julia-users] Re: polynomial terms in formula specification

2016-06-27 Thread Michael Krabbe Borregaard
And... Sorry if I sounded unnecessarily critical, I just hoped to argue the case for a change. I know all decisions in Julia are based on careful consideration of all the options.

[julia-users] Re: Julia 0.4.6 MD5's are not Matching...

2016-06-27 Thread Tony Kelman
My mistake. Automated code signing of the Windows binaries has been problematic for the last several months, so I've had to do it manually. The code signing happened after downloading the unsigned binaries and calculating their checksums, so just a mistake in the order these ran in since

[julia-users] Julia 0.4.6 MD5's are not Matching...

2016-06-27 Thread 'Danny Hunt' via julia-users
Julia Support, Thanks for this awesome language! Twice today I have downloaded the latest Julia version 0.4.6 and checked the MD5 against the posted hash and they are not matching, the previous released did. As a backup I checked with a second checker and checked SHA256 as well. All

[julia-users] ERROR: LoadError: __precompile__(true) but require failed to create a precompiled cache file

2016-06-27 Thread Uwe Fechner
Hello, I get the following error message after upgrading Compat.jl (I had it fixed before): julia> include("Plotting.jl") INFO: Recompiling stale cache file /home/ufechner/.julia/lib/v0.4/FixedPointNumbers.ji for module FixedPointNumbers. WARNING: Module Compat uuid did not match cache file

Re: [julia-users] Plots with Plots

2016-06-27 Thread Tom Breloff
For anyone interested, I made a short demo of what's possible with the GLVisualize backend in Plots, after hacking at JuliaCon with Simon. Plots, Interact, and GLVisualize... oh my! https://www.youtube.com/watch?v=mRvUhLpUq88 I just tagged a new version of Plots... until it's merged you'll need

Re: [julia-users] Multiple JULIA_PKGDIR directories in a hierarchy for supporting a shared environment

2016-06-27 Thread Tom Breloff
Well presumably it could do something that the import logic already does, but I appreciate that it is complex logic. David: @wildart is the person to follow for the future of package management. On Mon, Jun 27, 2016 at 2:02 PM, Stefan Karpinski wrote: > You can use

Re: [julia-users] Multiple JULIA_PKGDIR directories in a hierarchy for supporting a shared environment

2016-06-27 Thread Stefan Karpinski
You can use LOAD_PATH to look in a stack of directories, and you can even set ENV["JULIA_PKGDIR"] to change which one Pkg manages, but you cannot manage more than one of them at the same time, since it's unclear what this would even do. On Mon, Jun 27, 2016 at 1:28 PM, David Parks

Re: [julia-users] using in try catch block

2016-06-27 Thread Yichao Yu
On Mon, Jun 27, 2016 at 1:43 PM, Cameron McBride wrote: > > > On Mon, Jun 27, 2016 at 1:02 PM, Yichao Yu wrote: >> >> On Jun 27, 2016 12:58 PM, "Tom Breloff" wrote: >> > >> > Yichao: is there an alternative "is_installed"

Re: [julia-users] using in try catch block

2016-06-27 Thread Cameron McBride
On Mon, Jun 27, 2016 at 1:02 PM, Yichao Yu wrote: > > On Jun 27, 2016 12:58 PM, "Tom Breloff" wrote: > > > > Yichao: is there an alternative "is_installed" definition that would check the load path? Lets assume I don't actually want to import it, just check.

Re: [julia-users] Oracle ODBC

2016-06-27 Thread Jacob Quinn
It's probably the case that Oracle has built the drivers themselves, so a programming language would just need a wrapper library around the direct driver (similar things exist for MySQL, Postgres, etc.). But what Stefan said still applies, someone would have to take the initiative to build the

[julia-users] Multiple JULIA_PKGDIR directories in a hierarchy for supporting a shared environment

2016-06-27 Thread David Parks
I want to set up a specific Julia environment on a cluster for other people to use. I have particular packages, including some that are dev branches, and even some that draw from my own fork of a branch to support a custom feature for this environment. So the package setup is non trivial and I

Re: [julia-users] using in try catch block

2016-06-27 Thread Yichao Yu
On Jun 27, 2016 12:58 PM, "Tom Breloff" wrote: > > Yichao: is there an alternative "is_installed" definition that would check the load path? Lets assume I don't actually want to import it, just check. No. > > On Mon, Jun 27, 2016 at 12:48 PM, Yichao Yu

Re: [julia-users] using in try catch block

2016-06-27 Thread Tom Breloff
Yichao: is there an alternative "is_installed" definition that would check the load path? Lets assume I don't actually want to import it, just check. On Mon, Jun 27, 2016 at 12:48 PM, Yichao Yu wrote: > > On Jun 27, 2016 12:20 PM, "Tom Breloff" wrote: > >

RE: [julia-users] using in try catch block

2016-06-27 Thread David Anthoff
Perfect, that is exactly the kind of thing I was looking for! Thanks, David From: julia-users@googlegroups.com [mailto:julia-users@googlegroups.com] On Behalf Of Yichao Yu Sent: Monday, June 27, 2016 9:49 AM To: Julia Users Subject: Re: [julia-users] using in

Re: [julia-users] using in try catch block

2016-06-27 Thread Yichao Yu
On Jun 27, 2016 12:20 PM, "Tom Breloff" wrote: > > Here is what I use for this sort of logic: > > function is_installed(pkgstr::AbstractString) > try > Pkg.installed(pkgstr) === nothing ? false: true Dont do this since this will miss package in load path. Just eval

Re: [julia-users] using in try catch block

2016-06-27 Thread Tom Breloff
Here is what I use for this sort of logic: function is_installed(pkgstr::AbstractString) try Pkg.installed(pkgstr) === nothing ? false: true catch false end end On Mon, Jun 27, 2016 at 12:12 PM, David Anthoff wrote: > I’m trying to use

[julia-users] using in try catch block

2016-06-27 Thread David Anthoff
I'm trying to use ``using`` in a try catch block, but that doesn't seem to be supported. Any other way around this? Essentially I want to load a package, and if the package is not installed, automatically do a ``Pkg.add``. I could of course get a list of all the installed packages and see

Re: [julia-users] complex int ? A gcc-ism?

2016-06-27 Thread Victor Eijkhout
Issue submitted. https://github.com/JuliaLang/julia/issues/17145 V.

Re: [julia-users] Row/column iterators?

2016-06-27 Thread Tom Breloff
Thanks Tim! I can always count on you to have solutions for everything :) On Mon, Jun 27, 2016 at 11:31 AM, Tim Holy wrote: > In Base there's mapslices, which may already do what you want. > > Something like what you're proposing (but not yet with a nice "high level" > API

Re: [julia-users] Row/column iterators?

2016-06-27 Thread Tim Holy
In Base there's mapslices, which may already do what you want. Something like what you're proposing (but not yet with a nice "high level" API wrapper, since the low-level stuff is still in flux) is already here: https://github.com/timholy/ArrayIteration.jl That's aiming at a very general

[julia-users] Re: [ANN] Measurements.jl v0.1.1: Error propagation library

2016-06-27 Thread Mosè Giordano
Hi, 2016-06-27 4:32 GMT+02:00 g: > > Hello, > This looks very nice. I will use it next time I have a need. > Thank you :-) > I took a brief look at the code, and I have one question. Why did you > choose to "tag" your Measurement types with a random Float64, instead of an >

Re: [julia-users] Row/column iterators?

2016-06-27 Thread Tom Breloff
Thanks for the link! I'll continue the discussion there. On Mon, Jun 27, 2016 at 10:06 AM, Kristoffer Carlsson wrote: > https://github.com/JuliaLang/julia/issues/14491

Re: [julia-users] Oracle ODBC

2016-06-27 Thread Stefan Karpinski
Given how expensive Oracle databases are, creating a direct driver isn't really a plausible open source endeavor, so this is unlikely to happen unless someone who actually has an Oracle database builds it themselves or pays for it to be built (e.g. through Julia Computing

[julia-users] Row/column iterators?

2016-06-27 Thread Kristoffer Carlsson
https://github.com/JuliaLang/julia/issues/14491

[julia-users] Why a Gödelian?

2016-06-27 Thread Stirling Newberry
“No general method for the solution of questions in the theory of probabilities can be established which does not explicitly recognize, not only the special numerical bases of the science, but also those universal laws of thought which are the basis of all reasoning, and which, whatever

[julia-users] Re: Tensorflow like dataflow graphs for Julia?

2016-06-27 Thread Kenta Sato
You may be interested in Merlin.jl: https://github.com/hshindo/Merlin.jl. This supports describing computation graphs in Julia and optimization. On Saturday, June 25, 2016 at 8:27:31 AM UTC+9, Gabriel Goh wrote: > > I'm wondering if a library in Julia exists where I can specify dataflow >

Re: [julia-users] Re: Drop element from tuple

2016-06-27 Thread jw3126
Thanks again Tim! On Sunday, June 26, 2016 at 1:41:36 PM UTC+2, Tim Holy wrote: > > On Saturday, June 25, 2016 6:45:05 AM CDT jw3126 wrote: > > @Tim: Thanks for the insights! On my machine slowness starts to kick in > at > > size 9 already. > > Depends on which version of julia you're running

Re: [julia-users] Re: polynomial terms in formula specification

2016-06-27 Thread Tamas Papp
On Mon, Jun 27 2016, Michael Borregaard wrote: > I have no strong feelings about then '1 +' , it will require typing a few > unneccesary extra characters, but perhaps there is a pedagogical gain from > requiring people to specify that they want an intercept fitted as well. I have nothing to

[julia-users] Re: polynomial terms in formula specification

2016-06-27 Thread Michael Borregaard
Thanks for responding, both, it is particularly great to get an answer from the father of mixed models in R and julia! I do have to say I find the functionality slightly disappointing, though. I had done what was in the suggested solution, but thought of it as an unpleasant workaround. Can

[julia-users] Re: how to save array to text file "correctly"?

2016-06-27 Thread Hoang-Ngan Nguyen
Thanks, Ngan On Friday, June 24, 2016 at 2:50:56 AM UTC-7, Pieterjan Robbe wrote: > > f = open("myfile.csv","w") > > for i in 1:length(data) > > write(f,@sprintf("%20.16f\n",data[i])) > > end > > close(f) > > > shell> cat myfile.csv > > -0.5000 > > 0. > >