# Latest

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

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

**Page:** 533

---

## [Aggregate coverage from multiple GH actions jobs](https://discourse.julialang.org/t/aggregate-coverage-from-multiple-gh-actions-jobs/107490)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 3\
**Last updated:** [December 12, 2023, 4:47pm UTC](https://discourse.julialang.org/t/aggregate-coverage-from-multiple-gh-actions-jobs/107490 "2023-12-12T16:47:08Z")

</div>

I have a repo which contains a main package and a sub package located in /lib, for which I run CI in parallel using multiple GH-actions jobs (groups). This generally works well, except that it’s tricky to get coverage re…

---

## [Support for arrow c interface](https://discourse.julialang.org/t/support-for-arrow-c-interface/107505)

<div class="topic-metadata">

**Author:** [@rdavis120](https://discourse.julialang.org/u/rdavis120)\
**Replies:** 1\
**Last updated:** [December 12, 2023, 4:41pm UTC](https://discourse.julialang.org/t/support-for-arrow-c-interface/107505 "2023-12-12T16:41:25Z")

</div>

In the 2023 Presentation Working with DataFrames (Part 2), the arrow C interface is mentioned by @quinnj. I think Julia is the only language that currently doesn’t support the c interface, but there has been a pull reque…

---

## [Type unstable gradients in Zygote (@code\_warntype)](https://discourse.julialang.org/t/type-unstable-gradients-in-zygote-code-warntype/107279)

<div class="topic-metadata">

**Author:** [@Iris\_Allevi](https://discourse.julialang.org/u/Iris_Allevi)\
**Replies:** 5\
**Last updated:** [December 12, 2023, 4:31pm UTC](https://discourse.julialang.org/t/type-unstable-gradients-in-zygote-code-warntype/107279 "2023-12-12T16:31:04Z")

</div>

Hello there, I’m trying to write efficient code for custom automatic differentiation in Julia. I noticed that even for a simple case, Zygote gives type unstable gradients. Can you please help me understand why? Here’s…

---

## [JuliaSimModelOptimiser get calibration results](https://discourse.julialang.org/t/juliasimmodeloptimiser-get-calibration-results/107503)

<div class="topic-metadata">

**Author:** [@rpex](https://discourse.julialang.org/u/rpex)\
**Replies:** 1\
**Last updated:** [December 12, 2023, 3:33pm UTC](https://discourse.julialang.org/t/juliasimmodeloptimiser-get-calibration-results/107503 "2023-12-12T15:33:10Z")

</div>

Can JuliaSimModelOptimiser.jl topics be asked here? I define a search space and create an JuliaSimModelOptimizer.InverseProblem. Then I calibrate my search space to data and get a JuliaSimModelOptimizer.CalibrateResult. …

---

## [Setting up free final time in JuMP optimization](https://discourse.julialang.org/t/setting-up-free-final-time-in-jump-optimization/107302)

<div class="topic-metadata">

**Author:** [@pluie](https://discourse.julialang.org/u/pluie)\
**Replies:** 8\
**Last updated:** [December 12, 2023, 2:11pm UTC](https://discourse.julialang.org/t/setting-up-free-final-time-in-jump-optimization/107302 "2023-12-12T14:11:07Z")

</div>

I am trying to set up a nonlinear optimization problem using JuMP. I have been referencing some examples included in its documentation. The problem I am trying to set up is similar to the Rocket Control example: Rocket C…

---

## [Failure to match a set element](https://discourse.julialang.org/t/failure-to-match-a-set-element/107478)

<div class="topic-metadata">

**Author:** [@canthonissen](https://discourse.julialang.org/u/canthonissen)\
**Replies:** 4\
**Last updated:** [December 12, 2023, 1:59pm UTC](https://discourse.julialang.org/t/failure-to-match-a-set-element/107478 "2023-12-12T13:59:49Z")

</div>

Hi, I found some unexpected behavour when checking set membership. Specifically, I get a key error when I try to pop! a known member of a set. The problem does not occur in a pattern that I could predict, but I prepar…

---

## [How to install packages to non-root in Dockerfile](https://discourse.julialang.org/t/how-to-install-packages-to-non-root-in-dockerfile/107476)

<div class="topic-metadata">

**Author:** [@elcolie](https://discourse.julialang.org/u/elcolie)\
**Replies:** 2\
**Last updated:** [December 12, 2023, 1:47pm UTC](https://discourse.julialang.org/t/how-to-install-packages-to-non-root-in-dockerfile/107476 "2023-12-12T13:47:15Z")

</div>

FROM julia:1.9 WORKDIR /my\_folder RUN useradd -u 1001 sarit -d /my\_folder RUN chown sarit /my\_folder USER sarit RUN julia -e 'using Pkg; Pkg.add("Pluto", preserve=PRESERVE\_DIRECT);' RUN julia -e 'using Pkg; Pkg.add("IJ…

---

## [Pkg.update exclusion list](https://discourse.julialang.org/t/pkg-update-exclusion-list/107497)

<div class="topic-metadata">

**Author:** [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Replies:** 2\
**Last updated:** [December 12, 2023, 1:30pm UTC](https://discourse.julialang.org/t/pkg-update-exclusion-list/107497 "2023-12-12T13:30:51Z")

</div>

Is it possible to tell the package manager to update all packages except those in user-supplied list? I didn’t see that ‘blacklist’ functionality in the docs. Here’s the very common use case for which this would be hel…

---

## [CxxWrap How to handle Array of Array](https://discourse.julialang.org/t/cxxwrap-how-to-handle-array-of-array/107498)

<div class="topic-metadata">

**Author:** [@kemu](https://discourse.julialang.org/u/kemu)\
**Replies:** 0\
**Last updated:** [December 12, 2023, 1:10pm UTC](https://discourse.julialang.org/t/cxxwrap-how-to-handle-array-of-array/107498 "2023-12-12T13:10:07Z")

</div>

I am using CxxWrap to create a simple wrapper for OpenCV. cv::decomposeHomographyMat() takes std::vector\<cv::Mat\> as an argument, how can I wrap this? I tried jlcxx::ArrayRef\<jlcxx::ArrayRef\<double, 2\>, 1\> but I get st…

---

## [Julia equivalent to C's vsnprintf](https://discourse.julialang.org/t/julia-equivalent-to-cs-vsnprintf/107467)

<div class="topic-metadata">

**Author:** [@mpeters2](https://discourse.julialang.org/u/mpeters2)\
**Replies:** 6\
**Last updated:** [December 12, 2023, 12:29pm UTC](https://discourse.julialang.org/t/julia-equivalent-to-cs-vsnprintf/107467 "2023-12-12T12:29:11Z")

</div>

I’m try to translate some C code to Julia, but I’m a little stumped with how to tackle this. First, there is this macro as well as two global variables: // Shared buffer for variadic text static char\* fc\_buffer = NULL;…

---

## [How to copy the result of python to Julia without allocation memory using PyCall](https://discourse.julialang.org/t/how-to-copy-the-result-of-python-to-julia-without-allocation-memory-using-pycall/107480)

<div class="topic-metadata">

**Author:** [@wly](https://discourse.julialang.org/u/wly)\
**Replies:** 8\
**Last updated:** [December 12, 2023, 11:49am UTC](https://discourse.julialang.org/t/how-to-copy-the-result-of-python-to-julia-without-allocation-memory-using-pycall/107480 "2023-12-12T11:49:19Z")

</div>

I have a Python program whose results will be saved in a big numpy array. I want to use this result in my Julia program, but I find that accessing the data will cause memory allocation in Julia. A demo is as follows: us…

---

## [\[ANN\] Mice.jl - multiple imputation by chained equations in Julia](https://discourse.julialang.org/t/ann-mice-jl-multiple-imputation-by-chained-equations-in-julia/105994)

<div class="topic-metadata">

**Author:** [@tom-metherell](https://discourse.julialang.org/u/tom-metherell)\
**Replies:** 6\
**Last updated:** [December 12, 2023, 11:15am UTC](https://discourse.julialang.org/t/ann-mice-jl-multiple-imputation-by-chained-equations-in-julia/105994 "2023-12-12T11:15:42Z")

</div>

Hi everyone! This is just to introduce Mice.jl. This is a package for missing data handling via multiple imputation by chained equations, heavily based on the R package mice. I wouldn’t necessarily trust it 100% just ye…

---

## [Use ReverseDiff.jl in JuMP](https://discourse.julialang.org/t/use-reversediff-jl-in-jump/107469)

<div class="topic-metadata">

**Author:** [@bdas123](https://discourse.julialang.org/u/bdas123)\
**Replies:** 7\
**Last updated:** [December 12, 2023, 10:10am UTC](https://discourse.julialang.org/t/use-reversediff-jl-in-jump/107469 "2023-12-12T10:10:54Z")

</div>

Is it possible to use ReverseDiff.jl in JuMP.jl instead of ForwardDiff.jl. I am not seeing the desired speedup in JuMP when I’m using ForwardDiff.jl

---

## [Tracking other packages with DrWatson's tagsave](https://discourse.julialang.org/t/tracking-other-packages-with-drwatsons-tagsave/107345)

<div class="topic-metadata">

**Author:** [@wave\_and\_matter](https://discourse.julialang.org/u/wave_and_matter)\
**Replies:** 3\
**Last updated:** [December 12, 2023, 9:10am UTC](https://discourse.julialang.org/t/tracking-other-packages-with-drwatsons-tagsave/107345 "2023-12-12T09:10:52Z")

</div>

I have recently become interested in DrWatson. One of the most important features seems to be “tagsave” which allows me to easily associate data with the julia/drwatson project where it was created, including the git ver…

---

## [Load HDF5 file larger than memory](https://discourse.julialang.org/t/load-hdf5-file-larger-than-memory/107412)

<div class="topic-metadata">

**Author:** [@jisutich](https://discourse.julialang.org/u/jisutich)\
**Replies:** 6\
**Last updated:** [December 12, 2023, 7:27am UTC](https://discourse.julialang.org/t/load-hdf5-file-larger-than-memory/107412 "2023-12-12T07:27:27Z")

</div>

Hi, I am trying to read data from a HDF5 file which is larger than the memory of my computer. I think every time I just need part of data in the file. Is there a way to get part of groups/dataset in the file without loa…

---

## [Metaheuristics International Conference and Julia tutorials](https://discourse.julialang.org/t/metaheuristics-international-conference-and-julia-tutorials/107416)

<div class="topic-metadata">

**Author:** [@Marc\_Sevaux](https://discourse.julialang.org/u/Marc_Sevaux)\
**Replies:** 0\
**Last updated:** [December 11, 2023, 7:59am UTC](https://discourse.julialang.org/t/metaheuristics-international-conference-and-julia-tutorials/107416 "2023-12-11T07:59:51Z")

</div>

The next Metaheuristics International Conference will be organized in Lorient, France on June 4-7, 2024. More information at www.mic2024.fr. We have proposed a series of julia tutorials to spread the language and get ne…

---

## [Language Server Crash after recent VSCode update](https://discourse.julialang.org/t/language-server-crash-after-recent-vscode-update/85844)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 9\
**Last updated:** [August 24, 2022, 1:40am UTC](https://discourse.julialang.org/t/language-server-crash-after-recent-vscode-update/85844 "2022-08-24T01:40:01Z")

</div>

Not sure what I need to do to understand, fix, or report this. Activating project at \`c:\\Users\\username\\.vscode\\extensions\\julialang.language-julia-1.6.31\\scripts\\environments\\languageserver\\v1.7\` \[ Info: Starting the …

---

## [How to input multiple lines in Julia REPL](https://discourse.julialang.org/t/how-to-input-multiple-lines-in-julia-repl/92627)

<div class="topic-metadata">

**Author:** [@Jack\_Chou](https://discourse.julialang.org/u/Jack_Chou)\
**Replies:** 12\
**Last updated:** [December 12, 2023, 5:17am UTC](https://discourse.julialang.org/t/how-to-input-multiple-lines-in-julia-repl/92627 "2023-12-12T05:17:01Z")

</div>

How to input multiple lines in Julia REPL in Windows System, I try to use Ctrl + Enter, but it doesn’t work.

---

## [Understanding Module Loading: System Image vs. Precompilation Cache](https://discourse.julialang.org/t/understanding-module-loading-system-image-vs-precompilation-cache/107431)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 9\
**Last updated:** [December 12, 2023, 4:35am UTC](https://discourse.julialang.org/t/understanding-module-loading-system-image-vs-precompilation-cache/107431 "2023-12-12T04:35:38Z")

</div>

Hi everyone :wave: I’m curious about the module loading process. Recently, I’ve noticed a shift in recommendations regarding package loading. In the past, there was a focus on incorporating packages like Makie and Diffe…

---

## [Scalar indexing using broadcast notation?](https://discourse.julialang.org/t/scalar-indexing-using-broadcast-notation/107471)

<div class="topic-metadata">

**Author:** [@nihil](https://discourse.julialang.org/u/nihil)\
**Replies:** 4\
**Last updated:** [December 12, 2023, 2:39am UTC](https://discourse.julialang.org/t/scalar-indexing-using-broadcast-notation/107471 "2023-12-12T02:39:52Z")

</div>

I want to convert this to broadcast . notation indices = shuffle(\[(i, j) for i in 1:height for j in 1:width\]) for (i, j) in indices img\[i, j\] = sum(img .- (function.((img .- img\[i, j\])…

---

## [Threads.@spawn weird ouput message](https://discourse.julialang.org/t/threads-spawn-weird-ouput-message/94548)

<div class="topic-metadata">

**Author:** [@CeterisPartybus](https://discourse.julialang.org/u/CeterisPartybus)\
**Replies:** 6\
**Last updated:** [December 12, 2023, 1:57am UTC](https://discourse.julialang.org/t/threads-spawn-weird-ouput-message/94548 "2023-12-12T01:57:51Z")

</div>

Hi everyone, I am testing two parallel versions of my loop - one with @threads and one with @spawn. Weirdly, @spawn finishes in a fraction of the time @threads needs, makes much fewer allocations, and gives me this weir…

---

## [Why is there a discrepancy in the value of sqrt(2) from Wolfram Alpha and Julia?](https://discourse.julialang.org/t/why-is-there-a-discrepancy-in-the-value-of-sqrt-2-from-wolfram-alpha-and-julia/107461)

<div class="topic-metadata">

**Author:** [@chandra](https://discourse.julialang.org/u/chandra)\
**Replies:** 5\
**Last updated:** [December 11, 2023, 11:55pm UTC](https://discourse.julialang.org/t/why-is-there-a-discrepancy-in-the-value-of-sqrt-2-from-wolfram-alpha-and-julia/107461 "2023-12-11T23:55:14Z")

</div>

On the Wolfram Alpha website, I get this approximation for sqrt(2) 1.4142135623730950488016887242096980785696718753769480731766797379... With the Julia REPL, I get sqrt(2) 1.4142135623730951 and convert(BigFloat, sq…

---

## [Allocations when iterating Combinatorics.Combinations](https://discourse.julialang.org/t/allocations-when-iterating-combinatorics-combinations/107389)

<div class="topic-metadata">

**Author:** [@greg\_plowman](https://discourse.julialang.org/u/greg_plowman)\
**Replies:** 8\
**Last updated:** [December 11, 2023, 11:54pm UTC](https://discourse.julialang.org/t/allocations-when-iterating-combinatorics-combinations/107389 "2023-12-11T23:54:07Z")

</div>

I can’t see why/where allocations are occurring when iterating a Combinatorics.Combinations object. Here’s the relevant code extract from the Combinatorics package: #The Combinations iterator struct Combinations n:…

---

## [Understanding performance of vectors](https://discourse.julialang.org/t/understanding-performance-of-vectors/107455)

<div class="topic-metadata">

**Author:** [@D-Se](https://discourse.julialang.org/u/D-Se)\
**Replies:** 6\
**Last updated:** [December 11, 2023, 11:10pm UTC](https://discourse.julialang.org/t/understanding-performance-of-vectors/107455 "2023-12-11T23:10:52Z")

</div>

I have created a toy package, TicTacToes.jl to try and write and package some performant Julia code. When trying to write an example on how to use make a (bad) agent play itself, I didn’t understand the performance of o…

---

## [Incorrect filling in polar plot using fillrange](https://discourse.julialang.org/t/incorrect-filling-in-polar-plot-using-fillrange/107390)

<div class="topic-metadata">

**Author:** [@TheBigZet](https://discourse.julialang.org/u/TheBigZet)\
**Replies:** 0\
**Last updated:** [December 10, 2023, 11:00pm UTC](https://discourse.julialang.org/t/incorrect-filling-in-polar-plot-using-fillrange/107390 "2023-12-10T23:00:40Z")

</div>

I am trying to create a polar plot, with hatched area between the series and a constant value. I’ve managed to do so with this code: x1 = collect(range(0, π, length = 100)) x2 = collect(range(π, 0, length = 100)) y1 =…

---

## [Convenience... for simple, concretely-typed, type-inferred variables that do not depend on the type of the arguments, can the editor help me a bit?](https://discourse.julialang.org/t/convenience-for-simple-concretely-typed-type-inferred-variables-that-do-not-depend-on-the-type-of-the-arguments-can-the-editor-help-me-a-bit/107465)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 0\
**Last updated:** [December 11, 2023, 8:47pm UTC](https://discourse.julialang.org/t/convenience-for-simple-concretely-typed-type-inferred-variables-that-do-not-depend-on-the-type-of-the-arguments-can-the-editor-help-me-a-bit/107465 "2023-12-11T20:47:30Z")

</div>

Several algorithms have certain parts with a concrete type. The algorithm might operate on a concrete data structure or have a part of the algorithm where the variable has the same concrete type no matter what type of i…

---

## [Creating a plot containing subplots called from a function](https://discourse.julialang.org/t/creating-a-plot-containing-subplots-called-from-a-function/107405)

<div class="topic-metadata">

**Author:** [@evilrho](https://discourse.julialang.org/u/evilrho)\
**Replies:** 6\
**Last updated:** [December 11, 2023, 7:22pm UTC](https://discourse.julialang.org/t/creating-a-plot-containing-subplots-called-from-a-function/107405 "2023-12-11T19:22:10Z")

</div>

Question about plotting, plot handles, subplots, etc. I’m trying to make a plot function that accepts a vector of a custom data structure. For each entry in the vector, another plot function is called which plots an indi…

---

## [End of Month for Date](https://discourse.julialang.org/t/end-of-month-for-date/107462)

<div class="topic-metadata">

**Author:** [@gsinha](https://discourse.julialang.org/u/gsinha)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 7:21pm UTC](https://discourse.julialang.org/t/end-of-month-for-date/107462 "2023-12-11T19:21:39Z")

</div>

Why does this not work for rolling the date to 2023-06-30? ceil(Date("2023-06-01"), Month) - Day(1) The following works for every other date in that month, e.g ceil(Date("2023-06-02"), Month) - Day(1)

---

## [Download decompressed .zip-archive from url](https://discourse.julialang.org/t/download-decompressed-zip-archive-from-url/107452)

<div class="topic-metadata">

**Author:** [@maximikos](https://discourse.julialang.org/u/maximikos)\
**Replies:** 1\
**Last updated:** [December 11, 2023, 6:11pm UTC](https://discourse.julialang.org/t/download-decompressed-zip-archive-from-url/107452 "2023-12-11T18:11:28Z")

</div>

Hi, I would like to extract and download files from a .zip-archive stored online (here) without having to download intermediate files. The .zip-archive consists of .txt and .json files and is nested. I have found two r…

---

## [Type for large "float like" integers?](https://discourse.julialang.org/t/type-for-large-float-like-integers/107454)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 8\
**Last updated:** [December 11, 2023, 5:32pm UTC](https://discourse.julialang.org/t/type-for-large-float-like-integers/107454 "2023-12-11T17:32:34Z")

</div>

Out of curiosity, is there a provided primitive type to represent a very large integer number with a fixed precision (e.g. 64), for example for an integer like 4.35e435 ? Obviously the information about this monster num…

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

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