# Specific Domains

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

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

**Page:** 384

---

## [\[Query.jl\] Way to map many variables to a single function](https://discourse.julialang.org/t/query-jl-way-to-map-many-variables-to-a-single-function/56675)

<div class="topic-metadata">

**Author:** [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Replies:** 0\
**Last updated:** [March 7, 2021, 1:29pm UTC](https://discourse.julialang.org/t/query-jl-way-to-map-many-variables-to-a-single-function/56675 "2021-03-07T13:29:50Z")

</div>

Here is the code in DataFrames: @chain DataFrame(tbl) begin dropmissing(\[:NT\_GER, :NT\_FG, :NT\_CE\]) groupby(\[:TP\_SEXO, :CO\_TURNO\_GRADUACAO\], skipmissing=true) combine(nrow, \[:NT\_GER, :NT\_FG, :NT\_C…

---

## [Any GAM or Spline packages like mgcv and splines in R?](https://discourse.julialang.org/t/any-gam-or-spline-packages-like-mgcv-and-splines-in-r/56714)

<div class="topic-metadata">

**Author:** [@NightRider](https://discourse.julialang.org/u/NightRider)\
**Replies:** 0\
**Last updated:** [March 8, 2021, 5:11am UTC](https://discourse.julialang.org/t/any-gam-or-spline-packages-like-mgcv-and-splines-in-r/56714 "2021-03-08T05:11:15Z")

</div>

So I come from a stat background and primarily use R. Julia has been amazing but I’m wondering is there a GAM package at all in the ecosystem? I have used GLM.jl so I’m wondering if there is something that is kind of lik…

---

## [Request for example: "Hello world \[name\]" as a web app, aka how to pass to Julia the inputs of a web form and retrieve the output as a html response](https://discourse.julialang.org/t/request-for-example-hello-world-name-as-a-web-app-aka-how-to-pass-to-julia-the-inputs-of-a-web-form-and-retrieve-the-output-as-a-html-response/48803)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [March 8, 2021, 1:51am UTC](https://discourse.julialang.org/t/request-for-example-hello-world-name-as-a-web-app-aka-how-to-pass-to-julia-the-inputs-of-a-web-form-and-retrieve-the-output-as-a-html-response/48803 "2021-03-08T01:51:39Z")

</div>

I need to expose a Julia function as a web app, where users fill a simple (static?) html form with a couple of input fields and a file input (for a csv file) and the “web app” responds with a string to be formatted as a …

---

## [In place GEMM](https://discourse.julialang.org/t/in-place-gemm/56260)

<div class="topic-metadata">

**Author:** [@Xijiang\_Yu](https://discourse.julialang.org/u/Xijiang_Yu)\
**Replies:** 6\
**Last updated:** [March 7, 2021, 11:26pm UTC](https://discourse.julialang.org/t/in-place-gemm/56260 "2021-03-07T23:26:04Z")

</div>

My LHS is huge and needs to be constructed by parts/sub-matrix. e.g., lhs = \[ b11 b12 b21 b22\] Is there a way to specify the results into a sub-matrix, e.g., b22, to save memory? I believe gemm in Julia is also b…

---

## [DataLoader-like interface for Turing?](https://discourse.julialang.org/t/dataloader-like-interface-for-turing/56678)

<div class="topic-metadata">

**Author:** [@qft](https://discourse.julialang.org/u/qft)\
**Replies:** 6\
**Last updated:** [March 7, 2021, 5:53pm UTC](https://discourse.julialang.org/t/dataloader-like-interface-for-turing/56678 "2021-03-07T17:53:55Z")

</div>

I am very recently introduced to Turing. In all the example code I see, the model is given a fixed set of observation, and sample a for specific number of iterations. I am wondering, is it possible to use a different sub…

---

## [For a tree, how to obtain two induced subgraph by breaking an edge in LightGraphs?](https://discourse.julialang.org/t/for-a-tree-how-to-obtain-two-induced-subgraph-by-breaking-an-edge-in-lightgraphs/56676)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 0\
**Last updated:** [March 7, 2021, 2:12pm UTC](https://discourse.julialang.org/t/for-a-tree-how-to-obtain-two-induced-subgraph-by-breaking-an-edge-in-lightgraphs/56676 "2021-03-07T14:12:24Z")

</div>

For example, if I have a tree 1 - 2 - 3 - 4 | | 5 6 - 7 - 8 If breaking the ege (3,6), I want to obtain two induced subgraphs 1 -…

---

## [Converting region of interest (ROI) polygon to a mask](https://discourse.julialang.org/t/converting-region-of-interest-roi-polygon-to-a-mask/56545)

<div class="topic-metadata">

**Author:** [@mateuszbaran](https://discourse.julialang.org/u/mateuszbaran)\
**Replies:** 1\
**Last updated:** [March 7, 2021, 10:30am UTC](https://discourse.julialang.org/t/converting-region-of-interest-roi-polygon-to-a-mask/56545 "2021-03-07T10:30:33Z")

</div>

I’d like to share a simple piece of code for converting a region of interest given by vertices of a polygon to a binary mask in Julia. This turned out to be more difficult than I expected so someone else may find this us…

---

## [Cannot assign a value to variable workspace](https://discourse.julialang.org/t/cannot-assign-a-value-to-variable-workspace/56613)

<div class="topic-metadata">

**Author:** [@priod](https://discourse.julialang.org/u/priod)\
**Replies:** 1\
**Last updated:** [March 6, 2021, 6:30pm UTC](https://discourse.julialang.org/t/cannot-assign-a-value-to-variable-workspace/56613 "2021-03-06T18:30:49Z")

</div>

I am using Ipopt optimizer in a problem, I have created a variable name inside the model in an array form, for instance, (k,p\[1:2\]), after running the specific cell, it is giving me the error, that cannot assign a value …

---

## [Axis Label Colors in Plots.jl](https://discourse.julialang.org/t/axis-label-colors-in-plots-jl/10391)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 2\
**Last updated:** [March 7, 2021, 3:26am UTC](https://discourse.julialang.org/t/axis-label-colors-in-plots-jl/10391 "2021-03-07T03:26:43Z")

</div>

How do I control the color of the axes labels in Plots.jl?

---

## [ARDRegression function?](https://discourse.julialang.org/t/ardregression-function/56620)

<div class="topic-metadata">

**Author:** [@casv2](https://discourse.julialang.org/u/casv2)\
**Replies:** 2\
**Last updated:** [March 6, 2021, 4:37pm UTC](https://discourse.julialang.org/t/ardregression-function/56620 "2021-03-06T16:37:59Z")

</div>

I’m wondering whether there’s a native Julia “ARDRegression” (linear model regression with an ARD prior) available in a native Julia package somewhere. I haven’t been able to find any, and am having to call sklearn throu…

---

## [How to solve set of nonlinear fixed-point equations using Anderson acceleration in NLsolve.jl?](https://discourse.julialang.org/t/how-to-solve-set-of-nonlinear-fixed-point-equations-using-anderson-acceleration-in-nlsolve-jl/55994)

<div class="topic-metadata">

**Author:** [@liuyxpp](https://discourse.julialang.org/u/liuyxpp)\
**Replies:** 7\
**Last updated:** [March 6, 2021, 1:16pm UTC](https://discourse.julialang.org/t/how-to-solve-set-of-nonlinear-fixed-point-equations-using-anderson-acceleration-in-nlsolve-jl/55994 "2021-03-06T13:16:18Z")

</div>

I have a set of two nonlinear fixed-point equations like x = g1(x, y) y = g2(x, y) where x and y are n-dimensional arrays (n=1,2,3), length(x) and length(y) can be very large, e.g. 128x128x128 for 3D problem. How can I…

---

## [Using ColorSchemes](https://discourse.julialang.org/t/using-colorschemes/56604)

<div class="topic-metadata">

**Author:** [@tchebycheff](https://discourse.julialang.org/u/tchebycheff)\
**Replies:** 7\
**Last updated:** [March 6, 2021, 12:12pm UTC](https://discourse.julialang.org/t/using-colorschemes/56604 "2021-03-06T12:12:44Z")

</div>

How do I import all the color schemes from ColorSchemes in one go? Thanks. P.S. This code used to work before. using Plots, Random cs = collect(keys(colorschemes)) cp = first(Random.shuffle!(cs)) plot(x, y, palette =…

---

## [Is there a way to do "digital phosphor" type of plots for time series data?](https://discourse.julialang.org/t/is-there-a-way-to-do-digital-phosphor-type-of-plots-for-time-series-data/56490)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 16\
**Last updated:** [March 6, 2021, 11:50am UTC](https://discourse.julialang.org/t/is-there-a-way-to-do-digital-phosphor-type-of-plots-for-time-series-data/56490 "2021-03-06T11:50:04Z")

</div>

Modern (digital) oscilloscopes usually perform a simulation of a phosphor-based CRT. These are described by various terms like digital phosphor, intensity grading, color temperature display, etc. These algorithms don’t …

---

## [How can I read an animated GIF? / Pluto](https://discourse.julialang.org/t/how-can-i-read-an-animated-gif-pluto/56606)

<div class="topic-metadata">

**Author:** [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Replies:** 3\
**Last updated:** [March 6, 2021, 11:10am UTC](https://discourse.julialang.org/t/how-can-i-read-an-animated-gif-pluto/56606 "2021-03-06T11:10:32Z")

</div>

I would like to read in an animated GIF file, and get individual frames from it. I would also like to display it as an animation on a Pluto notebook.

---

## [How to set verbose=false for \`Mosek\` in \`Convex.jl\`](https://discourse.julialang.org/t/how-to-set-verbose-false-for-mosek-in-convex-jl/46378)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 4\
**Last updated:** [March 6, 2021, 8:18am UTC](https://discourse.julialang.org/t/how-to-set-verbose-false-for-mosek-in-convex-jl/46378 "2021-03-06T08:18:55Z")

</div>

I’m using Convex.jl to solve convex optimisation problems. In Convex.jl, I can use various solvers, but I cannot make the solver verbose=false only when using Mosek. How can I do this? Here’s an MWE: using Convex usi…

---

## [What are vmin and vmax?](https://discourse.julialang.org/t/what-are-vmin-and-vmax/56592)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 10:02pm UTC](https://discourse.julialang.org/t/what-are-vmin-and-vmax/56592 "2021-03-05T22:02:05Z")

</div>

What does the v in vmin and vmax stand for, in the get\_ticks function signature? What do they mean and how are they calculated?

---

## [How would you handle reproduction in this Agent Based Model?](https://discourse.julialang.org/t/how-would-you-handle-reproduction-in-this-agent-based-model/56442)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 8\
**Last updated:** [March 5, 2021, 7:03pm UTC](https://discourse.julialang.org/t/how-would-you-handle-reproduction-in-this-agent-based-model/56442 "2021-03-05T19:03:35Z")

</div>

Hello all, I’m building an agent-based model of avian populations in the presence of brood parasites\*. The simulation aims to recreate solution concepts from evolutionary game theory that can be found analytically using …

---

## [Does a Terror Attack Cause Another Terror Attack? A look at Hawkes Processes in Julia](https://discourse.julialang.org/t/does-a-terror-attack-cause-another-terror-attack-a-look-at-hawkes-processes-in-julia/56578)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 6:25pm UTC](https://discourse.julialang.org/t/does-a-terror-attack-cause-another-terror-attack-a-look-at-hawkes-processes-in-julia/56578 "2021-03-05T18:25:14Z")

</div>

I’ve already posted this i n the Julia subreddit but thought I would share here. This is a blog post I’ve written based on a chapter from my PhD. http://dm13450.github.io/2021/03/02/Terror-Attacks-Hawkes-Processes.html …

---

## [UnitfulForex.jl — foreign exchange rates as Unitful.jl units](https://discourse.julialang.org/t/unitfulforex-jl-foreign-exchange-rates-as-unitful-jl-units/56572)

<div class="topic-metadata">

**Author:** [@sidpatil](https://discourse.julialang.org/u/sidpatil)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 6:05pm UTC](https://discourse.julialang.org/t/unitfulforex-jl-foreign-exchange-rates-as-unitful-jl-units/56572 "2021-03-05T18:05:24Z")

</div>

https://github.com/spatil47/UnitfulForex.jl This is a tiny script which automatically creates Unitful.jl units from foreign exchange rates published at http://exchangeratesapi.io/. I’m still quite new to Julia. I’d lik…

---

## [Allow for more quasar vue properties to be bound to observable parameters in the model](https://discourse.julialang.org/t/allow-for-more-quasar-vue-properties-to-be-bound-to-observable-parameters-in-the-model/56554)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 10\
**Last updated:** [March 5, 2021, 2:47pm UTC](https://discourse.julialang.org/t/allow-for-more-quasar-vue-properties-to-be-bound-to-observable-parameters-in-the-model/56554 "2021-03-05T14:47:50Z")

</div>

Hope you’re doing well @hhaensel :slight\_smile: It’s really useful to bind properties of quasar-vue components to model parameters. More specifically, how do I disable a button with an observable: button("Save", @click…

---

## [\[DataFrames Question\]: Filter function parameter order](https://discourse.julialang.org/t/dataframes-question-filter-function-parameter-order/56395)

<div class="topic-metadata">

**Author:** [@citron](https://discourse.julialang.org/u/citron)\
**Replies:** 6\
**Last updated:** [March 5, 2021, 7:29am UTC](https://discourse.julialang.org/t/dataframes-question-filter-function-parameter-order/56395 "2021-03-05T07:29:20Z")

</div>

Question: This is not a technical question. Consider it esthetechnical. While all functions from the DataFrames module get a DataFrame as first parameter, why don’t “Filter” and “Map” get this treatment too ? Why filte…

---

## [How do you edit a DataFrame after reading it from a CSV?](https://discourse.julialang.org/t/how-do-you-edit-a-dataframe-after-reading-it-from-a-csv/56235)

<div class="topic-metadata">

**Author:** [@Sanjan\_Das](https://discourse.julialang.org/u/Sanjan_Das)\
**Replies:** 6\
**Last updated:** [March 1, 2021, 4:48pm UTC](https://discourse.julialang.org/t/how-do-you-edit-a-dataframe-after-reading-it-from-a-csv/56235 "2021-03-01T16:48:15Z")

</div>

Hello! I’m having a bit of trouble with being able to edit a DataFrame after reading them in from a CSV. I’ve set it up as shown below. julia\> df = DataFrame(A = String\[\], B = Int\[\]) 0×2 DataFrame julia\> CSV.write("tes…

---

## [Call a Vue function in a Stipple app](https://discourse.julialang.org/t/call-a-vue-function-in-a-stipple-app/56466)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 6\
**Last updated:** [March 4, 2021, 7:56pm UTC](https://discourse.julialang.org/t/call-a-vue-function-in-a-stipple-app/56466 "2021-03-04T19:56:47Z")

</div>

(Hi @hhaensel, asking here so others can benefit) Given I have some function defined: Stipple.js\_methods(::MyModel) = raw""" badtoml () { this.$q.notify({ message: 'toml file has some errors in it', …

---

## [Surface plot not working in Makie](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488)

<div class="topic-metadata">

**Author:** [@nandoconde](https://discourse.julialang.org/u/nandoconde)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 5:43pm UTC](https://discourse.julialang.org/t/surface-plot-not-working-in-makie/56488 "2021-03-04T17:43:24Z")

</div>

Hello everyone. I am having troubles to plot a surface in Makie. Here is a MWE: \]add GLMakie using Makie a = 1:0.1:20; b = 5:0.05:30; c = \[x\*log10(y) for x in a, y in b\]; x,y,z = surface(a,b,c) this gets me: Error s…

---

## [Server dimensions using Genie.jl](https://discourse.julialang.org/t/server-dimensions-using-genie-jl/56359)

<div class="topic-metadata">

**Author:** [@Philippus12](https://discourse.julialang.org/u/Philippus12)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 4:43pm UTC](https://discourse.julialang.org/t/server-dimensions-using-genie-jl/56359 "2021-03-04T16:43:04Z")

</div>

Hi there, my colleagues and I are working on a project where an interactive text book is being built with Julia. Since we want to host the entire thing on a server to allow others to access and use the notebook we went…

---

## [SampleChains](https://discourse.julialang.org/t/samplechains/55937)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 27\
**Last updated:** [March 4, 2021, 4:28pm UTC](https://discourse.julialang.org/t/samplechains/55937 "2021-03-04T16:28:51Z")

</div>

I’m working on a new interface for chains from MCMC sampling: I’ve copied the README below. I’d love any feedback on the interface, or ideas for making it more useful and/or powerful. Gratuitous @-ing… @Tamas\_Papp t…

---

## [LP Relaxation in JuMP](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476)

<div class="topic-metadata">

**Author:** [@hdavid16](https://discourse.julialang.org/u/hdavid16)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 4:12pm UTC](https://discourse.julialang.org/t/lp-relaxation-in-jump/56476 "2021-03-04T16:12:01Z")

</div>

What is the best way to get the LP relaxation of a MIP? Should I call relax\_integrality() and optimize, or is there a better way?

---

## [How to deal with the sum of absolute functions in a JuMP model?](https://discourse.julialang.org/t/how-to-deal-with-the-sum-of-absolute-functions-in-a-jump-model/56452)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 12:45pm UTC](https://discourse.julialang.org/t/how-to-deal-with-the-sum-of-absolute-functions-in-a-jump-model/56452 "2021-03-04T12:45:49Z")

</div>

I would like to add a constraint that is the sum of absolute values, something like using JuMP model = Model(Ipopt.Optimizer) @variable(model, w\[1:n\] \>=0) ... @constraint(model, sum(abs.(w - p)) \<= alpha) # not possib…

---

## [Error when getting grads of an ensemble simulation with the newest packages](https://discourse.julialang.org/t/error-when-getting-grads-of-an-ensemble-simulation-with-the-newest-packages/56019)

<div class="topic-metadata">

**Author:** [@MikeKlocCZ](https://discourse.julialang.org/u/MikeKlocCZ)\
**Replies:** 2\
**Last updated:** [March 4, 2021, 9:11am UTC](https://discourse.julialang.org/t/error-when-getting-grads-of-an-ensemble-simulation-with-the-newest-packages/56019 "2021-03-04T09:11:12Z")

</div>

Hello everyone, I updated to the newest packages of Zygote and Flux and I get error apparently related to the paralelization of an ensemble simulation using DifferentialEquations, Flux, DiffEqFlux using DiffEqSensiti…

---

## [Visualizing a mesh-wise quantity](https://discourse.julialang.org/t/visualizing-a-mesh-wise-quantity/56458)

<div class="topic-metadata">

**Author:** [@Sean\_McBane](https://discourse.julialang.org/u/Sean_McBane)\
**Replies:** 5\
**Last updated:** [March 4, 2021, 2:55am UTC](https://discourse.julialang.org/t/visualizing-a-mesh-wise-quantity/56458 "2021-03-04T02:55:21Z")

</div>

My problem is as follows: I want to visualize a quantity which varies over a domain, but is piecewise constant over subdomains, each of which has its own mesh. I’ve been doing this by saving the value as cell-centered va…

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

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