# Latest

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

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

**Page:** 1087

---

## [Recommended Quickcheck library](https://discourse.julialang.org/t/recommended-quickcheck-library/78475)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 6:15pm UTC](https://discourse.julialang.org/t/recommended-quickcheck-library/78475 "2022-03-25T18:15:48Z")

</div>

Hi, is there a recommended library similary to Haskel’s QuickCheck that is still maintained? I have found QuickCheck.jl and RandomizedPropertyTest.jl but both seem abandoned. Any other recommendations? Thanks!

---

## [Combining lots of DataFrames, best approach?](https://discourse.julialang.org/t/combining-lots-of-dataframes-best-approach/78466)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 10\
**Last updated:** [March 25, 2022, 6:05pm UTC](https://discourse.julialang.org/t/combining-lots-of-dataframes-best-approach/78466 "2022-03-25T18:05:38Z")

</div>

I am wondering if there are better ways to append lots of DataFrames together in these two scenarios. # dts is a vector of lots of dataframes (\>1000) # here is a MWE version of it dts = \[DataFrame(pid=fill(string(rand(U…

---

## [Simulation running well on K620 but instable on A100?](https://discourse.julialang.org/t/simulation-running-well-on-k620-but-instable-on-a100/77584)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 15\
**Last updated:** [March 25, 2022, 5:36pm UTC](https://discourse.julialang.org/t/simulation-running-well-on-k620-but-instable-on-a100/77584 "2022-03-25T17:36:41Z")

</div>

Hello, I am facing a difficult situation. I am new to GPU computing and I am debugging my code on my computer gpu (an old K620) and then run my simulation on a cluster with A100 cards. The simulation is stable for a l…

---

## [Base including notnan, notnothing, ...?](https://discourse.julialang.org/t/base-including-notnan-notnothing/78458)

<div class="topic-metadata">

**Author:** [@markmbaum](https://discourse.julialang.org/u/markmbaum)\
**Replies:** 9\
**Last updated:** [March 25, 2022, 5:24pm UTC](https://discourse.julialang.org/t/base-including-notnan-notnothing/78458 "2022-03-25T17:24:42Z")

</div>

has there been discussion about including a notnan function and its analogs like notnothing in the Base library? I frequently find myself doing things like filter(x -\> !isnan(x), Y) where it would be nice to simply fi…

---

## [Anyone building a kafka streaming platform for Julia similar to Faust for Python?](https://discourse.julialang.org/t/anyone-building-a-kafka-streaming-platform-for-julia-similar-to-faust-for-python/39513)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 8\
**Last updated:** [March 25, 2022, 5:00pm UTC](https://discourse.julialang.org/t/anyone-building-a-kafka-streaming-platform-for-julia-similar-to-faust-for-python/39513 "2022-03-25T17:00:05Z")

</div>

Hi all, I am very excited about the future of Julia’s streaming usecases. With Transducers.jl and OnlineStats.jl there is already a rich foundation established. What I am unable to find is a streaming library similar t…

---

## [How to preallocate a triangular matrix and overwrite it with cholesky!](https://discourse.julialang.org/t/how-to-preallocate-a-triangular-matrix-and-overwrite-it-with-cholesky/78463)

<div class="topic-metadata">

**Author:** [@LuZhangstat](https://discourse.julialang.org/u/LuZhangstat)\
**Replies:** 9\
**Last updated:** [March 25, 2022, 3:37pm UTC](https://discourse.julialang.org/t/how-to-preallocate-a-triangular-matrix-and-overwrite-it-with-cholesky/78463 "2022-03-25T15:37:29Z")

</div>

Hi everyone, I am trying to improve my code’s efficiency. I locate a line that might be too expensive, but I failed to figure out how to improve it. In brief, I need to save the inverse of an N by N covariance matrix of…

---

## [Use of "export" keyword](https://discourse.julialang.org/t/use-of-export-keyword/78457)

<div class="topic-metadata">

**Author:** [@iAnkiit](https://discourse.julialang.org/u/iAnkiit)\
**Replies:** 3\
**Last updated:** [March 25, 2022, 3:01pm UTC](https://discourse.julialang.org/t/use-of-export-keyword/78457 "2022-03-25T15:01:38Z")

</div>

What is the actual use of keyword “export” ? I have read julia documentation , but not very clear. What if we dont use export at all?

---

## [How to make an executable work on different machines (make a dynamic path)?](https://discourse.julialang.org/t/how-to-make-an-executable-work-on-different-machines-make-a-dynamic-path/78236)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 6\
**Last updated:** [March 25, 2022, 12:49pm UTC](https://discourse.julialang.org/t/how-to-make-an-executable-work-on-different-machines-make-a-dynamic-path/78236 "2022-03-25T12:49:00Z")

</div>

I have created a project folder TESTEXE and built an executable as below: module testexe Base.@ccallable function julia\_main()::Cint try testApp() catch Base.invokelatest(Base.display\_error, B…

---

## [JuMP with user-defined non linear functions](https://discourse.julialang.org/t/jump-with-user-defined-non-linear-functions/78299)

<div class="topic-metadata">

**Author:** [@dkc94](https://discourse.julialang.org/u/dkc94)\
**Replies:** 3\
**Last updated:** [March 25, 2022, 12:43pm UTC](https://discourse.julialang.org/t/jump-with-user-defined-non-linear-functions/78299 "2022-03-25T12:43:10Z")

</div>

Hi everyone! I am new to Julia and I am trying to solve a highly non linear optimization problem. I am encountering a problem when registering the objective function and very little idea about what could be going on. He…

---

## [Speed up ArchGDAL.contains for thousands of data](https://discourse.julialang.org/t/speed-up-archgdal-contains-for-thousands-of-data/77847)

<div class="topic-metadata">

**Author:** [@Frankiewaang](https://discourse.julialang.org/u/Frankiewaang)\
**Replies:** 8\
**Last updated:** [March 25, 2022, 12:39pm UTC](https://discourse.julialang.org/t/speed-up-archgdal-contains-for-thousands-of-data/77847 "2022-03-25T12:39:52Z")

</div>

Hi Guys, I have geopoints like this import ArchGDAL as AG lon = LinRange(-180,180,7500) lat = LinRange(-90,90,5500) function meshgrid(x, y) X = \[i for i in x, j in 1:length(y)\] Y = \[j for i in 1:length(x), j i…

---

## [How to draw minus infty using latex?](https://discourse.julialang.org/t/how-to-draw-minus-infty-using-latex/78454)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 4\
**Last updated:** [March 25, 2022, 12:33pm UTC](https://discourse.julialang.org/t/how-to-draw-minus-infty-using-latex/78454 "2022-03-25T12:33:07Z")

</div>

Hello, good morning. Im trying to draw integration unicode for -oo +oo infinity reprensentation but stucked only on this: My goal is to draw minus symbol and get this: Im using this code now $$\\int\_\\infty^\\infty x…

---

## [How to host your deep learning model trained in flux](https://discourse.julialang.org/t/how-to-host-your-deep-learning-model-trained-in-flux/41561)

<div class="topic-metadata">

**Author:** [@AbhimanyuAryan](https://discourse.julialang.org/u/AbhimanyuAryan)\
**Replies:** 7\
**Last updated:** [March 25, 2022, 8:05am UTC](https://discourse.julialang.org/t/how-to-host-your-deep-learning-model-trained-in-flux/41561 "2022-03-25T08:05:25Z")

</div>

How to host your saved julia flux model on web? Like Pytorch and Flask are used

---

## [JuMP : optimize!(model)](https://discourse.julialang.org/t/jump-optimize-model/78445)

<div class="topic-metadata">

**Author:** [@iAnkiit](https://discourse.julialang.org/u/iAnkiit)\
**Replies:** 1\
**Last updated:** [March 25, 2022, 7:59am UTC](https://discourse.julialang.org/t/jump-optimize-model/78445 "2022-03-25T07:59:22Z")

</div>

Why do we need solvers , if we can solve model with : optimize!(model\_name) ? How optimize! works? What solvers actually does ? What if we don’t define solvers?

---

## [Why does BenchmarkTools \`@belapsed\` make so many allocations?](https://discourse.julialang.org/t/why-does-benchmarktools-belapsed-make-so-many-allocations/78433)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 2\
**Last updated:** [March 25, 2022, 5:07am UTC](https://discourse.julialang.org/t/why-does-benchmarktools-belapsed-make-so-many-allocations/78433 "2022-03-25T05:07:24Z")

</div>

For a long time, I have been hard-coding my own benchmarks using expressions like minimum(@elapsed f() for \_ in 1:samples). It was brought to my attention that BenchmarkTools.jl does this kind of repeated sampling automa…

---

## [ANN: Package for simulation of shells and beams](https://discourse.julialang.org/t/ann-package-for-simulation-of-shells-and-beams/78429)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 10:28pm UTC](https://discourse.julialang.org/t/ann-package-for-simulation-of-shells-and-beams/78429 "2022-03-24T22:28:51Z")

</div>

The following package for finite element analysis of beams and shells has reached maturity: https://github.com/PetrKryslUCSD/FinEtoolsFlexStructures.jl Written entirely in Julia, the performance in linear shell problem…

---

## [ANN: JuMP 1.0 is released](https://discourse.julialang.org/t/ann-jump-1-0-is-released/78425)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 5\
**Last updated:** [March 25, 2022, 2:53am UTC](https://discourse.julialang.org/t/ann-jump-1-0-is-released/78425 "2022-03-25T02:53:56Z")

</div>

Dear all, We are very pleased to announce the release of JuMP 1.0! You can read more about it here: JuMP 1.0.0 is released | JuMP A big thank you to all of the contributors over the last (nearly) 10 years! You can fin…

---

## [Reversing a range of \`UInt8\`s yields an empty set](https://discourse.julialang.org/t/reversing-a-range-of-uint8-s-yields-an-empty-set/78434)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 4\
**Last updated:** [March 25, 2022, 2:24am UTC](https://discourse.julialang.org/t/reversing-a-range-of-uint8-s-yields-an-empty-set/78434 "2022-03-25T02:24:52Z")

</div>

Is this a bug or not? (v1.7.0) julia\> UInt8(1):UInt8(12) |\> collect 12-element Vector{UInt8}: 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c julia\> reverse(UInt8(1):UInt8(12)) |\> collect UInt8\[…

---

## [Advice to make getfield(::NamedTuple, ::Symbol) typestable](https://discourse.julialang.org/t/advice-to-make-getfield-namedtuple-symbol-typestable/78340)

<div class="topic-metadata">

**Author:** [@ianfiske](https://discourse.julialang.org/u/ianfiske)\
**Replies:** 19\
**Last updated:** [March 25, 2022, 12:29am UTC](https://discourse.julialang.org/t/advice-to-make-getfield-namedtuple-symbol-typestable/78340 "2022-03-25T00:29:54Z")

</div>

I have a complicated nested NamedTuple, where profiling shows that getindex on the NamedTuple is a significant source of slowness. @code\_warntype shows a type instability from getindex on that NamedTuple in the slow cal…

---

## [Nesting a for loop in a while loop](https://discourse.julialang.org/t/nesting-a-for-loop-in-a-while-loop/78336)

<div class="topic-metadata">

**Author:** [@phantom](https://discourse.julialang.org/u/phantom)\
**Replies:** 6\
**Last updated:** [March 25, 2022, 12:24am UTC](https://discourse.julialang.org/t/nesting-a-for-loop-in-a-while-loop/78336 "2022-03-25T00:24:54Z")

</div>

Hi, I apologize if this is a very elementary mistake but I still struggling with programming and Julia. I would like to iterate through a list while a certain conditions hold true. I would also like to be able to stop…

---

## ["Crunch" RGB pixels into 0-1 range](https://discourse.julialang.org/t/crunch-rgb-pixels-into-0-1-range/78428)

<div class="topic-metadata">

**Author:** [@theta](https://discourse.julialang.org/u/theta)\
**Replies:** 3\
**Last updated:** [March 24, 2022, 11:17pm UTC](https://discourse.julialang.org/t/crunch-rgb-pixels-into-0-1-range/78428 "2022-03-24T23:17:36Z")

</div>

Hi, I’m messing around with image generation in Julia. I just realized that some of the pixels I’m generating have red, green, or blue values outside of the range \[0,1\]. For example, one of my pixels looks like RGB{Floa…

---

## [DataFrame column names into GLM as variable names](https://discourse.julialang.org/t/dataframe-column-names-into-glm-as-variable-names/78422)

<div class="topic-metadata">

**Author:** [@askvorts](https://discourse.julialang.org/u/askvorts)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 10:43pm UTC](https://discourse.julialang.org/t/dataframe-column-names-into-glm-as-variable-names/78422 "2022-03-24T22:43:38Z")

</div>

I would like to use GLM to estimate 500 regressions like beta\[1\] = coef(lm(@formula(AAPL ~ SP500), Stocks))\[2\] beta\[2\] = coef(lm(@formula(AMGN ~ SP500), Stocks))\[2\] … beta\[i\] = coef(lm(@formula(col\_i ~ SP500), Stocks…

---

## [Reducing allocations (again)](https://discourse.julialang.org/t/reducing-allocations-again/78408)

<div class="topic-metadata">

**Author:** [@lancejnelson](https://discourse.julialang.org/u/lancejnelson)\
**Replies:** 10\
**Last updated:** [March 24, 2022, 10:34pm UTC](https://discourse.julialang.org/t/reducing-allocations-again/78408 "2022-03-24T22:34:15Z")

</div>

I still don’t have great intuition for quickly spotting my bottlenecks due to unneeded allocations and the associated work around. Here is some code I’m trying to optimize right now: function logpost(w,data,μ,Σ) po…

---

## [Tools in Julia for development and production -- Notebooks and Pluto](https://discourse.julialang.org/t/tools-in-julia-for-development-and-production-notebooks-and-pluto/78415)

<div class="topic-metadata">

**Author:** [@LispyArnuld](https://discourse.julialang.org/u/LispyArnuld)\
**Replies:** 3\
**Last updated:** [March 24, 2022, 8:16pm UTC](https://discourse.julialang.org/t/tools-in-julia-for-development-and-production-notebooks-and-pluto/78415 "2022-03-24T20:16:45Z")

</div>

I have experience in C. When I learned Python, I learned that Python is way easier to learn using IPython and for production work good tools exist like Jupyter Notebook (now Jupyter Lab) and virtual environments (venv e.…

---

## [Another slowdown when using \`Threads.@threads\`?](https://discourse.julialang.org/t/another-slowdown-when-using-threads-threads/78009)

<div class="topic-metadata">

**Author:** [@goerch](https://discourse.julialang.org/u/goerch)\
**Replies:** 11\
**Last updated:** [March 24, 2022, 8:12pm UTC](https://discourse.julialang.org/t/another-slowdown-when-using-threads-threads/78009 "2022-03-24T20:12:06Z")

</div>

The MWE using LinearAlgebra using Random using BenchmarkTools function distance(x, y, p::Real = 2) norm((x\[1\] - y\[1\], x\[2\] - y\[2\]), p) end function jfa\_serial!(grid, sites, p::Real=2) for (color, (x, y)) in en…

---

## [Help to correct this code please](https://discourse.julialang.org/t/help-to-correct-this-code-please/78421)

<div class="topic-metadata">

**Author:** [@Eric.O](https://discourse.julialang.org/u/Eric.O)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 7:29pm UTC](https://discourse.julialang.org/t/help-to-correct-this-code-please/78421 "2022-03-24T19:29:33Z")

</div>

I want to write the code below in Julia but I keep getting the error MethodError: no method matching getindex(::VariableRef, ::Int64) Any help will be appreciated please. Thank you for your help. using JuMP using Mo…

---

## [Equivalent of old syntax @constraintref](https://discourse.julialang.org/t/equivalent-of-old-syntax-constraintref/78315)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 5:39pm UTC](https://discourse.julialang.org/t/equivalent-of-old-syntax-constraintref/78315 "2022-03-24T17:39:43Z")

</div>

I came across @constraintref macro which was available in older versions of JuMP to generate constraints in a loop. This was removed in latest releases. How could I perform the same functionality in the latest version of…

---

## [How to avoid function name conflict without using the package identifier every time](https://discourse.julialang.org/t/how-to-avoid-function-name-conflict-without-using-the-package-identifier-every-time/78186)

<div class="topic-metadata">

**Author:** [@rubaiyat](https://discourse.julialang.org/u/rubaiyat)\
**Replies:** 10\
**Last updated:** [March 24, 2022, 5:32pm UTC](https://discourse.julialang.org/t/how-to-avoid-function-name-conflict-without-using-the-package-identifier-every-time/78186 "2022-03-24T17:32:14Z")

</div>

Hello everyone, I was wondering if there was a way to avoid conflicts with a function name between packages without using the package identifier every time. To explain what I mean, when I write the following: using Dat…

---

## [Evaluating a local function within the global namespace](https://discourse.julialang.org/t/evaluating-a-local-function-within-the-global-namespace/78403)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 5\
**Last updated:** [March 24, 2022, 4:59pm UTC](https://discourse.julialang.org/t/evaluating-a-local-function-within-the-global-namespace/78403 "2022-03-24T16:59:39Z")

</div>

Hi. I’ve written a tutoral program in which students submit an answer ans to an exercise using the format reply(ans). reply then passes ans deeper into a module within which ans is tested for correctness. The thing is, t…

---

## [\[ANN\] SimSearchManifoldLearning.jl: Non-linear dimensional reduction using SimilaritySearch (ManifoldLearning and UMAP)](https://discourse.julialang.org/t/ann-simsearchmanifoldlearning-jl-non-linear-dimensional-reduction-using-similaritysearch-manifoldlearning-and-umap/78416)

<div class="topic-metadata">

**Author:** [@Eric\_Sadit\_Tellez](https://discourse.julialang.org/u/Eric_Sadit_Tellez)\
**Replies:** 0\
**Last updated:** [March 24, 2022, 4:38pm UTC](https://discourse.julialang.org/t/ann-simsearchmanifoldlearning-jl-non-linear-dimensional-reduction-using-similaritysearch-manifoldlearning-and-umap/78416 "2022-03-24T16:38:33Z")

</div>

I am glad to announce SimSearchManifoldLearning, which implements some methods and API to use SimilaritySearch with manifold learning methods. In particular, it implements the knn function for ManifoldLearning and relate…

---

## [A function for iterables like Clojure's reductions](https://discourse.julialang.org/t/a-function-for-iterables-like-clojures-reductions/78407)

<div class="topic-metadata">

**Author:** [@bwanab](https://discourse.julialang.org/u/bwanab)\
**Replies:** 2\
**Last updated:** [March 24, 2022, 4:23pm UTC](https://discourse.julialang.org/t/a-function-for-iterables-like-clojures-reductions/78407 "2022-03-24T16:23:12Z")

</div>

I’ve searched, believe me, but every language calls it something different. In Clojure, it’s reductions, in APL it’s . It works like reduce, but where reduce reduces to one value, it returns all the intermediate values l…

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

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