# Latest

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

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

**Page:** 1139

---

## [Higher precision leads to incorrect results?](https://discourse.julialang.org/t/higher-precision-leads-to-incorrect-results/75248)

<div class="topic-metadata">

**Author:** [@chrisoffner](https://discourse.julialang.org/u/chrisoffner)\
**Replies:** 19\
**Last updated:** [January 28, 2022, 7:32pm UTC](https://discourse.julialang.org/t/higher-precision-leads-to-incorrect-results/75248 "2022-01-28T19:32:55Z")

</div>

I’m working through Arthur & Vassilvitskii’s \\Omega(n^2) lower bound proof for the iterative closest point (ICP) algorithm in \\mathbb{R} (Theorem 3.4 in the paper) and thought it’d be neat to visualize their construction…

---

## [Conversion of CxxWrap.StdLib.StdVectorAllocated{UInt8} to Julian Vector{UInt8} faster](https://discourse.julialang.org/t/conversion-of-cxxwrap-stdlib-stdvectorallocated-uint8-to-julian-vector-uint8-faster/75351)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 8\
**Last updated:** [January 29, 2022, 6:21am UTC](https://discourse.julialang.org/t/conversion-of-cxxwrap-stdlib-stdvectorallocated-uint8-to-julian-vector-uint8-faster/75351 "2022-01-29T06:21:02Z")

</div>

Hey guys, issue I am facing is the conversion of the arrays and the efficiency of the conversion julia\> res = screenshot\_rgb() # image of size 1920\*1080 with 4 bytes per pixel returned 8294400-element CxxWrap.StdLib.Std…

---

## [Problem with Juno at startup on Garuda linux](https://discourse.julialang.org/t/problem-with-juno-at-startup-on-garuda-linux/75300)

<div class="topic-metadata">

**Author:** [@benoitseron](https://discourse.julialang.org/u/benoitseron)\
**Replies:** 2\
**Last updated:** [January 29, 2022, 2:15am UTC](https://discourse.julialang.org/t/problem-with-juno-at-startup-on-garuda-linux/75300 "2022-01-29T02:15:25Z")

</div>

I installed Garuda Linux on my laptop and am trying to run Julia using atom as I used to. I can use julia in a terminal but in Atom I have the following failure. Upon pressing Enter to start a new session, everything s…

---

## [GRUtils: error bars always behind fill in bar plot](https://discourse.julialang.org/t/grutils-error-bars-always-behind-fill-in-bar-plot/75388)

<div class="topic-metadata">

**Author:** [@mkschleg](https://discourse.julialang.org/u/mkschleg)\
**Replies:** 2\
**Last updated:** [January 29, 2022, 12:48am UTC](https://discourse.julialang.org/t/grutils-error-bars-always-behind-fill-in-bar-plot/75388 "2022-01-29T00:48:51Z")

</div>

I’m trying to combine the errorbar and barplot plots using hold. No matter what order I do this in the error bars always appear under the bar plot fill. Is there any fix for this? MWE: using GRUtils let y = rand(10) …

---

## [Do views interfere with thread synchronization?](https://discourse.julialang.org/t/do-views-interfere-with-thread-synchronization/75379)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 7\
**Last updated:** [January 28, 2022, 10:17pm UTC](https://discourse.julialang.org/t/do-views-interfere-with-thread-synchronization/75379 "2022-01-28T22:17:59Z")

</div>

I have this code which attempts compute a matrix-vector product using submatrices. tasks = \[\]; for th in 1:length(tbs) tb = tbs\[th\] push!(tasks, Threads.@spawn begin mul!(tb.result, tb.k…

---

## [Update registry via the Pkg API?](https://discourse.julialang.org/t/update-registry-via-the-pkg-api/75397)

<div class="topic-metadata">

**Author:** [@thompsonmj](https://discourse.julialang.org/u/thompsonmj)\
**Replies:** 1\
**Last updated:** [January 28, 2022, 10:09pm UTC](https://discourse.julialang.org/t/update-registry-via-the-pkg-api/75397 "2022-01-28T22:09:30Z")

</div>

How can \]registry up be done with Pkg.etc syntax (e.g. from inside a \*.jl file)?

---

## ["ERROR: expected package... to be registered" in JuliaPro](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430)

<div class="topic-metadata">

**Author:** [@Michael\_Barmann](https://discourse.julialang.org/u/Michael_Barmann)\
**Replies:** 3\
**Last updated:** [June 21, 2021, 10:19pm UTC](https://discourse.julialang.org/t/error-expected-package-to-be-registered-in-juliapro/52430 "2021-06-21T22:19:25Z")

</div>

I just downloaded JuliaPro 1.5.3 and am trying to follow this tutorial exactly: Julia Tutorial on YT. I went into Atom and tried to update the packages as was shown in the tutorial by issuing the following command: (@Ju…

---

## [Makie - SVG saved with CairoMakie not editable (looks like raster)](https://discourse.julialang.org/t/makie-svg-saved-with-cairomakie-not-editable-looks-like-raster/75335)

<div class="topic-metadata">

**Author:** [@VMHidalgo](https://discourse.julialang.org/u/VMHidalgo)\
**Replies:** 13\
**Last updated:** [January 28, 2022, 9:59pm UTC](https://discourse.julialang.org/t/makie-svg-saved-with-cairomakie-not-editable-looks-like-raster/75335 "2022-01-28T21:59:10Z")

</div>

Hi guys, I am using CairoMakie on Ubuntu and saving plots as SVG. When I open the SVG file with Inkscape to edit it, the file cannot be edited. It looks like a raster image. What is happening? At first glance, this ma…

---

## [Method specificity with parametric type constructors](https://discourse.julialang.org/t/method-specificity-with-parametric-type-constructors/75385)

<div class="topic-metadata">

**Author:** [@danielmatz](https://discourse.julialang.org/u/danielmatz)\
**Replies:** 7\
**Last updated:** [January 28, 2022, 9:49pm UTC](https://discourse.julialang.org/t/method-specificity-with-parametric-type-constructors/75385 "2022-01-28T21:49:23Z")

</div>

I’ve encountered what appears to be an inconsistency with method specificity. However, since it’s considerably more likely that I’m just confused, I thought I’d ask here before creating an issue. My basic expectation is…

---

## [ANN: Julia course on Czech Technical University in Prague](https://discourse.julialang.org/t/ann-julia-course-on-czech-technical-university-in-prague/74928)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 3\
**Last updated:** [January 28, 2022, 9:29pm UTC](https://discourse.julialang.org/t/ann-julia-course-on-czech-technical-university-in-prague/74928 "2022-01-28T21:29:07Z")

</div>

Hi All, In winter semester, we have introduced a course on Scientific Computing in Julia - an attempt to mimic what is on MIT aligned with interest of our students. If anyone is interested, lecture notes are available a…

---

## [\[ANN\] JuliaTutorialsTemplate](https://discourse.julialang.org/t/ann-juliatutorialstemplate/75393)

<div class="topic-metadata">

**Author:** [@rikh](https://discourse.julialang.org/u/rikh)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 9:17pm UTC](https://discourse.julialang.org/t/ann-juliatutorialstemplate/75393 "2022-01-28T21:17:32Z")

</div>

After having struggled with updating TuringTutorials months ago, I have been long on the lookout for a good system to automatically build notebooks to a pretty website to show the code and outputs. Thanks to many differe…

---

## [Which Graphing tool allows to create interactable Graphs](https://discourse.julialang.org/t/which-graphing-tool-allows-to-create-interactable-graphs/75389)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 8:32pm UTC](https://discourse.julialang.org/t/which-graphing-tool-allows-to-create-interactable-graphs/75389 "2022-01-28T20:32:37Z")

</div>

I’m trying to create a game, in which you have to draw vertices and edges, with length. Then you have to be able to move on those edges from one node to another. Is there a package in Julia that would allow that? If not…

---

## [\[GUI\] \[Gtk.jl\] UI freezing when signal\_connect used](https://discourse.julialang.org/t/gui-gtk-jl-ui-freezing-when-signal-connect-used/75156)

<div class="topic-metadata">

**Author:** [@kodintent](https://discourse.julialang.org/u/kodintent)\
**Replies:** 6\
**Last updated:** [January 28, 2022, 6:46pm UTC](https://discourse.julialang.org/t/gui-gtk-jl-ui-freezing-when-signal-connect-used/75156 "2022-01-28T18:46:47Z")

</div>

Hi. Im investigating Gtk.jl for GUI apps - specifically, multithreading with progress updates in the GUI. I wish to have a single window that can be used to select params, then also display progress. I can update a pr…

---

## [Split inconsistency?](https://discourse.julialang.org/t/split-inconsistency/75380)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 5\
**Last updated:** [January 28, 2022, 6:31pm UTC](https://discourse.julialang.org/t/split-inconsistency/75380 "2022-01-28T18:31:37Z")

</div>

julia\> split(" aa bb") 2-element Vector{SubString{String}}: "aa" "bb" julia\> split(" aa bb", ' ') 3-element Vector{SubString{String}}: "" "aa" "bb" julia\> split(" aa bb", " ") 3-element Vector{SubString{String}}: …

---

## [@everywhere effect region / distributed calculation](https://discourse.julialang.org/t/everywhere-effect-region-distributed-calculation/75359)

<div class="topic-metadata">

**Author:** [@xspeng](https://discourse.julialang.org/u/xspeng)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 1:30pm UTC](https://discourse.julialang.org/t/everywhere-effect-region-distributed-calculation/75359 "2022-01-28T13:30:09Z")

</div>

Hi, I have a problem with distributed calculation, here is a small example can reflect my question @everywhere begin function f(x, b) return x^2 + sum(b) end end @everywhere using Distributed, SharedArr…

---

## [How I went from zero-to-hero with julia. My story](https://discourse.julialang.org/t/how-i-went-from-zero-to-hero-with-julia-my-story/72202)

<div class="topic-metadata">

**Author:** [@joeganiomego](https://discourse.julialang.org/u/joeganiomego)\
**Replies:** 5\
**Last updated:** [January 28, 2022, 5:13pm UTC](https://discourse.julialang.org/t/how-i-went-from-zero-to-hero-with-julia-my-story/72202 "2022-01-28T17:13:07Z")

</div>

Hi everyone, I need to write something on discourse. Otherwise, I am done with my project without even one question or post. Therefore I share how I went from zero-to-hero with Julia. First I picked Julia because of …

---

## [Julia as a neural interpreter? Could this be a game-change for Julia and ML/AI?](https://discourse.julialang.org/t/julia-as-a-neural-interpreter-could-this-be-a-game-change-for-julia-and-ml-ai/75386)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 5:56pm UTC](https://discourse.julialang.org/t/julia-as-a-neural-interpreter-could-this-be-a-game-change-for-julia-and-ml-ai/75386 "2022-01-28T17:56:07Z")

</div>

I’ve sometimes posted ML stuff I find intriguing to offtopic. This seems relevant enough to post here. @ChrisRackauckas claims Julia doesn’t have an advantage for “standard” ML (unlike SciML). This may not be “standard”…

---

## [A question about my Gurobi](https://discourse.julialang.org/t/a-question-about-my-gurobi/75369)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 1\
**Last updated:** [January 28, 2022, 5:28pm UTC](https://discourse.julialang.org/t/a-question-about-my-gurobi/75369 "2022-01-28T17:28:38Z")

</div>

Why can’t my Gurobi install?? (@v1.6) pkg\> build Gurobi Building Gurobi → C:\\Users\\dell\\.julia\\scratchspaces\\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\\0c39671e531549c2969bdf0c0513d03a07f9ffd8\\build.log ERROR: Error buildin…

---

## [Julia 1.7 says it can switch the thread your task is on. How often does that happen, and how can it be disabled?](https://discourse.julialang.org/t/julia-1-7-says-it-can-switch-the-thread-your-task-is-on-how-often-does-that-happen-and-how-can-it-be-disabled/75373)

<div class="topic-metadata">

**Author:** [@heyx3](https://discourse.julialang.org/u/heyx3)\
**Replies:** 6\
**Last updated:** [January 28, 2022, 5:01pm UTC](https://discourse.julialang.org/t/julia-1-7-says-it-can-switch-the-thread-your-task-is-on-how-often-does-that-happen-and-how-can-it-be-disabled/75373 "2022-01-28T17:01:19Z")

</div>

According to the release notes: Tasks can now migrate among threads when they are re-scheduled. Previously, a Task would always run on whichever thread executed it first Does this mean that the thread I’m running on …

---

## [GLMakie heatmap vs. heatmap!](https://discourse.julialang.org/t/glmakie-heatmap-vs-heatmap/75378)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 1\
**Last updated:** [January 28, 2022, 4:50pm UTC](https://discourse.julialang.org/t/glmakie-heatmap-vs-heatmap/75378 "2022-01-28T16:50:25Z")

</div>

In GLMakie I need a layout with several heatmaps. If I use heatmap works as expected (2D plot), however using heatmap! produces a 3D plot of the heatmap. Here is reproducer with a single heatmap. using GLMakie data = \[ …

---

## [Discourse statistics?](https://discourse.julialang.org/t/discourse-statistics/57404)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 7\
**Last updated:** [January 28, 2022, 4:21pm UTC](https://discourse.julialang.org/t/discourse-statistics/57404 "2022-01-28T16:21:55Z")

</div>

Out of curiosity, is there any public stat on discourse activity? Like posts or new users / month or stuff like that?

---

## [Using local sourcecode](https://discourse.julialang.org/t/using-local-sourcecode/75368)

<div class="topic-metadata">

**Author:** [@volkerkarle](https://discourse.julialang.org/u/volkerkarle)\
**Replies:** 1\
**Last updated:** [January 28, 2022, 4:15pm UTC](https://discourse.julialang.org/t/using-local-sourcecode/75368 "2022-01-28T16:15:59Z")

</div>

Hi folks, Following this guide I have some source-code which is sitting in some folder /path/…/example/MyNiceUtils.jl and loaded it with push!(LOAD\_PATH,"/path/.../example/") using MyNiceUtils So somehow this not wor…

---

## [\[ANN\] Generalized Linear Regression package](https://discourse.julialang.org/t/ann-generalized-linear-regression-package/39641)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 4\
**Last updated:** [January 28, 2022, 3:22pm UTC](https://discourse.julialang.org/t/ann-generalized-linear-regression-package/39641 "2022-01-28T15:22:33Z")

</div>

MLJLinearModels.jl has already been around for some time (and used a lot in the MLJ tutorials) but was never announced explicitly (laziness from my side on getting some form of documentation going). NOTE: despite its na…

---

## [Bicycle science](https://discourse.julialang.org/t/bicycle-science/50395)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 21\
**Last updated:** [January 28, 2022, 2:49pm UTC](https://discourse.julialang.org/t/bicycle-science/50395 "2022-01-28T14:49:05Z")

</div>

@NiclasMattsson said: Apologies in advance for going completely off-topic, but you stumbled into my favorite trivia subject: the science of bicycle riding. I’m obsessively compelled to share two potentially mind-blowin…

---

## [Advices on convergence issues Turing](https://discourse.julialang.org/t/advices-on-convergence-issues-turing/74862)

<div class="topic-metadata">

**Author:** [@99dB](https://discourse.julialang.org/u/99dB)\
**Replies:** 12\
**Last updated:** [January 28, 2022, 2:03pm UTC](https://discourse.julialang.org/t/advices-on-convergence-issues-turing/74862 "2022-01-28T14:03:48Z")

</div>

Hi all, I am estimating ~10 ODE parameters using some data with Turing. While I ran the sampling for quite a long time (~ 10.000 steps) for 10 chains, I got some convergence issues. After analyzing the posteriors, I re…

---

## [Julia v1.7.2 testing period](https://discourse.julialang.org/t/julia-v1-7-2-testing-period/75360)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 1:38pm UTC](https://discourse.julialang.org/t/julia-v1-7-2-testing-period/75360 "2022-01-28T13:38:57Z")

</div>

The release-1.7 branch on the Julia repository now contains the set of commits we’re planning to tag as v1.7.2, the second patch release in the 1.7 series. The list of commits included since v1.7.1 is available here. As …

---

## [Data Science Language and Job Trends 2022 ( Australia ) "Julia is still very small, but growing"](https://discourse.julialang.org/t/data-science-language-and-job-trends-2022-australia-julia-is-still-very-small-but-growing/75357)

<div class="topic-metadata">

**Author:** [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 12:50pm UTC](https://discourse.julialang.org/t/data-science-language-and-job-trends-2022-australia-julia-is-still-very-small-but-growing/75357 "2022-01-28T12:50:32Z")

</div>

Data Science Job Listings - Australia - 2019-2021 by Steve Condylios ; 28 Jan 2022 “Julia is still very small, but growing” “Observe the patterns in the less common or more specialised data science languages like Fortr…

---

## [Passing a Julia function to a Python function](https://discourse.julialang.org/t/passing-a-julia-function-to-a-python-function/73985)

<div class="topic-metadata">

**Author:** [@krzysztofpostek](https://discourse.julialang.org/u/krzysztofpostek)\
**Replies:** 5\
**Last updated:** [January 28, 2022, 11:11am UTC](https://discourse.julialang.org/t/passing-a-julia-function-to-a-python-function/73985 "2022-01-28T11:11:20Z")

</div>

Hi there, I want to use a GPyOpt Python package for Bayesian Optimization to find the minimum value of a function which is written in Julia. For that end, I try to use the PyCall.jl and to call the function as function…

---

## [Call python packages from Julia](https://discourse.julialang.org/t/call-python-packages-from-julia/75324)

<div class="topic-metadata">

**Author:** [@xspeng](https://discourse.julialang.org/u/xspeng)\
**Replies:** 3\
**Last updated:** [January 28, 2022, 11:03am UTC](https://discourse.julialang.org/t/call-python-packages-from-julia/75324 "2022-01-28T11:03:26Z")

</div>

Hi, with the help of PyCall.jl, I can easily run a script of python, but if I want to replace the function defined in python with the function defined in julia, it reminds me cannot find the sub-function, can anybody hel…

---

## [How to convert the binary form of a float to an integer, and vice versa?](https://discourse.julialang.org/t/how-to-convert-the-binary-form-of-a-float-to-an-integer-and-vice-versa/70083)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 17\
**Last updated:** [January 28, 2022, 9:29am UTC](https://discourse.julialang.org/t/how-to-convert-the-binary-form-of-a-float-to-an-integer-and-vice-versa/70083 "2022-01-28T09:29:00Z")

</div>

I am trying to implement the “fast inverse square root” algorithm in Julia: function rsqrt(x::Float32) xₛ = x int32 = reinterpret(UInt32, xₛ) int32 = 0x5f3759df - int32 \>\> 1 xₛ = reinterpret(Float32, int…

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

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