# Latest

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

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

**Page:** 991

---

## [Turing GLM error when trying to use ReverseDiff as the AD backend](https://discourse.julialang.org/t/turing-glm-error-when-trying-to-use-reversediff-as-the-ad-backend/83803)

<div class="topic-metadata">

**Author:** [@sree\_datta](https://discourse.julialang.org/u/sree_datta)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 10:07pm UTC](https://discourse.julialang.org/t/turing-glm-error-when-trying-to-use-reversediff-as-the-ad-backend/83803 "2022-07-05T22:07:20Z")

</div>

@Storopoli @devmotion @torfjelde Working with the same data set where we were discussing the use of ReverseDiff for a more efficient and faster sampling, I tried to run the same model using TuringGLM and its’ formulaic …

---

## [Hello, I am stuck with a problem regarding Linear Regression and Ridge Regression](https://discourse.julialang.org/t/hello-i-am-stuck-with-a-problem-regarding-linear-regression-and-ridge-regression/75382)

<div class="topic-metadata">

**Author:** [@fsanik041](https://discourse.julialang.org/u/fsanik041)\
**Replies:** 11\
**Last updated:** [July 5, 2022, 9:44pm UTC](https://discourse.julialang.org/t/hello-i-am-stuck-with-a-problem-regarding-linear-regression-and-ridge-regression/75382 "2022-07-05T21:44:58Z")

</div>

The following labeled data is given: x={10.9, 12.4, 13.5, 14.6, 14.8, 16.5, 19.4} and y={24.8, 30.0, 31.0, 29.3, 35.9, 39.6, 40.7}. perform linear and ridge regression. I used the following code: using DataFrames, CS…

---

## [What does this mean in Julia](https://discourse.julialang.org/t/what-does-this-mean-in-julia/83799)

<div class="topic-metadata">

**Author:** [@JosieG](https://discourse.julialang.org/u/JosieG)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 9:32pm UTC](https://discourse.julialang.org/t/what-does-this-mean-in-julia/83799 "2022-07-05T21:32:55Z")

</div>

Hi I’m very new to Julia and I’m given this code in Julia. r\[k\] = length(m) \> 0 ? median(m) : missing What does this mean in Julia? Thanks in advance!

---

## [How to "maximize" an unknown categorical function?](https://discourse.julialang.org/t/how-to-maximize-an-unknown-categorical-function/83641)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 8\
**Last updated:** [July 5, 2022, 9:11pm UTC](https://discourse.julialang.org/t/how-to-maximize-an-unknown-categorical-function/83641 "2022-07-05T21:11:05Z")

</div>

Or… How to numerically find the value of a set of variables that produce a given condition? Say I have a problem in which, under certain conditions, something happens. For example, a machine that stops working. O…

---

## [How To Interact with People at JuliaCon This Year?](https://discourse.julialang.org/t/how-to-interact-with-people-at-juliacon-this-year/83784)

<div class="topic-metadata">

**Author:** [@davide445](https://discourse.julialang.org/u/davide445)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 8:07pm UTC](https://discourse.julialang.org/t/how-to-interact-with-people-at-juliacon-this-year/83784 "2022-07-05T20:07:06Z")

</div>

As written elsewhere I’m not a coder (I have actually tested a bit Julia, but for sure development is not my work, and my comprehension is at very high level), but a solution designer needing to evaluate different approa…

---

## [Julia LTS 1.6.7 testing period](https://discourse.julialang.org/t/julia-lts-1-6-7-testing-period/83794)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 7:59pm UTC](https://discourse.julialang.org/t/julia-lts-1-6-7-testing-period/83794 "2022-07-05T19:59:21Z")

</div>

The release-1.6 branch on the Julia repository now contains the set of commits we’re planning to tag as v1.6.7, the seventh patch release in the 1.6 series. The list of commits included since v1.6.6 is available here . A…

---

## [SimilaritySearch.jl: A package for searching approximate nearest neighbors efficiently](https://discourse.julialang.org/t/similaritysearch-jl-a-package-for-searching-approximate-nearest-neighbors-efficiently/76056)

<div class="topic-metadata">

**Author:** [@Eric\_Sadit\_Tellez](https://discourse.julialang.org/u/Eric_Sadit_Tellez)\
**Replies:** 8\
**Last updated:** [July 5, 2022, 6:55pm UTC](https://discourse.julialang.org/t/similaritysearch-jl-a-package-for-searching-approximate-nearest-neighbors-efficiently/76056 "2022-07-05T18:55:48Z")

</div>

Hello everybody, We are glad to announce the package SimilaritySearch.jl package. The SimilaritySearch.jl package uses a graph index and search heuristics (beam search) to solve queries fast and accurately; the current …

---

## [Is PackageCompiler still the best way to avoid the overhead loading CSV, DataFrames, and such?](https://discourse.julialang.org/t/is-packagecompiler-still-the-best-way-to-avoid-the-overhead-loading-csv-dataframes-and-such/83792)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 1\
**Last updated:** [July 5, 2022, 6:39pm UTC](https://discourse.julialang.org/t/is-packagecompiler-still-the-best-way-to-avoid-the-overhead-loading-csv-dataframes-and-such/83792 "2022-07-05T18:39:50Z")

</div>

Is PackageCompiler still the best way to avoid the overhead loading CSV, DataFrames, and such?

---

## [Why does Plots.jl require axis to be in ascending order?](https://discourse.julialang.org/t/why-does-plots-jl-require-axis-to-be-in-ascending-order/39926)

<div class="topic-metadata">

**Author:** [@fergu](https://discourse.julialang.org/u/fergu)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 3:24pm UTC](https://discourse.julialang.org/t/why-does-plots-jl-require-axis-to-be-in-ascending-order/39926 "2022-07-05T15:24:16Z")

</div>

I have some 2D data that effectively represents an image. This image also has spatial dimensions which are important, and those dimensions start in the top left. In python I’d use something like plt.pcolor(x,y,z) or simi…

---

## [Mutex in finalizers](https://discourse.julialang.org/t/mutex-in-finalizers/83781)

<div class="topic-metadata">

**Author:** [@whatsthecraic](https://discourse.julialang.org/u/whatsthecraic)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 3:23pm UTC](https://discourse.julialang.org/t/mutex-in-finalizers/83781 "2022-07-05T15:23:39Z")

</div>

There seem to be a few limitations within the usage of finalizers. In particular, can a finalizer make use of mutexes in multi-threading code?

---

## [Plots is not working](https://discourse.julialang.org/t/plots-is-not-working/83749)

<div class="topic-metadata">

**Author:** [@HoldenCaulfield](https://discourse.julialang.org/u/HoldenCaulfield)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 3:16pm UTC](https://discourse.julialang.org/t/plots-is-not-working/83749 "2022-07-05T15:16:38Z")

</div>

Hello, I’m failing to use Plots on my work system which runs CentOS 7. When I try using Plots, I get this: julia\> using Plots \[ Info: Precompiling Plots \[91a5bcdd-55d7-5caf-9e0b-520d859cae80\] ERROR: LoadError: LoadErro…

---

## [Order of operations matrix multiplications](https://discourse.julialang.org/t/order-of-operations-matrix-multiplications/83770)

<div class="topic-metadata">

**Author:** [@Rasmus\_Hoier](https://discourse.julialang.org/u/Rasmus_Hoier)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 2:10pm UTC](https://discourse.julialang.org/t/order-of-operations-matrix-multiplications/83770 "2022-07-05T14:10:31Z")

</div>

I know that in MATLAB the default order of operations is left to right, so it can be very useful to use parenthesis to specify the optimal order of matrix multiplications. I was surprised to see that Julia seems to figur…

---

## [How to replace a value at a specif place in a matrix with another value?](https://discourse.julialang.org/t/how-to-replace-a-value-at-a-specif-place-in-a-matrix-with-another-value/83774)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 2:07pm UTC](https://discourse.julialang.org/t/how-to-replace-a-value-at-a-specif-place-in-a-matrix-with-another-value/83774 "2022-07-05T14:07:00Z")

</div>

Hi, I want to replace the value of the Matrix “q\_update” (Size: (3, 1)) at position “a”, which can be a number between 1 and 3, with a new value. The new Value at this position should be y, a float32. But unfortunaly i…

---

## [Bay Area meet up for JuliaCon 2022](https://discourse.julialang.org/t/bay-area-meet-up-for-juliacon-2022/83776)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 0\
**Last updated:** [July 5, 2022, 1:43pm UTC](https://discourse.julialang.org/t/bay-area-meet-up-for-juliacon-2022/83776 "2022-07-05T13:43:39Z")

</div>

Hey folks! I am excited to share that the Julia Bay Area Users Group will be hosting an in person meetup at Stanford the week of JuliaCon (s/o to @mykelk, @Robert\_Moss, and the SISL Lab for putting this together). If yo…

---

## [JuliaCon 2022 T-shirts, Socks, Stickers + more now available!](https://discourse.julialang.org/t/juliacon-2022-t-shirts-socks-stickers-more-now-available/83184)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 1:39pm UTC](https://discourse.julialang.org/t/juliacon-2022-t-shirts-socks-stickers-more-now-available/83184 "2022-07-05T13:39:05Z")

</div>

Hey folks, As per the annual tradition, the 2022 version of the JuliaCon t-shirts, socks, stickers, and more are now for sale. This is a great opportunity to not only get some amazing Julia swag, but also support the Ju…

---

## [JuMP and CPLEX - Setting number of threads](https://discourse.julialang.org/t/jump-and-cplex-setting-number-of-threads/83747)

<div class="topic-metadata">

**Author:** [@vmk97](https://discourse.julialang.org/u/vmk97)\
**Replies:** 4\
**Last updated:** [July 5, 2022, 12:56pm UTC](https://discourse.julialang.org/t/jump-and-cplex-setting-number-of-threads/83747 "2022-07-05T12:56:37Z")

</div>

I am trying to solve a mixed integer linear program by branch-and-cut using JuMP and CPLEX. I am having some trouble setting the number of threads for CPLEX. I am trying to set the parameter CPXPARAM\_Threads using set\_…

---

## [Is a digital tablet useful for videoconferences?](https://discourse.julialang.org/t/is-a-digital-tablet-useful-for-videoconferences/76101)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 21\
**Last updated:** [July 5, 2022, 11:54am UTC](https://discourse.julialang.org/t/is-a-digital-tablet-useful-for-videoconferences/76101 "2022-07-05T11:54:12Z")

</div>

Hello. Do you think a digital tablet could be useful to quickly draw diagrams, equations… while speaking with Teams, Zoom… or even on a on-site in-person conference? Or it’s gonna be another unused and expensive piece…

---

## [PackageCompiler.jl Portability Issue](https://discourse.julialang.org/t/packagecompiler-jl-portability-issue/64660)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 3\
**Last updated:** [July 5, 2022, 11:19am UTC](https://discourse.julialang.org/t/packagecompiler-jl-portability-issue/64660 "2022-07-05T11:19:41Z")

</div>

I’m having an issue with PackageCompiler.jl, the error I’m getting on the sister PC is: julia -JCrashSimPackages.dll fatal: error thrown and no exception handler available. InitError(mod=:Libiconv\_jll, error=ErrorExcept…

---

## [How to set 'authors' with PkgTemplates?](https://discourse.julialang.org/t/how-to-set-authors-with-pkgtemplates/83769)

<div class="topic-metadata">

**Author:** [@\_stla](https://discourse.julialang.org/u/_stla)\
**Replies:** 1\
**Last updated:** [July 5, 2022, 10:58am UTC](https://discourse.julialang.org/t/how-to-set-authors-with-pkgtemplates/83769 "2022-07-05T10:58:39Z")

</div>

Hello, I’m using my work laptop and git is not configured with my personal github account. I set ‘authors’ with PkgTemplates but that does not work: julia\> t = Template(;user="stla", authors="Stéphane Laurent \<l\*\*\*\*\*\*p…

---

## [Equation involving floor function](https://discourse.julialang.org/t/equation-involving-floor-function/83751)

<div class="topic-metadata">

**Author:** [@Smsng2\_Xprss](https://discourse.julialang.org/u/Smsng2_Xprss)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 10:49am UTC](https://discourse.julialang.org/t/equation-involving-floor-function/83751 "2022-07-05T10:49:25Z")

</div>

How can I solve the following in Julia; 6t^2 - 7floor(t) - 3 = 0 I thought when I define t, with Sym(“t”), it would work. Instead it gives me Is there a workaround. By the way I’m interested in exact solutions and …

---

## [Same random seed, but different random numbers?](https://discourse.julialang.org/t/same-random-seed-but-different-random-numbers/83731)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 11\
**Last updated:** [July 5, 2022, 10:11am UTC](https://discourse.julialang.org/t/same-random-seed-but-different-random-numbers/83731 "2022-07-05T10:11:00Z")

</div>

Dear all, I try to generate random number using both randn() and rand(), I set the same random seed, but why they generate different results? julia\> using Distributions, Random julia\> Random.seed!(123) TaskLocalRNG() …

---

## [Unsatisfiable requirement to uninstalled?](https://discourse.julialang.org/t/unsatisfiable-requirement-to-uninstalled/83767)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 9:51am UTC](https://discourse.julialang.org/t/unsatisfiable-requirement-to-uninstalled/83767 "2022-07-05T09:51:06Z")

</div>

Hello, I have this weird error when trying to resolve the manifest of a main package (ReinforcementLearning) that I deved. (ReinforcementLearning) pkg\> resolve ERROR: Unsatisfiable requirements detected for package Lin…

---

## [Issues with abm visualization](https://discourse.julialang.org/t/issues-with-abm-visualization/83739)

<div class="topic-metadata">

**Author:** [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 9:07am UTC](https://discourse.julialang.org/t/issues-with-abm-visualization/83739 "2022-07-05T09:07:23Z")

</div>

Hi, I’m trying to visualize my agents moving, however, I keep running into this error: MethodError: Cannot convert an object of type Tuple{Int64} to an object of type GeometryBasics.OffsetInteger{-1, UInt32} The image…

---

## [Retrieve variable name inside function](https://discourse.julialang.org/t/retrieve-variable-name-inside-function/83753)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 9\
**Last updated:** [July 5, 2022, 8:33am UTC](https://discourse.julialang.org/t/retrieve-variable-name-inside-function/83753 "2022-07-05T08:33:36Z")

</div>

Is it possible inside a function to retrieve the variable name of an argument to that function in form of a string? Here my example function to investigate the nature of variables during the degugging phase: function \_…

---

## [Instability in system with low abstol and "Larger maxiters is needed" DifferentialEquations.jl; DynamicalSystems.jl](https://discourse.julialang.org/t/instability-in-system-with-low-abstol-and-larger-maxiters-is-needed-differentialequations-jl-dynamicalsystems-jl/83741)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 13\
**Last updated:** [July 5, 2022, 7:54am UTC](https://discourse.julialang.org/t/instability-in-system-with-low-abstol-and-larger-maxiters-is-needed-differentialequations-jl-dynamicalsystems-jl/83741 "2022-07-05T07:54:40Z")

</div>

I have system Lienard with fixed parametres. I use alpha 0.20 and w = 0.7315 with t = 500000, when using default algorithm result is uncorrect. I use Feagin12 with abstol 20 and have problem with Instability, if i …

---

## [Trouble making topographical EEG interpolation](https://discourse.julialang.org/t/trouble-making-topographical-eeg-interpolation/35733)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 18\
**Last updated:** [July 5, 2022, 5:55am UTC](https://discourse.julialang.org/t/trouble-making-topographical-eeg-interpolation/35733 "2022-07-05T05:55:46Z")

</div>

Hi everyone. I’m trying to make an EEG topographical plot, something like this: The steps, in general are (without the aesthetics and circular appearance): Turn polar coordinates to Cartesian coordinates Interpolate…

---

## [Stuck trying to write a particular parametric function with custom StaticArrays types](https://discourse.julialang.org/t/stuck-trying-to-write-a-particular-parametric-function-with-custom-staticarrays-types/83710)

<div class="topic-metadata">

**Author:** [@mfiano](https://discourse.julialang.org/u/mfiano)\
**Replies:** 11\
**Last updated:** [July 5, 2022, 3:20am UTC](https://discourse.julialang.org/t/stuck-trying-to-write-a-particular-parametric-function-with-custom-staticarrays-types/83710 "2022-07-05T03:20:49Z")

</div>

I’ve been trying for a couple days to write the least number of methods to get rid of a pile of global axis vectors. I was thinking something like axis(custom\_type, axis\_symbol) as the API, but that is tentative, because…

---

## [Why is the kwarg \`dims\` not being constant-propagated?](https://discourse.julialang.org/t/why-is-the-kwarg-dims-not-being-constant-propagated/83610)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 3:03am UTC](https://discourse.julialang.org/t/why-is-the-kwarg-dims-not-being-constant-propagated/83610 "2022-07-05T03:03:13Z")

</div>

This doesn’t seem to be inferred julia\> a = rand(1,1); julia\> @code\_warntype (a -\> eachslice(a, dims=1))(a) MethodInstance for (::var"#13#14")(::Matrix{Float64}) from (::var"#13#14")(a) @ Main REPL\[23\]:1 Argume…

---

## [LaTeX fonts render different for different backends](https://discourse.julialang.org/t/latex-fonts-render-different-for-different-backends/83718)

<div class="topic-metadata">

**Author:** [@leonandonayre](https://discourse.julialang.org/u/leonandonayre)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 3:02am UTC](https://discourse.julialang.org/t/latex-fonts-render-different-for-different-backends/83718 "2022-07-05T03:02:41Z")

</div>

I would like to use PyPlot backend (because there are some issue with GR backend), however I noticed LaTeX fonts render different and I do not know how to change it. Here is a sample code for the GR backend. using LaTe…

---

## [Salary per month doing a project on quatum computing being a undergraduate?](https://discourse.julialang.org/t/salary-per-month-doing-a-project-on-quatum-computing-being-a-undergraduate/83671)

<div class="topic-metadata">

**Author:** [@suavesito](https://discourse.julialang.org/u/suavesito)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 12:40am UTC](https://discourse.julialang.org/t/salary-per-month-doing-a-project-on-quatum-computing-being-a-undergraduate/83671 "2022-07-05T00:40:22Z")

</div>

Hi! A friend of mine has been acepted to do a project programmed in Julia in Quantumz about tensor contraction algorithms. They asked him what is his expected salary, and he asked me but I don’t know what to tell him. …

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

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