# Latest

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

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

**Page:** 1279

---

## [Moving to GeometryBasics](https://discourse.julialang.org/t/moving-to-geometrybasics/40861)

<div class="topic-metadata">

**Author:** [@arsh](https://discourse.julialang.org/u/arsh)\
**Replies:** 9\
**Last updated:** [September 2, 2021, 10:42am UTC](https://discourse.julialang.org/t/moving-to-geometrybasics/40861 "2021-09-02T10:42:12Z")

</div>

Hi all! I am Arsh Sharma, an electronics undergraduate and I am working on the geospatial ecosystem, in this year’s JSoC under the mentorship of Martijn Visser @visr, Bogumił Kamiński @bkamins and Maarten Pronk @evetion …

---

## [Making sense of output of Snoopcompile](https://discourse.julialang.org/t/making-sense-of-output-of-snoopcompile/67562)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 0\
**Last updated:** [September 2, 2021, 10:38am UTC](https://discourse.julialang.org/t/making-sense-of-output-of-snoopcompile/67562 "2021-09-02T10:38:08Z")

</div>

Dear All, we have created a micro-service explaining our Mill.jl, unfortunately the service runs very slowly. Surprisingly slowly. One culprit I had in mind are precompilation times, since the data samples accepted by a…

---

## [HTTP.parse\_multipart\_form does a lot of memory allocations](https://discourse.julialang.org/t/http-parse-multipart-form-does-a-lot-of-memory-allocations/66661)

<div class="topic-metadata">

**Author:** [@Jan\_Dolinsky](https://discourse.julialang.org/u/Jan_Dolinsky)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 9:55am UTC](https://discourse.julialang.org/t/http-parse-multipart-form-does-a-lot-of-memory-allocations/66661 "2021-09-02T09:55:27Z")

</div>

Hello, I tried a simple example of parsing a multi-part HTTP request (JSON config + some CSV data). The request is about 5MB big. Doing just const r = deserialize("httpRequestStored") # just to get the request that was…

---

## [How to specify the number of execution and the number of repetitions per execution in BenchmarkTools?](https://discourse.julialang.org/t/how-to-specify-the-number-of-execution-and-the-number-of-repetitions-per-execution-in-benchmarktools/34514)

<div class="topic-metadata">

**Author:** [@PyDataBlog](https://discourse.julialang.org/u/PyDataBlog)\
**Replies:** 16\
**Last updated:** [September 2, 2021, 9:19am UTC](https://discourse.julialang.org/t/how-to-specify-the-number-of-execution-and-the-number-of-repetitions-per-execution-in-benchmarktools/34514 "2021-09-02T09:19:57Z")

</div>

Hi everyone, I’m trying to benchmark the speed of a function that I ported to Julia using BenchmarkTools. In Python with ipython, I used %timeit -n 7 test\_speed(X) to generate the benchmark speeds with this result; 1…

---

## [Error requiring \`StaticArrays\` from \`ArrayInterface\`](https://discourse.julialang.org/t/error-requiring-staticarrays-from-arrayinterface/67480)

<div class="topic-metadata">

**Author:** [@Empirilogic](https://discourse.julialang.org/u/Empirilogic)\
**Replies:** 15\
**Last updated:** [September 2, 2021, 8:57am UTC](https://discourse.julialang.org/t/error-requiring-staticarrays-from-arrayinterface/67480 "2021-09-02T08:57:38Z")

</div>

I am starting with Makie. I installed Makie and CairoMakie; the editor is VSCode I am trying to run the following example, taken from the juliaplots.org website: using Makie x = rand(10) y = rand(10) colors = rand(10)…

---

## [Method Madness](https://discourse.julialang.org/t/method-madness/67361)

<div class="topic-metadata">

**Author:** [@cybervigilante](https://discourse.julialang.org/u/cybervigilante)\
**Replies:** 6\
**Last updated:** [September 2, 2021, 8:54am UTC](https://discourse.julialang.org/t/method-madness/67361 "2021-09-02T08:54:40Z")

</div>

I’m following a recent tutorial, but one method has already disappeared from the package they are using. Apparently it migrated to another package, which seems to happen often. I can’t seem to find it. Can anyone tell me…

---

## [Adding Sliders on Scenes in GLMakie](https://discourse.julialang.org/t/adding-sliders-on-scenes-in-glmakie/67520)

<div class="topic-metadata">

**Author:** [@jg-854](https://discourse.julialang.org/u/jg-854)\
**Replies:** 2\
**Last updated:** [September 2, 2021, 8:47am UTC](https://discourse.julialang.org/t/adding-sliders-on-scenes-in-glmakie/67520 "2021-09-02T08:47:35Z")

</div>

It seems the Makie documentation has updated and there is no longer a textslider structure… http://makie.juliaplots.org/v0.15.2/examples/layoutables/slider/index.html I want to know how I would be able to attach a slid…

---

## [Reverting back in time (like using a time capsule)](https://discourse.julialang.org/t/reverting-back-in-time-like-using-a-time-capsule/67556)

<div class="topic-metadata">

**Author:** [@martin.demare](https://discourse.julialang.org/u/martin.demare)\
**Replies:** 0\
**Last updated:** [September 2, 2021, 8:32am UTC](https://discourse.julialang.org/t/reverting-back-in-time-like-using-a-time-capsule/67556 "2021-09-02T08:32:56Z")

</div>

Hi, While i was trouble-shooting a precompile error I tried figuring out which packages might work well together by looking at the release date on Git, however pinning package after package manually based on the Git-dat…

---

## [How to print human-readable macro expansion?](https://discourse.julialang.org/t/how-to-print-human-readable-macro-expansion/67518)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 5\
**Last updated:** [September 1, 2021, 8:45pm UTC](https://discourse.julialang.org/t/how-to-print-human-readable-macro-expansion/67518 "2021-09-01T20:45:10Z")

</div>

Sometimes I’d like to check what a macro is doing, by displaying its expansion. For simple cases, this is not a problem: julia\> @macroexpand(@assert 0\<1) :(if 0 \< 1 nothing else Base.throw(Base.AssertionEr…

---

## [Key 1.0 not found](https://discourse.julialang.org/t/key-1-0-not-found/67400)

<div class="topic-metadata">

**Author:** [@fksayaci](https://discourse.julialang.org/u/fksayaci)\
**Replies:** 13\
**Last updated:** [September 2, 2021, 5:03am UTC](https://discourse.julialang.org/t/key-1-0-not-found/67400 "2021-09-02T05:03:38Z")

</div>

Hi, I have an optimization model, which I have run for a long time on my personal machine. When I run the same model on a cluster, it gives some errors. The error is as follows: ERROR: LoadError: KeyError: key 1.0 not …

---

## [Resources for learning Julia coming from Python](https://discourse.julialang.org/t/resources-for-learning-julia-coming-from-python/67476)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 3\
**Last updated:** [September 2, 2021, 1:27am UTC](https://discourse.julialang.org/t/resources-for-learning-julia-coming-from-python/67476 "2021-09-02T01:27:26Z")

</div>

I’m very new to Julia and I’m trying to find a go-to peak-finding implementation in one of the major Julia packages, but I can’t seem to find it. It seems there is a findlocalmaxima function in the Images package, but th…

---

## [Forcing CUArray for tType and IType in ODESolution](https://discourse.julialang.org/t/forcing-cuarray-for-ttype-and-itype-in-odesolution/67531)

<div class="topic-metadata">

**Author:** [@shivak](https://discourse.julialang.org/u/shivak)\
**Replies:** 2\
**Last updated:** [September 1, 2021, 11:35pm UTC](https://discourse.julialang.org/t/forcing-cuarray-for-ttype-and-itype-in-odesolution/67531 "2021-09-01T23:35:26Z")

</div>

I’m trying to use OrdinaryDiffEq, Zygote, and CUDA to reverse-mode differentiate an ODE running on GPU. My code works on CPU, but hits this error on GPU: GPU compilation of kernel broadcast\_kernel(CUDA.CuKernelContext, …

---

## [Registered package invisible?](https://discourse.julialang.org/t/registered-package-invisible/67533)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [September 1, 2021, 11:30pm UTC](https://discourse.julialang.org/t/registered-package-invisible/67533 "2021-09-01T23:30:32Z")

</div>

\_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_ \_ \_| |\_ \_\_ \_ | Type "?" for help, "\]?" for Pkg help. | | | | | | |/ \_\` | | | | |\_| | | | (\_| |…

---

## [Intersection of \`SciMLBase.EnsembleSolution\`s](https://discourse.julialang.org/t/intersection-of-scimlbase-ensemblesolution-s/67390)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 10\
**Last updated:** [September 1, 2021, 11:08pm UTC](https://discourse.julialang.org/t/intersection-of-scimlbase-ensemblesolution-s/67390 "2021-09-01T23:08:45Z")

</div>

I have two EnsembleSolutions which represent tubes of orbital trajectories in space (invariant manifolds). I’d like to find the intersection of these two EnsembleSolutions. This functionality comes in two levels… Given…

---

## [Output sparse matrix to csv](https://discourse.julialang.org/t/output-sparse-matrix-to-csv/67513)

<div class="topic-metadata">

**Author:** [@Nenndul](https://discourse.julialang.org/u/Nenndul)\
**Replies:** 25\
**Last updated:** [September 1, 2021, 9:46pm UTC](https://discourse.julialang.org/t/output-sparse-matrix-to-csv/67513 "2021-09-01T21:46:33Z")

</div>

I have a little program that correctly produces a sparse matrix from data. When I call the result: display(dataOut) I get the expected: 3×3 SparseMatrixCSC{Float64, Int64} with 3 stored entries: -1.0 -1.0 ⋅ -1.…

---

## [Split rsplit and Regex](https://discourse.julialang.org/t/split-rsplit-and-regex/67536)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 9:40pm UTC](https://discourse.julialang.org/t/split-rsplit-and-regex/67536 "2021-09-01T21:40:53Z")

</div>

Hello! Its a bug of rsplit or a feature of split? str = "abcdefg" split(str, r"cd") #fine rsplit(str, r"cd") #error Trace: ERROR: MethodError: no method matching findlast(::Regex, ::String) Closest candidates are: …

---

## [Efficient deletion of affine constraints](https://discourse.julialang.org/t/efficient-deletion-of-affine-constraints/67529)

<div class="topic-metadata">

**Author:** [@bsturt](https://discourse.julialang.org/u/bsturt)\
**Replies:** 3\
**Last updated:** [September 1, 2021, 8:56pm UTC](https://discourse.julialang.org/t/efficient-deletion-of-affine-constraints/67529 "2021-09-01T20:56:53Z")

</div>

Many apologies in advance if this topic has already been answered. I am implementing an cutting plane algorithm for solving a class of large-scale LPs using JuMP and Gurobi. Because the model requires lots of RAM, I am …

---

## [Save dispatched function for later call](https://discourse.julialang.org/t/save-dispatched-function-for-later-call/67218)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 46\
**Last updated:** [September 1, 2021, 8:32pm UTC](https://discourse.julialang.org/t/save-dispatched-function-for-later-call/67218 "2021-09-01T20:32:54Z")

</div>

Hey Julianners, Is it possible to save a function call like? “Base.+” but the dispatched version like: +(::Float32, ::Float32)

---

## [\[ANN\] Hypatia.jl: a new solver for generic conic optimization](https://discourse.julialang.org/t/ann-hypatia-jl-a-new-solver-for-generic-conic-optimization/47786)

<div class="topic-metadata">

**Author:** [@chriscoey](https://discourse.julialang.org/u/chriscoey)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 1:47pm UTC](https://discourse.julialang.org/t/ann-hypatia-jl-a-new-solver-for-generic-conic-optimization/47786 "2020-10-05T13:47:53Z")

</div>

Hi friends, particularly those of you interested in conic optimization. We (myself and Lea Kapelevich, under the supervision of Juan Pablo Vielma) have just released v0.1.0 of Hypatia.jl, our pure-Julia open-source gener…

---

## [Relatively complex function breaking with Zygote - what limitations exist for differential programming?](https://discourse.julialang.org/t/relatively-complex-function-breaking-with-zygote-what-limitations-exist-for-differential-programming/67377)

<div class="topic-metadata">

**Author:** [@winterismute](https://discourse.julialang.org/u/winterismute)\
**Replies:** 5\
**Last updated:** [September 1, 2021, 8:07pm UTC](https://discourse.julialang.org/t/relatively-complex-function-breaking-with-zygote-what-limitations-exist-for-differential-programming/67377 "2021-09-01T20:07:23Z")

</div>

Hello, I am new to Julia (although not really to programming) and not a top-brain in calculus or statistical learning - although I think I have enough background to understand complex stuff if I put a bit of time …

---

## [High-order derivatives of sampled data](https://discourse.julialang.org/t/high-order-derivatives-of-sampled-data/67045)

<div class="topic-metadata">

**Author:** [@DanielIngraham](https://discourse.julialang.org/u/DanielIngraham)\
**Replies:** 9\
**Last updated:** [September 1, 2021, 5:38pm UTC](https://discourse.julialang.org/t/high-order-derivatives-of-sampled-data/67045 "2021-09-01T17:38:53Z")

</div>

Hi, I have discrete data sampled at a constant rate. I need the first, second, and third derivatives with respect to time. Is there a Julia package that could help me do that? Things that I’ve considered so far: Use f…

---

## [Corrplot issue](https://discourse.julialang.org/t/corrplot-issue/37161)

<div class="topic-metadata">

**Author:** [@Alfre\_chile77](https://discourse.julialang.org/u/Alfre_chile77)\
**Replies:** 2\
**Last updated:** [September 1, 2021, 4:57pm UTC](https://discourse.julialang.org/t/corrplot-issue/37161 "2021-09-01T16:57:27Z")

</div>

Hello, I am trying to use StatsPlots.corrplot for some analysis, but every time the plot shows the 2d Histogram (upper right plot) just black, with no different coloring for the color gradient. Is there a way to change…

---

## [Store Random Number Generator outside Rand()](https://discourse.julialang.org/t/store-random-number-generator-outside-rand/67517)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 4:31pm UTC](https://discourse.julialang.org/t/store-random-number-generator-outside-rand/67517 "2021-09-01T16:31:26Z")

</div>

How can store an rng w/ seed outside of rand()? julia\> using Random, Distributions; julia\> rand(MersenneTwister(0), Normal()) 0.6791074260357777 julia\> rand(MersenneTwister(0), Normal()) 0.6791074260357777 julia\> rs=…

---

## [For Monte Carlo simulation with same code same algorithm, how fast is Julia compared with Fortran?](https://discourse.julialang.org/t/for-monte-carlo-simulation-with-same-code-same-algorithm-how-fast-is-julia-compared-with-fortran/67021)

<div class="topic-metadata">

**Author:** [@CRquantum](https://discourse.julialang.org/u/CRquantum)\
**Replies:** 59\
**Last updated:** [September 1, 2021, 4:12pm UTC](https://discourse.julialang.org/t/for-monte-carlo-simulation-with-same-code-same-algorithm-how-fast-is-julia-compared-with-fortran/67021 "2021-09-01T16:12:17Z")

</div>

I have just translated my own Monte Carlo parametric expectation maximization (doing Monte Carlo in each iterations) code from modern to Fortran to Julia. This is basically a one to one translation and algorithm and code…

---

## [Solving PDE Diffusion (using ODE solvers). Total mass increases towards infinity (should stay constant)](https://discourse.julialang.org/t/solving-pde-diffusion-using-ode-solvers-total-mass-increases-towards-infinity-should-stay-constant/67492)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 6\
**Last updated:** [September 1, 2021, 3:59pm UTC](https://discourse.julialang.org/t/solving-pde-diffusion-using-ode-solvers-total-mass-increases-towards-infinity-should-stay-constant/67492 "2021-09-01T15:59:45Z")

</div>

I am trying to solve a very simple case of the chemical Fokker-Planch equations. It is basically a diffusion equation of the probability density function of the state of a chemical reaction network. The process is very s…

---

## [EnvironmentLocationNotFound: Not a conda environment](https://discourse.julialang.org/t/environmentlocationnotfound-not-a-conda-environment/67511)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 3:14pm UTC](https://discourse.julialang.org/t/environmentlocationnotfound-not-a-conda-environment/67511 "2021-09-01T15:14:15Z")

</div>

Hi, I am attempting use Python via Conda.jl but get the following error EnvironmentLocationNotFound: Not a conda environment: /Users/imantha/.julia/conda/3/bin Using Conda env = Conda.PYTHONDIR # Out \> "/Users/imantha/…

---

## [Help design a node for a tree](https://discourse.julialang.org/t/help-design-a-node-for-a-tree/67444)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 20\
**Last updated:** [September 1, 2021, 2:37pm UTC](https://discourse.julialang.org/t/help-design-a-node-for-a-tree/67444 "2021-09-01T14:37:23Z")

</div>

I’m tracking moving animals in a video. Each video frame has a few “things” that may qualify to be an animal (dirt, experimenter’s hand, shadows, objects, etc). I’d like to keep track of most of these things, and then on…

---

## [Elegant threaded \`foreach\`](https://discourse.julialang.org/t/elegant-threaded-foreach/67489)

<div class="topic-metadata">

**Author:** [@stepanzh](https://discourse.julialang.org/u/stepanzh)\
**Replies:** 2\
**Last updated:** [September 1, 2021, 2:35pm UTC](https://discourse.julialang.org/t/elegant-threaded-foreach/67489 "2021-09-01T14:35:45Z")

</div>

I have two methods of a function thermo! function thermo!(cell::FEMCell, mix::Mixture) # do something with \`cell\` return nothing # note, I don't need to collect return value end thermo!(problem::Problem) = …

---

## [Problem building Proj4 package (LoadError: ArgumentError: Will not install a tarball of platform...)](https://discourse.julialang.org/t/problem-building-proj4-package-loaderror-argumenterror-will-not-install-a-tarball-of-platform/67504)

<div class="topic-metadata">

**Author:** [@yodefiar](https://discourse.julialang.org/u/yodefiar)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 2:07pm UTC](https://discourse.julialang.org/t/problem-building-proj4-package-loaderror-argumenterror-will-not-install-a-tarball-of-platform/67504 "2021-09-01T14:07:47Z")

</div>

Hi I’m having problem building Proj4 package, it kept returning the error below (@v1.6) pkg\> build Proj4 Building Proj4 → \`C:\\Users\\Yodefia Rahmad\\.julia\\scratchspaces\\44cfe95a-1eb2-52ea-b672-e2afdf69b78f\\6a52f9d89…

---

## [Issues Porting JuliaBinaryWrappers](https://discourse.julialang.org/t/issues-porting-juliabinarywrappers/67451)

<div class="topic-metadata">

**Author:** [@scanf](https://discourse.julialang.org/u/scanf)\
**Replies:** 30\
**Last updated:** [September 1, 2021, 2:01pm UTC](https://discourse.julialang.org/t/issues-porting-juliabinarywrappers/67451 "2021-09-01T14:01:03Z")

</div>

New to Julia (today). Can’t find discussion or tag for #new-platforms, #porting etc hopefully we can save each other some time there… Rolled my own 1.4.1 on MinGW64 thanks to (team) but I tried to go deeper and get IJul…

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

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