# Latest

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

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

**Page:** 1284

---

## [\[ANN\] jlrs 0.12: improved compile times, colorful error messages and backtraces, generator tasks, and more!](https://discourse.julialang.org/t/ann-jlrs-0-12-improved-compile-times-colorful-error-messages-and-backtraces-generator-tasks-and-more/67288)

<div class="topic-metadata">

**Author:** [@Taaitaaiger](https://discourse.julialang.org/u/Taaitaaiger)\
**Replies:** 0\
**Last updated:** [August 29, 2021, 3:42pm UTC](https://discourse.julialang.org/t/ann-jlrs-0-12-improved-compile-times-colorful-error-messages-and-backtraces-generator-tasks-and-more/67288 "2021-08-29T15:42:03Z")

</div>

jlrs is a crate that provides access to most of the Julia C API and can be used to embed Julia in Rust applications. Version 0.12 brings a few new improvements, mostly involving compile time and async capabilities. jlrs …

---

## [This tool for understanding repos is BRILLIANT!](https://discourse.julialang.org/t/this-tool-for-understanding-repos-is-brilliant/67226)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [August 28, 2021, 3:52pm UTC](https://discourse.julialang.org/t/this-tool-for-understanding-repos-is-brilliant/67226 "2021-08-28T15:52:50Z")

</div>

Check it out: GitHub Next | Visualizing a Codebase Wouldn’t it be nice if this could be used automatically in Github?

---

## [How does Pluto decide what to show graphically?](https://discourse.julialang.org/t/how-does-pluto-decide-what-to-show-graphically/58033)

<div class="topic-metadata">

**Author:** [@rpmuller](https://discourse.julialang.org/u/rpmuller)\
**Replies:** 15\
**Last updated:** [August 29, 2021, 2:31pm UTC](https://discourse.julialang.org/t/how-does-pluto-decide-what-to-show-graphically/58033 "2021-08-29T14:31:25Z")

</div>

I’m having fun writing all my code in Pluto, and I’d like to add some graphical bells and whistles. In Python/Jupyter, I’ve done this by overloading repr\_html or repr\_svg. Is there something similar in Julia? I see as\_ht…

---

## [Help benchmarking small python code](https://discourse.julialang.org/t/help-benchmarking-small-python-code/67283)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 0\
**Last updated:** [August 29, 2021, 1:56pm UTC](https://discourse.julialang.org/t/help-benchmarking-small-python-code/67283 "2021-08-29T13:56:35Z")

</div>

Disclaimer: I asked now the same thing in the Python discourse forum, and had deleted it here. But anyway, if anyone want’s to help, it will be most welcome. I am trying to compare a neighbour list search to other imple…

---

## [Bug? parse(Integer, ...) calls typemax](https://discourse.julialang.org/t/bug-parse-integer-calls-typemax/67252)

<div class="topic-metadata">

**Author:** [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)\
**Replies:** 15\
**Last updated:** [August 29, 2021, 1:47pm UTC](https://discourse.julialang.org/t/bug-parse-integer-calls-typemax/67252 "2021-08-29T13:47:06Z")

</div>

Is this a bug parse(Integer, "1234567890987654321234567890") ERROR: MethodError: no method matching typemax(::Type{Integer}) Closest candidates are: typemax(!Matched::Union{Dates.DateTime, Type{Dates.DateTime}}) at C:…

---

## [Plotting weighted graphs?](https://discourse.julialang.org/t/plotting-weighted-graphs/67277)

<div class="topic-metadata">

**Author:** [@Tqft](https://discourse.julialang.org/u/Tqft)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 10:52am UTC](https://discourse.julialang.org/t/plotting-weighted-graphs/67277 "2021-08-29T10:52:45Z")

</div>

I’m dealing with weighted graphs (Dynkin diagrams for example) and need a simple way to plot them, preferably even on the terminal (in most examples the user would like to look at there are only a few vertices). Is there…

---

## [Nemo fmpq rationals](https://discourse.julialang.org/t/nemo-fmpq-rationals/67263)

<div class="topic-metadata">

**Author:** [@Gilles\_Dubois](https://discourse.julialang.org/u/Gilles_Dubois)\
**Replies:** 3\
**Last updated:** [August 29, 2021, 12:08pm UTC](https://discourse.julialang.org/t/nemo-fmpq-rationals/67263 "2021-08-29T12:08:51Z")

</div>

Hi everybody, I’m making some experiments with Nemo package. The ZZ (fmtz) representation of integers is perfect. QQ (fmtq) seems quite good too, but … I have some overflow problem. QQ identifies with Rational{BigIn…

---

## [Method inheritance the Julian way](https://discourse.julialang.org/t/method-inheritance-the-julian-way/67198)

<div class="topic-metadata">

**Author:** [@elenev](https://discourse.julialang.org/u/elenev)\
**Replies:** 18\
**Last updated:** [August 29, 2021, 11:18am UTC](https://discourse.julialang.org/t/method-inheritance-the-julian-way/67198 "2021-08-29T11:18:09Z")

</div>

Suppose I am trying to describe the behavior of a Pet. I implemented several methods common to all instances of Pet e.g. eat(pet::Pet) and walk(pet::Pet, towards). I also want to define function greet(pet::Pet, person::…

---

## [I'm blind again, how to supress subplot annotations?](https://discourse.julialang.org/t/im-blind-again-how-to-supress-subplot-annotations/67270)

<div class="topic-metadata">

**Author:** [@trilobit](https://discourse.julialang.org/u/trilobit)\
**Replies:** 4\
**Last updated:** [August 29, 2021, 10:58am UTC](https://discourse.julialang.org/t/im-blind-again-how-to-supress-subplot-annotations/67270 "2021-08-29T10:58:12Z")

</div>

I know it is possible because I’ve made it a long time ago, but I can’t remember - how and the code is deleted. :frowning: But how can I supress the annotation in the right subplot? using Plots data=rand(50) leer=ze…

---

## [How to locate an error?](https://discourse.julialang.org/t/how-to-locate-an-error/67274)

<div class="topic-metadata">

**Author:** [@qdmj](https://discourse.julialang.org/u/qdmj)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 10:37am UTC](https://discourse.julialang.org/t/how-to-locate-an-error/67274 "2021-08-29T10:37:16Z")

</div>

When I run my code, I got an error information like this: InexactError: BigFloat(6.998928493576780755780486487083180691115558147430419921875e-05 - 0.99999998593600791796376370257348753511905670166015625im) Stacktrace: …

---

## [How do I plot data from a dictionary?](https://discourse.julialang.org/t/how-do-i-plot-data-from-a-dictionary/67249)

<div class="topic-metadata">

**Author:** [@hdcpereira](https://discourse.julialang.org/u/hdcpereira)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 12:25am UTC](https://discourse.julialang.org/t/how-do-i-plot-data-from-a-dictionary/67249 "2021-08-29T00:25:40Z")

</div>

Hello there. I’m trying to plot some data from a dictionary like this: Dict{Any, Any} with 7 entries: "C" =\> 13.3147 "C ffast-math" =\> 8.47802 "Python- Built-in" =\> 1937.68 "Python n…

---

## [CxxWrap-based wrapper throws error in running finalizer: ReadOnlyMemoryError()](https://discourse.julialang.org/t/cxxwrap-based-wrapper-throws-error-in-running-finalizer-readonlymemoryerror/67097)

<div class="topic-metadata">

**Author:** [@stemann](https://discourse.julialang.org/u/stemann)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 8:58am UTC](https://discourse.julialang.org/t/cxxwrap-based-wrapper-throws-error-in-running-finalizer-readonlymemoryerror/67097 "2021-08-29T08:58:49Z")

</div>

Hi I am updating a CxxWrap-based wrapper for a C++ library from Julia 1.0 and CxxWrap 0.8.1 - with succesful unit tests - and a dev container - to Julia 1.6 (1.3+) and the latest released CxxWrap, 0.11.2: https://github…

---

## [Df\["col"\] syntax](https://discourse.julialang.org/t/df-col-syntax/67254)

<div class="topic-metadata">

**Author:** [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Replies:** 8\
**Last updated:** [August 29, 2021, 8:46am UTC](https://discourse.julialang.org/t/df-col-syntax/67254 "2021-08-29T08:46:34Z")

</div>

is it possible to have df\[“col”\] syntax in DataFrames.jl? currently it throws error

---

## [Solving difference equation: Part 2](https://discourse.julialang.org/t/solving-difference-equation-part-2/67057)

<div class="topic-metadata">

**Author:** [@MathGuy](https://discourse.julialang.org/u/MathGuy)\
**Replies:** 4\
**Last updated:** [August 29, 2021, 8:43am UTC](https://discourse.julialang.org/t/solving-difference-equation-part-2/67057 "2021-08-29T08:43:02Z")

</div>

In my previous post I was trying to get to reach a conclusion whether I can get more speed in solving a system of difference equation (basically a discrete dynamical system) through a hand-written code. I got useful sug…

---

## [New user: DataFrames or TypedTable](https://discourse.julialang.org/t/new-user-dataframes-or-typedtable/67251)

<div class="topic-metadata">

**Author:** [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Replies:** 8\
**Last updated:** [August 29, 2021, 8:40am UTC](https://discourse.julialang.org/t/new-user-dataframes-or-typedtable/67251 "2021-08-29T08:40:22Z")

</div>

hi Wondering which one is better for data wrangling in general? I want to do some data science things e.g. wrangle, group, aggregate… both ok, but which one is better in long run?

---

## [Range and direct sum decomposition](https://discourse.julialang.org/t/range-and-direct-sum-decomposition/66961)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 3\
**Last updated:** [August 29, 2021, 7:11am UTC](https://discourse.julialang.org/t/range-and-direct-sum-decomposition/66961 "2021-08-29T07:11:35Z")

</div>

Is there anyway to find range of a matrix in julia? is there any way to find direct sum decomposition to two Matrices

---

## [Is there a faster way to filter in dataframes](https://discourse.julialang.org/t/is-there-a-faster-way-to-filter-in-dataframes/67245)

<div class="topic-metadata">

**Author:** [@vtomar](https://discourse.julialang.org/u/vtomar)\
**Replies:** 9\
**Last updated:** [August 29, 2021, 5:19am UTC](https://discourse.julialang.org/t/is-there-a-faster-way-to-filter-in-dataframes/67245 "2021-08-29T05:19:39Z")

</div>

Is there a faster way to filter than the method below when applying filtering across multiple columns of a dataframe. using DataFrames, BenchmarkTools test\_df = DataFrame(a = rand(10000), b = rand(10000), …

---

## [How to broadcast or batch multiply a "batch" of matrices with another matrix on the GPU?](https://discourse.julialang.org/t/how-to-broadcast-or-batch-multiply-a-batch-of-matrices-with-another-matrix-on-the-gpu/67259)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 3:56am UTC](https://discourse.julialang.org/t/how-to-broadcast-or-batch-multiply-a-batch-of-matrices-with-another-matrix-on-the-gpu/67259 "2021-08-29T03:56:06Z")

</div>

I have a 3 dimension tensor, where each “slice” of the tensor is a matrix. I want to multiple each slice by another matrix and store there result in a 3D tensor/array. How do I do that in the most efficient way using t…

---

## [Switch Julia version](https://discourse.julialang.org/t/switch-julia-version/67100)

<div class="topic-metadata">

**Author:** [@Hannah\_Rocio\_Santa\_C](https://discourse.julialang.org/u/Hannah_Rocio_Santa_C)\
**Replies:** 9\
**Last updated:** [August 29, 2021, 3:38am UTC](https://discourse.julialang.org/t/switch-julia-version/67100 "2021-08-29T03:38:20Z")

</div>

Hello, I’ve been using Julia 1.0, but have now run into a package that requires 1.1 (Cxx.jl), so I downloaded it, but don’t know how to set up Julia Pro to use it. I would like to still be able to use version 1.0, so I …

---

## [Question about the design of the language](https://discourse.julialang.org/t/question-about-the-design-of-the-language/67248)

<div class="topic-metadata">

**Author:** [@Kyando](https://discourse.julialang.org/u/Kyando)\
**Replies:** 2\
**Last updated:** [August 29, 2021, 2:15am UTC](https://discourse.julialang.org/t/question-about-the-design-of-the-language/67248 "2021-08-29T02:15:56Z")

</div>

I was messing around with the language and realized string concat must be done with string(x...) any reason why +(x...) = string(x...) is not in the default libs?

---

## [How to view which model the variable belongs to?](https://discourse.julialang.org/t/how-to-view-which-model-the-variable-belongs-to/67233)

<div class="topic-metadata">

**Author:** [@iiitr](https://discourse.julialang.org/u/iiitr)\
**Replies:** 4\
**Last updated:** [August 29, 2021, 1:59am UTC](https://discourse.julialang.org/t/how-to-view-which-model-the-variable-belongs-to/67233 "2021-08-29T01:59:17Z")

</div>

Hi, all Here, I create two variables which belong to two different model, respectively, like: m1 = Model() m2 = Model() @variable(m1, x) @variable(m2, y) How can I know x and y belong to which model? I already kno…

---

## [Gtk Combo Box](https://discourse.julialang.org/t/gtk-combo-box/67230)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 0\
**Last updated:** [August 28, 2021, 3:53pm UTC](https://discourse.julialang.org/t/gtk-combo-box/67230 "2021-08-28T15:53:46Z")

</div>

Throwing in the towel. I am trying to make a data entry form for a MariaDB database. I designed the form in Glade and used Gtk.jl:GtkBuilder to create the form through Julia. What I want to have a is combo box that is…

---

## [Allocations of @threads](https://discourse.julialang.org/t/allocations-of-threads/67047)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 10\
**Last updated:** [August 28, 2021, 10:27pm UTC](https://discourse.julialang.org/t/allocations-of-threads/67047 "2021-08-28T22:27:10Z")

</div>

In simulations, one usually has a external loop which runs over time steps, and inner loops that compute, for example, interactions between particles. These last loops are parallelized. Therefore, one has something as: j…

---

## [Multithreading balancing](https://discourse.julialang.org/t/multithreading-balancing/67220)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 6\
**Last updated:** [August 28, 2021, 10:13pm UTC](https://discourse.julialang.org/t/multithreading-balancing/67220 "2021-08-28T22:13:52Z")

</div>

Consider the following scenario (in local scope): function .... @threads for i ∈ 1:128 y\[i\] = dosomethingexpensive( x\[i\] ) end end Say I’m running this on a machine with 32 physical cores. Then often,…

---

## [Mathlink.jl installation issue on Windows 10](https://discourse.julialang.org/t/mathlink-jl-installation-issue-on-windows-10/67217)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 2\
**Last updated:** [August 28, 2021, 7:56pm UTC](https://discourse.julialang.org/t/mathlink-jl-installation-issue-on-windows-10/67217 "2021-08-28T19:56:25Z")

</div>

Dear All, I am trying to install MathLink.jl on Windows 10. I have a full version of Mathematica 12.3, but I do not think it contains any “libML64.dll/ libML32.dll” file as mentioned in ReadMe. The closest is ml64i4.dll …

---

## [foo(T) where T # in Vector{DataType}](https://discourse.julialang.org/t/foo-t-where-t-in-vector-datatype/67243)

<div class="topic-metadata">

**Author:** [@andrey2185](https://discourse.julialang.org/u/andrey2185)\
**Replies:** 3\
**Last updated:** [August 28, 2021, 7:49pm UTC](https://discourse.julialang.org/t/foo-t-where-t-in-vector-datatype/67243 "2021-08-28T19:49:46Z")

</div>

Hellow, how can i write a function like this: vector\_data\_type = \[ Int64, Int32, Int16, \] foo(T) where T # in vector\_data\_type

---

## [Feature request: REPL mode for debugging](https://discourse.julialang.org/t/feature-request-repl-mode-for-debugging/66926)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 3\
**Last updated:** [August 28, 2021, 6:38pm UTC](https://discourse.julialang.org/t/feature-request-repl-mode-for-debugging/66926 "2021-08-28T18:38:48Z")

</div>

Wouldn’t it be great to have a REPL mode that’s optimised for debugging rather than ultimate performance? Or maybe it has some experimental features that can be turned on at the user’s own risk? Some features that might …

---

## [LoopVectorization: @turbo performs worse than @inbounds on trivial loop](https://discourse.julialang.org/t/loopvectorization-turbo-performs-worse-than-inbounds-on-trivial-loop/66884)

<div class="topic-metadata">

**Author:** [@kevinsa5](https://discourse.julialang.org/u/kevinsa5)\
**Replies:** 9\
**Last updated:** [August 28, 2021, 5:50pm UTC](https://discourse.julialang.org/t/loopvectorization-turbo-performs-worse-than-inbounds-on-trivial-loop/66884 "2021-08-28T17:50:24Z")

</div>

I am a long-time admirer of julia who is finally getting serious about learning it. I am comparing the timings when applying @turbo, @inbounds, and @simd to the loop in a simple element-wise multiplication function and …

---

## [Figure not defined](https://discourse.julialang.org/t/figure-not-defined/67235)

<div class="topic-metadata">

**Author:** [@vtomar](https://discourse.julialang.org/u/vtomar)\
**Replies:** 7\
**Last updated:** [August 28, 2021, 5:31pm UTC](https://discourse.julialang.org/t/figure-not-defined/67235 "2021-08-28T17:31:28Z")

</div>

I was following the JuliaCon 2021 youtube video: Deep dive with makie layout and I ran into problems with the very first line of code that I wrote to use the makie package: using CairoMakie using CairoMakie.FileIO f …

---

## [Capture the current definition of a method](https://discourse.julialang.org/t/capture-the-current-definition-of-a-method/67215)

<div class="topic-metadata">

**Author:** [@ylvain](https://discourse.julialang.org/u/ylvain)\
**Replies:** 26\
**Last updated:** [August 28, 2021, 4:53pm UTC](https://discourse.julialang.org/t/capture-the-current-definition-of-a-method/67215 "2021-08-28T16:53:15Z")

</div>

How can I capture the current definition of a method in order to be able to invoke it even if it is later redefined ? That is, how to defeat both the standard method redefinition and Revise ? I’ve looked at the doc, goo…

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

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