# Latest

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

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

**Page:** 1178

---

## [Please Help Check Code! Reflectance Estimation Using MCMC Sampling with Truncated Normals](https://discourse.julialang.org/t/please-help-check-code-reflectance-estimation-using-mcmc-sampling-with-truncated-normals/73024)

<div class="topic-metadata">

**Author:** [@RexXI](https://discourse.julialang.org/u/RexXI)\
**Replies:** 7\
**Last updated:** [December 15, 2021, 10:44pm UTC](https://discourse.julialang.org/t/please-help-check-code-reflectance-estimation-using-mcmc-sampling-with-truncated-normals/73024 "2021-12-15T22:44:55Z")

</div>

Any Help is extremely appreciated. I am/have been attempting to figure out what is wrong with my code – mainly because the data are not showing up on the scatter plot in the correct quadrant as defined by the set paramet…

---

## [Positions in an array](https://discourse.julialang.org/t/positions-in-an-array/73157)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 6\
**Last updated:** [December 15, 2021, 9:53pm UTC](https://discourse.julialang.org/t/positions-in-an-array/73157 "2021-12-15T21:53:58Z")

</div>

Hello! I have a 15360x3 array and the last column may only assume three different values: -1, 1, or 2. I’d like to obtain arrays with the positions in this array where the third column assumes each of these possible val…

---

## [How to solve instability in ODE problem?](https://discourse.julialang.org/t/how-to-solve-instability-in-ode-problem/73158)

<div class="topic-metadata">

**Author:** [@BirteT](https://discourse.julialang.org/u/BirteT)\
**Replies:** 3\
**Last updated:** [December 15, 2021, 9:14pm UTC](https://discourse.julialang.org/t/how-to-solve-instability-in-ode-problem/73158 "2021-12-15T21:14:43Z")

</div>

I am trying to implement a model that is implemented in Matlab in Julia using the DifferentialEquations package. In Julia, the solver stops after a couple of iterations with a warning that an instability has been detecte…

---

## [Automatically build a system image on package installation](https://discourse.julialang.org/t/automatically-build-a-system-image-on-package-installation/45907)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 16\
**Last updated:** [December 15, 2021, 7:22pm UTC](https://discourse.julialang.org/t/automatically-build-a-system-image-on-package-installation/45907 "2021-12-15T19:22:28Z")

</div>

For colleagues used to a workflow centered around running Python scripts from the command line, I was wondering if a similar workflow with Julia could be facilitated by automatically building a system image containing re…

---

## ["kill" internal execution](https://discourse.julialang.org/t/kill-internal-execution/73144)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 4\
**Last updated:** [December 15, 2021, 6:59pm UTC](https://discourse.julialang.org/t/kill-internal-execution/73144 "2021-12-15T18:59:15Z")

</div>

Is it possible to “kill” the execution of a function under some condition? The use case here would be for benchmarking. That is, I want to run several benchmarks, but I don’t want any of them to take more than some ammo…

---

## [Values of arrays changed unexpectedly due to storage allocation issue?](https://discourse.julialang.org/t/values-of-arrays-changed-unexpectedly-due-to-storage-allocation-issue/73135)

<div class="topic-metadata">

**Author:** [@MichaelGao](https://discourse.julialang.org/u/MichaelGao)\
**Replies:** 7\
**Last updated:** [December 15, 2021, 4:57pm UTC](https://discourse.julialang.org/t/values-of-arrays-changed-unexpectedly-due-to-storage-allocation-issue/73135 "2021-12-15T16:57:34Z")

</div>

Not sure whether I am asking this question in the correct section. I wanted to build a solver for the 1D advection-dispersion-equation, with Dirichlet boundary condition at the influx end and Neumann BC at the efflux en…

---

## [The behavior of appending an empty matrix to a non-empty one](https://discourse.julialang.org/t/the-behavior-of-appending-an-empty-matrix-to-a-non-empty-one/73107)

<div class="topic-metadata">

**Author:** [@leon](https://discourse.julialang.org/u/leon)\
**Replies:** 7\
**Last updated:** [December 15, 2021, 4:47pm UTC](https://discourse.julialang.org/t/the-behavior-of-appending-an-empty-matrix-to-a-non-empty-one/73107 "2021-12-15T16:47:34Z")

</div>

For example, A = \[1 2 3; 4 5 6\]; B can be either a N x 3 matrix or empty like the below: B = \[\]; When B is empty, why couldn’t I append B to A C = vcat(A, B); Error message: ArgumentError: number of columns of eac…

---

## [Can I draw a unicodeplot repeatedly without annoying shift on terminal?](https://discourse.julialang.org/t/can-i-draw-a-unicodeplot-repeatedly-without-annoying-shift-on-terminal/73112)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 6\
**Last updated:** [December 15, 2021, 3:48pm UTC](https://discourse.julialang.org/t/can-i-draw-a-unicodeplot-repeatedly-without-annoying-shift-on-terminal/73112 "2021-12-15T15:48:46Z")

</div>

While following an example of DiffEqFlux.jl, I wanna change the backend of Plots.jl to do this remotely (via ssh). However, repeatedly generated unicodeplot makes the terminal very annoying like: 74.84191276952308 …

---

## [Why do large NTuples Allocate?](https://discourse.julialang.org/t/why-do-large-ntuples-allocate/73145)

<div class="topic-metadata">

**Author:** [@jg-854](https://discourse.julialang.org/u/jg-854)\
**Replies:** 6\
**Last updated:** [December 15, 2021, 3:13pm UTC](https://discourse.julialang.org/t/why-do-large-ntuples-allocate/73145 "2021-12-15T15:13:35Z")

</div>

I was surprised to find that generating Tuples via generators causes allocations for large generators… Using BenchmarkTools @btime NTuple{5,Float64}(1.0 for i=1:5) 1.500 ns (0 allocations: 0 bytes) @btime NTuple{50…

---

## [Problem with PyPlot library](https://discourse.julialang.org/t/problem-with-pyplot-library/73147)

<div class="topic-metadata">

**Author:** [@GalloLuigi](https://discourse.julialang.org/u/GalloLuigi)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 2:59pm UTC](https://discourse.julialang.org/t/problem-with-pyplot-library/73147 "2021-12-15T14:59:05Z")

</div>

Hi, until yesterday I was able to use PyPlot. I got this error this morning Someone can help me?

---

## [How do I create a src folder for my environment?](https://discourse.julialang.org/t/how-do-i-create-a-src-folder-for-my-environment/73133)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 5\
**Last updated:** [December 15, 2021, 1:03pm UTC](https://discourse.julialang.org/t/how-do-i-create-a-src-folder-for-my-environment/73133 "2021-12-15T13:03:36Z")

</div>

I created a new environment following these the steps in 4. Working with Environments · Pkg.jl After that I told VSCode to use that environment by moving to it using the Explorer in VSCode and using the VSCode command A…

---

## [Julia 1.7.1 testing period](https://discourse.julialang.org/t/julia-1-7-1-testing-period/73140)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 12:41pm UTC](https://discourse.julialang.org/t/julia-1-7-1-testing-period/73140 "2021-12-15T12:41:41Z")

</div>

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

---

## [Vscode: plots pane keeps occupying the full screen](https://discourse.julialang.org/t/vscode-plots-pane-keeps-occupying-the-full-screen/73100)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 7\
**Last updated:** [December 15, 2021, 12:41pm UTC](https://discourse.julialang.org/t/vscode-plots-pane-keeps-occupying-the-full-screen/73100 "2021-12-15T12:41:39Z")

</div>

Before the last update of VScode, when I had a layout like this: and modified the code to produce a new/tuned plot, the plot appeared in the same position. Now whenever (not always, actually) I update the plot, this …

---

## [Julia 1.6.5 testing period](https://discourse.julialang.org/t/julia-1-6-5-testing-period/73068)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 12:40pm UTC](https://discourse.julialang.org/t/julia-1-6-5-testing-period/73068 "2021-12-15T12:40:03Z")

</div>

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

---

## [Quadratic Program solver](https://discourse.julialang.org/t/quadratic-program-solver/73125)

<div class="topic-metadata">

**Author:** [@FH96](https://discourse.julialang.org/u/FH96)\
**Replies:** 3\
**Last updated:** [December 15, 2021, 12:36pm UTC](https://discourse.julialang.org/t/quadratic-program-solver/73125 "2021-12-15T12:36:36Z")

</div>

Is there a list of available solvers for QP which can be used in julia? Googling and finding one by one is taking a lot of time SCS and OSQP are not accurate enough , COSMO doesn’t work for my problem… By the way can …

---

## [1.7.0 CSV Can no read files, fails \] test, in VScode, Jupyter, Pluto Win 11. 5900hx](https://discourse.julialang.org/t/1-7-0-csv-can-no-read-files-fails-test-in-vscode-jupyter-pluto-win-11-5900hx/73101)

<div class="topic-metadata">

**Author:** [@AmiranB](https://discourse.julialang.org/u/AmiranB)\
**Replies:** 5\
**Last updated:** [December 15, 2021, 12:31pm UTC](https://discourse.julialang.org/t/1-7-0-csv-can-no-read-files-fails-test-in-vscode-jupyter-pluto-win-11-5900hx/73101 "2021-12-15T12:31:30Z")

</div>

Hi, CSV stopped reading txt files: that are there and exist for sure julia\> file = CSV.File(stocks\_path \* “abax.us.txt”) ERROR: ArgumentError: “/Users/bokhu/Datasets/Stocksabax.us.txt” is not a valid file or doesn’t e…

---

## [Clear terminal window](https://discourse.julialang.org/t/clear-terminal-window/17046)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 8\
**Last updated:** [December 15, 2021, 12:09pm UTC](https://discourse.julialang.org/t/clear-terminal-window/17046 "2021-12-15T12:09:53Z")

</div>

How can I programmatically clear the terminal window, equivalent to pressing Ctrl+l?

---

## [Julia Portable Mode o Standalone](https://discourse.julialang.org/t/julia-portable-mode-o-standalone/44913)

<div class="topic-metadata">

**Author:** [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Replies:** 7\
**Last updated:** [December 15, 2021, 11:12am UTC](https://discourse.julialang.org/t/julia-portable-mode-o-standalone/44913 "2021-12-15T11:12:26Z")

</div>

Hello, How to correctly configure Julia standalone, For everything to happen from the external storage USB drives: Add, update packages !!!? In the site VSC portable, you can read how to configure VSC (Visual Studio Co…

---

## [Observable/Reactive var between multiple projects](https://discourse.julialang.org/t/observable-reactive-var-between-multiple-projects/73134)

<div class="topic-metadata">

**Author:** [@cesarmarinhorj](https://discourse.julialang.org/u/cesarmarinhorj)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 10:50am UTC](https://discourse.julialang.org/t/observable-reactive-var-between-multiple-projects/73134 "2021-12-15T10:50:19Z")

</div>

As a myVar in my “project1” is observable/reactive, and can make the listeners of that myVar in other projects, “project2”, “project3”, etc… how this will work in such cenario? can use that way? i can seek in a databa…

---

## [Come with us as a Research Fellow in machine learning for science](https://discourse.julialang.org/t/come-with-us-as-a-research-fellow-in-machine-learning-for-science/72234)

<div class="topic-metadata">

**Author:** [@alvorithm](https://discourse.julialang.org/u/alvorithm)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 10:48am UTC](https://discourse.julialang.org/t/come-with-us-as-a-research-fellow-in-machine-learning-for-science/72234 "2021-12-15T10:48:41Z")

</div>

Dear Julians, At the Cluster of Excellence ML in Science, located in Tübingen, Germany, we are looking for research fellows to carry out a research program with machine learning applied to the natural sciences, the soci…

---

## [Memory usage in DifferentialEquations.jl](https://discourse.julialang.org/t/memory-usage-in-differentialequations-jl/73117)

<div class="topic-metadata">

**Author:** [@Sarthak\_Choudhury](https://discourse.julialang.org/u/Sarthak_Choudhury)\
**Replies:** 1\
**Last updated:** [December 15, 2021, 10:45am UTC](https://discourse.julialang.org/t/memory-usage-in-differentialequations-jl/73117 "2021-12-15T10:45:38Z")

</div>

Hi , I am encountering a problem with DifferentialEquations.jl running out of memory when using threads. So I have created a function which is non-allocating and then used threads to speed up the process. The function i…

---

## [VScode Jupyter Extension vs. IJulia browser](https://discourse.julialang.org/t/vscode-jupyter-extension-vs-ijulia-browser/73053)

<div class="topic-metadata">

**Author:** [@donkeysaddle](https://discourse.julialang.org/u/donkeysaddle)\
**Replies:** 4\
**Last updated:** [December 15, 2021, 10:33am UTC](https://discourse.julialang.org/t/vscode-jupyter-extension-vs-ijulia-browser/73053 "2021-12-15T10:33:07Z")

</div>

How does the Jupyter-Notebook extension compare to installing Jupyter with Conda and using IJulia? My preference is to do everything in VSCode, but am wondering if there are any drawbacks (e.g., speed). Thanks! DS

---

## [An easy way to call Julia function from Java](https://discourse.julialang.org/t/an-easy-way-to-call-julia-function-from-java/18357)

<div class="topic-metadata">

**Author:** [@piofel](https://discourse.julialang.org/u/piofel)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 10:10am UTC](https://discourse.julialang.org/t/an-easy-way-to-call-julia-function-from-java/18357 "2021-12-15T10:10:45Z")

</div>

What is the easiest way to call a Julia function from Java? And if such possibility is not straightforward, will it be implemented in further versions of Julia (or maybe this requires a new library for Java)? I feel that…

---

## [3D printing apriltags](https://discourse.julialang.org/t/3d-printing-apriltags/73128)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 9:55am UTC](https://discourse.julialang.org/t/3d-printing-apriltags/73128 "2021-12-15T09:55:04Z")

</div>

I’ve recently managed to 3D print an apriltag with the help of folks on slack. Since there was some interest in how it worked, I wrote what I did here. Apriltags consist of two colors, black and white. So I need the pri…

---

## [How to interpret 2nd order Sobol global sensitivity analysis result?](https://discourse.julialang.org/t/how-to-interpret-2nd-order-sobol-global-sensitivity-analysis-result/47804)

<div class="topic-metadata">

**Author:** [@Janssena](https://discourse.julialang.org/u/Janssena)\
**Replies:** 16\
**Last updated:** [December 15, 2021, 9:20am UTC](https://discourse.julialang.org/t/how-to-interpret-2nd-order-sobol-global-sensitivity-analysis-result/47804 "2021-12-15T09:20:06Z")

</div>

Hey All, I used DiffeqSensitivity’s global sensitivity analysis using the Sobol method in order to explain the influence of specific input parameters of a model I’m building. I’m already getting some exciting results fr…

---

## [Interpolation.jl + Cuda.jl? Possible?](https://discourse.julialang.org/t/interpolation-jl-cuda-jl-possible/73096)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 9:17am UTC](https://discourse.julialang.org/t/interpolation-jl-cuda-jl-possible/73096 "2021-12-15T09:17:02Z")

</div>

Hi everyone. I want to add Cuda.jl and GPU processing to my current workflow. I know NOTHING about GPU but I like what I have seen in CUDA.jl. My main problem is that I (over)use Interpolations.jl to create interpolati…

---

## [Factorial on GPU](https://discourse.julialang.org/t/factorial-on-gpu/73116)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 1\
**Last updated:** [December 15, 2021, 6:07am UTC](https://discourse.julialang.org/t/factorial-on-gpu/73116 "2021-12-15T06:07:23Z")

</div>

I wanted to perform a factorial calculation within a kernel for implementing a statistical measure (Poisson likelihood) on GPU, It turns out like factorial isn’t supported on GPU: using CUDA function gpu\_fac(y, x) …

---

## [Automatic differentiation through DataFrame or any other DataFrame-like tables](https://discourse.julialang.org/t/automatic-differentiation-through-dataframe-or-any-other-dataframe-like-tables/73114)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 1\
**Last updated:** [December 15, 2021, 4:03am UTC](https://discourse.julialang.org/t/automatic-differentiation-through-dataframe-or-any-other-dataframe-like-tables/73114 "2021-12-15T04:03:22Z")

</div>

Hi, I’m inspecting some functionality of DiffEqFlux.jl by modifying DiffEqFlux.jl’s examples. I wonder if it’s possible to save trajectory data as DataFrame and take automatic differentiation (via e.g. Zygote) through t…

---

## [KrylovKit.svdsolve() terminating too early, with non-orthogonal singular vectors](https://discourse.julialang.org/t/krylovkit-svdsolve-terminating-too-early-with-non-orthogonal-singular-vectors/73109)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 0\
**Last updated:** [December 15, 2021, 2:36am UTC](https://discourse.julialang.org/t/krylovkit-svdsolve-terminating-too-early-with-non-orthogonal-singular-vectors/73109 "2021-12-15T02:36:28Z")

</div>

I have for long had troubles with the KrylovKit.svdsolve() method. I am using Julia version 1.7.0, and I am trying to find the SVD of a sparse 1001X1001 matrix. It seems that if I try to find L=150 svd pairs, the U, V ma…

---

## [Text Mining: Detect Strings: Word Lookup in a Large Corpus of Phrases Using a Large Dictionary](https://discourse.julialang.org/t/text-mining-detect-strings-word-lookup-in-a-large-corpus-of-phrases-using-a-large-dictionary/72665)

<div class="topic-metadata">

**Author:** [@aourednik](https://discourse.julialang.org/u/aourednik)\
**Replies:** 27\
**Last updated:** [December 15, 2021, 12:39am UTC](https://discourse.julialang.org/t/text-mining-detect-strings-word-lookup-in-a-large-corpus-of-phrases-using-a-large-dictionary/72665 "2021-12-15T00:39:19Z")

</div>

I am trying to port a multithreaded #RStats algorithm for detecting strings from a 200k long dictionary in a corpus of 1 million phrases (cf. Text Mining: Detect Strings: Very Fast Word Lookup in a Large Dictionary in R …

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

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