# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=269

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

**Page:** 270

---

## [How to draw simulated data from a given turing model given specific parameters](https://discourse.julialang.org/t/how-to-draw-simulated-data-from-a-given-turing-model-given-specific-parameters/83413)

<div class="topic-metadata">

**Author:** [@neuro\_enthusiast](https://discourse.julialang.org/u/neuro_enthusiast)\
**Replies:** 3\
**Last updated:** [July 2, 2022, 3:04pm UTC](https://discourse.julialang.org/t/how-to-draw-simulated-data-from-a-given-turing-model-given-specific-parameters/83413 "2022-07-02T15:04:18Z")

</div>

I was wondering how I can simulate data given parameter values using a turing model? Any help would be great! ex. using Turing, Distributions @model function logistic\_regression(x, y, n, σ) intercept ~ Normal(0, σ)…

---

## [Saving and Loading Error BSON.jl](https://discourse.julialang.org/t/saving-and-loading-error-bson-jl/83555)

<div class="topic-metadata">

**Author:** [@ccccc](https://discourse.julialang.org/u/ccccc)\
**Replies:** 4\
**Last updated:** [July 2, 2022, 12:07pm UTC](https://discourse.julialang.org/t/saving-and-loading-error-bson-jl/83555 "2022-07-02T12:07:58Z")

</div>

I’m getting an error while saving / loading in BSON: res1\_node = DiffEqFlux.sciml\_train(loss, p, ADAM(0.01), cb=callback, maxiters = 500) using BSON: @save @save "res1\_node" res1\_node when I try to load: using BSON: …

---

## [Speedup over cython/GSL ODE/SDE solvers?](https://discourse.julialang.org/t/speedup-over-cython-gsl-ode-sde-solvers/83490)

<div class="topic-metadata">

**Author:** [@kjohnsen](https://discourse.julialang.org/u/kjohnsen)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 6:28pm UTC](https://discourse.julialang.org/t/speedup-over-cython-gsl-ode-sde-solvers/83490 "2022-07-01T18:28:30Z")

</div>

Hello there! I’m somewhat new to Julia. I’m scoping out a spiking neural network/ML project, and I’ve been using Brian 2 simulator a lot in Python. It would consist of training recurrent spiking neural networks to perfor…

---

## [My experience as a Julia and R user](https://discourse.julialang.org/t/my-experience-as-a-julia-and-r-user/83613)

<div class="topic-metadata">

**Author:** [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Replies:** 8\
**Last updated:** [July 1, 2022, 4:20pm UTC](https://discourse.julialang.org/t/my-experience-as-a-julia-and-r-user/83613 "2022-07-01T16:20:06Z")

</div>

Hi! I’m a relatively new user of Julia, and I thought that maybe contributors of DataFrames and Econometrics packages could find my feedback useful. I’ve been primarily using Julia for DataFrames, which is a package I l…

---

## [Metal.jl : Seamless GPU acceleration for Julia based physics using unified processing units?](https://discourse.julialang.org/t/metal-jl-seamless-gpu-acceleration-for-julia-based-physics-using-unified-processing-units/83006)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 1\
**Last updated:** [July 1, 2022, 10:38am UTC](https://discourse.julialang.org/t/metal-jl-seamless-gpu-acceleration-for-julia-based-physics-using-unified-processing-units/83006 "2022-07-01T10:38:21Z")

</div>

Hi, I found this work about GPU programming with apple silicon machines very interesting : Seamless GPU acceleration for C++ based physics using unified processing units: A case study for elastic wave propagation and PD…

---

## [CairoMakie: any way to save 3D plot in vector format (.svg, .eps)?](https://discourse.julialang.org/t/cairomakie-any-way-to-save-3d-plot-in-vector-format-svg-eps/83122)

<div class="topic-metadata">

**Author:** [@mihai](https://discourse.julialang.org/u/mihai)\
**Replies:** 12\
**Last updated:** [July 1, 2022, 6:08am UTC](https://discourse.julialang.org/t/cairomakie-any-way-to-save-3d-plot-in-vector-format-svg-eps/83122 "2022-07-01T06:08:14Z")

</div>

Hi, so far I’ve used CairoMakie for 2D plots (exporting to .svg) while using GLMakie for 3D plots (for interactivity & exporting to .png). Is there any way to use CairoMakie with a 3D plot and export it to .svg? Speed do…

---

## [LinearRegressionKit results correctness](https://discourse.julialang.org/t/linearregressionkit-results-correctness/83579)

<div class="topic-metadata">

**Author:** [@Eric](https://discourse.julialang.org/u/Eric)\
**Replies:** 0\
**Last updated:** [June 30, 2022, 7:52pm UTC](https://discourse.julialang.org/t/linearregressionkit-results-correctness/83579 "2022-06-30T19:52:11Z")

</div>

I haven’t posted for a while, but I noticed some discussion on the forum about results correctness, and that got me thinking that maybe I should do more on my little package. Hence I used the tests that everyone seems t…

---

## [Spatial transformer (i.e. GPU-friendly interpolations with gradients) with Flux.jl?](https://discourse.julialang.org/t/spatial-transformer-i-e-gpu-friendly-interpolations-with-gradients-with-flux-jl/70836)

<div class="topic-metadata">

**Author:** [@afishy](https://discourse.julialang.org/u/afishy)\
**Replies:** 7\
**Last updated:** [July 1, 2022, 4:56am UTC](https://discourse.julialang.org/t/spatial-transformer-i-e-gpu-friendly-interpolations-with-gradients-with-flux-jl/70836 "2022-07-01T04:56:17Z")

</div>

Originally posted this on the flux-bridged Slack channel, but thought this might be a good place to post. I need a spatial transformer or something equivalent for a project, written so far entirely in Julia. I thought In…

---

## [Remove duplicate legend entries in PlotlyJS combined bar plot](https://discourse.julialang.org/t/remove-duplicate-legend-entries-in-plotlyjs-combined-bar-plot/83502)

<div class="topic-metadata">

**Author:** [@Mario\_Silva](https://discourse.julialang.org/u/Mario_Silva)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 3:00am UTC](https://discourse.julialang.org/t/remove-duplicate-legend-entries-in-plotlyjs-combined-bar-plot/83502 "2022-07-01T03:00:34Z")

</div>

Greetings: I am vertically stacking two bar plots from PlotlyJS, which can be interpreted as a historical decomposition of output and the Solow residual over the business cycle into various shocks. The problem is that d…

---

## [Why SDDP.jl can not work together with nonlinear optimizer like juniper](https://discourse.julialang.org/t/why-sddp-jl-can-not-work-together-with-nonlinear-optimizer-like-juniper/83559)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 5\
**Last updated:** [July 1, 2022, 1:56am UTC](https://discourse.julialang.org/t/why-sddp-jl-can-not-work-together-with-nonlinear-optimizer-like-juniper/83559 "2022-07-01T01:56:28Z")

</div>

Hello, I’m using JuMP.jl and Juniper.jl to solve a MINLP problem. Now I attempt to consider the uncertainty in some of the constraints by consulting theory guide of SDDP.jl. But I can’t understand how SDDP.jl deal with …

---

## [Unable to plot from the REPL with PyPlot](https://discourse.julialang.org/t/unable-to-plot-from-the-repl-with-pyplot/3112)

<div class="topic-metadata">

**Author:** [@adriano.vilela](https://discourse.julialang.org/u/adriano.vilela)\
**Replies:** 15\
**Last updated:** [June 30, 2022, 4:06pm UTC](https://discourse.julialang.org/t/unable-to-plot-from-the-repl-with-pyplot/3112 "2022-06-30T16:06:57Z")

</div>

I recently decided to try Julia 0.6. I installed a Generic Linux binary (nightly build) on my machine. For plotting, I installed PyPlot, using my system’s installation of matplotlib (i.e., not Conda). Plotting works fine…

---

## [Equivalent to Rosetta in Julia](https://discourse.julialang.org/t/equivalent-to-rosetta-in-julia/32168)

<div class="topic-metadata">

**Author:** [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Replies:** 4\
**Last updated:** [June 30, 2022, 10:24am UTC](https://discourse.julialang.org/t/equivalent-to-rosetta-in-julia/32168 "2022-06-30T10:24:43Z")

</div>

I’ve recently started working at a biotech startup. One of the tools used by these types of companies is the macromolecular modelling tool Rosetta. I don’t totally understand Rosetta’s various capabilities/limitations. T…

---

## [Create an image from matrix](https://discourse.julialang.org/t/create-an-image-from-matrix/83523)

<div class="topic-metadata">

**Author:** [@extremety1989](https://discourse.julialang.org/u/extremety1989)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 4:51pm UTC](https://discourse.julialang.org/t/create-an-image-from-matrix/83523 "2022-06-29T16:51:44Z")

</div>

i am using gans to generate an image, it ouputs an array of size (256,256,3,1) “WHCB” how can build an image out of it ? here is an example what i tried, i think i need to remove dim ( channels and batch): function cre…

---

## [Symbolic Arrays have issues with Complex Numbers](https://discourse.julialang.org/t/symbolic-arrays-have-issues-with-complex-numbers/83538)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 1\
**Last updated:** [June 30, 2022, 9:35am UTC](https://discourse.julialang.org/t/symbolic-arrays-have-issues-with-complex-numbers/83538 "2022-06-30T09:35:11Z")

</div>

I can’t work with complex numbers multiplying Symbolic Arrays. Here an example: using Symbolics, SpecialFunctions N = 3 @variables r\[1:N, 1:N\], ϕ\[1:N, 1:N\] H = hankelh1.(0, r) P = cos.(ϕ) Q = im.\*cos.(ϕ)# also does n…

---

## [JuMP.write\_to\_file small change to model](https://discourse.julialang.org/t/jump-write-to-file-small-change-to-model/83543)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 2:34am UTC](https://discourse.julialang.org/t/jump-write-to-file-small-change-to-model/83543 "2022-06-30T02:34:26Z")

</div>

I have created a large LP in a JuMP model. I want to write a small variation, e.g. fixing a variable or changing the RHS of a scalar constraint, of the LP to a MPS file using JuMP. write\_to\_file. Once the original LP has…

---

## [Looking for collaborators - implementing SLIDE in julia](https://discourse.julialang.org/t/looking-for-collaborators-implementing-slide-in-julia/83482)

<div class="topic-metadata">

**Author:** [@RickDW](https://discourse.julialang.org/u/RickDW)\
**Replies:** 12\
**Last updated:** [June 29, 2022, 8:39pm UTC](https://discourse.julialang.org/t/looking-for-collaborators-implementing-slide-in-julia/83482 "2022-06-29T20:39:35Z")

</div>

Hi everyone, a while back I had a quick discussion with @outlace (over here) about implementing SLIDE. The basic idea is that you don’t need expensive GPUs or other hardware accelerators to train neural nets. All you nee…

---

## [Dataframe Joins in a loop](https://discourse.julialang.org/t/dataframe-joins-in-a-loop/83476)

<div class="topic-metadata">

**Author:** [@Guido](https://discourse.julialang.org/u/Guido)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 7:40pm UTC](https://discourse.julialang.org/t/dataframe-joins-in-a-loop/83476 "2022-06-29T19:40:49Z")

</div>

Hi all, I’m learning Julia and I’m stuck trying to merge several dataframes into only one using a loop. For instances, suppose that I have 4 dataframes called A, B, C and D. They have the same column names except for th…

---

## [CUDA.jl - Better GPU but Worse Performance](https://discourse.julialang.org/t/cuda-jl-better-gpu-but-worse-performance/83337)

<div class="topic-metadata">

**Author:** [@moukann](https://discourse.julialang.org/u/moukann)\
**Replies:** 10\
**Last updated:** [June 29, 2022, 6:45pm UTC](https://discourse.julialang.org/t/cuda-jl-better-gpu-but-worse-performance/83337 "2022-06-29T18:45:19Z")

</div>

Hello all, I have a question regarding to general usage of CUDA.jl, not a code problem. So we have 2 different computers, both is running on Ubuntu. One of them has Nvidia Quadro P2000 5GB DDR5 160Bit graphics card and…

---

## [Removing singularities from callable functions built from symbolic expressions](https://discourse.julialang.org/t/removing-singularities-from-callable-functions-built-from-symbolic-expressions/83505)

<div class="topic-metadata">

**Author:** [@mrhardman](https://discourse.julialang.org/u/mrhardman)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 5:11pm UTC](https://discourse.julialang.org/t/removing-singularities-from-callable-functions-built-from-symbolic-expressions/83505 "2022-06-29T17:11:09Z")

</div>

I have a basic question regarding building functions from symbolic expressions for which I cannot find the answer on the documentation (Symbolic Calculations and Building Callable Functions · Symbolics.jl) Suppose that …

---

## [Generalized affects in MTK - what's a good interface?](https://discourse.julialang.org/t/generalized-affects-in-mtk-whats-a-good-interface/83390)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 4:57pm UTC](https://discourse.julialang.org/t/generalized-affects-in-mtk-whats-a-good-interface/83390 "2022-06-29T16:57:08Z")

</div>

Hi, I’ve recently started a pull request in an attempt to add more generalized affect! support to MTK (and also to support discrete\_events, which is taken on by others) The reason I think this is needed is that in some…

---

## [Store DataFrame or filepath for CSV.read?](https://discourse.julialang.org/t/store-dataframe-or-filepath-for-csv-read/83489)

<div class="topic-metadata">

**Author:** [@RicardoFR](https://discourse.julialang.org/u/RicardoFR)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 4:19pm UTC](https://discourse.julialang.org/t/store-dataframe-or-filepath-for-csv-read/83489 "2022-06-29T16:19:35Z")

</div>

Hello all! I’m working with some data using CSV.read and the DataFrame type. The data in its raw form is seldom needed in my code, which got me thinking if I indeed need to store it in my mutable struct in the first pla…

---

## [We need more helpful error messages in ModelingToolkit](https://discourse.julialang.org/t/we-need-more-helpful-error-messages-in-modelingtoolkit/82917)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 11\
**Last updated:** [June 29, 2022, 4:13pm UTC](https://discourse.julialang.org/t/we-need-more-helpful-error-messages-in-modelingtoolkit/82917 "2022-06-29T16:13:58Z")

</div>

Hi, Trying to solve a model, I’m getting a really unhelpful message: @named x = MixingVolume() sys = structural\_simplify(x) prob = ODAEProblem(sys, \[\], (0, 10.0)) sol = solve(prob, Tsit5()) MethodError: no method …

---

## [Favorite lectures on the Finite Element Method?](https://discourse.julialang.org/t/favorite-lectures-on-the-finite-element-method/83211)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 3:22pm UTC](https://discourse.julialang.org/t/favorite-lectures-on-the-finite-element-method/83211 "2022-06-29T15:22:12Z")

</div>

Do you have a favorite set of lectures on the Finite Element Method? Possibly a set of lectures with a heavy list of programming exercises that encourages students to build all the building blocks of a modern software li…

---

## [Add errorbars with dodge in barplot](https://discourse.julialang.org/t/add-errorbars-with-dodge-in-barplot/83504)

<div class="topic-metadata">

**Author:** [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 9:02am UTC](https://discourse.julialang.org/t/add-errorbars-with-dodge-in-barplot/83504 "2022-06-29T09:02:40Z")

</div>

How to add errorbars with dodge in barplot.

---

## [How do I put a plot in a Blink (electron) desktop application?](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404)

<div class="topic-metadata">

**Author:** [@davidwallis](https://discourse.julialang.org/u/davidwallis)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 3:09am UTC](https://discourse.julialang.org/t/how-do-i-put-a-plot-in-a-blink-electron-desktop-application/83404 "2022-06-29T03:09:01Z")

</div>

Very basic question, but I’ve spent all afternoon looking for an answer. I want to make a cross-platform desktop application and I thought I’d try Blink.jl. I can run the example and create a hello world program appearin…

---

## [Debugging in Ipopt without JuMP](https://discourse.julialang.org/t/debugging-in-ipopt-without-jump/83384)

<div class="topic-metadata">

**Author:** [@Itzahack23](https://discourse.julialang.org/u/Itzahack23)\
**Replies:** 5\
**Last updated:** [June 29, 2022, 1:48am UTC](https://discourse.julialang.org/t/debugging-in-ipopt-without-jump/83384 "2022-06-29T01:48:56Z")

</div>

Hi all, I am trying to solve a constrained optimization problem by using Ipopt “without” using JuMP as I want to see how the performance changes by giving the gradient and hessian information. I am referring to the C w…

---

## [I want a minimal example of plotting data using pure Julia code](https://discourse.julialang.org/t/i-want-a-minimal-example-of-plotting-data-using-pure-julia-code/83435)

<div class="topic-metadata">

**Author:** [@Reza-Reza](https://discourse.julialang.org/u/Reza-Reza)\
**Replies:** 13\
**Last updated:** [June 28, 2022, 10:25pm UTC](https://discourse.julialang.org/t/i-want-a-minimal-example-of-plotting-data-using-pure-julia-code/83435 "2022-06-28T22:25:31Z")

</div>

The library Gadfly is written purely in Julia. I would like to know how using pure Julia someone can plot graphics such as a line or a point. The source code is extensive and I could not find the source code for the pl…

---

## [Saving complex numbers using JSON3](https://discourse.julialang.org/t/saving-complex-numbers-using-json3/83452)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 7:06pm UTC](https://discourse.julialang.org/t/saving-complex-numbers-using-json3/83452 "2022-06-28T19:06:11Z")

</div>

I am trying to save Complex numbers in json files formatted in a python compatible way as using JSON3 c = 1+5im d = Dict("c" =\> c) jsonstring = JSON3.pretty(d) #= should be { "c" : 1+5j } =# This is how far I got, …

---

## [GeoMakie.jl: Stereographic projection at pole did not work](https://discourse.julialang.org/t/geomakie-jl-stereographic-projection-at-pole-did-not-work/83258)

<div class="topic-metadata">

**Author:** [@JanJereczek](https://discourse.julialang.org/u/JanJereczek)\
**Replies:** 16\
**Last updated:** [June 28, 2022, 6:07pm UTC](https://discourse.julialang.org/t/geomakie-jl-stereographic-projection-at-pole-did-not-work/83258 "2022-06-28T18:07:32Z")

</div>

Hi all, I started to code in Julia half a year ago and I am quite excited about using GeoMakie. I work on ice sheet dynamics so I mostly want to visualize the poles. Therefore I want to use a stereographic projection an…

---

## [Issue with for-loop free model](https://discourse.julialang.org/t/issue-with-for-loop-free-model/83468)

<div class="topic-metadata">

**Author:** [@spragud2](https://discourse.julialang.org/u/spragud2)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 5:08pm UTC](https://discourse.julialang.org/t/issue-with-for-loop-free-model/83468 "2022-06-28T17:08:49Z")

</div>

Hi All, I’m trying to get a simple MLP trained. Pretty much all turing tutorials still use for i in 1:N loops for the likelihood on the data. I’m trying the following: using Flux using Turing,Zygote using MCMCChains …

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=268)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=270)
