# Specific Domains

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

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

**Page:** 134

---

## [Using LSTM cell in Lux with explicit parameters](https://discourse.julialang.org/t/using-lstm-cell-in-lux-with-explicit-parameters/110199)

<div class="topic-metadata">

**Author:** [@kunal](https://discourse.julialang.org/u/kunal)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 4:06am UTC](https://discourse.julialang.org/t/using-lstm-cell-in-lux-with-explicit-parameters/110199 "2024-02-14T04:06:26Z")

</div>

Hi, I was referring to the Simple LSTM tutorial, which combines classifier(Dense layer) with LSTMCell using AbstractExplicitContainerLayer. Also, in my case I am passing explicit parameters to the neural net. NN = L…

---

## [MethodError in importing excel table using XLSX](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 10:38pm UTC](https://discourse.julialang.org/t/methoderror-in-importing-excel-table-using-xlsx/110357 "2024-02-17T22:38:20Z")

</div>

Hi everyone, I’m trying to import an excel table into a dataframe using: df\_data = DataFrame(XLSX.readtable(file\_path, "styles", columns="A:H", infer\_eltypes=true, first\_row=3)) But I’m getting MethodError: no met…

---

## [Indexing problem SDDP package](https://discourse.julialang.org/t/indexing-problem-sddp-package/110291)

<div class="topic-metadata">

**Author:** [@heiwie](https://discourse.julialang.org/u/heiwie)\
**Replies:** 4\
**Last updated:** [February 17, 2024, 10:33pm UTC](https://discourse.julialang.org/t/indexing-problem-sddp-package/110291 "2024-02-17T22:33:26Z")

</div>

I am trying to define a hydropower production problem in Julia using the SDDP package. When running the code I get this error: “ERROR: KeyError: key Symbol(“w2\[3\]”) not found”. This error seems like it is being caused b…

---

## [How hard is it to rebuild a tensorflow model in julia?](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349)

<div class="topic-metadata">

**Author:** [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Replies:** 2\
**Last updated:** [February 17, 2024, 9:05pm UTC](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349 "2024-02-17T21:05:37Z")

</div>

It has been a pain for me to get tensorflow working on my arm MacBook to run a recently published denoising model. Id love to port the model Julia because it would open up some options and make it easier to share with o…

---

## [Energy planning](https://discourse.julialang.org/t/energy-planning/110315)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [February 17, 2024, 12:22pm UTC](https://discourse.julialang.org/t/energy-planning/110315 "2024-02-17T12:22:26Z")

</div>

There is a nice open source tool for energy planning: http://www.osemosys.org/ As far as I understand their are two open source versions, one written in GNUMathprog, and one in Python. The GNUMathprog version is quite c…

---

## [Is it possible to read another Task's task\_local\_storage](https://discourse.julialang.org/t/is-it-possible-to-read-another-tasks-task-local-storage/110324)

<div class="topic-metadata">

**Author:** [@rdavis120](https://discourse.julialang.org/u/rdavis120)\
**Replies:** 1\
**Last updated:** [February 17, 2024, 2:29am UTC](https://discourse.julialang.org/t/is-it-possible-to-read-another-tasks-task-local-storage/110324 "2024-02-17T02:29:03Z")

</div>

Is it possible to read the task\_local\_storage of a Task? For example, if you were to spawn several long running child tasks and you keep the handles to the child Tasks, can another task read the storage using those hand…

---

## [Display svg](https://discourse.julialang.org/t/display-svg/57469)

<div class="topic-metadata">

**Author:** [@tonyhur](https://discourse.julialang.org/u/tonyhur)\
**Replies:** 4\
**Last updated:** [February 16, 2024, 10:53pm UTC](https://discourse.julialang.org/t/display-svg/57469 "2024-02-16T22:53:40Z")

</div>

In a Jupyter notebook I have the following code that worked with Julia 1.0 f = open(“Output.svg”, “r”) s = read(f,String) display(“image/svg+xml”,s) Now in Julia 1.5.3 it did not work anymore. I looked up the documen…

---

## [Plotting two specific columns from a dataframe on one plot using PlutoPlotly](https://discourse.julialang.org/t/plotting-two-specific-columns-from-a-dataframe-on-one-plot-using-plutoplotly/110316)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 10:13pm UTC](https://discourse.julialang.org/t/plotting-two-specific-columns-from-a-dataframe-on-one-plot-using-plutoplotly/110316 "2024-02-16T22:13:05Z")

</div>

Hi everyone, I have a DataFrame with one date data and the other columns are just numbers. I want to create a plot of two specific columns df.data1 and df.data3 against the date column on the x-axis. When I try someth…

---

## [Shape optimization in FEM](https://discourse.julialang.org/t/shape-optimization-in-fem/107635)

<div class="topic-metadata">

**Author:** [@rguerrab](https://discourse.julialang.org/u/rguerrab)\
**Replies:** 10\
**Last updated:** [February 16, 2024, 10:10pm UTC](https://discourse.julialang.org/t/shape-optimization-in-fem/107635 "2024-02-16T22:10:25Z")

</div>

Hi there, I have a feeling this may have been asked before but I can’t seem to find an answer online. The general question is: how can I compute the gradient of a function where the function depends on the solution of …

---

## [Converting XLSX.Worksheet to DataFrame](https://discourse.julialang.org/t/converting-xlsx-worksheet-to-dataframe/110300)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 5\
**Last updated:** [February 16, 2024, 7:51pm UTC](https://discourse.julialang.org/t/converting-xlsx-worksheet-to-dataframe/110300 "2024-02-16T19:51:38Z")

</div>

Hi all, I imported an excel file to XLSX data variable named xf, now I’m trying to convert one of the worksheets xf\[2\] into a dataframe. The worksheet have two columns, one date in the form of 1993-04-30 and the other …

---

## [Dates appear as numbers on the x-axis using PlutoPlotly](https://discourse.julialang.org/t/dates-appear-as-numbers-on-the-x-axis-using-plutoplotly/110311)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 7:45pm UTC](https://discourse.julialang.org/t/dates-appear-as-numbers-on-the-x-axis-using-plutoplotly/110311 "2024-02-16T19:45:27Z")

</div>

Hi, I’m trying to use Plotly with my Pluto notebook code for plotting timeseries of dataframes. I’m using PlutoPLotly and when I plot using: plot(df.Date, df.data1, x=:Date) The x-axis ticks appear as numbers, despi…

---

## [Plots.jl : place legend at the end of series](https://discourse.julialang.org/t/plots-jl-place-legend-at-the-end-of-series/110287)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 15\
**Last updated:** [February 16, 2024, 3:54pm UTC](https://discourse.julialang.org/t/plots-jl-place-legend-at-the-end-of-series/110287 "2024-02-16T15:54:32Z")

</div>

Hey, I have a plot like that : I would like the legends to be placed next to the end of curves like that : and so on for all of them. Is that possible ?

---

## [Would it be worth it to move to DifferentialEquation.jl?](https://discourse.julialang.org/t/would-it-be-worth-it-to-move-to-differentialequation-jl/110297)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 4\
**Last updated:** [February 16, 2024, 3:39pm UTC](https://discourse.julialang.org/t/would-it-be-worth-it-to-move-to-differentialequation-jl/110297 "2024-02-16T15:39:23Z")

</div>

Hey, I have an application that is taking a bit long, but looking at profview i am wondering if it would be actually worth it to move it to DE.jl. Here are the specifics: I have a pre-setted grid with a lot of time po…

---

## [Transient, multifield simulations in Gridap.jl](https://discourse.julialang.org/t/transient-multifield-simulations-in-gridap-jl/110292)

<div class="topic-metadata">

**Author:** [@instant0n](https://discourse.julialang.org/u/instant0n)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 1:21pm UTC](https://discourse.julialang.org/t/transient-multifield-simulations-in-gridap-jl/110292 "2024-02-16T13:21:29Z")

</div>

Hi all- Is it currently possible to solve transient problems for multifield FE spaces using Gridap.jl? I’m currently trying to solve a Boussinesq Navier-Stokes system, and am running into some issues, so I’d like to kno…

---

## [Symbolic sqrt(2) and sin(pi)](https://discourse.julialang.org/t/symbolic-sqrt-2-and-sin-pi/58633)

<div class="topic-metadata">

**Author:** [@oscarbenjamin](https://discourse.julialang.org/u/oscarbenjamin)\
**Replies:** 24\
**Last updated:** [February 16, 2024, 4:51am UTC](https://discourse.julialang.org/t/symbolic-sqrt-2-and-sin-pi/58633 "2024-02-16T04:51:45Z")

</div>

I asked this as a genuine question but looking at Symbolics.jl more closely I get the impression that the answer is that there is no way to do this even for sqrt(2). If that’s the case then this is something very differ…

---

## [Making voxels isotropic in (x,y,z) images](https://discourse.julialang.org/t/making-voxels-isotropic-in-x-y-z-images/110186)

<div class="topic-metadata">

**Author:** [@TheHedgehog2000](https://discourse.julialang.org/u/TheHedgehog2000)\
**Replies:** 9\
**Last updated:** [February 15, 2024, 11:35pm UTC](https://discourse.julialang.org/t/making-voxels-isotropic-in-x-y-z-images/110186 "2024-02-15T23:35:07Z")

</div>

Hi everyone, I’ve started using Julia for processing microscopy data very recently (switching over from Python). My data tend to be 3D in space (meaning vertical stacks of images) and anisotropic (resolution in z is low…

---

## [JuMP: DimensionalData Compatibility](https://discourse.julialang.org/t/jump-dimensionaldata-compatibility/109736)

<div class="topic-metadata">

**Author:** [@Ethan-Russell](https://discourse.julialang.org/u/Ethan-Russell)\
**Replies:** 3\
**Last updated:** [February 15, 2024, 10:26pm UTC](https://discourse.julialang.org/t/jump-dimensionaldata-compatibility/109736 "2024-02-15T22:26:31Z")

</div>

I’m running into compat issues with JuMP, caused by the dependence on DimensionalData.jl, v0.24. Specifically, I’m trying to use JuMP.jl and the latest version of Rasters.jl, which requires DimensionalData v0.25.1. Is t…

---

## [Moving a custom loss function to GPU](https://discourse.julialang.org/t/moving-a-custom-loss-function-to-gpu/109637)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 5\
**Last updated:** [February 15, 2024, 9:19pm UTC](https://discourse.julialang.org/t/moving-a-custom-loss-function-to-gpu/109637 "2024-02-15T21:19:49Z")

</div>

I have developed the following custom loss function, I am trying to run it on the GPU efficiently but I am unable to do so; I get the following error in the line Matrix(ω' \* yₖ\_batch) ERROR: MethodError: no method match…

---

## [Unexpected JuMP variable order when indexed by tuple](https://discourse.julialang.org/t/unexpected-jump-variable-order-when-indexed-by-tuple/110262)

<div class="topic-metadata">

**Author:** [@brunompacheco](https://discourse.julialang.org/u/brunompacheco)\
**Replies:** 7\
**Last updated:** [February 15, 2024, 7:39pm UTC](https://discourse.julialang.org/t/unexpected-jump-variable-order-when-indexed-by-tuple/110262 "2024-02-15T19:39:34Z")

</div>

When creating a variable indexed by Tuple{Int64, Float64}, I get a different order (apparently, sorted as string) than that provided when creating or accessing the variable. Steps to reproduce: using JuMP model = Mode…

---

## [Displaying figure while recording animation using Makie.record](https://discourse.julialang.org/t/displaying-figure-while-recording-animation-using-makie-record/110269)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 6:47pm UTC](https://discourse.julialang.org/t/displaying-figure-while-recording-animation-using-makie-record/110269 "2024-02-15T18:47:00Z")

</div>

I am able to record an animation of a figure in Makie using record. I can check if the figure is correctly updated in the animation by playing the movie file after the recording finishes. However, animation creation us…

---

## [Result of exponentials are (sometimes) different from Matlab](https://discourse.julialang.org/t/result-of-exponentials-are-sometimes-different-from-matlab/110241)

<div class="topic-metadata">

**Author:** [@simonw1](https://discourse.julialang.org/u/simonw1)\
**Replies:** 5\
**Last updated:** [February 15, 2024, 1:43pm UTC](https://discourse.julialang.org/t/result-of-exponentials-are-sometimes-different-from-matlab/110241 "2024-02-15T13:43:40Z")

</div>

I’m trying to port an algorithm originally written in matlab to Julia and I’m getting a weird error. For some values and some exponents, the results of raising the value to the exponent differs between matlab and Julia.…

---

## [How to move an array of struct with array members to GPU?](https://discourse.julialang.org/t/how-to-move-an-array-of-struct-with-array-members-to-gpu/110240)

<div class="topic-metadata">

**Author:** [@zhzhang](https://discourse.julialang.org/u/zhzhang)\
**Replies:** 2\
**Last updated:** [February 15, 2024, 9:45am UTC](https://discourse.julialang.org/t/how-to-move-an-array-of-struct-with-array-members-to-gpu/110240 "2024-02-15T09:45:30Z")

</div>

Hello, Recently I wanted to write a finite volume method navier-stokes solver with CUDA.jl. I was planning to store my mesh as a large array of cell structs, which stores positions, indices, primitive variables, etc for…

---

## [(Plots.jl) Aspect ratio for log-log plots](https://discourse.julialang.org/t/plots-jl-aspect-ratio-for-log-log-plots/110216)

<div class="topic-metadata">

**Author:** [@dpt](https://discourse.julialang.org/u/dpt)\
**Replies:** 2\
**Last updated:** [February 14, 2024, 7:04pm UTC](https://discourse.julialang.org/t/plots-jl-aspect-ratio-for-log-log-plots/110216 "2024-02-14T19:04:40Z")

</div>

It seems that Plots.jl doesn’t respect aspect\_ratio=1.0 for log-log plots. This is particularly annoying since particular slopes have meaning in such plots (order of polynomial growth). I saw this mentioned in passing in…

---

## [Slow LSTM on GPU in Flux](https://discourse.julialang.org/t/slow-lstm-on-gpu-in-flux/84228)

<div class="topic-metadata">

**Author:** [@JLDC](https://discourse.julialang.org/u/JLDC)\
**Replies:** 21\
**Last updated:** [February 15, 2024, 2:14am UTC](https://discourse.julialang.org/t/slow-lstm-on-gpu-in-flux/84228 "2024-02-15T02:14:58Z")

</div>

Hi, I’ve been running into an issue where I try to train a neural network using Flux and the training times are much slower on GPU than on CPU. So I tried comparing an MWE using Flux and an MWE using PyCall and running …

---

## [Better way to name or inherit parameters with NonlinearSolve.jl?](https://discourse.julialang.org/t/better-way-to-name-or-inherit-parameters-with-nonlinearsolve-jl/110213)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 7:08pm UTC](https://discourse.julialang.org/t/better-way-to-name-or-inherit-parameters-with-nonlinearsolve-jl/110213 "2024-02-14T19:08:05Z")

</div>

I am using NonlinearSolve.jl for simple interval root finding. It is working well, but the way I am handling parameters is sticking out to me like a code smell. Is there a better way to pack and unpack the parameter ve…

---

## [X' allowed in JuMP model but not transpose(X)](https://discourse.julialang.org/t/x-allowed-in-jump-model-but-not-transpose-x/110147)

<div class="topic-metadata">

**Author:** [@dhendryc](https://discourse.julialang.org/u/dhendryc)\
**Replies:** 3\
**Last updated:** [February 14, 2024, 6:39pm UTC](https://discourse.julialang.org/t/x-allowed-in-jump-model-but-not-transpose-x/110147 "2024-02-14T18:39:37Z")

</div>

Hi, I have encountered a weird behaviour in JuMP. This works JuMP.@constraint(model, sum(A\[i, :\] \* Y\_mat\[i,:\]’ for i in 1:m) .- sum(μ)\*I .== zeros(n,n)) while this does not JuMP.@constraint(model, sum(A\[i, :\] \* tran…

---

## [Using NVIDIA Nsight Systems](https://discourse.julialang.org/t/using-nvidia-nsight-systems/110220)

<div class="topic-metadata">

**Author:** [@Rabab53](https://discourse.julialang.org/u/Rabab53)\
**Replies:** 1\
**Last updated:** [February 14, 2024, 6:27pm UTC](https://discourse.julialang.org/t/using-nvidia-nsight-systems/110220 "2024-02-14T18:27:33Z")

</div>

Hello, I am trying to use CUDA profile using Nsight Systems, but I facing some issues with some warning. I am using (2024.1.1.59) version of Nsight Systems. omairyrm@vulture:~/Julia\_rabab$ nsys launch julia …

---

## [Solve linear systems inside CUDA kernel function](https://discourse.julialang.org/t/solve-linear-systems-inside-cuda-kernel-function/110202)

<div class="topic-metadata">

**Author:** [@FR13ndSDP](https://discourse.julialang.org/u/FR13ndSDP)\
**Replies:** 8\
**Last updated:** [February 14, 2024, 4:54pm UTC](https://discourse.julialang.org/t/solve-linear-systems-inside-cuda-kernel-function/110202 "2024-02-14T16:54:12Z")

</div>

Hello everyone, I was wondering how to solve a small linear system Ax = b inside a CUDA kernel function, where A, x and b are MMatrix and MVector. I want to do this with x = A\\b, but it does not work inside a kernel, is …

---

## [Heatmap wrong colorbar number resolution limits](https://discourse.julialang.org/t/heatmap-wrong-colorbar-number-resolution-limits/110209)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 4\
**Last updated:** [February 14, 2024, 3:33pm UTC](https://discourse.julialang.org/t/heatmap-wrong-colorbar-number-resolution-limits/110209 "2024-02-14T15:33:14Z")

</div>

Hello, good morning I’m having some diffucults plotting a covariance matrix with low values. The colorbar always shows zero, and cant acquire the correct values. There are configurations thats solves this issue? let…

---

## [Comparison of derivative-free / black-box optimization algorithms in Julia](https://discourse.julialang.org/t/comparison-of-derivative-free-black-box-optimization-algorithms-in-julia/109614)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 12\
**Last updated:** [February 14, 2024, 12:02pm UTC](https://discourse.julialang.org/t/comparison-of-derivative-free-black-box-optimization-algorithms-in-julia/109614 "2024-02-14T12:02:11Z")

</div>

Is anyone aware of a comparison between derivative-free / black box optimization libraries in Julia? If not, perhaps it is worth starting one here and finally putting it in the Julia Package Comparisons website? At the …

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

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