# Specific Domains

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

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

**Page:** 300

---

## [GLM/FixedEffectModels Error: expansion cannot be computed](https://discourse.julialang.org/t/glm-fixedeffectmodels-error-expansion-cannot-be-computed/77030)

<div class="topic-metadata">

**Author:** [@Shresth-Garg](https://discourse.julialang.org/u/Shresth-Garg)\
**Replies:** 12\
**Last updated:** [March 2, 2022, 1:53pm UTC](https://discourse.julialang.org/t/glm-fixedeffectmodels-error-expansion-cannot-be-computed/77030 "2022-03-02T13:53:49Z")

</div>

I recently updated my Julia setup to 1.7.2, along with updating all the packages. I am getting a strange error when running a linear model under both GLM and FixedEffectModels. I get this error only on some specification…

---

## [Heatmap with irregularly spaced grids](https://discourse.julialang.org/t/heatmap-with-irregularly-spaced-grids/77259)

<div class="topic-metadata">

**Author:** [@fredrikpaues](https://discourse.julialang.org/u/fredrikpaues)\
**Replies:** 9\
**Last updated:** [March 2, 2022, 10:59am UTC](https://discourse.julialang.org/t/heatmap-with-irregularly-spaced-grids/77259 "2022-03-02T10:59:03Z")

</div>

I’m trying to create a figure with two heatmaps where the x and y variables are irregularly spaced, the scale of the colors are the same in both heatmaps, and there is only one colorbar. In Python, I would do import …

---

## [Recommendations for using GPU on old hardware](https://discourse.julialang.org/t/recommendations-for-using-gpu-on-old-hardware/77257)

<div class="topic-metadata">

**Author:** [@quailman1031](https://discourse.julialang.org/u/quailman1031)\
**Replies:** 3\
**Last updated:** [March 2, 2022, 8:12am UTC](https://discourse.julialang.org/t/recommendations-for-using-gpu-on-old-hardware/77257 "2022-03-02T08:12:32Z")

</div>

Is there a summary somewhere of what packages or package versions support CUDA capability levels? I have a Fermi-architecture card (GeForce GT 550M) which is compute capable 2.1 and CUDA driver 9.1 (latest available). I…

---

## [Community members currently working on writing Bioconductor packages in Julia?](https://discourse.julialang.org/t/community-members-currently-working-on-writing-bioconductor-packages-in-julia/75993)

<div class="topic-metadata">

**Author:** [@BioinfoBuggaBoo](https://discourse.julialang.org/u/BioinfoBuggaBoo)\
**Replies:** 4\
**Last updated:** [March 2, 2022, 2:12am UTC](https://discourse.julialang.org/t/community-members-currently-working-on-writing-bioconductor-packages-in-julia/75993 "2022-03-02T02:12:19Z")

</div>

Hi all, Not sure if this is the right section sorry: I’m looking to get involved with people who may be actively working on writing equivalent packages from Bioconductor in Julia. From my own limited experience R havin…

---

## [Putting background image to Makie plot](https://discourse.julialang.org/t/putting-background-image-to-makie-plot/77260)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [March 1, 2022, 10:07pm UTC](https://discourse.julialang.org/t/putting-background-image-to-makie-plot/77260 "2022-03-01T22:07:49Z")

</div>

I am trying to place a PNG image as a background of a Makie plot. The goal is to compare a curve plotted by lines!() with some curves in the image. However I’m having a hard time finding an example. Is this possible?

---

## [Determinant of CUDA matrix?](https://discourse.julialang.org/t/determinant-of-cuda-matrix/77245)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 8\
**Last updated:** [March 1, 2022, 8:38pm UTC](https://discourse.julialang.org/t/determinant-of-cuda-matrix/77245 "2022-03-01T20:38:36Z")

</div>

Hello, I have so far been able to use CUDA without having to dig into the actual package api (besides cu(m)) just thanks to multiple dispatch. Today I need to compute the determinant of a matrix and I would like my code…

---

## [Matrix Exponential of GPU matrix](https://discourse.julialang.org/t/matrix-exponential-of-gpu-matrix/77228)

<div class="topic-metadata">

**Author:** [@Michael\_Birk](https://discourse.julialang.org/u/Michael_Birk)\
**Replies:** 2\
**Last updated:** [March 1, 2022, 3:13pm UTC](https://discourse.julialang.org/t/matrix-exponential-of-gpu-matrix/77228 "2022-03-01T15:13:21Z")

</div>

I am trying to calculate the matrix exponent of a matrix stored on the GPU (via CUDA), but I get the error: ERROR: ArgumentError: cannot take the CPU address of a CuArray{Float32, 2, CUDA. Mem.DeviceBuffer} Minimal …

---

## [How to extend SecondOrderODEProblem in DifferentialEquations.jl?](https://discourse.julialang.org/t/how-to-extend-secondorderodeproblem-in-differentialequations-jl/73831)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 14\
**Last updated:** [March 1, 2022, 12:55pm UTC](https://discourse.julialang.org/t/how-to-extend-secondorderodeproblem-in-differentialequations-jl/73831 "2022-03-01T12:55:52Z")

</div>

Greetings. SecondOrderODEProblem in DifferentialEquations solves u\_{tt} = f(u\_t,u,p,t), see Dynamical, Hamiltonian and 2nd Order ODE Problems · DifferentialEquations.jl . Please suggest how to extend this to include (u…

---

## [Having problem with Convex.jl](https://discourse.julialang.org/t/having-problem-with-convex-jl/77196)

<div class="topic-metadata">

**Author:** [@janilin](https://discourse.julialang.org/u/janilin)\
**Replies:** 4\
**Last updated:** [March 1, 2022, 6:08am UTC](https://discourse.julialang.org/t/having-problem-with-convex-jl/77196 "2022-03-01T06:08:49Z")

</div>

Hi! I’m new to Julia. While I was going through the Julia for Data Science course’s \*\* Numerical Optimization\*\* lecture, got stucked in solve!() unfortunately. Explored in different forums but could not get the solution…

---

## [Can Metatheory.jl work functional equal to Prolog?](https://discourse.julialang.org/t/can-metatheory-jl-work-functional-equal-to-prolog/77185)

<div class="topic-metadata">

**Author:** [@Junars](https://discourse.julialang.org/u/Junars)\
**Replies:** 7\
**Last updated:** [March 1, 2022, 2:28am UTC](https://discourse.julialang.org/t/can-metatheory-jl-work-functional-equal-to-prolog/77185 "2022-03-01T02:28:25Z")

</div>

I’m rewriting a Reasoning System using Julia. The system has many rules written in Prolog, I want to use these existing prolog rules, because they are declarative and could make the whole system easy to debug it’s contro…

---

## [Plots -- new syntax for marker stroke color?](https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [February 28, 2022, 10:44am UTC](https://discourse.julialang.org/t/plots-new-syntax-for-marker-stroke-color/70552 "2022-02-28T10:44:46Z")

</div>

I want to set the markerstrokecolor equal to the markercolor to make the label nice scatter!(.., mc=colTs,msc=colTs,...) – I’ve done so in this figure: If I don’t specify the markerstrokecolor and set it equal to t…

---

## [Transform operation using two or more columns in a DataFrame](https://discourse.julialang.org/t/transform-operation-using-two-or-more-columns-in-a-dataframe/77172)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 6\
**Last updated:** [February 28, 2022, 9:45am UTC](https://discourse.julialang.org/t/transform-operation-using-two-or-more-columns-in-a-dataframe/77172 "2022-02-28T09:45:19Z")

</div>

Hi I am wondering how to use transform!() or transform!() + ByRow() functions to do computations utilizing two or more columns Essentially I want to perform the the function below however using transform!() data = Dict…

---

## [Parameter setting](https://discourse.julialang.org/t/parameter-setting/76836)

<div class="topic-metadata">

**Author:** [@mamo](https://discourse.julialang.org/u/mamo)\
**Replies:** 10\
**Last updated:** [February 27, 2022, 9:40pm UTC](https://discourse.julialang.org/t/parameter-setting/76836 "2022-02-27T21:40:48Z")

</div>

Dear all, I need to set a parameter with the structure equivalent to this AMPL declaration: param wg{c in C, cont in CONT\[c\]}; sets C and CONT\[c\] are as follows: set C := C1 C2; set CONT\[C1\] := 1 2 3 4 5; set CONT\[…

---

## [Help with a variation of the electrical components' example](https://discourse.julialang.org/t/help-with-a-variation-of-the-electrical-components-example/77099)

<div class="topic-metadata">

**Author:** [@vgg](https://discourse.julialang.org/u/vgg)\
**Replies:** 4\
**Last updated:** [February 27, 2022, 8:02pm UTC](https://discourse.julialang.org/t/help-with-a-variation-of-the-electrical-components-example/77099 "2022-02-27T20:02:46Z")

</div>

Hello, I have been doing my first tests with ModelingToolkit and when I tried to modify the acausal components example by adding other types of voltage source I had some problems that I don’t quite understand. In the f…

---

## [High frame rate and resolution from a Raspberry Pi camera](https://discourse.julialang.org/t/high-frame-rate-and-resolution-from-a-raspberry-pi-camera/76815)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 2\
**Last updated:** [February 27, 2022, 6:54pm UTC](https://discourse.julialang.org/t/high-frame-rate-and-resolution-from-a-raspberry-pi-camera/76815 "2022-02-27T18:54:30Z")

</div>

Has anyone been able to fetch frames from a Raspberry Pi camera (i.e. an RPI with a NoIR Pi Cam connected to it with a ribbon cable) at a relatively high frame rate and resolution? I realize that “relatively high frame …

---

## [What is the difference between Graphs and GraphMakie?](https://discourse.julialang.org/t/what-is-the-difference-between-graphs-and-graphmakie/77144)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 2\
**Last updated:** [February 27, 2022, 11:35am UTC](https://discourse.julialang.org/t/what-is-the-difference-between-graphs-and-graphmakie/77144 "2022-02-27T11:35:36Z")

</div>

I have tried using both, but from what I can see GraphMakie is just Graphs, with interactivity. Plus they have a bit different syntax. How different is syntax, exactly as one uses a package more, is it a big difference?

---

## [Why are there so many plotting backends?](https://discourse.julialang.org/t/why-are-there-so-many-plotting-backends/77142)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 7\
**Last updated:** [February 27, 2022, 11:15am UTC](https://discourse.julialang.org/t/why-are-there-so-many-plotting-backends/77142 "2022-02-27T11:15:44Z")

</div>

Hello, I’m learning to use Makie, but have also looked at some other packages like GadFly and Plots, but Makie seems my favorite. I’m just wondering why does it have 4 different backends(WGLMakie, GLMakie, and CairoMakie…

---

## [LoadError: MethodError: no method matching size(::Pair{Symbol, Any}), when using Flux.loadparams!](https://discourse.julialang.org/t/loaderror-methoderror-no-method-matching-size-pair-symbol-any-when-using-flux-loadparams/69578)

<div class="topic-metadata">

**Author:** [@Maxim\_Lubov](https://discourse.julialang.org/u/Maxim_Lubov)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 8:06pm UTC](https://discourse.julialang.org/t/loaderror-methoderror-no-method-matching-size-pair-symbol-any-when-using-flux-loadparams/69578 "2022-02-26T20:06:50Z")

</div>

I try to use Flux.loadparams! as it is described in the documentation loadparams!, and I get an error: Closest candidates are: size(::Union{LinearAlgebra.QR, LinearAlgebra.QRCompactWY, LinearAlgebra.QRPivoted}) at C:\\…

---

## [Numeric integration](https://discourse.julialang.org/t/numeric-integration/77134)

<div class="topic-metadata">

**Author:** [@rsimic](https://discourse.julialang.org/u/rsimic)\
**Replies:** 1\
**Last updated:** [February 26, 2022, 7:54pm UTC](https://discourse.julialang.org/t/numeric-integration/77134 "2022-02-26T19:54:17Z")

</div>

begin using HCubature z(x, y) = exp(-x^2) a = (0, 0) b = (3, 3) hcubature(z, a, b) end code above returns error MethodError: no method matching z(::StaticArrays.SVector{2, Float64}) Closest candidates are: z(::…

---

## [Makie recipe arguments](https://discourse.julialang.org/t/makie-recipe-arguments/77047)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 10:30pm UTC](https://discourse.julialang.org/t/makie-recipe-arguments/77047 "2022-02-25T22:30:07Z")

</div>

I’m trying a write a recipe in Makie, but cannot use the extracted x and y values from the recipe. I’m following the example in the documentation, as well as the examples in basic\_recipes.jl (particularly pie.jl). The er…

---

## [Issue providing start/hint values to variables with Gurobi](https://discourse.julialang.org/t/issue-providing-start-hint-values-to-variables-with-gurobi/77079)

<div class="topic-metadata">

**Author:** [@umbe](https://discourse.julialang.org/u/umbe)\
**Replies:** 4\
**Last updated:** [February 25, 2022, 6:54pm UTC](https://discourse.julialang.org/t/issue-providing-start-hint-values-to-variables-with-gurobi/77079 "2022-02-25T18:54:22Z")

</div>

Hello to everyone! I am trying to provide initial guess values or hint values to some variables of an optimization problem, which is intended to be solved using Gurobi. I have read this previous topic for the assignment…

---

## [Issues with Graphs.jl and GraphPlot](https://discourse.julialang.org/t/issues-with-graphs-jl-and-graphplot/76932)

<div class="topic-metadata">

**Author:** [@Temi-Tory](https://discourse.julialang.org/u/Temi-Tory)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 5:57pm UTC](https://discourse.julialang.org/t/issues-with-graphs-jl-and-graphplot/76932 "2022-02-25T17:57:18Z")

</div>

Hello, I am not sure what is causing the following error message and I have been stuck for hours now :frowning: please help. For some reason, gplot is not working. My code: import Cairo,Fontconfig using Random, Gra…

---

## [In Julia Turing: getting AssertionError: model isa Model](https://discourse.julialang.org/t/in-julia-turing-getting-assertionerror-model-isa-model/76927)

<div class="topic-metadata">

**Author:** [@rkmalaiya](https://discourse.julialang.org/u/rkmalaiya)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 5:55pm UTC](https://discourse.julialang.org/t/in-julia-turing-getting-assertionerror-model-isa-model/76927 "2022-02-25T17:55:42Z")

</div>

Hi All, I am executing below code mentioned in the Turing.jl Guide. This code can be used to calculate likelihood for the Turing model. However I am getting below mentioned error. Please let me know what I may be doing …

---

## [Fastest, simplest, least resource-hungry and prettiest visualization package right now? (Feb/March 2022)](https://discourse.julialang.org/t/fastest-simplest-least-resource-hungry-and-prettiest-visualization-package-right-now-feb-march-2022/77042)

<div class="topic-metadata">

**Author:** [@Ouji](https://discourse.julialang.org/u/Ouji)\
**Replies:** 11\
**Last updated:** [February 25, 2022, 5:47pm UTC](https://discourse.julialang.org/t/fastest-simplest-least-resource-hungry-and-prettiest-visualization-package-right-now-feb-march-2022/77042 "2022-02-25T17:47:51Z")

</div>

Please note I don’t want to depreciate anyone or any package, but I really wanted to know. I did see some threads, but there didn’t seem to be any definitive conclusion, and time-wise we are now at a later point. So I th…

---

## [JuMP v0.23 is released](https://discourse.julialang.org/t/jump-v0-23-is-released/77045)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 8\
**Last updated:** [February 25, 2022, 4:55pm UTC](https://discourse.julialang.org/t/jump-v0-23-is-released/77045 "2022-02-25T16:55:51Z")

</div>

We are pleased to announce the release of JuMP v0.23 and MathOptInterface v1.0. This is an important release for two reasons. First, it serves as a release candidate for JuMP v1.0. Our criteria for tagging an official …

---

## [Symbolic Optimization](https://discourse.julialang.org/t/symbolic-optimization/77077)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 0\
**Last updated:** [February 25, 2022, 3:30pm UTC](https://discourse.julialang.org/t/symbolic-optimization/77077 "2022-02-25T15:30:29Z")

</div>

Hello, Is there a way to use Julia to solve for symbolic optimization problems. What I have in mind is something that works like Mathematica (or Wolfram Alpha) but with a nice syntax and decent computation speeds that c…

---

## [StatsBase vs Statistics](https://discourse.julialang.org/t/statsbase-vs-statistics/15326)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 11\
**Last updated:** [February 25, 2022, 3:16pm UTC](https://discourse.julialang.org/t/statsbase-vs-statistics/15326 "2022-02-25T15:16:52Z")

</div>

I am wondering whether the naming of StatsBase and Statistics is entirely logical. StatsBase, despite its name, is the “more optional” package. Statistics is included in the base. StatsBase needs to be Pkg.added. may…

---

## [Help with derivatives of matrix functions](https://discourse.julialang.org/t/help-with-derivatives-of-matrix-functions/76437)

<div class="topic-metadata">

**Author:** [@raktim](https://discourse.julialang.org/u/raktim)\
**Replies:** 8\
**Last updated:** [February 25, 2022, 2:02pm UTC](https://discourse.julialang.org/t/help-with-derivatives-of-matrix-functions/76437 "2022-02-25T14:02:39Z")

</div>

Hi I have a matrix function G(x): \\mathbb{R}^n \\mapsto \\mathbb{R}^{n\\times n}, where x\\in\\mathbb{R}^n is a vector, and would like to use AD to compute derivatives \\frac{\\partial^2 G\_{ij}(x)}{\\partial x\_i \\partial x\_j}, w…

---

## [Can I use GR / Plots to create a pixel-perfect image?](https://discourse.julialang.org/t/can-i-use-gr-plots-to-create-a-pixel-perfect-image/77057)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 4\
**Last updated:** [February 25, 2022, 1:08pm UTC](https://discourse.julialang.org/t/can-i-use-gr-plots-to-create-a-pixel-perfect-image/77057 "2022-02-25T13:08:35Z")

</div>

Is there a way to guarantee that no sampling occurs in GR, and i.e. my (3000, 4000) array is rasterized without any sampling? I want each pixel to correspond to an array element in my PNG. From reading the GR docs about r…

---

## [Grid in Heatmap](https://discourse.julialang.org/t/grid-in-heatmap/77017)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 7:05am UTC](https://discourse.julialang.org/t/grid-in-heatmap/77017 "2022-02-25T07:05:03Z")

</div>

Hi, I’m working on a simple A-star viz and was wondering if it’s possible to plot a grid on a heatmap. My current heatmap on Makie looks like: I want it to have grids, preferably a Major grid (every 5-10 ticks) and a…

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

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