# Latest

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

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

**Page:** 477

---

## [How to display precompilation/import time with Documenter.jl?](https://discourse.julialang.org/t/how-to-display-precompilation-import-time-with-documenter-jl/110607)

<div class="topic-metadata">

**Author:** [@putianyi888](https://discourse.julialang.org/u/putianyi888)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 9:37pm UTC](https://discourse.julialang.org/t/how-to-display-precompilation-import-time-with-documenter-jl/110607 "2024-02-22T21:37:28Z")

</div>

When I put Pkg.precompile("Mypkg") or @time\_imports using Mypkg in a @repl block, no output is rendered. How do I get the same output as what I have in my repl?

---

## [Seeking Package for Digital Image Correlation (DIC)](https://discourse.julialang.org/t/seeking-package-for-digital-image-correlation-dic/108718)

<div class="topic-metadata">

**Author:** [@bachrathyd](https://discourse.julialang.org/u/bachrathyd)\
**Replies:** 5\
**Last updated:** [February 22, 2024, 8:47pm UTC](https://discourse.julialang.org/t/seeking-package-for-digital-image-correlation-dic/108718 "2024-02-22T20:47:45Z")

</div>

Hi! I am currently in search of a Julia package that can handle digital image correlation, particularly one that is optimized for quick analysis of video data from bidirectional tensile tests. The ability to accurately …

---

## [Error in dblquad integration with Unitful and MonteCarloMeasurements](https://discourse.julialang.org/t/error-in-dblquad-integration-with-unitful-and-montecarlomeasurements/110420)

<div class="topic-metadata">

**Author:** [@GSavvidis](https://discourse.julialang.org/u/GSavvidis)\
**Replies:** 5\
**Last updated:** [February 22, 2024, 7:00pm UTC](https://discourse.julialang.org/t/error-in-dblquad-integration-with-unitful-and-montecarlomeasurements/110420 "2024-02-22T19:00:05Z")

</div>

Hello everyone, This is my first post so apologies in advance for any mistakes in the question format. I have been trying to calculate an integral of two variables using dblquad. The function to be integrated contains …

---

## [Implementing a model with column generation](https://discourse.julialang.org/t/implementing-a-model-with-column-generation/110595)

<div class="topic-metadata">

**Author:** [@Carl\_Baier](https://discourse.julialang.org/u/Carl_Baier)\
**Replies:** 1\
**Last updated:** [February 22, 2024, 6:57pm UTC](https://discourse.julialang.org/t/implementing-a-model-with-column-generation/110595 "2024-02-22T18:57:33Z")

</div>

Hello, I have the following model and want to solve it with column generation according to these instructions. Unfortunately, I am a complete coding newbie and wanted to ask if anyone would like to help me implement this…

---

## [JuliaCon 2024 Main Track Acceptances are Out Now!](https://discourse.julialang.org/t/juliacon-2024-main-track-acceptances-are-out-now/110599)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 0\
**Last updated:** [February 22, 2024, 6:20pm UTC](https://discourse.julialang.org/t/juliacon-2024-main-track-acceptances-are-out-now/110599 "2024-02-22T18:20:27Z")

</div>

Submitters should all have received an email about the status of their JuliaCon 2024 Main Track submissions! Head to https://pretalx.com/juliacon2024/me/submissions/ to check the status of your talk. Congratulations to …

---

## [ArgumentError: Cannot find the parent of](https://discourse.julialang.org/t/argumenterror-cannot-find-the-parent-of/110514)

<div class="topic-metadata">

**Author:** [@maltee1](https://discourse.julialang.org/u/maltee1)\
**Replies:** 1\
**Last updated:** [February 22, 2024, 6:16pm UTC](https://discourse.julialang.org/t/argumenterror-cannot-find-the-parent-of/110514 "2024-02-22T18:16:42Z")

</div>

I’m trying to get started using modeling toolkit, but I’m hitting an ArgumentError that I can’t interpret. This is my code: using Plots; pyplot() using ControlSystemsBase, RobustAndOptimalControl, LinearAlgebra using Mo…

---

## [How can I solve complex-valued ordinary differential equations (ODEs) using neural networks, given limitations with complex data types in libraries like Lux?](https://discourse.julialang.org/t/how-can-i-solve-complex-valued-ordinary-differential-equations-odes-using-neural-networks-given-limitations-with-complex-data-types-in-libraries-like-lux/110581)

<div class="topic-metadata">

**Author:** [@sahakyan2003](https://discourse.julialang.org/u/sahakyan2003)\
**Replies:** 2\
**Last updated:** [February 22, 2024, 5:56pm UTC](https://discourse.julialang.org/t/how-can-i-solve-complex-valued-ordinary-differential-equations-odes-using-neural-networks-given-limitations-with-complex-data-types-in-libraries-like-lux/110581 "2024-02-22T17:56:50Z")

</div>

Here I describe the code where I want to train the neural network but face the problem Here are the libraries I use. using NeuralPDE using DifferentialEquations using Plots using Lux, Random The function system\_of\_de! …

---

## [Colorbar positionning with Makie](https://discourse.julialang.org/t/colorbar-positionning-with-makie/110582)

<div class="topic-metadata">

**Author:** [@gdestouet](https://discourse.julialang.org/u/gdestouet)\
**Replies:** 3\
**Last updated:** [February 22, 2024, 5:55pm UTC](https://discourse.julialang.org/t/colorbar-positionning-with-makie/110582 "2024-02-22T17:55:36Z")

</div>

Hi everyone, I am currently struggling to make a colorbar stick to the right yaxis of a contour plot whose x axis need to be align with an other line plot just below. fig = Figure() ax1 = Axis(fig\[1,1\]) Box(fig\[1, 1\], …

---

## [\[ANN\] Format.jl updates (many bug fixes, new features)](https://discourse.julialang.org/t/ann-format-jl-updates-many-bug-fixes-new-features/110252)

<div class="topic-metadata">

**Author:** [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Replies:** 1\
**Last updated:** [February 22, 2024, 4:15pm UTC](https://discourse.julialang.org/t/ann-format-jl-updates-many-bug-fixes-new-features/110252 "2024-02-22T16:15:44Z")

</div>

Format.jl has been updated to fix a number of critical bugs (that were inherited from Formatting.jl), as well as implementing new capabilities to better match Python format strings, such as ^ for center justification, al…

---

## [Type stable generic memoisation](https://discourse.julialang.org/t/type-stable-generic-memoisation/96237)

<div class="topic-metadata">

**Author:** [@mhinsch](https://discourse.julialang.org/u/mhinsch)\
**Replies:** 23\
**Last updated:** [February 22, 2024, 10:06am UTC](https://discourse.julialang.org/t/type-stable-generic-memoisation/96237 "2024-02-22T10:06:57Z")

</div>

I’ve been looking into memoisation in Julia for a bit and although there are quite a few packages, as far as I tell all of them either store the results in some variation of Dict{Any, Any} or require you to commit to a s…

---

## [Problem with local scope](https://discourse.julialang.org/t/problem-with-local-scope/110556)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 5\
**Last updated:** [February 22, 2024, 2:43pm UTC](https://discourse.julialang.org/t/problem-with-local-scope/110556 "2024-02-22T14:43:36Z")

</div>

I am faced with an issue that I can’t seem to figure out. Here is the source code (sorry I couldn’t come up with a more simple example): macro handfunc(expr, kwargs...) expr = unblock(expr) # cleans expression expr…

---

## [Issues with the CSV package](https://discourse.julialang.org/t/issues-with-the-csv-package/110412)

<div class="topic-metadata">

**Author:** [@snipick19](https://discourse.julialang.org/u/snipick19)\
**Replies:** 19\
**Last updated:** [February 22, 2024, 2:24pm UTC](https://discourse.julialang.org/t/issues-with-the-csv-package/110412 "2024-02-22T14:24:22Z")

</div>

Hello ! I just began an internship and was given the following code made by a person that left the company : using Pkg Pkg.activate(".") using CSV using MAT using ProgressBars using HDF5 using LightXML using Mmap using…

---

## [Using julia to calculate Ramanujan constant](https://discourse.julialang.org/t/using-julia-to-calculate-ramanujan-constant/110578)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 2\
**Last updated:** [February 22, 2024, 1:48pm UTC](https://discourse.julialang.org/t/using-julia-to-calculate-ramanujan-constant/110578 "2024-02-22T13:48:01Z")

</div>

We should use BigFloat to get so many digits, right? But how?

---

## [How to create a DataFrame with specific number of columns and rows and fill it with zeros?](https://discourse.julialang.org/t/how-to-create-a-dataframe-with-specific-number-of-columns-and-rows-and-fill-it-with-zeros/110493)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 7\
**Last updated:** [February 22, 2024, 1:38pm UTC](https://discourse.julialang.org/t/how-to-create-a-dataframe-with-specific-number-of-columns-and-rows-and-fill-it-with-zeros/110493 "2024-02-22T13:38:53Z")

</div>

Hi! I’m trying to create a dataframe where the first column have certain number of rows named in the following way: df = DataFrame("Names" =\> names(df\_rowname)\[2:end\]) Now I want to add n number of columns to df with …

---

## [How to get the output of the function \`print()\`?](https://discourse.julialang.org/t/how-to-get-the-output-of-the-function-print/110573)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 11\
**Last updated:** [February 22, 2024, 1:09pm UTC](https://discourse.julialang.org/t/how-to-get-the-output-of-the-function-print/110573 "2024-02-22T13:09:06Z")

</div>

For example, I have a function: greet() = print("Hello World!") Now I want to test whether the output of this function is indeed ”Hello World!“. How can I realize this using the package Test? In other word, what should…

---

## [Access denied for plotting artifacts](https://discourse.julialang.org/t/access-denied-for-plotting-artifacts/110570)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 7\
**Last updated:** [February 22, 2024, 12:09pm UTC](https://discourse.julialang.org/t/access-denied-for-plotting-artifacts/110570 "2024-02-22T12:09:04Z")

</div>

For seemingly no reason, I encountered an error with GR\_jll failing to compile. Nothing changed on my system as far as I can tell. This ultimately lead the error below after upgrading from Julia 1.10 to 1.10.1. Precompi…

---

## [How to determine the number of elements in RemoteChannel?](https://discourse.julialang.org/t/how-to-determine-the-number-of-elements-in-remotechannel/20143)

<div class="topic-metadata">

**Author:** [@jamm](https://discourse.julialang.org/u/jamm)\
**Replies:** 4\
**Last updated:** [February 22, 2024, 12:08pm UTC](https://discourse.julialang.org/t/how-to-determine-the-number-of-elements-in-remotechannel/20143 "2024-02-22T12:08:28Z")

</div>

Hi Community! The simple Cannel show the current number of elements directly: B = Channel(2) put!(B,"one") put!(B,"two") B Channel{Any}(sz\_max:2,sz\_curr:2) the sz\_curr is current numbers of elements in channel. In c…

---

## [BinaryBuilder: what do I lose by using newer GCC?](https://discourse.julialang.org/t/binarybuilder-what-do-i-lose-by-using-newer-gcc/110553)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 1\
**Last updated:** [February 22, 2024, 11:15am UTC](https://discourse.julialang.org/t/binarybuilder-what-do-i-lose-by-using-newer-gcc/110553 "2024-02-22T11:15:00Z")

</div>

The documentation for BinaryBuilder.jl says, “Generally speaking, we try to build with the as old as possible version of GCC (v4.8.5 being the oldest one currently available), for maximum compatibility.” However, some l…

---

## [Problems with LinearAlgebra functions within KernelAbstractions and CUDA](https://discourse.julialang.org/t/problems-with-linearalgebra-functions-within-kernelabstractions-and-cuda/97566)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 9\
**Last updated:** [February 22, 2024, 9:58am UTC](https://discourse.julialang.org/t/problems-with-linearalgebra-functions-within-kernelabstractions-and-cuda/97566 "2024-02-22T09:58:47Z")

</div>

I’m almost done porting my solver over to GPU with the help of CUDA and KernelAbstractions. However, I keep running into problem with LinearAlgebra functions. Take this simple example using StaticArrays using CUDA: allo…

---

## [Help improving the speed of a DataFrames operation](https://discourse.julialang.org/t/help-improving-the-speed-of-a-dataframes-operation/107615)

<div class="topic-metadata">

**Author:** [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Replies:** 37\
**Last updated:** [February 22, 2024, 9:25am UTC](https://discourse.julialang.org/t/help-improving-the-speed-of-a-dataframes-operation/107615 "2024-02-22T09:25:18Z")

</div>

Hi all, quick question (hopefully) related to doing an operation on DataFrames. I am trying to improve the transformation below so any help would be great. More context and MWE are at the bottom. Thanks for all the hel…

---

## [Unicode characters in Julia Markdown not exported to pdf](https://discourse.julialang.org/t/unicode-characters-in-julia-markdown-not-exported-to-pdf/110528)

<div class="topic-metadata">

**Author:** [@nvah](https://discourse.julialang.org/u/nvah)\
**Replies:** 8\
**Last updated:** [February 22, 2024, 8:46am UTC](https://discourse.julialang.org/t/unicode-characters-in-julia-markdown-not-exported-to-pdf/110528 "2024-02-22T08:46:25Z")

</div>

Hi there, I’m relatively new to Julia and I am working in VS Code on a Mac OS. When I try to export my .jmd file which contains greek letters (\\alpha, \\varepsilon etc.), I get the following error message: Info: Weaving…

---

## [Fastest approach to returning a vector of elements choose 2](https://discourse.julialang.org/t/fastest-approach-to-returning-a-vector-of-elements-choose-2/110494)

<div class="topic-metadata">

**Author:** [@narnold0](https://discourse.julialang.org/u/narnold0)\
**Replies:** 22\
**Last updated:** [February 22, 2024, 6:18am UTC](https://discourse.julialang.org/t/fastest-approach-to-returning-a-vector-of-elements-choose-2/110494 "2024-02-22T06:18:46Z")

</div>

Hi there. I’m trying to do the following, given a vector of elements, I wish to get the vector of tuples containing the elements choose 2, with the order of the tuples obviously not mattering. Importantly, I am trying t…

---

## [Reduce memory usage for ensemble problems](https://discourse.julialang.org/t/reduce-memory-usage-for-ensemble-problems/90591)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 4\
**Last updated:** [February 22, 2024, 4:24am UTC](https://discourse.julialang.org/t/reduce-memory-usage-for-ensemble-problems/90591 "2024-02-22T04:24:32Z")

</div>

Hi, I have a test particle tracer which is built on top of OrdinaryDiffEq.jl. This model can have 3D numerical fields as input parameters and solve ODEs for each set of initial conditions. However, when testing on the …

---

## [How to achieve a similar progress bar effect in my own code?](https://discourse.julialang.org/t/how-to-achieve-a-similar-progress-bar-effect-in-my-own-code/110558)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 6\
**Last updated:** [February 22, 2024, 3:42am UTC](https://discourse.julialang.org/t/how-to-achieve-a-similar-progress-bar-effect-in-my-own-code/110558 "2024-02-22T03:42:30Z")

</div>

How to achieve a similar progress bar effect (and the rotating circle symbol underneath it) in my own code to the project precompilation process?

---

## ["Unable to open libLLVM!" error trying to create\_sysimage in 1.8.0](https://discourse.julialang.org/t/unable-to-open-libllvm-error-trying-to-create-sysimage-in-1-8-0/86144)

<div class="topic-metadata">

**Author:** [@taotree](https://discourse.julialang.org/u/taotree)\
**Replies:** 10\
**Last updated:** [February 22, 2024, 12:52am UTC](https://discourse.julialang.org/t/unable-to-open-libllvm-error-trying-to-create-sysimage-in-1-8-0/86144 "2024-02-22T00:52:35Z")

</div>

I updated to Julia 1.8.0 this morning, ran \]update, and tried to rebuild my sysimage. I noticed that there appears to be something wrong with the BinaryProvider package. I explicitly added the package \]add BinaryProvider …

---

## [Can JuliaCall easily handle multi-threading?](https://discourse.julialang.org/t/can-juliacall-easily-handle-multi-threading/110537)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 14\
**Last updated:** [February 22, 2024, 12:43am UTC](https://discourse.julialang.org/t/can-juliacall-easily-handle-multi-threading/110537 "2024-02-22T00:43:04Z")

</div>

Hello! I’m developing a Julia package that I would like to port to Python. I heard that JuliaCall is the way to go, as many famous packages such as diffeqpy and pySR are now using it. The package that I’m developing is …

---

## [What is \`build.jl\` for?](https://discourse.julialang.org/t/what-is-build-jl-for/64583)

<div class="topic-metadata">

**Author:** [@orome](https://discourse.julialang.org/u/orome)\
**Replies:** 4\
**Last updated:** [February 21, 2024, 11:35pm UTC](https://discourse.julialang.org/t/what-is-build-jl-for/64583 "2024-02-21T23:35:40Z")

</div>

I’ve seen several mentions of reps/build.jl as part of setting up a Julia project, but it’s unclear to me what it is for. What are use cases or examples for build.jl?

---

## [Zero allocated iterator for powersets](https://discourse.julialang.org/t/zero-allocated-iterator-for-powersets/110549)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 0\
**Last updated:** [February 21, 2024, 10:36pm UTC](https://discourse.julialang.org/t/zero-allocated-iterator-for-powersets/110549 "2024-02-21T22:36:40Z")

</div>

Starting with the empty set, Gray codes can be used to determine the next element to add or remove so that you eventually hit every subset exactly once. Unfortunately, I’m having trouble creating an iterator for this set…

---

## [Hide stroke in 3D scatter using Makie.jl](https://discourse.julialang.org/t/hide-stroke-in-3d-scatter-using-makie-jl/106383)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 6\
**Last updated:** [February 21, 2024, 10:31pm UTC](https://discourse.julialang.org/t/hide-stroke-in-3d-scatter-using-makie-jl/106383 "2024-02-21T22:31:42Z")

</div>

Compare the two scatter plots produced by GLMakie in 2D and 3D: scatter(rand(1000), rand(1000)) scatter(rand(1000), rand(1000), rand(1000)) Is there an option to hide the white stroke around the dots in 3D? When …

---

## [Updating values in a dictionary with a minimum of lookups](https://discourse.julialang.org/t/updating-values-in-a-dictionary-with-a-minimum-of-lookups/110544)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 2\
**Last updated:** [February 21, 2024, 10:04pm UTC](https://discourse.julialang.org/t/updating-values-in-a-dictionary-with-a-minimum-of-lookups/110544 "2024-02-21T22:04:34Z")

</div>

I’m trying to do random-access updates to Int values in a dictionary in the most efficient way possible, but it seems hard to avoid extra hash calls. Here’s the naive approach: struct A x::Int end function Base.has…

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

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