# Latest

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

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

**Page:** 1606

---

## [MCMC sampling for ODEs with multiple outputs and dependence on an external variable?](https://discourse.julialang.org/t/mcmc-sampling-for-odes-with-multiple-outputs-and-dependence-on-an-external-variable/48202)

<div class="topic-metadata">

**Author:** [@haganeno](https://discourse.julialang.org/u/haganeno)\
**Replies:** 3\
**Last updated:** [October 12, 2020, 9:15am UTC](https://discourse.julialang.org/t/mcmc-sampling-for-odes-with-multiple-outputs-and-dependence-on-an-external-variable/48202 "2020-10-12T09:15:22Z")

</div>

Hi, I am trying to run MCMC sampling with Turing.jl for a system of ODEs in which some parameters depend on an external variable (voltage). Furthermore, I would like to use data from multiple different types of experimen…

---

## [Groupby, aggregate with unstack on multiple columns](https://discourse.julialang.org/t/groupby-aggregate-with-unstack-on-multiple-columns/48158)

<div class="topic-metadata">

**Author:** [@Clement\_POIRET](https://discourse.julialang.org/u/Clement_POIRET)\
**Replies:** 4\
**Last updated:** [October 12, 2020, 9:12am UTC](https://discourse.julialang.org/t/groupby-aggregate-with-unstack-on-multiple-columns/48158 "2020-10-12T09:12:13Z")

</div>

Hi everyone. I’m working a little project, and I have to translate python code to julia. For a toy example, here is my dataset: https://raw.githubusercontent.com/clementpoiret/Pingouin.jl/master/datasets/rm\_anova2.csv …

---

## [Convolution with a multi-layer kernel](https://discourse.julialang.org/t/convolution-with-a-multi-layer-kernel/48162)

<div class="topic-metadata">

**Author:** [@martenlienen](https://discourse.julialang.org/u/martenlienen)\
**Replies:** 7\
**Last updated:** [October 12, 2020, 8:41am UTC](https://discourse.julialang.org/t/convolution-with-a-multi-layer-kernel/48162 "2020-10-12T08:41:20Z")

</div>

I have a 2D input that I would like to run a convolutional model on. However, instead of using a matrix as a convolution kernel, I would like to use something like Chain(Dense(3^2; 3^2, tanh), ...) as a kernel. Since con…

---

## [How to treat Python namedtuple-inherited class in PyCall](https://discourse.julialang.org/t/how-to-treat-python-namedtuple-inherited-class-in-pycall/48197)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 6:57am UTC](https://discourse.julialang.org/t/how-to-treat-python-namedtuple-inherited-class-in-pycall/48197 "2020-10-12T06:57:30Z")

</div>

How to let not to automatically convert Python namedtuple-inherited class to Julia tuple in PyCall? The following documents have the example such situation: https://pytorch.org/docs/stable/generated/torch.nn.utils.rnn.p…

---

## [Different results between Zygote, ForwardDiff, and ReverseDiff](https://discourse.julialang.org/t/different-results-between-zygote-forwarddiff-and-reversediff/46540)

<div class="topic-metadata">

**Author:** [@vaglino](https://discourse.julialang.org/u/vaglino)\
**Replies:** 11\
**Last updated:** [October 12, 2020, 6:33am UTC](https://discourse.julialang.org/t/different-results-between-zygote-forwarddiff-and-reversediff/46540 "2020-10-12T06:33:02Z")

</div>

Hi, I’m quite new to Julia and trying to understand automatic differentiation. I have a loss function for a model, and I’m trying to get the gradient and hessian w.r.t parameters fitted to the model. In doing so, compar…

---

## [Mac installation totally busted](https://discourse.julialang.org/t/mac-installation-totally-busted/48191)

<div class="topic-metadata">

**Author:** [@igorrivin](https://discourse.julialang.org/u/igorrivin)\
**Replies:** 4\
**Last updated:** [October 12, 2020, 4:46am UTC](https://discourse.julialang.org/t/mac-installation-totally-busted/48191 "2020-10-12T04:46:03Z")

</div>

I tried to install Julia 1.5.2 on my Mac, but there is a typo in the script: igor@Igors-MacBook-Pro ~ % xec ‘/private/var/folders/tx/3vwvrf2n56502g3fbglg7csw0000gn/T/AppTranslocation/A7E0A413-761B-4EF0-A31B-09ECD37DFC68…

---

## [Unable to add MLJ.jl package multiple unsatisfiable requirements](https://discourse.julialang.org/t/unable-to-add-mlj-jl-package-multiple-unsatisfiable-requirements/48192)

<div class="topic-metadata">

**Author:** [@psabela](https://discourse.julialang.org/u/psabela)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 4:41am UTC](https://discourse.julialang.org/t/unable-to-add-mlj-jl-package-multiple-unsatisfiable-requirements/48192 "2020-10-12T04:41:29Z")

</div>

julia\> Pkg.add(url=“https://github.com/alan-turing-institute/MLJ.jl”) Updating git-repo https://github.com/alan-turing-institute/MLJ.jl Resolving package versions… ERROR: Unsatisfiable requirements detected for packag…

---

## [Doubt regarding Broadcast assignment of 1d Arrays and Vectors](https://discourse.julialang.org/t/doubt-regarding-broadcast-assignment-of-1d-arrays-and-vectors/48189)

<div class="topic-metadata">

**Author:** [@Sarthak\_Choudhury](https://discourse.julialang.org/u/Sarthak_Choudhury)\
**Replies:** 4\
**Last updated:** [October 12, 2020, 3:22am UTC](https://discourse.julialang.org/t/doubt-regarding-broadcast-assignment-of-1d-arrays-and-vectors/48189 "2020-10-12T03:22:23Z")

</div>

Hi, I am new to Julia. I had a doubt regarding 1d arrays and vectors. If they represent the same thing then usually you can do algebraic functions on them but I found you cannot do assignment via broadcasting. A simple …

---

## [String Colon String Would Fit The Language](https://discourse.julialang.org/t/string-colon-string-would-fit-the-language/48090)

<div class="topic-metadata">

**Author:** [@vaeli](https://discourse.julialang.org/u/vaeli)\
**Replies:** 8\
**Last updated:** [October 11, 2020, 8:56pm UTC](https://discourse.julialang.org/t/string-colon-string-would-fit-the-language/48090 "2020-10-11T20:56:29Z")

</div>

How is called the colon operator? Logically, using colons for strings as an abstract operation would fit the language. It is clear for ordered lists, like “a”, “b”, “c”, “d” gives “b”:“c” value “b”, “c”; where ordered a…

---

## [Params not getting updated during training](https://discourse.julialang.org/t/params-not-getting-updated-during-training/47985)

<div class="topic-metadata">

**Author:** [@m\_scorpion](https://discourse.julialang.org/u/m_scorpion)\
**Replies:** 25\
**Last updated:** [October 11, 2020, 9:12pm UTC](https://discourse.julialang.org/t/params-not-getting-updated-during-training/47985 "2020-10-11T21:12:49Z")

</div>

im very new to julia and flux, so i wrote a very simple program and rand into lots of problems which solved some of them. but my main problem is that during training model weights and biases donot get updated. model = …

---

## [Summing (StatsModels) terms](https://discourse.julialang.org/t/summing-statsmodels-terms/47648)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 10\
**Last updated:** [October 11, 2020, 9:09pm UTC](https://discourse.julialang.org/t/summing-statsmodels-terms/47648 "2020-10-11T21:09:55Z")

</div>

I know that I can do ts = term(:x) spec = ts ~ term(1) + sum(lag(ts, i) for i in 1:n) which just puts n lags of this variable separately on the right hand side of the equation. How can I combine them, so that sum(lag(…

---

## [PSA: Formatting REPL snippets on Stack Overflow](https://discourse.julialang.org/t/psa-formatting-repl-snippets-on-stack-overflow/48181)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 0\
**Last updated:** [October 11, 2020, 8:39pm UTC](https://discourse.julialang.org/t/psa-formatting-repl-snippets-on-stack-overflow/48181 "2020-10-11T20:39:47Z")

</div>

Stack Overflow recently changed their syntax highlighter from Google Prettify to highlight.js: I’ve noticed that now snippets of code from the Julia REPL often get highlighted funny, like this: Here you can see th…

---

## [Makie not updating scene in Jupyter](https://discourse.julialang.org/t/makie-not-updating-scene-in-jupyter/48179)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 0\
**Last updated:** [October 11, 2020, 8:03pm UTC](https://discourse.julialang.org/t/makie-not-updating-scene-in-jupyter/48179 "2020-10-11T20:03:17Z")

</div>

I want to update a plot in Jupyter notebook by clicking a button. I’m using Makie and Interact. Here is a minimal example: using Makie, AbstractPlotting, WGLMakie using Interact t=0:1e-3:1 y1 = sin.(2pi\*10\*t).\*exp.(-t/…

---

## [Exucute code in VS Code](https://discourse.julialang.org/t/exucute-code-in-vs-code/48171)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 14\
**Last updated:** [October 11, 2020, 8:02pm UTC](https://discourse.julialang.org/t/exucute-code-in-vs-code/48171 "2020-10-11T20:02:19Z")

</div>

I’m trying to use VS Code, and I got the REPL to run, as well as doing a little bit of arithmatic, but I’m not sure how to run a file.

---

## [\[ANN\] SafeREPL: use BigInt by default at the REPL](https://discourse.julialang.org/t/ann-saferepl-use-bigint-by-default-at-the-repl/41271)

<div class="topic-metadata">

**Author:** [@rfourquet](https://discourse.julialang.org/u/rfourquet)\
**Replies:** 18\
**Last updated:** [October 10, 2020, 1:10pm UTC](https://discourse.julialang.org/t/ann-saferepl-use-bigint-by-default-at-the-repl/41271 "2020-10-10T13:10:52Z")

</div>

With Julia 1.5 around the corner, I’m happy to present SafeREPL, a little experimental package which by default interprets Int and Int128 REPL literals as BigInt, and Float64 literals as BigFloat: julia\> using SafeREP…

---

## [Why Unions dont inheret its union?](https://discourse.julialang.org/t/why-unions-dont-inheret-its-union/48166)

<div class="topic-metadata">

**Author:** [@systems](https://discourse.julialang.org/u/systems)\
**Replies:** 9\
**Last updated:** [October 11, 2020, 6:01pm UTC](https://discourse.julialang.org/t/why-unions-dont-inheret-its-union/48166 "2020-10-11T18:01:27Z")

</div>

Why does this return false IntOrString = Union{Int,AbstractString} (IntOrString \<: String, IntOrString \<: Int) I am not questioning the decision, just curious to know the reason behind it Also while we are at it why a…

---

## [No REPL and no way to open Julia in Atom](https://discourse.julialang.org/t/no-repl-and-no-way-to-open-julia-in-atom/45434)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 5\
**Last updated:** [October 11, 2020, 5:48pm UTC](https://discourse.julialang.org/t/no-repl-and-no-way-to-open-julia-in-atom/45434 "2020-10-11T17:48:53Z")

</div>

I somehow got rid of the REPL, and now can’t load Julia in Atom. How do I get it back? Do I need to provide a list of relevant packages for atom?

---

## [Fastest way to \`unique!\`](https://discourse.julialang.org/t/fastest-way-to-unique/47952)

<div class="topic-metadata">

**Author:** [@abulak](https://discourse.julialang.org/u/abulak)\
**Replies:** 17\
**Last updated:** [October 11, 2020, 5:33pm UTC](https://discourse.julialang.org/t/fastest-way-to-unique/47952 "2020-10-11T17:33:14Z")

</div>

Problem formulation I have an array old::Vector{T} of somewhat complicated structs; I have an array new::Vector{T} of other complicated structs. I want an array result::Vector{T} which contains a single element for eac…

---

## [IJulia Installation Problem](https://discourse.julialang.org/t/ijulia-installation-problem/48169)

<div class="topic-metadata">

**Author:** [@Zehra112](https://discourse.julialang.org/u/Zehra112)\
**Replies:** 0\
**Last updated:** [October 11, 2020, 4:04pm UTC](https://discourse.julialang.org/t/ijulia-installation-problem/48169 "2020-10-11T16:04:03Z")

</div>

Hi everyone, I have just installed Julia v.1.5.2(Sep 23,2020). I am new in Juila, and I want to add IJulia. → \] → add IJulia are my steps, but I get an error. I read some questions about this before but I coudnt fix my p…

---

## [How to create a help (?) entry for a custom function?](https://discourse.julialang.org/t/how-to-create-a-help-entry-for-a-custom-function/48165)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 2\
**Last updated:** [October 11, 2020, 3:40pm UTC](https://discourse.julialang.org/t/how-to-create-a-help-entry-for-a-custom-function/48165 "2020-10-11T15:40:25Z")

</div>

I could not find in the docs how to create a ? entry for a function of a custom package. (meaning, the information that appears when one types ? function in the REPL). Searching for “?”, “help”, “help entry repl” didn’t…

---

## [Am I allowed to make stroke fonts (single-line fonts) which take a cue from JuliaMono?](https://discourse.julialang.org/t/am-i-allowed-to-make-stroke-fonts-single-line-fonts-which-take-a-cue-from-juliamono/47731)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 9\
**Last updated:** [October 11, 2020, 1:54pm UTC](https://discourse.julialang.org/t/am-i-allowed-to-make-stroke-fonts-single-line-fonts-which-take-a-cue-from-juliamono/47731 "2020-10-11T13:54:32Z")

</div>

This is an issue that should be resolved privately with @cormullion, but I’ll note it here because I’d like to hear what other developers have to say. (Edit: Incidentally, I sent this topic to the community category bec…

---

## [Error using plot function](https://discourse.julialang.org/t/error-using-plot-function/47743)

<div class="topic-metadata">

**Author:** [@Hrishikesh\_Das](https://discourse.julialang.org/u/Hrishikesh_Das)\
**Replies:** 6\
**Last updated:** [October 11, 2020, 2:49pm UTC](https://discourse.julialang.org/t/error-using-plot-function/47743 "2020-10-11T14:49:43Z")

</div>

I am new to Julia. I am using a 64 bit Windows 7 OS. Julia Version is 1.5.2. I installed the Plots package but I cannot use the plot function. using Plots x = 1:10; y = rand(10, 2) plot(x, y) I am getting this error. …

---

## [How to let Julia use my LaTeX installed in a different directory](https://discourse.julialang.org/t/how-to-let-julia-use-my-latex-installed-in-a-different-directory/48138)

<div class="topic-metadata">

**Author:** [@tzxiong](https://discourse.julialang.org/u/tzxiong)\
**Replies:** 2\
**Last updated:** [October 11, 2020, 1:20pm UTC](https://discourse.julialang.org/t/how-to-let-julia-use-my-latex-installed-in-a-different-directory/48138 "2020-10-11T13:20:48Z")

</div>

I am running Julia on a cluster system and I installed a separate LaTeX engine in my personal directory: /PATH\_TO\_LATEX/ But in my julia console, it is using a different latex engine as when I type Sys.which("latex") …

---

## [When to use QRSHManager?](https://discourse.julialang.org/t/when-to-use-qrshmanager/47154)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [October 11, 2020, 1:20pm UTC](https://discourse.julialang.org/t/when-to-use-qrshmanager/47154 "2020-10-11T13:20:36Z")

</div>

@bjarthur mentioned that QRSHManager can increase reliability on some systems: Julia workers can frequently timeout waiting for the standard output files to appear. In this case, it’s better to use the QRSHManager, whi…

---

## [Questions about saving data to a DataFrame](https://discourse.julialang.org/t/questions-about-saving-data-to-a-dataframe/48156)

<div class="topic-metadata">

**Author:** [@adeil](https://discourse.julialang.org/u/adeil)\
**Replies:** 1\
**Last updated:** [October 11, 2020, 1:13pm UTC](https://discourse.julialang.org/t/questions-about-saving-data-to-a-dataframe/48156 "2020-10-11T13:13:53Z")

</div>

In this my code the Dataframe appears only one line. I’d like him to keep all the movement data. using Printf v₀ = 3 # velocidade inicial g = 9.81 # aceleração da gravidade t = range(0,1, length=100) # 1000 pontos no…

---

## [Automerge is Failing is it because of Version Number?](https://discourse.julialang.org/t/automerge-is-failing-is-it-because-of-version-number/48150)

<div class="topic-metadata">

**Author:** [@DataPsycho](https://discourse.julialang.org/u/DataPsycho)\
**Replies:** 1\
**Last updated:** [October 11, 2020, 10:38am UTC](https://discourse.julialang.org/t/automerge-is-failing-is-it-because-of-version-number/48150 "2020-10-11T10:38:42Z")

</div>

Hi, My auto merge is failing not sure why. Is it because of the version number? Can some one help me to identify. Here is the auto merge pipeline. Also can someone explain what does that mean in the guideline? \[compa…

---

## [Max() bug?](https://discourse.julialang.org/t/max-bug/48070)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 6\
**Last updated:** [October 11, 2020, 9:28am UTC](https://discourse.julialang.org/t/max-bug/48070 "2020-10-11T09:28:02Z")

</div>

julia\> a=\[1,2,3\]; julia\> b=\[10,-Inf,9\]; julia\> c=\[-30,5,2\]; julia\> max(a,b,c) 3-element Array{Float64,1}: 10.0 -Inf 9.0 julia\> max.(a,b,c) 3-element Array{Float64,1}: 10.0 5.0 9.0 max.(a,b,c) is correct. Why…

---

## [Is there a \`find\_include\`/\`find\_header\` function similar to \`Libdl\`'s \`find\_library\` function?](https://discourse.julialang.org/t/is-there-a-find-include-find-header-function-similar-to-libdl-s-find-library-function/48145)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 0\
**Last updated:** [October 11, 2020, 6:15am UTC](https://discourse.julialang.org/t/is-there-a-find-include-find-header-function-similar-to-libdl-s-find-library-function/48145 "2020-10-11T06:15:31Z")

</div>

In trixi-framework/P4est.jl#9 we are trying to allow swapping the p4est library backend at package build time, similar to what MPI.jl does. However, in addition to the library itself we require the corresponding header f…

---

## [Understanding the performance costs of generating functions on the fly](https://discourse.julialang.org/t/understanding-the-performance-costs-of-generating-functions-on-the-fly/47990)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 10\
**Last updated:** [October 11, 2020, 12:35am UTC](https://discourse.julialang.org/t/understanding-the-performance-costs-of-generating-functions-on-the-fly/47990 "2020-10-11T00:35:37Z")

</div>

Hello, I’m trying to figure out the best way for DataFramesMeta and I want to understand the performance implications of the following. Go through an expression and find all the symbols that are in the propertynames of…

---

## [Adding Packages in VS code](https://discourse.julialang.org/t/adding-packages-in-vs-code/48134)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 7\
**Last updated:** [October 11, 2020, 2:33am UTC](https://discourse.julialang.org/t/adding-packages-in-vs-code/48134 "2020-10-11T02:33:14Z")

</div>

I just added Julia to VS Code, and wrote my “Hello World” Program. But, when I try to use pkg.add(“Calulus.jl”) to add a calculus package, I get a load error.

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

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