# Latest

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

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

**Page:** 1244

---

## [What wrong ? ERROR: UndefVarError: Gray not defined](https://discourse.julialang.org/t/what-wrong-error-undefvarerror-gray-not-defined/69503)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 1\
**Last updated:** [October 10, 2021, 8:33am UTC](https://discourse.julialang.org/t/what-wrong-error-undefvarerror-gray-not-defined/69503 "2021-10-10T08:33:12Z")

</div>

julia\> imagestrip(image::Matrix{\<:Gray}) = Float32.(reshape(image, :)) ERROR: UndefVarError: Gray not defined Stacktrace: \[1\] top-level scope @ REPL\[43\]:1 All code :Recognize Handwriting Using an Artificial Neural N…

---

## [Export very large dataframe](https://discourse.julialang.org/t/export-very-large-dataframe/69229)

<div class="topic-metadata">

**Author:** [@bojusemo](https://discourse.julialang.org/u/bojusemo)\
**Replies:** 10\
**Last updated:** [October 10, 2021, 8:34am UTC](https://discourse.julialang.org/t/export-very-large-dataframe/69229 "2021-10-10T08:34:17Z")

</div>

Hi guys, May someone tell me please how to export a 6G dataframe with 200 million rows and 4 columns? I am using the CSV.write function of the CSV package, but it just exports part of the table. I think it is because th…

---

## [How to do http request to get the whole source page when part of html loaded by javascript?](https://discourse.julialang.org/t/how-to-do-http-request-to-get-the-whole-source-page-when-part-of-html-loaded-by-javascript/69501)

<div class="topic-metadata">

**Author:** [@wuxinyu](https://discourse.julialang.org/u/wuxinyu)\
**Replies:** 0\
**Last updated:** [October 10, 2021, 6:30am UTC](https://discourse.julialang.org/t/how-to-do-http-request-to-get-the-whole-source-page-when-part-of-html-loaded-by-javascript/69501 "2021-10-10T06:30:25Z")

</div>

I wait to get the html web page from https://www.collinsdictionary.com/dictionary/english/supremacy, but part of the html file is loaded by javascript. When I use HTTP.jl to get the web page with HTTP.request(), I only g…

---

## [Anyone else gets error with Pluto suddenly?](https://discourse.julialang.org/t/anyone-else-gets-error-with-pluto-suddenly/69478)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 1\
**Last updated:** [October 10, 2021, 5:28am UTC](https://discourse.julialang.org/t/anyone-else-gets-error-with-pluto-suddenly/69478 "2021-10-10T05:28:56Z")

</div>

Both on Julia 1.62 and 1.7 rc1 import Pluto \[ Info: Precompiling Pluto \[c3e4b0f8-55cb-11ea-2926-15256bba5781\] ERROR: LoadError: Evaluation into the closed module \`Configurations\` breaks incremental compilation because…

---

## [Pkg.test() fails if isdir(tempdir()) == false](https://discourse.julialang.org/t/pkg-test-fails-if-isdir-tempdir-false/69486)

<div class="topic-metadata">

**Author:** [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Replies:** 3\
**Last updated:** [October 10, 2021, 4:33am UTC](https://discourse.julialang.org/t/pkg-test-fails-if-isdir-tempdir-false/69486 "2021-10-10T04:33:15Z")

</div>

Hi, Im have some tests which delete the tempdir() folder before exiting. They works perfectly. But, the problem is that if I call the tests again in the same process (e.g. using a REPL) the tests engine (Pkg) fails. Is t…

---

## [Cannot add DiffEqFlux (Julia v1.6) due to Enzyme failure](https://discourse.julialang.org/t/cannot-add-diffeqflux-julia-v1-6-due-to-enzyme-failure/69495)

<div class="topic-metadata">

**Author:** [@GregCoyle](https://discourse.julialang.org/u/GregCoyle)\
**Replies:** 1\
**Last updated:** [October 10, 2021, 4:26am UTC](https://discourse.julialang.org/t/cannot-add-diffeqflux-julia-v1-6-due-to-enzyme-failure/69495 "2021-10-10T04:26:50Z")

</div>

I am trying to follow the doc examples for DiffEqFlux and adding the package to a fresh project returns: (UDEs) pkg\> up Updating registry at \`C:\\Users\\...\\.julia\\registries\\General\` Updating git-repo \`https://gi…

---

## [Convert String to Number while maintaining 'missing's](https://discourse.julialang.org/t/convert-string-to-number-while-maintaining-missings/69484)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 9\
**Last updated:** [October 10, 2021, 1:43am UTC](https://discourse.julialang.org/t/convert-string-to-number-while-maintaining-missings/69484 "2021-10-10T01:43:49Z")

</div>

I have a database, Microsoft Access (Yes I know but I don’t know SQL well enough yet) format, of woody plant stem growth. There are 5 plants with 5 shoots each measured for a total of 25. The measurement of the same sh…

---

## [What is "default" in this Pluto notebook on JuliaHub?](https://discourse.julialang.org/t/what-is-default-in-this-pluto-notebook-on-juliahub/66033)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 1\
**Last updated:** [October 9, 2021, 10:33pm UTC](https://discourse.julialang.org/t/what-is-default-in-this-pluto-notebook-on-juliahub/66033 "2021-10-09T22:33:09Z")

</div>

What does “default” mean in the screenshot below? It’s the only option in the drop-down.

---

## [Julian way to do strptime?](https://discourse.julialang.org/t/julian-way-to-do-strptime/20492)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 8\
**Last updated:** [October 9, 2021, 9:28pm UTC](https://discourse.julialang.org/t/julian-way-to-do-strptime/20492 "2021-10-09T21:28:46Z")

</div>

I’m converting an R script that uses strptime to extact datetime data from strings. Is there a more Julian way of doing this than calling Base.Libc.strptime? I’m not very familiar with either string or date handling in …

---

## [Metaprogramming first steps](https://discourse.julialang.org/t/metaprogramming-first-steps/69475)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 4\
**Last updated:** [October 9, 2021, 8:35pm UTC](https://discourse.julialang.org/t/metaprogramming-first-steps/69475 "2021-10-09T20:35:01Z")

</div>

\# Hello, i have a struct and i want to get with a macro a class builder and # constructor Foo, like this: # i have struct Foo a::Int64 b::Int64 c::Any d::String e::Union{Nothing,Foo} # ... …

---

## [Transpose vs. Adjoint?](https://discourse.julialang.org/t/transpose-vs-adjoint/69445)

<div class="topic-metadata">

**Author:** [@pagalguy](https://discourse.julialang.org/u/pagalguy)\
**Replies:** 14\
**Last updated:** [October 9, 2021, 7:24pm UTC](https://discourse.julialang.org/t/transpose-vs-adjoint/69445 "2021-10-09T19:24:19Z")

</div>

Why does Julia denotes a matrix/array transpose as adjoint? A = \[1 2 3 ; 4 5 6\] # an array of 2\*3 A' # In REPL, it shows as adjoint. Is it correct? Shouldn't it be called TRANSPOSE?

---

## [Why this code can't annote all heatmap cells?](https://discourse.julialang.org/t/why-this-code-cant-annote-all-heatmap-cells/69431)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 4\
**Last updated:** [October 9, 2021, 6:54pm UTC](https://discourse.julialang.org/t/why-this-code-cant-annote-all-heatmap-cells/69431 "2021-10-09T18:54:48Z")

</div>

Hello, good morning. I’m trying o annotate a heatmap, but the labels are going wrong in the map as the figure below shows May someone help? source using Plots week\_day = randn(24, 5); xlabel = \["Mon", "Tue", "Wed…

---

## [\[PSA\] The new version of libgit2-1.2 resurrects the old "invalid-proxy" problem](https://discourse.julialang.org/t/psa-the-new-version-of-libgit2-1-2-resurrects-the-old-invalid-proxy-problem/69457)

<div class="topic-metadata">

**Author:** [@dalejordan](https://discourse.julialang.org/u/dalejordan)\
**Replies:** 2\
**Last updated:** [October 9, 2021, 5:47pm UTC](https://discourse.julialang.org/t/psa-the-new-version-of-libgit2-1-2-resurrects-the-old-invalid-proxy-problem/69457 "2021-10-09T17:47:49Z")

</div>

https://github.com/JuliaLang/julia/issues/33111 This time the problem seems to crop up on local packages. The problem goes away when downgrading to libgit2 v1.1. The problem has been reported on the Rust tracker also…

---

## [Fast random number generator for RGBs](https://discourse.julialang.org/t/fast-random-number-generator-for-rgbs/52035)

<div class="topic-metadata">

**Author:** [@boroboro77](https://discourse.julialang.org/u/boroboro77)\
**Replies:** 11\
**Last updated:** [October 9, 2021, 5:43pm UTC](https://discourse.julialang.org/t/fast-random-number-generator-for-rgbs/52035 "2021-10-09T17:43:10Z")

</div>

I would like to generate very fast pseudo random images. The quality of the random numbers to generate random RGBs are not very important to be completely independent. But they sould look “random” for a human eye. Is th…

---

## [\[ANN\] JuliaFormatter.jl](https://discourse.julialang.org/t/ann-juliaformatter-jl/48084)

<div class="topic-metadata">

**Author:** [@domluna](https://discourse.julialang.org/u/domluna)\
**Replies:** 44\
**Last updated:** [October 9, 2021, 4:00pm UTC](https://discourse.julialang.org/t/ann-juliaformatter-jl/48084 "2021-10-09T16:00:35Z")

</div>

I’ve realized this hasn’t been posted on here, despite it being registered and used for several months. JuliaFormatter.jl is a width-sensitive formatter for the Julia programming language. It can format: Julia files J…

---

## [Adding examples into a Julia package](https://discourse.julialang.org/t/adding-examples-into-a-julia-package/69476)

<div class="topic-metadata">

**Author:** [@venuur](https://discourse.julialang.org/u/venuur)\
**Replies:** 1\
**Last updated:** [October 9, 2021, 3:32pm UTC](https://discourse.julialang.org/t/adding-examples-into-a-julia-package/69476 "2021-10-09T15:32:15Z")

</div>

I’ve created a minimally useful package (a small library for creating plain text formatted exercise routines, GitHub Link). There’s still some work to clean it up before I register, and one thing I want to do is add an e…

---

## [Necessary Second-Order Optimality Condition of Iterate within a Specified Tolerance](https://discourse.julialang.org/t/necessary-second-order-optimality-condition-of-iterate-within-a-specified-tolerance/69334)

<div class="topic-metadata">

**Author:** [@danphenderson](https://discourse.julialang.org/u/danphenderson)\
**Replies:** 5\
**Last updated:** [October 9, 2021, 1:21pm UTC](https://discourse.julialang.org/t/necessary-second-order-optimality-condition-of-iterate-within-a-specified-tolerance/69334 "2021-10-09T13:21:29Z")

</div>

Hello, I am working with a scheme that seeks an unconstrained local minimizer of some C^2 function f. The scheme terminates when the necessary first-order optimality condition for the iterate x has been met, up to a pr…

---

## [Pluto precompile failure](https://discourse.julialang.org/t/pluto-precompile-failure/69471)

<div class="topic-metadata">

**Author:** [@evad](https://discourse.julialang.org/u/evad)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 11:01am UTC](https://discourse.julialang.org/t/pluto-precompile-failure/69471 "2021-10-09T11:01:18Z")

</div>

Hi, while normal updating the packages, I have the following error for Pluto. How can I correct this: ERROR: The following 1 direct dependency failed to precompile: Pluto \[c3e4b0f8-55cb-11ea-2926-15256bba5781\] Failed…

---

## [Traversing a directional graph](https://discourse.julialang.org/t/traversing-a-directional-graph/69470)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 10:50am UTC](https://discourse.julialang.org/t/traversing-a-directional-graph/69470 "2021-10-09T10:50:11Z")

</div>

How to traverse a directional graph in LightGraphs package in a unidirectional sense? Meaning I do want to omit the reverse edges if any in the DiGraph !

---

## [\[ANN\] Announcing PAPI.jl](https://discourse.julialang.org/t/ann-announcing-papi-jl/69357)

<div class="topic-metadata">

**Author:** [@tomhaber](https://discourse.julialang.org/u/tomhaber)\
**Replies:** 7\
**Last updated:** [October 9, 2021, 7:12am UTC](https://discourse.julialang.org/t/ann-announcing-papi-jl/69357 "2021-10-09T07:12:01Z")

</div>

I would like to introduce PAPI.jl, Julia bindings for the PAPI hardware performance counters library. Performance Application Programming Interface (PAPI) is a portable and efficient API to access the performance count…

---

## [Plots.jl animation displayed wrong marker color](https://discourse.julialang.org/t/plots-jl-animation-displayed-wrong-marker-color/69417)

<div class="topic-metadata">

**Author:** [@comphilano](https://discourse.julialang.org/u/comphilano)\
**Replies:** 3\
**Last updated:** [October 9, 2021, 6:59am UTC](https://discourse.julialang.org/t/plots-jl-animation-displayed-wrong-marker-color/69417 "2021-10-09T06:59:57Z")

</div>

I’m having this issue while doing this visualization. The color of some markers are supposed to be red instead of black. Could you please help me how to fix this?

---

## [Flux callback using accuracy not found](https://discourse.julialang.org/t/flux-callback-using-accuracy-not-found/69429)

<div class="topic-metadata">

**Author:** [@FrootLoops](https://discourse.julialang.org/u/FrootLoops)\
**Replies:** 2\
**Last updated:** [October 9, 2021, 5:47am UTC](https://discourse.julialang.org/t/flux-callback-using-accuracy-not-found/69429 "2021-10-09T05:47:47Z")

</div>

Hi, I start to work with the Flux.jl to create neural networks. Using the documentation Flux\_Callback I wanted touse a callback for a train model. Using the suggested callback cb = function () accuracy() \> 0.9 && Fl…

---

## [Use of CachingPool's for a pmap that will be run many times](https://discourse.julialang.org/t/use-of-cachingpools-for-a-pmap-that-will-be-run-many-times/69462)

<div class="topic-metadata">

**Author:** [@tictaccat](https://discourse.julialang.org/u/tictaccat)\
**Replies:** 0\
**Last updated:** [October 9, 2021, 4:12am UTC](https://discourse.julialang.org/t/use-of-cachingpools-for-a-pmap-that-will-be-run-many-times/69462 "2021-10-09T04:12:06Z")

</div>

Hi! I’m writing a custom linear map using LinearMaps.jl whose matrix-vector product I would like to embarassingly parallelize. The point is that this linear map will be used tens of thousands of times during an iterative…

---

## [CBinding.jl - bringing C's nested structs/unions, alignment, bitfields, variadic functions to Julia](https://discourse.julialang.org/t/cbinding-jl-bringing-cs-nested-structs-unions-alignment-bitfields-variadic-functions-to-julia/25902)

<div class="topic-metadata">

**Author:** [@krrutkow](https://discourse.julialang.org/u/krrutkow)\
**Replies:** 12\
**Last updated:** [October 9, 2021, 3:38am UTC](https://discourse.julialang.org/t/cbinding-jl-bringing-cs-nested-structs-unions-alignment-bitfields-variadic-functions-to-julia/25902 "2021-10-09T03:38:41Z")

</div>

I am announcing the availability of package CBinding.jl as a much improved way of interfacing C APIs from Julia with syntax analogous to the C you are binding to! julia\> using CBinding julia\> @cstruct MyCStruct { # s…

---

## [Registered new release still pointing to old version](https://discourse.julialang.org/t/registered-new-release-still-pointing-to-old-version/69454)

<div class="topic-metadata">

**Author:** [@Johncowk](https://discourse.julialang.org/u/Johncowk)\
**Replies:** 6\
**Last updated:** [October 9, 2021, 2:40am UTC](https://discourse.julialang.org/t/registered-new-release-still-pointing-to-old-version/69454 "2021-10-09T02:40:57Z")

</div>

I registered a new version of a package, and the pull request was merged but when I install the package via \`\`Pkg.add\`\`\`, the old version is installed. Why is this so and how can I fix it?

---

## [Symbolics.jl bootstrapping a beginner](https://discourse.julialang.org/t/symbolics-jl-bootstrapping-a-beginner/68674)

<div class="topic-metadata">

**Author:** [@banksiaboy](https://discourse.julialang.org/u/banksiaboy)\
**Replies:** 16\
**Last updated:** [October 8, 2021, 11:47pm UTC](https://discourse.julialang.org/t/symbolics-jl-bootstrapping-a-beginner/68674 "2021-10-08T23:47:14Z")

</div>

I’d like to be able to follow along my process of learning geometric algebra from scratch using Symbolics.jl I like how I’ve seen multiple-dispatch allow symbolic expressions to travel through standard libraries. I am a…

---

## [Video about Mapping Data to Color Using Array Attributes in Makie](https://discourse.julialang.org/t/video-about-mapping-data-to-color-using-array-attributes-in-makie/69374)

<div class="topic-metadata">

**Author:** [@Adam\_Fleischhacker](https://discourse.julialang.org/u/Adam_Fleischhacker)\
**Replies:** 3\
**Last updated:** [October 8, 2021, 11:34pm UTC](https://discourse.julialang.org/t/video-about-mapping-data-to-color-using-array-attributes-in-makie/69374 "2021-10-08T23:34:55Z")

</div>

Hi All: This community has helped me to learn Makie and I am trying to give back. I made a video about mapping data to color using array attributes. See here: Mapping Data to Colors in Makie.jl Using Array Attribute…

---

## [Is there any non-Chromium graphical REPL available?](https://discourse.julialang.org/t/is-there-any-non-chromium-graphical-repl-available/68777)

<div class="topic-metadata">

**Author:** [@NightMachinary](https://discourse.julialang.org/u/NightMachinary)\
**Replies:** 6\
**Last updated:** [October 8, 2021, 10:35pm UTC](https://discourse.julialang.org/t/is-there-any-non-chromium-graphical-repl-available/68777 "2021-10-08T22:35:20Z")

</div>

I am switching from VSCode to Emacs+Revise.jl, and the only pain point I have not yet found a solution to is graphics in the REPL. In VSCode, images, plots, etc can be shown easily, but in the TUI REPL, even images are n…

---

## [How to register breaking changes?](https://discourse.julialang.org/t/how-to-register-breaking-changes/69451)

<div class="topic-metadata">

**Author:** [@Johncowk](https://discourse.julialang.org/u/Johncowk)\
**Replies:** 7\
**Last updated:** [October 8, 2021, 10:31pm UTC](https://discourse.julialang.org/t/how-to-register-breaking-changes/69451 "2021-10-08T22:31:21Z")

</div>

I made some breaking changes to one of my package and consequently incremented the version number of 0.1 instead of 0.0.1, but this is not recognized as such by the bot so now my pull request has to be merged manually. W…

---

## [What does Dict{T} mean?](https://discourse.julialang.org/t/what-does-dict-t-mean/69455)

<div class="topic-metadata">

**Author:** [@Alex\_Tantos](https://discourse.julialang.org/u/Alex_Tantos)\
**Replies:** 4\
**Last updated:** [October 8, 2021, 10:07pm UTC](https://discourse.julialang.org/t/what-does-dict-t-mean/69455 "2021-10-08T22:07:54Z")

</div>

Hi! Here is the tiny project I have in mind so that I get my hands a bit dirty. I would like to extend the functionality of StatsBase.countmap() so that is accepts the Dictionary type aside from the Dict inbuilt data ty…

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

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