# Latest

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

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

**Page:** 873

---

## [Running Julia with multi-threading with \`qsub\`](https://discourse.julialang.org/t/running-julia-with-multi-threading-with-qsub/89850)

<div class="topic-metadata">

**Author:** [@Rick](https://discourse.julialang.org/u/Rick)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 8:20pm UTC](https://discourse.julialang.org/t/running-julia-with-multi-threading-with-qsub/89850 "2022-11-06T20:20:57Z")

</div>

Hi everyone!! I have a question on what is the correct way to run Julia with multithreads with qsub. I am trying to submit a job to the cluster to run Julia with multiple threads. I did the followings: julia "test.jl" …

---

## [Get the name and the value of every field for an object](https://discourse.julialang.org/t/get-the-name-and-the-value-of-every-field-for-an-object/87052)

<div class="topic-metadata">

**Author:** [@ivoytov](https://discourse.julialang.org/u/ivoytov)\
**Replies:** 5\
**Last updated:** [November 6, 2022, 8:02pm UTC](https://discourse.julialang.org/t/get-the-name-and-the-value-of-every-field-for-an-object/87052 "2022-11-06T20:02:07Z")

</div>

I am writing my objects to and from my database. Database columns and field names are matching, so for convenience sake I would like to get an array of fieldnames and an array of field values to pass to the SQL INSERT IN…

---

## [How to show large number of lines using Julia, GLMakie](https://discourse.julialang.org/t/how-to-show-large-number-of-lines-using-julia-glmakie/56725)

<div class="topic-metadata">

**Author:** [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Replies:** 14\
**Last updated:** [November 6, 2022, 3:59pm UTC](https://discourse.julialang.org/t/how-to-show-large-number-of-lines-using-julia-glmakie/56725 "2022-11-06T15:59:05Z")

</div>

I try to show the road network, which has over 400,000 segments. I first tried the package OpenStreetMapXPlot.jl. However, it takes very long time and cannot plot. Then, I tried to use GLMakie.jl using Makie, GeometryT…

---

## [AssertionError: isfinite(phi\_c) && isfinite(dphi\_c) when estimating EGARCH](https://discourse.julialang.org/t/assertionerror-isfinite-phi-c-isfinite-dphi-c-when-estimating-egarch/89841)

<div class="topic-metadata">

**Author:** [@ultratrader](https://discourse.julialang.org/u/ultratrader)\
**Replies:** 0\
**Last updated:** [November 6, 2022, 3:40pm UTC](https://discourse.julialang.org/t/assertionerror-isfinite-phi-c-isfinite-dphi-c-when-estimating-egarch/89841 "2022-11-06T15:40:50Z")

</div>

I tried to forecast VaR(Value at Risk) based on GARCH model using ARCHModels.jl. I found no problem for standard GARCH and TGARCH. using TimeSeries, MarketData, ARCHModels using Plots, Dates, Missings startdate = DateTi…

---

## [How to warn new users away from metaprogramming](https://discourse.julialang.org/t/how-to-warn-new-users-away-from-metaprogramming/35022)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 27\
**Last updated:** [November 6, 2022, 2:17pm UTC](https://discourse.julialang.org/t/how-to-warn-new-users-away-from-metaprogramming/35022 "2022-11-06T14:17:56Z")

</div>

Metaprogramming is a great feature of Julia, allowing advanced users to introduce syntactic extensions with macros, and work around code optimization problems using generated functions. However, it is somewhat of an adva…

---

## [Using PLASMA instead of LAPACK?](https://discourse.julialang.org/t/using-plasma-instead-of-lapack/25838)

<div class="topic-metadata">

**Author:** [@Red-Portal](https://discourse.julialang.org/u/Red-Portal)\
**Replies:** 5\
**Last updated:** [November 6, 2022, 12:25pm UTC](https://discourse.julialang.org/t/using-plasma-instead-of-lapack/25838 "2022-11-06T12:25:34Z")

</div>

Hi, I recently tested using PLASMA instead of LAPACK on a single socket 32 core AMD Threadripper. The results below are from running LU decomposition. It seems above a certain scale, PLASMA achieves much higher parall…

---

## [Computing a pruned FFT in O(n\*log(k))](https://discourse.julialang.org/t/computing-a-pruned-fft-in-o-n-log-k/89570)

<div class="topic-metadata">

**Author:** [@nvenkov1](https://discourse.julialang.org/u/nvenkov1)\
**Replies:** 5\
**Last updated:** [November 6, 2022, 12:05pm UTC](https://discourse.julialang.org/t/computing-a-pruned-fft-in-o-n-log-k/89570 "2022-11-06T12:05:46Z")

</div>

Let’s say that I consider a DFT with n coefficients. I am only interested in k\<\<n of these coefficients. In theory, it is possible to compute these k coefficients in O(n\* log(k)) instead of O(n\* log(n)), see https://www.…

---

## [Why can't the compiler infer the size/type of my Zip?](https://discourse.julialang.org/t/why-cant-the-compiler-infer-the-size-type-of-my-zip/89830)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 5\
**Last updated:** [November 6, 2022, 11:53am UTC](https://discourse.julialang.org/t/why-cant-the-compiler-infer-the-size-type-of-my-zip/89830 "2022-11-06T11:53:03Z")

</div>

Hi everyone, I’m currently implementing JAX’s function transformations in Julia. In my code I dispatch on the number of the inputs to ensure that the length of slices\_iterator is known at compile time. However this appe…

---

## [Clear variables in caller workspace](https://discourse.julialang.org/t/clear-variables-in-caller-workspace/89825)

<div class="topic-metadata">

**Author:** [@hclin](https://discourse.julialang.org/u/hclin)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 11:22am UTC](https://discourse.julialang.org/t/clear-variables-in-caller-workspace/89825 "2022-11-06T11:22:15Z")

</div>

Hi all, I want to utilize memory usage in Julia. Before I do some heavy computations, I want to clear some big matrices to optimize the memory usage in my code. For example, I have two big matrices, A and B. In the fun…

---

## [Softmax using Tullio](https://discourse.julialang.org/t/softmax-using-tullio/89838)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 9:12am UTC](https://discourse.julialang.org/t/softmax-using-tullio/89838 "2022-11-06T09:12:28Z")

</div>

I want to port my DIY softmax function softmax(x) = exp.(x .- maximum(x)) / sum(exp.(x .- maximum(x))) to Tullio einsum so that it runs faster and gives fast symbolic gradients I split it into multiple lines, and it w…

---

## [Skip/nth Sampling in Turing / Thinning](https://discourse.julialang.org/t/skip-nth-sampling-in-turing-thinning/89829)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 1\
**Last updated:** [November 6, 2022, 7:49am UTC](https://discourse.julialang.org/t/skip-nth-sampling-in-turing-thinning/89829 "2022-11-06T07:49:48Z")

</div>

I’ve got a situation where I’m trying to select a set of “discriminators” from among a large number of things… so I want a vector of either -1,0,1 which when dotted with a vector of 0,1 (absent,present) gives a “score” t…

---

## [Cheapest way for creating a CartesianIndex](https://discourse.julialang.org/t/cheapest-way-for-creating-a-cartesianindex/89819)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 9\
**Last updated:** [November 6, 2022, 8:45am UTC](https://discourse.julialang.org/t/cheapest-way-for-creating-a-cartesianindex/89819 "2022-11-06T08:45:47Z")

</div>

Hi, I am trying to write a generic multidimensional algorithm where I need a random access to an ND Array. I need to define a CartesianIndex with computed coordinates and modify my array using this CI. Unfortunately i…

---

## [Axis jitter when using slider and axis autolimits in GLMakie](https://discourse.julialang.org/t/axis-jitter-when-using-slider-and-axis-autolimits-in-glmakie/89687)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 6:26am UTC](https://discourse.julialang.org/t/axis-jitter-when-using-slider-and-axis-autolimits-in-glmakie/89687 "2022-11-06T06:26:31Z")

</div>

When using a Slider that changes a variable in a function, sometimes the amplitude can change quite a lot. In some cases, it makes sense to resize the axes to see what’s going on in a plot. This can easily be done in GLM…

---

## [Drop Python 2.7 support in pyjulia?](https://discourse.julialang.org/t/drop-python-2-7-support-in-pyjulia/89694)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 4\
**Last updated:** [November 6, 2022, 3:50am UTC](https://discourse.julialang.org/t/drop-python-2-7-support-in-pyjulia/89694 "2022-11-06T03:50:16Z")

</div>

@MilesCranmer has proposed dropping Python 2.7 support via this pull request: Is anyone going to miss it?

---

## [Proposal to merge the JuliaLinearAlgebra and JuliaMatrices organizations](https://discourse.julialang.org/t/proposal-to-merge-the-julialinearalgebra-and-juliamatrices-organizations/89081)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 10\
**Last updated:** [November 6, 2022, 2:48am UTC](https://discourse.julialang.org/t/proposal-to-merge-the-julialinearalgebra-and-juliamatrices-organizations/89081 "2022-11-06T02:48:54Z")

</div>

It seems like the JuliaLinearAlgebra and JuliaMatrices are very similar in scope. We (Viral, Alex, and myself) would like to propose merging the two organizations. Any objections?

---

## [Is PyJulia being maintained?](https://discourse.julialang.org/t/is-pyjulia-being-maintained/82607)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 41\
**Last updated:** [November 6, 2022, 2:46am UTC](https://discourse.julialang.org/t/is-pyjulia-being-maintained/82607 "2022-11-06T02:46:14Z")

</div>

PyJulia is an awesome interface to Julia from Python and seems to be the ultimate “gateway drug” for Python communities, to inject some Julia speed into their software without having to disrupt the frontend API. It’s app…

---

## [Understanding the confidence interval of Sobol indices](https://discourse.julialang.org/t/understanding-the-confidence-interval-of-sobol-indices/89643)

<div class="topic-metadata">

**Author:** [@Ge0rges](https://discourse.julialang.org/u/Ge0rges)\
**Replies:** 4\
**Last updated:** [November 6, 2022, 2:15am UTC](https://discourse.julialang.org/t/understanding-the-confidence-interval-of-sobol-indices/89643 "2022-11-06T02:15:20Z")

</div>

Hello, The documentation around the confidence level of Sobol indices is a bit sparse. Could someone explain how the following works in GlobalSensitivity: The role of nboot The role of setting conf\_level How to retr…

---

## [LightOSM and OpenStreetMapX assigning inconsistent nearest node](https://discourse.julialang.org/t/lightosm-and-openstreetmapx-assigning-inconsistent-nearest-node/89633)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 3\
**Last updated:** [November 6, 2022, 12:44am UTC](https://discourse.julialang.org/t/lightosm-and-openstreetmapx-assigning-inconsistent-nearest-node/89633 "2022-11-06T00:44:05Z")

</div>

100 randomly chosen real coordinates: pts = collect(zip(df.cLat, df.cLng))\[rand(1:size(df, 1), 100)\] Conversion of points to appropriate package types: losm\_pts = \[GeoLocation(pts\[i\]\[1\], pts\[i\]\[2\]) for i in 1:length(p…

---

## [Copying Data from one Excel sheet to three different ones](https://discourse.julialang.org/t/copying-data-from-one-excel-sheet-to-three-different-ones/89812)

<div class="topic-metadata">

**Author:** [@MeryKay](https://discourse.julialang.org/u/MeryKay)\
**Replies:** 4\
**Last updated:** [November 6, 2022, 12:35am UTC](https://discourse.julialang.org/t/copying-data-from-one-excel-sheet-to-three-different-ones/89812 "2022-11-06T00:35:13Z")

</div>

Hallo everybody, I would like to copy data from one Excel sheet(named origin) which is saved in A1:A3000 to three different excel sheets (named 1, 2 ,3). In the end, I want to have the content from A1:A1000 from “origi…

---

## ['Cache file appears to be corrupt', How can I determine which file?](https://discourse.julialang.org/t/cache-file-appears-to-be-corrupt-how-can-i-determine-which-file/89826)

<div class="topic-metadata">

**Author:** [@contradict](https://discourse.julialang.org/u/contradict)\
**Replies:** 3\
**Last updated:** [November 6, 2022, 12:21am UTC](https://discourse.julialang.org/t/cache-file-appears-to-be-corrupt-how-can-i-determine-which-file/89826 "2022-11-06T00:21:50Z")

</div>

This happens when I import Revise, but I suspect Revise is the victim here. How can I track down the culprit? $ julia --startup-file=no \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.or…

---

## [Meaning of base and pad in string(n::Integer; base::Integer = 10, pad::Integer = 1)](https://discourse.julialang.org/t/meaning-of-base-and-pad-in-string-n-integer-base-integer-10-pad-integer-1/89798)

<div class="topic-metadata">

**Author:** [@Gray](https://discourse.julialang.org/u/Gray)\
**Replies:** 6\
**Last updated:** [November 5, 2022, 11:27pm UTC](https://discourse.julialang.org/t/meaning-of-base-and-pad-in-string-n-integer-base-integer-10-pad-integer-1/89798 "2022-11-05T23:27:43Z")

</div>

Hello, I understand how to use strings, but it’s not clear what exactly the base and pad are doing here: string(n::Integer; base::Integer = 10, pad::Integer = 1) Can anyone help explain what operation they are performi…

---

## [Questions about DataFrame](https://discourse.julialang.org/t/questions-about-dataframe/89813)

<div class="topic-metadata">

**Author:** [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)\
**Replies:** 2\
**Last updated:** [November 5, 2022, 10:52pm UTC](https://discourse.julialang.org/t/questions-about-dataframe/89813 "2022-11-05T22:52:00Z")

</div>

I have a DataFrame like the following.I want to use the each row’s first ,second col and third ,forth col to do t test. using DataFrames,HypothesisTests a=DataFrame(x=\[1,2,3,4,5,6,7,8,9,10.2\],b=\[0.1,0.5,1,2,3,4,3,5,6,7…

---

## [Default ==() for structs doesn't work for struct witth Decimals?](https://discourse.julialang.org/t/default-for-structs-doesnt-work-for-struct-witth-decimals/89822)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 2\
**Last updated:** [November 5, 2022, 10:17pm UTC](https://discourse.julialang.org/t/default-for-structs-doesnt-work-for-struct-witth-decimals/89822 "2022-11-05T22:17:25Z")

</div>

Why does this happen? using Decimals struct MyType{T,P} x::T y::P end t1 = MyType{Int64,Int64}(1,2) t2 = MyType{Int64,Int64}(1,2) t1 == t2 # true, expected q1 = MyType{Decimal,Int64}(1,2) q2 = MyType{Decimal,…

---

## [How do I remove all my installed packages at once, if possible?](https://discourse.julialang.org/t/how-do-i-remove-all-my-installed-packages-at-once-if-possible/66820)

<div class="topic-metadata">

**Author:** [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Replies:** 15\
**Last updated:** [November 5, 2022, 10:08pm UTC](https://discourse.julialang.org/t/how-do-i-remove-all-my-installed-packages-at-once-if-possible/66820 "2022-11-05T22:08:38Z")

</div>

When I first started Julia I installed a Lot of packages to try. Now I have two pagefulls with conflicts and it’s hard to figure out which pkg is the cause. I’d like to just delete the lot and reinstall the few I’ve foun…

---

## [ControlSystems / Numeric representation of the x-axis for bodeplot](https://discourse.julialang.org/t/controlsystems-numeric-representation-of-the-x-axis-for-bodeplot/89562)

<div class="topic-metadata">

**Author:** [@GottDengDirk](https://discourse.julialang.org/u/GottDengDirk)\
**Replies:** 14\
**Last updated:** [November 4, 2022, 8:24am UTC](https://discourse.julialang.org/t/controlsystems-numeric-representation-of-the-x-axis-for-bodeplot/89562 "2022-11-04T08:24:00Z")

</div>

Hello, I want the numbers on the x-axis to be integers wenn i use “bodeplot”. For example 0 0.2 0.4, but not 210^-1 410^-1. Thanks in advance.

---

## [Periodically retesting packages, saving manifest](https://discourse.julialang.org/t/periodically-retesting-packages-saving-manifest/89824)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [November 5, 2022, 9:00pm UTC](https://discourse.julialang.org/t/periodically-retesting-packages-saving-manifest/89824 "2022-11-05T21:00:49Z")

</div>

To aid in delivering reliable code, I would like to setup a CI action to periodically retest my packages against its dependencies. Furthermore, when those tests have completed I would like save the Manifest.toml to have …

---

## [Analysis of ensembles of different solution lengths (DiffEq)](https://discourse.julialang.org/t/analysis-of-ensembles-of-different-solution-lengths-diffeq/89752)

<div class="topic-metadata">

**Author:** [@Lachlan-Bn](https://discourse.julialang.org/u/Lachlan-Bn)\
**Replies:** 1\
**Last updated:** [November 5, 2022, 8:56pm UTC](https://discourse.julialang.org/t/analysis-of-ensembles-of-different-solution-lengths-diffeq/89752 "2022-11-05T20:56:39Z")

</div>

I’m solving some ensembles where each trajectory is going to have a wildly different length due to a termination callback. I’d like to be able to, e.g using the EnsembleSolution/EnsembleSummary methods visualize how this…

---

## [Drawing an outline around one data point in heatmap](https://discourse.julialang.org/t/drawing-an-outline-around-one-data-point-in-heatmap/89820)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [November 5, 2022, 8:46pm UTC](https://discourse.julialang.org/t/drawing-an-outline-around-one-data-point-in-heatmap/89820 "2022-11-05T20:46:53Z")

</div>

Suppose I have a heatmap created using Makie.jl: data = rand(10,10) fig = Figure() ax = Axis(fig\[1,1\], aspect=1) hm = heatmap!(ax, data) fig The heatmap is essentially 10x10 rectangles with different colors. How do I…

---

## [Makie - control whether Colorbar for heatmap shows extended range](https://discourse.julialang.org/t/makie-control-whether-colorbar-for-heatmap-shows-extended-range/89772)

<div class="topic-metadata">

**Author:** [@alex-robinson](https://discourse.julialang.org/u/alex-robinson)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 8:45pm UTC](https://discourse.julialang.org/t/makie-control-whether-colorbar-for-heatmap-shows-extended-range/89772 "2022-11-05T20:45:46Z")

</div>

Hi, When using heatmap together with Colorbar, I am having trouble understanding how to use the arguments colorrange and lowclip, highclip. I want to plot an array with values ranging from 0 to 1. If I try to make a fi…

---

## [Why use metaprogramming?](https://discourse.julialang.org/t/why-use-metaprogramming/89626)

<div class="topic-metadata">

**Author:** [@1153dent](https://discourse.julialang.org/u/1153dent)\
**Replies:** 7\
**Last updated:** [November 5, 2022, 7:21pm UTC](https://discourse.julialang.org/t/why-use-metaprogramming/89626 "2022-11-05T19:21:12Z")

</div>

Hi all I am planning on doing the following in PlutoHooks.jl stream structured IPM’s into a ZMQ pipe have the IPM’s processed in a Pluto notebook cell using Plutohooks.jl the IPM data will be used to update ( in real …

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

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