# Latest

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

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

**Page:** 913

---

## [How to skip certification check when using Downloads.download?](https://discourse.julialang.org/t/how-to-skip-certification-check-when-using-downloads-download/87865)

<div class="topic-metadata">

**Author:** [@MJulia](https://discourse.julialang.org/u/MJulia)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 11:19am UTC](https://discourse.julialang.org/t/how-to-skip-certification-check-when-using-downloads-download/87865 "2022-09-27T11:19:35Z")

</div>

If using wget, it has an option --no-check-certificate, how to specify an equivalent option in Downloads.download? Thanks.

---

## [Higher order function as macro](https://discourse.julialang.org/t/higher-order-function-as-macro/87867)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 11:07am UTC](https://discourse.julialang.org/t/higher-order-function-as-macro/87867 "2022-09-27T11:07:37Z")

</div>

I am trying provide a macro form of a higher order function, but the automatic macro hygiene means that the name of the resulting function gets mangled. Here is my attempt so far: # The higher order function I want to…

---

## [How to pass a buffer to a C callback function?](https://discourse.julialang.org/t/how-to-pass-a-buffer-to-a-c-callback-function/87716)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 10\
**Last updated:** [September 27, 2022, 10:27am UTC](https://discourse.julialang.org/t/how-to-pass-a-buffer-to-a-c-callback-function/87716 "2022-09-27T10:27:00Z")

</div>

Following my question in Help with real-time performance needed - #16 by tt1234567, I’ve been thinking about writing a non-allocating recv\_into! function to receive a UDP packet into an existing buffer without creating a…

---

## [Convert a NTuple{N,UInt8} to a String and back?](https://discourse.julialang.org/t/convert-a-ntuple-n-uint8-to-a-string-and-back/87720)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 5\
**Last updated:** [September 27, 2022, 9:20am UTC](https://discourse.julialang.org/t/convert-a-ntuple-n-uint8-to-a-string-and-back/87720 "2022-09-27T09:20:17Z")

</div>

What is the best practice for go back and forth between a NTuple{N,UInt8} where N and a String? x = "Dfsddfs" a = ntuple(i -\> i \<= ncodeunits(x) ? codeunit(x,i) : 0x0, 10 + 1) function \_ntuple\_to\_string(x) r = Ref(x…

---

## [Gnuplot.jl polygon / patch plot](https://discourse.julialang.org/t/gnuplot-jl-polygon-patch-plot/87864)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 0\
**Last updated:** [September 27, 2022, 8:59am UTC](https://discourse.julialang.org/t/gnuplot-jl-polygon-patch-plot/87864 "2022-09-27T08:59:30Z")

</div>

Dear all, I’m trying to generate a patch plot using Gnuplot.jl. The aim is to generate a figure with plenty of polygons filled with different colors. So first, I would like to get to plot one triangle filled wit a given…

---

## [Calling Flux.gpu downloads CUDNN artifact every first call in REPL/script](https://discourse.julialang.org/t/calling-flux-gpu-downloads-cudnn-artifact-every-first-call-in-repl-script/87784)

<div class="topic-metadata">

**Author:** [@linkz](https://discourse.julialang.org/u/linkz)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 8:58am UTC](https://discourse.julialang.org/t/calling-flux-gpu-downloads-cudnn-artifact-every-first-call-in-repl-script/87784 "2022-09-27T08:58:40Z")

</div>

Pretty much as the title says. Whenever I call e.g. Import Flux d\_gpu = Flux.gpu(Flux.Dense(10, 10)) ┌ Warning: The NVIDIA driver on this system only supports up to CUDA 11.0.0. │ For performance reasons, it is recommen…

---

## [Convex Neural Network Using Skip Layers in Flux.jl](https://discourse.julialang.org/t/convex-neural-network-using-skip-layers-in-flux-jl/87827)

<div class="topic-metadata">

**Author:** [@marcofrancis](https://discourse.julialang.org/u/marcofrancis)\
**Replies:** 5\
**Last updated:** [September 27, 2022, 8:30am UTC](https://discourse.julialang.org/t/convex-neural-network-using-skip-layers-in-flux-jl/87827 "2022-09-27T08:30:00Z")

</div>

Hi, I’m trying to code up the following net, where y is the input of my net, f(y) is the output of the net, W^z\_k, W^y\_k are matrices and b\_k are vectors : f(y) = z\_k z\_k = softplus(W^z\_k z\_{k-1}+W^y\_k y+b\_k) … z…

---

## [How can tell \`Documenter \` to collapse (fold) items in the side bar?](https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862)

<div class="topic-metadata">

**Author:** [@t-bltg](https://discourse.julialang.org/u/t-bltg)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 8:10am UTC](https://discourse.julialang.org/t/how-can-tell-documenter-to-collapse-fold-items-in-the-side-bar/87862 "2022-09-27T08:10:16Z")

</div>

E.g. julia docs section can be expanded / collapsed in Julia Documentation · The Julia Language. I would like to collapse certain PlotDocs section by default in Home · Plots.

---

## [Keyboard input monitoring](https://discourse.julialang.org/t/keyboard-input-monitoring/87078)

<div class="topic-metadata">

**Author:** [@FedeClaudi](https://discourse.julialang.org/u/FedeClaudi)\
**Replies:** 9\
**Last updated:** [September 27, 2022, 8:04am UTC](https://discourse.julialang.org/t/keyboard-input-monitoring/87078 "2022-09-27T08:04:55Z")

</div>

Hello all, I have a “simple” problem, but I can’t seem to find a simple solution. Basically what I want is to monitor key strokes for user input in an interactive application, with a couple requirements: it should no…

---

## [Stderr not flushed right away?](https://discourse.julialang.org/t/stderr-not-flushed-right-away/85734)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 6:18am UTC](https://discourse.julialang.org/t/stderr-not-flushed-right-away/85734 "2022-09-27T06:18:44Z")

</div>

stderr doesn’t seem to flush frequently enough. Is this by design? Suppose we run this Julia script #--- try.jl --- for i = 1:100000 println(stderr, i) sleep(0.5) end from the shell command line like so $ julia …

---

## [\[ANN\] MarkdownAST.jl: abstract syntax trees of Markdown documents](https://discourse.julialang.org/t/ann-markdownast-jl-abstract-syntax-trees-of-markdown-documents/87861)

<div class="topic-metadata">

**Author:** [@mortenpi](https://discourse.julialang.org/u/mortenpi)\
**Replies:** 0\
**Last updated:** [September 27, 2022, 6:12am UTC](https://discourse.julialang.org/t/ann-markdownast-jl-abstract-syntax-trees-of-markdown-documents/87861 "2022-09-27T06:12:15Z")

</div>

Motivated by the desire to have a better representation of Markdown documents in Julia for Documenter, I am happy to announce a package for working with Markdown abstract syntax trees (ASTs). Its goal is to provide an…

---

## [RobotOSData.jl visualization of ROS objects](https://discourse.julialang.org/t/robotosdata-jl-visualization-of-ros-objects/82804)

<div class="topic-metadata">

**Author:** [@ga72kud](https://discourse.julialang.org/u/ga72kud)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 6:04am UTC](https://discourse.julialang.org/t/robotosdata-jl-visualization-of-ros-objects/82804 "2022-09-27T06:04:26Z")

</div>

Hi I use RobotOs.jl and RobotOSData.jl for reading and analyzing ROS data (rosbags). Are there any further tools to visualize ROS Markers. Best and thanks!

---

## [Looking for a julia event happening in belgium on october 2022](https://discourse.julialang.org/t/looking-for-a-julia-event-happening-in-belgium-on-october-2022/87858)

<div class="topic-metadata">

**Author:** [@elchudi](https://discourse.julialang.org/u/elchudi)\
**Replies:** 0\
**Last updated:** [September 27, 2022, 5:11am UTC](https://discourse.julialang.org/t/looking-for-a-julia-event-happening-in-belgium-on-october-2022/87858 "2022-09-27T05:11:17Z")

</div>

Hello, a couple of months ago I found an event about using agent based modeling in Julia for simulating the growth of plants happening in Belgium (possibly in Ghent) in October of 2022, but I can not find it again. Woul…

---

## [Modify Title in REPL window](https://discourse.julialang.org/t/modify-title-in-repl-window/87803)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 15\
**Last updated:** [September 27, 2022, 3:00am UTC](https://discourse.julialang.org/t/modify-title-in-repl-window/87803 "2022-09-27T03:00:38Z")

</div>

Is it possible to change the title of the REPL window (in case it is a standalone window)? Something equivalent to the command to set the title of an Blink-Electron-Window: using Blink hdl\_win = Window(); title(hdl\_wi…

---

## [MultivariateStats.jl: predict for MulticlassLDA is throwing error](https://discourse.julialang.org/t/multivariatestats-jl-predict-for-multiclasslda-is-throwing-error/87799)

<div class="topic-metadata">

**Author:** [@Sourish](https://discourse.julialang.org/u/Sourish)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 2:56am UTC](https://discourse.julialang.org/t/multivariatestats-jl-predict-for-multiclasslda-is-throwing-error/87799 "2022-09-27T02:56:16Z")

</div>

Hi I am trying to fit MulticlassLDA on the iris dataset. The predict is throwing an error. I was wondering if you can help me to figure out what mistakes I am making. using MultivariateStats, RDatasets; iris = dataset…

---

## [What is a Model fingerprint?](https://discourse.julialang.org/t/what-is-a-model-fingerprint/87851)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 2:50am UTC](https://discourse.julialang.org/t/what-is-a-model-fingerprint/87851 "2022-09-27T02:50:21Z")

</div>

What is a Model fingerprint? What is it used for? Does the same model have the same Model fingerprint in different machines?

---

## [Simple question about assignment to a vector of vectors](https://discourse.julialang.org/t/simple-question-about-assignment-to-a-vector-of-vectors/62744)

<div class="topic-metadata">

**Author:** [@torgo](https://discourse.julialang.org/u/torgo)\
**Replies:** 12\
**Last updated:** [September 27, 2022, 2:43am UTC](https://discourse.julialang.org/t/simple-question-about-assignment-to-a-vector-of-vectors/62744 "2022-09-27T02:43:43Z")

</div>

Example: julia\> A = fill(fill(0,2), 3) 3-element Vector{Vector{Int64}}: \[0, 0\] \[0, 0\] \[0, 0\] julia\> A\[1\]\[2\] = 5 5 julia\> A 3-element Vector{Vector{Int64}}: \[0, 5\] \[0, 5\] \[0, 5\] The result is not what I would ex…

---

## [Julia alternative to jax.scan](https://discourse.julialang.org/t/julia-alternative-to-jax-scan/87850)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 1:15am UTC](https://discourse.julialang.org/t/julia-alternative-to-jax-scan/87850 "2022-09-27T01:15:46Z")

</div>

Dear All, I would like to ask whether Julia or some of its libraries have some parallel to jax.lax.scan? Best, Jan

---

## [What do we call the type specific versions of methods?](https://discourse.julialang.org/t/what-do-we-call-the-type-specific-versions-of-methods/87848)

<div class="topic-metadata">

**Author:** [@Alex\_Ellison](https://discourse.julialang.org/u/Alex_Ellison)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 12:56am UTC](https://discourse.julialang.org/t/what-do-we-call-the-type-specific-versions-of-methods/87848 "2022-09-27T00:56:33Z")

</div>

Hey, semantics question. If I write a method with a parametric type, it can (always?) results in distinct llvm code depending on the argument type(s) going in. There is still one method, but two somethings. Do we have a …

---

## [Wandb.jl hangs on first input prompt](https://discourse.julialang.org/t/wandb-jl-hangs-on-first-input-prompt/87838)

<div class="topic-metadata">

**Author:** [@afishy](https://discourse.julialang.org/u/afishy)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 12:03am UTC](https://discourse.julialang.org/t/wandb-jl-hangs-on-first-input-prompt/87838 "2022-09-27T00:03:48Z")

</div>

I’m trying to use Weights and Biases with Julia, and the REPL hangs when I try and use it (on VSCode): using Wandb lg = WandbLogger(project=“wandb\_test”) global\_logger(lg) Any input I enter is stuck (numlock is o…

---

## [GC settings, Go now has 2, adopted ours, we should adopt theirs: "Go runtime: 4 years later"](https://discourse.julialang.org/t/gc-settings-go-now-has-2-adopted-ours-we-should-adopt-theirs-go-runtime-4-years-later/87843)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [September 26, 2022, 11:08pm UTC](https://discourse.julialang.org/t/gc-settings-go-now-has-2-adopted-ours-we-should-adopt-theirs-go-runtime-4-years-later/87843 "2022-09-26T23:08:47Z")

</div>

A new knob With Go 1.19 comes an long-requested feature that requires a little extra work to use, but carries a lot of potential: the Go runtime’s soft memory limit. \[Julia 1.9 has such\] For years, the Go GC has had…

---

## [Reinforcement Learning Custom Gym error](https://discourse.julialang.org/t/reinforcement-learning-custom-gym-error/87818)

<div class="topic-metadata">

**Author:** [@chunky](https://discourse.julialang.org/u/chunky)\
**Replies:** 2\
**Last updated:** [September 26, 2022, 10:35pm UTC](https://discourse.julialang.org/t/reinforcement-learning-custom-gym-error/87818 "2022-09-26T22:35:47Z")

</div>

I’ve created a custom Gym environment using ReinforcementLearning.jl. I think it adheres to the guidance on the documentation \[ “How to write a customised environment” \] , but the trivial case to run my gym, using a rand…

---

## [C routine uses AVX intrinsics](https://discourse.julialang.org/t/c-routine-uses-avx-intrinsics/87777)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 15\
**Last updated:** [September 26, 2022, 9:19pm UTC](https://discourse.julialang.org/t/c-routine-uses-avx-intrinsics/87777 "2022-09-26T21:19:33Z")

</div>

I would like to make the example in the docs work. The presentation is incomplete; while I have the requisite tools, it is unclear how best (most simply and effectively) apply them here: the easiest most foolproof way to…

---

## [Methods for simultaneous diagonalization?](https://discourse.julialang.org/t/methods-for-simultaneous-diagonalization/87840)

<div class="topic-metadata">

**Author:** [@kharing](https://discourse.julialang.org/u/kharing)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 9:19pm UTC](https://discourse.julialang.org/t/methods-for-simultaneous-diagonalization/87840 "2022-09-26T21:19:02Z")

</div>

I have two matrices that commute (within machine precision), both of which have eigenvalues that may be either degenerate or very closely spaced. Is there an existing implementation of a simultaneous diagonalization rout…

---

## [LU Factorization](https://discourse.julialang.org/t/lu-factorization/87841)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 3\
**Last updated:** [September 26, 2022, 9:13pm UTC](https://discourse.julialang.org/t/lu-factorization/87841 "2022-09-26T21:13:11Z")

</div>

I am just confused about one thing related to LU factorization. It is known that the solution of A.x=b is x = U\\L\\P\*b. Why when I apply it in the below it gives another solution comparing with A\\b, while LU\\b gives the s…

---

## [DimensionalData: how to map slices, while using non-slice dimensions](https://discourse.julialang.org/t/dimensionaldata-how-to-map-slices-while-using-non-slice-dimensions/87839)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 8:59pm UTC](https://discourse.julialang.org/t/dimensionaldata-how-to-map-slices-while-using-non-slice-dimensions/87839 "2022-09-26T20:59:45Z")

</div>

I’ve got a multidimensional DimArray and want to map a function that summarizes across one of the dimensions. This is simple to do using mapslices, e.g. using DimensionalData arr = rand(X(1:10), Y(1:20), Z(1:30)) f(z) =…

---

## [\[ANN\] FLOYao.jl - Fermionic linear optics for Yao.jl](https://discourse.julialang.org/t/ann-floyao-jl-fermionic-linear-optics-for-yao-jl/87837)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 0\
**Last updated:** [September 26, 2022, 8:21pm UTC](https://discourse.julialang.org/t/ann-floyao-jl-fermionic-linear-optics-for-yao-jl/87837 "2022-09-26T20:21:28Z")

</div>

FLOYao.jl Is a Yao.jl backend to efficiently simulated fermionic linear optics (FLO) circuits in based on Classical simulation of noninteracting-fermion quantum circuits and Disorder-assisted error correction in Majora…

---

## [JuliaCall: Pass numpy array to julia function as Vector{Float64}](https://discourse.julialang.org/t/juliacall-pass-numpy-array-to-julia-function-as-vector-float64/87728)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 13\
**Last updated:** [September 26, 2022, 7:47pm UTC](https://discourse.julialang.org/t/juliacall-pass-numpy-array-to-julia-function-as-vector-float64/87728 "2022-09-26T19:47:02Z")

</div>

I have recently started using JuliaCall to use Julia functionality in python, but I am having trouble understanding how type conversions work, and I have the following problem. I have a julia function which has an argu…

---

## [Request: Julia debug mode](https://discourse.julialang.org/t/request-julia-debug-mode/87832)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 2\
**Last updated:** [September 26, 2022, 7:25pm UTC](https://discourse.julialang.org/t/request-julia-debug-mode/87832 "2022-09-26T19:25:16Z")

</div>

Can you sport were I got lots of allocations? I don’t need a debugger, right now, I found the bug, this is just a motivating example, and I think a debug mode would be better than a debugger. function time\_code2(A) co…

---

## [Kernel Density Estimate for cdf](https://discourse.julialang.org/t/kernel-density-estimate-for-cdf/87790)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 11\
**Last updated:** [September 26, 2022, 7:34pm UTC](https://discourse.julialang.org/t/kernel-density-estimate-for-cdf/87790 "2022-09-26T19:34:39Z")

</div>

Hi all, I would like to use kernel density estimation to estimate the cdf from data. One way to get the cdf is to numerically integrate the estimated pdf with quadgk, but the drawback is it is somewhat inefficient. Is t…

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

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