# Latest

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

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

**Page:** 1913

---

## [Documenter.jl - Warnings could use advice](https://discourse.julialang.org/t/documenter-jl-warnings-could-use-advice/29299)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 5\
**Last updated:** [September 29, 2019, 10:49pm UTC](https://discourse.julialang.org/t/documenter-jl-warnings-could-use-advice/29299 "2019-09-29T22:49:11Z")

</div>

Hey all I need some help understanding how to fix some warnings in my documentation. I see a lot of these: ┌ Warning: Replacing docs for \`ChemometricsTools.Center :: Tuple{Any}\` in module \`ChemometricsTools\` └ @ Base.…

---

## [Strangeloop videos covering Julia projects](https://discourse.julialang.org/t/strangeloop-videos-covering-julia-projects/29297)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 2\
**Last updated:** [September 29, 2019, 10:28pm UTC](https://discourse.julialang.org/t/strangeloop-videos-covering-julia-projects/29297 "2019-09-29T22:28:28Z")

</div>

I found two talks which cover Julia projects at strangeloop. Are there other recent talks covering Julia? Your Secrets are Safe with Julia: A Compiler for Secure Computation Probabilistic scripts for auto…

---

## [Can't precompile dependencies to newly created packages](https://discourse.julialang.org/t/cant-precompile-dependencies-to-newly-created-packages/29294)

<div class="topic-metadata">

**Author:** [@sairus7](https://discourse.julialang.org/u/sairus7)\
**Replies:** 1\
**Last updated:** [September 29, 2019, 10:04pm UTC](https://discourse.julialang.org/t/cant-precompile-dependencies-to-newly-created-packages/29294 "2019-09-29T22:04:31Z")

</div>

I’m trying to add package dedendency to newly generated package environment, and if that depencency was not added to my main julia environment, using new package from main environment fails to precompile it. (Windows 10,…

---

## [Add rows from one matrix to another by index](https://discourse.julialang.org/t/add-rows-from-one-matrix-to-another-by-index/29293)

<div class="topic-metadata">

**Author:** [@Elmer\_Cusipuma](https://discourse.julialang.org/u/Elmer_Cusipuma)\
**Replies:** 3\
**Last updated:** [September 29, 2019, 8:13pm UTC](https://discourse.julialang.org/t/add-rows-from-one-matrix-to-another-by-index/29293 "2019-09-29T20:13:45Z")

</div>

In short I want to index into a matrix and add to each row. F = zeros(Int64,5) idx = \[2,5,2\] # same row repeated several times fi = \[5,2,7\] F\[idx\] += fi Desired: julia\> F 5-element Array{Int64,1}: 0 12 0 0 2 …

---

## [Turing: "no method matching cholenksy"](https://discourse.julialang.org/t/turing-no-method-matching-cholenksy/29287)

<div class="topic-metadata">

**Author:** [@jdhooghe](https://discourse.julialang.org/u/jdhooghe)\
**Replies:** 2\
**Last updated:** [September 29, 2019, 2:30pm UTC](https://discourse.julialang.org/t/turing-no-method-matching-cholenksy/29287 "2019-09-29T14:30:17Z")

</div>

Good morning, I am doing a Bayesian logistic regression with correlated logit regression co-efficients. Here is the model I am working with: ’ Turing.setadbackend(:reverse\_diff) @model BayesLogisticRegression(y, X) =…

---

## [How to properly depend on a dependency of a dependent package](https://discourse.julialang.org/t/how-to-properly-depend-on-a-dependency-of-a-dependent-package/29291)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 4\
**Last updated:** [September 29, 2019, 2:20pm UTC](https://discourse.julialang.org/t/how-to-properly-depend-on-a-dependency-of-a-dependent-package/29291 "2019-09-29T14:20:51Z")

</div>

I suspect this is just another day in dependency hell, but here goes: Assume I develop a package MyPackage which depends on another package A. Now, MyPackage would also want to use a package B. However, it turns out tha…

---

## [Gardner-Altman Plots in Julia](https://discourse.julialang.org/t/gardner-altman-plots-in-julia/29286)

<div class="topic-metadata">

**Author:** [@Clement\_POIRET](https://discourse.julialang.org/u/Clement_POIRET)\
**Replies:** 5\
**Last updated:** [September 29, 2019, 1:35pm UTC](https://discourse.julialang.org/t/gardner-altman-plots-in-julia/29286 "2019-09-29T13:35:51Z")

</div>

Hi everyone, I’m switching from Python to Julia, and I’m interested in Estimation Statistics to replace classical NHST approach. To do so, I’d like to make Gardner-Altman Plots in Julia but I have to say I’m a bit confu…

---

## [Is there any package for Lomb Scagle?](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850)

<div class="topic-metadata">

**Author:** [@yw892](https://discourse.julialang.org/u/yw892)\
**Replies:** 5\
**Last updated:** [September 29, 2019, 12:55pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850 "2019-09-29T12:55:30Z")

</div>

Just wondering. It seems Julia doesn’t support many DSP algorithms like EMD and Lomb Scagle.

---

## [Receiving data from channel without storing](https://discourse.julialang.org/t/receiving-data-from-channel-without-storing/29277)

<div class="topic-metadata">

**Author:** [@alequa](https://discourse.julialang.org/u/alequa)\
**Replies:** 0\
**Last updated:** [September 28, 2019, 10:34pm UTC](https://discourse.julialang.org/t/receiving-data-from-channel-without-storing/29277 "2019-09-28T22:34:35Z")

</div>

Hi, I am receiving a tuple from a channel, (a remote channel to be precise) and I would like to add those data to a particular data structure I have. This data structure is composed of arrays, and I would like to appen…

---

## [ERROR: UndefVarError: AbstractEnsembleSolution not defined](https://discourse.julialang.org/t/error-undefvarerror-abstractensemblesolution-not-defined/29283)

<div class="topic-metadata">

**Author:** [@Matthew\_Overlin](https://discourse.julialang.org/u/Matthew_Overlin)\
**Replies:** 1\
**Last updated:** [September 29, 2019, 4:48am UTC](https://discourse.julialang.org/t/error-undefvarerror-abstractensemblesolution-not-defined/29283 "2019-09-29T04:48:27Z")

</div>

Hello. I get this error when I run this line: result = Optim.optimize(obj, \[1.0,0.5\], Optim.BFGS()). I am following an example at this web page: https://docs.juliadiffeq.org/latest/analysis/parameter\_estimation.html I…

---

## [Unable to precompile ParameterizedFunctions](https://discourse.julialang.org/t/unable-to-precompile-parameterizedfunctions/29284)

<div class="topic-metadata">

**Author:** [@Matthew\_Overlin](https://discourse.julialang.org/u/Matthew_Overlin)\
**Replies:** 0\
**Last updated:** [September 29, 2019, 4:10am UTC](https://discourse.julialang.org/t/unable-to-precompile-parameterizedfunctions/29284 "2019-09-29T04:10:35Z")

</div>

ERROR: LoadError: Failed to precompile ParameterizedFunctions \[65888b18-ceab-5e60-b2b9-181511a3b968\] to C:\\Users\\mover.julia\\compiled\\v1.1\\ParameterizedFunctions\\OKjOc.ji. I get the above message at the line “using Para…

---

## [Inserting global list to a function, change the global list](https://discourse.julialang.org/t/inserting-global-list-to-a-function-change-the-global-list/29275)

<div class="topic-metadata">

**Author:** [@Tamuzd](https://discourse.julialang.org/u/Tamuzd)\
**Replies:** 4\
**Last updated:** [September 29, 2019, 2:13am UTC](https://discourse.julialang.org/t/inserting-global-list-to-a-function-change-the-global-list/29275 "2019-09-29T02:13:47Z")

</div>

I have an information on a global list variables. I want to use this information and make some manipulation with it. But I don’t want to change this global list. Right now any manipulation I make change this global list.…

---

## [Pass return of recursive function up the call stack?](https://discourse.julialang.org/t/pass-return-of-recursive-function-up-the-call-stack/29273)

<div class="topic-metadata">

**Author:** [@dylanjm](https://discourse.julialang.org/u/dylanjm)\
**Replies:** 6\
**Last updated:** [September 28, 2019, 9:35pm UTC](https://discourse.julialang.org/t/pass-return-of-recursive-function-up-the-call-stack/29273 "2019-09-28T21:35:29Z")

</div>

Hello there, this is sort of a follow up to the question I posted yesterday about improving memory allocation in a simulation. You can find that question here for any context. Following the advice @DNF, I decided to i…

---

## [Is it possible to dispatch on the arity of a function?](https://discourse.julialang.org/t/is-it-possible-to-dispatch-on-the-arity-of-a-function/29266)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 4\
**Last updated:** [September 28, 2019, 8:35pm UTC](https://discourse.julialang.org/t/is-it-possible-to-dispatch-on-the-arity-of-a-function/29266 "2019-09-28T20:35:19Z")

</div>

Say I want to dispatch fn(gn::Function) base on the arity of gn. Is it possible?

---

## [Visibility of new methods in a recursive function](https://discourse.julialang.org/t/visibility-of-new-methods-in-a-recursive-function/29248)

<div class="topic-metadata">

**Author:** [@adrpo](https://discourse.julialang.org/u/adrpo)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 6:12pm UTC](https://discourse.julialang.org/t/visibility-of-new-methods-in-a-recursive-function/29248 "2019-09-28T18:12:13Z")

</div>

Any ideas why this doesn’t work? The call to StringSorting.quicksort! sees all the methods of keyCompare until the recursive call to quicksort! when it just doesn’t anymore as it seems to call String.keyCompare without …

---

## [Good Android keyboards for typing Julia code on the go?](https://discourse.julialang.org/t/good-android-keyboards-for-typing-julia-code-on-the-go/9002)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 4:03pm UTC](https://discourse.julialang.org/t/good-android-keyboards-for-typing-julia-code-on-the-go/9002 "2019-09-28T16:03:29Z")

</div>

I use codeboard which looks like this? Any other suggestions?

---

## [Is it possible to draw contour plot in Makie.jl from predefined x, y coordinates of z data points?](https://discourse.julialang.org/t/is-it-possible-to-draw-contour-plot-in-makie-jl-from-predefined-x-y-coordinates-of-z-data-points/29147)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 6\
**Last updated:** [September 28, 2019, 3:55pm UTC](https://discourse.julialang.org/t/is-it-possible-to-draw-contour-plot-in-makie-jl-from-predefined-x-y-coordinates-of-z-data-points/29147 "2019-09-28T15:55:17Z")

</div>

Hi, I am thinking how to quickly visualize 2D matrix, given with matrices X, Y of coordinates of corresponding data points in Z matrix. It will be used in real-time visualization of action potential propagation in cardia…

---

## [ANN: Julia tutorial in Prague](https://discourse.julialang.org/t/ann-julia-tutorial-in-prague/29262)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 3:14pm UTC](https://discourse.julialang.org/t/ann-julia-tutorial-in-prague/29262 "2019-09-28T15:14:15Z")

</div>

I currently give a course at the Czech Technical University in Prague on advanced finite element methods. The plan is to include implementation, in Julia (of course!). The preliminary plan is to talk about Julia and subs…

---

## [Create Gurobi environment in module](https://discourse.julialang.org/t/create-gurobi-environment-in-module/29261)

<div class="topic-metadata">

**Author:** [@aahaselgrove](https://discourse.julialang.org/u/aahaselgrove)\
**Replies:** 1\
**Last updated:** [September 28, 2019, 11:03am UTC](https://discourse.julialang.org/t/create-gurobi-environment-in-module/29261 "2019-09-28T11:03:19Z")

</div>

I am working on a project in a module which I reference from a Jupyter notebook. As discussed here, I tried initialising the Gurobi environment with const GRB\_ENV = Gurobi.Env(). It seems to initialise successfully as th…

---

## [Simulate Nested Array Without Allocating New Memory Every Loop?](https://discourse.julialang.org/t/simulate-nested-array-without-allocating-new-memory-every-loop/29215)

<div class="topic-metadata">

**Author:** [@dylanjm](https://discourse.julialang.org/u/dylanjm)\
**Replies:** 13\
**Last updated:** [September 28, 2019, 10:50am UTC](https://discourse.julialang.org/t/simulate-nested-array-without-allocating-new-memory-every-loop/29215 "2019-09-28T10:50:51Z")

</div>

To start off, here is some necessary information julia\> versioninfo() Julia Version 1.2.0 Commit c6da87ff4b (2019-08-20 00:03 UTC) Platform Info: OS: macOS (x86\_64-apple-darwin18.6.0) CPU: Intel(R) Core(TM) i7-9750H…

---

## [Convenient way to generate all interaction terms up to a specified order](https://discourse.julialang.org/t/convenient-way-to-generate-all-interaction-terms-up-to-a-specified-order/25537)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 9:27am UTC](https://discourse.julialang.org/t/convenient-way-to-generate-all-interaction-terms-up-to-a-specified-order/25537 "2019-09-28T09:27:19Z")

</div>

Given 4 variables, is there a convenient way to generate a formula with all main effects and all interactions up to 3-way interactions? I believe in R it would be ~(b+c+d+e)^3. In julia that syntax appears to be interp…

---

## [ModelFrame contrast & factors in StatsModels in v"0.6.x"](https://discourse.julialang.org/t/modelframe-contrast-factors-in-statsmodels-in-v-0-6-x/28272)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 5\
**Last updated:** [September 28, 2019, 9:25am UTC](https://discourse.julialang.org/t/modelframe-contrast-factors-in-statsmodels-in-v-0-6-x/28272 "2019-09-28T09:25:21Z")

</div>

Hello! I’m confused. In StatsModels 0.5.0 i can get contrasts levels simply: ModelFrame.contrasts\[:name\].levels How can I do it now? And how can i get predictors list?

---

## [Pkg3: Multiple packages per .git repository](https://discourse.julialang.org/t/pkg3-multiple-packages-per-git-repository/15492)

<div class="topic-metadata">

**Author:** [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Replies:** 3\
**Last updated:** [September 28, 2019, 5:32am UTC](https://discourse.julialang.org/t/pkg3-multiple-packages-per-git-repository/15492 "2019-09-28T05:32:26Z")

</div>

I have a graphical package that I would like to distribute as a single .git repository, that actually contains two separate modules. Problem On some systems, Cairo.jl will work fine, whereas Gtk.jl might not (ex: Julia…

---

## [Why is the negation of a Boolean array a BitArray](https://discourse.julialang.org/t/why-is-the-negation-of-a-boolean-array-a-bitarray/29211)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 3\
**Last updated:** [September 28, 2019, 4:44am UTC](https://discourse.julialang.org/t/why-is-the-negation-of-a-boolean-array-a-bitarray/29211 "2019-09-28T04:44:56Z")

</div>

If b = rand(Bool, 3) then all of .!b .~b xor.(true, b) return a BitArray{1} type. Given that the input types are always Array{Bool, 1}, I find that curious. Is this behavior wanted, and if so, why?

---

## [Cant set ymin, ymax with gadfly, (plotting simple functions)](https://discourse.julialang.org/t/cant-set-ymin-ymax-with-gadfly-plotting-simple-functions/29259)

<div class="topic-metadata">

**Author:** [@dankworks](https://discourse.julialang.org/u/dankworks)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 4:37am UTC](https://discourse.julialang.org/t/cant-set-ymin-ymax-with-gadfly-plotting-simple-functions/29259 "2019-09-28T04:37:20Z")

</div>

Hi, I’m trying to plot a few simple functions with Gadfly. I’m having trouble setting the ymin and ymax. I’m trying to follow the documentation example: plot(f::Function, lower, upper, elements...; mapping...) plot(f:…

---

## [SQL input sanitization](https://discourse.julialang.org/t/sql-input-sanitization/7906)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 1\
**Last updated:** [September 28, 2019, 1:57am UTC](https://discourse.julialang.org/t/sql-input-sanitization/7906 "2019-09-28T01:57:29Z")

</div>

I’m a relative newcomer to web technology, and I thought I’d play around with it a bit in my favorite language for numeric computing. I need a DB to back the project I’m playing with, so I’m also learning a bit of SQL in…

---

## [\[ANN\]: Abstract Logic Solver for Julia - AbstractLogic.jl](https://discourse.julialang.org/t/ann-abstract-logic-solver-for-julia-abstractlogic-jl/29134)

<div class="topic-metadata">

**Author:** [@EconometricsBySimula](https://discourse.julialang.org/u/EconometricsBySimula)\
**Replies:** 21\
**Last updated:** [September 28, 2019, 1:37am UTC](https://discourse.julialang.org/t/ann-abstract-logic-solver-for-julia-abstractlogic-jl/29134 "2019-09-28T01:37:47Z")

</div>

I would love any feedback people might have. I have spent a lot of time refining the package and making it potentially useful. I see it as a ready tool for solving, validating, and providing the basis for generating abst…

---

## [State of deep learning in Julia](https://discourse.julialang.org/t/state-of-deep-learning-in-julia/28049)

<div class="topic-metadata">

**Author:** [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Replies:** 18\
**Last updated:** [September 28, 2019, 1:08am UTC](https://discourse.julialang.org/t/state-of-deep-learning-in-julia/28049 "2019-09-28T01:08:07Z")

</div>

Although Julia is promoted as an excellent language for deep learning, I still don’t see any framework I could use in production or even in long-term research. Here are the options I considered in different periods of ti…

---

## [String(array) destroys the array Bug or Feature?](https://discourse.julialang.org/t/string-array-destroys-the-array-bug-or-feature/29243)

<div class="topic-metadata">

**Author:** [@fp4code](https://discourse.julialang.org/u/fp4code)\
**Replies:** 5\
**Last updated:** [September 27, 2019, 9:14pm UTC](https://discourse.julialang.org/t/string-array-destroys-the-array-bug-or-feature/29243 "2019-09-27T21:14:12Z")

</div>

a = Array{UInt8,1}(\['a','b','c'\]) length(a) # 3 s = String(a) # "abc" length(a) # 0 Bug or feature ? Same behaviour with julia-1.0.5, -1.2, -1.4.0-DEV.152

---

## [second order cone constraint in JuMP 0.19 with gurobi solver](https://discourse.julialang.org/t/second-order-cone-constraint-in-jump-0-19-with-gurobi-solver/21813)

<div class="topic-metadata">

**Author:** [@nitu0317](https://discourse.julialang.org/u/nitu0317)\
**Replies:** 11\
**Last updated:** [September 27, 2019, 8:25pm UTC](https://discourse.julialang.org/t/second-order-cone-constraint-in-jump-0-19-with-gurobi-solver/21813 "2019-09-27T20:25:37Z")

</div>

I failed to add SOCP constraint to my model with gurobi solver after updating JuMP to 0.19. Since norm is no longer supported, I tried the example provided in documentation, using JuMP,Gurobi,MathOptInterface env = Gu…

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

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