# Latest

**URL:** https://discourse.julialang.org/latest.md?page=1131

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

**Page:** 1132

---

## [Integrate High Dimension highly oscillating integral](https://discourse.julialang.org/t/integrate-high-dimension-highly-oscillating-integral/75825)

<div class="topic-metadata">

**Author:** [@CollinsPeriodLee](https://discourse.julialang.org/u/CollinsPeriodLee)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 11:13pm UTC](https://discourse.julialang.org/t/integrate-high-dimension-highly-oscillating-integral/75825 "2022-02-04T23:13:16Z")

</div>

Hi, everyone, I’m considering to compute the integral for d\>2. I have already read the paper QUADRATURE METHODS FOR MULTIVARIATE HIGHLY OSCILLATORY INTEGRALS USING DERIVATIVES and noticed that for d=2, there is a doa…

---

## [Gtk / PackageCompiler / App runtime error](https://discourse.julialang.org/t/gtk-packagecompiler-app-runtime-error/75822)

<div class="topic-metadata">

**Author:** [@nshaviv](https://discourse.julialang.org/u/nshaviv)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 9:42pm UTC](https://discourse.julialang.org/t/gtk-packagecompiler-app-runtime-error/75822 "2022-02-04T21:42:36Z")

</div>

Hi, I’m trying to get a Gtk standalone application using PackageCompiler. I managed to overcome many hurdles, and finally it works, well, almost… When I run the .exe that was built, I get a bunch of errors like (MyApp…

---

## [Is the Plots.jl layout broken?](https://discourse.julialang.org/t/is-the-plots-jl-layout-broken/75819)

<div class="topic-metadata">

**Author:** [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)\
**Replies:** 5\
**Last updated:** [February 4, 2022, 9:24pm UTC](https://discourse.julialang.org/t/is-the-plots-jl-layout-broken/75819 "2022-02-04T21:24:24Z")

</div>

Hi, All packages updated, using gr() backend, the command plot(margins=0cm, layout=@layout \[a{0.125h} b;c\]) gives the following result: using pyplot() the result is slightly better, but still far from good: Ho…

---

## [Reference for Brusselator in DifferentialEquation.jl](https://discourse.julialang.org/t/reference-for-brusselator-in-differentialequation-jl/75810)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 9:08pm UTC](https://discourse.julialang.org/t/reference-for-brusselator-in-differentialequation-jl/75810 "2022-02-04T21:08:57Z")

</div>

The page Solving Large Stiff Equations · DifferentialEquations.jl list specific boundary and initial conditions for the Brusselator diffusion-reaction system. What reference what used? Thx!

---

## [Metaprogramming help](https://discourse.julialang.org/t/metaprogramming-help/75807)

<div class="topic-metadata">

**Author:** [@Ribeiro](https://discourse.julialang.org/u/Ribeiro)\
**Replies:** 14\
**Last updated:** [February 4, 2022, 8:08pm UTC](https://discourse.julialang.org/t/metaprogramming-help/75807 "2022-02-04T20:08:47Z")

</div>

Hello, I want to change the value of a variable within a function in a for loop. Here’s a silly example. for k in 1:10 myfun(a,b) = a\*b+k println myfun(1,2) end So k is not an input, but I want to change it. I hav…

---

## [GraphsMakie, not working correctly](https://discourse.julialang.org/t/graphsmakie-not-working-correctly/75813)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 6:29pm UTC](https://discourse.julialang.org/t/graphsmakie-not-working-correctly/75813 "2022-02-04T18:29:11Z")

</div>

Hello, I’m trying to run this code on my computer(HP Z1 2012): using WGLMakie, GraphMakie, Graphs, #Makie - doesn't work if in or not. g = complete\_graph(10) graphplot(g) A simple code, that(I think should just create …

---

## [JuMP and Pluto.jl?](https://discourse.julialang.org/t/jump-and-pluto-jl/49210)

<div class="topic-metadata">

**Author:** [@gleyland](https://discourse.julialang.org/u/gleyland)\
**Replies:** 8\
**Last updated:** [February 4, 2022, 5:16pm UTC](https://discourse.julialang.org/t/jump-and-pluto-jl/49210 "2022-02-04T17:16:04Z")

</div>

Hi, Has anyone tried using JuMP inside a Pluto.jl notebook? Are there any tricks one needs to be aware of? I have a simple notebook with two cells: “”" using JuMP, GLPK “”" and “”" begin M = Model(GLPK.Optimize…

---

## [Generator expression optimization for a known iteration set](https://discourse.julialang.org/t/generator-expression-optimization-for-a-known-iteration-set/75809)

<div class="topic-metadata">

**Author:** [@RGon](https://discourse.julialang.org/u/RGon)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 5:09pm UTC](https://discourse.julialang.org/t/generator-expression-optimization-for-a-known-iteration-set/75809 "2022-02-04T17:09:25Z")

</div>

I tend to run into a lot of situations where I’m iterating over something that is constant based on the input type. One example is a pattern where I want return a modified immutable function function modifyfields(x::T, …

---

## [Sparsity Detection in Jacobian](https://discourse.julialang.org/t/sparsity-detection-in-jacobian/75756)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 4:53pm UTC](https://discourse.julialang.org/t/sparsity-detection-in-jacobian/75756 "2022-02-04T16:53:11Z")

</div>

When trying to run https://diffeq.sciml.ai/stable/tutorials/advanced\_ode\_example/#Declaring-a-Sparse-Jacobian-with-Automatic-Sparsity-Detection I obtain MethodError: no method matching jacobian\_sparsity(::var"#7#8", :…

---

## [Optim.jl violates inequality constraint](https://discourse.julialang.org/t/optim-jl-violates-inequality-constraint/75573)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 4:49pm UTC](https://discourse.julialang.org/t/optim-jl-violates-inequality-constraint/75573 "2022-02-04T16:49:11Z")

</div>

I’m trying to do maximum likelihood estimation with constraints: p\[1\] + p\[2\] + p\[3\] + ... == 1 p\[1\] \* a\[1\] / (1 - b\[1\]) + p\[2\] \* a\[2\] / (1 - b\[2\]) + ... \< 1 However, Optim seems to ignore the inequality constraint. Co…

---

## [Making a triangular plot](https://discourse.julialang.org/t/making-a-triangular-plot/75802)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 4\
**Last updated:** [February 4, 2022, 3:49pm UTC](https://discourse.julialang.org/t/making-a-triangular-plot/75802 "2022-02-04T15:49:46Z")

</div>

In MATLAB there is a function triplot (2-D triangular plot - MATLAB triplot) which can be used to make a triangular plot given a connectivity matrix and the corresponding (x, y) values. Is there a similar function in Jul…

---

## [How to update two NN with different optimisers and common gradient](https://discourse.julialang.org/t/how-to-update-two-nn-with-different-optimisers-and-common-gradient/75657)

<div class="topic-metadata">

**Author:** [@Avec](https://discourse.julialang.org/u/Avec)\
**Replies:** 5\
**Last updated:** [February 4, 2022, 3:32pm UTC](https://discourse.julialang.org/t/how-to-update-two-nn-with-different-optimisers-and-common-gradient/75657 "2022-02-04T15:32:24Z")

</div>

Hi all, I have two neural networks which I optimize at the same time. Right now it looks somethign like this using Flux Gx = Chain(Conv((3,3), 8=\>4; stride=2, pad=1), BatchNorm(4), x-\>leakyrelu…

---

## [Extracting contents of .tgz file](https://discourse.julialang.org/t/extracting-contents-of-tgz-file/75801)

<div class="topic-metadata">

**Author:** [@Rajesh\_Nakka](https://discourse.julialang.org/u/Rajesh_Nakka)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 3:01pm UTC](https://discourse.julialang.org/t/extracting-contents-of-tgz-file/75801 "2022-02-04T15:01:13Z")

</div>

I am trying to extract contents of a file with tgz extension. I have tried Tar.jl, CodecZlib.jl, Tariterators.jl …etc. without success. I think they have the necessary capabilities but I am not sure how to get it. Could…

---

## [Multithreaded MatVec](https://discourse.julialang.org/t/multithreaded-matvec/6030)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 10\
**Last updated:** [February 4, 2022, 2:40pm UTC](https://discourse.julialang.org/t/multithreaded-matvec/6030 "2022-02-04T14:40:48Z")

</div>

Just out of curiosity, has anyone written up a sparse matrix-vector product using the new multithreading stuff? The At\_mul\_B operation works great because all the writes are disjoint between threads. But I was curious ab…

---

## [How to Create a Table in a DataBase Using DataFrames?](https://discourse.julialang.org/t/how-to-create-a-table-in-a-database-using-dataframes/75759)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 2:34pm UTC](https://discourse.julialang.org/t/how-to-create-a-table-in-a-database-using-dataframes/75759 "2022-02-04T14:34:40Z")

</div>

Hi all! I tried looking through the documentation, but I could not find it readily - is there a way to write a DataFrame to either a Postgresql (via LibPQ.jl) or MySQL (via MySQL.jl) database as a new table? Ideally, i…

---

## [Trait dispatch causing allocations](https://discourse.julialang.org/t/trait-dispatch-causing-allocations/75742)

<div class="topic-metadata">

**Author:** [@jg-854](https://discourse.julialang.org/u/jg-854)\
**Replies:** 9\
**Last updated:** [February 4, 2022, 2:06pm UTC](https://discourse.julialang.org/t/trait-dispatch-causing-allocations/75742 "2022-02-04T14:06:51Z")

</div>

I am simulating electronic circuits and I have chosen to adopt a modular model which works on objects of type Component. A Component can be a Resistor, Capacitor, or even a Serial/Parallel combination of Components. Th…

---

## [Pytorch post on taking inspiration from julia](https://discourse.julialang.org/t/pytorch-post-on-taking-inspiration-from-julia/75791)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 1:03pm UTC](https://discourse.julialang.org/t/pytorch-post-on-taking-inspiration-from-julia/75791 "2022-02-04T13:03:55Z")

</div>

---

## [Performance of naive convolution against Python Numpy](https://discourse.julialang.org/t/performance-of-naive-convolution-against-python-numpy/75603)

<div class="topic-metadata">

**Author:** [@romainvieme](https://discourse.julialang.org/u/romainvieme)\
**Replies:** 20\
**Last updated:** [February 4, 2022, 12:05pm UTC](https://discourse.julialang.org/t/performance-of-naive-convolution-against-python-numpy/75603 "2022-02-04T12:05:18Z")

</div>

I wrote a naive convolution function for some personal purpose and tested it against Python numpy’s function (which does not use FFT). On my computer the Julia script is about 7x slower than Python numpy’s version. Coul…

---

## [Save in Quicktime-compatible format (not H264 - MPEG-4 AVC (part 10) )](https://discourse.julialang.org/t/save-in-quicktime-compatible-format-not-h264-mpeg-4-avc-part-10/75700)

<div class="topic-metadata">

**Author:** [@georgematheos](https://discourse.julialang.org/u/georgematheos)\
**Replies:** 4\
**Last updated:** [February 4, 2022, 11:24am UTC](https://discourse.julialang.org/t/save-in-quicktime-compatible-format-not-h264-mpeg-4-avc-part-10/75700 "2022-02-04T11:24:43Z")

</div>

When I run VideoIO.save( "video.mp4", images, framerate=5; encoder\_options=(crf=23, preset="medium") ) it successfully saves an mp4 video, but it saves it with a codec that Quicktime player is unable to open on…

---

## [Problems using SolveDSGE.jl](https://discourse.julialang.org/t/problems-using-solvedsge-jl/75787)

<div class="topic-metadata">

**Author:** [@rgouveiamendes](https://discourse.julialang.org/u/rgouveiamendes)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 11:07am UTC](https://discourse.julialang.org/t/problems-using-solvedsge-jl/75787 "2022-02-04T11:07:41Z")

</div>

Hello everyone, I am trying to estimate the following model with SolveDSGE: states: a, k end jumps: c, muc, n end shocks: ε end parameters: α = 0.4 β = 0.99 δ = 0.1 γ = 0.1 ρ = 0.9 θ = 5.0 sd = 0.01 end equat…

---

## [Windows - a moan about deleting Julia](https://discourse.julialang.org/t/windows-a-moan-about-deleting-julia/75726)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 16\
**Last updated:** [February 4, 2022, 10:43am UTC](https://discourse.julialang.org/t/windows-a-moan-about-deleting-julia/75726 "2022-02-04T10:43:35Z")

</div>

On Windows 10 my .julia folder has over 18Gbytes of space used. There are hundreds of thousands of files under .julia Running Pkg.gc has no effect on the number of files. I decided to uninstall Julia (I use juliaup) th…

---

## [Turing.jl for Causal Inference model](https://discourse.julialang.org/t/turing-jl-for-causal-inference-model/75650)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 19\
**Last updated:** [February 4, 2022, 10:30am UTC](https://discourse.julialang.org/t/turing-jl-for-causal-inference-model/75650 "2022-02-04T10:30:06Z")

</div>

I am trying to translate the model from McElreath’s Causal Inference workshop (youtube, github) to Turing.jl and while the results seem to be the same I get much worse performance with Turing (3 sec. vs 110 sec.) so I wa…

---

## [PhD in Computational Combinatorial Optimization with Julia](https://discourse.julialang.org/t/phd-in-computational-combinatorial-optimization-with-julia/75780)

<div class="topic-metadata">

**Author:** [@DOT](https://discourse.julialang.org/u/DOT)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 9:21am UTC](https://discourse.julialang.org/t/phd-in-computational-combinatorial-optimization-with-julia/75780 "2022-02-04T09:21:35Z")

</div>

The University of Tartu, Estonia, solicits expressions of interest for a PhD position in computational combinatorial optimization with Julia. Starting date: Oct 1, 2022 The PhD project involves The design of novel (i…

---

## [Keyword argument types - what's going on?](https://discourse.julialang.org/t/keyword-argument-types-whats-going-on/75778)

<div class="topic-metadata">

**Author:** [@FedeClaudi](https://discourse.julialang.org/u/FedeClaudi)\
**Replies:** 11\
**Last updated:** [February 4, 2022, 9:16am UTC](https://discourse.julialang.org/t/keyword-argument-types-whats-going-on/75778 "2022-02-04T09:16:45Z")

</div>

Hey everyone, I’m new-ish to Julia and have been loving it so far, but I just stumbled on some behavior I’m confused about when it comes to types and keyword arguments. As per the docs, I can define a function acceptin…

---

## [Can I use Makie with plots.jl or graphs.jl to create interractive graphs?](https://discourse.julialang.org/t/can-i-use-makie-with-plots-jl-or-graphs-jl-to-create-interractive-graphs/75754)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 6:21am UTC](https://discourse.julialang.org/t/can-i-use-makie-with-plots-jl-or-graphs-jl-to-create-interractive-graphs/75754 "2022-02-04T06:21:29Z")

</div>

I’m trying to build a map for some game, for that, I only need graphs that I can change while using them eg, make them different colors and get that data, ad limits to movement on edges and get data for different vertice…

---

## [Split Column in Dataframe](https://discourse.julialang.org/t/split-column-in-dataframe/68036)

<div class="topic-metadata">

**Author:** [@dbjulia](https://discourse.julialang.org/u/dbjulia)\
**Replies:** 5\
**Last updated:** [February 4, 2022, 6:06am UTC](https://discourse.julialang.org/t/split-column-in-dataframe/68036 "2022-02-04T06:06:52Z")

</div>

I am trying to figure out how split a column of strings into a set number of columns. I have the example below. I want to split the column name from the titanic dataset into four columns. I know I can use this code to cr…

---

## [Filter doesn't work on grouped dataframe](https://discourse.julialang.org/t/filter-doesnt-work-on-grouped-dataframe/27322)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 5\
**Last updated:** [February 4, 2022, 5:32am UTC](https://discourse.julialang.org/t/filter-doesnt-work-on-grouped-dataframe/27322 "2022-02-04T05:32:44Z")

</div>

The problem is simple, I have a grouped data frame and I want to throw out groups. filter however, does not work. This seems like a very common idiom, so I’m thinking I’m missing some very simple way to handle it. p.s.…

---

## [Broadcasting of logical operators in v1.6 vs v1.7](https://discourse.julialang.org/t/broadcasting-of-logical-operators-in-v1-6-vs-v1-7/75772)

<div class="topic-metadata">

**Author:** [@zengfung](https://discourse.julialang.org/u/zengfung)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 4:14am UTC](https://discourse.julialang.org/t/broadcasting-of-logical-operators-in-v1-6-vs-v1-7/75772 "2022-02-04T04:14:54Z")

</div>

I’m trying to use broadcasting on logical operators in Julia. I find that the same broadcasting code works in v1.7 (right) but not v1.6 (left). Can anyone explain why this is the case? What is a workaround for this s…

---

## [Parameter Estimation of HPV Disease Model ( DiffEqFlux ) (beginner issue)](https://discourse.julialang.org/t/parameter-estimation-of-hpv-disease-model-diffeqflux-beginner-issue/75758)

<div class="topic-metadata">

**Author:** [@Mevlut\_Cayli](https://discourse.julialang.org/u/Mevlut_Cayli)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 12:41am UTC](https://discourse.julialang.org/t/parameter-estimation-of-hpv-disease-model-diffeqflux-beginner-issue/75758 "2022-02-04T00:41:18Z")

</div>

Hi, I 'm trying to estimate HPV transmission model parameters with DiffeqFlux but seems like it gets stuck in local optima and I’m not sure about using mini batching because my observation data just has length of 6 in …

---

## [Using Math in Programming jobs](https://discourse.julialang.org/t/using-math-in-programming-jobs/74018)

<div class="topic-metadata">

**Author:** [@RonBackal](https://discourse.julialang.org/u/RonBackal)\
**Replies:** 19\
**Last updated:** [February 3, 2022, 11:26pm UTC](https://discourse.julialang.org/t/using-math-in-programming-jobs/74018 "2022-02-03T23:26:25Z")

</div>

Hi! New here everyone! I did start learning Julia recently because of my fascination with math, and I do love the different aspects of it. I was wondering what kind of programming jobs are there that actually use math …

[Previous page](https://discourse.julialang.org/latest.md?page=1130)

[Next page](https://discourse.julialang.org/latest.md?page=1132)
