# Latest

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

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

**Page:** 595

---

## [Include InteractiveCodeSearch by default](https://discourse.julialang.org/t/include-interactivecodesearch-by-default/104026)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 5:45pm UTC](https://discourse.julialang.org/t/include-interactivecodesearch-by-default/104026 "2023-09-19T17:45:30Z")

</div>

In the wake of the recent discussion of making Revise the default, I suggest another tool, that looks like it could be included in every Julia release: I actually discovered this, as this topic on Hacker news came up. …

---

## [What is ambiguous here?](https://discourse.julialang.org/t/what-is-ambiguous-here/104029)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 6\
**Last updated:** [September 19, 2023, 4:51pm UTC](https://discourse.julialang.org/t/what-is-ambiguous-here/104029 "2023-09-19T16:51:14Z")

</div>

Hi, Why is this reported as ambiguous, and is it true? Practice shows it is not. using Test x = detect\_ambiguities(GMT) x\[2\] (getindex(D::GMTdataset{T, N}, inds::Vararg{Int64, N}) where {T, N} @ GMT C:\\Users\\j\\.julia\\…

---

## [Creating a package extension using Pkg (rather than manually modifying Project.toml file)](https://discourse.julialang.org/t/creating-a-package-extension-using-pkg-rather-than-manually-modifying-project-toml-file/104032)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 0\
**Last updated:** [September 19, 2023, 4:16pm UTC](https://discourse.julialang.org/t/creating-a-package-extension-using-pkg-rather-than-manually-modifying-project-toml-file/104032 "2023-09-19T16:16:36Z")

</div>

I am developing a package (MyPackage) and have activated its environment with Pkg. I want to add an extension for when it is used together with someone else’s package (SomeoneElsesPackage). If I understand right, I could…

---

## [@debug has massive performance impact on Windows](https://discourse.julialang.org/t/debug-has-massive-performance-impact-on-windows/103974)

<div class="topic-metadata">

**Author:** [@ThummeTo](https://discourse.julialang.org/u/ThummeTo)\
**Replies:** 25\
**Last updated:** [September 19, 2023, 2:44pm UTC](https://discourse.julialang.org/t/debug-has-massive-performance-impact-on-windows/103974 "2023-09-19T14:44:33Z")

</div>

Hey guys, I found that the @debug macro has a massive performance impact on my code. I use the macro very often, because the documentation says: \[The macro\] will produce no output by default. Furthermore, it’s very ch…

---

## [Strange allocation in closure](https://discourse.julialang.org/t/strange-allocation-in-closure/104017)

<div class="topic-metadata">

**Author:** [@trahflow](https://discourse.julialang.org/u/trahflow)\
**Replies:** 3\
**Last updated:** [September 19, 2023, 2:41pm UTC](https://discourse.julialang.org/t/strange-allocation-in-closure/104017 "2023-09-19T14:41:18Z")

</div>

Hi, I observe an allocation involving a closure that I do not understand. Consider the following minimal working example: julia\> function outer(a) inner(b, c) = b, c a, inner end outer (ge…

---

## [Unitful quantities of something](https://discourse.julialang.org/t/unitful-quantities-of-something/101978)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 4\
**Last updated:** [September 19, 2023, 2:02pm UTC](https://discourse.julialang.org/t/unitful-quantities-of-something/101978 "2023-09-19T14:02:33Z")

</div>

Say I want to represent concentrations like “milligrams of salt per milligrams of sugar”. Unitful.jl doesn’t seem to support this: julia\> typeof(3u"mg"/100u"mg") Float64 What would you suggest?

---

## [Prevent huge number of allocations mutating columns of arrays](https://discourse.julialang.org/t/prevent-huge-number-of-allocations-mutating-columns-of-arrays/103848)

<div class="topic-metadata">

**Author:** [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Replies:** 15\
**Last updated:** [September 19, 2023, 1:48pm UTC](https://discourse.julialang.org/t/prevent-huge-number-of-allocations-mutating-columns-of-arrays/103848 "2023-09-19T13:48:24Z")

</div>

Hi, I am writing some code to update the columns in an array by repeatedly solving a linear system. I am trying to allocate arrays for the solutions, left-hand-side, and right-hand-side at the beginning of the code and t…

---

## [Functions of tuples of matrices VS Functions of vectors of tuples of matrices](https://discourse.julialang.org/t/functions-of-tuples-of-matrices-vs-functions-of-vectors-of-tuples-of-matrices/104022)

<div class="topic-metadata">

**Author:** [@arnerob](https://discourse.julialang.org/u/arnerob)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 1:05pm UTC](https://discourse.julialang.org/t/functions-of-tuples-of-matrices-vs-functions-of-vectors-of-tuples-of-matrices/104022 "2023-09-19T13:05:47Z")

</div>

I get a MethodError in my code and I’m trying to understand the behaviour. Functions of tuples of matrices work and functions of vectors of tuples of matrices give a MethodError. A minimum working example would be the fo…

---

## [Colorbar with function range for a 3D contour plot using GLMakie](https://discourse.julialang.org/t/colorbar-with-function-range-for-a-3d-contour-plot-using-glmakie/103388)

<div class="topic-metadata">

**Author:** [@Olegg](https://discourse.julialang.org/u/Olegg)\
**Replies:** 5\
**Last updated:** [September 19, 2023, 12:25pm UTC](https://discourse.julialang.org/t/colorbar-with-function-range-for-a-3d-contour-plot-using-glmakie/103388 "2023-09-19T12:25:04Z")

</div>

I’m trying to add a colorbar to a 3D contour plot in GLMakie with the actual range of the function values. However, the colorbar I get only shows a range from 0 to 1, while the actual range is \[-0.7, 0.7\]. Here is the c…

---

## [Updating a volume plot](https://discourse.julialang.org/t/updating-a-volume-plot/103987)

<div class="topic-metadata">

**Author:** [@Knud\_Sorensen](https://discourse.julialang.org/u/Knud_Sorensen)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 12:07pm UTC](https://discourse.julialang.org/t/updating-a-volume-plot/103987 "2023-09-19T12:07:46Z")

</div>

Hi. I am plotting a volume plot. Like volume(vol; algorithm=:absorption) But I want to update the plot with new data (nvol)! But when I run volume!(nvol; algorithm=:absorption) it adds the new data to the old data in…

---

## [Way to make Shared-SparseArray?](https://discourse.julialang.org/t/way-to-make-shared-sparsearray/104016)

<div class="topic-metadata">

**Author:** [@Fluorite-Erbite](https://discourse.julialang.org/u/Fluorite-Erbite)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 11:08am UTC](https://discourse.julialang.org/t/way-to-make-shared-sparsearray/104016 "2023-09-19T11:08:56Z")

</div>

I want to process sparse matrices in parallel. But, as far as I’ve tried, I cannot make Shared-SparseArray. Is it possible?

---

## [How to determine what size and how many textures I can use?](https://discourse.julialang.org/t/how-to-determine-what-size-and-how-many-textures-i-can-use/104018)

<div class="topic-metadata">

**Author:** [@lodygaw](https://discourse.julialang.org/u/lodygaw)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 11:04am UTC](https://discourse.julialang.org/t/how-to-determine-what-size-and-how-many-textures-i-can-use/104018 "2023-09-19T11:04:53Z")

</div>

Hi, Is there a way to determine (programmatically) what is the maximum size of 1D texture array for particular device? Is there any limitation how many texture arrays can be used in total?

---

## [Pluto Late Night of unfinished lecture notes](https://discourse.julialang.org/t/pluto-late-night-of-unfinished-lecture-notes/104020)

<div class="topic-metadata">

**Author:** [@lferrant](https://discourse.julialang.org/u/lferrant)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 10:47am UTC](https://discourse.julialang.org/t/pluto-late-night-of-unfinished-lecture-notes/104020 "2023-09-19T10:47:08Z")

</div>

Late Night of unfinished lecture notes :closed\_book: :receipt: Dear teachers/lecturers, Still need to prepare your lecture materials for the next semester? Do you want to share your experience and/or learn new tricks? …

---

## [Implement of Matlab function "nargout" in Julia](https://discourse.julialang.org/t/implement-of-matlab-function-nargout-in-julia/104011)

<div class="topic-metadata">

**Author:** [@Meteoooor](https://discourse.julialang.org/u/Meteoooor)\
**Replies:** 3\
**Last updated:** [September 19, 2023, 9:18am UTC](https://discourse.julialang.org/t/implement-of-matlab-function-nargout-in-julia/104011 "2023-09-19T09:18:20Z")

</div>

It is easy to dynamically obtain the number of output variables in MATLAB by function “nargout”，how can I do such in Julia? For example,these is the code in MATLAB function \[ varargout \] = CopyElement( V ) % V is a ten…

---

## [How to solve volterra integral equation of second kind?](https://discourse.julialang.org/t/how-to-solve-volterra-integral-equation-of-second-kind/94332)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 21\
**Last updated:** [September 19, 2023, 8:39am UTC](https://discourse.julialang.org/t/how-to-solve-volterra-integral-equation-of-second-kind/94332 "2023-09-19T08:39:00Z")

</div>

Hi everyone, I need to solve a Volterra integral equation as follows: Here f(y) and K(x, y) are known functions (nonlinear) As an example, take f(y) = 3x^3; K(x, y) = 1 - exp(x). I saw this post about solving Volt…

---

## [Undoing a view](https://discourse.julialang.org/t/undoing-a-view/103996)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [September 19, 2023, 8:38am UTC](https://discourse.julialang.org/t/undoing-a-view/103996 "2023-09-19T08:38:24Z")

</div>

view(b, ixs) creates a view that references the original storage a, rather than the intermediate view b. I am interested in getting the argument b back out of c, undoing the second slice. Is there something like either …

---

## [How to disable the "skipping precompilation" info?](https://discourse.julialang.org/t/how-to-disable-the-skipping-precompilation-info/93905)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 7:03am UTC](https://discourse.julialang.org/t/how-to-disable-the-skipping-precompilation-info/93905 "2023-09-19T07:03:15Z")

</div>

I have a module with \_\_precompile\_\_(false), and whenever I load it, I see this printed: julia\> using RossbyPlots \[ Info: Precompiling RossbyPlots \[acc5d94c-3556-452d-bda2-c31719193afc\] \[ Info: Skipping precompilation si…

---

## [Contruct filter expression within loop](https://discourse.julialang.org/t/contruct-filter-expression-within-loop/104003)

<div class="topic-metadata">

**Author:** [@chedy](https://discourse.julialang.org/u/chedy)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 7:11am UTC](https://discourse.julialang.org/t/contruct-filter-expression-within-loop/104003 "2023-09-19T07:11:48Z")

</div>

Hi all, I’m trying to simplify this code using a macro, but I’m pretty new to meta-programming and not sure what I need to do. I have an array bigrams of structs that have two fields (among others): w1, and w2 (both int…

---

## [Franklin website not properly formatted, missing elements](https://discourse.julialang.org/t/franklin-website-not-properly-formatted-missing-elements/103975)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 7\
**Last updated:** [September 19, 2023, 4:45am UTC](https://discourse.julialang.org/t/franklin-website-not-properly-formatted-missing-elements/103975 "2023-09-19T04:45:58Z")

</div>

Hello everyone. I am hoping to get some help on why my Franklin-made website looks wrong. I am using this repo to host this website. I am using the “lanyon” template, which you can check out here. The webpage I am hosti…

---

## [Is there an efficient implementation of double factorial somewhere?](https://discourse.julialang.org/t/is-there-an-efficient-implementation-of-double-factorial-somewhere/104002)

<div class="topic-metadata">

**Author:** [@Leticia-maria](https://discourse.julialang.org/u/Leticia-maria)\
**Replies:** 4\
**Last updated:** [September 19, 2023, 1:14am UTC](https://discourse.julialang.org/t/is-there-an-efficient-implementation-of-double-factorial-somewhere/104002 "2023-09-19T01:14:20Z")

</div>

Hey friends, is there an efficient implementation of double factorial somewhere? I implemented this one (any tips on improving its performance are welcome): function doublefactorial(number) fact = one(number) if…

---

## [Formatting DataFrames with PrettyTables](https://discourse.julialang.org/t/formatting-dataframes-with-prettytables/88033)

<div class="topic-metadata">

**Author:** [@alexgr](https://discourse.julialang.org/u/alexgr)\
**Replies:** 9\
**Last updated:** [September 19, 2023, 1:02am UTC](https://discourse.julialang.org/t/formatting-dataframes-with-prettytables/88033 "2023-09-19T01:02:55Z")

</div>

I’d like to format some numeric columns with different decimal positions. The approach I am following is this: using Random using DataFrames using PrettyTables df = DataFrame(rand(5, 3), :auto) pretty\_table(df, formatt…

---

## [Error with SSL Certificates using Docker](https://discourse.julialang.org/t/error-with-ssl-certificates-using-docker/102362)

<div class="topic-metadata">

**Author:** [@Thiago-Simoes](https://discourse.julialang.org/u/Thiago-Simoes)\
**Replies:** 2\
**Last updated:** [September 19, 2023, 12:06am UTC](https://discourse.julialang.org/t/error-with-ssl-certificates-using-docker/102362 "2023-09-19T00:06:29Z")

</div>

I’m using Docker to create a Julia container, but I can’t install the packages inside docker. I have a RUN line on Dockerfile for instantiate project, but it’s generating errors with SSL certificates. # pull latest juli…

---

## ["do" block and hard scope](https://discourse.julialang.org/t/do-block-and-hard-scope/103729)

<div class="topic-metadata">

**Author:** [@yvikhlya](https://discourse.julialang.org/u/yvikhlya)\
**Replies:** 14\
**Last updated:** [September 18, 2023, 8:59pm UTC](https://discourse.julialang.org/t/do-block-and-hard-scope/103729 "2023-09-18T20:59:23Z")

</div>

Could someone explain me why in this case: y=0 map(1:10) do x y=x^2 end outer y does not get modified, as stated in documentation, but in this case gm=zeros(Float64, Nlev, Nt) var=zeros(Union{Missing, Float32}, Nx, …

---

## [Webcam webapp](https://discourse.julialang.org/t/webcam-webapp/103604)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [September 18, 2023, 8:42pm UTC](https://discourse.julialang.org/t/webcam-webapp/103604 "2023-09-18T20:42:39Z")

</div>

I want to have a webpage function as a viewer for the webcam. In Genie, this is how I can do it without writing anything to disk and very low delay: using JpegTurbo, Observables, VideoIO using GenieFramework @genieto…

---

## [Precompiling Mousetrap fails on Ubuntu with NVidia driver](https://discourse.julialang.org/t/precompiling-mousetrap-fails-on-ubuntu-with-nvidia-driver/103945)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [September 18, 2023, 8:01pm UTC](https://discourse.julialang.org/t/precompiling-mousetrap-fails-on-ubuntu-with-nvidia-driver/103945 "2023-09-18T20:01:13Z")

</div>

I have the following issue: julia\> using Mousetrap \[ Info: Precompiling Mousetrap \[5deeb4b9-6e04-4da7-8b7f-c77fb1eae65e\] \[25147\] signal (11.1): Segmentation fault in expression starting at /home/ufechner/.julia/package…

---

## [Very recently Plots/GR not working when run from a terminal, but OK in VSCode](https://discourse.julialang.org/t/very-recently-plots-gr-not-working-when-run-from-a-terminal-but-ok-in-vscode/103979)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 11\
**Last updated:** [September 18, 2023, 7:48pm UTC](https://discourse.julialang.org/t/very-recently-plots-gr-not-working-when-run-from-a-terminal-but-ok-in-vscode/103979 "2023-09-18T19:48:07Z")

</div>

I have long used Plots with the GR backend, but very recently it has stopped working when run from a terminal. Strangely, it works fine in VSCode when I launch Julia with Opt-J Opt-O. (I also have no problem if I use th…

---

## [Aqua.jl finds many ambiguities in Core, Base](https://discourse.julialang.org/t/aqua-jl-finds-many-ambiguities-in-core-base/103963)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 5\
**Last updated:** [September 18, 2023, 7:36pm UTC](https://discourse.julialang.org/t/aqua-jl-finds-many-ambiguities-in-core-base/103963 "2023-09-18T19:36:21Z")

</div>

I’m using Aqua.jl on my package and have addressed all issues that Aqua complained about except that it finds many ambiguities when I call Aqua.test\_all on my package, but none if I call Aqua.test\_ambiguities on my packa…

---

## [Vscode with multiple versions via juliaup override?](https://discourse.julialang.org/t/vscode-with-multiple-versions-via-juliaup-override/103986)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 2\
**Last updated:** [September 18, 2023, 6:47pm UTC](https://discourse.julialang.org/t/vscode-with-multiple-versions-via-juliaup-override/103986 "2023-09-18T18:47:47Z")

</div>

my vscode does not pick up the julia version I pinned in a certain directory via override: floswald@PTL11077 ~/.j/d/LandUse (master)\> juliaup override status (base) Path …

---

## [Using GNU Make, DrWatson, and Julia scripts to track dependencies and automate script running](https://discourse.julialang.org/t/using-gnu-make-drwatson-and-julia-scripts-to-track-dependencies-and-automate-script-running/103998)

<div class="topic-metadata">

**Author:** [@arnold-c](https://discourse.julialang.org/u/arnold-c)\
**Replies:** 0\
**Last updated:** [September 18, 2023, 6:38pm UTC](https://discourse.julialang.org/t/using-gnu-make-drwatson-and-julia-scripts-to-track-dependencies-and-automate-script-running/103998 "2023-09-18T18:38:41Z")

</div>

I have a number of scripts that I am trying to run using GNU Make, but within them, I am using DrWatson’s @produce\_or\_load macro to save parameter combinations to different files. I would like to use GNU Make to track de…

---

## [Trying to submit a package to the General Registry, got error about pre-release not allowed](https://discourse.julialang.org/t/trying-to-submit-a-package-to-the-general-registry-got-error-about-pre-release-not-allowed/103919)

<div class="topic-metadata">

**Author:** [@myersm0](https://discourse.julialang.org/u/myersm0)\
**Replies:** 1\
**Last updated:** [September 15, 2023, 11:13pm UTC](https://discourse.julialang.org/t/trying-to-submit-a-package-to-the-general-registry-got-error-about-pre-release-not-allowed/103919 "2023-09-15T23:13:06Z")

</div>

The title says just about everything here. Would anyone be able to help me see what I’m missing? I’m new to GitHub but I’m wrapping up work on a set of packages related to neuroimaging files and algorithms that I’d like …

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

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