[julia-users] How to install JuMP without SSL errors?
Ref: https://github.com/JuliaOpt/JuMP.jl/issues/864 I can't seem to add package JuMP. Other packages seem to be added fine. How can I fix this? OS: Fedora 24 julia> versioninfo() Julia Version 0.6.0-dev.986 Commit 6c9f5af (2016-10-16 05:19 UTC) Platform Info: OS: Linux (x86_64-redhat-linux) CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz WORD_SIZE: 64 BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell) LAPACK: libopenblas64_ LIBM: libopenlibm LLVM: libLLVM-3.7.1 (ORCJIT, broadwell) julia> Pkg.add("JuMP") INFO: Cloning cache of Calculus from https://github.com/johnmyleswhite/Calculus.jl.git INFO: Cloning cache of DataStructures from https://github.com/JuliaLang/DataStructures.jl.git INFO: Cloning cache of ForwardDiff from https://github.com/JuliaDiff/ForwardDiff.jl.git INFO: Cloning cache of JuMP from https://github.com/JuliaOpt/JuMP.jl.git ERROR: Cannot clone JuMP from https://github.com/JuliaOpt/JuMP.jl.git. SSL error: - UNKNOWN ERROR CODE (0001) in prefetch(::String, ::String, ::Array{String,1}) at ./pkg/cache.jl:56 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}, ::Dict{String,VersionNumber}, ::Set{String}) at ./pkg/entry.jl:512 in resolve(::Dict{String,Base.Pkg.Types.VersionSet}, ::Dict{String,Dict{VersionNumber,Base.Pkg.Types.Available}}, ::Dict{String,Tuple{VersionNumber,Bool}}, ::Dict{String,Base.Pkg.Types.Fixed}) at ./pkg/entry.jl:476 in edit(::Function, ::String, ::Base.Pkg.Types.VersionSet, ::Vararg{Base.Pkg.Types.VersionSet,N}) at ./pkg/entry.jl:30 in (::Base.Pkg.Entry.##2#5{String,Base.Pkg.Types.VersionSet})() at ./task.jl:363 in sync_end() at ./task.jl:314 in macro expansion at ./task.jl:330 [inlined] in add(::String, ::Base.Pkg.Types.VersionSet) at ./pkg/entry.jl:50 in (::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() at ./pkg/dir.jl:31 in cd(::Base.Pkg.Dir.##2#3{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, ::String) at ./file.jl:69 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at ./pkg/dir.jl:31 in add(::String) at ./pkg/pkg.jl:100
[julia-users] Re: This week in Julia
Very cool! Any chance of emitting a Tweet and/or Google+ entry when there are new items/updates? Thanks! On Friday, October 10, 2014 10:30:11 PM UTC-4, Matt Bauman wrote: This is an experiment. I think it'd be really amazing to have weekly updates about what's going on in Julia master, particularly during this crazy 0.4-dev period. So I figured I'd give it a shot. Take a look: http://thisweekinjulia.github.io/julia/2014/10/10/October-10.html I first tried a post like this two weeks ago over on reddit and it was pretty well received. But I think GitHub pages will make creating these posts much simpler. No, this doesn't replace NEWS.md (that's where I glean a lot of this information from!), and I *really* don't expect folks who are implementing the features and changes to be updating this blog. But I think it'd be great if other folks would help me keep it up-to-date. Pull requests and collaborators are very welcome! https://github.com/thisweekinjulia/thisweekinjulia.github.io
Re: [julia-users] Copy a BigFloat?
I suppose it's not too bad. my_nextfloat(x)=with_bigfloat_precision(()-nextfloat(x),x.prec)
Re: [julia-users] Copy a BigFloat?
I wanted an easy way to do nextfloat(a), taking into account that 'a' doesn't have the global BigFloat precision. I.e., what's the nextfloat of the 64-bit precision (in this case) BigFloat and return a 64-bit precision BigFloat. I could write a function that does this, but I thought that there might be something easier than having to extract the precision of each BigFloat and nextfloat'ing with that global BigFloat precision.
[julia-users] Full REPL Pager?
I know there has been previous discussion about paging through data in the REPL, but I'd like to know if it is possible to turn on a *full* REPL pager. By full pager, I mean that the REPL is terminal aware and all output is paged. All output would even include such things as the methods available list when hitting TAB after an open paren, etc.
[julia-users] Re: Full REPL Pager?
Help messages ⊂ All output On Friday, September 5, 2014 11:00:49 AM UTC-4, Rick Graham wrote: I know there has been previous discussion about paging through data in the REPL, but I'd like to know if it is possible to turn on a *full* REPL pager. By full pager, I mean that the REPL is terminal aware and all output is paged. All output would even include such things as the methods available list when hitting TAB after an open paren, etc.
Re: [julia-users] How can a remote proc self-discover DArray localparts?
Ah, okay. That reminds me, my neighbor keeps telling me about a family living in my coat closet, but when I look on my own I can never find them. 8-) On Thursday, May 8, 2014 5:18:38 AM UTC-4, Amit Murthy wrote: It can't. All part references are in the DArray object, `dz` in your example above. On Thu, May 8, 2014 at 1:07 AM, Rick Graham rickh...@gmail.comjavascript: wrote: How can a remote proc discover, on its own, that it is hosting a portion of a DArray? Here a DArray is distributed across two workers, but the workers' `whos` don't see it. $ ./julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type help() to list help topics | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.3.0-prerelease+2921 (2014-05-07 17:56 UTC) _/ |\__'_|_|_|\__'_| | Commit ea70e4d* (0 days old master) |__/ | i686-redhat-linux julia versioninfo() Julia Version 0.3.0-prerelease+2921 Commit ea70e4d* (2014-05-07 17:56 UTC) Platform Info: System: Linux (i686-redhat-linux) CPU: Genuine Intel(R) CPU T2250 @ 1.73GHz WORD_SIZE: 32 BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY) LAPACK: libopenblas LIBM: libopenlibm julia addprocs(2) 2-element Array{Any,1}: 2 3 julia remotecall_fetch(2, whos) From worker 2: Base Module From worker 2: Core Module From worker 2: Main Module julia dz=dzeros(512) 512-element DArray{Float64,1,Array{Float64,1}}: 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ⋮ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 julia dz.chunks 2-element Array{RemoteRef,1}: RemoteRef(2,1,3) RemoteRef(3,1,4) julia dz.indexes 2-element Array{(UnitRange{Int32},),1}: (1:256,) (257:512,) julia remotecall_fetch(2, whos) From worker 2: Base Module From worker 2: Core Module From worker 2: Main Module julia If you tell the remote proc the name of the DArray, it can find its part. julia remotecall_fetch(2, localpart, dz) 256-element Array{Float64,1}: 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ⋮ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 julia
[julia-users] How can a remote proc self-discover DArray localparts?
How can a remote proc discover, on its own, that it is hosting a portion of a DArray? Here a DArray is distributed across two workers, but the workers' `whos` don't see it. $ ./julia _ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type help() to list help topics | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.3.0-prerelease+2921 (2014-05-07 17:56 UTC) _/ |\__'_|_|_|\__'_| | Commit ea70e4d* (0 days old master) |__/ | i686-redhat-linux julia versioninfo() Julia Version 0.3.0-prerelease+2921 Commit ea70e4d* (2014-05-07 17:56 UTC) Platform Info: System: Linux (i686-redhat-linux) CPU: Genuine Intel(R) CPU T2250 @ 1.73GHz WORD_SIZE: 32 BLAS: libopenblas (DYNAMIC_ARCH NO_AFFINITY) LAPACK: libopenblas LIBM: libopenlibm julia addprocs(2) 2-element Array{Any,1}: 2 3 julia remotecall_fetch(2, whos) From worker 2: Base Module From worker 2: Core Module From worker 2: Main Module julia dz=dzeros(512) 512-element DArray{Float64,1,Array{Float64,1}}: 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ⋮ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 julia dz.chunks 2-element Array{RemoteRef,1}: RemoteRef(2,1,3) RemoteRef(3,1,4) julia dz.indexes 2-element Array{(UnitRange{Int32},),1}: (1:256,) (257:512,) julia remotecall_fetch(2, whos) From worker 2: Base Module From worker 2: Core Module From worker 2: Main Module julia If you tell the remote proc the name of the DArray, it can find its part. julia remotecall_fetch(2, localpart, dz) 256-element Array{Float64,1}: 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 ⋮ 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 julia
Re: [julia-users] Re: Radio.jl: a digital communications package
If a signal processing framework is developed for Julia, please keep in mind that at some point precision time tags (and possibly other tags) will be desired. GNU Radio developers waited far too long to add tagging.
[julia-users] Re: calendar , how to calculate the distance in time ?
Your formatting isn't completely clear to me, but this may help. julia my_date_strs=[20130628,2,20130701,3,19970224,4,19990230,5] 4-element Array{ASCIIString,1}: 20130628,2 20130701,3 19970224,4 19990230,5 julia my_dates=[date(my_d[1:4]*-*my_d[5:6]*-*my_d[7:8]) for my_d inmy_date_strs ] 4-element Array{Date{C:Calendar},1}: 2013-06-28 2013-07-01 1997-02-24 1999-03-02 julia diff(my_dates) 3-element Array{Any,1}: 3 days -5971 days 736 days julia my_dates[2]-my_dates[1] 3 julia my_dates[2]-my_dates[1] | typeof Day{ISOCalendar}
[julia-users] Re: calendar , how to calculate the distance in time ?
Forgot this bit: julia using Datetime On Sunday, March 16, 2014 10:03:16 PM UTC-4, Rick Graham wrote: Your formatting isn't completely clear to me, but this may help. julia my_date_strs=[20130628,2,20130701,3,19970224,4,19990230,5] 4-element Array{ASCIIString,1}: 20130628,2 20130701,3 19970224,4 19990230,5 julia my_dates=[date(my_d[1:4]*-*my_d[5:6]*-*my_d[7:8]) for my_d inmy_date_strs ] 4-element Array{Date{C:Calendar},1}: 2013-06-28 2013-07-01 1997-02-24 1999-03-02 julia diff(my_dates) 3-element Array{Any,1}: 3 days -5971 days 736 days julia my_dates[2]-my_dates[1] 3 julia my_dates[2]-my_dates[1] | typeof Day{ISOCalendar}
[julia-users] Continuous data flow similar to Simulink/LabView
Does Julia have or plan to include the ability to process a continuous stream of data (think DSP operations on data from a device/port/pipe/etc.). Are there possibilities for a graphical GUI with connected functional nodes, etc.?