# Latest

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

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

**Page:** 1151

---

## [Problem with using CSV package when set \`limit\` option](https://discourse.julialang.org/t/problem-with-using-csv-package-when-set-limit-option/74724)

<div class="topic-metadata">

**Author:** [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Replies:** 4\
**Last updated:** [January 17, 2022, 7:04am UTC](https://discourse.julialang.org/t/problem-with-using-csv-package-when-set-limit-option/74724 "2022-01-17T07:04:15Z")

</div>

I get ArgumentError: Reference array points beyond the end of the pool when try to sort a data frame, now I know the problem is because I am using CSV.jl, but ideally this shouldn’t happen A minimal example to show the …

---

## [Normal probability plot](https://discourse.julialang.org/t/normal-probability-plot/74663)

<div class="topic-metadata">

**Author:** [@iskyd](https://discourse.julialang.org/u/iskyd)\
**Replies:** 7\
**Last updated:** [January 16, 2022, 12:54am UTC](https://discourse.julialang.org/t/normal-probability-plot/74663 "2022-01-16T00:54:36Z")

</div>

I have a dataframe that contains SalePrice and I’m trying to plot the normal distribution and the normal probability plot. To plot the distribution I’m using Plots jl and StatsPlot and doing something like histogram(tr…

---

## [Test involving thread spawning failed in GitHub Actions](https://discourse.julialang.org/t/test-involving-thread-spawning-failed-in-github-actions/74731)

<div class="topic-metadata">

**Author:** [@lucifer1004](https://discourse.julialang.org/u/lucifer1004)\
**Replies:** 1\
**Last updated:** [January 17, 2022, 5:21am UTC](https://discourse.julialang.org/t/test-involving-thread-spawning-failed-in-github-actions/74731 "2022-01-17T05:21:36Z")

</div>

There is a test in my testset involving thread spawning. @test begin ... repl\_closed = Condition() start\_repl() = begin m.start\_repl(; output = output) notify(repl\_closed) end rep…

---

## [Variables @over dimensions](https://discourse.julialang.org/t/variables-over-dimensions/74730)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 4:42am UTC](https://discourse.julialang.org/t/variables-over-dimensions/74730 "2022-01-17T04:42:05Z")

</div>

Does a package like this exist? Define variables @over dimensions / keys. System then creates the underlying DataFrames. PK-FK relationships remove the need for joins and lookup staetemnts. @over :X = 0:2 #…

---

## [Counting Graphlets or Motifs](https://discourse.julialang.org/t/counting-graphlets-or-motifs/74580)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 1:00am UTC](https://discourse.julialang.org/t/counting-graphlets-or-motifs/74580 "2022-01-17T01:00:22Z")

</div>

Hello everybody, I will appreciate it if you let me know about the existence of a Julia package for counting graphlets or motifs in a graph. All the best, Rasoul

---

## [Pluto: highlighters in PrettyTables not working](https://discourse.julialang.org/t/pluto-highlighters-in-prettytables-not-working/73742)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 4\
**Last updated:** [January 16, 2022, 9:18pm UTC](https://discourse.julialang.org/t/pluto-highlighters-in-prettytables-not-working/73742 "2022-01-16T21:18:58Z")

</div>

Hi, I am using Pluto. I have a matrix, and I want to highlight some of its entries using highlighters in PrettyTables. I can get the matrix printed out in the REPL, but unfortunately, the highlighters seem to be not wor…

---

## [Makie - Plotting hatched polygons in CairoMakie](https://discourse.julialang.org/t/makie-plotting-hatched-polygons-in-cairomakie/74682)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 1\
**Last updated:** [January 16, 2022, 7:50pm UTC](https://discourse.julialang.org/t/makie-plotting-hatched-polygons-in-cairomakie/74682 "2022-01-16T19:50:20Z")

</div>

Hi! I’m looking to reimplement various tools I have using python+matplotlib to julia+makie. Most of these deal with stellar astrophysics. One particular one is a plotting tool meant to post-process simulation data into …

---

## [Output\_padding and Padding\_mode not found in ConvTranspose function](https://discourse.julialang.org/t/output-padding-and-padding-mode-not-found-in-convtranspose-function/74713)

<div class="topic-metadata">

**Author:** [@Emory\_Raphael](https://discourse.julialang.org/u/Emory_Raphael)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 6:37pm UTC](https://discourse.julialang.org/t/output-padding-and-padding-mode-not-found-in-convtranspose-function/74713 "2022-01-16T18:37:36Z")

</div>

Hi, I am attempting to reimplement a version of CycleGan from pytorch to julia. But I have a doubt about how to use a package from Flux. Looking at the example code from Pytorch, there is a property in ConvTranspose2d c…

---

## [\[WIP\] Diff2DRaster.jl - Differentiable 2d graphics rasterizer](https://discourse.julialang.org/t/wip-diff2draster-jl-differentiable-2d-graphics-rasterizer/74710)

<div class="topic-metadata">

**Author:** [@jtkornel](https://discourse.julialang.org/u/jtkornel)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 4:43pm UTC](https://discourse.julialang.org/t/wip-diff2draster-jl-differentiable-2d-graphics-rasterizer/74710 "2022-01-16T16:43:23Z")

</div>

I am working on a differentiable 2D rasterizer Diff2DRaster.jl which uses Zygote to calculate the gradient of geometric parameters, allowing some basic inverse rendering of 2D graphics. The code uses signed distance fun…

---

## [Julia vs Zig surprise](https://discourse.julialang.org/t/julia-vs-zig-surprise/74540)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 16\
**Last updated:** [January 16, 2022, 4:29pm UTC](https://discourse.julialang.org/t/julia-vs-zig-surprise/74540 "2022-01-16T16:29:38Z")

</div>

Recently ran into two performance comparisons including Julia. THE LINEAR ALGEBRA MAPPING PROBLEM. CURRENT STATE OF LINEAR ALGEBRA LANGUAGES AND LIBRARIES. shows that using BLAS for dense matrix operations, all librar…

---

## [Simple tooltip on slider](https://discourse.julialang.org/t/simple-tooltip-on-slider/74706)

<div class="topic-metadata">

**Author:** [@das](https://discourse.julialang.org/u/das)\
**Replies:** 0\
**Last updated:** [January 16, 2022, 3:23pm UTC](https://discourse.julialang.org/t/simple-tooltip-on-slider/74706 "2022-01-16T15:23:42Z")

</div>

I’d be very grateful to learn how to make a simple tooltip when someone hovers over a slider. The gist of my code is: using Gtk, GtkReactive, Gtk.ShortNames notesSlider = slider(1:200, value = 1) hbox = Box(:h) push!…

---

## [Julia TagBot app deprecation warning out of date](https://discourse.julialang.org/t/julia-tagbot-app-deprecation-warning-out-of-date/66141)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [January 16, 2022, 2:44pm UTC](https://discourse.julialang.org/t/julia-tagbot-app-deprecation-warning-out-of-date/66141 "2022-01-16T14:44:09Z")

</div>

go to a Julia package github repo. 2. click Settings. 3 click integrations. 4. click Configure on Julia TagBot. The resulting deprecation warning points to a discourse post that includes a TagBot.yml file. But, this fi…

---

## [ANN: Documenter 0.27](https://discourse.julialang.org/t/ann-documenter-0-27/62726)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 20\
**Last updated:** [January 16, 2022, 2:13pm UTC](https://discourse.julialang.org/t/ann-documenter-0-27/62726 "2022-01-16T14:13:20Z")

</div>

Hey everyone, version 0.27 of Documenter.jl just got released. It brings a bunch of bug fixes and general improvements, but also a new feature: Warnings and SEO for outdated docs Documenter now injects a tiny piece of …

---

## [Difficulties with the step function](https://discourse.julialang.org/t/difficulties-with-the-step-function/74603)

<div class="topic-metadata">

**Author:** [@sbacelar](https://discourse.julialang.org/u/sbacelar)\
**Replies:** 4\
**Last updated:** [January 16, 2022, 2:23pm UTC](https://discourse.julialang.org/t/difficulties-with-the-step-function/74603 "2022-01-16T14:23:01Z")

</div>

Here I have a 6 X 3 array of agents. Each line has agents with the same age: the first line with age 20 and the last with age 25. I think I have no problems with the initialize function. But when I try to advance a step …

---

## [SampledVectors.jl - vectors of limited capacity and unlimited logical length](https://discourse.julialang.org/t/sampledvectors-jl-vectors-of-limited-capacity-and-unlimited-logical-length/74702)

<div class="topic-metadata">

**Author:** [@guoyongzhi](https://discourse.julialang.org/u/guoyongzhi)\
**Replies:** 2\
**Last updated:** [January 16, 2022, 2:07pm UTC](https://discourse.julialang.org/t/sampledvectors-jl-vectors-of-limited-capacity-and-unlimited-logical-length/74702 "2022-01-16T14:07:40Z")

</div>

Hello, everyone. I want to announce a simple and handy package - SampledVectors.jl. SampledVector is of limited capacity, but has unlimited logical length. If a new element pushed leads to the vector exceeding its maxi…

---

## [Newbie DifferentialEquations.jl question](https://discourse.julialang.org/t/newbie-differentialequations-jl-question/74689)

<div class="topic-metadata">

**Author:** [@Mark\_Ettinger](https://discourse.julialang.org/u/Mark_Ettinger)\
**Replies:** 4\
**Last updated:** [January 16, 2022, 10:57am UTC](https://discourse.julialang.org/t/newbie-differentialequations-jl-question/74689 "2022-01-16T10:57:36Z")

</div>

I’m new to Julia and solving ODE’s in Julia and expect I’m overlooking something quite simple. I would expect the two functions below, test\_1! and test\_2! which both define the same simple system of ODEs, to perform ide…

---

## [Using TagBot without the registry](https://discourse.julialang.org/t/using-tagbot-without-the-registry/63528)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 0\
**Last updated:** [June 25, 2021, 4:43am UTC](https://discourse.julialang.org/t/using-tagbot-without-the-registry/63528 "2021-06-25T04:43:08Z")

</div>

I’d like to release versions of my package on GitHub without registering it with Julia’s registry. Ideally, I could commit a version change to my project’s Project.toml, and I’d have a GitHub Action that checks periodica…

---

## ["Elongate" data frame based on column that contains arrays](https://discourse.julialang.org/t/elongate-data-frame-based-on-column-that-contains-arrays/74657)

<div class="topic-metadata">

**Author:** [@candidaorelmex](https://discourse.julialang.org/u/candidaorelmex)\
**Replies:** 2\
**Last updated:** [January 16, 2022, 7:14am UTC](https://discourse.julialang.org/t/elongate-data-frame-based-on-column-that-contains-arrays/74657 "2022-01-16T07:14:17Z")

</div>

Hi everyone, Im looking for a function that surely exists, but I just cant find it. I want to take a data frame, and create additional rows based on one of its columns which has arrays as entries. The idea is to split …

---

## [CxxWrap on windows](https://discourse.julialang.org/t/cxxwrap-on-windows/65178)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 7\
**Last updated:** [January 16, 2022, 5:09am UTC](https://discourse.julialang.org/t/cxxwrap-on-windows/65178 "2022-01-16T05:09:13Z")

</div>

Hi, I am trying to use CxxWrap on windows. I am trying to reproduce the “hello world” on the github page. Questions: 1/ where is #include "jlcxx/jlcxx.hpp" ? 2/ how do I compile to a shared library? ( i have gcc) 3…

---

## [Type stability with variable arguments](https://discourse.julialang.org/t/type-stability-with-variable-arguments/74640)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 16\
**Last updated:** [January 16, 2022, 12:07am UTC](https://discourse.julialang.org/t/type-stability-with-variable-arguments/74640 "2022-01-16T00:07:54Z")

</div>

Is there a way to maintain type stability with variable arguments? Below is some simplified code illustrating the issue. I’d like f(x,y,z) to perform like g(x,y,z): function f( args... ) s = 0.0 for arg in arg…

---

## [Large - Scale Nonlinear Convex Optimization - Performance](https://discourse.julialang.org/t/large-scale-nonlinear-convex-optimization-performance/74676)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 8\
**Last updated:** [January 15, 2022, 9:50pm UTC](https://discourse.julialang.org/t/large-scale-nonlinear-convex-optimization-performance/74676 "2022-01-15T21:50:22Z")

</div>

Hi everybody, I am trying to solve a large-scale nonlinear problem that is convex and has linear inequality constraints. There are 550 unknowns and 25000 linear inequality constraints. I want to get your recommendations …

---

## [How to run a function inside a julia script from bash](https://discourse.julialang.org/t/how-to-run-a-function-inside-a-julia-script-from-bash/74683)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 4\
**Last updated:** [January 15, 2022, 9:26pm UTC](https://discourse.julialang.org/t/how-to-run-a-function-inside-a-julia-script-from-bash/74683 "2022-01-15T21:26:44Z")

</div>

I’m just starting out and can’t seem to find how to run a function inside a julia script from a bash prompt. so if I have a script ( below) print\_it.jl and want to print out “hello world” using the function print\_out …

---

## [Dispatch on size of MVectors](https://discourse.julialang.org/t/dispatch-on-size-of-mvectors/74685)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 1\
**Last updated:** [January 15, 2022, 9:12pm UTC](https://discourse.julialang.org/t/dispatch-on-size-of-mvectors/74685 "2022-01-15T21:12:44Z")

</div>

Hi, Is there a way to do something like : using StaticArrays f(x) = "This is the fallback generic function" f(x::MVector{M,T}) where {T,M\<=10} = "You passed a MVector with less than 10 ellements" ? I have the follow…

---

## [Access matplotlib/PyPlot object of Plots.jl plot](https://discourse.julialang.org/t/access-matplotlib-pyplot-object-of-plots-jl-plot/74422)

<div class="topic-metadata">

**Author:** [@tfiers](https://discourse.julialang.org/u/tfiers)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 8:01pm UTC](https://discourse.julialang.org/t/access-matplotlib-pyplot-object-of-plots-jl-plot/74422 "2022-01-15T20:01:31Z")

</div>

I plot using Plots; pyplot() How can I access the created PyPlot.Figure(PyObject \<Figure size 640x480 with 1 Axes\>) and PyObject \<AxesSubplot:\> ? (I can get those when I use PyPlot directly, but then I’m not using Plots…

---

## [Application of MPC to an existing code of 1-Dimensional heat equation](https://discourse.julialang.org/t/application-of-mpc-to-an-existing-code-of-1-dimensional-heat-equation/74679)

<div class="topic-metadata">

**Author:** [@krusharth.shah](https://discourse.julialang.org/u/krusharth.shah)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 6:06pm UTC](https://discourse.julialang.org/t/application-of-mpc-to-an-existing-code-of-1-dimensional-heat-equation/74679 "2022-01-15T18:06:38Z")

</div>

Hello Julia community. I am working on a heat equation of 1D heat rod on which I want to apply the Model Predictive Controller. I have pasted my edited code with this message. I wanted some help to how can I solve the er…

---

## [ClosedPath AssertionError](https://discourse.julialang.org/t/closedpath-assertionerror/74671)

<div class="topic-metadata">

**Author:** [@fadil](https://discourse.julialang.org/u/fadil)\
**Replies:** 2\
**Last updated:** [January 15, 2022, 4:38pm UTC](https://discourse.julialang.org/t/closedpath-assertionerror/74671 "2022-01-15T16:38:27Z")

</div>

I get the problem when trying to create interior of the ClosedPath. z1 = 0 + 0im; z2 = 3 + 1im; z3 = 2 + 2im; z4 = 1 + 3im; p = ClosedPath(\[Segment(z1, z2), Segment(z2, z3), Segment(z3, z4), Segment(z4, z1)\]) interior…

---

## [Julia temporarily irresponsive on VSCode](https://discourse.julialang.org/t/julia-temporarily-irresponsive-on-vscode/74674)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 4:32pm UTC](https://discourse.julialang.org/t/julia-temporarily-irresponsive-on-vscode/74674 "2022-01-15T16:32:09Z")

</div>

Since 1.7 Julia can sporadically become irresponsive for 10s, before starting an evaluation (after pressing the triangle, and not showing evaluating). No clear pattern, can happen after a fresh start or later. Anyone se…

---

## [Installing ROS.jl error](https://discourse.julialang.org/t/installing-ros-jl-error/74665)

<div class="topic-metadata">

**Author:** [@kobied](https://discourse.julialang.org/u/kobied)\
**Replies:** 3\
**Last updated:** [January 15, 2022, 3:47pm UTC](https://discourse.julialang.org/t/installing-ros-jl-error/74665 "2022-01-15T15:47:13Z")

</div>

Hi, I’m trying to install ROS.jl. After adding the package using pkg\> add ROS and calling using ROS, I get the following error: julia\> using ROS \[ Info: Precompiling ROS \[a492bfac-16cc-4d50-a8b6-f03352b6b563\] \[ Info: S…

---

## [Annotations in groupedbar are broken?](https://discourse.julialang.org/t/annotations-in-groupedbar-are-broken/74418)

<div class="topic-metadata">

**Author:** [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Replies:** 1\
**Last updated:** [January 15, 2022, 2:56pm UTC](https://discourse.julialang.org/t/annotations-in-groupedbar-are-broken/74418 "2022-01-15T14:56:15Z")

</div>

I tried to add some numbers to each bar in groupedbar of StatsPlots and it always repeats the numbers of the first group. The error was reproduced in pgfplotsx, pyplot, and plotly as backends. MWE: x=\["A","A","B","B"\] …

---

## [Interprocess sharable mutex](https://discourse.julialang.org/t/interprocess-sharable-mutex/74662)

<div class="topic-metadata">

**Author:** [@brandsblair2020](https://discourse.julialang.org/u/brandsblair2020)\
**Replies:** 0\
**Last updated:** [January 15, 2022, 11:39am UTC](https://discourse.julialang.org/t/interprocess-sharable-mutex/74662 "2022-01-15T11:39:12Z")

</div>

hello, I couldn’t find inter-process communication package in Julia. For example using mmap and shared lock, etc. I saw some package at https://github.com/emmt/InterProcessCommunication.jl but it is sort of discontinued…

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

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