# Latest

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

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

**Page:** 1088

---

## [Differentialequations.jl - modify \`u\` in \`f\` possible without callback?](https://discourse.julialang.org/t/differentialequations-jl-modify-u-in-f-possible-without-callback/78335)

<div class="topic-metadata">

**Author:** [@fabern](https://discourse.julialang.org/u/fabern)\
**Replies:** 4\
**Last updated:** [March 24, 2022, 3:19pm UTC](https://discourse.julialang.org/t/differentialequations-jl-modify-u-in-f-possible-without-callback/78335 "2022-03-24T15:19:52Z")

</div>

Dear all, I’m wondering if it is possible to set the value of some states to a known value from within the rhs-function f? E.g. by setting u to the desired value and du to 0. Without modfication of u it seems difficult …

---

## [Compatibility specification with version number and package location?](https://discourse.julialang.org/t/compatibility-specification-with-version-number-and-package-location/78343)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 7\
**Last updated:** [March 24, 2022, 2:57pm UTC](https://discourse.julialang.org/t/compatibility-specification-with-version-number-and-package-location/78343 "2022-03-24T14:57:15Z")

</div>

If I’m developing PkgA and have a dependency to a package that I’ve forked from github (and exists in the general registry) and I add this package to my Project.toml with pkg\>add http://github.com/ForkedPackage.jl How …

---

## [Category for ANN: publications](https://discourse.julialang.org/t/category-for-ann-publications/30239)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 4\
**Last updated:** [March 24, 2022, 2:42pm UTC](https://discourse.julialang.org/t/category-for-ann-publications/30239 "2022-03-24T14:42:31Z")

</div>

TLDR I want to know what my favorite package authors are writing up these days Julia users are often working on new and exciting ways to apply computation to problems. Sometimes this stuff ends up as packages, and I enj…

---

## [How to save a structure instance (inside module) in JLD2, to load it later correctly?](https://discourse.julialang.org/t/how-to-save-a-structure-instance-inside-module-in-jld2-to-load-it-later-correctly/78339)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 10\
**Last updated:** [March 24, 2022, 2:11pm UTC](https://discourse.julialang.org/t/how-to-save-a-structure-instance-inside-module-in-jld2-to-load-it-later-correctly/78339 "2022-03-24T14:11:19Z")

</div>

What should I add in initilizeFile.jl to make readingFile.jl gives the type of Sim as Simulation not JLD2.ReconstructedTypes.var"##Main.readApp.Simulation#292"(2.0, 4.0) with warning? initilizeFile.jl is: module readAp…

---

## [Work opportunity at climate tech startup](https://discourse.julialang.org/t/work-opportunity-at-climate-tech-startup/72024)

<div class="topic-metadata">

**Author:** [@Ilana\_Milkes](https://discourse.julialang.org/u/Ilana_Milkes)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 1:52pm UTC](https://discourse.julialang.org/t/work-opportunity-at-climate-tech-startup/72024 "2022-03-24T13:52:49Z")

</div>

Hey there, Julia Community! I am the founder at ePioneers, a startup working on building web3 infrastructure to democratize climate portfolios. We are looking for a data scientist to help us build models and their visua…

---

## [How to obtain the gradients of intermediate variables with Flux](https://discourse.julialang.org/t/how-to-obtain-the-gradients-of-intermediate-variables-with-flux/55913)

<div class="topic-metadata">

**Author:** [@AquaIndigo](https://discourse.julialang.org/u/AquaIndigo)\
**Replies:** 11\
**Last updated:** [March 24, 2022, 1:24pm UTC](https://discourse.julialang.org/t/how-to-obtain-the-gradients-of-intermediate-variables-with-flux/55913 "2022-03-24T13:24:22Z")

</div>

Hi, I would like to get the gradients of the outputs of some hidden layer. For example,y = 5x, z = y / 4 and I want to obtain \\frac{\\partial z}{\\partial y}, but y is the intermediate output of an NN. So how can I do tha…

---

## [UndefVarError from LoopVectorization.@turbo](https://discourse.julialang.org/t/undefvarerror-from-loopvectorization-turbo/78381)

<div class="topic-metadata">

**Author:** [@fredrikpaues](https://discourse.julialang.org/u/fredrikpaues)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 11:58am UTC](https://discourse.julialang.org/t/undefvarerror-from-loopvectorization-turbo/78381 "2022-03-24T11:58:34Z")

</div>

I’m having trouble trying to use LoopVectorization.@turbo—it gives an ERROR: UndefVarError: i1 not defined. I suspect that the issue stem from the “strange” format of the weights and indices inputs. (The reason for the …

---

## [\[ANN\] Kyulacs.jl (Julia interface for qulacs)](https://discourse.julialang.org/t/ann-kyulacs-jl-julia-interface-for-qulacs/78385)

<div class="topic-metadata">

**Author:** [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 11:51am UTC](https://discourse.julialang.org/t/ann-kyulacs-jl-julia-interface-for-qulacs/78385 "2022-03-24T11:51:32Z")

</div>

Hi, everyone. I’m happy announce the release of Kyulacs.jl. Kyulacs.jl is Julia interface for qulacs. Qulacs is a Python/C++ library for fast simulation of large, noisy, or parametric quantum circuits. This package do…

---

## [Makie: heatmap with inset](https://discourse.julialang.org/t/makie-heatmap-with-inset/78372)

<div class="topic-metadata">

**Author:** [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Replies:** 4\
**Last updated:** [March 24, 2022, 11:50am UTC](https://discourse.julialang.org/t/makie-heatmap-with-inset/78372 "2022-03-24T11:50:33Z")

</div>

Hi everyone, I am trying to plot an inset inside of a heatmap and would like a semi-transparent background for the inset to make the line more visible. However, it seems that all “background” attributes (i.e. axis tick…

---

## [What is the better way to make a countplot?](https://discourse.julialang.org/t/what-is-the-better-way-to-make-a-countplot/78364)

<div class="topic-metadata">

**Author:** [@folleyz](https://discourse.julialang.org/u/folleyz)\
**Replies:** 4\
**Last updated:** [March 24, 2022, 11:10am UTC](https://discourse.julialang.org/t/what-is-the-better-way-to-make-a-countplot/78364 "2022-03-24T11:10:58Z")

</div>

Hi everybody! I’m trying to make a countplot with StatsPlots, and i’m using the code below, that works, but i want to know if have a simplest or clever way to achieve this. begin @df df Plots.bar(unique(df.Gender), \[c…

---

## [Hosting interactive pluto notebook on web/Github](https://discourse.julialang.org/t/hosting-interactive-pluto-notebook-on-web-github/47167)

<div class="topic-metadata">

**Author:** [@jalapic](https://discourse.julialang.org/u/jalapic)\
**Replies:** 29\
**Last updated:** [March 23, 2022, 10:39am UTC](https://discourse.julialang.org/t/hosting-interactive-pluto-notebook-on-web-github/47167 "2022-03-23T10:39:06Z")

</div>

Hello. I’m very new to Julia. I did dabble with it about 3 years ago, but only in the last week have I decided to work much more with it. I’m a very long time R user. I have been working through the pluto.jl examples an…

---

## [MLDatasets.jl make GitHub CI failing](https://discourse.julialang.org/t/mldatasets-jl-make-github-ci-failing/78356)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 10:28am UTC](https://discourse.julialang.org/t/mldatasets-jl-make-github-ci-failing/78356 "2022-03-24T10:28:34Z")

</div>

Hello, my call to MLDatasets.MNIST.traindata() make my CI action to fail because of the interactive part. Isn’t there any option to get a non-interactive version?

---

## [Why is there no \`permutedims!(dest,src)\`?](https://discourse.julialang.org/t/why-is-there-no-permutedims-dest-src/78320)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [March 24, 2022, 4:17am UTC](https://discourse.julialang.org/t/why-is-there-no-permutedims-dest-src/78320 "2022-03-24T04:17:29Z")

</div>

There is a permutedims(A::AbstractMatrix), and a permutedims!(dest, src, perm). Seems like there should be a method permutedims!(dest::AbstractMatrix, src::AbstractMatrix), with the default perm being \[2,1\].

---

## [Eltype and dimensions from function definition](https://discourse.julialang.org/t/eltype-and-dimensions-from-function-definition/78374)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 6\
**Last updated:** [March 24, 2022, 9:52am UTC](https://discourse.julialang.org/t/eltype-and-dimensions-from-function-definition/78374 "2022-03-24T09:52:50Z")

</div>

I would like to use a matrix function as basis for defining more complex structures. For this, I need to determine cheaply the eltype of the result and the dimensions. To be concrete, I have a matrix function defined as …

---

## [BoundsError on Bayesian ODE model with Turing](https://discourse.julialang.org/t/boundserror-on-bayesian-ode-model-with-turing/74147)

<div class="topic-metadata">

**Author:** [@spinystellate](https://discourse.julialang.org/u/spinystellate)\
**Replies:** 13\
**Last updated:** [March 24, 2022, 8:47am UTC](https://discourse.julialang.org/t/boundserror-on-bayesian-ode-model-with-turing/74147 "2022-03-24T08:47:53Z")

</div>

I posted this question here already: but unfortunately it has not attracted any responses, so I think it may be more appropriate in this category. (I did not seem to be able to edit the category in the original post.) …

---

## [Removing duplicate legend items](https://discourse.julialang.org/t/removing-duplicate-legend-items/78348)

<div class="topic-metadata">

**Author:** [@b-fg](https://discourse.julialang.org/u/b-fg)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 8:28am UTC](https://discourse.julialang.org/t/removing-duplicate-legend-items/78348 "2022-03-24T08:28:04Z")

</div>

In Plots.jl, is it possible to scan the Plot object legend items so I can remove the ones that are duplicated? Thanks!

---

## [Can I syntax-highlight matlab code block with Documenter.jl](https://discourse.julialang.org/t/can-i-syntax-highlight-matlab-code-block-with-documenter-jl/78373)

<div class="topic-metadata">

**Author:** [@jorgepz](https://discourse.julialang.org/u/jorgepz)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 8:25am UTC](https://discourse.julialang.org/t/can-i-syntax-highlight-matlab-code-block-with-documenter-jl/78373 "2022-03-24T08:25:13Z")

</div>

Me and some colleagues are using Documenter.jl to document a Matlab/Octave package (which will be migrated to Julia in some near future) and the result has been excellent Home · ONSAS.m I was wondering if would it be po…

---

## [Avoid runtime dispatch when overloading \`isless()\`](https://discourse.julialang.org/t/avoid-runtime-dispatch-when-overloading-isless/78366)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 8:22am UTC](https://discourse.julialang.org/t/avoid-runtime-dispatch-when-overloading-isless/78366 "2022-03-24T08:22:28Z")

</div>

I have been learning to use JET.jl to improve the performance of my code. I am still getting familiar with its output. I would appreciate some help understanding why the function below produces a runtime dispatch warning…

---

## [Windows Visual Studio c++ data live plotting onto Julia](https://discourse.julialang.org/t/windows-visual-studio-c-data-live-plotting-onto-julia/78371)

<div class="topic-metadata">

**Author:** [@particlereddy](https://discourse.julialang.org/u/particlereddy)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 2:23am UTC](https://discourse.julialang.org/t/windows-visual-studio-c-data-live-plotting-onto-julia/78371 "2022-03-24T02:23:53Z")

</div>

Hi, New to Julia. project: visual studio c++ code OS: windows 64-bit \[1\] I have around 136 data variables and wanted to plot them real-time \[in series\]. \[2\] updation rate of each variable is 100millisecond. Is ther…

---

## [JULIA\_NUM\_THREADS in VS Code (Windows 10 + WSL)](https://discourse.julialang.org/t/julia-num-threads-in-vs-code-windows-10-wsl/28794)

<div class="topic-metadata">

**Author:** [@Ininterrompue](https://discourse.julialang.org/u/Ininterrompue)\
**Replies:** 11\
**Last updated:** [March 24, 2022, 1:36am UTC](https://discourse.julialang.org/t/julia-num-threads-in-vs-code-windows-10-wsl/28794 "2022-03-24T01:36:51Z")

</div>

I recently came across this thread: about setting the environment variable JULIA\_NUM\_THREADS in Windows, and was wondering if anyone know how this would work in VS Code (context: I am using a computer with Windows 10 …

---

## [Pkg.add and package development best practices?](https://discourse.julialang.org/t/pkg-add-and-package-development-best-practices/78318)

<div class="topic-metadata">

**Author:** [@Philogicatician](https://discourse.julialang.org/u/Philogicatician)\
**Replies:** 8\
**Last updated:** [March 24, 2022, 1:01am UTC](https://discourse.julialang.org/t/pkg-add-and-package-development-best-practices/78318 "2022-03-24T01:01:25Z")

</div>

Quick question: Is it better to use # In a Julia script using Pkg Pkg.add("MyPackageName") or julia\> \] # enters the pkg interface pkg\> add MyPackageName when advising people to use a package? Context I ask because…

---

## [Expectation(mean) of a discrete random variable](https://discourse.julialang.org/t/expectation-mean-of-a-discrete-random-variable/78359)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 5\
**Last updated:** [March 24, 2022, 12:25am UTC](https://discourse.julialang.org/t/expectation-mean-of-a-discrete-random-variable/78359 "2022-03-24T00:25:08Z")

</div>

Hello, good evening. I’am reading a book about statistics and got the equation the expectation or mean of a discrete random variable as: by the book the result is 1.25 But in package Statistics or Distributions, the…

---

## [How to plot histogram subplots of a DataFrame?](https://discourse.julialang.org/t/how-to-plot-histogram-subplots-of-a-dataframe/78355)

<div class="topic-metadata">

**Author:** [@folleyz](https://discourse.julialang.org/u/folleyz)\
**Replies:** 11\
**Last updated:** [March 23, 2022, 11:40pm UTC](https://discourse.julialang.org/t/how-to-plot-histogram-subplots-of-a-dataframe/78355 "2022-03-23T23:40:54Z")

</div>

Hello Everybody! I have a question, i’m refatoring my old python projects to Julia and i have a doubt in a situation. Looks how i plot using python matplotlib: df.hist(figsize=(12,10)); And now using Julia StatsP…

---

## [Optional Keyword arguments](https://discourse.julialang.org/t/optional-keyword-arguments/78353)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 9:40pm UTC](https://discourse.julialang.org/t/optional-keyword-arguments/78353 "2022-03-23T21:40:33Z")

</div>

I am exploring how to use optional keyword arguments. I understand the syntax of giving the argument a default value in the function call statement. However, it must be possible to give default values without putting t…

---

## [Generic interface to iterate over stored elements of array?](https://discourse.julialang.org/t/generic-interface-to-iterate-over-stored-elements-of-array/77867)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 8:26pm UTC](https://discourse.julialang.org/t/generic-interface-to-iterate-over-stored-elements-of-array/77867 "2022-03-23T20:26:41Z")

</div>

I’m playing with making a simple optimization package generic to any type of input. It is already generic to inputs in the form vectors, matrices, number types (precision), units, etc. But I could not yet make it generi…

---

## [Solving block matrix system with factorized blocks](https://discourse.julialang.org/t/solving-block-matrix-system-with-factorized-blocks/78351)

<div class="topic-metadata">

**Author:** [@jinml](https://discourse.julialang.org/u/jinml)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 8:14pm UTC](https://discourse.julialang.org/t/solving-block-matrix-system-with-factorized-blocks/78351 "2022-03-23T20:14:31Z")

</div>

Is there are package that can construct a block matrix A with pre-factorized blocks, and make use of the factorization to solve Ax=b? BlockArrays.jl seems able to use \\ but not factorized blocks, BlockFactorizations.jl …

---

## [Best practice for academic code reproducibility (Manifest.toml between versions of julia)](https://discourse.julialang.org/t/best-practice-for-academic-code-reproducibility-manifest-toml-between-versions-of-julia/78307)

<div class="topic-metadata">

**Author:** [@owensnick](https://discourse.julialang.org/u/owensnick)\
**Replies:** 6\
**Last updated:** [March 23, 2022, 8:03pm UTC](https://discourse.julialang.org/t/best-practice-for-academic-code-reproducibility-manifest-toml-between-versions-of-julia/78307 "2022-03-23T20:03:52Z")

</div>

Hello, I’m trying to figure out the best practice for reproducible sharing of Julia code for an academic paper. I have a project for which I’m sharing both Project.toml and Manifest.toml to instantiate the exact same pa…

---

## [Trying to sample my Gaussian Process with MCMC](https://discourse.julialang.org/t/trying-to-sample-my-gaussian-process-with-mcmc/78342)

<div class="topic-metadata">

**Author:** [@mirror63](https://discourse.julialang.org/u/mirror63)\
**Replies:** 1\
**Last updated:** [March 23, 2022, 7:02pm UTC](https://discourse.julialang.org/t/trying-to-sample-my-gaussian-process-with-mcmc/78342 "2022-03-23T19:02:36Z")

</div>

Hello I am using GuassianProcessess.jl, I have been looking at their tutorial (Simple GP Regression · GaussianProcesses.jl) and implement it. Likewise, I want to implement a kernel with summing its value. Now I would lik…

---

## [Julia for Data Science](https://discourse.julialang.org/t/julia-for-data-science/78341)

<div class="topic-metadata">

**Author:** [@LispyArnuld](https://discourse.julialang.org/u/LispyArnuld)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 6:56pm UTC](https://discourse.julialang.org/t/julia-for-data-science/78341 "2022-03-23T18:56:54Z")

</div>

I searched for “Julia for data science” and got these 2 hits. Are these good places to learn from: https://juliadatascience.io/

---

## [Package change registered web address](https://discourse.julialang.org/t/package-change-registered-web-address/78338)

<div class="topic-metadata">

**Author:** [@monty](https://discourse.julialang.org/u/monty)\
**Replies:** 2\
**Last updated:** [March 23, 2022, 5:57pm UTC](https://discourse.julialang.org/t/package-change-registered-web-address/78338 "2022-03-23T17:57:25Z")

</div>

I have a package thatt is already registered. It is located on github. However, I want to change github web address to point to a different organization. I want to move CanDecomp.jl from https://github.com/TensorDecomp…

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

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