# Latest

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

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

**Page:** 777

---

## [JuMP SCIP error](https://discourse.julialang.org/t/jump-scip-error/93958)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 8\
**Last updated:** [February 19, 2023, 9:12pm UTC](https://discourse.julialang.org/t/jump-scip-error/93958 "2023-02-19T21:12:36Z")

</div>

I get the error below when I try to solve a model in JuMP using SCIP. There is no error if I instead use HiGHS. $ julia Oscar.jl ERROR: LoadError: MathOptInterface.DeleteNotAllowed{MathOptInterface.VariableIndex}: Delet…

---

## [\[ANN\] Browse docs for 200 models with MLJ's Model Browser](https://discourse.julialang.org/t/ann-browse-docs-for-200-models-with-mljs-model-browser/94662)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 1\
**Last updated:** [February 19, 2023, 8:56pm UTC](https://discourse.julialang.org/t/ann-browse-docs-for-200-models-with-mljs-model-browser/94662 "2023-02-19T20:56:00Z")

</div>

You can now search documentation for 200 machine learning models scattered across the Julia ecosystem, organized into categories, from MLJ’s new Model Browser section of the manual. Of course all the models listed have …

---

## [Is there a reliable package for solving simple equation system?](https://discourse.julialang.org/t/is-there-a-reliable-package-for-solving-simple-equation-system/94877)

<div class="topic-metadata">

**Author:** [@Kim](https://discourse.julialang.org/u/Kim)\
**Replies:** 4\
**Last updated:** [February 19, 2023, 8:14pm UTC](https://discourse.julialang.org/t/is-there-a-reliable-package-for-solving-simple-equation-system/94877 "2023-02-19T20:14:20Z")

</div>

Today I am working on finding the insections of a line and a infinite long cylinder. It is a simple math problem that can be solved by hand and very easy for Matlab. However, it looks like tough for Julia which is inspir…

---

## [FastSphericalHarmonics -- signal(4) Illegal instructions](https://discourse.julialang.org/t/fastsphericalharmonics-signal-4-illegal-instructions/94872)

<div class="topic-metadata">

**Author:** [@aquarelleX332](https://discourse.julialang.org/u/aquarelleX332)\
**Replies:** 4\
**Last updated:** [February 19, 2023, 8:20pm UTC](https://discourse.julialang.org/t/fastsphericalharmonics-signal-4-illegal-instructions/94872 "2023-02-19T20:20:09Z")

</div>

Hello, I am trying to reproduce the code in the “Example 2: visualize some modes” of the FastSphericalHarmonics.jl package. Here is the code after I add FastSphericalHarmonics and CairoMakie: using FastSphericalHarmon…

---

## [N-bit Integers in Julia](https://discourse.julialang.org/t/n-bit-integers-in-julia/94861)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 10\
**Last updated:** [February 19, 2023, 6:03pm UTC](https://discourse.julialang.org/t/n-bit-integers-in-julia/94861 "2023-02-19T18:03:03Z")

</div>

After getting some updated pointers from Rust dev Jubilee Young and encouragement from C standard project editor JeanHeyd Meneide on the arbitrary bitwidth integers (also known n-bit integers from the C23 draft standard)…

---

## [Questions about JSONRPC.jl](https://discourse.julialang.org/t/questions-about-jsonrpc-jl/94745)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 1\
**Last updated:** [February 19, 2023, 5:22pm UTC](https://discourse.julialang.org/t/questions-about-jsonrpc-jl/94745 "2023-02-19T17:22:58Z")

</div>

Context I have a custom RPC that works between julia and .NET (discussed in previous posts of mine), though it helped me to understand how this kind of communication works between different softs, it is totally handmade,…

---

## [Julia bindings for Z3 SMT solver](https://discourse.julialang.org/t/julia-bindings-for-z3-smt-solver/38218)

<div class="topic-metadata">

**Author:** [@XVilka](https://discourse.julialang.org/u/XVilka)\
**Replies:** 20\
**Last updated:** [February 19, 2023, 4:46pm UTC](https://discourse.julialang.org/t/julia-bindings-for-z3-smt-solver/38218 "2023-02-19T16:46:00Z")

</div>

Recently I met the need to access Z3 from Julia program, searched a bit and found abandoned Julia bindings at zenna/Z3.jl. But they do not work with the recent versions and I asked Z3 developers themselves. As it turned …

---

## [JuMP function result\_count returns 1 when infinite solutions possible, which solver to use?](https://discourse.julialang.org/t/jump-function-result-count-returns-1-when-infinite-solutions-possible-which-solver-to-use/94880)

<div class="topic-metadata">

**Author:** [@Patrik](https://discourse.julialang.org/u/Patrik)\
**Replies:** 2\
**Last updated:** [February 19, 2023, 4:40pm UTC](https://discourse.julialang.org/t/jump-function-result-count-returns-1-when-infinite-solutions-possible-which-solver-to-use/94880 "2023-02-19T16:40:46Z")

</div>

Consider the following model of a simple LP problem: using JuMP, HiGHS m = Model(HiGHS.Optimizer) @variable(m, x1 \>= 0) @variable(m, x2 \<= 0) @objective(m, Max, 2x1-x2) @constraint(m, c1, 8x1-4x2\<=16) @constraint…

---

## [Checking if a value is contained in a MutableBinaryHeap?](https://discourse.julialang.org/t/checking-if-a-value-is-contained-in-a-mutablebinaryheap/82069)

<div class="topic-metadata">

**Author:** [@Alejandro\_Quiaro\_San](https://discourse.julialang.org/u/Alejandro_Quiaro_San)\
**Replies:** 2\
**Last updated:** [February 19, 2023, 4:28pm UTC](https://discourse.julialang.org/t/checking-if-a-value-is-contained-in-a-mutablebinaryheap/82069 "2023-02-19T16:28:37Z")

</div>

Hello guys, I need to test if a value is contained in a MutableBinaryHeap. I may have the following Tuple t: 6-element Vector{Tuple{Int64, Float64}}: (1, Inf) (2, Inf) (3, Inf) (4, Inf) (5, Inf) (6, Inf) For the…

---

## [Nearest point in a convex hull](https://discourse.julialang.org/t/nearest-point-in-a-convex-hull/94849)

<div class="topic-metadata">

**Author:** [@fratrik](https://discourse.julialang.org/u/fratrik)\
**Replies:** 6\
**Last updated:** [February 19, 2023, 2:41pm UTC](https://discourse.julialang.org/t/nearest-point-in-a-convex-hull/94849 "2023-02-19T14:41:37Z")

</div>

Background: I’m using ScatteredInterpolation to approximate a higher-order value function as needed. The interpolation works reasonably well for points that are in some sense “inside” prior points that I’ve used. My pl…

---

## [Using the Julia VScode extension on NixOS](https://discourse.julialang.org/t/using-the-julia-vscode-extension-on-nixos/94879)

<div class="topic-metadata">

**Author:** [@Panadestein](https://discourse.julialang.org/u/Panadestein)\
**Replies:** 0\
**Last updated:** [February 19, 2023, 2:27pm UTC](https://discourse.julialang.org/t/using-the-julia-vscode-extension-on-nixos/94879 "2023-02-19T14:27:23Z")

</div>

Similar questions have been asked a number of times in the forum, but mostly for Windows and Mac users. I am on the NixOS unstable flake, using Julia 1.8.5 and VScode 1.75.1. I am getting this error when I open any Julia…

---

## [AoG free scale facet](https://discourse.julialang.org/t/aog-free-scale-facet/94858)

<div class="topic-metadata">

**Author:** [@aelmokadem](https://discourse.julialang.org/u/aelmokadem)\
**Replies:** 2\
**Last updated:** [February 19, 2023, 2:06pm UTC](https://discourse.julialang.org/t/aog-free-scale-facet/94858 "2023-02-19T14:06:08Z")

</div>

Hi, I am trying to facet a AoG plot using layout and wanted to set the scales free for the facetted plot similar to ggplot2 scales = "free" option. Any thoughts?! Thanks, Ahmed.

---

## [New article: Practical introduction to machine learning with Julia](https://discourse.julialang.org/t/new-article-practical-introduction-to-machine-learning-with-julia/94873)

<div class="topic-metadata">

**Author:** [@germanov\_dev](https://discourse.julialang.org/u/germanov_dev)\
**Replies:** 0\
**Last updated:** [February 19, 2023, 1:01pm UTC](https://discourse.julialang.org/t/new-article-practical-introduction-to-machine-learning-with-julia/94873 "2023-02-19T13:01:03Z")

</div>

If you are Python data scientist and want to start using Julia for machine learning, welcome to read my article “Machine learning with Julia – How to Build and Deploy a Trained AI Model as a Web Service”:

---

## [PackageCompiler EXE-File: How suppress extra DOS-Window beside GUI-Window (Gtk4)](https://discourse.julialang.org/t/packagecompiler-exe-file-how-suppress-extra-dos-window-beside-gui-window-gtk4/94846)

<div class="topic-metadata">

**Author:** [@Ralf\_Dietrich](https://discourse.julialang.org/u/Ralf_Dietrich)\
**Replies:** 2\
**Last updated:** [February 19, 2023, 12:58pm UTC](https://discourse.julialang.org/t/packagecompiler-exe-file-how-suppress-extra-dos-window-beside-gui-window-gtk4/94846 "2023-02-19T12:58:35Z")

</div>

Hello guys am experimenting with PackageCompiler at the moment and so far have always created EXE files that only run in a DOS window. This works so far also quite well. But now I have created a small GUI application w…

---

## [Compile time: we can't find any impls for this multi dispatch fn?](https://discourse.julialang.org/t/compile-time-we-cant-find-any-impls-for-this-multi-dispatch-fn/94736)

<div class="topic-metadata">

**Author:** [@zeroexcuses](https://discourse.julialang.org/u/zeroexcuses)\
**Replies:** 22\
**Last updated:** [February 19, 2023, 12:41pm UTC](https://discourse.julialang.org/t/compile-time-we-cant-find-any-impls-for-this-multi-dispatch-fn/94736 "2023-02-19T12:41:39Z")

</div>

A bit of n00b question. Coming from a Scala / Rust background, I really really prefer compile time errors to runtime errors. Right now, my biggest frustration with Julia is that issues of “we can’t find an impl for thi…

---

## [Flatten to a vector](https://discourse.julialang.org/t/flatten-to-a-vector/30408)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 26\
**Last updated:** [February 19, 2023, 11:55am UTC](https://discourse.julialang.org/t/flatten-to-a-vector/30408 "2023-02-19T11:55:41Z")

</div>

Sorry @Raf, I can’t seem to find the documentation for this simple question: Is there a way for Flatten.flatten to return a Vector instead of a Tuple of the parameters? Right now I simply do: \[flatten(mystruct)...\] T…

---

## [Bug when training a custom model using Flux](https://discourse.julialang.org/t/bug-when-training-a-custom-model-using-flux/94440)

<div class="topic-metadata">

**Author:** [@PokeLu](https://discourse.julialang.org/u/PokeLu)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 8:41pm UTC](https://discourse.julialang.org/t/bug-when-training-a-custom-model-using-flux/94440 "2023-02-18T20:41:57Z")

</div>

Hello, I am pretty new to Julia and Flux. I am trying to build a simple neural network but using an attention layer. I wrote the code as follows, which works fine in the inference(feed-forward) mode: using Flux struct…

---

## [When == is passed arguments of different type](https://discourse.julialang.org/t/when-is-passed-arguments-of-different-type/93516)

<div class="topic-metadata">

**Author:** [@jaboaf](https://discourse.julialang.org/u/jaboaf)\
**Replies:** 6\
**Last updated:** [February 19, 2023, 8:45am UTC](https://discourse.julialang.org/t/when-is-passed-arguments-of-different-type/93516 "2023-02-19T08:45:27Z")

</div>

just wondering about the design choice where, for example, julia\> Int8(1)==Int64(1) true julia\> typeof(Int8(1))==typeof(Int64(1)) false why is it that way ? or why was that choice made ? as opposed to, for example, …

---

## [Missing reference - JuMP variables](https://discourse.julialang.org/t/missing-reference-jump-variables/94865)

<div class="topic-metadata">

**Author:** [@kevinqiao](https://discourse.julialang.org/u/kevinqiao)\
**Replies:** 3\
**Last updated:** [February 19, 2023, 7:08am UTC](https://discourse.julialang.org/t/missing-reference-jump-variables/94865 "2023-02-19T07:08:55Z")

</div>

I’m using JuMP in vscode, and I add JuMP as using JuMP at the beginning of my code, and I define many variables like @variable(hNet, injectionTemp\[1:SCHTIME\]) @variable(hNet, inletTemp\[1:nNode, 1:SCHTIME\]) … while…

---

## [Does Julia support installing package from cache?](https://discourse.julialang.org/t/does-julia-support-installing-package-from-cache/94179)

<div class="topic-metadata">

**Author:** [@Johan9](https://discourse.julialang.org/u/Johan9)\
**Replies:** 4\
**Last updated:** [February 19, 2023, 5:15am UTC](https://discourse.julialang.org/t/does-julia-support-installing-package-from-cache/94179 "2023-02-19T05:15:46Z")

</div>

Hi, I am currently trying to build a docker container with Julia environment installed and I want to introduce caching to Julia package at build time. However, I didn’t find any helpful resources on whether Julia Pkg sup…

---

## [How to insert hooks into arbitrary places](https://discourse.julialang.org/t/how-to-insert-hooks-into-arbitrary-places/94841)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 4\
**Last updated:** [February 19, 2023, 1:00am UTC](https://discourse.julialang.org/t/how-to-insert-hooks-into-arbitrary-places/94841 "2023-02-19T01:00:01Z")

</div>

I want to log every call of f(::T). I don’t know at design time what the implementation of f(::T) is, so I can’t reproduce it. One idea is to save m = which(f, Tuple{T}) and then insert a hook with f(x::T) = (log(x); in…

---

## [Can I export some particular C bindings for GPU drivers to see?](https://discourse.julialang.org/t/can-i-export-some-particular-c-bindings-for-gpu-drivers-to-see/94852)

<div class="topic-metadata">

**Author:** [@heyx3](https://discourse.julialang.org/u/heyx3)\
**Replies:** 0\
**Last updated:** [February 18, 2023, 8:58pm UTC](https://discourse.julialang.org/t/can-i-export-some-particular-c-bindings-for-gpu-drivers-to-see/94852 "2023-02-18T20:58:51Z")

</div>

I’m trying to use ModernGL.jl to make a graphics program. However, my NVidia driver keeps using my integrated graphics instead of my discrete card. I can manually fix this in my driver settings, but I don’t want to have …

---

## [Package License](https://discourse.julialang.org/t/package-license/7109)

<div class="topic-metadata">

**Author:** [@RaulDurand](https://discourse.julialang.org/u/RaulDurand)\
**Replies:** 15\
**Last updated:** [February 18, 2023, 6:03pm UTC](https://discourse.julialang.org/t/package-license/7109 "2023-02-18T18:03:34Z")

</div>

Julia and (most?) Julia packages are developed under the MIT license, which is a very permissive one. Is there any problem/concern (with Julia philosophy maybe, or any other restriction) to use a different license as GN…

---

## [Hi everyone, How can I import all variables defined in a custom module?](https://discourse.julialang.org/t/hi-everyone-how-can-i-import-all-variables-defined-in-a-custom-module/94844)

<div class="topic-metadata">

**Author:** [@Kianoush\_Ramezani\_sh](https://discourse.julialang.org/u/Kianoush_Ramezani_sh)\
**Replies:** 1\
**Last updated:** [February 18, 2023, 5:32pm UTC](https://discourse.julialang.org/t/hi-everyone-how-can-i-import-all-variables-defined-in-a-custom-module/94844 "2023-02-18T17:32:55Z")

</div>

currently I use include(“.ProgramConstants.jl”) import .ProgramConstantsModule println(ProgramConstantsModule.BATCH\_DIM) to access the BATCH\_DIM variable (which is a variable in the ProgramConstants.jl file), but is …

---

## [How to Create Bollinger Bands and Moving Average in Julia with Plots and DataFrame?](https://discourse.julialang.org/t/how-to-create-bollinger-bands-and-moving-average-in-julia-with-plots-and-dataframe/94794)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 5:06pm UTC](https://discourse.julialang.org/t/how-to-create-bollinger-bands-and-moving-average-in-julia-with-plots-and-dataframe/94794 "2023-02-18T17:06:50Z")

</div>

Hi all, I want to plot a graph with Bollinger Bands and Moving Average indicator, the data will be loaded from CSV. Here are my conditions: I have this code to show graph and histogram from CSV data in Julia (previou…

---

## [Leftjoin changes the type of my dataframe columns from Float64 to Float64?](https://discourse.julialang.org/t/leftjoin-changes-the-type-of-my-dataframe-columns-from-float64-to-float64/94839)

<div class="topic-metadata">

**Author:** [@dlshew19](https://discourse.julialang.org/u/dlshew19)\
**Replies:** 1\
**Last updated:** [February 18, 2023, 4:51pm UTC](https://discourse.julialang.org/t/leftjoin-changes-the-type-of-my-dataframe-columns-from-float64-to-float64/94839 "2023-02-18T16:51:26Z")

</div>

I have a dataframe where the output is this: Row │ TeamName OffTOPct OffRPct OffFTRate │ String31 Float64 Float64 Float64 ─────┼───────────────────────────────────────────────── 1 │ Abilene C…

---

## [How to control legend position with PGFPlotsX (move legend outside of axis)](https://discourse.julialang.org/t/how-to-control-legend-position-with-pgfplotsx-move-legend-outside-of-axis/94832)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 3:48pm UTC](https://discourse.julialang.org/t/how-to-control-legend-position-with-pgfplotsx-move-legend-outside-of-axis/94832 "2023-02-18T15:48:35Z")

</div>

I was advised to not “hijack” a thread, whatever that means, so making one more post. Using PGFPlotsX, there is a field entry, legend\_pos, which allows for moving the legend inside of the axis. How can I move the legen…

---

## [Automatically run unit tests](https://discourse.julialang.org/t/automatically-run-unit-tests/94534)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [February 18, 2023, 3:43pm UTC](https://discourse.julialang.org/t/automatically-run-unit-tests/94534 "2023-02-18T15:43:52Z")

</div>

Is there a way to automatically re-run the tests of a package when one of the dependencies gets updated? I have a large package that I did not touch a few months, and now I see three dependencies were updated such that …

---

## [How do I access the faces of a 3D element in Meshes.jl?](https://discourse.julialang.org/t/how-do-i-access-the-faces-of-a-3d-element-in-meshes-jl/94746)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 4\
**Last updated:** [February 18, 2023, 3:11pm UTC](https://discourse.julialang.org/t/how-do-i-access-the-faces-of-a-3d-element-in-meshes-jl/94746 "2023-02-18T15:11:29Z")

</div>

Hello! I am very new to Meshes.jl and getting a bit perplexed by all of it, since I cannot really find any good examples other than the quick examples, and I atleast cannot find what I want to do. I have one single box…

---

## [How to do in-place matrix operation in Julia?](https://discourse.julialang.org/t/how-to-do-in-place-matrix-operation-in-julia/94601)

<div class="topic-metadata">

**Author:** [@J\_I](https://discourse.julialang.org/u/J_I)\
**Replies:** 12\
**Last updated:** [February 18, 2023, 12:49pm UTC](https://discourse.julialang.org/t/how-to-do-in-place-matrix-operation-in-julia/94601 "2023-02-18T12:49:29Z")

</div>

Hi, I’m new to Julia, and this is the first post to this forum. I have problems regarding in-place matrix operations in julia. I have to calculate matrix-matrix product in for-loop, and I tried to pre-allocate the memo…

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

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