# Latest

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

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

**Page:** 1288

---

## [Product of two stochastic processes in DifferentialEquations.jl](https://discourse.julialang.org/t/product-of-two-stochastic-processes-in-differentialequations-jl/66391)

<div class="topic-metadata">

**Author:** [@mastrof](https://discourse.julialang.org/u/mastrof)\
**Replies:** 3\
**Last updated:** [August 26, 2021, 4:27am UTC](https://discourse.julialang.org/t/product-of-two-stochastic-processes-in-differentialequations-jl/66391 "2021-08-26T04:27:32Z")

</div>

Hello, I have recently started to play out with DifferentialEquations.jl; I’m gradually reading through the docs but there’s a lot of stuff in there which will keep me busy for a while, so I’m still at a beginner level. …

---

## [Getting name from "name"](https://discourse.julialang.org/t/getting-name-from-name/66893)

<div class="topic-metadata">

**Author:** [@dgpdx](https://discourse.julialang.org/u/dgpdx)\
**Replies:** 33\
**Last updated:** [August 26, 2021, 1:49am UTC](https://discourse.julialang.org/t/getting-name-from-name/66893 "2021-08-26T01:49:29Z")

</div>

Is there a way in Julia to parse “name” into name?

---

## [PyCall and @guvectorize](https://discourse.julialang.org/t/pycall-and-guvectorize/67008)

<div class="topic-metadata">

**Author:** [@danicaratelli](https://discourse.julialang.org/u/danicaratelli)\
**Replies:** 0\
**Last updated:** [August 25, 2021, 11:49pm UTC](https://discourse.julialang.org/t/pycall-and-guvectorize/67008 "2021-08-25T23:49:39Z")

</div>

Hello, I have code in python that I am trying to import in Julia. I do the following: np = pyimport("numpy"); pyimport("numba").guvectorize; and in a separate file have py""" @guvectorize(\['void(float64\[:\], float64\[:…

---

## [Where or How to edit DEPOT\_PATH](https://discourse.julialang.org/t/where-or-how-to-edit-depot-path/13501)

<div class="topic-metadata">

**Author:** [@Moses](https://discourse.julialang.org/u/Moses)\
**Replies:** 16\
**Last updated:** [August 25, 2021, 11:38pm UTC](https://discourse.julialang.org/t/where-or-how-to-edit-depot-path/13501 "2021-08-25T23:38:00Z")

</div>

Dear community. I am obviously too stupid to find it or use it correctly. I want to change the folder julia uses to store the packages. I am working in an Active Directory environment and populating the user profile fo…

---

## [MakieLayout - deleting Sliders (or GridPositions)](https://discourse.julialang.org/t/makielayout-deleting-sliders-or-gridpositions/66879)

<div class="topic-metadata">

**Author:** [@JCQ](https://discourse.julialang.org/u/JCQ)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 11:13pm UTC](https://discourse.julialang.org/t/makielayout-deleting-sliders-or-gridpositions/66879 "2021-08-25T23:13:47Z")

</div>

Here is a code snippet for the problem that I am having: using GLMakie,Colors,GeometryBasics fig = Figure(resolution = (1920, 1080)) plot\_scene = LScene(fig\[1,1\], scenekw=(camera = old\_cam3d!,show\_axis = false),tellwi…

---

## [How to access IdDict with keys?](https://discourse.julialang.org/t/how-to-access-iddict-with-keys/67006)

<div class="topic-metadata">

**Author:** [@DiracFermion1](https://discourse.julialang.org/u/DiracFermion1)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 10:38pm UTC](https://discourse.julialang.org/t/how-to-access-iddict-with-keys/67006 "2021-08-25T22:38:57Z")

</div>

Hi, I am trying to access the content of following object named grads: IdDict{Any, Any} with 5 entries: :(Main.tmp\_test\_in\_1) =\> Float32\[0.0401479 0.0100483 … -0.0744916 -0.0; 0… :(Main.tmp\_param) =\> Ref…

---

## [Reduce number of allocations](https://discourse.julialang.org/t/reduce-number-of-allocations/66990)

<div class="topic-metadata">

**Author:** [@daviddoij](https://discourse.julialang.org/u/daviddoij)\
**Replies:** 11\
**Last updated:** [August 25, 2021, 10:03pm UTC](https://discourse.julialang.org/t/reduce-number-of-allocations/66990 "2021-08-25T22:03:26Z")

</div>

I would like to reduce the number of allocations in this particular problem (for context, that’s problem 30 of project euler). I got it right, but I think there are too many allocations. function power\_digit\_sum(pow, n)…

---

## [Reading complex text files with vectors](https://discourse.julialang.org/t/reading-complex-text-files-with-vectors/66954)

<div class="topic-metadata">

**Author:** [@scone](https://discourse.julialang.org/u/scone)\
**Replies:** 6\
**Last updated:** [August 25, 2021, 10:03pm UTC](https://discourse.julialang.org/t/reading-complex-text-files-with-vectors/66954 "2021-08-25T22:03:01Z")

</div>

Hi, I am going to apologize ahead of time for this sort of general question, which is sort of similar others that have been asked. I am trying to read files the below, which are velocity vectors, probed at the location…

---

## [No variability in xgboost outputs? (XGBoost.jl)](https://discourse.julialang.org/t/no-variability-in-xgboost-outputs-xgboost-jl/66211)

<div class="topic-metadata">

**Author:** [@matnbo](https://discourse.julialang.org/u/matnbo)\
**Replies:** 10\
**Last updated:** [August 25, 2021, 5:32pm UTC](https://discourse.julialang.org/t/no-variability-in-xgboost-outputs-xgboost-jl/66211 "2021-08-25T17:32:14Z")

</div>

Dear all I am using functions “xgboost” from the R packages “xgboost” and the Julia package “XGBoost.jl” that both interface the XGBoost library. May be I missed something but I observed surprising outputs from XGBo…

---

## [Best way to define and re-use multiple JuMP nonlinear models](https://discourse.julialang.org/t/best-way-to-define-and-re-use-multiple-jump-nonlinear-models/66840)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 3\
**Last updated:** [August 25, 2021, 8:18pm UTC](https://discourse.julialang.org/t/best-way-to-define-and-re-use-multiple-jump-nonlinear-models/66840 "2021-08-25T20:18:51Z")

</div>

I have a for loop where at each iteration I am solving multiple version of a similar nonlinear problem with some parameter update. I tried 3 ways to define the base(s) model I call at each iteration + update the paramet…

---

## [Solving difference equation](https://discourse.julialang.org/t/solving-difference-equation/66977)

<div class="topic-metadata">

**Author:** [@MathGuy](https://discourse.julialang.org/u/MathGuy)\
**Replies:** 8\
**Last updated:** [August 25, 2021, 7:58pm UTC](https://discourse.julialang.org/t/solving-difference-equation/66977 "2021-08-25T19:58:26Z")

</div>

This is my code to solve a system of difference equations: function trajectoryDiscrete(sys\_eq, init\_cond, NIter, par1, par2) neq = length(init\_cond) traj= zeros(Float64,NIter+1,neq) traj\[1,:\] = init\_cond …

---

## [JuliaDB, tutorial with large datasets and other questions](https://discourse.julialang.org/t/juliadb-tutorial-with-large-datasets-and-other-questions/33594)

<div class="topic-metadata">

**Author:** [@rna1990](https://discourse.julialang.org/u/rna1990)\
**Replies:** 0\
**Last updated:** [January 20, 2020, 4:49pm UTC](https://discourse.julialang.org/t/juliadb-tutorial-with-large-datasets-and-other-questions/33594 "2020-01-20T16:49:50Z")

</div>

Dear fellow julians, I’ve been learning the usage of JuliaDB to wrangle with large datasets (couple of millions of entries) and I don’t think I’m quite understanding the difference between in-memory and out-of-memory pr…

---

## [Showing the progress of a calculation](https://discourse.julialang.org/t/showing-the-progress-of-a-calculation/66976)

<div class="topic-metadata">

**Author:** [@tux](https://discourse.julialang.org/u/tux)\
**Replies:** 3\
**Last updated:** [August 25, 2021, 6:44pm UTC](https://discourse.julialang.org/t/showing-the-progress-of-a-calculation/66976 "2021-08-25T18:44:11Z")

</div>

hey, I’m just a python programmer forced to implement some julia stuff into my project. Meanwhile almost all things are working and julia is fine. There is just one thing I can’t figure out: How can I grep the progress…

---

## [Is there a simple way of making a sequence of 3d array of UInt8 into a video?](https://discourse.julialang.org/t/is-there-a-simple-way-of-making-a-sequence-of-3d-array-of-uint8-into-a-video/66992)

<div class="topic-metadata">

**Author:** [@Abhinav\_Bhatia](https://discourse.julialang.org/u/Abhinav_Bhatia)\
**Replies:** 1\
**Last updated:** [August 25, 2021, 6:01pm UTC](https://discourse.julialang.org/t/is-there-a-simple-way-of-making-a-sequence-of-3d-array-of-uint8-into-a-video/66992 "2021-08-25T18:01:27Z")

</div>

Is there a simple way to save a sequence of Array{UInt8, 3} as a video? Can’t find any documentation on this. Writing Videos · VideoIO.jl (juliaio.github.io) I want to do something like: import VideoIO imgstack = map(x…

---

## [How to make EvoTrees.jl more performant?](https://discourse.julialang.org/t/how-to-make-evotrees-jl-more-performant/66407)

<div class="topic-metadata">

**Author:** [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Replies:** 25\
**Last updated:** [August 25, 2021, 3:53pm UTC](https://discourse.julialang.org/t/how-to-make-evotrees-jl-more-performant/66407 "2021-08-25T15:53:35Z")

</div>

Hello Folks: Code Snippets obtained from Alan Turing Institute @ablaom Using Pluto.jl, Windows, Julia v 1.6.x I am using EvoTrees.jl Evaluation First I am loading and Instantiating the Gradient Tree Boosting Model B…

---

## [What is a :thunk expression head?](https://discourse.julialang.org/t/what-is-a-thunk-expression-head/66963)

<div class="topic-metadata">

**Author:** [@tbenst](https://discourse.julialang.org/u/tbenst)\
**Replies:** 1\
**Last updated:** [August 25, 2021, 5:27pm UTC](https://discourse.julialang.org/t/what-is-a-thunk-expression-head/66963 "2021-08-25T17:27:46Z")

</div>

I’ve been playing around with rewriting julia expressions such that they evaluate lazily, while supporting arbitrary syntax. This is really useful to me for statically constructing complex computational graphs where onl…

---

## [The right way to implement a residual network (ResNet)](https://discourse.julialang.org/t/the-right-way-to-implement-a-residual-network-resnet/66937)

<div class="topic-metadata">

**Author:** [@weiqi](https://discourse.julialang.org/u/weiqi)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 5:14pm UTC](https://discourse.julialang.org/t/the-right-way-to-implement-a-residual-network-resnet/66937 "2021-08-25T17:14:24Z")

</div>

I am not sure if the following implementation of ResNet is correct. Any suggestion? What I am not sure are: (1) for the network of nn\_x, will the ResNet block sm share parameters? I don’t expect they share the same par…

---

## [Metagraphs/GraphIO: How to save graph properties to file?](https://discourse.julialang.org/t/metagraphs-graphio-how-to-save-graph-properties-to-file/23553)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 0\
**Last updated:** [April 26, 2019, 12:30pm UTC](https://discourse.julialang.org/t/metagraphs-graphio-how-to-save-graph-properties-to-file/23553 "2019-04-26T12:30:34Z")

</div>

Dear Community, I have a graph with several properties on nodes and edges but fail to save them to a standard format, for instance, GML. Here is minimal example: #packages using LightGraphs, MetaGraphs, GraphIO, Parser…

---

## [Differences in methods of constructing graph and calculating the shortest path](https://discourse.julialang.org/t/differences-in-methods-of-constructing-graph-and-calculating-the-shortest-path/61877)

<div class="topic-metadata">

**Author:** [@trathi](https://discourse.julialang.org/u/trathi)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 6:19pm UTC](https://discourse.julialang.org/t/differences-in-methods-of-constructing-graph-and-calculating-the-shortest-path/61877 "2021-05-26T18:19:55Z")

</div>

Hi. I am new to using LightGraphs and SimpleWeightedGraph and have a few questions regarding their usage: I see that edges with zero weights are ignored when using add\_edge! to define edges (also mentioned here); howev…

---

## [ANN: GraphIO.jl and upcoming LightGraphs developments](https://discourse.julialang.org/t/ann-graphio-jl-and-upcoming-lightgraphs-developments/3334)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 0\
**Last updated:** [April 21, 2017, 10:06pm UTC](https://discourse.julialang.org/t/ann-graphio-jl-and-upcoming-lightgraphs-developments/3334 "2017-04-21T22:06:22Z")

</div>

Hi all, For those of you who use LightGraphs.jl, I am pleased to announce that we have registered v0.0.1 of GraphIO.jl which will become the primary repository for methods dealing with reading and writing LightGraphs (a…

---

## [Educational video (3b1b style) on chaos](https://discourse.julialang.org/t/educational-video-3b1b-style-on-chaos/66777)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 11\
**Last updated:** [August 25, 2021, 4:33pm UTC](https://discourse.julialang.org/t/educational-video-3b1b-style-on-chaos/66777 "2021-08-25T16:33:02Z")

</div>

Hello, I’ve made an educational video about chaos! It’s something I wanted to do for a long time, and the recent announcement of Summer of Math Exposision by 3Blue1Brown gave me the final push. It uses DynamicalBilliard…

---

## [Figure Layout Dimensions](https://discourse.julialang.org/t/figure-layout-dimensions/66920)

<div class="topic-metadata">

**Author:** [@Jdbeck66](https://discourse.julialang.org/u/Jdbeck66)\
**Replies:** 3\
**Last updated:** [August 25, 2021, 4:28pm UTC](https://discourse.julialang.org/t/figure-layout-dimensions/66920 "2021-08-25T16:28:50Z")

</div>

I’m trying to find the dimensions of components of my layout programmatically. I know I can get the GridLayout of a figure (“fig”) with fig.layout. But if I want to return the actual physical locations of fig\[2,1\], I ca…

---

## [\`ConvTranspose\` generates \`CUDNN\_STATUS\_BAD\_PARAM (code 3)\`](https://discourse.julialang.org/t/convtranspose-generates-cudnn-status-bad-param-code-3/66908)

<div class="topic-metadata">

**Author:** [@haberdashPI](https://discourse.julialang.org/u/haberdashPI)\
**Replies:** 8\
**Last updated:** [August 25, 2021, 4:02pm UTC](https://discourse.julialang.org/t/convtranspose-generates-cudnn-status-bad-param-code-3/66908 "2021-08-25T16:02:19Z")

</div>

I’m having an issue when creating a 1D ConvTranspose model in Flux, when I run it on the GPU. The following runs using Flux, CUDA x = rand(Float32, 20, 13, 2) model = ConvTranspose((7,), 13 =\> 5, relu; pad=(3,1), stri…

---

## [Writing a python command line app with a julia package underneath](https://discourse.julialang.org/t/writing-a-python-command-line-app-with-a-julia-package-underneath/66984)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 5\
**Last updated:** [August 25, 2021, 3:54pm UTC](https://discourse.julialang.org/t/writing-a-python-command-line-app-with-a-julia-package-underneath/66984 "2021-08-25T15:54:54Z")

</div>

This might be a good question for @tim.holy . So I had written a package in python to process some geospatial images–raster files. The package had a nice CLI and everything. The problem was, the python geospatial librari…

---

## [Graph Insets with Makie](https://discourse.julialang.org/t/graph-insets-with-makie/66855)

<div class="topic-metadata">

**Author:** [@Jdbeck66](https://discourse.julialang.org/u/Jdbeck66)\
**Replies:** 6\
**Last updated:** [August 25, 2021, 3:47pm UTC](https://discourse.julialang.org/t/graph-insets-with-makie/66855 "2021-08-25T15:47:56Z")

</div>

I’m attempting to inset a colorbar into the lower left corner of this graph using the example I found at the link below. https://lazarusa.github.io/BeautifulMakie/ScattersLines/LineWithInset/ f1 = Figure(resolution …

---

## [How to make parameters of function within Flux.Chain trainable?](https://discourse.julialang.org/t/how-to-make-parameters-of-function-within-flux-chain-trainable/66983)

<div class="topic-metadata">

**Author:** [@DiracFermion1](https://discourse.julialang.org/u/DiracFermion1)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 3:36pm UTC](https://discourse.julialang.org/t/how-to-make-parameters-of-function-within-flux-chain-trainable/66983 "2021-08-25T15:36:13Z")

</div>

Hi, I have a NeuralODE defined as follows: dudt = Chain(x -\> Dense(10, 20, tanh)(x\[1\]) + Dense(10, 20, tanh)(x\[2\])) n\_ode = NeuralODE(dudt, (0., 1.), Tsit5(), saveat=range(0., 1., length=100), reltol=1e-7, abstol=1e-9) …

---

## [PaddedViews very slow](https://discourse.julialang.org/t/paddedviews-very-slow/66979)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 7\
**Last updated:** [August 25, 2021, 3:07pm UTC](https://discourse.julialang.org/t/paddedviews-very-slow/66979 "2021-08-25T15:07:05Z")

</div>

I’m sure to be doing something silly, but I can’t seem to get PaddedViews.jl up to speed. Consider the LoopVectorization.jl image filtering example using LoopVectorization, OffsetArrays, Images, PaddedViews kern = Image…

---

## [Flux.Chain vs expand everything in a function](https://discourse.julialang.org/t/flux-chain-vs-expand-everything-in-a-function/66982)

<div class="topic-metadata">

**Author:** [@DiracFermion1](https://discourse.julialang.org/u/DiracFermion1)\
**Replies:** 1\
**Last updated:** [August 25, 2021, 2:59pm UTC](https://discourse.julialang.org/t/flux-chain-vs-expand-everything-in-a-function/66982 "2021-08-25T14:59:47Z")

</div>

Hi, I was trying to understand what the difference is between Flux.Chain vs expanding all operations in a single function. For instance, given following object: Chain(Dense(d\_in, d\_hidden, tanh), Dense(d\_hidden, d\_hidd…

---

## [How to use multiple inputs in \`NeuralODE\` object?](https://discourse.julialang.org/t/how-to-use-multiple-inputs-in-neuralode-object/66955)

<div class="topic-metadata">

**Author:** [@DiracFermion1](https://discourse.julialang.org/u/DiracFermion1)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 1:43pm UTC](https://discourse.julialang.org/t/how-to-use-multiple-inputs-in-neuralode-object/66955 "2021-08-25T13:43:33Z")

</div>

Hi, I am trying to use multiple inputs in NeuralODE object and wonder what is the best way to do this. Specifically, I have the following object: n\_ode = NeuralODE(dudt, tspan, Tsit5(), saveat=t, reltol=1e-7, abstol=1e…

---

## [HTTP request error](https://discourse.julialang.org/t/http-request-error/52716)

<div class="topic-metadata">

**Author:** [@Abdou](https://discourse.julialang.org/u/Abdou)\
**Replies:** 6\
**Last updated:** [August 25, 2021, 2:47pm UTC](https://discourse.julialang.org/t/http-request-error/52716 "2021-08-25T14:47:00Z")

</div>

I m using HTTP package version 0.7.1 in Julia 1.5.3 and I get this error when executing HTTP.get or HTTP.request methods ERROR: type Regex has no field match\_data Stacktrace: \[1\] getproperty(::Regex, ::Symbol) at .\\B…

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

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