# Latest

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

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

**Page:** 1154

---

## [Stochastic Differential Equation with positive-only noise?](https://discourse.julialang.org/t/stochastic-differential-equation-with-positive-only-noise/74517)

<div class="topic-metadata">

**Author:** [@markmbaum](https://discourse.julialang.org/u/markmbaum)\
**Replies:** 1\
**Last updated:** [January 13, 2022, 1:45am UTC](https://discourse.julialang.org/t/stochastic-differential-equation-with-positive-only-noise/74517 "2022-01-13T01:45:26Z")

</div>

This may be more of a math question, but are there methods available for solving stochastic differential equations with positive only noise? I’ve been tinkering around with an interesting scalar system that includes the …

---

## [\`display\` and line breaks in \`TextDisplay\` and \`LineEditREPL\`](https://discourse.julialang.org/t/display-and-line-breaks-in-textdisplay-and-lineeditrepl/73459)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 11:08pm UTC](https://discourse.julialang.org/t/display-and-line-breaks-in-textdisplay-and-lineeditrepl/73459 "2022-01-12T23:08:57Z")

</div>

When I use display in a script and execute Julia from the command line julia script.jl, there seem to be missing line breaks after the display results. How do I make the “script” and REPL output look more similar? $ ju…

---

## [Implementation of NUTS | Translating Stan model to Julia | JuliaConnectoR](https://discourse.julialang.org/t/implementation-of-nuts-translating-stan-model-to-julia-juliaconnector/74143)

<div class="topic-metadata">

**Author:** [@bernadette-eu](https://discourse.julialang.org/u/bernadette-eu)\
**Replies:** 17\
**Last updated:** [January 12, 2022, 9:53pm UTC](https://discourse.julialang.org/t/implementation-of-nuts-translating-stan-model-to-julia-juliaconnector/74143 "2022-01-12T21:53:47Z")

</div>

Hello, I am a new Julia user, moving from Stan. I am currently working on Bayesian epidemiological modeling. I have worked the @Storopoli tutorial and have successfully implemented posterior sampling with NUTS(), follow…

---

## [Segfault that I cannot explain, possibly related to Zygote](https://discourse.julialang.org/t/segfault-that-i-cannot-explain-possibly-related-to-zygote/74509)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 8:20pm UTC](https://discourse.julialang.org/t/segfault-that-i-cannot-explain-possibly-related-to-zygote/74509 "2022-01-12T20:20:18Z")

</div>

Naively maybe, I assumed that segfaults will only occur if I access memory I don’t own. Therefore, in Julia, with bounds checking turned on, it simply shouldn’t occur? I’ve now run into a case where the opposite happens…

---

## [Clear workspace à la Pluto](https://discourse.julialang.org/t/clear-workspace-a-la-pluto/74484)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 1\
**Last updated:** [January 12, 2022, 2:35pm UTC](https://discourse.julialang.org/t/clear-workspace-a-la-pluto/74484 "2022-01-12T14:35:05Z")

</div>

A feature that I miss in Julia is the ability to clear my workspace. It is nice to be able to make sure that there is no global ghost-variable somewhere in your code, leading to it breaking if you restart your session. I…

---

## [Typo in constructor, why does Julia not complain?](https://discourse.julialang.org/t/typo-in-constructor-why-does-julia-not-complain/74495)

<div class="topic-metadata">

**Author:** [@Chiil](https://discourse.julialang.org/u/Chiil)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 6:50pm UTC](https://discourse.julialang.org/t/typo-in-constructor-why-does-julia-not-complain/74495 "2022-01-12T18:50:22Z")

</div>

I made a type in my constructor (Tset instead of Test) and noticed that Julia does not complain if there is another function in the struct definition that has a different name than the struct itself. What happens to this…

---

## [Fixing bugs in the LTS version 1.6.5](https://discourse.julialang.org/t/fixing-bugs-in-the-lts-version-1-6-5/74482)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 4:02pm UTC](https://discourse.julialang.org/t/fixing-bugs-in-the-lts-version-1-6-5/74482 "2022-01-12T16:02:41Z")

</div>

I wonder how realistic is for package developers to assume that bugs reported for the LTS version 1.6.5, which are already fixed in 1.7.1, will be also fixed for the LTS version. Personally, I am facing the dilemma that…

---

## [Announcing IntegerMathUtils.jl](https://discourse.julialang.org/t/announcing-integermathutils-jl/74269)

<div class="topic-metadata">

**Author:** [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 3:32pm UTC](https://discourse.julialang.org/t/announcing-integermathutils-jl/74269 "2022-01-12T15:32:33Z")

</div>

Hi all, I’m just announcing a small utility package called JuliaMath/IntegerMathUtils.jl. It adds a few gmp wrappers that provide useful integer functionality that doesn’t exist in Base. Specifically, it currently expor…

---

## [Matrix multiplication of a view of QR.Q with Vector{VariableRef} is slow](https://discourse.julialang.org/t/matrix-multiplication-of-a-view-of-qr-q-with-vector-variableref-is-slow/74480)

<div class="topic-metadata">

**Author:** [@Thomas](https://discourse.julialang.org/u/Thomas)\
**Replies:** 6\
**Last updated:** [January 12, 2022, 3:17pm UTC](https://discourse.julialang.org/t/matrix-multiplication-of-a-view-of-qr-q-with-vector-variableref-is-slow/74480 "2022-01-12T15:17:55Z")

</div>

To assist with formulating a JuMP model for an SDP, I need to create affine expressions y (then the objectives and constraints can be cheaply constructed by getindex into y): F = qr(m::SparseMatrixCSC) # call to SuiteSp…

---

## [Dictionary values ascending or descending](https://discourse.julialang.org/t/dictionary-values-ascending-or-descending/74492)

<div class="topic-metadata">

**Author:** [@AlexanderChen](https://discourse.julialang.org/u/AlexanderChen)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 3:12pm UTC](https://discourse.julialang.org/t/dictionary-values-ascending-or-descending/74492 "2022-01-12T15:12:27Z")

</div>

Hi, I have a dictionary of characters and their frequency in a text(or word): 'H' =\> 1 'l' =\> 2 'e' =\> 1 'o' =\> 1 and I want to order it by value so: 'H' =\> 1 'e' =\> 1 'o' =\> 1 'l' =\> 2 the order of …

---

## [Julia User Group Munich: Share&Code on JuliaIntervals with David P. Sanders](https://discourse.julialang.org/t/julia-user-group-munich-share-code-on-juliaintervals-with-david-p-sanders/73022)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 5\
**Last updated:** [January 12, 2022, 2:44pm UTC](https://discourse.julialang.org/t/julia-user-group-munich-share-code-on-juliaintervals-with-david-p-sanders/73022 "2022-01-12T14:44:15Z")

</div>

Join us on :spiral\_calendar: Monday 10. January 2022 :clock630: 18:30 CET organized via meetup Rigorous computation & uncertainty handling with JuliaIntervals ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Interval arithmetic is an …

---

## [Working with a single equation, split up into several](https://discourse.julialang.org/t/working-with-a-single-equation-split-up-into-several/69551)

<div class="topic-metadata">

**Author:** [@adomasbaliuka](https://discourse.julialang.org/u/adomasbaliuka)\
**Replies:** 1\
**Last updated:** [January 12, 2022, 1:56pm UTC](https://discourse.julialang.org/t/working-with-a-single-equation-split-up-into-several/69551 "2022-01-12T13:56:12Z")

</div>

I’m trying to get into ModelingToolkit.jl but having some trouble understanding the documentation, which doesn’t seem to include basic examples. Solving nonlinear ODEs and plotting solutions in 3D is very impressive, but…

---

## [Concurrent Runs on HPC with Different Branches of the Same Package](https://discourse.julialang.org/t/concurrent-runs-on-hpc-with-different-branches-of-the-same-package/74488)

<div class="topic-metadata">

**Author:** [@Dr.Merkwuedigliebe](https://discourse.julialang.org/u/Dr.Merkwuedigliebe)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 1:35pm UTC](https://discourse.julialang.org/t/concurrent-runs-on-hpc-with-different-branches-of-the-same-package/74488 "2022-01-12T13:35:03Z")

</div>

I have a package (added to Julia registry using dev) that runs a simulation on a single core. Its git repository has different branches with slightly varying sets of physics features. I would like to run these different …

---

## [Unable to automatically install 'Zstd'](https://discourse.julialang.org/t/unable-to-automatically-install-zstd/73964)

<div class="topic-metadata">

**Author:** [@MahdiP](https://discourse.julialang.org/u/MahdiP)\
**Replies:** 15\
**Last updated:** [January 12, 2022, 12:41pm UTC](https://discourse.julialang.org/t/unable-to-automatically-install-zstd/73964 "2022-01-12T12:41:43Z")

</div>

I am trying to install “Parquet” package in Julia 1.7 on company PC. It is behind Proxy. I have added the following environment variables in the startup script ENV\["HTTP\_PROXY"\] = "http://xxxx:xxxxx" ENV\["HTTPS\_PROXY"\] …

---

## [How to use ECDSA ssh key to connect to Github private repo?](https://discourse.julialang.org/t/how-to-use-ecdsa-ssh-key-to-connect-to-github-private-repo/74372)

<div class="topic-metadata">

**Author:** [@metab0t](https://discourse.julialang.org/u/metab0t)\
**Replies:** 3\
**Last updated:** [January 12, 2022, 12:33pm UTC](https://discourse.julialang.org/t/how-to-use-ecdsa-ssh-key-to-connect-to-github-private-repo/74372 "2022-01-12T12:33:07Z")

</div>

I used to use a private Github repo as my personal registry. I followed the instructions in https://github.com/GunnarFarneback/LocalRegistry.jl/blob/master/docs/ssh\_keys.md#3-generating-a-compatible-key to generate a RS…

---

## [Video artefacts when using record in Makie under Pluto](https://discourse.julialang.org/t/video-artefacts-when-using-record-in-makie-under-pluto/68263)

<div class="topic-metadata">

**Author:** [@hacklint](https://discourse.julialang.org/u/hacklint)\
**Replies:** 17\
**Last updated:** [January 12, 2022, 12:31pm UTC](https://discourse.julialang.org/t/video-artefacts-when-using-record-in-makie-under-pluto/68263 "2022-01-12T12:31:18Z")

</div>

I’m using Makie under Pluto to visualise data received as json or parquet. Visualisation is in form of animated boxes (\<30 per frame) with time dependent position, size and orientation where main changes are in position…

---

## [General environment creating issues for local ones](https://discourse.julialang.org/t/general-environment-creating-issues-for-local-ones/74327)

<div class="topic-metadata">

**Author:** [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Replies:** 13\
**Last updated:** [January 12, 2022, 11:54am UTC](https://discourse.julialang.org/t/general-environment-creating-issues-for-local-ones/74327 "2022-01-12T11:54:38Z")

</div>

Recently I was trying to work with the latest version of MLJBase, for this I created a sandbox environment sbx which I activated and added MLJBase in it, this is with Julia 1.7.1. Trying to use the package, I got errors…

---

## [PolyJuMP: constraints on an arbitrarily large multinomial](https://discourse.julialang.org/t/polyjump-constraints-on-an-arbitrarily-large-multinomial/74479)

<div class="topic-metadata">

**Author:** [@jnlindsay](https://discourse.julialang.org/u/jnlindsay)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 11:49am UTC](https://discourse.julialang.org/t/polyjump-constraints-on-an-arbitrarily-large-multinomial/74479 "2022-01-12T11:49:04Z")

</div>

Hi everyone! In using DynamicPolynomials, SumOfSquares, and CSDP, I have set up my objective function and constraints like so: m = 2 @polyvar x\[1:m\] p = x\[1\]^2 + x\[2\]^2 S = @set x\[1\] \>= 0 && x\[1\] \<= 1 && …

---

## [How to access device memory from the host whilst a kernel is running](https://discourse.julialang.org/t/how-to-access-device-memory-from-the-host-whilst-a-kernel-is-running/74472)

<div class="topic-metadata">

**Author:** [@johntrinder](https://discourse.julialang.org/u/johntrinder)\
**Replies:** 5\
**Last updated:** [January 12, 2022, 8:40am UTC](https://discourse.julialang.org/t/how-to-access-device-memory-from-the-host-whilst-a-kernel-is-running/74472 "2022-01-12T08:40:10Z")

</div>

I have allocated memory on the device and have passed it to a kernel function. Is it possible to read that memory from the host before the kernel finishes its execution? If it is possible could you please put me on the …

---

## [In what format does the "permutations" command in the Combinatorics library compute the permutations?](https://discourse.julialang.org/t/in-what-format-does-the-permutations-command-in-the-combinatorics-library-compute-the-permutations/74451)

<div class="topic-metadata">

**Author:** [@BinChicken42](https://discourse.julialang.org/u/BinChicken42)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 8:27am UTC](https://discourse.julialang.org/t/in-what-format-does-the-permutations-command-in-the-combinatorics-library-compute-the-permutations/74451 "2022-01-12T08:27:20Z")

</div>

I’m talking about this command: \[Docstrings · Combinatorics.jl\], Combinatorics version is 1.0.2, Julia version is 1.7.1 I want to see if the digits in a number (except one digit, called dig) add up to dig. My plan is to…

---

## [Scatterplot readability](https://discourse.julialang.org/t/scatterplot-readability/73810)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 12\
**Last updated:** [January 12, 2022, 8:06am UTC](https://discourse.julialang.org/t/scatterplot-readability/73810 "2022-01-12T08:06:21Z")

</div>

Hey, I have trouble finding an automatic way to make a scatterplot readable, while the number of points is variable. See the following code : using Distributions, StatsBase, Plots data = rand(LogNormal(0,1), (2,1\_000\_0…

---

## [How to use multithreads in subthread?](https://discourse.julialang.org/t/how-to-use-multithreads-in-subthread/74470)

<div class="topic-metadata">

**Author:** [@HANHAOHAN](https://discourse.julialang.org/u/HANHAOHAN)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 6:40am UTC](https://discourse.julialang.org/t/how-to-use-multithreads-in-subthread/74470 "2022-01-12T06:40:47Z")

</div>

\# start with -t 6 function test\_threads() Threads.@threads for i in 1:100 @show Threads.threadid() end end Threads.@spawn test\_threads() output as following: Threads.threadid() = 2 Threads.threadid() = 2 …

---

## [Threads.@spawn can not run many time?](https://discourse.julialang.org/t/threads-spawn-can-not-run-many-time/71765)

<div class="topic-metadata">

**Author:** [@HANHAOHAN](https://discourse.julialang.org/u/HANHAOHAN)\
**Replies:** 5\
**Last updated:** [January 12, 2022, 6:36am UTC](https://discourse.julialang.org/t/threads-spawn-can-not-run-many-time/71765 "2022-01-12T06:36:24Z")

</div>

HELP!!! code as following: cmid = Channel(100) while true wait(cmid) (mid::UInt32, video\_name::String) = take!(cmid) append!(mid\_list, fetch\_from\_list!(tasklist)) t = Threads.@spawn get\_frmkb(mid, video…

---

## [Rand not being random?](https://discourse.julialang.org/t/rand-not-being-random/74456)

<div class="topic-metadata">

**Author:** [@Arpad\_Barsi](https://discourse.julialang.org/u/Arpad_Barsi)\
**Replies:** 4\
**Last updated:** [January 12, 2022, 6:19am UTC](https://discourse.julialang.org/t/rand-not-being-random/74456 "2022-01-12T06:19:19Z")

</div>

Hey all, I’m trying to do Ant Colony Optimization in Julia, and I’ve run into a problem that when using rand I always get the lowest value possible. Most part of the function isn’t important I just didn’t want it to le…

---

## [Question about time series prediction](https://discourse.julialang.org/t/question-about-time-series-prediction/74390)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 5\
**Last updated:** [January 12, 2022, 5:06am UTC](https://discourse.julialang.org/t/question-about-time-series-prediction/74390 "2022-01-12T05:06:46Z")

</div>

Hi, I’m making predictions about the power system. I have clustered and tagged the current power system data (356\*2568). What method should be used to predict the possible emergence of species tags in the next period of …

---

## [Pseudo-inverse of large matrix very slow](https://discourse.julialang.org/t/pseudo-inverse-of-large-matrix-very-slow/49114)

<div class="topic-metadata">

**Author:** [@danvip](https://discourse.julialang.org/u/danvip)\
**Replies:** 20\
**Last updated:** [January 12, 2022, 4:43am UTC](https://discourse.julialang.org/t/pseudo-inverse-of-large-matrix-very-slow/49114 "2022-01-12T04:43:47Z")

</div>

Hi, first time posting here. I need to compute the pseudo-inverse of large matrix (2504, 2502) as a part of an algorithm I am developing in Python (solving Ax = b). In Python, the pseudo-inverse is a clear bottleneck in …

---

## ["BOLT Merged Into LLVM To Optimize Binaries For Faster Performance"](https://discourse.julialang.org/t/bolt-merged-into-llvm-to-optimize-binaries-for-faster-performance/74465)

<div class="topic-metadata">

**Author:** [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Replies:** 0\
**Last updated:** [January 12, 2022, 4:20am UTC](https://discourse.julialang.org/t/bolt-merged-into-llvm-to-optimize-binaries-for-faster-performance/74465 "2022-01-12T04:20:03Z")

</div>

11 January 2022 " Facebook for their data center usage of BOLT reports, " For datacenter applications, BOLT achieves up to 7.0% performance speedups on top of profile-guided function reordering and LTO. For the GCC and…

---

## [\[Ipopt+HSL\] Error: no BLAS/LAPACK library loaded!](https://discourse.julialang.org/t/ipopt-hsl-error-no-blas-lapack-library-loaded/74409)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 8\
**Last updated:** [January 12, 2022, 3:19am UTC](https://discourse.julialang.org/t/ipopt-hsl-error-no-blas-lapack-library-loaded/74409 "2022-01-12T03:19:19Z")

</div>

Happy New Year! I’m having an error with Ipopt and HSL library. With a toy example: using JuMP, Ipopt m = Model(Ipopt.Optimizer) set\_optimizer\_attribute(m, "linear\_solver", "ma86") @variable(m, x \<= 5) @variable(m, y \<…

---

## [Char --\> ISO 15924 "code" ( four-letter script codes / unicode )](https://discourse.julialang.org/t/char-iso-15924-code-four-letter-script-codes-unicode/73988)

<div class="topic-metadata">

**Author:** [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 2:47am UTC](https://discourse.julialang.org/t/char-iso-15924-code-four-letter-script-codes-unicode/73988 "2022-01-12T02:47:27Z")

</div>

Any function/package for converting Julia char to “four-letter script codes”? ISO 15924 Alphabetical Code List https://www.unicode.org/iso15924/iso15924.txt ISO 15924 - Wikipedia Script (Unicode) - Wikipedia

---

## [Converting a vector of static arrays](https://discourse.julialang.org/t/converting-a-vector-of-static-arrays/74448)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 12:49am UTC](https://discourse.julialang.org/t/converting-a-vector-of-static-arrays/74448 "2022-01-12T00:49:00Z")

</div>

I have the following data structure: using KiteUtils syslog=demo\_syslog(7) syslog.Z Output: 201-element Vector{StaticArrays.MVector{7, Float32}}: \[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0\] \[0.0, 0.0007690057, 0.0030974336,…

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

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