# Specific Domains

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

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

**Page:** 249

---

## [DimensionalData: how to map slices, while using non-slice dimensions](https://discourse.julialang.org/t/dimensionaldata-how-to-map-slices-while-using-non-slice-dimensions/87839)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 8:59pm UTC](https://discourse.julialang.org/t/dimensionaldata-how-to-map-slices-while-using-non-slice-dimensions/87839 "2022-09-26T20:59:45Z")

</div>

I’ve got a multidimensional DimArray and want to map a function that summarizes across one of the dimensions. This is simple to do using mapslices, e.g. using DimensionalData arr = rand(X(1:10), Y(1:20), Z(1:30)) f(z) =…

---

## [Demo: Example of CUDA/OpenGL interop in Julia](https://discourse.julialang.org/t/demo-example-of-cuda-opengl-interop-in-julia/87830)

<div class="topic-metadata">

**Author:** [@erikedin](https://discourse.julialang.org/u/erikedin)\
**Replies:** 0\
**Last updated:** [September 26, 2022, 6:30pm UTC](https://discourse.julialang.org/t/demo-example-of-cuda-opengl-interop-in-julia/87830 "2022-09-26T18:30:44Z")

</div>

Hello! I’m working to learn a bit about graphics and CUDA programming in Julia. I made an effort to use GLFW and OpenGL to open create a window, and render graphics to that window from a CUDA kernel. I’ve seen that othe…

---

## [How can I tell Julia what are the parameters in a linear model?](https://discourse.julialang.org/t/how-can-i-tell-julia-what-are-the-parameters-in-a-linear-model/87692)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 14\
**Last updated:** [September 26, 2022, 5:24pm UTC](https://discourse.julialang.org/t/how-can-i-tell-julia-what-are-the-parameters-in-a-linear-model/87692 "2022-09-26T17:24:11Z")

</div>

Hi all! So, I’m experimenting with the linear regression ecosystem (GLM, Plots, DataFrames, StatsPlots and CSV). I understood how to produce a simple linear regression model and a multivariate one. I know that OLS work…

---

## [Kernel fails when number of blocks exceeds number of SM's (?)](https://discourse.julialang.org/t/kernel-fails-when-number-of-blocks-exceeds-number-of-sms/87800)

<div class="topic-metadata">

**Author:** [@lodygaw](https://discourse.julialang.org/u/lodygaw)\
**Replies:** 3\
**Last updated:** [September 26, 2022, 2:11pm UTC](https://discourse.julialang.org/t/kernel-fails-when-number-of-blocks-exceeds-number-of-sms/87800 "2022-09-26T14:11:40Z")

</div>

Hi, I want to write a kernel that will filter values in input arrays of predefined length based on some condition. Also, I would like to have “good” values (which fulfill the condition) at the beginning of this arrays. …

---

## [LightOSM/Agents KeyError "way" not found](https://discourse.julialang.org/t/lightosm-agents-keyerror-way-not-found/87367)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 4\
**Last updated:** [September 26, 2022, 12:09pm UTC](https://discourse.julialang.org/t/lightosm-agents-keyerror-way-not-found/87367 "2022-09-26T12:09:35Z")

</div>

Hi, I have osm.pbf (from osm-geofabrics) file which I converted to an .osm file using osmosis osmosis \\ --read-pbf guadeloupe-latest.osm.pbf \\ --tf accept-ways highway=motorway \\ --used-node \\ …

---

## [References and implementation for safe/hybrid univariate Newton's method](https://discourse.julialang.org/t/references-and-implementation-for-safe-hybrid-univariate-newtons-method/87638)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 14\
**Last updated:** [September 26, 2022, 9:58am UTC](https://discourse.julialang.org/t/references-and-implementation-for-safe-hybrid-univariate-newtons-method/87638 "2022-09-26T09:58:34Z")

</div>

There exist variants of Newton’s method with safeguards against non-convergence (escape bracket, not converging “fast enough”, etc, in which case they switch to a bracketing method like Brent’s or bisection). Various imp…

---

## [RFC: Compressed (base-6) floating point, taking 1/8 the space (new plan 1/64 compression for neural networks)](https://discourse.julialang.org/t/rfc-compressed-base-6-floating-point-taking-1-8-the-space-new-plan-1-64-compression-for-neural-networks/87289)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 15\
**Last updated:** [September 25, 2022, 7:16pm UTC](https://discourse.julialang.org/t/rfc-compressed-base-6-floating-point-taking-1-8-the-space-new-plan-1-64-compression-for-neural-networks/87289 "2022-09-25T19:16:49Z")

</div>

I’ll likely be making a package later, but this may already be useful for someone. I though about posting under performance category, but so far decided against, since I’m not (yet) asking for tuning advice, but this wou…

---

## [Workaround for subarray/selectdim on gpu or how does Flux.Conv do it?](https://discourse.julialang.org/t/workaround-for-subarray-selectdim-on-gpu-or-how-does-flux-conv-do-it/87758)

<div class="topic-metadata">

**Author:** [@taotree](https://discourse.julialang.org/u/taotree)\
**Replies:** 4\
**Last updated:** [September 25, 2022, 3:12am UTC](https://discourse.julialang.org/t/workaround-for-subarray-selectdim-on-gpu-or-how-does-flux-conv-do-it/87758 "2022-09-25T03:12:30Z")

</div>

I’m trying to do something similar to what Flux.Conv does. I’ve tried to use the Conv layer but it seems to be opinionated about how the array is structured and what it outputs and so doesn’t quite match with what I want…

---

## [Change font style of figure title in Makie](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 1\
**Last updated:** [September 25, 2022, 1:20pm UTC](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779 "2022-09-25T13:20:05Z")

</div>

Hello people, After calling the CairoMakie package, I use the theming function set\_theme!(Theme(font = "Times New Roman")) to make sure all the text elements in the figure use the user-defined font - ‘Times New Roman’ i…

---

## [Franklin \`serve()\` issue on WSL](https://discourse.julialang.org/t/franklin-serve-issue-on-wsl/87767)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 1\
**Last updated:** [September 25, 2022, 7:53am UTC](https://discourse.julialang.org/t/franklin-serve-issue-on-wsl/87767 "2022-09-25T07:53:05Z")

</div>

Hello, I am using Ubuntu on Windows Subsystem for Linux 1 (WSL1). I’m also using the Windows Terminal if that matters. I’ve followed the initial steps to create a sandbox website here. Everything is fine until I do serv…

---

## [(Directed acyclic) graphs with non-integer data type](https://discourse.julialang.org/t/directed-acyclic-graphs-with-non-integer-data-type/87744)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 3\
**Last updated:** [September 24, 2022, 9:58pm UTC](https://discourse.julialang.org/t/directed-acyclic-graphs-with-non-integer-data-type/87744 "2022-09-24T21:58:09Z")

</div>

Is there a Julia package that I can use for defining a directed acyclic graph with non-integer vertices? I looked around at Graphs.jl, but it seems that I’m restricted to integer indices there. The main indices I do want…

---

## [Parameter tunability?](https://discourse.julialang.org/t/parameter-tunability/87756)

<div class="topic-metadata">

**Author:** [@lamorton](https://discourse.julialang.org/u/lamorton)\
**Replies:** 1\
**Last updated:** [September 24, 2022, 7:20pm UTC](https://discourse.julialang.org/t/parameter-tunability/87756 "2022-09-24T19:20:37Z")

</div>

I noticed in the docs on ModelingToolkit master branch that there’s a mention of having a metadata tag that controls whether a parameter is considered adjustable by an optimizer. Is this supported already, or still in t…

---

## [Get variables number in Symbolics](https://discourse.julialang.org/t/get-variables-number-in-symbolics/87739)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 1\
**Last updated:** [September 24, 2022, 1:57pm UTC](https://discourse.julialang.org/t/get-variables-number-in-symbolics/87739 "2022-09-24T13:57:30Z")

</div>

Symbolics/ModelingToolkit How do I know the number of independent variables and their names in an equation or expression? @variables x u(x) get\_variables(u+x+cos(x)) # \[x, y(x)\] but I want only x get\_variables(0 ~ x^2 …

---

## [How to convert a molecule(s) to bitvector to matrix](https://discourse.julialang.org/t/how-to-convert-a-molecule-s-to-bitvector-to-matrix/87738)

<div class="topic-metadata">

**Author:** [@nick\_m](https://discourse.julialang.org/u/nick_m)\
**Replies:** 7\
**Last updated:** [September 24, 2022, 1:53pm UTC](https://discourse.julialang.org/t/how-to-convert-a-molecule-s-to-bitvector-to-matrix/87738 "2022-09-24T13:53:25Z")

</div>

I am new to Julia and trying to convert a list of molecules to a matrix. I am using rdkit, so far I’ve got mol = RDKitMinimalLib.get\_mol("CC(=O)Oc1ccccc1C(=O)O") fp\_details = Dict{String, Any}("nBits" =\> 512, "radius" =\>…

---

## [Vulkan.jl crashes with ERROR\_INCOMPATIBLE\_DRIVER](https://discourse.julialang.org/t/vulkan-jl-crashes-with-error-incompatible-driver/87742)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 0\
**Last updated:** [September 24, 2022, 12:42pm UTC](https://discourse.julialang.org/t/vulkan-jl-crashes-with-error-incompatible-driver/87742 "2022-09-24T12:42:41Z")

</div>

I’m on Arch Linux with Julia installed from official source through AUR (not through pacman), and I have RX 6700 XT with definitely working drivers (I played several hundred hours of Steam games through DXVK) When I tri…

---

## [ANN - Towards a (Bio)Julia powered Genome Graphs framework](https://discourse.julialang.org/t/ann-towards-a-bio-julia-powered-genome-graphs-framework/27695)

<div class="topic-metadata">

**Author:** [@Ward9250](https://discourse.julialang.org/u/Ward9250)\
**Replies:** 25\
**Last updated:** [September 24, 2022, 7:01am UTC](https://discourse.julialang.org/t/ann-towards-a-bio-julia-powered-genome-graphs-framework/27695 "2022-09-24T07:01:26Z")

</div>

Hello everyone, the GSoC period for the year is nearly over, and for anyone who was unaware, BioJulia had a student this year: Arda Akdemir has been helping the project under my supervision, working on a de-Bruijn graph …

---

## [Using JuMP and Ipopt I cannot get a simple Euler constrained optimisation problem to output correct answers](https://discourse.julialang.org/t/using-jump-and-ipopt-i-cannot-get-a-simple-euler-constrained-optimisation-problem-to-output-correct-answers/83726)

<div class="topic-metadata">

**Author:** [@sumant28](https://discourse.julialang.org/u/sumant28)\
**Replies:** 7\
**Last updated:** [September 23, 2022, 8:26pm UTC](https://discourse.julialang.org/t/using-jump-and-ipopt-i-cannot-get-a-simple-euler-constrained-optimisation-problem-to-output-correct-answers/83726 "2022-09-23T20:26:03Z")

</div>

Here is the code using JuMP using Ipopt function Euler(x...) beta = 0.9 t = 2 x = \[i for i in x\] logx = log.(x) answer = -(beta .^ ((transpose(1:1:t) .- 1) \* logx)) return answer\[1\] end m = Model(Ipopt.Op…

---

## [Help needed for parsing a database](https://discourse.julialang.org/t/help-needed-for-parsing-a-database/87675)

<div class="topic-metadata">

**Author:** [@Juan\_Mac\_Donagh](https://discourse.julialang.org/u/Juan_Mac_Donagh)\
**Replies:** 5\
**Last updated:** [September 23, 2022, 8:11pm UTC](https://discourse.julialang.org/t/help-needed-for-parsing-a-database/87675 "2022-09-23T20:11:01Z")

</div>

Hi all, I need some help parsing a file, I can’t figure out how to do it. My data looks like this (it’s a 4gb file): 101m A 1 MET 0 P02185 M 1 101m A 2 VAL 1 P02185 V 2 101m…

---

## [Makie cycle palette acress all axis?](https://discourse.julialang.org/t/makie-cycle-palette-acress-all-axis/87702)

<div class="topic-metadata">

**Author:** [@rongcuid](https://discourse.julialang.org/u/rongcuid)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 5:19pm UTC](https://discourse.julialang.org/t/makie-cycle-palette-acress-all-axis/87702 "2022-09-23T17:19:31Z")

</div>

I have a figure with two axis, and I want them to share the same color cycle: fig = Figure() ax1 = Axis(fig\[1, 1\], xscale=log2) ax2 = Axis(fig\[1, 1\], yaxisposition = :right) lines!(ax1, ...) lines!(ax2, ...) I would li…

---

## [Bayesian multidimensional scaling in Turing.jl, no samples accepted?](https://discourse.julialang.org/t/bayesian-multidimensional-scaling-in-turing-jl-no-samples-accepted/87678)

<div class="topic-metadata">

**Author:** [@pjentsch0](https://discourse.julialang.org/u/pjentsch0)\
**Replies:** 1\
**Last updated:** [September 23, 2022, 3:26pm UTC](https://discourse.julialang.org/t/bayesian-multidimensional-scaling-in-turing-jl-no-samples-accepted/87678 "2022-09-23T15:26:19Z")

</div>

I am trying to implement bayesian multidimensional scaling in Turing (from this paper: https://sites.stat.washington.edu/raftery/Research/PDF/oh2001.pdf). I have a model that I think is correct, but it seems no samples g…

---

## [\`Plots.jl\` colorbar title position](https://discourse.julialang.org/t/plots-jl-colorbar-title-position/87663)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 9:49am UTC](https://discourse.julialang.org/t/plots-jl-colorbar-title-position/87663 "2022-09-23T09:49:13Z")

</div>

Consider with pyplot heatmap(1:10, 1:10, rand(10,10); cbar=:top, cbar\_title="TITLE", colorbar\_titlefontsize=40, colorbar\_titlefontcolor=:white) resulting in How can I make the title of the colorbar appea…

---

## [Are we gui yet?](https://discourse.julialang.org/t/are-we-gui-yet/86255)

<div class="topic-metadata">

**Author:** [@dgs](https://discourse.julialang.org/u/dgs)\
**Replies:** 18\
**Last updated:** [September 23, 2022, 9:04am UTC](https://discourse.julialang.org/t/are-we-gui-yet/86255 "2022-09-23T09:04:04Z")

</div>

Hi, I am currently looking for package options to create applications for internal clients. What I would really need is : easy to use (documented package would be nice) widgets (file pickers, sliders…) Plots.jl (sca…

---

## [How do I compute a multiclass F-score using MLJ?](https://discourse.julialang.org/t/how-do-i-compute-a-multiclass-f-score-using-mlj/78579)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 7\
**Last updated:** [September 23, 2022, 7:06am UTC](https://discourse.julialang.org/t/how-do-i-compute-a-multiclass-f-score-using-mlj/78579 "2022-09-23T07:06:44Z")

</div>

I received the above question in an email.

---

## [Error in the Sparsity section of the SumofSquare package](https://discourse.julialang.org/t/error-in-the-sparsity-section-of-the-sumofsquare-package/87597)

<div class="topic-metadata">

**Author:** [@Khashayar-Neshat](https://discourse.julialang.org/u/Khashayar-Neshat)\
**Replies:** 12\
**Last updated:** [September 23, 2022, 1:36am UTC](https://discourse.julialang.org/t/error-in-the-sparsity-section-of-the-sumofsquare-package/87597 "2022-09-23T01:36:17Z")

</div>

Hi, I am using Julia 1.8.0 in windows 10, and I have updated all my packages. I want to implement the example in the sparsity section of the SumofSquare package (Term sparsity · SumOfSquares). when I run the following …

---

## [Failed prediction from BetaML DecisionTreeClassifier](https://discourse.julialang.org/t/failed-prediction-from-betaml-decisiontreeclassifier/87327)

<div class="topic-metadata">

**Author:** [@liamfdoherty](https://discourse.julialang.org/u/liamfdoherty)\
**Replies:** 10\
**Last updated:** [September 22, 2022, 9:16pm UTC](https://discourse.julialang.org/t/failed-prediction-from-betaml-decisiontreeclassifier/87327 "2022-09-22T21:16:41Z")

</div>

I am trying to do inference on the Adult dataset, which has a binary response variable (income below or above $50k/year). Seemingly I am able to train a Decision Tree using the dataset (as loaded using Fairness.jl), but …

---

## [Dreaded CuArray only supports element types that are stored inline](https://discourse.julialang.org/t/dreaded-cuarray-only-supports-element-types-that-are-stored-inline/87100)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 10\
**Last updated:** [September 22, 2022, 8:37pm UTC](https://discourse.julialang.org/t/dreaded-cuarray-only-supports-element-types-that-are-stored-inline/87100 "2022-09-22T20:37:33Z")

</div>

GPU noob. I’ve simplified my problem here. I have a compression type which basically has information that yields the correct phase adjustment. But it is an abstract composite type which could have various memory footp…

---

## [Failed to compile PTX code when using NSight on Win11](https://discourse.julialang.org/t/failed-to-compile-ptx-code-when-using-nsight-on-win11/87607)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 1\
**Last updated:** [September 22, 2022, 8:33pm UTC](https://discourse.julialang.org/t/failed-to-compile-ptx-code-when-using-nsight-on-win11/87607 "2022-09-22T20:33:22Z")

</div>

A = CUDA.rand(100,100) sin.(A) works for normally started Julia process but errors when started in NVIDIA NSight 22.4.1 on Windows 11 julia\> sin.(A) ERROR: Failed to compile PTX code (ptxas exited with code 3221225477)…

---

## [Flux on GPU too slow](https://discourse.julialang.org/t/flux-on-gpu-too-slow/87621)

<div class="topic-metadata">

**Author:** [@vkarystinos](https://discourse.julialang.org/u/vkarystinos)\
**Replies:** 5\
**Last updated:** [September 22, 2022, 8:10pm UTC](https://discourse.julialang.org/t/flux-on-gpu-too-slow/87621 "2022-09-22T20:10:51Z")

</div>

Hi, I am training a number of NNs with Flux and Cuda. However, the training procedure is not accelerated as expected on GPU. I used the CuIterator as described in the docs for GPU training. Any ideas on how can I acceler…

---

## [ImageFeatures.hough\_circle\_gradient example is broken](https://discourse.julialang.org/t/imagefeatures-hough-circle-gradient-example-is-broken/87636)

<div class="topic-metadata">

**Author:** [@Ondo](https://discourse.julialang.org/u/Ondo)\
**Replies:** 2\
**Last updated:** [September 22, 2022, 5:49pm UTC](https://discourse.julialang.org/t/imagefeatures-hough-circle-gradient-example-is-broken/87636 "2022-09-22T17:49:27Z")

</div>

I really want to build something on the “find all circles in image” example seen near the bottom of this web-page: Function reference · ImageFeatures Initially it worked with the provided image but gave rise to errors w…

---

## [Call back with matrix](https://discourse.julialang.org/t/call-back-with-matrix/87584)

<div class="topic-metadata">

**Author:** [@Fabrizio](https://discourse.julialang.org/u/Fabrizio)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 4:28pm UTC](https://discourse.julialang.org/t/call-back-with-matrix/87584 "2022-09-22T16:28:05Z")

</div>

Hi, the following code fom Jump manual works a scalar value, x and x\_val x\_val = callback\_value(cb\_data, x) status = MOI.submit( model, MOI.HeuristicSolution(cb\_data), \[x\], \[floor(Int, x\_val)\] ) how about submit …

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

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