# Latest

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

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

**Page:** 889

---

## [ChainRulesCore and ForwardDiff](https://discourse.julialang.org/t/chainrulescore-and-forwarddiff/61705)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 15\
**Last updated:** [October 21, 2022, 4:14pm UTC](https://discourse.julialang.org/t/chainrulescore-and-forwarddiff/61705 "2022-10-21T16:14:20Z")

</div>

If I want to define derivatives for a function to work with ForwardDiff, is it sufficient to define a ChainRulesCore.frule, or is there something else? The rule does not seem to be used, instead the original function is…

---

## [Find where a specific method gets called](https://discourse.julialang.org/t/find-where-a-specific-method-gets-called/89068)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 2\
**Last updated:** [October 21, 2022, 3:09pm UTC](https://discourse.julialang.org/t/find-where-a-specific-method-gets-called/89068 "2022-10-21T15:09:07Z")

</div>

Is there a way to find all places in my code base where a specific method (not function!) gets called (or may get called)? The method in question for me is Base.\*, so greping for \* over the whole code base produces way t…

---

## [Nonlinear semidefinite programming recommendation](https://discourse.julialang.org/t/nonlinear-semidefinite-programming-recommendation/75338)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 17\
**Last updated:** [October 21, 2022, 2:38pm UTC](https://discourse.julialang.org/t/nonlinear-semidefinite-programming-recommendation/75338 "2022-10-21T14:38:10Z")

</div>

I want to do the following optimization: \\min E \\ \\ \\text{s.t.} \\ \\ x \\in \\mathbb{R}, \\ \\ \\text{$M$ is semidefinite}, where M\_{ij} is a polynominal of x and E. Is there a Julia package suitable for this problem?

---

## [Translate a 1d convolution from Keras to Julia?](https://discourse.julialang.org/t/translate-a-1d-convolution-from-keras-to-julia/88903)

<div class="topic-metadata">

**Author:** [@elii17](https://discourse.julialang.org/u/elii17)\
**Replies:** 3\
**Last updated:** [October 21, 2022, 2:18pm UTC](https://discourse.julialang.org/t/translate-a-1d-convolution-from-keras-to-julia/88903 "2022-10-21T14:18:15Z")

</div>

Hey ! I am trying to reproduce this python code in julia : (Supervised graph classification with Deep Graph CNN — StellarGraph 1.2.1 documentation). While the GNN part is completely fine, I am finding myself to struggle…

---

## [Configure a specific axis in a figure with multiple subplots](https://discourse.julialang.org/t/configure-a-specific-axis-in-a-figure-with-multiple-subplots/89014)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 5\
**Last updated:** [October 21, 2022, 1:44pm UTC](https://discourse.julialang.org/t/configure-a-specific-axis-in-a-figure-with-multiple-subplots/89014 "2022-10-21T13:44:47Z")

</div>

Today it gave me a headache to understand how to plot two subplots, one with a single y-axis and another with two y-axis with specific axis titles. The logic seems to be, each subplot with one y-axis adds 1 y-axis and ea…

---

## [Performance of Horner's method on Vector Polynomial vs Multiplication by Vandermonde Matrix](https://discourse.julialang.org/t/performance-of-horners-method-on-vector-polynomial-vs-multiplication-by-vandermonde-matrix/89035)

<div class="topic-metadata">

**Author:** [@ndinsmore](https://discourse.julialang.org/u/ndinsmore)\
**Replies:** 7\
**Last updated:** [October 21, 2022, 1:30pm UTC](https://discourse.julialang.org/t/performance-of-horners-method-on-vector-polynomial-vs-multiplication-by-vandermonde-matrix/89035 "2022-10-21T13:30:24Z")

</div>

We all know that Horner’s method should be the fastest way to evaluate a polynomial. So it holds that should also be true for a monomial vector polynomial, the coefficients which can be stored in a matrix. Assuming you…

---

## [Autocomplete for keys of keyword arguments; is it possible?](https://discourse.julialang.org/t/autocomplete-for-keys-of-keyword-arguments-is-it-possible/70780)

<div class="topic-metadata">

**Author:** [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Replies:** 5\
**Last updated:** [October 21, 2022, 1:22pm UTC](https://discourse.julialang.org/t/autocomplete-for-keys-of-keyword-arguments-is-it-possible/70780 "2022-10-21T13:22:01Z")

</div>

is there anyway to have autocomplete for keyword arguments?

---

## [Is there an equivalent of eachindex() for DataFrames?](https://discourse.julialang.org/t/is-there-an-equivalent-of-eachindex-for-dataframes/88945)

<div class="topic-metadata">

**Author:** [@phantom](https://discourse.julialang.org/u/phantom)\
**Replies:** 13\
**Last updated:** [October 21, 2022, 10:18am UTC](https://discourse.julialang.org/t/is-there-an-equivalent-of-eachindex-for-dataframes/88945 "2022-10-21T10:18:13Z")

</div>

Hi suppose I have an array and want append some string to entry I can iterate across it with eachindex() singers = \[\["Marley", "Kiiara", "Sinead"\] \["Rynn","Illenium","Nelly"\]\] for k = eachindex(singers) singers\[k\] = "$…

---

## [CallWithMetadata has no field val error for simple PDE system in ModelingToolkit](https://discourse.julialang.org/t/callwithmetadata-has-no-field-val-error-for-simple-pde-system-in-modelingtoolkit/89055)

<div class="topic-metadata">

**Author:** [@hbooth](https://discourse.julialang.org/u/hbooth)\
**Replies:** 2\
**Last updated:** [October 21, 2022, 1:02pm UTC](https://discourse.julialang.org/t/callwithmetadata-has-no-field-val-error-for-simple-pde-system-in-modelingtoolkit/89055 "2022-10-21T13:02:26Z")

</div>

Hi using DifferentialEquations using ModelingToolkit, MethodOfLines @parameters x @variables t c(..) Dx = Differential(x) Dxx = Differential(x)^2 Dt = Differential(t) L = 1. D = 0.16 k = 1. j0 = 0.4 eq = Dt(c(t,x))…

---

## [Optimizing over the quantum entropy cone natively in JuMP](https://discourse.julialang.org/t/optimizing-over-the-quantum-entropy-cone-natively-in-jump/59833)

<div class="topic-metadata">

**Author:** [@ryancorywright](https://discourse.julialang.org/u/ryancorywright)\
**Replies:** 6\
**Last updated:** [October 21, 2022, 12:33pm UTC](https://discourse.julialang.org/t/optimizing-over-the-quantum-entropy-cone-natively-in-jump/59833 "2022-10-21T12:33:31Z")

</div>

Hi everyone, I was wondering if it was possible to optimize over the quantum entropy cone natively in JuMP. If you need a reminder, the cone is \\{(X\_1, X\_2, X\_3): X\_1 \\preceq X\_2^{\\frac{1}{2}} \\log(X\_2^{\\frac{-1}{2}}X…

---

## [Stack Overflow confusion](https://discourse.julialang.org/t/stack-overflow-confusion/89054)

<div class="topic-metadata">

**Author:** [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Replies:** 3\
**Last updated:** [October 21, 2022, 12:01pm UTC](https://discourse.julialang.org/t/stack-overflow-confusion/89054 "2022-10-21T12:01:28Z")

</div>

const Tmp{T \<: AbstractFloat} = SMatrix{3,4,T,12} Why does this overflow? Tmp(rand(Float32,3,4)) of course, this works, Tmp{Float32}(rand(Float32,3,4)) but I don’t understand why the first case overflows.

---

## [First call latency in distributed code](https://discourse.julialang.org/t/first-call-latency-in-distributed-code/88917)

<div class="topic-metadata">

**Author:** [@shce](https://discourse.julialang.org/u/shce)\
**Replies:** 42\
**Last updated:** [October 21, 2022, 11:52am UTC](https://discourse.julialang.org/t/first-call-latency-in-distributed-code/88917 "2022-10-21T11:52:38Z")

</div>

Hello! I am facing with an issue I haven’t encountered so far with distributed code. I have a code to optimize some function f for several initial conditions. Function f might be very complicated. To avoid high times i…

---

## [Unable to update to latest version of Pluto v0.19.14](https://discourse.julialang.org/t/unable-to-update-to-latest-version-of-pluto-v0-19-14/89052)

<div class="topic-metadata">

**Author:** [@walterlee](https://discourse.julialang.org/u/walterlee)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 11:35am UTC](https://discourse.julialang.org/t/unable-to-update-to-latest-version-of-pluto-v0-19-14/89052 "2022-10-21T11:35:28Z")

</div>

Hi Julia members, I need help as below, which it is unable to update to latest version of Julia @ v0.19.14. Kindly refer to the message below (@v1.8) pkg\> add Pluto@v0.19.14 Resolving package versions… ERROR: Unsatis…

---

## [\`Plots.jl\` spline](https://discourse.julialang.org/t/plots-jl-spline/88720)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 8\
**Last updated:** [October 21, 2022, 11:30am UTC](https://discourse.julialang.org/t/plots-jl-spline/88720 "2022-10-21T11:30:26Z")

</div>

How can I plot a line with line\_style=spline in Plots.jl? For an example of what I’m after see the ‘spline’ trace in these plotly docs The closest I can find in the docs is about how to step Any suggestions should be a…

---

## [Package manager always downgrades specific package for no reason](https://discourse.julialang.org/t/package-manager-always-downgrades-specific-package-for-no-reason/89018)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 14\
**Last updated:** [October 21, 2022, 11:19am UTC](https://discourse.julialang.org/t/package-manager-always-downgrades-specific-package-for-no-reason/89018 "2022-10-21T11:19:14Z")

</div>

I recently updated to 1.8.2, but I think this was also happening previously. I have a package without any dependency forcing it to a lower version, but whenever I run update, the package manager proceeds to downgrade it…

---

## [Can't get rid of legend in Plotlyjs.jl](https://discourse.julialang.org/t/cant-get-rid-of-legend-in-plotlyjs-jl/88910)

<div class="topic-metadata">

**Author:** [@1153dent](https://discourse.julialang.org/u/1153dent)\
**Replies:** 12\
**Last updated:** [October 21, 2022, 10:39am UTC](https://discourse.julialang.org/t/cant-get-rid-of-legend-in-plotlyjs-jl/88910 "2022-10-21T10:39:28Z")

</div>

Hi all I am using julia 1.8.2 PlotlyJS v0.18.10 I want to remove the legend from this plot I tried using using PlotlyJS make\_plot() = plot(scatter(x=1:10, y=rand(10)), Layout(yaxis\_visible=fa…

---

## [Changing line color Theme in CairoMakie and GLMakie](https://discourse.julialang.org/t/changing-line-color-theme-in-cairomakie-and-glmakie/88990)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 7\
**Last updated:** [October 21, 2022, 9:40am UTC](https://discourse.julialang.org/t/changing-line-color-theme-in-cairomakie-and-glmakie/88990 "2022-10-21T09:40:22Z")

</div>

I’m trying to define a custom plotting theme in Makie.jl. I want to remove the default color cycle for Lines and have black be the default color. I’m not sure if my syntax is correct, but it works in CairoMakie. But, whe…

---

## [How to integrate out latent variables/ intermediate values in Turing model](https://discourse.julialang.org/t/how-to-integrate-out-latent-variables-intermediate-values-in-turing-model/89003)

<div class="topic-metadata">

**Author:** [@neuro\_enthusiast](https://discourse.julialang.org/u/neuro_enthusiast)\
**Replies:** 4\
**Last updated:** [October 21, 2022, 9:27am UTC](https://discourse.julialang.org/t/how-to-integrate-out-latent-variables-intermediate-values-in-turing-model/89003 "2022-10-21T09:27:05Z")

</div>

Hi all, my generative model has the following form. P(y |\\theta) = \\int P(y|x) P(x|\\theta) dx I want to get the posterior of θ given fixed data y. But I unfortunately don’t have an analytical solution for the inte…

---

## [Function conflict with different signatures](https://discourse.julialang.org/t/function-conflict-with-different-signatures/88921)

<div class="topic-metadata">

**Author:** [@RockerM4NHUN](https://discourse.julialang.org/u/RockerM4NHUN)\
**Replies:** 5\
**Last updated:** [October 21, 2022, 8:10am UTC](https://discourse.julialang.org/t/function-conflict-with-different-signatures/88921 "2022-10-21T08:10:34Z")

</div>

Hi! I’m trying to organize a bigger project into multiple modules and I want to create function overloads specific to types found in those modules. Before all my code was in a single module and worked fine, but now my f…

---

## [Installing "uber-juno@0.3.0" failed in atom](https://discourse.julialang.org/t/installing-uber-juno-0-3-0-failed-in-atom/89047)

<div class="topic-metadata">

**Author:** [@Rocco\_Suanno](https://discourse.julialang.org/u/Rocco_Suanno)\
**Replies:** 2\
**Last updated:** [October 21, 2022, 7:28am UTC](https://discourse.julialang.org/t/installing-uber-juno-0-3-0-failed-in-atom/89047 "2022-10-21T07:28:42Z")

</div>

I can’t install the uber-juno package in atom. A discussion in this forum suggested to disable windows firewall and defender. But even after disabling them, I get this error when i try to install uber-juno in atom: npm…

---

## [Move light source and material in MakieGL](https://discourse.julialang.org/t/move-light-source-and-material-in-makiegl/89044)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 6:42am UTC](https://discourse.julialang.org/t/move-light-source-and-material-in-makiegl/89044 "2022-10-21T06:42:13Z")

</div>

Hey I’m trying to move the light source in MakieGL for a 3D plot. I can’t find it for the current version. Note that here LScene they do it, but that code doesn’t work anymore in the current version. I have not being a…

---

## [Matrix SDEs](https://discourse.julialang.org/t/matrix-sdes/89038)

<div class="topic-metadata">

**Author:** [@simoneb](https://discourse.julialang.org/u/simoneb)\
**Replies:** 2\
**Last updated:** [October 21, 2022, 6:20am UTC](https://discourse.julialang.org/t/matrix-sdes/89038 "2022-10-21T06:20:47Z")

</div>

Hi all, I am trying to fit the following matrix SDE using the following code: G = \[0 -1; 1 0\]; p = (A=G, B=G) function drift(du, u, p, t) ## drift function for the SDE du = t \* p.A; end # drift function diffusion…

---

## [Help with Arrow.jl and size of files](https://discourse.julialang.org/t/help-with-arrow-jl-and-size-of-files/89028)

<div class="topic-metadata">

**Author:** [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Replies:** 23\
**Last updated:** [October 21, 2022, 2:40am UTC](https://discourse.julialang.org/t/help-with-arrow-jl-and-size-of-files/89028 "2022-10-21T02:40:20Z")

</div>

I was recently exploring the Arrow.jl package and arrow package in R. I had a project where I needed to write a function to convert a large file in Julia, then port it to R for another package we need to use there. I wr…

---

## [Open Data Specialist, HHMI Janelia Research Campus](https://discourse.julialang.org/t/open-data-specialist-hhmi-janelia-research-campus/82321)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 12:33am UTC](https://discourse.julialang.org/t/open-data-specialist-hhmi-janelia-research-campus/82321 "2022-10-21T00:33:31Z")

</div>

An exciting Open Science position @HHMIJanelia – We are looking for an Open Data Specialist to identify, develop, and execute best practices for data formatting, metadata, organization, interoperability, rapid diss…

---

## [The default iteration interface can cause memory leak?](https://discourse.julialang.org/t/the-default-iteration-interface-can-cause-memory-leak/88986)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 5\
**Last updated:** [October 20, 2022, 10:55pm UTC](https://discourse.julialang.org/t/the-default-iteration-interface-can-cause-memory-leak/88986 "2022-10-20T22:55:39Z")

</div>

I just read about the post “Iterate on it” which says the current implementation of iterate could cause a memory leak since the xs must remain alive over the entire loop and that is uneconomic for linked lists: next = i…

---

## [Using sysimages in CI?](https://discourse.julialang.org/t/using-sysimages-in-ci/89021)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 2\
**Last updated:** [October 20, 2022, 8:46pm UTC](https://discourse.julialang.org/t/using-sysimages-in-ci/89021 "2022-10-20T20:46:00Z")

</div>

I have a test suite that, when executed on Github Actions takes 15ish minutes to precompile all dependencies and other TTFX tasks and then only 3ish minutes to actually run the tests. Is there a way to have a sysimage t…

---

## [Automatic function generation for finite-difference stencils using metaprogramming](https://discourse.julialang.org/t/automatic-function-generation-for-finite-difference-stencils-using-metaprogramming/88928)

<div class="topic-metadata">

**Author:** [@smartalecH](https://discourse.julialang.org/u/smartalecH)\
**Replies:** 10\
**Last updated:** [October 20, 2022, 8:38pm UTC](https://discourse.julialang.org/t/automatic-function-generation-for-finite-difference-stencils-using-metaprogramming/88928 "2022-10-20T20:38:39Z")

</div>

I’m working on a basic finite difference code that can have a wide variety of finite-difference stencils based on the simulation’s parameters. In short, there is a “general case” from which all of the stencils are derive…

---

## [Functions with a bang!](https://discourse.julialang.org/t/functions-with-a-bang/89032)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 5\
**Last updated:** [October 20, 2022, 7:40pm UTC](https://discourse.julialang.org/t/functions-with-a-bang/89032 "2022-10-20T19:40:52Z")

</div>

I’m currently going through this excellent book on getting started with Julia, and I’ve run into a behavior I don’t quite understand. The book provides this example of a function that overwrites its inputs: function add…

---

## [Reducing framework overhead of solving a simple JuMP model in a hot loop](https://discourse.julialang.org/t/reducing-framework-overhead-of-solving-a-simple-jump-model-in-a-hot-loop/88977)

<div class="topic-metadata">

**Author:** [@erwinkn](https://discourse.julialang.org/u/erwinkn)\
**Replies:** 4\
**Last updated:** [October 20, 2022, 7:34pm UTC](https://discourse.julialang.org/t/reducing-framework-overhead-of-solving-a-simple-jump-model-in-a-hot-loop/88977 "2022-10-20T19:34:57Z")

</div>

I have a nonlinear JuMP model that is used in a hot loop: it is run 4000-8000 times, each run with a different set of parameters. The reason for this loop is that I want to perform global sensitivity analysis on the para…

---

## [Custom transport for Distributed.jl to utilize Infiniband and avoid MPI?](https://discourse.julialang.org/t/custom-transport-for-distributed-jl-to-utilize-infiniband-and-avoid-mpi/74097)

<div class="topic-metadata">

**Author:** [@fgerick](https://discourse.julialang.org/u/fgerick)\
**Replies:** 4\
**Last updated:** [October 20, 2022, 3:29pm UTC](https://discourse.julialang.org/t/custom-transport-for-distributed-jl-to-utilize-infiniband-and-avoid-mpi/74097 "2022-10-20T15:29:49Z")

</div>

Hi, I was wondering if there’s any prospect of Distributed.jl and/or Dagger.jl to support interconnects such as Infiniband on HPC clusters? There’s a nice summary of the downsides of MPI.jl and Distributed.jl in this p…

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

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