# Latest

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

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

**Page:** 924

---

## [Julia Finance](https://discourse.julialang.org/t/julia-finance/87316)

<div class="topic-metadata">

**Author:** [@DPKMB](https://discourse.julialang.org/u/DPKMB)\
**Replies:** 5\
**Last updated:** [September 15, 2022, 7:47pm UTC](https://discourse.julialang.org/t/julia-finance/87316 "2022-09-15T19:47:18Z")

</div>

Hi. I know limited amounts of programming. At this point I am specifically interested in financial modeling, machine learning, and predictive capabilities of Julia. Can someone please recommend a study path, whether it b…

---

## [Nonuniform fast Hankel transform](https://discourse.julialang.org/t/nonuniform-fast-hankel-transform/87324)

<div class="topic-metadata">

**Author:** [@jinml](https://discourse.julialang.org/u/jinml)\
**Replies:** 3\
**Last updated:** [September 15, 2022, 7:20pm UTC](https://discourse.julialang.org/t/nonuniform-fast-hankel-transform/87324 "2022-09-15T19:20:28Z")

</div>

Hi, does anyone know about any packages that may be able to compute nonuniform fast Hankel transform of continuous functions? I saw this thread mentioning a few options for Fourier transform, which don’t seem to have wha…

---

## [What is the symbol cache of VS Code that Julia needs to download so urgently?](https://discourse.julialang.org/t/what-is-the-symbol-cache-of-vs-code-that-julia-needs-to-download-so-urgently/87249)

<div class="topic-metadata">

**Author:** [@Nav](https://discourse.julialang.org/u/Nav)\
**Replies:** 7\
**Last updated:** [September 15, 2022, 7:16pm UTC](https://discourse.julialang.org/t/what-is-the-symbol-cache-of-vs-code-that-julia-needs-to-download-so-urgently/87249 "2022-09-15T19:16:42Z")

</div>

I have an Acer Aspire E11 laptop with an N2840 processor and 2GB DDR3 RAM. It runs Ubuntu 16.04. There are two issues I’ve had when using Julia with VS Code. Issue 1: As shown in the image below, even when VS Code was n…

---

## [Exporting from a nested module](https://discourse.julialang.org/t/exporting-from-a-nested-module/87330)

<div class="topic-metadata">

**Author:** [@Jeroen](https://discourse.julialang.org/u/Jeroen)\
**Replies:** 1\
**Last updated:** [September 15, 2022, 6:52pm UTC](https://discourse.julialang.org/t/exporting-from-a-nested-module/87330 "2022-09-15T18:52:36Z")

</div>

Hello, I have a module called MathSolver with another module called Parser inside it. I define a macro @math inside the Parser module, which I want to be available when someone uses using MathSolver. However, I can’t fig…

---

## [Interpolate along single dimension of multidimensional array](https://discourse.julialang.org/t/interpolate-along-single-dimension-of-multidimensional-array/87290)

<div class="topic-metadata">

**Author:** [@snowgum](https://discourse.julialang.org/u/snowgum)\
**Replies:** 6\
**Last updated:** [September 15, 2022, 6:21pm UTC](https://discourse.julialang.org/t/interpolate-along-single-dimension-of-multidimensional-array/87290 "2022-09-15T18:21:57Z")

</div>

I’m trying to convert a Python code to Julia that makes use of scipy.interpolate.interp1d, and I’m having difficulty finding the best way to do this in Julia. The interp1d function does 1D interpolation along a given dim…

---

## [When is the next run of "Introduction to Computational Thinking"?](https://discourse.julialang.org/t/when-is-the-next-run-of-introduction-to-computational-thinking/86187)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 10\
**Last updated:** [September 15, 2022, 5:34pm UTC](https://discourse.julialang.org/t/when-is-the-next-run-of-introduction-to-computational-thinking/86187 "2022-09-15T17:34:39Z")

</div>

Hello there, any news on when is the next run of " Introduction to Computational Thinking" scheduled for ? I do strongly prefer to follow an online course that runs “live”, with forums, assignments and due dates rather …

---

## [Can't get the issue with rows/columns images vs matrices in the first video of Computational Thinking](https://discourse.julialang.org/t/cant-get-the-issue-with-rows-columns-images-vs-matrices-in-the-first-video-of-computational-thinking/87301)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 9\
**Last updated:** [September 15, 2022, 5:03pm UTC](https://discourse.julialang.org/t/cant-get-the-issue-with-rows-columns-images-vs-matrices-in-the-first-video-of-computational-thinking/87301 "2022-09-15T17:03:17Z")

</div>

I can’t get the issue of Alan Edelman across all the first video of Introduction to Computational Thinking with the convention used for images vs matrices… the first index is the row index and the second one is the colum…

---

## [Converting MATLAB ".mat" matrices to julia matrices](https://discourse.julialang.org/t/converting-matlab-mat-matrices-to-julia-matrices/87295)

<div class="topic-metadata">

**Author:** [@Muhammad\_Nadeem](https://discourse.julialang.org/u/Muhammad_Nadeem)\
**Replies:** 7\
**Last updated:** [September 15, 2022, 4:35pm UTC](https://discourse.julialang.org/t/converting-matlab-mat-matrices-to-julia-matrices/87295 "2022-09-15T16:35:42Z")

</div>

Hello everyone, I am new to Julia. I have been using MATLAB for quite a while. I have few matlab matices namely, A.mat, B.mat, C.mat and so on. I have to read these matrices into Julia and then do some optimization usin…

---

## [How to know which Julia package to trust?](https://discourse.julialang.org/t/how-to-know-which-julia-package-to-trust/87304)

<div class="topic-metadata">

**Author:** [@Nav](https://discourse.julialang.org/u/Nav)\
**Replies:** 7\
**Last updated:** [September 15, 2022, 3:47pm UTC](https://discourse.julialang.org/t/how-to-know-which-julia-package-to-trust/87304 "2022-09-15T15:47:57Z")

</div>

I’ve seen this discussion, but it doesn’t seem to bring forth a solution. The problem: When I (or anyone) wants to select a Julia package for a task, it’s difficult to choose, because: We don’t know how well it has b…

---

## [How to distribute arrays part of struct with MPI (MPI.jl)](https://discourse.julialang.org/t/how-to-distribute-arrays-part-of-struct-with-mpi-mpi-jl/87305)

<div class="topic-metadata">

**Author:** [@verseve](https://discourse.julialang.org/u/verseve)\
**Replies:** 0\
**Last updated:** [September 15, 2022, 8:30am UTC](https://discourse.julialang.org/t/how-to-distribute-arrays-part-of-struct-with-mpi-mpi-jl/87305 "2022-09-15T08:30:32Z")

</div>

I am wondering what the best approach is to distribute arrays that are part of a struct with MPI. Example of such a struct (partly): @get\_units @with\_kw struct SBM{T,N,M} Δt::T | "s" maxlayers::Int | "-" n:…

---

## [Code in Threads.@threads takes longer than in single-threaded code](https://discourse.julialang.org/t/code-in-threads-threads-takes-longer-than-in-single-threaded-code/87313)

<div class="topic-metadata">

**Author:** [@dafred](https://discourse.julialang.org/u/dafred)\
**Replies:** 0\
**Last updated:** [September 15, 2022, 1:57pm UTC](https://discourse.julialang.org/t/code-in-threads-threads-takes-longer-than-in-single-threaded-code/87313 "2022-09-15T13:57:27Z")

</div>

So I’m trying to reduce execution times of closure loss that is returned from construct loss. I figured that multithreading might help me. I am mostly interested in speeding up ForwardDiff.gradient(loss, p\_initial) but…

---

## [How to split all chars from string array](https://discourse.julialang.org/t/how-to-split-all-chars-from-string-array/45965)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 5\
**Last updated:** [September 15, 2022, 1:29pm UTC](https://discourse.julialang.org/t/how-to-split-all-chars-from-string-array/45965 "2022-09-15T13:29:10Z")

</div>

julia\> (dane\[1,5\]) "TEST" julia\> split(dane\[1,5\],"") 4-element Array{SubString{String},1}: "T" "E" "S" "T" ''' is ok, but ''' julia\> split.(string.(dane\[:,5\],"")) 1074955-element Array{Array{SubString{String},1},1…

---

## [Template not applied to site generated by Franklin.jl](https://discourse.julialang.org/t/template-not-applied-to-site-generated-by-franklin-jl/87279)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 5\
**Last updated:** [September 15, 2022, 1:27pm UTC](https://discourse.julialang.org/t/template-not-applied-to-site-generated-by-franklin-jl/87279 "2022-09-15T13:27:58Z")

</div>

I am trying to host a static site created by Franklin.jl using GitHub Pages of my job’s GitHub Enterprise Server. The hosting part seems working fine because I can access the website through my job’s private network. H…

---

## [Best practices for defining stochastic affect! functions for Jump Problems (RNG)](https://discourse.julialang.org/t/best-practices-for-defining-stochastic-affect-functions-for-jump-problems-rng/87202)

<div class="topic-metadata">

**Author:** [@tom-plaa](https://discourse.julialang.org/u/tom-plaa)\
**Replies:** 7\
**Last updated:** [September 15, 2022, 12:43pm UTC](https://discourse.julialang.org/t/best-practices-for-defining-stochastic-affect-functions-for-jump-problems-rng/87202 "2022-09-15T12:43:42Z")

</div>

I have created a small module based on DifferentialEquations to help me define a certain kind of stochastic differential equations where the stochastic processes are Lévy processes. As the jumps are stochastic, the kind …

---

## [Function select only compatible args](https://discourse.julialang.org/t/function-select-only-compatible-args/87207)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 7\
**Last updated:** [September 15, 2022, 12:42pm UTC](https://discourse.julialang.org/t/function-select-only-compatible-args/87207 "2022-09-15T12:42:41Z")

</div>

In my opinion it would be nice if this could be done directly, : f1(a1; a2=1, a3="a") # a4, a5, ... f2(b1; b2='k', b3=2.0) # b4, b5, ... function f(x, y, z, a1, b1; kwargs...) # code f1(a1; kwargs...) # co…

---

## [Have a function accept an argument of type \`Array{Real}\`](https://discourse.julialang.org/t/have-a-function-accept-an-argument-of-type-array-real/87307)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 3\
**Last updated:** [September 15, 2022, 12:25pm UTC](https://discourse.julialang.org/t/have-a-function-accept-an-argument-of-type-array-real/87307 "2022-09-15T12:25:29Z")

</div>

I have a function function square(a::Real) return a\[1\]^2 end this works with both Int64 and Float64. But if I make it accept an array of Reals I get this julia\> function square(a::Array{Real}) return a…

---

## [Why the current version of a document is not showing in the google search?](https://discourse.julialang.org/t/why-the-current-version-of-a-document-is-not-showing-in-the-google-search/87308)

<div class="topic-metadata">

**Author:** [@ab2z](https://discourse.julialang.org/u/ab2z)\
**Replies:** 0\
**Last updated:** [September 15, 2022, 10:03am UTC](https://discourse.julialang.org/t/why-the-current-version-of-a-document-is-not-showing-in-the-google-search/87308 "2022-09-15T10:03:44Z")

</div>

searching in google for the InMemoryDatasets has led me to the old version of the package InMemoryDatasets in the Juliahub. For the sake of user time saving, it would be suggested, if Juliahub always point to the latest…

---

## [What happend to @profview](https://discourse.julialang.org/t/what-happend-to-profview/79379)

<div class="topic-metadata">

**Author:** [@deltaeecs](https://discourse.julialang.org/u/deltaeecs)\
**Replies:** 9\
**Last updated:** [September 15, 2022, 9:38am UTC](https://discourse.julialang.org/t/what-happend-to-profview/79379 "2022-09-15T09:38:37Z")

</div>

I used to use @profview (defiend in VSCodeServer) in vscode to analyze the cpu time of functions, which provide sth like this The time costs are very clear. But now I get different result like the following using th…

---

## [Multithreading workflow - alternative for :static scheduling](https://discourse.julialang.org/t/multithreading-workflow-alternative-for-static-scheduling/87271)

<div class="topic-metadata">

**Author:** [@kfrb](https://discourse.julialang.org/u/kfrb)\
**Replies:** 2\
**Last updated:** [September 15, 2022, 9:15am UTC](https://discourse.julialang.org/t/multithreading-workflow-alternative-for-static-scheduling/87271 "2022-09-15T09:15:35Z")

</div>

As stated in the docs (Documentation for Threads.@threads): “:static scheduling exists for supporting transition of code written before Julia 1.3. In newly written library functions, :static scheduling is discouraged b…

---

## [Threaded loop shows error when using sparse matrix, but not with dense matrices](https://discourse.julialang.org/t/threaded-loop-shows-error-when-using-sparse-matrix-but-not-with-dense-matrices/87292)

<div class="topic-metadata">

**Author:** [@andresdrenik](https://discourse.julialang.org/u/andresdrenik)\
**Replies:** 3\
**Last updated:** [September 15, 2022, 7:15am UTC](https://discourse.julialang.org/t/threaded-loop-shows-error-when-using-sparse-matrix-but-not-with-dense-matrices/87292 "2022-09-15T07:15:34Z")

</div>

I’m having trouble with a parallelized for loop that replaces the values of a sparse matrix. Here is a simple example that reproduces the error: using SparseArrays function test(θ,Ŵ\_prime,Ŵ) value, index = findmax…

---

## [Help on terminology: multiprocessor vs. multicore](https://discourse.julialang.org/t/help-on-terminology-multiprocessor-vs-multicore/87066)

<div class="topic-metadata">

**Author:** [@HJW019](https://discourse.julialang.org/u/HJW019)\
**Replies:** 12\
**Last updated:** [September 15, 2022, 4:25am UTC](https://discourse.julialang.org/t/help-on-terminology-multiprocessor-vs-multicore/87066 "2022-09-15T04:25:46Z")

</div>

I am trying to understand the definitions of “multiprocessors” and “multicores” and it seems different sources have different definitions. I am mainly confused by whether the terms are defined by the numbers of physical …

---

## [Converting UTM to EPSG:5389](https://discourse.julialang.org/t/converting-utm-to-epsg-5389/87280)

<div class="topic-metadata">

**Author:** [@ameresv](https://discourse.julialang.org/u/ameresv)\
**Replies:** 5\
**Last updated:** [September 14, 2022, 10:20pm UTC](https://discourse.julialang.org/t/converting-utm-to-epsg-5389/87280 "2022-09-14T22:20:54Z")

</div>

It could sound like a silly question, but I am having trouble converting points from UTM to long - lat (researching a bit, I found that I need is EPSG:5389 because is on the Southern side of Peru). So, the data looks li…

---

## [Static.jl vs StaticNumbers.jl](https://discourse.julialang.org/t/static-jl-vs-staticnumbers-jl/87228)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 24\
**Last updated:** [September 14, 2022, 10:02pm UTC](https://discourse.julialang.org/t/static-jl-vs-staticnumbers-jl/87228 "2022-09-14T22:02:22Z")

</div>

I recently learned that there’s a StaticNumbers.jl from @Per that seems very similar to the SciML Static.jl (mostly actively @Zach\_Christensen). Are there known tradeoffs between these? Could there be a possibility to g…

---

## [Is reading from a dict always threadsafe?](https://discourse.julialang.org/t/is-reading-from-a-dict-always-threadsafe/87287)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 1\
**Last updated:** [September 14, 2022, 8:32pm UTC](https://discourse.julialang.org/t/is-reading-from-a-dict-always-threadsafe/87287 "2022-09-14T20:32:44Z")

</div>

Writing to a dict is not thread safe, but reading appears to be: test\_dict = Dict(i =\> i+1 for i in 1:10\_000) ThreadsX.map(x -\> getindex(test\_dict, x), 1:10\_000) \> 10000-element Vector{Int64}: 2 3 4 …

---

## [Threads.@threads ~44 times slower than single threaded code](https://discourse.julialang.org/t/threads-threads-44-times-slower-than-single-threaded-code/87282)

<div class="topic-metadata">

**Author:** [@Kaguro](https://discourse.julialang.org/u/Kaguro)\
**Replies:** 8\
**Last updated:** [September 14, 2022, 8:15pm UTC](https://discourse.julialang.org/t/threads-threads-44-times-slower-than-single-threaded-code/87282 "2022-09-14T20:15:43Z")

</div>

Hello All. I have a program where I basically solve a system of ODEs at N time points using Euler method, and add the solution to an array. N is ~1000 Then I wrap this in another loop which runs the inner loop M times.…

---

## [More flexible Distributions package](https://discourse.julialang.org/t/more-flexible-distributions-package/87016)

<div class="topic-metadata">

**Author:** [@pedro.rafae](https://discourse.julialang.org/u/pedro.rafae)\
**Replies:** 10\
**Last updated:** [September 14, 2022, 8:09pm UTC](https://discourse.julialang.org/t/more-flexible-distributions-package/87016 "2022-09-14T20:09:13Z")

</div>

Dear friends, I am a statistician and I have all my training in this area. In my PhD I worked with probability distribution generators and recently I became interested in the Julia language. I come from the R language an…

---

## [Using Distributed.jl from within Weave.jl?](https://discourse.julialang.org/t/using-distributed-jl-from-within-weave-jl/87238)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 3\
**Last updated:** [September 14, 2022, 7:03pm UTC](https://discourse.julialang.org/t/using-distributed-jl-from-within-weave-jl/87238 "2022-09-14T19:03:38Z")

</div>

I’m using Distributed from within my Weave.jl document because I have a machine which has a big store of data, and I’m asking it to process that data and return me some summary/filtered version of it. When I select bits…

---

## [Conditionnal constraint](https://discourse.julialang.org/t/conditionnal-constraint/87157)

<div class="topic-metadata">

**Author:** [@Zizilabg](https://discourse.julialang.org/u/Zizilabg)\
**Replies:** 6\
**Last updated:** [September 14, 2022, 5:48pm UTC](https://discourse.julialang.org/t/conditionnal-constraint/87157 "2022-09-14T17:48:04Z")

</div>

Hello, I need help to implement a constraint. The goal is to assign students to courses. Some courses can have a maximum of 8 students, others can have a maximum of 12. I first wrote my constraint like this: For j in…

---

## [How to show a struct in html](https://discourse.julialang.org/t/how-to-show-a-struct-in-html/87273)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 9\
**Last updated:** [September 14, 2022, 6:30pm UTC](https://discourse.julialang.org/t/how-to-show-a-struct-in-html/87273 "2022-09-14T18:30:13Z")

</div>

I have the following code: using Parameters import Base.show const BOLD = "\\e\[1m" const RED = "\\033\[31;1m" const GREEN = "\\033\[32;1m" const NORMAL = "\\e\[0m" @with\_kw mutable struct ChargerResult search\_strin…

---

## [Checking that work is being sent to processors: GPU vs Multiple CPUs](https://discourse.julialang.org/t/checking-that-work-is-being-sent-to-processors-gpu-vs-multiple-cpus/87179)

<div class="topic-metadata">

**Author:** [@yoshi](https://discourse.julialang.org/u/yoshi)\
**Replies:** 31\
**Last updated:** [September 14, 2022, 5:01pm UTC](https://discourse.julialang.org/t/checking-that-work-is-being-sent-to-processors-gpu-vs-multiple-cpus/87179 "2022-09-14T17:01:30Z")

</div>

In the Parameter Parallelism section of the DiffEqGPU.jl repo’s documentation there is some code. I got it to work. I want to check that its running on the processing units of the GPU. Is there someway to see workload is…

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

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