# Latest

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

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

**Page:** 1141

---

## [Window like functions in DataFrames](https://discourse.julialang.org/t/window-like-functions-in-dataframes/7891)

<div class="topic-metadata">

**Author:** [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Replies:** 10\
**Last updated:** [January 27, 2022, 3:50pm UTC](https://discourse.julialang.org/t/window-like-functions-in-dataframes/7891 "2022-01-27T15:50:38Z")

</div>

I wonder, what is the best way to apply window functions to DataFrames? In simplest case, window functions is a sort of aggregating functions that don’t change number of rows of original dataframe and only adds some new …

---

## [Order of \`JULIA\_DEPOT\_PATH\` not hornored?](https://discourse.julialang.org/t/order-of-julia-depot-path-not-hornored/75299)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 1\
**Last updated:** [January 27, 2022, 3:13pm UTC](https://discourse.julialang.org/t/order-of-julia-depot-path-not-hornored/75299 "2022-01-27T15:13:47Z")

</div>

Using Julia on a HPC setup: \[jiling\]~% which julia /cvmfs/sft.cern.ch/lcg/views/LCG\_101/x86\_64-centos7-gcc8-opt/bin/julia \[jiling\]~% echo $JULIA\_DEPOT\_PATH /afs/cern.ch/user/j/jiling/.julia:/cvmfs/sft.cern.c…

---

## [Saving a period of ODE solutions](https://discourse.julialang.org/t/saving-a-period-of-ode-solutions/75278)

<div class="topic-metadata">

**Author:** [@xspeng](https://discourse.julialang.org/u/xspeng)\
**Replies:** 4\
**Last updated:** [January 27, 2022, 1:45pm UTC](https://discourse.julialang.org/t/saving-a-period-of-ode-solutions/75278 "2022-01-27T13:45:07Z")

</div>

Hi, if I only want to save part of the solutions, how to realize it, for example, function test(dy, y, p, t) a, b, c = p dy\[1\] = a \* y\[1\] + b \* y\[2\] + c dy\[2\] = b \* y\[2\] + c \* y\[3\] + a dy\[3\] = c \* y\[3\] +…

---

## [Postdoc (24 month, extension possible) in Scientific Computing with Trixi.jl](https://discourse.julialang.org/t/postdoc-24-month-extension-possible-in-scientific-computing-with-trixi-jl/75284)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 0\
**Last updated:** [January 27, 2022, 12:03pm UTC](https://discourse.julialang.org/t/postdoc-24-month-extension-possible-in-scientific-computing-with-trixi-jl/75284 "2022-01-27T12:03:36Z")

</div>

We have an open postdoc position (100% TVL-13 pay grade) in Scientific Computing at the University of Cologne, Germany. The general goal is to work on/develop/extend our open source Julia code Trixi.jl. For details, ple…

---

## [Distributed solving ODEs problem](https://discourse.julialang.org/t/distributed-solving-odes-problem/74983)

<div class="topic-metadata">

**Author:** [@xspeng](https://discourse.julialang.org/u/xspeng)\
**Replies:** 8\
**Last updated:** [January 27, 2022, 10:34am UTC](https://discourse.julialang.org/t/distributed-solving-odes-problem/74983 "2022-01-27T10:34:04Z")

</div>

Hi, I have a problem with using distributed solving ODEs, here is a simple example, @everywhere begin function test(dy, y, p, t) a, b, c = p dy\[1\] = a \* y\[1\] + b \* y\[2\] + c dy\[2\] = b \* y\[2\] +…

---

## [Evaluating the Hessian of the Lagrangian efficiently](https://discourse.julialang.org/t/evaluating-the-hessian-of-the-lagrangian-efficiently/54659)

<div class="topic-metadata">

**Author:** [@ferrolho](https://discourse.julialang.org/u/ferrolho)\
**Replies:** 14\
**Last updated:** [January 27, 2022, 9:49am UTC](https://discourse.julialang.org/t/evaluating-the-hessian-of-the-lagrangian-efficiently/54659 "2022-01-27T09:49:31Z")

</div>

In the context of numerical optimisation, it is good to provide exact Hessians of the problem constraints. I have a working version thanks to Julia’s AD capabilities, but I think my current approach is not optimised for …

---

## [Building a symbolic Hessian function with ModelingToolkit.jl](https://discourse.julialang.org/t/building-a-symbolic-hessian-function-with-modelingtoolkit-jl/74746)

<div class="topic-metadata">

**Author:** [@adeyemiadeoye](https://discourse.julialang.org/u/adeyemiadeoye)\
**Replies:** 9\
**Last updated:** [January 27, 2022, 9:15am UTC](https://discourse.julialang.org/t/building-a-symbolic-hessian-function-with-modelingtoolkit-jl/74746 "2022-01-27T09:15:11Z")

</div>

I seek to build a Hessian function for the Lagrangian using ModelingToolkit.jl. This Hessian function is supposed to take two (non-symbolic) functions as arguments. My question is, how would you “correctly” write (if pos…

---

## [LoadError: ArgumentError: Sampler for this object is not defined](https://discourse.julialang.org/t/loaderror-argumenterror-sampler-for-this-object-is-not-defined/74796)

<div class="topic-metadata">

**Author:** [@wccarleton](https://discourse.julialang.org/u/wccarleton)\
**Replies:** 6\
**Last updated:** [January 27, 2022, 8:32am UTC](https://discourse.julialang.org/t/loaderror-argumenterror-sampler-for-this-object-is-not-defined/74796 "2022-01-27T08:32:57Z")

</div>

Hi All, I’m learning Julia and coming from R and a bit of Python. To help me figure Julia out (in a way that’s directly related to my current work), I’ve decided to write a module based on the Vose/Walker Alias method f…

---

## [Module functions logic depend on whether the third party library is used or not](https://discourse.julialang.org/t/module-functions-logic-depend-on-whether-the-third-party-library-is-used-or-not/75266)

<div class="topic-metadata">

**Author:** [@kerim](https://discourse.julialang.org/u/kerim)\
**Replies:** 1\
**Last updated:** [January 27, 2022, 8:09am UTC](https://discourse.julialang.org/t/module-functions-logic-depend-on-whether-the-third-party-library-is-used-or-not/75266 "2022-01-27T08:09:22Z")

</div>

Hi, I’m pretty new in Julia. My module MyModule consist of few functions and the behaviour of these functions may vary dependent whether the python package is installed or not (I’m going to use PyCall). I think I shoul…

---

## [Computation of eigenvalues of a sparse matrix that is given by a file in COO format](https://discourse.julialang.org/t/computation-of-eigenvalues-of-a-sparse-matrix-that-is-given-by-a-file-in-coo-format/75214)

<div class="topic-metadata">

**Author:** [@Eustace](https://discourse.julialang.org/u/Eustace)\
**Replies:** 5\
**Last updated:** [January 27, 2022, 7:35am UTC](https://discourse.julialang.org/t/computation-of-eigenvalues-of-a-sparse-matrix-that-is-given-by-a-file-in-coo-format/75214 "2022-01-27T07:35:31Z")

</div>

Hi everyone, I am pretty new to Julia, and I would appreciate your help in the following. I have a complex, non-symmetric yet sparse matrix (800,000x800,000 with ~10M nnz) that is stored in a file in COO format, i.e., …

---

## [Music packages](https://discourse.julialang.org/t/music-packages/75261)

<div class="topic-metadata">

**Author:** [@Erasmo98](https://discourse.julialang.org/u/Erasmo98)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 4:14am UTC](https://discourse.julialang.org/t/music-packages/75261 "2022-01-27T04:14:19Z")

</div>

Hey there. I haven’t used Julia for a while. I remember that there are several packages for doing different things related to music. I’d like to explore those packages but I don’t remember which were. Making a quick sear…

---

## [How to plot curve over surface with Plots.jl?](https://discourse.julialang.org/t/how-to-plot-curve-over-surface-with-plots-jl/72498)

<div class="topic-metadata">

**Author:** [@giancarloantonucci](https://discourse.julialang.org/u/giancarloantonucci)\
**Replies:** 5\
**Last updated:** [January 27, 2022, 3:54am UTC](https://discourse.julialang.org/t/how-to-plot-curve-over-surface-with-plots-jl/72498 "2022-01-27T03:54:02Z")

</div>

I have written some code to generate a gif for the double pendulum problem: # In another code not shown here, I've: # - computed solution of double pendulum problem # - extracted independent variables θ₁, θ₂ from soluti…

---

## [Include error](https://discourse.julialang.org/t/include-error/50753)

<div class="topic-metadata">

**Author:** [@dillamarcos](https://discourse.julialang.org/u/dillamarcos)\
**Replies:** 5\
**Last updated:** [January 27, 2022, 2:22am UTC](https://discourse.julialang.org/t/include-error/50753 "2022-01-27T02:22:42Z")

</div>

Hey guys I started using Julia today to apply in some exercises. I’ve tried to use the include function and I’m getting this error: Can anyone help me with understanding what I am doing wrong? I thought that since I’…

---

## [Solving Matrix vector problem](https://discourse.julialang.org/t/solving-matrix-vector-problem/75259)

<div class="topic-metadata">

**Author:** [@longemen3000](https://discourse.julialang.org/u/longemen3000)\
**Replies:** 6\
**Last updated:** [January 26, 2022, 11:41pm UTC](https://discourse.julialang.org/t/solving-matrix-vector-problem/75259 "2022-01-26T23:41:09Z")

</div>

Hi!, im trying to solve for x ∈ R^n the following equation: A\*x .\* x .+ x .-1 .= 0 or in matrix form: Diagonal(A\*x)\*x + x - ones(n) = zeros(n) One way to solve this is by using succesive substitution with the follow…

---

## [Weird Behaviour/Bug in Polyhedra.jl](https://discourse.julialang.org/t/weird-behaviour-bug-in-polyhedra-jl/74168)

<div class="topic-metadata">

**Author:** [@Codzilla](https://discourse.julialang.org/u/Codzilla)\
**Replies:** 1\
**Last updated:** [January 27, 2022, 1:27am UTC](https://discourse.julialang.org/t/weird-behaviour-bug-in-polyhedra-jl/74168 "2022-01-27T01:27:44Z")

</div>

I observed a strange behaviour with Polyhedra.jl. As a result of a rather complicated algorithm, I obtained a polyhedron as an intersection of half-planes. However, when I want to compute the vertices forming the complex…

---

## [When using Vector{T}(undef,n) constructor, what are the values set to?](https://discourse.julialang.org/t/when-using-vector-t-undef-n-constructor-what-are-the-values-set-to/75251)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 7:48pm UTC](https://discourse.julialang.org/t/when-using-vector-t-undef-n-constructor-what-are-the-values-set-to/75251 "2022-01-26T19:48:33Z")

</div>

Hi! If T = Float64, I observe that the values most often are set as some very small number, but is it possible for it to be a number such as “0.1”,“5” etc.? The reason I ask is that I just found out that some code I ha…

---

## [\[ANN\] Pluto 0.17.6](https://discourse.julialang.org/t/ann-pluto-0-17-6/75011)

<div class="topic-metadata">

**Author:** [@fonsp](https://discourse.julialang.org/u/fonsp)\
**Replies:** 10\
**Last updated:** [January 26, 2022, 8:11pm UTC](https://discourse.julialang.org/t/ann-pluto-0-17-6/75011 "2022-01-26T20:11:39Z")

</div>

Hi all, we hope you had a nice holiday! (Did you like Pluto’s special holiday release?) We have some big new features ready! :new\_moon\_face: Dark mode The number 1 most requested feature is there, and we think it looks …

---

## [MOI.Test.Config optimal\_status OPTIMAL or LOCALLY\_SOLVED?](https://discourse.julialang.org/t/moi-test-config-optimal-status-optimal-or-locally-solved/75227)

<div class="topic-metadata">

**Author:** [@renke.kuhlmann](https://discourse.julialang.org/u/renke.kuhlmann)\
**Replies:** 2\
**Last updated:** [January 26, 2022, 8:02pm UTC](https://discourse.julialang.org/t/moi-test-config-optimal-status-optimal-or-locally-solved/75227 "2022-01-26T20:02:05Z")

</div>

Is there a way to simply accept both optimal\_status OPTIMAL and LOCALLY\_SOLVED in MOI.Test.Config? For GAMS.jl I can’t really decide this, because it depends on what solver GAMS internally chooses. Would be great if I wo…

---

## [Discover which project I am?](https://discourse.julialang.org/t/discover-which-project-i-am/75247)

<div class="topic-metadata">

**Author:** [@whatsthecraic](https://discourse.julialang.org/u/whatsthecraic)\
**Replies:** 2\
**Last updated:** [January 26, 2022, 7:50pm UTC](https://discourse.julialang.org/t/discover-which-project-i-am/75247 "2022-01-26T19:50:28Z")

</div>

Hi there, is there a way to programmatically know which one is my current julia project?

---

## [Hyperparameters to tune/try when getting ITERATION\_LIMIT, NUMERICAL\_ERROR for nonlinear optimization](https://discourse.julialang.org/t/hyperparameters-to-tune-try-when-getting-iteration-limit-numerical-error-for-nonlinear-optimization/75232)

<div class="topic-metadata">

**Author:** [@Kevin\_Shen1](https://discourse.julialang.org/u/Kevin_Shen1)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 7:48pm UTC](https://discourse.julialang.org/t/hyperparameters-to-tune-try-when-getting-iteration-limit-numerical-error-for-nonlinear-optimization/75232 "2022-01-26T19:48:29Z")

</div>

Generally what hyperparameters should one try when getting the above two exit codes? I tried increasing max\_iter to 10,000 which noticeably slowed down the optimization but I’m still getting ITERATION\_LIMIT. One thing I’…

---

## [Getting correct namespacing of subsystems in ModelingToolkit.jl](https://discourse.julialang.org/t/getting-correct-namespacing-of-subsystems-in-modelingtoolkit-jl/75189)

<div class="topic-metadata">

**Author:** [@Antomek](https://discourse.julialang.org/u/Antomek)\
**Replies:** 1\
**Last updated:** [January 26, 2022, 4:54pm UTC](https://discourse.julialang.org/t/getting-correct-namespacing-of-subsystems-in-modelingtoolkit-jl/75189 "2022-01-26T16:54:06Z")

</div>

Hello, I really like ModelingToolkit, but I am running into some issues I hope someone can help me with. My usecase is building lots of similar / identical systems, and connecting them in a specific way (where maybe th…

---

## [Adding package developed in a local folder for use in other environment (for Documenter)](https://discourse.julialang.org/t/adding-package-developed-in-a-local-folder-for-use-in-other-environment-for-documenter/75233)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 2\
**Last updated:** [January 26, 2022, 5:10pm UTC](https://discourse.julialang.org/t/adding-package-developed-in-a-local-folder-for-use-in-other-environment-for-documenter/75233 "2022-01-26T17:10:14Z")

</div>

I’ve created a package that I’m currently developing, specifying a path so that it fits into the overall folder structure (and the overall git structure), using: using PkgTemplates t = Template(; user="username", dir="…

---

## [\[Gtk.jl\] Stuck with GtkTreeView generated with Glade](https://discourse.julialang.org/t/gtk-jl-stuck-with-gtktreeview-generated-with-glade/56328)

<div class="topic-metadata">

**Author:** [@Azzaare](https://discourse.julialang.org/u/Azzaare)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 4:23pm UTC](https://discourse.julialang.org/t/gtk-jl-stuck-with-gtktreeview-generated-with-glade/56328 "2022-01-26T16:23:37Z")

</div>

Hi there, I have started a Gtk.jl project with a base layout generated by Glade. I struggle with assigning a GtkTreeModel to a Glade generated GtkTreeView Even though I could generate the TreeView manually, I feel I a…

---

## [Modelingtoolkitize does not work when parameter is passed](https://discourse.julialang.org/t/modelingtoolkitize-does-not-work-when-parameter-is-passed/75235)

<div class="topic-metadata">

**Author:** [@Shashank](https://discourse.julialang.org/u/Shashank)\
**Replies:** 1\
**Last updated:** [January 26, 2022, 4:19pm UTC](https://discourse.julialang.org/t/modelingtoolkitize-does-not-work-when-parameter-is-passed/75235 "2022-01-26T16:19:45Z")

</div>

I am trying to solve 5 odes in the code below. I see a peculiar problem when I try to use modelingtoolkitize. The code below works if I use size=5 but not if I use the parameter to define size (size=p\[1\]). Why is this ha…

---

## [Julia for Simulating Embedded Systems (HW/SW/Environment)](https://discourse.julialang.org/t/julia-for-simulating-embedded-systems-hw-sw-environment/75130)

<div class="topic-metadata">

**Author:** [@mrkrynmdsco](https://discourse.julialang.org/u/mrkrynmdsco)\
**Replies:** 7\
**Last updated:** [January 26, 2022, 4:17pm UTC](https://discourse.julialang.org/t/julia-for-simulating-embedded-systems-hw-sw-environment/75130 "2022-01-26T16:17:16Z")

</div>

Hi, I’m a Julia starter and I would want to leverage the language in doing cyber-physical simulation in the embedded systems domain. Something similar to what Renode can do but dynamically (if we can think of how to run…

---

## [Error in adding Plots - v.1.6.0 , Win 10](https://discourse.julialang.org/t/error-in-adding-plots-v-1-6-0-win-10/75218)

<div class="topic-metadata">

**Author:** [@abdurrahmanregi](https://discourse.julialang.org/u/abdurrahmanregi)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 4:16pm UTC](https://discourse.julialang.org/t/error-in-adding-plots-v-1-6-0-win-10/75218 "2022-01-26T16:16:21Z")

</div>

Dear all, I am very new to Julia and the Julia Community in this discourse. I am currently having trouble adding the Plots package to my computer. In particular, I do not understand GLib-GIO-WARNING. Reading from simil…

---

## [Problem using subplots in PLotlyJS](https://discourse.julialang.org/t/problem-using-subplots-in-plotlyjs/75226)

<div class="topic-metadata">

**Author:** [@pafloxy](https://discourse.julialang.org/u/pafloxy)\
**Replies:** 1\
**Last updated:** [January 26, 2022, 3:36pm UTC](https://discourse.julialang.org/t/problem-using-subplots-in-plotlyjs/75226 "2022-01-26T15:36:04Z")

</div>

I’m having problem rendering plots in PlotlyJS as follows p1 = plot(tr\[:,1\],tr\[:,2\],tr\[:,3\]) p2 = plot(tr\[:,2\], tr\[:,3\],tr\[:,4\]) p = \[p1; p2\] This code yields the following result

---

## [Willing to make open source contributions, getting started with GSoC](https://discourse.julialang.org/t/willing-to-make-open-source-contributions-getting-started-with-gsoc/75217)

<div class="topic-metadata">

**Author:** [@Vedika](https://discourse.julialang.org/u/Vedika)\
**Replies:** 6\
**Last updated:** [January 26, 2022, 3:17pm UTC](https://discourse.julialang.org/t/willing-to-make-open-source-contributions-getting-started-with-gsoc/75217 "2022-01-26T15:17:37Z")

</div>

Hello everyone! I am Vedika Chandra, a first year student in the Computer Science and Engineering Department at IIT (BHU) Varanasi. I am willing to make open source contributions to the organization but I’m pretty unsure…

---

## [InitError: could not load library "...libcxxwrap\_julia\_stl.dll" on windows](https://discourse.julialang.org/t/initerror-could-not-load-library-libcxxwrap-julia-stl-dll-on-windows/74535)

<div class="topic-metadata">

**Author:** [@hiemstar](https://discourse.julialang.org/u/hiemstar)\
**Replies:** 7\
**Last updated:** [January 26, 2022, 3:07pm UTC](https://discourse.julialang.org/t/initerror-could-not-load-library-libcxxwrap-julia-stl-dll-on-windows/74535 "2022-01-26T15:07:30Z")

</div>

I successfully build libcxxwrap\_julia from source on Windows using cmake -DJulia\_EXECUTABLE="home/AppData/Local/Programs/Julia-1.6.3/bin/julia" .. -G "Visual Studio 16" cmake --build . --config=Release and have added a…

---

## [Standard Package Statistics not found during testing oneAPI](https://discourse.julialang.org/t/standard-package-statistics-not-found-during-testing-oneapi/75225)

<div class="topic-metadata">

**Author:** [@Himbeersternchen](https://discourse.julialang.org/u/Himbeersternchen)\
**Replies:** 3\
**Last updated:** [January 26, 2022, 2:49pm UTC](https://discourse.julialang.org/t/standard-package-statistics-not-found-during-testing-oneapi/75225 "2022-01-26T14:49:55Z")

</div>

Hi all, I am new to julia gpu programming. I just run the steps in readme of oneAPI.jl and when i run: (@v1.5) pkg\> test oneAPI Then I get the error: ERROR: LoadError: LoadError: ArgumentError: Package Statistics no…

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

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