# Latest

**URL:** https://discourse.julialang.org/latest.md?page=1951

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 1952

---

## [BinaryBuilder with multiple deps](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847)

<div class="topic-metadata">

**Author:** [@JerryChen97](https://discourse.julialang.org/u/JerryChen97)\
**Replies:** 3\
**Last updated:** [July 28, 2019, 12:42pm UTC](https://discourse.julialang.org/t/binarybuilder-with-multiple-deps/26847 "2019-07-28T12:42:26Z")

</div>

I am using BinaryBuilder to build my own shared library for MAGMA (MAGMA: Installing MAGMA), but I cannot find sufficient examples of how can one correctly setup the dependencies with BinaryBuilder.run\_wizard, especially…

---

## [Manually reloading a module in 1.1?](https://discourse.julialang.org/t/manually-reloading-a-module-in-1-1/25572)

<div class="topic-metadata">

**Author:** [@srs](https://discourse.julialang.org/u/srs)\
**Replies:** 13\
**Last updated:** [July 28, 2019, 11:42am UTC](https://discourse.julialang.org/t/manually-reloading-a-module-in-1-1/25572 "2019-07-28T11:42:04Z")

</div>

How do I manually reload a module in Julia 1.1? (I’m on 1.1.1 to be specific) I’m aware that Revise.jl exists, but it does have its known limitations and I’ve also seen issues and crashes together with Jupyter. These is…

---

## [JuMP Parameters params depend on the Optimizer?](https://discourse.julialang.org/t/jump-parameters-params-depend-on-the-optimizer/26725)

<div class="topic-metadata">

**Author:** [@remi-garcia](https://discourse.julialang.org/u/remi-garcia)\
**Replies:** 4\
**Last updated:** [July 28, 2019, 9:38am UTC](https://discourse.julialang.org/t/jump-parameters-params-depend-on-the-optimizer/26725 "2019-07-28T09:38:41Z")

</div>

Hi, With JuMP we can pass parameters to the solver in with\_optimizer. What I understood is that the parameter depend on the used Optimizer. If I want a Time Limit with GLPK I’ll use tm\_lim while with CPLEX it’ll be CPX\_…

---

## [Multi-threaded tasks, external multi-threaded code, avoiding oversubscription](https://discourse.julialang.org/t/multi-threaded-tasks-external-multi-threaded-code-avoiding-oversubscription/26887)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 9:16am UTC](https://discourse.julialang.org/t/multi-threaded-tasks-external-multi-threaded-code-avoiding-oversubscription/26887 "2019-07-28T09:16:38Z")

</div>

Regarding the new tread scheduler and external code that uses threads (discussed a lot at JC19) - just a thought I had, no idea if it’s feasible: What if a partr task could (optionally) request more than one thread? Kin…

---

## [Slow sparse matrix-vector product with symmetric matrices](https://discourse.julialang.org/t/slow-sparse-matrix-vector-product-with-symmetric-matrices/3968)

<div class="topic-metadata">

**Author:** [@dpo](https://discourse.julialang.org/u/dpo)\
**Replies:** 34\
**Last updated:** [July 28, 2019, 7:19am UTC](https://discourse.julialang.org/t/slow-sparse-matrix-vector-product-with-symmetric-matrices/3968 "2019-07-28T07:19:02Z")

</div>

julia\> A = rand(1000,1000); A = A + A'; A = sparse(A); julia\> e = ones(1000); julia\> @time A \* e 0.054203 seconds (17.26 k allocations: 990.259 KiB) julia\> @time A \* e; 0.001510 seconds (5 allocations: 8.094 KiB) jul…

---

## [A new JuMPTutorials.jl package](https://discourse.julialang.org/t/a-new-jumptutorials-jl-package/26900)

<div class="topic-metadata">

**Author:** [@Arpit\_Bhatia](https://discourse.julialang.org/u/Arpit_Bhatia)\
**Replies:** 0\
**Last updated:** [July 28, 2019, 3:06am UTC](https://discourse.julialang.org/t/a-new-jumptutorials-jl-package/26900 "2019-07-28T03:06:30Z")

</div>

Hi, I am Arpit, a GSoC student working under @chriscoey, @joaquimg and Lea Kapelevich to create a new JuMPTutorials.jl package, which will contain tidied, updated, and more-consistent versions of many of the notebooks i…

---

## [NDReducibles.jl: multi-dimensional array computations without indexing (a proof-of-concept)](https://discourse.julialang.org/t/ndreducibles-jl-multi-dimensional-array-computations-without-indexing-a-proof-of-concept/26893)

<div class="topic-metadata">

**Author:** [@tkf](https://discourse.julialang.org/u/tkf)\
**Replies:** 4\
**Last updated:** [July 28, 2019, 1:10am UTC](https://discourse.julialang.org/t/ndreducibles-jl-multi-dimensional-array-computations-without-indexing-a-proof-of-concept/26893 "2019-07-28T01:10:23Z")

</div>

(This is kind of a follow-up discussion of my JuliaCon talk. So the context probably is not super clear if you haven’t watched it.) Writing Transducers.jl (see also the latest release announcement) made me think that f…

---

## [Setting constraints as lazy with JuMP 0.19 and Gurobi](https://discourse.julialang.org/t/setting-constraints-as-lazy-with-jump-0-19-and-gurobi/24516)

<div class="topic-metadata">

**Author:** [@fa-bien](https://discourse.julialang.org/u/fa-bien)\
**Replies:** 7\
**Last updated:** [July 27, 2019, 7:15pm UTC](https://discourse.julialang.org/t/setting-constraints-as-lazy-with-jump-0-19-and-gurobi/24516 "2019-07-27T19:15:04Z")

</div>

I build a mixed-integer model with JuMP and Gurobi. I want to set certain constraints as lazy. With JuMP 0.18 I was using the solution described here: Lazy constraints at root node? · Issue #1226 · jump-dev/JuMP.jl · Git…

---

## [How to reuse object in multiple parallel calls instead of making copies in each call](https://discourse.julialang.org/t/how-to-reuse-object-in-multiple-parallel-calls-instead-of-making-copies-in-each-call/26891)

<div class="topic-metadata">

**Author:** [@jchen975](https://discourse.julialang.org/u/jchen975)\
**Replies:** 0\
**Last updated:** [July 27, 2019, 6:47pm UTC](https://discourse.julialang.org/t/how-to-reuse-object-in-multiple-parallel-calls-instead-of-making-copies-in-each-call/26891 "2019-07-27T18:47:44Z")

</div>

I’m using pmap() to make a large number (~12000) of parallel calls to perform power flow computations based on the pseudocode below: ''' PD, QD are K x N matrices where N ~= 12000 and K = number of loads in current case…

---

## [Comparing different types doesn't raise an error?!?!?](https://discourse.julialang.org/t/comparing-different-types-doesnt-raise-an-error/26868)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 26\
**Last updated:** [July 27, 2019, 4:13pm UTC](https://discourse.julialang.org/t/comparing-different-types-doesnt-raise-an-error/26868 "2019-07-27T16:13:21Z")

</div>

I’m sorry but this is annoying, I try to convert 3.5 to an Int and I get an InexactError. I mean I really do just want to truncate the fricken number, but fine, I will truncate it, then convert it, hey maybe I’ll splurge…

---

## [Generic programming discussion](https://discourse.julialang.org/t/generic-programming-discussion/26888)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [July 27, 2019, 4:11pm UTC](https://discourse.julialang.org/t/generic-programming-discussion/26888 "2019-07-27T16:11:35Z")

</div>

Unfortunately Julia is not mentioned at all: Models of Generics and Metaprogramming: Go, Rust, Swift, D and More - Tristan Hume Interesting discussion, though.

---

## [Nominate for the Julia Community Prize](https://discourse.julialang.org/t/nominate-for-the-julia-community-prize/25612)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 8\
**Last updated:** [July 27, 2019, 3:10pm UTC](https://discourse.julialang.org/t/nominate-for-the-julia-community-prize/25612 "2019-07-27T15:10:49Z")

</div>

It’s that time of the year again. Please nominate your favourite Julian for the Julia Community Prize, 2019. The prize will be announced at JuliaCon 2019 in July. Contributions can be in any area - code, packages, docum…

---

## [Juno does not display unicode symbols in file or in completions](https://discourse.julialang.org/t/juno-does-not-display-unicode-symbols-in-file-or-in-completions/26870)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 2\
**Last updated:** [July 27, 2019, 3:01pm UTC](https://discourse.julialang.org/t/juno-does-not-display-unicode-symbols-in-file-or-in-completions/26870 "2019-07-27T15:01:09Z")

</div>

I am trying out Juno as an IDE, but for some reason I am not able to enter the unicode symbols that are normally available in Julia. I can get the unicode symbols to work in the REPL, but not in the file itself. I tried…

---

## [Defining array of constant values and prevent it to be modified inside functions](https://discourse.julialang.org/t/defining-array-of-constant-values-and-prevent-it-to-be-modified-inside-functions/26843)

<div class="topic-metadata">

**Author:** [@josimar](https://discourse.julialang.org/u/josimar)\
**Replies:** 7\
**Last updated:** [July 27, 2019, 11:35am UTC](https://discourse.julialang.org/t/defining-array-of-constant-values-and-prevent-it-to-be-modified-inside-functions/26843 "2019-07-27T11:35:58Z")

</div>

Hi, I am trying to understand the best approach to pass an array of user input data into a function and make sure that this array is NEVER modified inside the function. An example of what I would like to do is below: j…

---

## [JuliaCon 2019 livestreams](https://discourse.julialang.org/t/juliacon-2019-livestreams/26628)

<div class="topic-metadata">

**Author:** [@DNF](https://discourse.julialang.org/u/DNF)\
**Replies:** 7\
**Last updated:** [July 27, 2019, 11:06am UTC](https://discourse.julialang.org/t/juliacon-2019-livestreams/26628 "2019-07-27T11:06:20Z")

</div>

I cannot find any livestreams from JuliaCon 2019. Will there be any?

---

## [Display animation created with Luxor in jupyter notebook](https://discourse.julialang.org/t/display-animation-created-with-luxor-in-jupyter-notebook/26839)

<div class="topic-metadata">

**Author:** [@karlroyen](https://discourse.julialang.org/u/karlroyen)\
**Replies:** 2\
**Last updated:** [July 27, 2019, 6:34am UTC](https://discourse.julialang.org/t/display-animation-created-with-luxor-in-jupyter-notebook/26839 "2019-07-27T06:34:26Z")

</div>

Can I display an animation created with Luxor in a jupyter notebook? For example if I put something like the example code for animation using Colors, Luxor demo = Movie(400, 400, "test") function backdrop(scene, frame…

---

## [Error loading Mongo.jl \[ In reference to Julia Programming Projects book\]](https://discourse.julialang.org/t/error-loading-mongo-jl-in-reference-to-julia-programming-projects-book/26876)

<div class="topic-metadata">

**Author:** [@waqas](https://discourse.julialang.org/u/waqas)\
**Replies:** 0\
**Last updated:** [July 27, 2019, 8:47am UTC](https://discourse.julialang.org/t/error-loading-mongo-jl-in-reference-to-julia-programming-projects-book/26876 "2019-07-27T08:47:42Z")

</div>

Hi, I am trying to load Mongo, LibBSON, JSON as per the instructions mentioned in the book Julia Programming Projects where the author Adrian Salceanu is using Julia v 0.6. \[I tried using later versions as well but Mong…

---

## [How to overwrite logging output for custom string types](https://discourse.julialang.org/t/how-to-overwrite-logging-output-for-custom-string-types/26865)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 2\
**Last updated:** [July 27, 2019, 5:30am UTC](https://discourse.julialang.org/t/how-to-overwrite-logging-output-for-custom-string-types/26865 "2019-07-27T05:30:06Z")

</div>

I’ve been playing with creating a custom Password string type which would be securely logged and printed in obfuscated form. I came up with: struct Password \<: AbstractString contents::String end Base.show(io::IO, …

---

## [Portable Mintty for Julia](https://discourse.julialang.org/t/portable-mintty-for-julia/26822)

<div class="topic-metadata">

**Author:** [@oif2003](https://discourse.julialang.org/u/oif2003)\
**Replies:** 5\
**Last updated:** [July 27, 2019, 3:26am UTC](https://discourse.julialang.org/t/portable-mintty-for-julia/26822 "2019-07-27T03:26:57Z")

</div>

Hi, While we wait for a better Windows Terminal, I’d like to share my setup with those who also want colored emoji support on Windows 10. Requirements: Julia 1.x.x, 64bit Windows 10 How to use it: Unzip and run startj…

---

## [Distributions package invlogcdf() function returning the wrong answer?](https://discourse.julialang.org/t/distributions-package-invlogcdf-function-returning-the-wrong-answer/26867)

<div class="topic-metadata">

**Author:** [@dataSurfer](https://discourse.julialang.org/u/dataSurfer)\
**Replies:** 2\
**Last updated:** [July 27, 2019, 12:39am UTC](https://discourse.julialang.org/t/distributions-package-invlogcdf-function-returning-the-wrong-answer/26867 "2019-07-27T00:39:21Z")

</div>

Consider that the following answer: invlogcdf(Chi(11), log(0.975)) # 4.681885225101231 qchisq(0.975, 11) # 21.920049261021205 is wrong when comparing invlogcdf() to the equivalent R function, but the following is corre…

---

## [Dot equals .=](https://discourse.julialang.org/t/dot-equals/26818)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 3\
**Last updated:** [July 26, 2019, 10:57pm UTC](https://discourse.julialang.org/t/dot-equals/26818 "2019-07-26T22:57:15Z")

</div>

I am sort of getting fuzzy on how to apply syntactic loop fusion from More Dots - Syntactic Loop Fusion in Julia | juliabloggers.com Is this: nnp.theta\[hl\] .= nnp.theta\[hl\] .+ (hp.alphaovermb .\* (hp.lambda .\* nnp.theta…

---

## [Error in Cuda function : ERROR: LoadError: CuError(1, nothing)](https://discourse.julialang.org/t/error-in-cuda-function-error-loaderror-cuerror-1-nothing/26808)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 8\
**Last updated:** [July 26, 2019, 10:11pm UTC](https://discourse.julialang.org/t/error-in-cuda-function-error-loaderror-cuerror-1-nothing/26808 "2019-07-26T22:11:04Z")

</div>

I have this error while running Cuda ERROR: LoadError: CuError(1, nothing) Stacktrace: \[1\] (::getfield(CUDAdrv, Symbol("##25#26")){Bool,Int64,CuStream,CuFunction})(::Array{Ptr{Nothing},1}) at C:\\Users\\Wiktor\\.julia\\pac…

---

## [How to log output to file](https://discourse.julialang.org/t/how-to-log-output-to-file/5219)

<div class="topic-metadata">

**Author:** [@innerlee](https://discourse.julialang.org/u/innerlee)\
**Replies:** 7\
**Last updated:** [July 26, 2019, 8:19pm UTC](https://discourse.julialang.org/t/how-to-log-output-to-file/5219 "2019-07-26T20:19:18Z")

</div>

This question has troubled me for some time. Basically, I want log outputs into a file. It should: Not for logging outputs of info(), warn(), etc, but for all printed outputs. They should be printed on the screen as we…

---

## [Why won't some talks be recorded?](https://discourse.julialang.org/t/why-wont-some-talks-be-recorded/26580)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 7\
**Last updated:** [July 26, 2019, 2:39am UTC](https://discourse.julialang.org/t/why-wont-some-talks-be-recorded/26580 "2019-07-26T02:39:04Z")

</div>

I am curious why some talks on the JuliaCon schedule https://pretalx.com/juliacon2019/schedule/ won’t be recorded. Some of these can be really useful for the wider audience that isn’t able to attend the conference. Is th…

---

## [CmdStan.jl fails on documentation example - path issues](https://discourse.julialang.org/t/cmdstan-jl-fails-on-documentation-example-path-issues/26023)

<div class="topic-metadata">

**Author:** [@yanivab](https://discourse.julialang.org/u/yanivab)\
**Replies:** 1\
**Last updated:** [July 26, 2019, 7:02pm UTC](https://discourse.julialang.org/t/cmdstan-jl-fails-on-documentation-example-path-issues/26023 "2019-07-26T19:02:28Z")

</div>

I’m trying to run the basic example in the CmdStan.jl documentation. However, I’m getting path related errors. When I try to specify the project folder in the call to stan: using CmdStan set\_cmdstan\_home!(“/Users/ya…

---

## [Vector{Float} times Vector{Complex} slower than Vector{Complex} times Vector{Complex}](https://discourse.julialang.org/t/vector-float-times-vector-complex-slower-than-vector-complex-times-vector-complex/26857)

<div class="topic-metadata">

**Author:** [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Replies:** 6\
**Last updated:** [July 26, 2019, 6:41pm UTC](https://discourse.julialang.org/t/vector-float-times-vector-complex-slower-than-vector-complex-times-vector-complex/26857 "2019-07-26T18:41:59Z")

</div>

If you define Q = collect(-10:.01:10) v = Q.-transpose(Q) cv = complex.(v) comp = exp.(-im.\*Q) then multiplying cvcomp takes 2.94ms on my computer compared with 3.41ms for vcomp (times measured with btime) Any idea why…

---

## [Pkg Proxy Cache / Automatic Mirror of installed packages](https://discourse.julialang.org/t/pkg-proxy-cache-automatic-mirror-of-installed-packages/26832)

<div class="topic-metadata">

**Author:** [@altre](https://discourse.julialang.org/u/altre)\
**Replies:** 1\
**Last updated:** [July 26, 2019, 5:39pm UTC](https://discourse.julialang.org/t/pkg-proxy-cache-automatic-mirror-of-installed-packages/26832 "2019-07-26T17:39:45Z")

</div>

We use Julia in a commercial context. The more productive things get, the more paranoid we are. Julia relies on the github repository of a dependency staying where it is. If it disappears, the package can not be installe…

---

## [Cannot install julia-client@0.8.10 in atom using uber-juno](https://discourse.julialang.org/t/cannot-install-julia-client-0-8-10-in-atom-using-uber-juno/26300)

<div class="topic-metadata">

**Author:** [@Yaman\_Garg](https://discourse.julialang.org/u/Yaman_Garg)\
**Replies:** 20\
**Last updated:** [July 26, 2019, 5:03pm UTC](https://discourse.julialang.org/t/cannot-install-julia-client-0-8-10-in-atom-using-uber-juno/26300 "2019-07-26T17:03:04Z")

</div>

I tried installing it with uber-juno and without it (as a separate package) and still get the same error. I also tried doing the installation after disabling my antivirus and all firewalls but still failed. Can someone p…

---

## [How to understand the following function excepted from OpenStreetMapX package?](https://discourse.julialang.org/t/how-to-understand-the-following-function-excepted-from-openstreetmapx-package/26075)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 11\
**Last updated:** [July 26, 2019, 4:54pm UTC](https://discourse.julialang.org/t/how-to-understand-the-following-function-excepted-from-openstreetmapx-package/26075 "2019-07-26T16:54:08Z")

</div>

Hi, I’m reading the code from this great OpenStreetMapX package, and the following function confused me a little bit. I would really appreciate it if anyone can help me clarify some doubts. function get\_edges(nodes::Dic…

---

## [\[Note/suggestions\] Got Arpack, etc sort of working with MKL \[tested on macos\]](https://discourse.julialang.org/t/note-suggestions-got-arpack-etc-sort-of-working-with-mkl-tested-on-macos/21064)

<div class="topic-metadata">

**Author:** [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)\
**Replies:** 5\
**Last updated:** [July 26, 2019, 4:12pm UTC](https://discourse.julialang.org/t/note-suggestions-got-arpack-etc-sort-of-working-with-mkl-tested-on-macos/21064 "2019-07-26T16:12:10Z")

</div>

Update: With fflags from here and borrowing from the Arpack builder script, here’s a way to potentially get Arpack and packages that depend on it working with MKL( Pkg.test("Arpack") , Pkg.test("LightGraphs") or Pkg.…

[Previous page](https://discourse.julialang.org/latest.md?page=1950)

[Next page](https://discourse.julialang.org/latest.md?page=1952)
