# Latest

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

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

**Page:** 382

---

## [Non-mutating array functions](https://discourse.julialang.org/t/non-mutating-array-functions/115948)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [June 20, 2024, 9:08pm UTC](https://discourse.julialang.org/t/non-mutating-array-functions/115948 "2024-06-20T21:08:49Z")

</div>

I sometimes want non-mutating versions of push! and append! which copy their mutable inputs. Another thread asks about non-mutating versions of splice! and deleteat!. Do we already have these somewhere? Can we add them …

---

## [Problem with "9 - Julia is fast.ipynb"](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951)

<div class="topic-metadata">

**Author:** [@watchben](https://discourse.julialang.org/u/watchben)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 8:44pm UTC](https://discourse.julialang.org/t/problem-with-9-julia-is-fast-ipynb/115951 "2024-06-20T20:44:47Z")

</div>

Hello dear community, I downloaded the jupiter notebook file 9 Julia is fast.ipynb about benchmark from intro course (here). When I run the first cell about C language (where it’s supposed to allow writing C in julia e…

---

## [Shared x axis for all subplots](https://discourse.julialang.org/t/shared-x-axis-for-all-subplots/115892)

<div class="topic-metadata">

**Author:** [@Santiago\_Lopez](https://discourse.julialang.org/u/Santiago_Lopez)\
**Replies:** 4\
**Last updated:** [June 20, 2024, 8:10pm UTC](https://discourse.julialang.org/t/shared-x-axis-for-all-subplots/115892 "2024-06-20T20:10:42Z")

</div>

Consider this plot from the EEG.jl package: All signals share the x-axis, and the y-axis is also shared with the name of each signal. How can this be achieved? Using plots(x, my\_list\_of\_signals, layout=(rows, 1)) does…

---

## [Julia documentation site down?](https://discourse.julialang.org/t/julia-documentation-site-down/115945)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 7:10pm UTC](https://discourse.julialang.org/t/julia-documentation-site-down/115945 "2024-06-20T19:10:38Z")

</div>

I seem to be unable to browse to the Julia documentation site at https://docs.julialang.org/. Is it known to be down now?

---

## [LoadError: Failed to precompile Distributions](https://discourse.julialang.org/t/loaderror-failed-to-precompile-distributions/115917)

<div class="topic-metadata">

**Author:** [@markushhh](https://discourse.julialang.org/u/markushhh)\
**Replies:** 3\
**Last updated:** [June 20, 2024, 6:02pm UTC](https://discourse.julialang.org/t/loaderror-failed-to-precompile-distributions/115917 "2024-06-20T18:02:19Z")

</div>

Can someone point me into the right direction how to solve the error? ERROR: LoadError: Failed to precompile Distributions \[31c24e10-a181-5473-b8eb-7969acd0382f\] to "/var/home/user/.julia/compiled/v1.10/Distributions/jl…

---

## [Issue using Images.jl to open a .tif image - OpenCV required](https://discourse.julialang.org/t/issue-using-images-jl-to-open-a-tif-image-opencv-required/115940)

<div class="topic-metadata">

**Author:** [@mward19](https://discourse.julialang.org/u/mward19)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 5:36pm UTC](https://discourse.julialang.org/t/issue-using-images-jl-to-open-a-tif-image-opencv-required/115940 "2024-06-20T17:36:40Z")

</div>

I am trying to use TestImages.jl to load a .tif image, and running into an issue. The same issue occurs when I download the test image and try to open it with Images.jl and FileIO.jl. Images.jl and TestImages.jl claim th…

---

## [CondaPkg installation errors](https://discourse.julialang.org/t/condapkg-installation-errors/115771)

<div class="topic-metadata">

**Author:** [@mikechalice](https://discourse.julialang.org/u/mikechalice)\
**Replies:** 3\
**Last updated:** [June 20, 2024, 5:08pm UTC](https://discourse.julialang.org/t/condapkg-installation-errors/115771 "2024-06-20T17:08:32Z")

</div>

Getting this ImportError/traceback after installing snowflake-connector-python using CondaPkg: ERROR: Python: ImportError: dlopen(/Users/michaelmartin/.julia/environments/v1.10/.CondaPkg/env/lib/python3.12/lib-dynload/\_…

---

## [How to make sure a task interrupts when it takes too long](https://discourse.julialang.org/t/how-to-make-sure-a-task-interrupts-when-it-takes-too-long/115939)

<div class="topic-metadata">

**Author:** [@arnerob](https://discourse.julialang.org/u/arnerob)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 4:42pm UTC](https://discourse.julialang.org/t/how-to-make-sure-a-task-interrupts-when-it-takes-too-long/115939 "2024-06-20T16:42:41Z")

</div>

So I’m trying to do some experiments on how long some algorithms take. Whenever an experiment takes longer than some set time-out I want to stop it and go to another one. The algorithms I’m trying to time are pretty in…

---

## [Optimizing \`powermod\`](https://discourse.julialang.org/t/optimizing-powermod/115936)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 12\
**Last updated:** [June 20, 2024, 3:50pm UTC](https://discourse.julialang.org/t/optimizing-powermod/115936 "2024-06-20T15:50:23Z")

</div>

Here’s how you can implement powermod from scratch in Julia and achieve better performance than the built-in version. (Maybe I need to add more safety checks?) function my\_powermod(a::Int64, b::Int64, c::Int64) @ass…

---

## [Why is ODBC.jl extremely slow using snowflake driver](https://discourse.julialang.org/t/why-is-odbc-jl-extremely-slow-using-snowflake-driver/85354)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 3:36pm UTC](https://discourse.julialang.org/t/why-is-odbc-jl-extremely-slow-using-snowflake-driver/85354 "2024-06-20T15:36:55Z")

</div>

Hi all :slight\_smile: I’m using ODBC.jl with snowflake. I ran into a problem though while using the replace function in the query string. For example: 1.) SELECT replace(col\_name, '.', ' ') as col\_name FROM d…

---

## [3d BarPlot with Makie.jl](https://discourse.julialang.org/t/3d-barplot-with-makie-jl/115861)

<div class="topic-metadata">

**Author:** [@PhilippA](https://discourse.julialang.org/u/PhilippA)\
**Replies:** 4\
**Last updated:** [June 20, 2024, 3:34pm UTC](https://discourse.julialang.org/t/3d-barplot-with-makie-jl/115861 "2024-06-20T15:34:11Z")

</div>

I would like to visualise a simple pdf of a bivariate discrete distribution. Is it possible to do a simple 3D bar plot in Makie.jl, similar to this solution: https://www.wolfram.com/mathematica/new-in-8/new-and-improved…

---

## [Precompilation after Julia Update](https://discourse.julialang.org/t/precompilation-after-julia-update/113792)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 9\
**Last updated:** [June 20, 2024, 3:15pm UTC](https://discourse.julialang.org/t/precompilation-after-julia-update/113792 "2024-06-20T15:15:32Z")

</div>

Hi, updating Julia versions can be annoying because precompilation for big projects take quite long. I thought it’s clever to do the update, and then run a script which activates all my dev folders and instantiates the…

---

## [Certain packages do not precompile in Julia Docker](https://discourse.julialang.org/t/certain-packages-do-not-precompile-in-julia-docker/115824)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 2:55pm UTC](https://discourse.julialang.org/t/certain-packages-do-not-precompile-in-julia-docker/115824 "2024-06-20T14:55:40Z")

</div>

Cheers, My docker container uses several packages and ran smoothly up to the point I added package ImageInTerminal to the environment. Apparently, the container needs an artifact file that is not being pulled/created. E…

---

## [Frequency-wavenumber spectrum?](https://discourse.julialang.org/t/frequency-wavenumber-spectrum/115821)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 7\
**Last updated:** [June 20, 2024, 1:55pm UTC](https://discourse.julialang.org/t/frequency-wavenumber-spectrum/115821 "2024-06-20T13:55:06Z")

</div>

Hi everyone. I have some 2D data in time and space. I am trying to do some Frequency-wavenumber analysis. Anyone has a code to compute the proper Frequency-wavenumber spectrum? Let me know. Kind regards. M.

---

## [Python big integer vs. Julia big integer arithmetic](https://discourse.julialang.org/t/python-big-integer-vs-julia-big-integer-arithmetic/115777)

<div class="topic-metadata">

**Author:** [@oOosys](https://discourse.julialang.org/u/oOosys)\
**Replies:** 89\
**Last updated:** [June 20, 2024, 1:12pm UTC](https://discourse.julialang.org/t/python-big-integer-vs-julia-big-integer-arithmetic/115777 "2024-06-20T13:12:39Z")

</div>

Here what I am wondering about: ~ $ time python -c "print( 3^100000000000 % 102 )" 91 real 0m0.030s user 0m0.026s sys 0m0.004s ~ $ time julia -e "println( big(3)^100000000000 % 102 )" ERROR: OutOfMemoryError() Stacktra…

---

## [GLMakie: volume plot for nonuniform grid](https://discourse.julialang.org/t/glmakie-volume-plot-for-nonuniform-grid/115913)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 12:25pm UTC](https://discourse.julialang.org/t/glmakie-volume-plot-for-nonuniform-grid/115913 "2024-06-20T12:25:25Z")

</div>

After the recent Makie update the volume plots show the deprecation warning if you pass arrays as the coordinates for the axes: import GLMakie as mak x = y = range(-10, 10, 101) z = range(-5, 5, 101) F = \[exp(-(xi^2 + …

---

## [struct/Matrix/Vector/Assign values (structural model)](https://discourse.julialang.org/t/struct-matrix-vector-assign-values-structural-model/115910)

<div class="topic-metadata">

**Author:** [@Sihyun\_Kim](https://discourse.julialang.org/u/Sihyun_Kim)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 11:50am UTC](https://discourse.julialang.org/t/struct-matrix-vector-assign-values-structural-model/115910 "2024-06-20T11:50:49Z")

</div>

I am constructing some structural (economic) model. This requires me to write something (a simple version for illustration) like using Parameters @with\_kw struct test\_model @deftype Float64 β = 0.98 end struct test{…

---

## [Using \`similar\` with ArrayPartitions](https://discourse.julialang.org/t/using-similar-with-arraypartitions/115802)

<div class="topic-metadata">

**Author:** [@dbox](https://discourse.julialang.org/u/dbox)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 11:11am UTC](https://discourse.julialang.org/t/using-similar-with-arraypartitions/115802 "2024-06-20T11:11:18Z")

</div>

Hi, I’m trying to solve an ODE with variables of different types using an ArrayPartition. I have tried several solvers but they all get stuck on performing similar(ArrayPartition, Type). The code executed in the ODE so…

---

## [Precompilation interrupted (bug?)](https://discourse.julialang.org/t/precompilation-interrupted-bug/115853)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 11:03am UTC](https://discourse.julialang.org/t/precompilation-interrupted-bug/115853 "2024-06-20T11:03:13Z")

</div>

I started to see this consistent interruption of the precompilation stage whenever I install packages in fresh environments. For example, if I start a fresh environment and \] add GeoStats on Julia v1.10.4, I get the foll…

---

## [Which is better for traits? Subtyping vs parametric typing](https://discourse.julialang.org/t/which-is-better-for-traits-subtyping-vs-parametric-typing/115899)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 3\
**Last updated:** [June 20, 2024, 10:52am UTC](https://discourse.julialang.org/t/which-is-better-for-traits-subtyping-vs-parametric-typing/115899 "2024-06-20T10:52:36Z")

</div>

I want to define traits (I don’t know so much about traits but perhaps traits). I know 2 ways. Abstract type and subtypes: abstract type YAMLVersion end struct YAMLV1\_1 \<: YAMLVersion end struct YAMLV1\_2 \<: YAMLVersi…

---

## [Matrix vs. AbstractMatrix](https://discourse.julialang.org/t/matrix-vs-abstractmatrix/115912)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 3\
**Last updated:** [June 20, 2024, 10:17am UTC](https://discourse.julialang.org/t/matrix-vs-abstractmatrix/115912 "2024-06-20T10:17:59Z")

</div>

I am pondering to change the definition of the basic object DescriptorStateSpace used in the DescriptorSystems package from struct DescriptorStateSpace{T, ET \<: ETYPE{T}} \<: AbstractDescriptorStateSpace A::Matrix{T…

---

## [Developing interdependent, local, unregistered packages](https://discourse.julialang.org/t/developing-interdependent-local-unregistered-packages/103936)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 18\
**Last updated:** [June 20, 2024, 10:09am UTC](https://discourse.julialang.org/t/developing-interdependent-local-unregistered-packages/103936 "2024-06-20T10:09:19Z")

</div>

I’m trying to develop some local, interdependent, unregistered packages on Julia v1.9. As far as I can tell, it is still really hard to make it work. Am I doing something wrong? Is there a usable workflow on Julia v1.9? …

---

## [Array of tuples](https://discourse.julialang.org/t/array-of-tuples/11435)

<div class="topic-metadata">

**Author:** [@jcrbloch](https://discourse.julialang.org/u/jcrbloch)\
**Replies:** 17\
**Last updated:** [June 20, 2024, 9:39am UTC](https://discourse.julialang.org/t/array-of-tuples/11435 "2024-06-20T09:39:27Z")

</div>

I have an array A of tuples Array{TupleFloat64,Float64},1}, but am not able to make two arrays out of this like: I1 = A\[:\]\[1\] I2 = A\[:\]\[2 even though I can access the individual elements with A\[i\]\[j\]

---

## [PyCall defaults to global python, despite ENV\["PYTHON"\] = ""](https://discourse.julialang.org/t/pycall-defaults-to-global-python-despite-env-python/115909)

<div class="topic-metadata">

**Author:** [@thomaskroi1996](https://discourse.julialang.org/u/thomaskroi1996)\
**Replies:** 0\
**Last updated:** [June 20, 2024, 8:53am UTC](https://discourse.julialang.org/t/pycall-defaults-to-global-python-despite-env-python/115909 "2024-06-20T08:53:27Z")

</div>

Hello everyone! I am currently trying to get some CGAL bindings to work on Julia v1.9. Unfourtunately CGAL.jl does not work for Julia v1.9, so i have to resort to using PyCall and the python bindings! I have used PyCal…

---

## [Is it possible to "using" or "import” specific version of a registered package](https://discourse.julialang.org/t/is-it-possible-to-using-or-import-specific-version-of-a-registered-package/115902)

<div class="topic-metadata">

**Author:** [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Replies:** 8\
**Last updated:** [June 20, 2024, 7:54am UTC](https://discourse.julialang.org/t/is-it-possible-to-using-or-import-specific-version-of-a-registered-package/115902 "2024-06-20T07:54:27Z")

</div>

I just want to know whether it is possible to “using” or "import” the latest version of a registered package of which the version installed in a local machine is limited to the obsolescence by other installed packages.

---

## [JuliaCon broke my calendar](https://discourse.julialang.org/t/juliacon-broke-my-calendar/115888)

<div class="topic-metadata">

**Author:** [@KeithWM](https://discourse.julialang.org/u/KeithWM)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 7:47am UTC](https://discourse.julialang.org/t/juliacon-broke-my-calendar/115888 "2024-06-20T07:47:11Z")

</div>

Maybe not quite litterally, but after marking my favourite talks in the JuliaCon programme, I chose to export the .ics file and import it into my calendar. I assumed that would only export and import the selected favouri…

---

## [Hcubature\_count?](https://discourse.julialang.org/t/hcubature-count/115878)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 6\
**Last updated:** [June 20, 2024, 7:07am UTC](https://discourse.julialang.org/t/hcubature-count/115878 "2024-06-20T07:07:03Z")

</div>

Is there a \_count equivalent for hcubature in the same way that quadgk\_count is for quadgk? Thx.

---

## [Error in parsing BaseModelica model](https://discourse.julialang.org/t/error-in-parsing-basemodelica-model/115851)

<div class="topic-metadata">

**Author:** [@thermal\_pro](https://discourse.julialang.org/u/thermal_pro)\
**Replies:** 3\
**Last updated:** [June 20, 2024, 4:36am UTC](https://discourse.julialang.org/t/error-in-parsing-basemodelica-model/115851 "2024-06-20T04:36:49Z")

</div>

I have been trying to parse a model to ModelingToolkit using the parse\_basemodelica function, available in Basemodelica.jl. But encounters the following error: "Error during FSM execution at buffer position 19. Last 19 …

---

## [Intermittent \`IOError: SSL\_ERROR\_SYSCALL\` on put to S3](https://discourse.julialang.org/t/intermittent-ioerror-ssl-error-syscall-on-put-to-s3/115873)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 1:38am UTC](https://discourse.julialang.org/t/intermittent-ioerror-ssl-error-syscall-on-put-to-s3/115873 "2024-06-20T01:38:59Z")

</div>

I have a loop that writes bytes to S3. It works about 95% of the time. Then periodically, I get a cryptic error from the depths of HTTP.jl about SSL\_ERROR\_SYSCALL. The function looks like this using Retry: @repeat usin…

---

## [CircularBuffer//insert value](https://discourse.julialang.org/t/circularbuffer-insert-value/115893)

<div class="topic-metadata">

**Author:** [@Sihyun\_Kim](https://discourse.julialang.org/u/Sihyun_Kim)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 1:27am UTC](https://discourse.julialang.org/t/circularbuffer-insert-value/115893 "2024-06-20T01:27:38Z")

</div>

I have CircularBuffer (sorted) array, and want to insert the value into it. A simple example is cb = CircularBuffer{Float64}(5) #when full capacity append!(cb, \[1.0, 2.0, 3.0, 4.0, 5.0\]) ii = searchsortedlast(cb, 3.5) c…

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

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