# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=351

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

**Page:** 352

---

## [Should the repl show images?](https://discourse.julialang.org/t/should-the-repl-show-images/64672)

<div class="topic-metadata">

**Author:** [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Replies:** 16\
**Last updated:** [July 15, 2021, 7:14pm UTC](https://discourse.julialang.org/t/should-the-repl-show-images/64672 "2021-07-15T19:14:54Z")

</div>

When I create an image in the repl I get a huge RGB array, but in Jupyterlab I do get the image. I thought the repl also showed images. That is: using Images, TestImages img = testimage(“mandrill”) shows a mandrill in…

---

## [Makie - Incorrect isosurface rendering](https://discourse.julialang.org/t/makie-incorrect-isosurface-rendering/64688)

<div class="topic-metadata">

**Author:** [@tehl](https://discourse.julialang.org/u/tehl)\
**Replies:** 3\
**Last updated:** [July 15, 2021, 4:55pm UTC](https://discourse.julialang.org/t/makie-incorrect-isosurface-rendering/64688 "2021-07-15T16:55:43Z")

</div>

The isosurface example from the Makie docs doesn’t render correctly (see image below). Has anyone come across this problem? Potentially relevant glxinfo: Vendor: AMD (0x1002) Device: AMD Radeon (TM) RX 480 Graphics (PO…

---

## [Turing.jl: Warnings when running generated\_quantities](https://discourse.julialang.org/t/turing-jl-warnings-when-running-generated-quantities/64698)

<div class="topic-metadata">

**Author:** [@Hakan\_Kjellerstrand](https://discourse.julialang.org/u/Hakan_Kjellerstrand)\
**Replies:** 2\
**Last updated:** [July 15, 2021, 3:57pm UTC](https://discourse.julialang.org/t/turing-jl-warnings-when-running-generated-quantities/64698 "2021-07-15T15:57:52Z")

</div>

When calling generated\_quantities there is always a huge number of warnings with the following message Warning: the following keys were not found in \`vi\`, and thus \`kernel!\` was not applied to these: \["lp"\] └ @ DynamicP…

---

## [Unable to save and load model (or parameters) with BSON either on GPU or CPU](https://discourse.julialang.org/t/unable-to-save-and-load-model-or-parameters-with-bson-either-on-gpu-or-cpu/64582)

<div class="topic-metadata">

**Author:** [@sguns](https://discourse.julialang.org/u/sguns)\
**Replies:** 2\
**Last updated:** [July 15, 2021, 2:17am UTC](https://discourse.julialang.org/t/unable-to-save-and-load-model-or-parameters-with-bson-either-on-gpu-or-cpu/64582 "2021-07-15T02:17:50Z")

</div>

Hi, I’m training a model on GPU and trying to save intermediate states to disk as described in the Flux docs. Unfortunately it seems like the information about saving GPU models (in the blue box) is wrong - although I c…

---

## [\[ANN\] ODBC.jl Overhaul and 1.0 Release](https://discourse.julialang.org/t/ann-odbc-jl-overhaul-and-1-0-release/40493)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 7\
**Last updated:** [July 14, 2021, 9:23pm UTC](https://discourse.julialang.org/t/ann-odbc-jl-overhaul-and-1-0-release/40493 "2021-07-14T21:23:20Z")

</div>

I’m happy to announce a package overhaul and 1.0 release of the ODBC.jl package. In addition to being one of the oldest Julia packages (over 7 years old!), it was also my first Julia package that lured me into Julia deve…

---

## [Optimization with JuMP and KNITRO](https://discourse.julialang.org/t/optimization-with-jump-and-knitro/64644)

<div class="topic-metadata">

**Author:** [@Mario\_mushroom](https://discourse.julialang.org/u/Mario_mushroom)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 8:55pm UTC](https://discourse.julialang.org/t/optimization-with-jump-and-knitro/64644 "2021-07-14T20:55:58Z")

</div>

Hey everyone, I was trying to do a non-linear optimization problem with KNITRO. The JuMP model seems fine: A JuMP Model Minimization problem with: Variables: 270 Objective function type: GenericQuadExpr{Float64,Variable…

---

## [Inverse of Cross Correlation?](https://discourse.julialang.org/t/inverse-of-cross-correlation/64357)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 17\
**Last updated:** [July 14, 2021, 7:28pm UTC](https://discourse.julialang.org/t/inverse-of-cross-correlation/64357 "2021-07-14T19:28:33Z")

</div>

Hi all. I have a signal that is a cross correlation between to signals: X=crosscor(A,B) But in my case I get X and I can compute B… any idea how to make the inverse of the cross correlation so that I get: A=icrosscor…

---

## [\[ANN\] AWSBraket.jl - REST API wrapper for AWS Quantum Computing Service in native Julia](https://discourse.julialang.org/t/ann-awsbraket-jl-rest-api-wrapper-for-aws-quantum-computing-service-in-native-julia/64608)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 5:24pm UTC](https://discourse.julialang.org/t/ann-awsbraket-jl-rest-api-wrapper-for-aws-quantum-computing-service-in-native-julia/64608 "2021-07-14T17:24:26Z")

</div>

I’m pleased to announce the AWS braket REST API wrapper in native Julia based on its official implementation in braket. This is a component of the coming YaoLang.jl package, which will be the recommended way of using …

---

## [GalacticOptim: Locally running runtests.jl fails](https://discourse.julialang.org/t/galacticoptim-locally-running-runtests-jl-fails/64591)

<div class="topic-metadata">

**Author:** [@StefanMathis](https://discourse.julialang.org/u/StefanMathis)\
**Replies:** 6\
**Last updated:** [July 14, 2021, 12:49pm UTC](https://discourse.julialang.org/t/galacticoptim-locally-running-runtests-jl-fails/64591 "2021-07-14T12:49:37Z")

</div>

Hello all, I want to add constraint support to the FiniteDiff-backend of the GalacticOptim.jl package. However, after creating a local repository of the package, I can’t get runtests.jl to work. All tests using the Ipo…

---

## [3d medical app stencil](https://discourse.julialang.org/t/3d-medical-app-stencil/64019)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 6\
**Last updated:** [July 14, 2021, 12:14pm UTC](https://discourse.julialang.org/t/3d-medical-app-stencil/64019 "2021-07-14T12:14:43Z")

</div>

Hello I am trying to apply fantactic ParallelStencil.jl (https://github.com/omlins/ParallelStencil.jl) library to 3d medical imaging, as it seems ideal yet I have problems with application of code to my domain. For the…

---

## [Zygote push forward unable to differentiate through generic broadcast](https://discourse.julialang.org/t/zygote-push-forward-unable-to-differentiate-through-generic-broadcast/64364)

<div class="topic-metadata">

**Author:** [@RynoLaubscher](https://discourse.julialang.org/u/RynoLaubscher)\
**Replies:** 10\
**Last updated:** [July 14, 2021, 11:44am UTC](https://discourse.julialang.org/t/zygote-push-forward-unable-to-differentiate-through-generic-broadcast/64364 "2021-07-14T11:44:43Z")

</div>

Good day all, I am struggling a bit with something simple, I hope. I would like to use Zygote.pushforward to AD neural network outputs wrt inputs. For standard fully connected nets everything works fine, but as soon as …

---

## [Makie - Makie crashes](https://discourse.julialang.org/t/makie-makie-crashes/64569)

<div class="topic-metadata">

**Author:** [@stroebel](https://discourse.julialang.org/u/stroebel)\
**Replies:** 4\
**Last updated:** [July 14, 2021, 9:27am UTC](https://discourse.julialang.org/t/makie-makie-crashes/64569 "2021-07-14T09:27:54Z")

</div>

I am trying to explore using Makie for some interactive applications and I have a hurdle that I am not sure how to get over. When following the tutorial for Schelling’s Segregation model on the Agents.jl page, Makie just…

---

## [How to evaluate a JuMP model given a candidate solution?](https://discourse.julialang.org/t/how-to-evaluate-a-jump-model-given-a-candidate-solution/64555)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 5\
**Last updated:** [July 14, 2021, 8:58am UTC](https://discourse.julialang.org/t/how-to-evaluate-a-jump-model-given-a-candidate-solution/64555 "2021-07-14T08:58:04Z")

</div>

Supposing I have built an optimization model in JuMP, how can I evaluate its objective with a candidate solution? This solution may be obtained manually or from other tools. That is, how to get objective(x) if I have a t…

---

## [How to add a constraint with neural network in a JuMP (PowerModels) model](https://discourse.julialang.org/t/how-to-add-a-constraint-with-neural-network-in-a-jump-powermodels-model/64593)

<div class="topic-metadata">

**Author:** [@oli1119](https://discourse.julialang.org/u/oli1119)\
**Replies:** 4\
**Last updated:** [July 14, 2021, 8:14am UTC](https://discourse.julialang.org/t/how-to-add-a-constraint-with-neural-network-in-a-jump-powermodels-model/64593 "2021-07-14T08:14:16Z")

</div>

Hello, I want to create a constraint: a variable var1 is equal to the output of a torch artificial neural network whose input is another variable var2. ------- This following function is my ann prediction (the ANN has …

---

## [Optimization and Modelingtoolkit](https://discourse.julialang.org/t/optimization-and-modelingtoolkit/64483)

<div class="topic-metadata">

**Author:** [@juliascrub](https://discourse.julialang.org/u/juliascrub)\
**Replies:** 7\
**Last updated:** [July 14, 2021, 3:02am UTC](https://discourse.julialang.org/t/optimization-and-modelingtoolkit/64483 "2021-07-14T03:02:51Z")

</div>

Note: I am brand new to Julia and system modeling in general so I dont really have any idea of what I am doing haha. Ive got a simple voltage divider system (my intended model is more complex but I figured Id start smal…

---

## [Zygote: Mutating arrays is not supported (small example)](https://discourse.julialang.org/t/zygote-mutating-arrays-is-not-supported-small-example/64595)

<div class="topic-metadata">

**Author:** [@gianmariomanca](https://discourse.julialang.org/u/gianmariomanca)\
**Replies:** 3\
**Last updated:** [July 13, 2021, 6:57pm UTC](https://discourse.julialang.org/t/zygote-mutating-arrays-is-not-supported-small-example/64595 "2021-07-13T18:57:33Z")

</div>

A small educational example: using Zygote using ForwardDiff Let’s define a simple gaussian (sampled at integer coordinates) x = -20:1.0:20 f2(xf) = 1000.0 .\* exp.(-1.25 .\* (x .- xf).^2) And a simple center of mass co…

---

## [Julia: how to run embarrassingly parallel jobs with nested for loops?](https://discourse.julialang.org/t/julia-how-to-run-embarrassingly-parallel-jobs-with-nested-for-loops/64410)

<div class="topic-metadata">

**Author:** [@erwanlecarpentier](https://discourse.julialang.org/u/erwanlecarpentier)\
**Replies:** 6\
**Last updated:** [July 13, 2021, 9:22am UTC](https://discourse.julialang.org/t/julia-how-to-run-embarrassingly-parallel-jobs-with-nested-for-loops/64410 "2021-07-13T09:22:03Z")

</div>

Hey! I’d like to run 4 independent tasks in parallel for a certain number of times using 4 cores. Here is the script, say test.jl, that I run with the command julia --threads 4 test.jl: using Distributed function remot…

---

## [How to get and pass on json retrieved via HTTP](https://discourse.julialang.org/t/how-to-get-and-pass-on-json-retrieved-via-http/64532)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 4\
**Last updated:** [July 13, 2021, 5:46am UTC](https://discourse.julialang.org/t/how-to-get-and-pass-on-json-retrieved-via-http/64532 "2021-07-13T05:46:55Z")

</div>

Hi, I am getting my feet wet in web-interactivity…so this might be a very basic question. In the following code the retrieved messages are nicely printed out as a string containing the json information, but my JSON3.rea…

---

## [Convenient parameter change for remake ODEProblem made with ODESystem](https://discourse.julialang.org/t/convenient-parameter-change-for-remake-odeproblem-made-with-odesystem/64537)

<div class="topic-metadata">

**Author:** [@ograsdijk](https://discourse.julialang.org/u/ograsdijk)\
**Replies:** 2\
**Last updated:** [July 12, 2021, 11:34pm UTC](https://discourse.julialang.org/t/convenient-parameter-change-for-remake-odeproblem-made-with-odesystem/64537 "2021-07-12T23:34:39Z")

</div>

I’m creating an ODESystem using ModelingToolkit.jl and was wondering if for EnsembleProblems there is an easier way to specify the parameters in remake. Example, from the documentation of ModelingToolkit: using Modelin…

---

## [Fix vs @constraint in JuMP](https://discourse.julialang.org/t/fix-vs-constraint-in-jump/64509)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [July 12, 2021, 9:02pm UTC](https://discourse.julialang.org/t/fix-vs-constraint-in-jump/64509 "2021-07-12T21:02:35Z")

</div>

Dear All, I am trying to solve a mixed-integer optimization problem in JuMP and Gurobi. I have a variable x\_{i,j} over i,j \\in \\{1,2,\\ldots,n\\}, where n is a fairly large number. However, for this particular problem, ov…

---

## [Export/interface Julia code to FMI/FMU standard .fmu](https://discourse.julialang.org/t/export-interface-julia-code-to-fmi-fmu-standard-fmu/21211)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 10\
**Last updated:** [July 12, 2021, 4:12pm UTC](https://discourse.julialang.org/t/export-interface-julia-code-to-fmi-fmu-standard-fmu/21211 "2021-07-12T16:12:02Z")

</div>

Hi everyone, I will start to build a modeling framework. I have simulation models which are built with Modelica, some others with Simulink/Simscape Toolbox and finally I have a control system designs with Julia and pa…

---

## [Makie - Default plot color](https://discourse.julialang.org/t/makie-default-plot-color/64494)

<div class="topic-metadata">

**Author:** [@paurierap](https://discourse.julialang.org/u/paurierap)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 11:58am UTC](https://discourse.julialang.org/t/makie-default-plot-color/64494 "2021-07-12T11:58:14Z")

</div>

While trying to set the attributes of a custom recipe, I am using default\_theme(scene,Mesh), knowing that the default color is :black. My ultimate goal is to set my own default color, but somehow Makie changes any color …

---

## [Help understanding which changes in HTTP.jl affect this (older) function in Couchzilla.jl. Trying to update the package to julia 1.0 and recent HTTP.jl](https://discourse.julialang.org/t/help-understanding-which-changes-in-http-jl-affect-this-older-function-in-couchzilla-jl-trying-to-update-the-package-to-julia-1-0-and-recent-http-jl/56447)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 2\
**Last updated:** [March 4, 2021, 5:27am UTC](https://discourse.julialang.org/t/help-understanding-which-changes-in-http-jl-affect-this-older-function-in-couchzilla-jl-trying-to-update-the-package-to-julia-1-0-and-recent-http-jl/56447 "2021-03-04T05:27:18Z")

</div>

Hi, I just wanted to check if someone more knowledgeable in HTTP.jl could help me out with fixing another package that is a bit older and not entirely updated to recent HTTP.jl? Couchzilla.jl is a julia interface to cou…

---

## [Allowed types for \`fft()\` and \`ifft()\` when using sparse arrays](https://discourse.julialang.org/t/allowed-types-for-fft-and-ifft-when-using-sparse-arrays/64481)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 1:56am UTC](https://discourse.julialang.org/t/allowed-types-for-fft-and-ifft-when-using-sparse-arrays/64481 "2021-07-12T01:56:03Z")

</div>

In the following code, I have commented out all the lines that produce a MethodError: using FFTW, SparseArrays fft(rand(Float64, 50, 50)) fft(rand(ComplexF64, 50, 50)) fft(rand(Float32, 50, 50)) fft(rand(ComplexF32, 50…

---

## [Metaprogramming with Structure: Converting Dictionary to Structure](https://discourse.julialang.org/t/metaprogramming-with-structure-converting-dictionary-to-structure/63861)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 14\
**Last updated:** [July 11, 2021, 10:40pm UTC](https://discourse.julialang.org/t/metaprogramming-with-structure-converting-dictionary-to-structure/63861 "2021-07-11T22:40:46Z")

</div>

Dear Julian colleagues, I am reading the options of my model from TOML file into Structure. With the following steps: The TOML writes into a Dict: Than I am writing a code to parse Dict into Structure The code works…

---

## [Error with CircularBufferArrays in ReinforcementLearning.jl](https://discourse.julialang.org/t/error-with-circularbufferarrays-in-reinforcementlearning-jl/63769)

<div class="topic-metadata">

**Author:** [@SatvikDuddukuru](https://discourse.julialang.org/u/SatvikDuddukuru)\
**Replies:** 5\
**Last updated:** [July 11, 2021, 3:07am UTC](https://discourse.julialang.org/t/error-with-circularbufferarrays-in-reinforcementlearning-jl/63769 "2021-07-11T03:07:40Z")

</div>

I made a Connect 4 Environment with ReinforcementLearning.jl: begin mutable struct Connect4Env \<: AbstractEnv board::Array{Int,2} current\_player::Int full\_columns::Array{Int,1} is\_terminated::Bool Connect4E…

---

## [\[ANN\] DataFramesMeta 0.8.0 release](https://discourse.julialang.org/t/ann-dataframesmeta-0-8-0-release/64416)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 4\
**Last updated:** [July 10, 2021, 10:44pm UTC](https://discourse.julialang.org/t/ann-dataframesmeta-0-8-0-release/64416 "2021-07-10T22:44:46Z")

</div>

I am happy to announce the 0.8.0 release of DataFramesMeta. This comes shortly after the 0.7.0 release. We are working quickly and implementing breaking changes in pursuit of a 1.0 release. The changes are @where ha…

---

## [ModelingToolkit matrix form system of equations and complex values](https://discourse.julialang.org/t/modelingtoolkit-matrix-form-system-of-equations-and-complex-values/64431)

<div class="topic-metadata">

**Author:** [@ograsdijk](https://discourse.julialang.org/u/ograsdijk)\
**Replies:** 5\
**Last updated:** [July 10, 2021, 9:55pm UTC](https://discourse.julialang.org/t/modelingtoolkit-matrix-form-system-of-equations-and-complex-values/64431 "2021-07-10T21:55:56Z")

</div>

I’ve started looking into ModelingToolkit and I wanted to solve optical bloch differential equations with it, which have a complex part. I’ll preface this by saying I don’t have much experience with Julia yet, I started…

---

## [Error when calculating RHS of reaction ode "no method matching Float64(::Num)"](https://discourse.julialang.org/t/error-when-calculating-rhs-of-reaction-ode-no-method-matching-float64-num/64420)

<div class="topic-metadata">

**Author:** [@SA8416](https://discourse.julialang.org/u/SA8416)\
**Replies:** 4\
**Last updated:** [July 10, 2021, 8:59pm UTC](https://discourse.julialang.org/t/error-when-calculating-rhs-of-reaction-ode-no-method-matching-float64-num/64420 "2021-07-10T20:59:44Z")

</div>

I have some code that uses a function to calculate some changes in concentration, but I get an error of: ERROR: LoadError: MethodError: no method matching Float64(::Num) Closest candidates are: (::Type{T})(::Real, ::R…

---

## [Why Mosek can not resolve new model when the added new constraints include SOCP constraints?](https://discourse.julialang.org/t/why-mosek-can-not-resolve-new-model-when-the-added-new-constraints-include-socp-constraints/64411)

<div class="topic-metadata">

**Author:** [@Sawyer\_Zhou](https://discourse.julialang.org/u/Sawyer_Zhou)\
**Replies:** 1\
**Last updated:** [July 10, 2021, 4:18pm UTC](https://discourse.julialang.org/t/why-mosek-can-not-resolve-new-model-when-the-added-new-constraints-include-socp-constraints/64411 "2021-07-10T16:18:38Z")

</div>

Here is a mini-case of my mathematical model. First, solve the initial model, and check if the solution meets the condition. If it does not, the new constraints will be added, and solve the new model. But there are som…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=350)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=352)
