# Latest

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

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

**Page:** 733

---

## [Solving two non-linear equations with two variables. Any suggestion?](https://discourse.julialang.org/t/solving-two-non-linear-equations-with-two-variables-any-suggestion/97190)

<div class="topic-metadata">

**Author:** [@Zerosum](https://discourse.julialang.org/u/Zerosum)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 10:43pm UTC](https://discourse.julialang.org/t/solving-two-non-linear-equations-with-two-variables-any-suggestion/97190 "2023-04-06T22:43:42Z")

</div>

I’m trying to solve a system of two non-linear equations with two variables. I understand I can use the NLsolve package, but I was wondering if there is any dimension I can improve to get faster speed. Suppose I have t…

---

## [Julia to SMP2](https://discourse.julialang.org/t/julia-to-smp2/97178)

<div class="topic-metadata">

**Author:** [@xlxs4](https://discourse.julialang.org/u/xlxs4)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 1:38pm UTC](https://discourse.julialang.org/t/julia-to-smp2/97178 "2023-04-06T13:38:48Z")

</div>

I’m about to start working on a space mission and part of what I’ll be doing is create models that can plug in simulator pipelines that take SMP2 as input. There’s solutions such as MOSAIC that transfers Simulink models …

---

## [Nesting and unnesting DataFrames](https://discourse.julialang.org/t/nesting-and-unnesting-dataframes/95722)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 10\
**Last updated:** [April 6, 2023, 9:48pm UTC](https://discourse.julialang.org/t/nesting-and-unnesting-dataframes/95722 "2023-04-06T21:48:53Z")

</div>

Dear Julia community, I wonder if one can reproduce the nest and unnest functionality of TidyR. I have seen the nice related blog Nesting and unnesting columns in DataFrames.jl | Blog by Bogumił Kamiński, which however …

---

## [Fun "interview" question solved easily in Julia](https://discourse.julialang.org/t/fun-interview-question-solved-easily-in-julia/96693)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 20\
**Last updated:** [April 6, 2023, 9:40pm UTC](https://discourse.julialang.org/t/fun-interview-question-solved-easily-in-julia/96693 "2023-04-06T21:40:33Z")

</div>

Just thought this would be fun to share. The question is: “What is the sum of all 5 digit numbers formed using the digits 1,2,3,4 and 5 without repetition.” So numbers like 12345 and 32415 but not 11123. My solution wa…

---

## [Can the two sides of a mesh have a different color (e.g., origami paper)?](https://discourse.julialang.org/t/can-the-two-sides-of-a-mesh-have-a-different-color-e-g-origami-paper/97118)

<div class="topic-metadata">

**Author:** [@g2g](https://discourse.julialang.org/u/g2g)\
**Replies:** 5\
**Last updated:** [April 6, 2023, 5:20pm UTC](https://discourse.julialang.org/t/can-the-two-sides-of-a-mesh-have-a-different-color-e-g-origami-paper/97118 "2023-04-06T17:20:47Z")

</div>

\# fold.jl # MWE of moving mesh # # All the paper test sheet's vertices and faces are defined # according to the wavefront 3D object file format by the # following six lines of text: #= v -2.0 0 2.0 v -2.0 0 -2.0 v 2.…

---

## [Pkg test run only one testset](https://discourse.julialang.org/t/pkg-test-run-only-one-testset/96356)

<div class="topic-metadata">

**Author:** [@iskyd](https://discourse.julialang.org/u/iskyd)\
**Replies:** 8\
**Last updated:** [April 6, 2023, 3:49pm UTC](https://discourse.julialang.org/t/pkg-test-run-only-one-testset/96356 "2023-04-06T15:49:38Z")

</div>

I’m developing a package and I have a test folder with a runtest.jl file and other test files. The runtest.jl is the following cd(@\_\_DIR\_\_) using Pkg using Test, TestSetExtensions using Wasabi using Mocking @testset…

---

## [Fastest sorted container (search) challenge, and new 2021 search algorithm](https://discourse.julialang.org/t/fastest-sorted-container-search-challenge-and-new-2021-search-algorithm/97076)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [April 4, 2023, 5:54pm UTC](https://discourse.julialang.org/t/fastest-sorted-container-search-challenge-and-new-2021-search-algorithm/97076 "2023-04-04T17:54:34Z")

</div>

Julia provides binary search, of sorted arrays. But simple sorted arrays aren’t the best data structure (always). Before going into that, binary search is O(log n), there’s interpolation search for O(log log n), but the…

---

## [Avoiding numpy with PythonCall](https://discourse.julialang.org/t/avoiding-numpy-with-pythoncall/93505)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 6\
**Last updated:** [April 6, 2023, 3:06pm UTC](https://discourse.julialang.org/t/avoiding-numpy-with-pythoncall/93505 "2023-04-06T15:06:18Z")

</div>

I’m trying to avoid using numpy in the following MWE. The main goal here is to construct the object-points argument, objectPoints, needed in OpenCV’s camera calibration function, calibrateCamera. The following creates …

---

## [Allocations with write(::TCPSocket, x)](https://discourse.julialang.org/t/allocations-with-write-tcpsocket-x/68865)

<div class="topic-metadata">

**Author:** [@DatName](https://discourse.julialang.org/u/DatName)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 2:56pm UTC](https://discourse.julialang.org/t/allocations-with-write-tcpsocket-x/68865 "2023-04-06T14:56:56Z")

</div>

Hi. I am investigating the possibility of using TCPSockets without any dynamic allocations. It seems that plain @allocated write(soc::TCPSocket, x) always allocates (after compilation). --track-allocation=all points …

---

## [Help with Weave.jl](https://discourse.julialang.org/t/help-with-weave-jl/97177)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [April 6, 2023, 2:42pm UTC](https://discourse.julialang.org/t/help-with-weave-jl/97177 "2023-04-06T14:42:51Z")

</div>

I’m trying to test out Weave.jl and it works fine when converting to .html, but I can’t get it to convert to .pdf. My project directory looks like this: WeaveTest/ -src/ --main.jl --test.jmd In main.jl, I am calling we…

---

## [Why RSS is much bigger than GC live?](https://discourse.julialang.org/t/why-rss-is-much-bigger-than-gc-live/97175)

<div class="topic-metadata">

**Author:** [@zhijie\_sun](https://discourse.julialang.org/u/zhijie_sun)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 12:43pm UTC](https://discourse.julialang.org/t/why-rss-is-much-bigger-than-gc-live/97175 "2023-04-06T12:43:32Z")

</div>

I used the function mentioned herehttps://discourse.julialang.org/t/how-to-track-total-memory-usage-of-julia-process-over-time/91167/2, meminfo\_julia() and meminfo\_procfs() to get RSS and GC\_live memory, but I found my p…

---

## [Failed to precompile Singular](https://discourse.julialang.org/t/failed-to-precompile-singular/97172)

<div class="topic-metadata">

**Author:** [@Zaineb\_Belafia](https://discourse.julialang.org/u/Zaineb_Belafia)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 2:22pm UTC](https://discourse.julialang.org/t/failed-to-precompile-singular/97172 "2023-04-06T14:22:47Z")

</div>

Hi, I’m new to Julia and having troubles with the compilation of Singular. was able to add the package but it does not precompile. I am far from beeing a computer expert, so I would really much appreciate your help! T…

---

## [PlotlyJS + LaTeXStrings error](https://discourse.julialang.org/t/plotlyjs-latexstrings-error/97054)

<div class="topic-metadata">

**Author:** [@rgouveiamendes](https://discourse.julialang.org/u/rgouveiamendes)\
**Replies:** 9\
**Last updated:** [April 6, 2023, 2:01pm UTC](https://discourse.julialang.org/t/plotlyjs-latexstrings-error/97054 "2023-04-06T14:01:50Z")

</div>

Hi everyone, I am having trouble producing a plot using PlotlyJS and LaTeXStrings. Here it is a simplified version of the code: using DataFrames, PlotlyJS, LaTeXStrings df = DataFrame( country = \[repeat(\["Portuga…

---

## [Question on manual subsection: Extracting the type parameter from a super-type](https://discourse.julialang.org/t/question-on-manual-subsection-extracting-the-type-parameter-from-a-super-type/97137)

<div class="topic-metadata">

**Author:** [@aafsar](https://discourse.julialang.org/u/aafsar)\
**Replies:** 4\
**Last updated:** [April 6, 2023, 12:10pm UTC](https://discourse.julialang.org/t/question-on-manual-subsection-extracting-the-type-parameter-from-a-super-type/97137 "2023-04-06T12:10:41Z")

</div>

Question: One correct and two wrong code templates for extracting the type parameter from a super-type is provided in this subsection of the manual. I don’t understand how the “correct template” doesn’t fail for the arg…

---

## [What are the major benefits of using turing over DifferentialEvolutionMCMC Package?](https://discourse.julialang.org/t/what-are-the-major-benefits-of-using-turing-over-differentialevolutionmcmc-package/97161)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 4\
**Last updated:** [April 6, 2023, 11:57am UTC](https://discourse.julialang.org/t/what-are-the-major-benefits-of-using-turing-over-differentialevolutionmcmc-package/97161 "2023-04-06T11:57:22Z")

</div>

I have this question because whenever I look in forum question and issues its always related to Turing and rarely to DifferentialEvolutionMCMC which seems like people are mostly using Turing over DifferentialEvolutionMC…

---

## [What is Julia named after?](https://discourse.julialang.org/t/what-is-julia-named-after/67720)

<div class="topic-metadata">

**Author:** [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Replies:** 46\
**Last updated:** [April 6, 2023, 11:50am UTC](https://discourse.julialang.org/t/what-is-julia-named-after/67720 "2023-04-06T11:50:21Z")

</div>

I know Python is named after Monty Python, then evolved into a snake, but I’ve seen no mention of Julia. Is it a name, an acronym, or just made up?

---

## [\`FillArrays.jl\` is going to 1.0](https://discourse.julialang.org/t/fillarrays-jl-is-going-to-1-0/96837)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 9\
**Last updated:** [March 31, 2023, 10:00am UTC](https://discourse.julialang.org/t/fillarrays-jl-is-going-to-1-0/96837 "2023-03-31T10:00:00Z")

</div>

FillArrays.jl that has 99 direct dependents and 1542 indirect dependents is going to v1.0, and most of the changes are already included in the release-1.0 branch (see the changes vs master). It’s unlikely to be breaking …

---

## [UndefVarError when using GeoRDD in julia](https://discourse.julialang.org/t/undefvarerror-when-using-geordd-in-julia/97159)

<div class="topic-metadata">

**Author:** [@nirong](https://discourse.julialang.org/u/nirong)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 10:20am UTC](https://discourse.julialang.org/t/undefvarerror-when-using-geordd-in-julia/97159 "2023-04-06T10:20:51Z")

</div>

i am using julia1.8.5 version. when i run “Pkg.precompile()” in julia, there is a error “Failed to precompile GeoRDD”, specificly “LoadError: UndefVarError: xcoord not defined”. Then I run"\]add GitHub - maximerischard/…

---

## [UndefVarError: categorical! in Julia](https://discourse.julialang.org/t/undefvarerror-categorical-in-julia/97160)

<div class="topic-metadata">

**Author:** [@nirong](https://discourse.julialang.org/u/nirong)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 10:09am UTC](https://discourse.julialang.org/t/undefvarerror-categorical-in-julia/97160 "2023-04-06T10:09:28Z")

</div>

i am using julia version1.8.5. I define a variable "geordd\_df“ with DataFrame function. There is a ”UndefVarError: categorical! not defined“ when i run “categorical!(geordd\_df, :categ)” in julia . can anyone help…

---

## [Set up Continuous Integration on GitHub for package using PyCall.jl](https://discourse.julialang.org/t/set-up-continuous-integration-on-github-for-package-using-pycall-jl/97164)

<div class="topic-metadata">

**Author:** [@JordiBolibar](https://discourse.julialang.org/u/JordiBolibar)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 9:41am UTC](https://discourse.julialang.org/t/set-up-continuous-integration-on-github-for-package-using-pycall-jl/97164 "2023-04-06T09:41:47Z")

</div>

Hi, I’m trying to setup CI for a package of mine using PyCall.jl. I’m using several Python libraries, some installed with pip and others using miniconda. This means that in order to manage this I’m using a conda environm…

---

## [Automated "marking"/"feedback" for tasks in a Julia course](https://discourse.julialang.org/t/automated-marking-feedback-for-tasks-in-a-julia-course/97117)

<div class="topic-metadata">

**Author:** [@TS-CUBED](https://discourse.julialang.org/u/TS-CUBED)\
**Replies:** 5\
**Last updated:** [April 6, 2023, 9:33am UTC](https://discourse.julialang.org/t/automated-marking-feedback-for-tasks-in-a-julia-course/97117 "2023-04-06T09:33:24Z")

</div>

I’m looking at introducing Julia as an alternative to Matlab in our undergraduate teaching. Matlab has this neat feature in their introduction course, where the tasks are automatically checked and the student can try ag…

---

## [Interactive Polar heatmap?](https://discourse.julialang.org/t/interactive-polar-heatmap/97157)

<div class="topic-metadata">

**Author:** [@Ertyk](https://discourse.julialang.org/u/Ertyk)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 8:46am UTC](https://discourse.julialang.org/t/interactive-polar-heatmap/97157 "2023-04-06T08:46:03Z")

</div>

Hi, What options are there for interactive polar heatmaps in Julia? Is there any examples creating something like this in e.g. GLMakie? https://docs.juliaplots.org/latest/gallery/gr/generated/gr-ref049/#gr\_ref049

---

## [Does dict's dict cause memory leak?](https://discourse.julialang.org/t/does-dicts-dict-cause-memory-leak/97050)

<div class="topic-metadata">

**Author:** [@zhijie\_sun](https://discourse.julialang.org/u/zhijie_sun)\
**Replies:** 10\
**Last updated:** [April 6, 2023, 8:16am UTC](https://discourse.julialang.org/t/does-dicts-dict-cause-memory-leak/97050 "2023-04-06T08:16:16Z")

</div>

I tried use dict of dict to imitate the sparse matrix’s storage mode, the structure is like Dict{Int64, Dict{Int64, Float64}}, and the outer dict’s key is the colum index of sparse matrix, and inner dict’s key is row ind…

---

## [Query - column names with spaces](https://discourse.julialang.org/t/query-column-names-with-spaces/56232)

<div class="topic-metadata">

**Author:** [@statspy](https://discourse.julialang.org/u/statspy)\
**Replies:** 5\
**Last updated:** [April 6, 2023, 8:11am UTC](https://discourse.julialang.org/t/query-column-names-with-spaces/56232 "2023-04-06T08:11:15Z")

</div>

I have this df: d = DataFrame(Symbol("Full Name") =\> \["Mike","Paul","Andres"\], Symbol("Age") =\> 10:12) so far so good. Now i want to do this Query: using Query @from i in d begin @where i.Age == 11 @select {i."Full Name…

---

## [How to Draw Circuits using Circuits.jl](https://discourse.julialang.org/t/how-to-draw-circuits-using-circuits-jl/87472)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 3\
**Last updated:** [April 6, 2023, 6:25am UTC](https://discourse.julialang.org/t/how-to-draw-circuits-using-circuits-jl/87472 "2023-04-06T06:25:13Z")

</div>

Hi all, I want to draw this I want to try Circuits.jl and try simple example first, but unable to use it, I do not know how to plot it, or is my code is wrong… using Circuits, Plots c = @circuit a:(0,0) --\> Inducto…

---

## [BACnet Stack](https://discourse.julialang.org/t/bacnet-stack/97152)

<div class="topic-metadata">

**Author:** [@Pascal\_Buhler](https://discourse.julialang.org/u/Pascal_Buhler)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 6:13am UTC](https://discourse.julialang.org/t/bacnet-stack/97152 "2023-04-06T06:13:37Z")

</div>

I tried to read a BACnet Object Value from the Stack by using CMD and REPL. On REPL i get the value but u doesent seem to take the value in count u=read(run(cmd /c set BACNET\_IFACE=192.168.10.22 '&&' C:\\\\Users\\\\buehlpas…

---

## [Tick label can not display normally](https://discourse.julialang.org/t/tick-label-can-not-display-normally/97150)

<div class="topic-metadata">

**Author:** [@quantum](https://discourse.julialang.org/u/quantum)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 6:13am UTC](https://discourse.julialang.org/t/tick-label-can-not-display-normally/97150 "2023-04-06T06:13:19Z")

</div>

I change the font of ticks supported by GR: Fonts — GR Framework 0.72.9 documentation. Since the default backend for plots package is GR, I think I can use these fonts. However, when I save the figure as pdf file, some s…

---

## [Why I can't find root for transcendental function with SymPy?](https://discourse.julialang.org/t/why-i-cant-find-root-for-transcendental-function-with-sympy/97147)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 0\
**Last updated:** [April 6, 2023, 3:53am UTC](https://discourse.julialang.org/t/why-i-cant-find-root-for-transcendental-function-with-sympy/97147 "2023-04-06T03:53:23Z")

</div>

Hi all, I just want to find the solution / the root for exponential / transcendental function this is the code very simple: using SymPy @syms t solve(15t - 75.8\*exp(-32t/15) + 1150.3~5000,t) it returns Any\[\] , it sh…

---

## [How to Reflect Tangent Line toward $y=x$ axis with CalculusWithJulia?](https://discourse.julialang.org/t/how-to-reflect-tangent-line-toward-y-x-axis-with-calculuswithjulia/95712)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 5\
**Last updated:** [April 6, 2023, 3:49am UTC](https://discourse.julialang.org/t/how-to-reflect-tangent-line-toward-y-x-axis-with-calculuswithjulia/95712 "2023-04-06T03:49:26Z")

</div>

Hi all, I am able to plot reflection of a curve toward y=x axis. But how to reflect a tangent line that went through a certain point to that curve as well? I want a tangent line plotted at (d,c). using Plots, LaTeXStr…

---

## [Adjoint for threaded map (ThreadsX.map)](https://discourse.julialang.org/t/adjoint-for-threaded-map-threadsx-map/97142)

<div class="topic-metadata">

**Author:** [@mfishelson](https://discourse.julialang.org/u/mfishelson)\
**Replies:** 1\
**Last updated:** [April 6, 2023, 2:02am UTC](https://discourse.julialang.org/t/adjoint-for-threaded-map-threadsx-map/97142 "2023-04-06T02:02:43Z")

</div>

I am using Zygote to compute the gradient of a function which calls map(f, x), where applying f to each element of the array x is slow. I would like to speed up the gradient computation by using a threaded map such as Th…

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

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