# Latest

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

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

**Page:** 502

---

## [Independent threads much slower by parallelizable](https://discourse.julialang.org/t/independent-threads-much-slower-by-parallelizable/109227)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 2\
**Last updated:** [January 25, 2024, 10:26am UTC](https://discourse.julialang.org/t/independent-threads-much-slower-by-parallelizable/109227 "2024-01-25T10:26:42Z")

</div>

Hi there. So soon I will give a talk on the Julia programming language in my research group. In that presentation, I wanted to show how well parallelization works in Julia. So I decided to take the following as an exam…

---

## [Painfully slow Julia REPL in VSCode](https://discourse.julialang.org/t/painfully-slow-julia-repl-in-vscode/95013)

<div class="topic-metadata">

**Author:** [@Gian\_Marco\_Todesco](https://discourse.julialang.org/u/Gian_Marco_Todesco)\
**Replies:** 15\
**Last updated:** [January 25, 2024, 10:53am UTC](https://discourse.julialang.org/t/painfully-slow-julia-repl-in-vscode/95013 "2024-01-25T10:53:21Z")

</div>

I started using Julia almost one year ago. I use VSCode (1.75.1) with Julia Language Support (v1.38.2), on Windows 10 Pro. I must use Julia 1.6.5 (working on a massive project with a large team). In the beginning, every…

---

## [JuMP-dev 2024](https://discourse.julialang.org/t/jump-dev-2024/106179)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 2:47am UTC](https://discourse.julialang.org/t/jump-dev-2024/106179 "2024-01-24T02:47:00Z")

</div>

Dear all, We are pleased to announce that JuMP-dev 2024 will take place July 19-21 in Montréal, Canada. (The location and time is intended to coincide with the start of ISMP: https://ismp2024.gerad.ca.) For more inform…

---

## [Convergence behavior in MATLAB vs Julia](https://discourse.julialang.org/t/convergence-behavior-in-matlab-vs-julia/109113)

<div class="topic-metadata">

**Author:** [@Gast](https://discourse.julialang.org/u/Gast)\
**Replies:** 12\
**Last updated:** [January 25, 2024, 8:13am UTC](https://discourse.julialang.org/t/convergence-behavior-in-matlab-vs-julia/109113 "2024-01-25T08:13:07Z")

</div>

I am facing challenges in replicating a nonlinear unconstrained dynamic optimization problem originally coded in MATLAB using Julia. While the convergence of the algorithm is successful in MATLAB, I cannot achieve conver…

---

## [Export functions](https://discourse.julialang.org/t/export-functions/109235)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 3\
**Last updated:** [January 25, 2024, 5:31am UTC](https://discourse.julialang.org/t/export-functions/109235 "2024-01-25T05:31:10Z")

</div>

I am using a package witten by someone. Somes functions are defined in the module, but not exported. I cannot invoke them in the REPL. How can I modify the original codes to make these functions visible?

---

## [Could anyone try this please?](https://discourse.julialang.org/t/could-anyone-try-this-please/109229)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 4\
**Last updated:** [January 25, 2024, 5:11am UTC](https://discourse.julialang.org/t/could-anyone-try-this-please/109229 "2024-01-25T05:11:01Z")

</div>

Symbols are not recognized in vscode: no docs hint, no go-to-definition, … It does not happen always. GitHub - PetrKryslUCSD/VibrationGEPHelpers.jl: Generalized Eigenvalue Problem helper functions appears to be fine. All…

---

## [Endatabas: An SQL Document Database with Full History](https://discourse.julialang.org/t/endatabas-an-sql-document-database-with-full-history/109230)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 0\
**Last updated:** [January 25, 2024, 2:15am UTC](https://discourse.julialang.org/t/endatabas-an-sql-document-database-with-full-history/109230 "2024-01-25T02:15:37Z")

</div>

I was recently introduced to a new database called Endatabas, and the way it works is so interesting to me. Check their very brief intro video out: My takeaways It has no schema. When you insert data, the…

---

## [Documenter.jl: ERROR: LoadError: The repo path... should not contain the protocol](https://discourse.julialang.org/t/documenter-jl-error-loaderror-the-repo-path-should-not-contain-the-protocol/109224)

<div class="topic-metadata">

**Author:** [@mpeters2](https://discourse.julialang.org/u/mpeters2)\
**Replies:** 2\
**Last updated:** [January 25, 2024, 2:04am UTC](https://discourse.julialang.org/t/documenter-jl-error-loaderror-the-repo-path-should-not-contain-the-protocol/109224 "2024-01-25T02:04:18Z")

</div>

I’m running a Documenter.jl action on Github, and I’m getting this cryptic error. Does anyone know what it means? ERROR: LoadError: The repo path https://github.com/mpeters2/PsychoJL.jl.git should not contain the proto…

---

## [SVector from concat of subvectors](https://discourse.julialang.org/t/svector-from-concat-of-subvectors/109215)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 10\
**Last updated:** [January 24, 2024, 11:28pm UTC](https://discourse.julialang.org/t/svector-from-concat-of-subvectors/109215 "2024-01-24T23:28:05Z")

</div>

Greetings. I am seeking to replace # generates local stiffness matrix function genLocStiffMat(element::Element) h = element.area e1 = element.e1 e2 = element.e2 Iloc = SVector(e1, e1, e2, e2…

---

## [Setting TimeLimit of BilevelJumP with MibS-solver](https://discourse.julialang.org/t/setting-timelimit-of-bileveljump-with-mibs-solver/108770)

<div class="topic-metadata">

**Author:** [@NKonti](https://discourse.julialang.org/u/NKonti)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 10:01pm UTC](https://discourse.julialang.org/t/setting-timelimit-of-bileveljump-with-mibs-solver/108770 "2024-01-24T22:01:37Z")

</div>

Hello everyone, is it possible to set a time limit for the MibS solver? using JuMP, BilevelJuMP, MibS\_jll model = BilevelModel() … Rest of the Model… solution = BilevelJuMP.solve\_with\_MibS(model, MibS\_jll.mibs; verbo…

---

## [Passing struct as argument to optimizer](https://discourse.julialang.org/t/passing-struct-as-argument-to-optimizer/109209)

<div class="topic-metadata">

**Author:** [@structural](https://discourse.julialang.org/u/structural)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 9:38pm UTC](https://discourse.julialang.org/t/passing-struct-as-argument-to-optimizer/109209 "2024-01-24T21:38:51Z")

</div>

Is it possible to pass a struct of parameters as an argument to an optimizer? The example below estimates an OLS model in which the intercept and slope are passed a vector p. function ssr(y,x,p) return sum((y .- (p\[…

---

## [How to get rid of the error: "MethodError: no method matching optimize!(::AffExpr)"](https://discourse.julialang.org/t/how-to-get-rid-of-the-error-methoderror-no-method-matching-optimize-affexpr/109218)

<div class="topic-metadata">

**Author:** [@Aliaksandra\_Kizhyk](https://discourse.julialang.org/u/Aliaksandra_Kizhyk)\
**Replies:** 2\
**Last updated:** [January 24, 2024, 9:34pm UTC](https://discourse.julialang.org/t/how-to-get-rid-of-the-error-methoderror-no-method-matching-optimize-affexpr/109218 "2024-01-24T21:34:10Z")

</div>

Hello everyone! I urgently need some help with this code. I am getting the error “MethodError: no method matching optimize!(::AffExpr)”, and I can’t understand why it appears. I am not proficient with programming and ne…

---

## [IJulia problem?](https://discourse.julialang.org/t/ijulia-problem/109194)

<div class="topic-metadata">

**Author:** [@Ronneesley](https://discourse.julialang.org/u/Ronneesley)\
**Replies:** 5\
**Last updated:** [January 24, 2024, 8:54pm UTC](https://discourse.julialang.org/t/ijulia-problem/109194 "2024-01-24T20:54:40Z")

</div>

Hello, I created a package called GeometriaPlana at my projects. In the iteractive terminal this dev project run perfectly, but at Jupyter via IJulia, this project throw an error. ArgumentError: Package GeometriaPlana …

---

## [\#jsoc-mentors](https://discourse.julialang.org/t/jsoc-mentors/109213)

<div class="topic-metadata">

**Author:** [@Hiwa](https://discourse.julialang.org/u/Hiwa)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 8:54pm UTC](https://discourse.julialang.org/t/jsoc-mentors/109213 "2024-01-24T20:54:09Z")

</div>

Hello I need to be added to #jsoc-mentors and to mentor students volunteerly, Can you please add me to the list and the group

---

## [Mentors, Assemble!](https://discourse.julialang.org/t/mentors-assemble/2349)

<div class="topic-metadata">

**Author:** [@MikeInnes](https://discourse.julialang.org/u/MikeInnes)\
**Replies:** 9\
**Last updated:** [January 24, 2024, 8:32pm UTC](https://discourse.julialang.org/t/mentors-assemble/2349 "2024-01-24T20:32:22Z")

</div>

The Julia project has been accepted into GSoC 2017! We can now add mentors to the GSoC app, so if you’re interested in helping to review projects, or in potentially mentoring, please reach out. Once student proposals a…

---

## [Determine the delay between two signals](https://discourse.julialang.org/t/determine-the-delay-between-two-signals/109140)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 12\
**Last updated:** [January 24, 2024, 7:39pm UTC](https://discourse.julialang.org/t/determine-the-delay-between-two-signals/109140 "2024-01-24T19:39:51Z")

</div>

Hello, I am trying to find out the delay between two signals. I have the following Python example: # Cross-correlate correlation = correlate(x, y, 'full') # Get the lag vector that corresponds to the correlation vect…

---

## [Confused by package directory environments](https://discourse.julialang.org/t/confused-by-package-directory-environments/26194)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 6\
**Last updated:** [October 21, 2021, 5:26pm UTC](https://discourse.julialang.org/t/confused-by-package-directory-environments/26194 "2021-10-21T17:26:14Z")

</div>

I’m trying to better understand code loading, so reading that section of the manual. The manual describes package directory environments: A package directory is a directory containing the source trees of a set of packag…

---

## [Jll package is pointing to an older artifacts file?](https://discourse.julialang.org/t/jll-package-is-pointing-to-an-older-artifacts-file/109183)

<div class="topic-metadata">

**Author:** [@biona001](https://discourse.julialang.org/u/biona001)\
**Replies:** 7\
**Last updated:** [January 24, 2024, 6:17pm UTC](https://discourse.julialang.org/t/jll-package-is-pointing-to-an-older-artifacts-file/109183 "2024-01-24T18:17:44Z")

</div>

I am experimenting with BinaryBuilder.jl and jll packages. My Julia version is 1.8.4. I built ghostbasil\_jll which is now on version 0.0.11+0. I then install this package locally via \]add https://github.com/biona001/gho…

---

## [Individual threads superfast, while sync really slow with virtually no communication](https://discourse.julialang.org/t/individual-threads-superfast-while-sync-really-slow-with-virtually-no-communication/109203)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 5:56pm UTC](https://discourse.julialang.org/t/individual-threads-superfast-while-sync-really-slow-with-virtually-no-communication/109203 "2024-01-24T17:56:24Z")

</div>

Hey there! So I am currently trying to understand how parallelization works in Julia, as a practice I tried writing this nice pi estimator: function estimate\_pi(number) m=0. for i=1:number x=rand() …

---

## [Computable General Equilibrium](https://discourse.julialang.org/t/computable-general-equilibrium/106625)

<div class="topic-metadata">

**Author:** [@enzo.salvatore](https://discourse.julialang.org/u/enzo.salvatore)\
**Replies:** 8\
**Last updated:** [January 24, 2024, 4:48pm UTC](https://discourse.julialang.org/t/computable-general-equilibrium/106625 "2024-01-24T16:48:26Z")

</div>

We want to discuss the modeling of computable general equilibrium in julia.

---

## [Problem with plotting large time series data sets with GLMakie](https://discourse.julialang.org/t/problem-with-plotting-large-time-series-data-sets-with-glmakie/109136)

<div class="topic-metadata">

**Author:** [@marast](https://discourse.julialang.org/u/marast)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 4:25pm UTC](https://discourse.julialang.org/t/problem-with-plotting-large-time-series-data-sets-with-glmakie/109136 "2024-01-24T16:25:55Z")

</div>

Hello, I am plotting large time series data sets with GLMakie. In some cases I get a time out from my graphics driver. Then the plotting fails and sometimes julia freezes or crashes. I use the integrated graphics of my …

---

## [@inbounds does nothing when converting Cartesian to linear Index](https://discourse.julialang.org/t/inbounds-does-nothing-when-converting-cartesian-to-linear-index/109201)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 4:01pm UTC](https://discourse.julialang.org/t/inbounds-does-nothing-when-converting-cartesian-to-linear-index/109201 "2024-01-24T16:01:29Z")

</div>

Hi, I do not understand the profiling of the following MWE. using BenchmarkTools using Random function weirdsum(a,lis,ci) li = @inbounds lis\[ci\] ac = @inbounds a\[ci\] al = @inbounds a\[li\] return ac+al e…

---

## [JuliaCon 2024 Astrodynamics/Aerospace Minisymposium](https://discourse.julialang.org/t/juliacon-2024-astrodynamics-aerospace-minisymposium/107176)

<div class="topic-metadata">

**Author:** [@xlxs4](https://discourse.julialang.org/u/xlxs4)\
**Replies:** 15\
**Last updated:** [January 24, 2024, 3:22pm UTC](https://discourse.julialang.org/t/juliacon-2024-astrodynamics-aerospace-minisymposium/107176 "2024-01-24T15:22:54Z")

</div>

Hi! Would anyone be interested in co-organizing a astrodynamics/aerospace minisymposium in the upcoming JuliaCon 2024? Deadline for proposals is at 15th December 2023 @Ronis\_BR @deddy @helgee @Andrea\_Pasquale @MicheleCer…

---

## [Using a function on each row of a matrix and getting a similar matrix back](https://discourse.julialang.org/t/using-a-function-on-each-row-of-a-matrix-and-getting-a-similar-matrix-back/109162)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 13\
**Last updated:** [January 24, 2024, 2:40pm UTC](https://discourse.julialang.org/t/using-a-function-on-each-row-of-a-matrix-and-getting-a-similar-matrix-back/109162 "2024-01-24T14:40:53Z")

</div>

Suppose we have a function acting on a 3-element vector, function foo(xyz) a = xyz\[1\]+1 b = xyz\[2\]\*5 c = xyz\[3\]/2 return\[a,b,c\] end It works fine if I use a vector as an input, like foo(\[1,2,3\]), but what if I’d l…

---

## [How about direct sum ⊕ as vector attach operator?](https://discourse.julialang.org/t/how-about-direct-sum-as-vector-attach-operator/109182)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 6\
**Last updated:** [January 24, 2024, 2:27pm UTC](https://discourse.julialang.org/t/how-about-direct-sum-as-vector-attach-operator/109182 "2024-01-24T14:27:04Z")

</div>

Background I know that Julia’s design is very reasonable, especially from the viewpoint of mathematics; it’s my favorite feature of Julia. For example, Julia uses \* as a string join operator instead of +, unlike many pro…

---

## [Unable to sum CuArray with Julia 1.10.0](https://discourse.julialang.org/t/unable-to-sum-cuarray-with-julia-1-10-0/109100)

<div class="topic-metadata">

**Author:** [@Avec](https://discourse.julialang.org/u/Avec)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 1:56pm UTC](https://discourse.julialang.org/t/unable-to-sum-cuarray-with-julia-1-10-0/109100 "2024-01-24T13:56:09Z")

</div>

Hi all, I have just updated my julia from 1.8.3 to 1.10.1 an I struggle with summing a CuArray. Following lines k\_ssim = exp.(-(-5:1:5).^2/(2\*1.5^2)) k\_ssim = k\_ssim |\> gpu sum(k\_ssim) returns LoadError: MethodError: …

---

## [Issue while using nested ForwardDiff.Dual](https://discourse.julialang.org/t/issue-while-using-nested-forwarddiff-dual/107923)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 1:28pm UTC](https://discourse.julialang.org/t/issue-while-using-nested-forwarddiff-dual/107923 "2024-01-24T13:28:14Z")

</div>

Hi! I’ve been working on some code that makes use of the dual number implementation in ForwardDiff.Dual. I end up using the dual numbers directly rather than through the functions provided by ForwardDiff as I’ve found i…

---

## [Make model matrix with raw data (Non-Real, Complex numbers and other structures) in StatsModels and possible application with Metida (spatial covariance with shortest path)](https://discourse.julialang.org/t/make-model-matrix-with-raw-data-non-real-complex-numbers-and-other-structures-in-statsmodels-and-possible-application-with-metida-spatial-covariance-with-shortest-path/109123)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 1\
**Last updated:** [January 23, 2024, 6:43pm UTC](https://discourse.julialang.org/t/make-model-matrix-with-raw-data-non-real-complex-numbers-and-other-structures-in-statsmodels-and-possible-application-with-metida-spatial-covariance-with-shortest-path/109123 "2024-01-23T18:43:44Z")

</div>

Is it possible to use Complex numbers and custom types in StatsModels as continuous variables?

---

## [Why does my cubature of ODESolution break down with finite limits?](https://discourse.julialang.org/t/why-does-my-cubature-of-odesolution-break-down-with-finite-limits/108736)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 18\
**Last updated:** [January 24, 2024, 11:04am UTC](https://discourse.julialang.org/t/why-does-my-cubature-of-odesolution-break-down-with-finite-limits/108736 "2024-01-24T11:04:34Z")

</div>

I want to find the multi-dimensional integral of a scalar-valued function with vector argument defined on a rectangle (basically, product of truncated PDFs). The argument of the function comes from solving a system of OD…

---

## [Multiple choice option in GLMakie Menu](https://discourse.julialang.org/t/multiple-choice-option-in-glmakie-menu/109190)

<div class="topic-metadata">

**Author:** [@ilkerarslan](https://discourse.julialang.org/u/ilkerarslan)\
**Replies:** 0\
**Last updated:** [January 24, 2024, 10:36am UTC](https://discourse.julialang.org/t/multiple-choice-option-in-glmakie-menu/109190 "2024-01-24T10:36:26Z")

</div>

Hi, Is there a way of selecting multiple elements in a GLMakie Menu? Or is there another control function to do this?

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

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