# Latest

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

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

**Page:** 1111

---

## [Large performance regression in nightly build](https://discourse.julialang.org/t/large-performance-regression-in-nightly-build/76440)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 6\
**Last updated:** [February 25, 2022, 11:05pm UTC](https://discourse.julialang.org/t/large-performance-regression-in-nightly-build/76440 "2022-02-25T23:05:13Z")

</div>

Update the 1.8dev version today and … | | |\_| | | | (\_| | | Version 1.8.0-DEV.1519 (2022-02-13) \_/ |\\\_\_'\_|\_|\_|\\\_\_'\_| | Commit 1978580e72 (1 day old master) |\_\_/ | julia\> cd("C:/v"); @time using…

---

## [Makie recipe arguments](https://discourse.julialang.org/t/makie-recipe-arguments/77047)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 10:30pm UTC](https://discourse.julialang.org/t/makie-recipe-arguments/77047 "2022-02-25T22:30:07Z")

</div>

I’m trying a write a recipe in Makie, but cannot use the extracted x and y values from the recipe. I’m following the example in the documentation, as well as the examples in basic\_recipes.jl (particularly pie.jl). The er…

---

## [Is this design pattern of \`::Val{}\` dispatching evil?](https://discourse.julialang.org/t/is-this-design-pattern-of-val-dispatching-evil/54365)

<div class="topic-metadata">

**Author:** [@korsbo](https://discourse.julialang.org/u/korsbo)\
**Replies:** 10\
**Last updated:** [February 25, 2022, 10:25pm UTC](https://discourse.julialang.org/t/is-this-design-pattern-of-val-dispatching-evil/54365 "2022-02-25T22:25:02Z")

</div>

I’d like some feedback on a seemingly functional design involving recursion and a whole lot of ::Val{} overloads. I think that my time in the Julia community has conditioned me to shy away from such dispatching and proba…

---

## [List of packages in a registry Julia 1.7+](https://discourse.julialang.org/t/list-of-packages-in-a-registry-julia-1-7/77082)

<div class="topic-metadata">

**Author:** [@thazhemadam](https://discourse.julialang.org/u/thazhemadam)\
**Replies:** 7\
**Last updated:** [February 25, 2022, 10:22pm UTC](https://discourse.julialang.org/t/list-of-packages-in-a-registry-julia-1-7/77082 "2022-02-25T22:22:25Z")

</div>

Previously, I could just run TOML.parsefile("General/Registry.toml")\["packages"\] to get the list of all the packages registered in the General registry. However, with Julia 1.7, the General directory has been replaced w…

---

## [Why would you create a subtype of \`Function\`?](https://discourse.julialang.org/t/why-would-you-create-a-subtype-of-function/77087)

<div class="topic-metadata">

**Author:** [@nchisholm](https://discourse.julialang.org/u/nchisholm)\
**Replies:** 3\
**Last updated:** [February 25, 2022, 9:58pm UTC](https://discourse.julialang.org/t/why-would-you-create-a-subtype-of-function/77087 "2022-02-25T21:58:03Z")

</div>

I am curious about the utility of creating abstract or concrete subtypes of Function. Aside from syntactic convenience, I am not sure of the distinction between a singleton type that is given several methods and a funct…

---

## [Reading Excel Data From PlutoUI File Picker](https://discourse.julialang.org/t/reading-excel-data-from-plutoui-file-picker/77034)

<div class="topic-metadata">

**Author:** [@Nicks](https://discourse.julialang.org/u/Nicks)\
**Replies:** 5\
**Last updated:** [February 25, 2022, 8:56pm UTC](https://discourse.julialang.org/t/reading-excel-data-from-plutoui-file-picker/77034 "2022-02-25T20:56:29Z")

</div>

I’m using a PlutoUI filepicker and for a CSV file I can read the data for CSV with CSV.File but I’m stumped at how to do this for a .xlsx file. Everything for reading .xlsx files seems to want a path but the the filepick…

---

## [Issue providing start/hint values to variables with Gurobi](https://discourse.julialang.org/t/issue-providing-start-hint-values-to-variables-with-gurobi/77079)

<div class="topic-metadata">

**Author:** [@umbe](https://discourse.julialang.org/u/umbe)\
**Replies:** 4\
**Last updated:** [February 25, 2022, 6:54pm UTC](https://discourse.julialang.org/t/issue-providing-start-hint-values-to-variables-with-gurobi/77079 "2022-02-25T18:54:22Z")

</div>

Hello to everyone! I am trying to provide initial guess values or hint values to some variables of an optimization problem, which is intended to be solved using Gurobi. I have read this previous topic for the assignment…

---

## [Issues with Graphs.jl and GraphPlot](https://discourse.julialang.org/t/issues-with-graphs-jl-and-graphplot/76932)

<div class="topic-metadata">

**Author:** [@Temi-Tory](https://discourse.julialang.org/u/Temi-Tory)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 5:57pm UTC](https://discourse.julialang.org/t/issues-with-graphs-jl-and-graphplot/76932 "2022-02-25T17:57:18Z")

</div>

Hello, I am not sure what is causing the following error message and I have been stuck for hours now :frowning: please help. For some reason, gplot is not working. My code: import Cairo,Fontconfig using Random, Gra…

---

## [In Julia Turing: getting AssertionError: model isa Model](https://discourse.julialang.org/t/in-julia-turing-getting-assertionerror-model-isa-model/76927)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 5:55pm UTC](https://discourse.julialang.org/t/in-julia-turing-getting-assertionerror-model-isa-model/76927 "2022-02-25T17:55:42Z")

</div>

Hi All, I am executing below code mentioned in the Turing.jl Guide. This code can be used to calculate likelihood for the Turing model. However I am getting below mentioned error. Please let me know what I may be doing …

---

## [Fastest, simplest, least resource-hungry and prettiest visualization package right now? (Feb/March 2022)](https://discourse.julialang.org/t/fastest-simplest-least-resource-hungry-and-prettiest-visualization-package-right-now-feb-march-2022/77042)

<div class="topic-metadata">

**Author:** [@Ouji](https://discourse.julialang.org/u/Ouji)\
**Replies:** 11\
**Last updated:** [February 25, 2022, 5:47pm UTC](https://discourse.julialang.org/t/fastest-simplest-least-resource-hungry-and-prettiest-visualization-package-right-now-feb-march-2022/77042 "2022-02-25T17:47:51Z")

</div>

Please note I don’t want to depreciate anyone or any package, but I really wanted to know. I did see some threads, but there didn’t seem to be any definitive conclusion, and time-wise we are now at a later point. So I th…

---

## [PythonCall equivalent to PyCall's pytype\_mapping?](https://discourse.julialang.org/t/pythoncall-equivalent-to-pycalls-pytype-mapping/77086)

<div class="topic-metadata">

**Author:** [@j\_verzani](https://discourse.julialang.org/u/j_verzani)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 5:37pm UTC](https://discourse.julialang.org/t/pythoncall-equivalent-to-pycalls-pytype-mapping/77086 "2022-02-25T17:37:24Z")

</div>

In SymPy.jl there is use of PyCall’s pytype\_mapping to automatically convert sympy objects in Python into a typed object in Julia. It looks like in PythonCall, the pyconvert\_add\_rule does something similar, but I can’t s…

---

## [JuMP v0.23 is released](https://discourse.julialang.org/t/jump-v0-23-is-released/77045)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 8\
**Last updated:** [February 25, 2022, 4:55pm UTC](https://discourse.julialang.org/t/jump-v0-23-is-released/77045 "2022-02-25T16:55:51Z")

</div>

We are pleased to announce the release of JuMP v0.23 and MathOptInterface v1.0. This is an important release for two reasons. First, it serves as a release candidate for JuMP v1.0. Our criteria for tagging an official …

---

## [How do I exit a function early and return nothing?](https://discourse.julialang.org/t/how-do-i-exit-a-function-early-and-return-nothing/77078)

<div class="topic-metadata">

**Author:** [@a.frist](https://discourse.julialang.org/u/a.frist)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 4:08pm UTC](https://discourse.julialang.org/t/how-do-i-exit-a-function-early-and-return-nothing/77078 "2022-02-25T16:08:25Z")

</div>

I have a function that takes a dataframe and performs some basic calculations. Sometimes when performing said calculations the data frame becomes empty (the details don’t matter). I’m having trouble checking if the dataf…

---

## [Symbolic Optimization](https://discourse.julialang.org/t/symbolic-optimization/77077)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 3:30pm UTC](https://discourse.julialang.org/t/symbolic-optimization/77077 "2022-02-25T15:30:29Z")

</div>

Hello, Is there a way to use Julia to solve for symbolic optimization problems. What I have in mind is something that works like Mathematica (or Wolfram Alpha) but with a nice syntax and decent computation speeds that c…

---

## [StatsBase vs Statistics](https://discourse.julialang.org/t/statsbase-vs-statistics/15326)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 11\
**Last updated:** [February 25, 2022, 3:16pm UTC](https://discourse.julialang.org/t/statsbase-vs-statistics/15326 "2022-02-25T15:16:52Z")

</div>

I am wondering whether the naming of StatsBase and Statistics is entirely logical. StatsBase, despite its name, is the “more optional” package. Statistics is included in the base. StatsBase needs to be Pkg.added. may…

---

## [Efficient way of doing matmul along 3rd dimension](https://discourse.julialang.org/t/efficient-way-of-doing-matmul-along-3rd-dimension/77075)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 3\
**Last updated:** [February 25, 2022, 3:05pm UTC](https://discourse.julialang.org/t/efficient-way-of-doing-matmul-along-3rd-dimension/77075 "2022-02-25T15:05:35Z")

</div>

Hi, I’ve been looking for a way to do matmul operations along slices of the 3rd dims of a 3D tensor. I’ve had a look at Tullio.jl and TensorCast.jl but I’m not sure they are designed to do this. Basically I want to do …

---

## [Opt-in \[compat\] tests ok ? augment ver list;](https://discourse.julialang.org/t/opt-in-compat-tests-ok-augment-ver-list/77048)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 5\
**Last updated:** [February 25, 2022, 2:51pm UTC](https://discourse.julialang.org/t/opt-in-compat-tests-ok-augment-ver-list/77048 "2022-02-25T14:51:46Z")

</div>

The introduction of a new version for a \[compat\] listed package results in nonempty status --outdated often enough that a safe opt-in way of reducing these events is desirable. To ensure the processing happen only if th…

---

## [SimpleContainerGenerator Error](https://discourse.julialang.org/t/simplecontainergenerator-error/77072)

<div class="topic-metadata">

**Author:** [@austinbean](https://discourse.julialang.org/u/austinbean)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 2:18pm UTC](https://discourse.julialang.org/t/simplecontainergenerator-error/77072 "2022-02-25T14:18:59Z")

</div>

I’m trying to generate a Docker image so I can turn that into a Singularity image using SimpleContainerGenerator. I unfortunately get an error. I would love to fix this if anyone has advice! I have the following file …

---

## [Help with derivatives of matrix functions](https://discourse.julialang.org/t/help-with-derivatives-of-matrix-functions/76437)

<div class="topic-metadata">

**Author:** [@raktim](https://discourse.julialang.org/u/raktim)\
**Replies:** 8\
**Last updated:** [February 25, 2022, 2:02pm UTC](https://discourse.julialang.org/t/help-with-derivatives-of-matrix-functions/76437 "2022-02-25T14:02:39Z")

</div>

Hi I have a matrix function G(x): \\mathbb{R}^n \\mapsto \\mathbb{R}^{n\\times n}, where x\\in\\mathbb{R}^n is a vector, and would like to use AD to compute derivatives \\frac{\\partial^2 G\_{ij}(x)}{\\partial x\_i \\partial x\_j}, w…

---

## [Recursive @generated functions with function barriers causes allocations](https://discourse.julialang.org/t/recursive-generated-functions-with-function-barriers-causes-allocations/76910)

<div class="topic-metadata">

**Author:** [@jg-854](https://discourse.julialang.org/u/jg-854)\
**Replies:** 6\
**Last updated:** [February 25, 2022, 1:49pm UTC](https://discourse.julialang.org/t/recursive-generated-functions-with-function-barriers-causes-allocations/76910 "2022-02-25T13:49:48Z")

</div>

Hey! I am using generated functions in a recursive manner, and I have formed a contrived example which highlights how unnecessary allocations can occur. First, I will show you the efficient case @generated function Fac…

---

## [Recommendations for Julia & SQL Workflow with Jupyter or VSCode](https://discourse.julialang.org/t/recommendations-for-julia-sql-workflow-with-jupyter-or-vscode/76698)

<div class="topic-metadata">

**Author:** [@Ouji](https://discourse.julialang.org/u/Ouji)\
**Replies:** 14\
**Last updated:** [February 25, 2022, 1:43pm UTC](https://discourse.julialang.org/t/recommendations-for-julia-sql-workflow-with-jupyter-or-vscode/76698 "2022-02-25T13:43:44Z")

</div>

Earlier, I went to Neptune, then Pluto, and I was in the process of finding a kind of setup for Julia and SQL. So far, I’ve had some success, but I’m not there yet. I thought that maybe I went about it the wrong way. So …

---

## [Code availability macro for \`pmap\`](https://discourse.julialang.org/t/code-availability-macro-for-pmap/77065)

<div class="topic-metadata">

**Author:** [@Uroc327](https://discourse.julialang.org/u/Uroc327)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 1:26pm UTC](https://discourse.julialang.org/t/code-availability-macro-for-pmap/77065 "2022-02-25T13:26:01Z")

</div>

Is there a macro similar to @distributed for for pmap (or some pmapreduce, which I’d love to have in official repos, btw), that takes care of making sure all functions and variables and everything is available at the wor…

---

## [Can I use GR / Plots to create a pixel-perfect image?](https://discourse.julialang.org/t/can-i-use-gr-plots-to-create-a-pixel-perfect-image/77057)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 4\
**Last updated:** [February 25, 2022, 1:08pm UTC](https://discourse.julialang.org/t/can-i-use-gr-plots-to-create-a-pixel-perfect-image/77057 "2022-02-25T13:08:35Z")

</div>

Is there a way to guarantee that no sampling occurs in GR, and i.e. my (3000, 4000) array is rasterized without any sampling? I want each pixel to correspond to an array element in my PNG. From reading the GR docs about r…

---

## [How to remove the "snow" from Pluto notebooks](https://discourse.julialang.org/t/how-to-remove-the-snow-from-pluto-notebooks/77054)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 12:51pm UTC](https://discourse.julialang.org/t/how-to-remove-the-snow-from-pluto-notebooks/77054 "2022-02-25T12:51:12Z")

</div>

When I start a Pluto notebook, the first cell contains the message Happy holiday! Remember to take care of yourself and your loved ones! and there’s an animation going on on the notebook, with falling snow. I would like …

---

## [How to generate plots in documentation?](https://discourse.julialang.org/t/how-to-generate-plots-in-documentation/77009)

<div class="topic-metadata">

**Author:** [@Giulio\_Benedetti](https://discourse.julialang.org/u/Giulio_Benedetti)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 12:42pm UTC](https://discourse.julialang.org/t/how-to-generate-plots-in-documentation/77009 "2022-02-25T12:42:38Z")

</div>

Hi! My question is somewhat related to this topic, but its solution doesn’t work in my case. I’d like the code chunks within my docs/src/ directory to automatically generate images inside the docs upon deployment. In fa…

---

## [Valid path to Julia executable in VS Code on MacOS?](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027)

<div class="topic-metadata">

**Author:** [@jjdegruijter](https://discourse.julialang.org/u/jjdegruijter)\
**Replies:** 8\
**Last updated:** [February 25, 2022, 11:28am UTC](https://discourse.julialang.org/t/valid-path-to-julia-executable-in-vs-code-on-macos/77027 "2022-02-25T11:28:00Z")

</div>

I installed julia-1.6, VS Code, and setting julia.executablePath. When I try to run one of my Julia codes, I keep getting the message: “Could not start the Julia language server. Make sure the configuration setting jul…

---

## [Debugger usage: step over evaluations in function arguments, straight into the function](https://discourse.julialang.org/t/debugger-usage-step-over-evaluations-in-function-arguments-straight-into-the-function/77018)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 8\
**Last updated:** [February 25, 2022, 11:11am UTC](https://discourse.julialang.org/t/debugger-usage-step-over-evaluations-in-function-arguments-straight-into-the-function/77018 "2022-02-25T11:11:15Z")

</div>

When using Debugger.jl from the REPL, I often find I have a function call like @views foo!(a\[:,j,i\], b\[j\], c.bar) To actually step into the body of foo!(), I find myself first stepping into getindex()/getproperty()/etc…

---

## [Local problem solved by OS update](https://discourse.julialang.org/t/local-problem-solved-by-os-update/77049)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 8:15am UTC](https://discourse.julialang.org/t/local-problem-solved-by-os-update/77049 "2022-02-25T08:15:11Z")

</div>

EDIT: After other progams were acting up, I updated my OS. Now everything works just fine. The OP can be seen below, but I do not see any reason why anyone should read it. I am sorry for simply dumping a bunch of erro…

---

## [Grid in Heatmap](https://discourse.julialang.org/t/grid-in-heatmap/77017)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 7:05am UTC](https://discourse.julialang.org/t/grid-in-heatmap/77017 "2022-02-25T07:05:03Z")

</div>

Hi, I’m working on a simple A-star viz and was wondering if it’s possible to plot a grid on a heatmap. My current heatmap on Makie looks like: I want it to have grids, preferably a Major grid (every 5-10 ticks) and a…

---

## [Data augmentation for audio](https://discourse.julialang.org/t/data-augmentation-for-audio/31117)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 5\
**Last updated:** [February 25, 2022, 5:59am UTC](https://discourse.julialang.org/t/data-augmentation-for-audio/31117 "2022-02-25T05:59:32Z")

</div>

Hey! We are likely to embark on an adventure to create something very similar to @Evizero’s excellent package Augmentor.jl, but for environmental acoustic recordings. I think the overall idea of Augmentor.jl looks solid…

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

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