# Latest

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

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

**Page:** 851

---

## [Turing sampling from MatrixNormal returns \`MethodError: no method matching bijector(::MatrixNormal\`](https://discourse.julialang.org/t/turing-sampling-from-matrixnormal-returns-methoderror-no-method-matching-bijector-matrixnormal/91005)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Zepeda](https://discourse.julialang.org/u/Rodrigo_Zepeda)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 3:55pm UTC](https://discourse.julialang.org/t/turing-sampling-from-matrixnormal-returns-methoderror-no-method-matching-bijector-matrixnormal/91005 "2022-11-29T15:55:00Z")

</div>

Hi! I’m trying to sample from a MatrixNormal in Turing.jl running the model below (I’m just playing around with matrix distributions there is no deeper reason for this). However I keep running into the following error (w…

---

## [Install own fork of package instead of "official" version](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 22\
**Last updated:** [November 24, 2022, 1:36pm UTC](https://discourse.julialang.org/t/install-own-fork-of-package-instead-of-official-version/62456 "2022-11-24T13:36:40Z")

</div>

I have a fork of a package. That package is a dependency of many other packages, some of which I use heavily. How can I install my fork so that the dependent packages use my fork instead of the “official” dependency? is …

---

## [Data Science for Social Good Summer Fellowship– Call for Fellows (and mentors and project managers)](https://discourse.julialang.org/t/data-science-for-social-good-summer-fellowship-call-for-fellows-and-mentors-and-project-managers/91006)

<div class="topic-metadata">

**Author:** [@Sebastian\_Vollmer](https://discourse.julialang.org/u/Sebastian_Vollmer)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 4:01pm UTC](https://discourse.julialang.org/t/data-science-for-social-good-summer-fellowship-call-for-fellows-and-mentors-and-project-managers/91006 "2022-11-29T16:01:56Z")

</div>

Data Science for Social Good Summer Fellowship– Call for Fellows The DFKI research department Data Science and its Applications (DSA) is running the Data Science for Social Good (DSSG) program in collaboration with the …

---

## [Wield behavior of multiple dispatch](https://discourse.julialang.org/t/wield-behavior-of-multiple-dispatch/90986)

<div class="topic-metadata">

**Author:** [@1115](https://discourse.julialang.org/u/1115)\
**Replies:** 6\
**Last updated:** [November 29, 2022, 3:24pm UTC](https://discourse.julialang.org/t/wield-behavior-of-multiple-dispatch/90986 "2022-11-29T15:24:20Z")

</div>

In Julia 1.8.3. Given the following two type signatures. (x::AbstractFloat, y::Number) (x::Union{Float64, ComplexF64}, y::Union{Float64, ComplexF64}) I would expect there being an ambiguity error if the input type is (…

---

## [The status of the proposal for new unicode sub(super)scripts](https://discourse.julialang.org/t/the-status-of-the-proposal-for-new-unicode-sub-super-scripts/90994)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 1:41pm UTC](https://discourse.julialang.org/t/the-status-of-the-proposal-for-new-unicode-sub-super-scripts/90994 "2022-11-29T13:41:56Z")

</div>

I have just stumbled upon the github page of subsuper-proposal to add new super- and sub-scripts to unicode for mathematical programming. It looks like the last PR is dated January 2021, which is almost two years ago. W…

---

## [Windows based CLI/VSCode Term. is not displaying data visualizations (C/P into REPL works. though)(GLMakie)](https://discourse.julialang.org/t/windows-based-cli-vscode-term-is-not-displaying-data-visualizations-c-p-into-repl-works-though-glmakie/90950)

<div class="topic-metadata">

**Author:** [@b0id](https://discourse.julialang.org/u/b0id)\
**Replies:** 3\
**Last updated:** [November 29, 2022, 2:34pm UTC](https://discourse.julialang.org/t/windows-based-cli-vscode-term-is-not-displaying-data-visualizations-c-p-into-repl-works-though-glmakie/90950 "2022-11-29T14:34:26Z")

</div>

Hi, So I seem to have some wires crossed in my system somewhere and I am reaching out to see if anyone has experienced any similiar issues. I have been working with GLMakie a bit, playing around with data visualization…

---

## [2D IntervalRootFinding with parameters](https://discourse.julialang.org/t/2d-intervalrootfinding-with-parameters/90997)

<div class="topic-metadata">

**Author:** [@rodek](https://discourse.julialang.org/u/rodek)\
**Replies:** 2\
**Last updated:** [November 29, 2022, 2:32pm UTC](https://discourse.julialang.org/t/2d-intervalrootfinding-with-parameters/90997 "2022-11-29T14:32:37Z")

</div>

Hi all, possibly a simple/silly question: how do I pass parameters to the function for which I want to find the set of roots in two (or more dimensions) using IntervalRootFinding? In 1D I can use an anonymous function ro…

---

## [Join two dataframes with two common column headers](https://discourse.julialang.org/t/join-two-dataframes-with-two-common-column-headers/90993)

<div class="topic-metadata">

**Author:** [@Nash](https://discourse.julialang.org/u/Nash)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 2:21pm UTC](https://discourse.julialang.org/t/join-two-dataframes-with-two-common-column-headers/90993 "2022-11-29T14:21:54Z")

</div>

I have two data frames. The first, A, contains the headings “Timestamp”, “Ticker”, “Price”. The second, B, contains “Timestamp”, “Ticker”, “ProfitMargin”. How do I join A and B, such that I get: C = \[Timestamp, Ticker,…

---

## [What is a GlobalRef and how I use it?](https://discourse.julialang.org/t/what-is-a-globalref-and-how-i-use-it/90971)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 4\
**Last updated:** [November 29, 2022, 12:56pm UTC](https://discourse.julialang.org/t/what-is-a-globalref-and-how-i-use-it/90971 "2022-11-29T12:56:07Z")

</div>

Motivation RecipesBase.jl defines a macro @recipe that adds new methods to the RecipesBase.apply\_recipe function. The catch is that RecipesBase might not be in scope at the macro call site, so the function RecipesBase.ap…

---

## [Axis problem with Plots.jl and plotlyjs()](https://discourse.julialang.org/t/axis-problem-with-plots-jl-and-plotlyjs/90989)

<div class="topic-metadata">

**Author:** [@Jonas\_Nilsson](https://discourse.julialang.org/u/Jonas_Nilsson)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 11:46am UTC](https://discourse.julialang.org/t/axis-problem-with-plots-jl-and-plotlyjs/90989 "2022-11-29T11:46:04Z")

</div>

New Julia user that is basically trying to navigate my way through the massive jungle consisting of all the different plotting options. Have sort of settled on using Plots.jl with PlotlyJS as backend. However, I have ec…

---

## [Makie: programmatic control of camera](https://discourse.julialang.org/t/makie-programmatic-control-of-camera/90949)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 8\
**Last updated:** [November 29, 2022, 11:08am UTC](https://discourse.julialang.org/t/makie-programmatic-control-of-camera/90949 "2022-11-29T11:08:20Z")

</div>

I’m trying a 3d visualization and would like to write code to control the view position & angle, and render individual frames that I can assemble into a movie. I expected something like the following to work: julia\> usi…

---

## [Inconsistent errors](https://discourse.julialang.org/t/inconsistent-errors/90903)

<div class="topic-metadata">

**Author:** [@Ran\_Yaacoby](https://discourse.julialang.org/u/Ran_Yaacoby)\
**Replies:** 2\
**Last updated:** [November 29, 2022, 10:47am UTC](https://discourse.julialang.org/t/inconsistent-errors/90903 "2022-11-29T10:47:02Z")

</div>

I’m running the same script multiple times, around 1000 times, and I get inconsistent errors. The errors I randomly get are: 1) “ERROR: LoadError: syntax: invalid character “” near column 1” 2) “ERROR: LoadError: Dime…

---

## [Abstract type, define it or not](https://discourse.julialang.org/t/abstract-type-define-it-or-not/90983)

<div class="topic-metadata">

**Author:** [@maxchendt](https://discourse.julialang.org/u/maxchendt)\
**Replies:** 1\
**Last updated:** [November 29, 2022, 10:18am UTC](https://discourse.julialang.org/t/abstract-type-define-it-or-not/90983 "2022-11-29T10:18:48Z")

</div>

I want to choose Float32, Float64, and BigFloat for computation ( speed and accuracy) abstract type AbstractVariables{T \<: AbstractFloat} end mutable struct DefaultVariables{T} \<: AbstractVariables{T} x::Vector{T}…

---

## [Correct my Plot for $x \\lfoor x \\rfloor$](https://discourse.julialang.org/t/correct-my-plot-for-x-lfoor-x-rfloor/90981)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 8:44am UTC](https://discourse.julialang.org/t/correct-my-plot-for-x-lfoor-x-rfloor/90981 "2022-11-29T08:44:19Z")

</div>

I do not know whether my plot is correct or not, I see the solution of definite integral is like this along with my plot. This is my code: using Plots,LaTeXStrings,Colors gr() f(x) = (x^2)\*floor(x) x = -4:1:4 y = f…

---

## [Does Julia recompile if the redefinition of the function is the same](https://discourse.julialang.org/t/does-julia-recompile-if-the-redefinition-of-the-function-is-the-same/90972)

<div class="topic-metadata">

**Author:** [@HashBrown](https://discourse.julialang.org/u/HashBrown)\
**Replies:** 8\
**Last updated:** [November 29, 2022, 7:13am UTC](https://discourse.julialang.org/t/does-julia-recompile-if-the-redefinition-of-the-function-is-the-same/90972 "2022-11-29T07:13:40Z")

</div>

Say I have a function foo(x) that takes a long time to compile. Suppose I have already defined the function and called it once so that it is compiled. Then say I redefined foo(x) with the exact same definition and then …

---

## [Heads up for copilot users](https://discourse.julialang.org/t/heads-up-for-copilot-users/90973)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [November 29, 2022, 2:29am UTC](https://discourse.julialang.org/t/heads-up-for-copilot-users/90973 "2022-11-29T02:29:03Z")

</div>

https://www.wired.com/story/this-copyright-lawsuit-could-shape-the-future-of-generative-ai/

---

## [Is there any way to extract the name of the parameter from the ODE function](https://discourse.julialang.org/t/is-there-any-way-to-extract-the-name-of-the-parameter-from-the-ode-function/90923)

<div class="topic-metadata">

**Author:** [@YiboXia](https://discourse.julialang.org/u/YiboXia)\
**Replies:** 10\
**Last updated:** [November 29, 2022, 2:28am UTC](https://discourse.julialang.org/t/is-there-any-way-to-extract-the-name-of-the-parameter-from-the-ode-function/90923 "2022-11-29T02:28:21Z")

</div>

Hi! I want to extract the name of the parameter from the ODE function to make the tuple out of given parameters. For example, we have an ODE function: function f(du,u,p,t) a, b = p x = u du\[1\] = a \* x+b \* x^2 e…

---

## [Makie+Pluto: How to display animations in the cell?](https://discourse.julialang.org/t/makie-pluto-how-to-display-animations-in-the-cell/68195)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 3\
**Last updated:** [November 28, 2022, 10:19pm UTC](https://discourse.julialang.org/t/makie-pluto-how-to-display-animations-in-the-cell/68195 "2022-11-28T22:19:48Z")

</div>

My WGLMakie does not work. Can other backends be used to make animations in the cell? OS: MacOS 11.5.2 julia: 1.6.0 Pluto: 0.16.0 WGLMakie: 0.4.5 In Pluto, Cell 1: using WGLMakie using JSServe Cell 2 Page() Erro…

---

## [Storing high precision constants to use with fixed precision libraries (DoubleFloats.jl, Quadmath.jl, DecFP.jl, etc.)](https://discourse.julialang.org/t/storing-high-precision-constants-to-use-with-fixed-precision-libraries-doublefloats-jl-quadmath-jl-decfp-jl-etc/90967)

<div class="topic-metadata">

**Author:** [@heltonmc](https://discourse.julialang.org/u/heltonmc)\
**Replies:** 3\
**Last updated:** [November 28, 2022, 9:55pm UTC](https://discourse.julialang.org/t/storing-high-precision-constants-to-use-with-fixed-precision-libraries-doublefloats-jl-quadmath-jl-decfp-jl-etc/90967 "2022-11-28T21:55:41Z")

</div>

I am hoping to design algorithms that can be used efficiently with other fixed higher precision libraries such as DoubleFloats.jl, Quadmath.jl, DecFP.jl, MultiFloats.jl, etc… This usually involves polynomial approximatio…

---

## [Convert Numpy Arrays to Julia Arrays by Default PythonCall/JuliaCall](https://discourse.julialang.org/t/convert-numpy-arrays-to-julia-arrays-by-default-pythoncall-juliacall/90671)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 5\
**Last updated:** [November 28, 2022, 9:51pm UTC](https://discourse.julialang.org/t/convert-numpy-arrays-to-julia-arrays-by-default-pythoncall-juliacall/90671 "2022-11-28T21:51:14Z")

</div>

I am currently writing an interface between a Python program and a Julia Package; I would like to call the functions in the Julia package from Python. The functions in the Julia package all have type declarations, and fo…

---

## [Constant dash density in Plots.jl](https://discourse.julialang.org/t/constant-dash-density-in-plots-jl/34087)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 12\
**Last updated:** [November 28, 2022, 9:41pm UTC](https://discourse.julialang.org/t/constant-dash-density-in-plots-jl/34087 "2022-11-28T21:41:46Z")

</div>

Hi, I have a plot where I want to display some dash. But as the density of points increases, the dashes merge and become a straight line. This can be seen on the left of the plot near x=0.02. Does anybody knows how to…

---

## [ODE solver with too many function calls](https://discourse.julialang.org/t/ode-solver-with-too-many-function-calls/90686)

<div class="topic-metadata">

**Author:** [@c\_sell](https://discourse.julialang.org/u/c_sell)\
**Replies:** 23\
**Last updated:** [November 28, 2022, 7:48pm UTC](https://discourse.julialang.org/t/ode-solver-with-too-many-function-calls/90686 "2022-11-28T19:48:40Z")

</div>

Hello, I am using an Ode solver to simulate a mechanical system with a mass and a spring. Besides the spring and an external force there is a nonlinear force acting on the system. Each computation takes around 4 ms. Wh…

---

## [DataFrame construction from array of tuples](https://discourse.julialang.org/t/dataframe-construction-from-array-of-tuples/11426)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 12\
**Last updated:** [November 28, 2022, 5:01pm UTC](https://discourse.julialang.org/t/dataframe-construction-from-array-of-tuples/11426 "2022-11-28T17:01:29Z")

</div>

Hi all. What’s the best way to convert an array of tuples into a DataFrame? For example, I’d like to construct a data frame with column names :a and :b for the data below: julia\> data = \[(1,2),(4,5)\] 2-element Array{T…

---

## [1.8 much slower than 1.6](https://discourse.julialang.org/t/1-8-much-slower-than-1-6/89254)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 26\
**Last updated:** [November 28, 2022, 3:55pm UTC](https://discourse.julialang.org/t/1-8-much-slower-than-1-6/89254 "2022-11-28T15:55:42Z")

</div>

Hi all :slight\_smile: I stumbled over a very strange thing. I’m updating from 1.6 to 1.8. The only problem all the scripts use much more CPU even to a point where everything is used. The scripts are CPU intensive and us…

---

## [Turing Sampling specified parameters](https://discourse.julialang.org/t/turing-sampling-specified-parameters/90360)

<div class="topic-metadata">

**Author:** [@astro-kevin](https://discourse.julialang.org/u/astro-kevin)\
**Replies:** 40\
**Last updated:** [November 28, 2022, 3:44pm UTC](https://discourse.julialang.org/t/turing-sampling-specified-parameters/90360 "2022-11-28T15:44:35Z")

</div>

In my model, I have @model function runmodel(stuff, parameters) predictions, otherstuff = model(stuff, parameters) obs, var = findobsvar(stuff, otherstuff) obs ~ MvNormal(predictions, Diagonal(var)) where findobsvar is…

---

## [Memory address of a set, array, string,](https://discourse.julialang.org/t/memory-address-of-a-set-array-string/90717)

<div class="topic-metadata">

**Author:** [@Vahid\_Hosseinzadeh](https://discourse.julialang.org/u/Vahid_Hosseinzadeh)\
**Replies:** 4\
**Last updated:** [November 28, 2022, 1:00pm UTC](https://discourse.julialang.org/t/memory-address-of-a-set-array-string/90717 "2022-11-28T13:00:15Z")

</div>

I run the following and get error pointer\_from\_objref(Set(\[1,2,3\])) #error pointer\_from\_objref cannot be used on immutable objects however as I understand, Sets are mutable. About the strings and arrays, pointer() a…

---

## [How to solve higher order differential equations using DifferentialEquations.jl](https://discourse.julialang.org/t/how-to-solve-higher-order-differential-equations-using-differentialequations-jl/90915)

<div class="topic-metadata">

**Author:** [@GottDengDirk](https://discourse.julialang.org/u/GottDengDirk)\
**Replies:** 2\
**Last updated:** [November 28, 2022, 12:47pm UTC](https://discourse.julialang.org/t/how-to-solve-higher-order-differential-equations-using-differentialequations-jl/90915 "2022-11-28T12:47:11Z")

</div>

Hi, I can only solve second order differential equations with ODEProblem. I would like to know how to define higher order differential equations. dddx+0.12ddx+39.48dx+4.73741\*x=4.73741

---

## [Where to find collaborators for numeric modelling with Julia?](https://discourse.julialang.org/t/where-to-find-collaborators-for-numeric-modelling-with-julia/62779)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 8\
**Last updated:** [November 28, 2022, 12:13pm UTC](https://discourse.julialang.org/t/where-to-find-collaborators-for-numeric-modelling-with-julia/62779 "2022-11-28T12:13:53Z")

</div>

Hello, I don’t know if this is the right spot to put this post but I am looking for possible collaborators for modeling bacteria/phage interactions. I am not quite confident with DifferentialEquations, DiffEqFlux, and t…

---

## [\[ANN\] qtc.jl](https://discourse.julialang.org/t/ann-qtc-jl/90919)

<div class="topic-metadata">

**Author:** [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)\
**Replies:** 5\
**Last updated:** [November 28, 2022, 12:10pm UTC](https://discourse.julialang.org/t/ann-qtc-jl/90919 "2022-11-28T12:10:33Z")

</div>

qtc.jl is a small Julia script to calculate the length of corrected QT interval (QTc) using Bazett, Fridericia, Hodges Sagie formulas.

---

## [Figures not showing after depolyment with Documenter](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 4\
**Last updated:** [November 28, 2022, 12:08pm UTC](https://discourse.julialang.org/t/figures-not-showing-after-depolyment-with-documenter/90941 "2022-11-28T12:08:48Z")

</div>

When I deploy my documentation locally I’m able to get figures appearing in my examples. However when I deploy it on GitLab it does not (see here). I have spent a lot of time just getting the documentation to deploy (lo…

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

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