# Latest

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

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

**Page:** 1402

---

## [JuliaLang on Twitch live now](https://discourse.julialang.org/t/julialang-on-twitch-live-now/60592)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 3:41pm UTC](https://discourse.julialang.org/t/julialang-on-twitch-live-now/60592 "2021-05-05T15:41:15Z")

</div>

Should be better advertized! Twitch

---

## [Doubled memory usage and computation time after update to 1.6.1 from 1.5.4](https://discourse.julialang.org/t/doubled-memory-usage-and-computation-time-after-update-to-1-6-1-from-1-5-4/60588)

<div class="topic-metadata">

**Author:** [@sebastianpech](https://discourse.julialang.org/u/sebastianpech)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 3:04pm UTC](https://discourse.julialang.org/t/doubled-memory-usage-and-computation-time-after-update-to-1-6-1-from-1-5-4/60588 "2021-05-05T15:04:54Z")

</div>

Hi, today I updated a quite large code base to julia 1.6. I noticed that both computation time and memory usage (measured with TimerOutputs.jl) doubled. I wasn’t able to produce a MWE yet, however, I found that accessin…

---

## [Bug with dot() reported by Julia console](https://discourse.julialang.org/t/bug-with-dot-reported-by-julia-console/60570)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 3\
**Last updated:** [May 5, 2021, 3:04pm UTC](https://discourse.julialang.org/t/bug-with-dot-reported-by-julia-console/60570 "2021-05-05T15:04:43Z")

</div>

I have found that the simple operation of dot product using dot() is leading to a the julia program (v1.5.3) crashing. I think it is a serious bug. The following simple command using LinearAlgebra; N = 20000; t1= rand(C…

---

## [@cfunction help](https://discourse.julialang.org/t/cfunction-help/60263)

<div class="topic-metadata">

**Author:** [@bramtayl](https://discourse.julialang.org/u/bramtayl)\
**Replies:** 24\
**Last updated:** [May 5, 2021, 2:54pm UTC](https://discourse.julialang.org/t/cfunction-help/60263 "2021-05-05T14:54:58Z")

</div>

Hello, I have a tricky question. Let me know if there’s anything I can do to help explain etc. I’m trying to make a fork of PortAudio that uses callback functions. You can see my progress here: When I run the follow…

---

## [Performance of DataFrames' subset and ByRow](https://discourse.julialang.org/t/performance-of-dataframes-subset-and-byrow/60577)

<div class="topic-metadata">

**Author:** [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Replies:** 10\
**Last updated:** [May 5, 2021, 2:31pm UTC](https://discourse.julialang.org/t/performance-of-dataframes-subset-and-byrow/60577 "2021-05-05T14:31:04Z")

</div>

What’s the difference between ByRow and an anonyomous function like julia\> subset(df, :x =\> (x -\> x .== 0)) 3×1 DataFrame Row │ x │ Float64 ─────┼───────── 1 │ 0.0 2 │ 0.0 3 │ 0.0

---

## [Rdkit in Julia](https://discourse.julialang.org/t/rdkit-in-julia/60582)

<div class="topic-metadata">

**Author:** [@Modatu](https://discourse.julialang.org/u/Modatu)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 2:02pm UTC](https://discourse.julialang.org/t/rdkit-in-julia/60582 "2021-05-05T14:02:23Z")

</div>

Hey Julia-Chemistry community, this could be of interest to all of us: P.S.: I am not the author, I just found the article.

---

## [Using Latex features while plotting in Julia (using Jupyter Notebook)](https://discourse.julialang.org/t/using-latex-features-while-plotting-in-julia-using-jupyter-notebook/56668)

<div class="topic-metadata">

**Author:** [@Purvaash](https://discourse.julialang.org/u/Purvaash)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 1:27pm UTC](https://discourse.julialang.org/t/using-latex-features-while-plotting-in-julia-using-jupyter-notebook/56668 "2021-05-05T13:27:07Z")

</div>

My code to plot with Latex features is, rc(“text”, usetex=true) rc(“font”, family=“serif”) Plot errorbar(ω, A, yerr=ΔA, fmt=“.”, label=“Messdaten”) plot(ω, model(ω, γ), label=“Fit”) title(“Schwingungsamplitude vs. M…

---

## [Problems upgrading Makie](https://discourse.julialang.org/t/problems-upgrading-makie/60571)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 3\
**Last updated:** [May 5, 2021, 12:47pm UTC](https://discourse.julialang.org/t/problems-upgrading-makie/60571 "2021-05-05T12:47:25Z")

</div>

Hi all I’m currently losing the will to live with this. Though I’m probably just overlooking something obvious. I’m trying to update Makie.jl to the latest version. But I get the following error: ERROR: Unsatisfiable r…

---

## [Question about structural\_simplify in ModelingToolkit](https://discourse.julialang.org/t/question-about-structural-simplify-in-modelingtoolkit/60568)

<div class="topic-metadata">

**Author:** [@CodeLenz](https://discourse.julialang.org/u/CodeLenz)\
**Replies:** 3\
**Last updated:** [May 5, 2021, 12:25pm UTC](https://discourse.julialang.org/t/question-about-structural-simplify-in-modelingtoolkit/60568 "2021-05-05T12:25:39Z")

</div>

It should be something simple, but I really cannot spot the error. Lets suppose I want to solve a simple mass-spring-damper problem m D2(x) + c D(x) + k x = f(t) Following MTK documentation I can use @parameters …

---

## [\[Deadline 15 June 2021\] 2y post-doc on {forest, carbon} using {analysis, modelling, LCA} at {INRAE, BETA UMR} in {Nancy,France, Montpellier, France or Dijon, France}](https://discourse.julialang.org/t/deadline-15-june-2021-2y-post-doc-on-forest-carbon-using-analysis-modelling-lca-at-inrae-beta-umr-in-nancy-france-montpellier-france-or-dijon-france/60569)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 12:03pm UTC](https://discourse.julialang.org/t/deadline-15-june-2021-2y-post-doc-on-forest-carbon-using-analysis-modelling-lca-at-inrae-beta-umr-in-nancy-france-montpellier-france-or-dijon-france/60569 "2021-05-05T12:03:30Z")

</div>

A 2-years position is open for a modeller to analyse and integrate several models (a Life Cycle Analysis one, a forest-growth one and a forest-sector one) and provide new evidences on the role of forest sector in climate…

---

## [\[ANN\] IBMQClient.jl - the IBM Quantum Experience REST API wrapper in native Julia](https://discourse.julialang.org/t/ann-ibmqclient-jl-the-ibm-quantum-experience-rest-api-wrapper-in-native-julia/60566)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 0\
**Last updated:** [May 5, 2021, 10:28am UTC](https://discourse.julialang.org/t/ann-ibmqclient-jl-the-ibm-quantum-experience-rest-api-wrapper-in-native-julia/60566 "2021-05-05T10:28:21Z")

</div>

I’m pleased to announce the IBM Q REST API wrapper in native Julia based on its official implementation in qiskit. https://github.com/QuantumBFS/IBMQClient.jl This is a component of the coming YaoLang.jl package, which…

---

## [DataFrames vs ndsparse for indexed data](https://discourse.julialang.org/t/dataframes-vs-ndsparse-for-indexed-data/60553)

<div class="topic-metadata">

**Author:** [@jekyllstein](https://discourse.julialang.org/u/jekyllstein)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 9:44am UTC](https://discourse.julialang.org/t/dataframes-vs-ndsparse-for-indexed-data/60553 "2021-05-05T09:44:36Z")

</div>

With the release of DataFrames 1.0 I was curious about the performance benefits of accessing data with it vs something like an indexed table. The example would be having tabular data with a column and wanting to return …

---

## [How often is Loss Function executed](https://discourse.julialang.org/t/how-often-is-loss-function-executed/60391)

<div class="topic-metadata">

**Author:** [@hardy](https://discourse.julialang.org/u/hardy)\
**Replies:** 11\
**Last updated:** [May 5, 2021, 9:28am UTC](https://discourse.julialang.org/t/how-often-is-loss-function-executed/60391 "2021-05-05T09:28:03Z")

</div>

I am beginner in Julia and try to understand the basics. I have an ODE problem with 2 parameters (PI control). These are to be learned from a measurement series. My loss function looks like this: function loss(p) …

---

## [What recommended tools to publish user manual in GitHub WiKi](https://discourse.julialang.org/t/what-recommended-tools-to-publish-user-manual-in-github-wiki/60504)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 12\
**Last updated:** [May 5, 2021, 9:00am UTC](https://discourse.julialang.org/t/what-recommended-tools-to-publish-user-manual-in-github-wiki/60504 "2021-05-05T09:00:29Z")

</div>

I wrote a large scientific package SoilWater-ToolBox https://github.com/joseph-pollacco/SoilWaterToolbox and now it is time to write the user’s manual which we plan to publish in GitHub. I am looking for advice on the re…

---

## [Releasing Version 1.0](https://discourse.julialang.org/t/releasing-version-1-0/60521)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 4\
**Last updated:** [May 5, 2021, 8:24am UTC](https://discourse.julialang.org/t/releasing-version-1-0/60521 "2021-05-05T08:24:37Z")

</div>

There were some discussions about when is the right time to release a version 1.0 of any package. Releasing 1.0 of DataFrames resulted not in a article on the german number one IT news site: Data Science: DataFrames.jl…

---

## ["Locally global" variable?](https://discourse.julialang.org/t/locally-global-variable/60471)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 22\
**Last updated:** [May 5, 2021, 7:28am UTC](https://discourse.julialang.org/t/locally-global-variable/60471 "2021-05-05T07:28:52Z")

</div>

Is there a way to make a julia variable locally global (for the lack of a better word) ? To give a little context, I am currently trying to implement some inter-process-communication using julia. With what I know (unde…

---

## [Low rate of opt-in for the Discourse Bridge on the Slack Help Desk](https://discourse.julialang.org/t/low-rate-of-opt-in-for-the-discourse-bridge-on-the-slack-help-desk/60529)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 4\
**Last updated:** [May 5, 2021, 6:56am UTC](https://discourse.julialang.org/t/low-rate-of-opt-in-for-the-discourse-bridge-on-the-slack-help-desk/60529 "2021-05-05T06:56:20Z")

</div>

According to what someone said earlier, the largest volume of Julia questions anywhere occurs on slack. Someone said 100:1 Slack:Discourse though a cursory look at slack now suggests that’s a big over estimate (correct?)…

---

## [Mutation of integrator](https://discourse.julialang.org/t/mutation-of-integrator/60545)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 6:33am UTC](https://discourse.julialang.org/t/mutation-of-integrator/60545 "2021-05-05T06:33:19Z")

</div>

Suppose that I use an explicit scheme with fixed time-stepping to integrate an ODE, and I am not interested in interpolations of any sort. Is it ok to change directly the right-hand-side function f, the state u and the …

---

## [Profile until buffer is full](https://discourse.julialang.org/t/profile-until-buffer-is-full/60480)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 5:45am UTC](https://discourse.julialang.org/t/profile-until-buffer-is-full/60480 "2021-05-05T05:45:09Z")

</div>

function busy(n) a = 0.0 for i = 1:n a += sin(i) a += cos(a) end a end import Profile Profile.init(; n=5000, delay=0.001) Profile.@profile busy(10^7) Profile.fetch() shows that the buffe…

---

## [Efficient GPU dense-sparse matmul differentiable with Zygote](https://discourse.julialang.org/t/efficient-gpu-dense-sparse-matmul-differentiable-with-zygote/60502)

<div class="topic-metadata">

**Author:** [@jackd](https://discourse.julialang.org/u/jackd)\
**Replies:** 2\
**Last updated:** [May 5, 2021, 5:36am UTC](https://discourse.julialang.org/t/efficient-gpu-dense-sparse-matmul-differentiable-with-zygote/60502 "2021-05-05T05:36:17Z")

</div>

I’m trying to train some deep learning graph models and I’m looking for an efficient way of performing a dense-sparse matrix product on GPU that’s Zygote-differentiable with respect to entries of the dense matrix. I was …

---

## [Filepath for the current (Julia) Jupyter notebook](https://discourse.julialang.org/t/filepath-for-the-current-julia-jupyter-notebook/60544)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 5:26am UTC](https://discourse.julialang.org/t/filepath-for-the-current-julia-jupyter-notebook/60544 "2021-05-05T05:26:37Z")

</div>

Hello, I would like to get the filepath for the current (Julia) Jupyter notebook. Is there a way to get this information? Thanks Michel PS: My purpose is to write a SaveAsPluto function that would keep a Pluto note…

---

## [Raising a flag for specific condition with multithreading](https://discourse.julialang.org/t/raising-a-flag-for-specific-condition-with-multithreading/60535)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 8\
**Last updated:** [May 5, 2021, 12:34am UTC](https://discourse.julialang.org/t/raising-a-flag-for-specific-condition-with-multithreading/60535 "2021-05-05T00:34:05Z")

</div>

Suppose that I have a bunch of threads that process array of some data (apply some function elementwise). Suppose also, that for some entries in array, the processing may fail (for concretness, we can assume that functio…

---

## [Porting challenge for MTK/Symbolics](https://discourse.julialang.org/t/porting-challenge-for-mtk-symbolics/60530)

<div class="topic-metadata">

**Author:** [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Replies:** 8\
**Last updated:** [May 4, 2021, 11:53pm UTC](https://discourse.julialang.org/t/porting-challenge-for-mtk-symbolics/60530 "2021-05-04T23:53:27Z")

</div>

The following SymPy code was given to me by someone who wanted to see if Symbolics/SymbolicUtils/MTK can handle these sorts of situations. using SymPy w\_1, w\_2 = symbols("w\_1, w\_2",real=true,positive=true) pi = symbols(…

---

## [Plots.jl Align legend labels, :right not working](https://discourse.julialang.org/t/plots-jl-align-legend-labels-right-not-working/60493)

<div class="topic-metadata">

**Author:** [@VMHidalgo](https://discourse.julialang.org/u/VMHidalgo)\
**Replies:** 3\
**Last updated:** [May 4, 2021, 10:49pm UTC](https://discourse.julialang.org/t/plots-jl-align-legend-labels-right-not-working/60493 "2021-05-04T22:49:22Z")

</div>

Hi, I am getting familiar with the Plots recipes ecosystem, and I just wrote my first recipe but the attribute “legendfonthalign” does not seem to work. Does anyone know how to do it? Here is a MWE @recipe function f(…

---

## [Japanese Translation Help - Julia User & Developer Survey 2021](https://discourse.julialang.org/t/japanese-translation-help-julia-user-developer-survey-2021/60546)

<div class="topic-metadata">

**Author:** [@ahclaster](https://discourse.julialang.org/u/ahclaster)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 8:50pm UTC](https://discourse.julialang.org/t/japanese-translation-help-julia-user-developer-survey-2021/60546 "2021-05-04T20:50:35Z")

</div>

Thank you to all those who commented on the 2021 User & Developer Survey questionnaire. We have identified volunteers who are translating the questionnaire into Spanish and Chinese, but we are still looking for a volunt…

---

## [Quoting posts with LaTeX equations?](https://discourse.julialang.org/t/quoting-posts-with-latex-equations/60542)

<div class="topic-metadata">

**Author:** [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Replies:** 3\
**Last updated:** [May 4, 2021, 7:51pm UTC](https://discourse.julialang.org/t/quoting-posts-with-latex-equations/60542 "2021-05-04T19:51:08Z")

</div>

I’ve noticed that if you try to quote a post with LaTeX equations, e.g. $O(n^3)$ for O(n^3), in the quoted text it gets mangled to something like O(n3)O(n^3). It would be nice if the original $O(n^3)$ were preserved.

---

## [Threading with @views and @tensor](https://discourse.julialang.org/t/threading-with-views-and-tensor/60466)

<div class="topic-metadata">

**Author:** [@Aroeira](https://discourse.julialang.org/u/Aroeira)\
**Replies:** 6\
**Last updated:** [May 4, 2021, 7:27pm UTC](https://discourse.julialang.org/t/threading-with-views-and-tensor/60466 "2021-05-04T19:27:34Z")

</div>

Hello, I am working on a code where array views are used in tensor contractions. I had written a similar one before and I was able to make it fast with the threading tools available in Julia, namely @sync and @spawn. Ho…

---

## [View coverage logs including dependencies](https://discourse.julialang.org/t/view-coverage-logs-including-dependencies/60541)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 6:30pm UTC](https://discourse.julialang.org/t/view-coverage-logs-including-dependencies/60541 "2021-05-04T18:30:38Z")

</div>

I want to know which lines of my dependencies are being run. I see there is a --code-coverage=all which I guess might do that but I can’t find the docs for it. How can I see which lines julia is running?

---

## [Interpolations.jl Discrete CDF to PDF](https://discourse.julialang.org/t/interpolations-jl-discrete-cdf-to-pdf/60124)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 10\
**Last updated:** [May 4, 2021, 5:51pm UTC](https://discourse.julialang.org/t/interpolations-jl-discrete-cdf-to-pdf/60124 "2021-05-04T17:51:31Z")

</div>

Say we have discrete CDF values (percentiles from the field for one metric) such as percentile 1 =\> 1.4 … percentile 10 =\> 10.3 … percentile 50 =\> 50.3 … percentile 80 =\> 70.3 … percentile 100 =\> 90.3 I am co…

---

## [Linconstr @JuMP0.21](https://discourse.julialang.org/t/linconstr-jump0-21/60537)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 0\
**Last updated:** [May 4, 2021, 5:23pm UTC](https://discourse.julialang.org/t/linconstr-jump0-21/60537 "2021-05-04T17:23:31Z")

</div>

when using JuMP@0.18 we use model.linconstr.lb to get the lower bound but i don’t know how it can happen using JuMP@0.21 i tried JuMP.LowerBoundRef(x) but instead of getting the values of the lower bounds i got nothing …

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

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