# Latest

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

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

**Page:** 1044

---

## [How to review your own enviroment in reinforce.jl](https://discourse.julialang.org/t/how-to-review-your-own-enviroment-in-reinforce-jl/80807)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 4\
**Last updated:** [May 11, 2022, 3:32pm UTC](https://discourse.julialang.org/t/how-to-review-your-own-enviroment-in-reinforce-jl/80807 "2022-05-11T15:32:28Z")

</div>

Hello all, I have written a custom enviroment in reinforce.jl and now I want to check if it is correct (i.e. if the actions and the step function work as thought). For this I wanted to call the functions one by one in …

---

## [Deleting upper and lower bounds JuMP@0.22.3 Clp@0.9.1](https://discourse.julialang.org/t/deleting-upper-and-lower-bounds-jump-0-22-3-clp-0-9-1/80842)

<div class="topic-metadata">

**Author:** [@marouane1994](https://discourse.julialang.org/u/marouane1994)\
**Replies:** 3\
**Last updated:** [May 11, 2022, 11:38am UTC](https://discourse.julialang.org/t/deleting-upper-and-lower-bounds-jump-0-22-3-clp-0-9-1/80842 "2022-05-11T11:38:27Z")

</div>

It’s been quite some time since last time i used JuMP now i came back to it and changed some of old syntax of this code: using JuMP using Clp function scan\_maker(A) m = Model(Clp.Optimizer) JuMP.set\_optimizer\_a…

---

## [How to get markdown language plugins?](https://discourse.julialang.org/t/how-to-get-markdown-language-plugins/80884)

<div class="topic-metadata">

**Author:** [@Rratic](https://discourse.julialang.org/u/Rratic)\
**Replies:** 2\
**Last updated:** [May 11, 2022, 1:49pm UTC](https://discourse.julialang.org/t/how-to-get-markdown-language-plugins/80884 "2022-05-11T13:49:21Z")

</div>

I’m currently trying to parse some markdown files with julia-language quotes to html. Since it’s too slow to open pages by pluto and I need to insert things like gitalk, I don’t want a fully wrapped one. Obviously Markd…

---

## [Use extension for mathjax in Franklin app](https://discourse.julialang.org/t/use-extension-for-mathjax-in-franklin-app/80806)

<div class="topic-metadata">

**Author:** [@paradoxical-rhapsody](https://discourse.julialang.org/u/paradoxical-rhapsody)\
**Replies:** 4\
**Last updated:** [May 11, 2022, 2:40pm UTC](https://discourse.julialang.org/t/use-extension-for-mathjax-in-franklin-app/80806 "2022-05-11T14:40:13Z")

</div>

In my pratice, I would like to use actuarial symbols in my Franklin app, but the KaTeX does not support these symbols. Following the instruction about using mathjax, the math formula are rendered perfectly. Then maybe …

---

## [Issue in ModellingToolkit using Flux.destructure](https://discourse.julialang.org/t/issue-in-modellingtoolkit-using-flux-destructure/80876)

<div class="topic-metadata">

**Author:** [@ap2013](https://discourse.julialang.org/u/ap2013)\
**Replies:** 5\
**Last updated:** [May 11, 2022, 2:21pm UTC](https://discourse.julialang.org/t/issue-in-modellingtoolkit-using-flux-destructure/80876 "2022-05-11T14:21:35Z")

</div>

After updating the packages on my project, I am getting an unexpected error. The project builds an ODE system composed of multiple systems. The ODE system that is raising the error is function MLP\_controller(nn; n=:MLP…

---

## [Strong typed Dict{String, Int64} getindex(String) returns Any instead of Int64 value type?](https://discourse.julialang.org/t/strong-typed-dict-string-int64-getindex-string-returns-any-instead-of-int64-value-type/80856)

<div class="topic-metadata">

**Author:** [@FireCrumb](https://discourse.julialang.org/u/FireCrumb)\
**Replies:** 3\
**Last updated:** [May 11, 2022, 2:10pm UTC](https://discourse.julialang.org/t/strong-typed-dict-string-int64-getindex-string-returns-any-instead-of-int64-value-type/80856 "2022-05-11T14:10:40Z")

</div>

If my Dict has a strong type defining it’s keys and values (and indeed it doesn’t let me add a different type), then why getindex from said Dict returns unstable Any? julia\> mydict = Dict(\[("A", 1), ("B", 2)\]) Dict{Stri…

---

## [Fancy Arrays: between 1 axis with compound keys, and multiple axes](https://discourse.julialang.org/t/fancy-arrays-between-1-axis-with-compound-keys-and-multiple-axes/80843)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 5\
**Last updated:** [May 11, 2022, 1:47pm UTC](https://discourse.julialang.org/t/fancy-arrays-between-1-axis-with-compound-keys-and-multiple-axes/80843 "2022-05-11T13:47:18Z")

</div>

One case i have had recently is wanting to view a AxisKeys KeyedArray that came from some panel data either as a Matrix which is keyed by by location and time; or as a Vector which is keyed by a NamedTuple(location=...…

---

## [Splatting arrays to tuples](https://discourse.julialang.org/t/splatting-arrays-to-tuples/80878)

<div class="topic-metadata">

**Author:** [@CMoebus](https://discourse.julialang.org/u/CMoebus)\
**Replies:** 3\
**Last updated:** [May 11, 2022, 1:04pm UTC](https://discourse.julialang.org/t/splatting-arrays-to-tuples/80878 "2022-05-11T13:04:26Z")

</div>

Hi, I want to transpile Scheme scripts into Julia. So I have to convert arrays into tuples and vice versa. Whereas the conversion of arrays into tuple works well with the splatting operator “…” (e.g.: \[(:a, :b, :c)…\] ==\> …

---

## [Opinions on CLASP and Extempore?](https://discourse.julialang.org/t/opinions-on-clasp-and-extempore/80866)

<div class="topic-metadata">

**Author:** [@cancandan](https://discourse.julialang.org/u/cancandan)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 8:28am UTC](https://discourse.julialang.org/t/opinions-on-clasp-and-extempore/80866 "2022-05-11T08:28:20Z")

</div>

I recently learned about CLASP and Extempore. I wonder what folks here think about them. They seem to have much in common with Julia, like the unmatched “liveness”, that facilitates, as Paul Graham says, “design by evolu…

---

## [ERROR: BoundsError when using function taking dataframe as input](https://discourse.julialang.org/t/error-boundserror-when-using-function-taking-dataframe-as-input/80877)

<div class="topic-metadata">

**Author:** [@Skander1993](https://discourse.julialang.org/u/Skander1993)\
**Replies:** 12\
**Last updated:** [May 11, 2022, 1:20pm UTC](https://discourse.julialang.org/t/error-boundserror-when-using-function-taking-dataframe-as-input/80877 "2022-05-11T13:20:42Z")

</div>

Hi there, I have been experiencing a bound error while using a function taking as input a dataframe and returning one as well. I have tried different versions of the code hereafter function Getdf(df\_in) cert = conv…

---

## [\[ANN\] HorseML.jlv0.4.1: Many ML algorithms](https://discourse.julialang.org/t/ann-horseml-jlv0-4-1-many-ml-algorithms/80703)

<div class="topic-metadata">

**Author:** [@QGMW22](https://discourse.julialang.org/u/QGMW22)\
**Replies:** 1\
**Last updated:** [May 11, 2022, 12:53pm UTC](https://discourse.julialang.org/t/ann-horseml-jlv0-4-1-many-ml-algorithms/80703 "2022-05-11T12:53:42Z")

</div>

I released a new version of HorseML. I’m developing this package as ML package with which you can use many algorithms easily. I’ve added some algorithms of Clustering to this package. The added algorithms is: Xmeans D…

---

## [Change the Name of \_Signal Processing\_ Sub Forum into \_Signal and Image Processing\_](https://discourse.julialang.org/t/change-the-name-of-signal-processing-sub-forum-into-signal-and-image-processing/80269)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 2\
**Last updated:** [May 11, 2022, 12:39pm UTC](https://discourse.julialang.org/t/change-the-name-of-signal-processing-sub-forum-into-signal-and-image-processing/80269 "2022-05-11T12:39:55Z")

</div>

I think it would make sense to change the naming of the Signal Processing sub forum into Signal and Image Processing. If traffic would justify it would be great to have both, but at the moment not having Image Processin…

---

## [Unexpected Allocations and performance loss from concrete classes](https://discourse.julialang.org/t/unexpected-allocations-and-performance-loss-from-concrete-classes/80754)

<div class="topic-metadata">

**Author:** [@djholiver](https://discourse.julialang.org/u/djholiver)\
**Replies:** 18\
**Last updated:** [May 11, 2022, 11:46am UTC](https://discourse.julialang.org/t/unexpected-allocations-and-performance-loss-from-concrete-classes/80754 "2022-05-11T11:46:15Z")

</div>

Hi, Apologies for what is probably “yet another” allocations post but I am unclear what I have done so wrong to experience the drop in performance I am experiencing. below is the original snippet that I then extend to M…

---

## [Weave hangs when trying to generate a plot](https://discourse.julialang.org/t/weave-hangs-when-trying-to-generate-a-plot/80617)

<div class="topic-metadata">

**Author:** [@pauldg](https://discourse.julialang.org/u/pauldg)\
**Replies:** 2\
**Last updated:** [May 11, 2022, 11:40am UTC](https://discourse.julialang.org/t/weave-hangs-when-trying-to-generate-a-plot/80617 "2022-05-11T11:40:56Z")

</div>

I have a histogram inside a jmd file that I want to plot: \`\`\`julia; echo = false using Plots gr() h = histogram(WEAVE\_ARGS.dict\["p\_reads"\], label="", xlabel="Number of reads", …

---

## [How Transducers.jl process table?](https://discourse.julialang.org/t/how-transducers-jl-process-table/80737)

<div class="topic-metadata">

**Author:** [@zsz00](https://discourse.julialang.org/u/zsz00)\
**Replies:** 7\
**Last updated:** [May 11, 2022, 10:19am UTC](https://discourse.julialang.org/t/how-transducers-jl-process-table/80737 "2022-05-11T10:19:03Z")

</div>

How Transducers.jl process table? get each column mean ? using Transducers, Table, Statistics N = 1\_000\_000 a = \[2randn(N÷2) .+ 6; randn(N÷2)\] b = \[3randn(N÷2); 2randn(N÷2)\] c = randn(N) d = c .+ 0.6randn(N) table = (;…

---

## [Plot frequencies instead of counts in AoG](https://discourse.julialang.org/t/plot-frequencies-instead-of-counts-in-aog/80873)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 10:02am UTC](https://discourse.julialang.org/t/plot-frequencies-instead-of-counts-in-aog/80873 "2022-05-11T10:02:07Z")

</div>

I’m doing something similar to this example: http://juliaplots.org/AlgebraOfGraphics.jl/stable/generated/analyses/#Frequency But I would like to plot frequencies instead of counts. How can I do that?

---

## [2d plot in 3d scene](https://discourse.julialang.org/t/2d-plot-in-3d-scene/80708)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 7\
**Last updated:** [May 11, 2022, 9:23am UTC](https://discourse.julialang.org/t/2d-plot-in-3d-scene/80708 "2022-05-11T09:23:45Z")

</div>

I would like to create a plot that contains two 2d heatmaps (XZ and YZ) but seen from a 3d perspective. In spirit a similar to this view: http://www.didaktikonline.physik.uni-muenchen.de/programme/dipolstr/DipoleRadiat…

---

## [Macro hygiene for macro m(ex...)](https://discourse.julialang.org/t/macro-hygiene-for-macro-m-ex/80859)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 5\
**Last updated:** [May 11, 2022, 8:59am UTC](https://discourse.julialang.org/t/macro-hygiene-for-macro-m-ex/80859 "2022-05-11T08:59:37Z")

</div>

I have two macros defined as follows: macro m1(ex) :($ex) end macro m2(ex...) :($ex) end And the results of macro expansions are: julia\> @macroexpand @m1 a, b :((Main.a, Main.b)) julia\> @macroexpand @m…

---

## [ProtoBuf Enum - NamedTuple or Base.Enums.Enum type?](https://discourse.julialang.org/t/protobuf-enum-namedtuple-or-base-enums-enum-type/80285)

<div class="topic-metadata">

**Author:** [@FireCrumb](https://discourse.julialang.org/u/FireCrumb)\
**Replies:** 1\
**Last updated:** [May 11, 2022, 4:31am UTC](https://discourse.julialang.org/t/protobuf-enum-namedtuple-or-base-enums-enum-type/80285 "2022-05-11T04:31:52Z")

</div>

Hello, I have a enum type in Protocol Buffer (ProtoBuf) enum Fruit { APPLE=1; ORANGE=2; KIWI=3; }; I want to load and use it in Julia. Searched online and arrived to ProtoBuf.jl package. In the documenta…

---

## [Kernel interruption in Jupyter](https://discourse.julialang.org/t/kernel-interruption-in-jupyter/37405)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 1\
**Last updated:** [May 11, 2022, 2:33am UTC](https://discourse.julialang.org/t/kernel-interruption-in-jupyter/37405 "2022-05-11T02:33:55Z")

</div>

I am executing somebody’s notebook in Jupyter. During a long calculation, I interrupt the cell, and the kernel restarts. All modules must be recompiled. How can I avoid this recompilation? Why should it be necessary if t…

---

## [In which journal to submit a paper about Julia, game theory and education?](https://discourse.julialang.org/t/in-which-journal-to-submit-a-paper-about-julia-game-theory-and-education/80836)

<div class="topic-metadata">

**Author:** [@fms-1988](https://discourse.julialang.org/u/fms-1988)\
**Replies:** 5\
**Last updated:** [May 11, 2022, 2:08am UTC](https://discourse.julialang.org/t/in-which-journal-to-submit-a-paper-about-julia-game-theory-and-education/80836 "2022-05-11T02:08:20Z")

</div>

Hi, I wrote a paper on how you can use the Julia language to teach game theory. The paper is reasonable, but economics and mathematics journals do not approve the paper’s submission because it is not interesting to the…

---

## [\[ANN\] Cowsay.jl v1.0.0](https://discourse.julialang.org/t/ann-cowsay-jl-v1-0-0/80854)

<div class="topic-metadata">

**Author:** [@MillironX](https://discourse.julialang.org/u/MillironX)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 1:36am UTC](https://discourse.julialang.org/t/ann-cowsay-jl-v1-0-0/80854 "2022-05-11T01:36:10Z")

</div>

julia\> using Cowsay; cowsay("Cowsay.jl v1.0.0 is out!") \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \< Cowsay.jl v1.0.0 is out! \> -------------------------- \\ ^\_\_^ \\ (oo)\\\_\_\_\_\_\_\_ (\_\_)\\ )\\/\\ …

---

## [Calling Mathematica into Julia to symbolically solve a system of non-linear equations](https://discourse.julialang.org/t/calling-mathematica-into-julia-to-symbolically-solve-a-system-of-non-linear-equations/80518)

<div class="topic-metadata">

**Author:** [@MAC](https://discourse.julialang.org/u/MAC)\
**Replies:** 18\
**Last updated:** [May 11, 2022, 1:14am UTC](https://discourse.julialang.org/t/calling-mathematica-into-julia-to-symbolically-solve-a-system-of-non-linear-equations/80518 "2022-05-11T01:14:29Z")

</div>

I’m currently using Mathematica to symbolically solve a system of non-linear ODEs (10 equations with 8 variables) as I believe this is not yet possible using Symbolics.jl. Is anyone able to comment on whether it would b…

---

## [Dynamic nested threads pre-1.8](https://discourse.julialang.org/t/dynamic-nested-threads-pre-1-8/80787)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 15\
**Last updated:** [May 11, 2022, 1:03am UTC](https://discourse.julialang.org/t/dynamic-nested-threads-pre-1-8/80787 "2022-05-11T01:03:56Z")

</div>

It’s wonderful that 1.8 provides dynamic scheduling in @threads that can (?) be nested. How can I obtain this functionality using Julia 1.7? I know that I can do @sync for and then @spawn. What other possibilities exi…

---

## [NVIDIA Driver Release 510 and Julia 1.7.2](https://discourse.julialang.org/t/nvidia-driver-release-510-and-julia-1-7-2/80451)

<div class="topic-metadata">

**Author:** [@afas](https://discourse.julialang.org/u/afas)\
**Replies:** 8\
**Last updated:** [May 10, 2022, 8:52pm UTC](https://discourse.julialang.org/t/nvidia-driver-release-510-and-julia-1-7-2/80451 "2022-05-10T20:52:55Z")

</div>

Hi everyone, I am experiencing unwanted behavior from CUDA and I was wondering if anyone has any idea about what is happening here. Brief intro: I just installed Julia 1.7.2 on a new Windows machine. CUDA was working ju…

---

## [Creating a struct containing "derived variables"](https://discourse.julialang.org/t/creating-a-struct-containing-derived-variables/80841)

<div class="topic-metadata">

**Author:** [@james3](https://discourse.julialang.org/u/james3)\
**Replies:** 3\
**Last updated:** [May 10, 2022, 8:31pm UTC](https://discourse.julialang.org/t/creating-a-struct-containing-derived-variables/80841 "2022-05-10T20:31:08Z")

</div>

I am using a struct to hold parameters of a model. For example, let’s say I have two parameters sigma and mu. It is convenient to also store some variables that are functions of these parameters in the same struct. For e…

---

## [Can I change the working directory in a file more than once?](https://discourse.julialang.org/t/can-i-change-the-working-directory-in-a-file-more-than-once/80839)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 2\
**Last updated:** [May 10, 2022, 7:50pm UTC](https://discourse.julialang.org/t/can-i-change-the-working-directory-in-a-file-more-than-once/80839 "2022-05-10T19:50:05Z")

</div>

Hey folks, I was having a little trouble getting some julia file system functions to work. The code seems correct, so I can’t tell if I made a code error, or if it is an issue with the vscode plugin, etc? I have a julia…

---

## [Zygote / ReverseDiff not matching input types](https://discourse.julialang.org/t/zygote-reversediff-not-matching-input-types/80838)

<div class="topic-metadata">

**Author:** [@evolbio](https://discourse.julialang.org/u/evolbio)\
**Replies:** 0\
**Last updated:** [May 10, 2022, 7:27pm UTC](https://discourse.julialang.org/t/zygote-reversediff-not-matching-input-types/80838 "2022-05-10T19:27:06Z")

</div>

In my code, the line (y ./ k).^h throws a Zygote / ReverseDiff error but works without problem with ForwardDiff. Here, k and h are views of a parameter vector and y is a subset of the variable vector that depends on the …

---

## [Parametron conflicts with Gurobi](https://discourse.julialang.org/t/parametron-conflicts-with-gurobi/80812)

<div class="topic-metadata">

**Author:** [@Vscinz](https://discourse.julialang.org/u/Vscinz)\
**Replies:** 3\
**Last updated:** [May 10, 2022, 7:02pm UTC](https://discourse.julialang.org/t/parametron-conflicts-with-gurobi/80812 "2022-05-10T19:02:25Z")

</div>

Hi, I tried to use Parametron.jl to solve a “parameterized family” of optimization problems (please see below) However, the inclusion of the package Parametron on Julia (v. 1.7.2) creates a problem with the package …

---

## [Pluto fails to update to version 0.19.4](https://discourse.julialang.org/t/pluto-fails-to-update-to-version-0-19-4/80825)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 2\
**Last updated:** [May 10, 2022, 5:44pm UTC](https://discourse.julialang.org/t/pluto-fails-to-update-to-version-0-19-4/80825 "2022-05-10T17:44:52Z")

</div>

Hi, I am on a Windows 10 machine, Julia 1.7.1, Pluto 0.19.3. When starting a new Pluto notebook, I saw the note thrown out by Pluto: “There is a new Pluto version …”. I tried to update my system, but it failed. Tried to…

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

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