# Latest

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

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

**Page:** 667

---

## [Makie - arrowhead options](https://discourse.julialang.org/t/makie-arrowhead-options/100596)

<div class="topic-metadata">

**Author:** [@yoplo](https://discourse.julialang.org/u/yoplo)\
**Replies:** 4\
**Last updated:** [June 20, 2023, 5:14pm UTC](https://discourse.julialang.org/t/makie-arrowhead-options/100596 "2023-06-20T17:14:19Z")

</div>

Hello! I am drawing an arrows plot in GLMakie, Where can I find a list of the legal inputs to the arrowhead keyword? yoplo

---

## [Request for input: 2023 Julia Survey](https://discourse.julialang.org/t/request-for-input-2023-julia-survey/94596)

<div class="topic-metadata">

**Author:** [@ahclaster](https://discourse.julialang.org/u/ahclaster)\
**Replies:** 23\
**Last updated:** [June 20, 2023, 5:08pm UTC](https://discourse.julialang.org/t/request-for-input-2023-julia-survey/94596 "2023-06-20T17:08:03Z")

</div>

We are preparing the 2023 Julia User & Developer Survey. You are invited to review the survey and suggest edits or changes. Please enter your suggestions as comments. The results of this survey will be presented during …

---

## [Best way to let axis automatically adjust in live GLMakie plot?](https://discourse.julialang.org/t/best-way-to-let-axis-automatically-adjust-in-live-glmakie-plot/100615)

<div class="topic-metadata">

**Author:** [@mhinsch](https://discourse.julialang.org/u/mhinsch)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 5:05pm UTC](https://discourse.julialang.org/t/best-way-to-let-axis-automatically-adjust-in-live-glmakie-plot/100615 "2023-06-20T17:05:57Z")

</div>

I’m plotting some numbers produced by my simulation using GLMakie. The code looks somewhat like this: data = Observable(\[\[0.0\], \[0.0\]\]) series(data) while sim\_is\_running # do stuff push!(data\[\]\[1\], result1) …

---

## [Solving Differential Equation with Delay](https://discourse.julialang.org/t/solving-differential-equation-with-delay/100601)

<div class="topic-metadata">

**Author:** [@CurioMath](https://discourse.julialang.org/u/CurioMath)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 1:58pm UTC](https://discourse.julialang.org/t/solving-differential-equation-with-delay/100601 "2023-06-20T13:58:23Z")

</div>

Hi, I have an ODE problem to which I need to apply delay . But trying to solve as per the documentation of delay differential equations doesn’t seem to work for me…Can someone please lend a hand? Here is the ODE Proble…

---

## [How to predict the new system from the pre-trained weight in NeuralPDE](https://discourse.julialang.org/t/how-to-predict-the-new-system-from-the-pre-trained-weight-in-neuralpde/100587)

<div class="topic-metadata">

**Author:** [@Ethan\_Tran](https://discourse.julialang.org/u/Ethan_Tran)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 1:17pm UTC](https://discourse.julialang.org/t/how-to-predict-the-new-system-from-the-pre-trained-weight-in-neuralpde/100587 "2023-06-20T13:17:03Z")

</div>

I used the code below to solve the ODE system and save trained weight. using NeuralPDE, Lux, ModelingToolkit, Optimization, OptimizationOptimJL import ModelingToolkit: Interval, infimum, supremum @parameters t @variabl…

---

## [\[ANN\] FieldFlags.jl: Bitfield-like structs](https://discourse.julialang.org/t/ann-fieldflags-jl-bitfield-like-structs/100594)

<div class="topic-metadata">

**Author:** [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Replies:** 7\
**Last updated:** [June 20, 2023, 12:14pm UTC](https://discourse.julialang.org/t/ann-fieldflags-jl-bitfield-like-structs/100594 "2023-06-20T12:14:58Z")

</div>

Hi everyone! I’m happy to announce FieldFlags.jl, a small package without dependencies for creating bitfield-like structs, packing integers of various bitsizes into the smallest possible space. The current stable release…

---

## [Syntax for constructing a 1x1 matrix](https://discourse.julialang.org/t/syntax-for-constructing-a-1x1-matrix/5207)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 12\
**Last updated:** [June 20, 2023, 12:08pm UTC](https://discourse.julialang.org/t/syntax-for-constructing-a-1x1-matrix/5207 "2023-06-20T12:08:07Z")

</div>

Before taking transposes seriously one could conveniently use e.g. \[5\]' to build a 1x1 matrix containing 5. In v0.6+ this results in a RowVector instead. Do we have any compact syntax for building initialized 1x1 matrice…

---

## [Check the sum of a certain array index](https://discourse.julialang.org/t/check-the-sum-of-a-certain-array-index/100552)

<div class="topic-metadata">

**Author:** [@divon](https://discourse.julialang.org/u/divon)\
**Replies:** 19\
**Last updated:** [June 20, 2023, 7:40am UTC](https://discourse.julialang.org/t/check-the-sum-of-a-certain-array-index/100552 "2023-06-20T07:40:34Z")

</div>

Hello everyone, I would like to check the sum of certain indexes in the array. For example, I have the array: a = \[0, 0, 0, 1, 0, 1, 0, 1\] b = \[1, 2, 3, 5\] I will check the sum of a\[1\], a\[2\], a\[3\], and a\[5\]. If the su…

---

## [How to load models from HuggingFace with Transformers.jl](https://discourse.julialang.org/t/how-to-load-models-from-huggingface-with-transformers-jl/100573)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 9:57am UTC](https://discourse.julialang.org/t/how-to-load-models-from-huggingface-with-transformers-jl/100573 "2023-06-20T09:57:16Z")

</div>

Hi All, I quite like the Transformers.jl. I do not aspire to train or finetune LLMs, but I am more interested in learning prompts. I am a bit lost with loading models from the HuggingFace. Here are few questions: Why…

---

## [Creating tidytext's unnest\_tokens() in Julia and speed](https://discourse.julialang.org/t/creating-tidytexts-unnest-tokens-in-julia-and-speed/100579)

<div class="topic-metadata">

**Author:** [@Alex\_Tantos](https://discourse.julialang.org/u/Alex_Tantos)\
**Replies:** 5\
**Last updated:** [June 20, 2023, 7:58am UTC](https://discourse.julialang.org/t/creating-tidytexts-unnest-tokens-in-julia-and-speed/100579 "2023-06-20T07:58:14Z")

</div>

Hi. I am trying to create a function that replicates the unnest\_tokens() function in the tidytext R package. The version I came up with is the following: function unnest\_tokens3(df::DataFrame, input\_col::Symbol, output…

---

## [Incorporating derivative term into loss for Flux.jl model](https://discourse.julialang.org/t/incorporating-derivative-term-into-loss-for-flux-jl-model/95231)

<div class="topic-metadata">

**Author:** [@YuriS](https://discourse.julialang.org/u/YuriS)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 6:25am UTC](https://discourse.julialang.org/t/incorporating-derivative-term-into-loss-for-flux-jl-model/95231 "2023-06-20T06:25:59Z")

</div>

Hello! I am trying to incorporate a derivative term of the outputs with respect to one of the inputs in the loss of a neural network via Flux.jl, and I was hoping to get some help… I looked into a few posts online, but…

---

## [Makie create\_app Font display is not normal](https://discourse.julialang.org/t/makie-create-app-font-display-is-not-normal/100588)

<div class="topic-metadata">

**Author:** [@13299118606](https://discourse.julialang.org/u/13299118606)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 5:02am UTC](https://discourse.julialang.org/t/makie-create-app-font-display-is-not-normal/100588 "2023-06-20T05:02:44Z")

</div>

Both the original PC and the target PC platform are win10 64-bit Makie (on the original PC) uses PackageCompiler to create an app and migrate it to a PC without a network (on the target PC), it will prompt Download err…

---

## [Learning FluxML](https://discourse.julialang.org/t/learning-fluxml/100515)

<div class="topic-metadata">

**Author:** [@samrose](https://discourse.julialang.org/u/samrose)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 2:14am UTC](https://discourse.julialang.org/t/learning-fluxml/100515 "2023-06-20T02:14:14Z")

</div>

What are the best resources, online learning, etc for learning FluxML · GitHub ?

---

## [Show and use expressions](https://discourse.julialang.org/t/show-and-use-expressions/100584)

<div class="topic-metadata">

**Author:** [@horvetz](https://discourse.julialang.org/u/horvetz)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 1:42am UTC](https://discourse.julialang.org/t/show-and-use-expressions/100584 "2023-06-20T01:42:16Z")

</div>

I am having a trouble 1- printing the expression Ad, and 2- using it in a nonlinear constraint. using LinearAlgebra using JuMP model = Model( ) n = 8 u = ones(n) @variable(model, A\[1:n, 1:n\], Symmetric) A = Lower…

---

## [XGBoost 'libxgboost' not defined error](https://discourse.julialang.org/t/xgboost-libxgboost-not-defined-error/100542)

<div class="topic-metadata">

**Author:** [@frankd](https://discourse.julialang.org/u/frankd)\
**Replies:** 13\
**Last updated:** [June 20, 2023, 1:05am UTC](https://discourse.julialang.org/t/xgboost-libxgboost-not-defined-error/100542 "2023-06-20T01:05:16Z")

</div>

Hi I am new to this and unsure if this should be an issue to load in GitHub, but I’m not highly skilled in this level of computing. I am using Windows 11 Pro and XGBoost.jl (with MLJXGBoostInterface) and it was working …

---

## [Oy vey: there is an error, but how to find it?](https://discourse.julialang.org/t/oy-vey-there-is-an-error-but-how-to-find-it/100578)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [June 20, 2023, 12:25am UTC](https://discourse.julialang.org/t/oy-vey-there-is-an-error-but-how-to-find-it/100578 "2023-06-20T00:25:50Z")

</div>

---

## [Nonlinear optimization: Registering a function with parameters](https://discourse.julialang.org/t/nonlinear-optimization-registering-a-function-with-parameters/100457)

<div class="topic-metadata">

**Author:** [@selvi-aras](https://discourse.julialang.org/u/selvi-aras)\
**Replies:** 10\
**Last updated:** [June 20, 2023, 12:08am UTC](https://discourse.julialang.org/t/nonlinear-optimization-registering-a-function-with-parameters/100457 "2023-06-20T00:08:52Z")

</div>

I followed the link that teaches how to register a function in a NL model. As far as I can see, the registered functions’ inputs are optimization variables. I would like to also allow inputting a separate object, whose …

---

## [Required function input types in PyJulia](https://discourse.julialang.org/t/required-function-input-types-in-pyjulia/100580)

<div class="topic-metadata">

**Author:** [@lkmc](https://discourse.julialang.org/u/lkmc)\
**Replies:** 0\
**Last updated:** [June 19, 2023, 11:18pm UTC](https://discourse.julialang.org/t/required-function-input-types-in-pyjulia/100580 "2023-06-19T23:18:26Z")

</div>

I have a function in Julia that is called from Python and it seems to be enforcing a particular argument type, but I’m not sure how/where because when I change the allowed argument type to what should be the correct thin…

---

## [Initializing lots of matrices in the same way](https://discourse.julialang.org/t/initializing-lots-of-matrices-in-the-same-way/100500)

<div class="topic-metadata">

**Author:** [@hshackle](https://discourse.julialang.org/u/hshackle)\
**Replies:** 19\
**Last updated:** [June 19, 2023, 10:41pm UTC](https://discourse.julialang.org/t/initializing-lots-of-matrices-in-the-same-way/100500 "2023-06-19T22:41:31Z")

</div>

The code I’m working with involves a few dozen matrices, let’s call them a, b, etc. They all end up being used in quite different fashions, so it makes sense to keep them separate rather than packing them all into one la…

---

## [Grid data with interpolation](https://discourse.julialang.org/t/grid-data-with-interpolation/100574)

<div class="topic-metadata">

**Author:** [@lukas\_r](https://discourse.julialang.org/u/lukas_r)\
**Replies:** 2\
**Last updated:** [June 19, 2023, 9:49pm UTC](https://discourse.julialang.org/t/grid-data-with-interpolation/100574 "2023-06-19T21:49:53Z")

</div>

Hi All, I have two equidistant vectors (longitude and time) that make up a “grid” in which I want to plot velocity measurements. The velocity data points have corresponding longitudes and times, however not all of those…

---

## [How to get two dictionaries with the same ordering of the keys](https://discourse.julialang.org/t/how-to-get-two-dictionaries-with-the-same-ordering-of-the-keys/100572)

<div class="topic-metadata">

**Author:** [@fatemeh\_haddadi](https://discourse.julialang.org/u/fatemeh_haddadi)\
**Replies:** 5\
**Last updated:** [June 19, 2023, 7:40pm UTC](https://discourse.julialang.org/t/how-to-get-two-dictionaries-with-the-same-ordering-of-the-keys/100572 "2023-06-19T19:40:36Z")

</div>

Let’s say I have two dictionaries with the same keys but different values and different ordering: D1 = Dict("B" =\> 10, "A" =\> 15, "C" =\> 17) D2 = Dict("C" =\> 14, "B" =\> 11, "A" =\>0) I want to order dictionary D2 with t…

---

## [Julia training course costs?](https://discourse.julialang.org/t/julia-training-course-costs/100539)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 6\
**Last updated:** [June 19, 2023, 6:41pm UTC](https://discourse.julialang.org/t/julia-training-course-costs/100539 "2023-06-19T18:41:02Z")

</div>

Hello Julia community! My workplace (based in Australia) is thinking of organising training for staff to learn Julia, specifically machine learning with Julia. Of course, part of the process involves giving a rough cost…

---

## [Color of the marker to be read from a dictionary](https://discourse.julialang.org/t/color-of-the-marker-to-be-read-from-a-dictionary/100569)

<div class="topic-metadata">

**Author:** [@fatemeh\_haddadi](https://discourse.julialang.org/u/fatemeh_haddadi)\
**Replies:** 2\
**Last updated:** [June 19, 2023, 6:11pm UTC](https://discourse.julialang.org/t/color-of-the-marker-to-be-read-from-a-dictionary/100569 "2023-06-19T18:11:55Z")

</div>

I have a dictionary (Y) and I want to plot its values using scatter(x,y). What I want is for the colors of the markers to be either blue or red (or any other two colors) corresponding to 0 and 1 read from another dictio…

---

## [Why does Visual Studio Code not correctly render interpolation arguments in Cmd objects?](https://discourse.julialang.org/t/why-does-visual-studio-code-not-correctly-render-interpolation-arguments-in-cmd-objects/100510)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 4\
**Last updated:** [June 19, 2023, 5:47pm UTC](https://discourse.julialang.org/t/why-does-visual-studio-code-not-correctly-render-interpolation-arguments-in-cmd-objects/100510 "2023-06-19T17:47:37Z")

</div>

Hello! Suppose I have: a = "Hello"; InterpolatedString = "$a" InterpolatedCmd = \`$a\` Then in VS Code it shows up as: Shouldn’t this work the same in theory, i.e. be highlighted? Kind regards

---

## [Dependencies errored](https://discourse.julialang.org/t/dependencies-errored/100556)

<div class="topic-metadata">

**Author:** [@zmj514235780](https://discourse.julialang.org/u/zmj514235780)\
**Replies:** 5\
**Last updated:** [June 19, 2023, 1:24pm UTC](https://discourse.julialang.org/t/dependencies-errored/100556 "2023-06-19T13:24:22Z")

</div>

When precompiling, project HDF5, CUDA, MAT, cuDNN, ArrayInterface → ArrayInterfaceCUDAExt, NNlibCUDA, Flux, FluxOptTools and MagNav, 9 dependencies errored. What should I do to fix it.

---

## [Error when trying to install DifferentialEquations.jl](https://discourse.julialang.org/t/error-when-trying-to-install-differentialequations-jl/100550)

<div class="topic-metadata">

**Author:** [@JulianBarat](https://discourse.julialang.org/u/JulianBarat)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 1:21pm UTC](https://discourse.julialang.org/t/error-when-trying-to-install-differentialequations-jl/100550 "2023-06-19T13:21:38Z")

</div>

Hi I am still a bit new to Julia and wanted to try out DifferentialEquations in Pluto. But when tried to install it via Pkg.add(“DifferentialEquations”) I got this error: \*\*Precompiling\*\* project... ✗ LinearSolve ✗ No…

---

## [Why is the default behaviour of DifferentialEquations to extrapolate the solution beyond the time range?](https://discourse.julialang.org/t/why-is-the-default-behaviour-of-differentialequations-to-extrapolate-the-solution-beyond-the-time-range/100421)

<div class="topic-metadata">

**Author:** [@Larbino1](https://discourse.julialang.org/u/Larbino1)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 11:03am UTC](https://discourse.julialang.org/t/why-is-the-default-behaviour-of-differentialequations-to-extrapolate-the-solution-beyond-the-time-range/100421 "2023-06-19T11:03:20Z")

</div>

I just spent an entire afternoon debugging why my equation appears to go unstable. Stupidly, I was animating the solution for T=\[0, 10\], whereas the solution was solved on the interval T=\[0, 3\]. For clarity, my code (fr…

---

## [Error in Flux when calculating the gradient due to an in-place operation](https://discourse.julialang.org/t/error-in-flux-when-calculating-the-gradient-due-to-an-in-place-operation/100533)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 7\
**Last updated:** [June 19, 2023, 9:12am UTC](https://discourse.julialang.org/t/error-in-flux-when-calculating-the-gradient-due-to-an-in-place-operation/100533 "2023-06-19T09:12:40Z")

</div>

I’m diving into Flux.jl for my research. My objective is to define a loss function that would measure, so to speak, the convergence of the model towards a uniform data distribution. I generate K random fictitious observ…

---

## [What are the differences between PackageCompiler and BinaryBuilder to build stan-alone apps?](https://discourse.julialang.org/t/what-are-the-differences-between-packagecompiler-and-binarybuilder-to-build-stan-alone-apps/100531)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 3\
**Last updated:** [June 19, 2023, 9:12am UTC](https://discourse.julialang.org/t/what-are-the-differences-between-packagecompiler-and-binarybuilder-to-build-stan-alone-apps/100531 "2023-06-19T09:12:34Z")

</div>

Hi all! Pretty much the title question, but I’d like to give a bit of context. I’m using Julia to develop my Master’s thesis (love the language so far). I need to integrate a linear model predictor I’m developing into t…

---

## [\[ANN\] CondaPkg.jl: Add Conda dependencies to your Julia project](https://discourse.julialang.org/t/ann-condapkg-jl-add-conda-dependencies-to-your-julia-project/73034)

<div class="topic-metadata">

**Author:** [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Replies:** 5\
**Last updated:** [June 19, 2023, 9:01am UTC](https://discourse.julialang.org/t/ann-condapkg-jl-add-conda-dependencies-to-your-julia-project/73034 "2023-06-19T09:01:34Z")

</div>

Conda is a cross-platform package manager, originally used to manage the Anaconda Python distribution, but also handles non-Python packages too. CondaPkg.jl is a bit like Pkg but for managing Conda dependencies. This p…

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

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