# Latest

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

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

**Page:** 1065

---

## [Solving SDP problem is 100x slower than Matlab CVX](https://discourse.julialang.org/t/solving-sdp-problem-is-100x-slower-than-matlab-cvx/79704)

<div class="topic-metadata">

**Author:** [@biona001](https://discourse.julialang.org/u/biona001)\
**Replies:** 5\
**Last updated:** [April 19, 2022, 9:28pm UTC](https://discourse.julialang.org/t/solving-sdp-problem-is-100x-slower-than-matlab-cvx/79704 "2022-04-19T21:28:35Z")

</div>

I’m trying to solve the following SDP problem \\begin{align\*} maximize \\ & \\sum\_j s\_j\\\\ \\text{subject to } \\ & 2\\Sigma - diag(s) \\succeq 0,\\\\ & 0 \\le s\_j \\le 1 \\end{align\*} Julia’s SCS solver with Convex.jl is 100x sl…

---

## [Help me to improve my skills](https://discourse.julialang.org/t/help-me-to-improve-my-skills/79663)

<div class="topic-metadata">

**Author:** [@Lamis\_Njeh](https://discourse.julialang.org/u/Lamis_Njeh)\
**Replies:** 4\
**Last updated:** [April 19, 2022, 7:29pm UTC](https://discourse.julialang.org/t/help-me-to-improve-my-skills/79663 "2022-04-19T19:29:23Z")

</div>

Hello , I’m looking for 1 / challenges in programming solving + Machine Learning to practice 2/ I have some problems when I m looking for predefined functions so where could I find all those functions it’s lovely to …

---

## [Jupyterlab() only works after I run Pkg.build("IJulia") every time](https://discourse.julialang.org/t/jupyterlab-only-works-after-i-run-pkg-build-ijulia-every-time/79507)

<div class="topic-metadata">

**Author:** [@gnicolosi](https://discourse.julialang.org/u/gnicolosi)\
**Replies:** 4\
**Last updated:** [April 19, 2022, 6:08pm UTC](https://discourse.julialang.org/t/jupyterlab-only-works-after-i-run-pkg-build-ijulia-every-time/79507 "2022-04-19T18:08:49Z")

</div>

Hi, all of a sudden I am only able to make jupyterlab work properly by running the following before the jupyterlab() call: using Pkg Pkg.build("IJulia") If I don’t do so, jupyterlab open on the browser and gives me a “…

---

## [Extract an \`AbstractVector{T}\` from an \`AbstractVector{T, Missing}\`](https://discourse.julialang.org/t/extract-an-abstractvector-t-from-an-abstractvector-t-missing/79698)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 3\
**Last updated:** [April 19, 2022, 6:00pm UTC](https://discourse.julialang.org/t/extract-an-abstractvector-t-from-an-abstractvector-t-missing/79698 "2022-04-19T18:00:46Z")

</div>

I know that a certain subset of the indices of an AbstractVector{T, Missing} are not missing. I want to efficiently manipulate that subset. How can I extract x::AbstractVector{T} from y::AbstractVector{T, Missing} such …

---

## [Bayesian regression with parametrized basis functions in Turing.jl](https://discourse.julialang.org/t/bayesian-regression-with-parametrized-basis-functions-in-turing-jl/71725)

<div class="topic-metadata">

**Author:** [@mvsoom](https://discourse.julialang.org/u/mvsoom)\
**Replies:** 7\
**Last updated:** [April 19, 2022, 5:55pm UTC](https://discourse.julialang.org/t/bayesian-regression-with-parametrized-basis-functions-in-turing-jl/71725 "2022-04-19T17:55:14Z")

</div>

I’m trying to migrate a simple Bayesian model handwritten in Python to Turing.jl for a more modern approach. The model is a classical parametrized basis function expansion: a 1D (speech) signal f(t) is expanded into par…

---

## [Best practices for weak and uninformative priors in Turing](https://discourse.julialang.org/t/best-practices-for-weak-and-uninformative-priors-in-turing/79666)

<div class="topic-metadata">

**Author:** [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Replies:** 5\
**Last updated:** [April 19, 2022, 5:29pm UTC](https://discourse.julialang.org/t/best-practices-for-weak-and-uninformative-priors-in-turing/79666 "2022-04-19T17:29:45Z")

</div>

I am working through a question for a class taught in R and I am trying to recreate the class examples in Julia. Now that we have started doing bayesian regression I have hit a bit of a learning curve, because I am doing…

---

## [Use of findall with different conditions at the same time?](https://discourse.julialang.org/t/use-of-findall-with-different-conditions-at-the-same-time/79656)

<div class="topic-metadata">

**Author:** [@Alejandro\_Quiaro\_San](https://discourse.julialang.org/u/Alejandro_Quiaro_San)\
**Replies:** 11\
**Last updated:** [April 19, 2022, 4:15pm UTC](https://discourse.julialang.org/t/use-of-findall-with-different-conditions-at-the-same-time/79656 "2022-04-19T16:15:38Z")

</div>

Hi guys. I am trying to identify values on a matrix that are out of certain boundaries and extracting their positions within the matrix. I am using the function findall in the following way: The input Matrix is “mat” a…

---

## [Alternate ways to deal with arrays of subtypes of abstract type](https://discourse.julialang.org/t/alternate-ways-to-deal-with-arrays-of-subtypes-of-abstract-type/79689)

<div class="topic-metadata">

**Author:** [@NatMath](https://discourse.julialang.org/u/NatMath)\
**Replies:** 11\
**Last updated:** [April 19, 2022, 4:15pm UTC](https://discourse.julialang.org/t/alternate-ways-to-deal-with-arrays-of-subtypes-of-abstract-type/79689 "2022-04-19T16:15:20Z")

</div>

New to Julia here. I am currently working on a raymarching program which supports different types of primitives. I thus have a Primitive abstract type which has subtypes, for example Sphere and Box. For each primitive su…

---

## [Calculating crossentropy with varying sized vectors on GPU](https://discourse.julialang.org/t/calculating-crossentropy-with-varying-sized-vectors-on-gpu/79700)

<div class="topic-metadata">

**Author:** [@Casper](https://discourse.julialang.org/u/Casper)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 4:15pm UTC](https://discourse.julialang.org/t/calculating-crossentropy-with-varying-sized-vectors-on-gpu/79700 "2022-04-19T16:15:08Z")

</div>

Hello, I’m attempting to calculate the cross entropy of a bunch of samples of different length. using CUDA entropy(π̂, π) =-sum(π .\* log.(π̂ )) m = 3 n = 3 w = ones(m) |\> gpu a1 = rand(Float32, m, n) a1 = softmax(a…

---

## [AWSS3.jl other cloud provider](https://discourse.julialang.org/t/awss3-jl-other-cloud-provider/79505)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 2\
**Last updated:** [April 19, 2022, 3:22pm UTC](https://discourse.julialang.org/t/awss3-jl-other-cloud-provider/79505 "2022-04-19T15:22:47Z")

</div>

Hello, Is it possible to manage S3 buckets with AWSS3.jl from other cloud providers. Several cloud providers allow using aws cli ? Thanks for answering.

---

## [JULIA\_DEBUG environment variable](https://discourse.julialang.org/t/julia-debug-environment-variable/73278)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 5\
**Last updated:** [April 19, 2022, 3:05pm UTC](https://discourse.julialang.org/t/julia-debug-environment-variable/73278 "2022-04-19T15:05:30Z")

</div>

I don’t understand how JULIA\_DEBUG environment variable works. module A foo() = @debug "foo" end A.foo() # nothing printed ENV\["JULIA\_DEBUG"\] = Main.A A.foo() # nothing printed Why nothing is printed there? However…

---

## [Application of DiffEqFlux to real data, with useful practical techniques](https://discourse.julialang.org/t/application-of-diffeqflux-to-real-data-with-useful-practical-techniques/79691)

<div class="topic-metadata">

**Author:** [@evolbio](https://discourse.julialang.org/u/evolbio)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 1:33pm UTC](https://discourse.julialang.org/t/application-of-diffeqflux-to-real-data-with-useful-practical-techniques/79691 "2022-04-19T13:33:12Z")

</div>

Self-promotion … The following article may be a useful guide for fitting real time series data to ODE and NODE models with DiffEqFlux.jl. \[2204.07833\] Optimizing differential equations to fit data and predict outcomes T…

---

## [Replicating Matlab ode15s results in Julia](https://discourse.julialang.org/t/replicating-matlab-ode15s-results-in-julia/79280)

<div class="topic-metadata">

**Author:** [@BinaryBot](https://discourse.julialang.org/u/BinaryBot)\
**Replies:** 15\
**Last updated:** [April 19, 2022, 12:31pm UTC](https://discourse.julialang.org/t/replicating-matlab-ode15s-results-in-julia/79280 "2022-04-19T12:31:32Z")

</div>

I’m new to Julia and I have been working on ODE solvers for my first project .I recently got my hands onto some data which was generated using Matlab. I have been trying to replicate the results using the Julia Different…

---

## [LinearAlgebra and TaylorSeries not interacting as expected](https://discourse.julialang.org/t/linearalgebra-and-taylorseries-not-interacting-as-expected/79679)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 2\
**Last updated:** [April 19, 2022, 12:26pm UTC](https://discourse.julialang.org/t/linearalgebra-and-taylorseries-not-interacting-as-expected/79679 "2022-04-19T12:26:09Z")

</div>

I just found out that some bizarre behaviour I was getting when using TaylorIntegration was due to my use of LinearAlgebra.norm in my equation of motion… Apparently, LinearAlgebra considers a Taylor1 (or TaylorN) object …

---

## [Save model- what do the Pickle as Python?](https://discourse.julialang.org/t/save-model-what-do-the-pickle-as-python/79644)

<div class="topic-metadata">

**Author:** [@HosseinF](https://discourse.julialang.org/u/HosseinF)\
**Replies:** 6\
**Last updated:** [April 19, 2022, 12:22pm UTC](https://discourse.julialang.org/t/save-model-what-do-the-pickle-as-python/79644 "2022-04-19T12:22:55Z")

</div>

Hi, I am trying to save the model and results in StocasticPrograms. I tried write\_to\_file(sp, "Models/model\_1.mps") but I faced an error: NaNERROR: LoadError: MethodError: no method matching write\_to\_file(::StochasticP…

---

## [How can I tag a package?](https://discourse.julialang.org/t/how-can-i-tag-a-package/79678)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 19, 2022, 11:00am UTC](https://discourse.julialang.org/t/how-can-i-tag-a-package/79678 "2022-04-19T11:00:26Z")

</div>

On JuliaHub I can search for packages by “tag”. How can I add tags to my own packages?

---

## [\[ANN\] SuiteSparseGraphBLAS.jl v0.7.0](https://discourse.julialang.org/t/ann-suitesparsegraphblas-jl-v0-7-0/79632)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 7\
**Last updated:** [April 19, 2022, 10:51am UTC](https://discourse.julialang.org/t/ann-suitesparsegraphblas-jl-v0-7-0/79632 "2022-04-19T10:51:15Z")

</div>

Hey folks! I’m very excited to announce version 0.7.0 of SuiteSparseGraphBLAS.jl! This is the first release in what I hope will be a period of bugfixes, convenience function, and ecosystem development before v1.0! Suite…

---

## [JuliaHub is discrediting packages](https://discourse.julialang.org/t/juliahub-is-discrediting-packages/79657)

<div class="topic-metadata">

**Author:** [@leiteiro](https://discourse.julialang.org/u/leiteiro)\
**Replies:** 8\
**Last updated:** [April 19, 2022, 10:39am UTC](https://discourse.julialang.org/t/juliahub-is-discrediting-packages/79657 "2022-04-19T10:39:34Z")

</div>

My package is tested and runs with Julia 1.6.x, 1.7.x and 18.8.0-beta3. And it’s registered on JuliaHub. Now I get an email: “Hey, what’s up with your package? JuliaHub says it’s broken.” And indeed, on JuliaHub, unde…

---

## [Gaussian Processes and Infinite Neural Networks with Julia](https://discourse.julialang.org/t/gaussian-processes-and-infinite-neural-networks-with-julia/79677)

<div class="topic-metadata">

**Author:** [@bonevbs](https://discourse.julialang.org/u/bonevbs)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 10:31am UTC](https://discourse.julialang.org/t/gaussian-processes-and-infinite-neural-networks-with-julia/79677 "2022-04-19T10:31:52Z")

</div>

I recently wanted to explore the connection between GPs and Infinite Neural Networks and took this as an excuse to become familiar with the Distributions package and Flux.jl. I thought others here might find this interes…

---

## [Use of intermediate variables to condition likelihood](https://discourse.julialang.org/t/use-of-intermediate-variables-to-condition-likelihood/78313)

<div class="topic-metadata">

**Author:** [@3mtmuhPnQv](https://discourse.julialang.org/u/3mtmuhPnQv)\
**Replies:** 1\
**Last updated:** [April 19, 2022, 8:58am UTC](https://discourse.julialang.org/t/use-of-intermediate-variables-to-condition-likelihood/78313 "2022-04-19T08:58:18Z")

</div>

I’d like to model prices as following a kind of stochastic difference equation, where jumps from one time step to the next follow p\_{t} = p\_{t - 1} + c \\exp(- b t\_0) \\Delta t + X(t) X ~ \\text{student\_t}(3, 0, \\sqrt{\\De…

---

## [How can I improve this parallel routine on mutually independent tasks?](https://discourse.julialang.org/t/how-can-i-improve-this-parallel-routine-on-mutually-independent-tasks/79669)

<div class="topic-metadata">

**Author:** [@zxjroger](https://discourse.julialang.org/u/zxjroger)\
**Replies:** 1\
**Last updated:** [April 19, 2022, 6:04am UTC](https://discourse.julialang.org/t/how-can-i-improve-this-parallel-routine-on-mutually-independent-tasks/79669 "2022-04-19T06:04:23Z")

</div>

I intend to solve N mutually independent tasks in parallel and each task is solved on a single CPU. I find an example code online and revised it as in the following MWE. I was wondering: Why there is a for loop over a…

---

## [Copy packages to an offline machine (for dummies)](https://discourse.julialang.org/t/copy-packages-to-an-offline-machine-for-dummies/63342)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 2\
**Last updated:** [April 19, 2022, 5:48am UTC](https://discourse.julialang.org/t/copy-packages-to-an-offline-machine-for-dummies/63342 "2022-04-19T05:48:42Z")

</div>

Hello, I am trying to copy the packages from my PC to another PC that is not connected to the internet. I know that there are a number of threads about this out there, however, frankly, I do not understand the proposed …

---

## [Use Pluto without internet](https://discourse.julialang.org/t/use-pluto-without-internet/62995)

<div class="topic-metadata">

**Author:** [@cepheid](https://discourse.julialang.org/u/cepheid)\
**Replies:** 4\
**Last updated:** [April 19, 2022, 5:30am UTC](https://discourse.julialang.org/t/use-pluto-without-internet/62995 "2022-04-19T05:30:30Z")

</div>

I want to use the Pluto in the internal computer without internet. using Pluto Pluto.run() The Pluto start slowly, the Loading dialog box is not show, and the new notebook can’t be created. How to use the Pluto without…

---

## [Copying packages to ~/.julia, but they aren't found](https://discourse.julialang.org/t/copying-packages-to-julia-but-they-arent-found/16249)

<div class="topic-metadata">

**Author:** [@natemcintosh](https://discourse.julialang.org/u/natemcintosh)\
**Replies:** 9\
**Last updated:** [April 19, 2022, 5:22am UTC](https://discourse.julialang.org/t/copying-packages-to-julia-but-they-arent-found/16249 "2022-04-19T05:22:59Z")

</div>

I do a lot of work on an offline machine, and I’m trying to set up Julia on it. I already have Julia installed and working on that offline machine. As a first attempt at bringing in packages, I’ve copied and pasted all …

---

## [Offline packages and .julia folder](https://discourse.julialang.org/t/offline-packages-and-julia-folder/65577)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 3\
**Last updated:** [April 19, 2022, 5:16am UTC](https://discourse.julialang.org/t/offline-packages-and-julia-folder/65577 "2022-04-19T05:16:04Z")

</div>

How reliable is it to copy the .julia folder as a way to install packages without internet access? That is, can this procedure work, assuming that computers A and B have the same OS and processor? Computer A has access…

---

## [Querying optimizer to set for another JuMP model](https://discourse.julialang.org/t/querying-optimizer-to-set-for-another-jump-model/79672)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 15\
**Last updated:** [April 19, 2022, 5:07am UTC](https://discourse.julialang.org/t/querying-optimizer-to-set-for-another-jump-model/79672 "2022-04-19T05:07:09Z")

</div>

I have a question (probably very naive though) on how to query an optimizer used for a particular model, so that I can use it in another JuMP model. For example, suppose user decides to use GLPK for the first model as sh…

---

## [Solving for the steady states of an ODE model symbolically](https://discourse.julialang.org/t/solving-for-the-steady-states-of-an-ode-model-symbolically/79673)

<div class="topic-metadata">

**Author:** [@Dragolonth](https://discourse.julialang.org/u/Dragolonth)\
**Replies:** 1\
**Last updated:** [April 19, 2022, 5:01am UTC](https://discourse.julialang.org/t/solving-for-the-steady-states-of-an-ode-model-symbolically/79673 "2022-04-19T05:01:12Z")

</div>

Hello everyone! I was wondering what the best method would be to solve for the steady states of an ODE model symbolically for any parameter values.

---

## [Turing.jl identical likelihood but different \`MAP()\` result?](https://discourse.julialang.org/t/turing-jl-identical-likelihood-but-different-map-result/79671)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 3:09am UTC](https://discourse.julialang.org/t/turing-jl-identical-likelihood-but-different-map-result/79671 "2022-04-19T03:09:58Z")

</div>

sample script: https://gist.github.com/Moelf/ab2f10ce45873bb91eaec60ace8388c0 you will need \]dev https://github.com/JuliaHEP/LiteHF.jl \]add Turing, Optim to compare, flip this line: https://github.com/JuliaHEP/LiteH…

---

## [Problems on ReservoirComputing.jl](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623)

<div class="topic-metadata">

**Author:** [@Louis612](https://discourse.julialang.org/u/Louis612)\
**Replies:** 10\
**Last updated:** [April 19, 2022, 2:24am UTC](https://discourse.julialang.org/t/problems-on-reservoircomputing-jl/79623 "2022-04-19T02:24:40Z")

</div>

I’m now trying to use ReservoirComputing library, but when I try to set the NLAtype, it doesn’t work and shows “UndefVarError: NLAT2 not defined”. I wonder what’s wrong with the code (You can find the code here:https:…

---

## [\[ANN\] KiteModels v0.3.1](https://discourse.julialang.org/t/ann-kitemodels-v0-3-1/79642)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 0\
**Last updated:** [April 18, 2022, 5:34pm UTC](https://discourse.julialang.org/t/ann-kitemodels-v0-3-1/79642 "2022-04-18T17:34:24Z")

</div>

This is a major improvement of the package KiteModels, which now provides two different kite power system models, a one point model and a four point model together with a segmented tether model. Airborne wind energy is …

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

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