# Latest

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

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

**Page:** 1760

---

## [Unreachable reached at 0x13929e935](https://discourse.julialang.org/t/unreachable-reached-at-0x13929e935/38528)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 6\
**Last updated:** [May 2, 2020, 3:37pm UTC](https://discourse.julialang.org/t/unreachable-reached-at-0x13929e935/38528 "2020-05-02T15:37:57Z")

</div>

just run into this when developing my package Traits.jl further, maybe someone recognizes this (it is quite difficult to get a minimal working example, but of course I will try as this blocks me currently) (running the…

---

## [Sampling from Delta in Turing](https://discourse.julialang.org/t/sampling-from-delta-in-turing/38577)

<div class="topic-metadata">

**Author:** [@trahflow](https://discourse.julialang.org/u/trahflow)\
**Replies:** 8\
**Last updated:** [May 2, 2020, 1:55pm UTC](https://discourse.julialang.org/t/sampling-from-delta-in-turing/38577 "2020-05-02T13:55:21Z")

</div>

Hi PPL people :slight\_smile: I was trying to build a very simple model of censored sales, and was naively trying: @model mymodel(sales) = begin lam ~ Gamma(2, 3) stocks ~ Categorical(ones(20) ./ 20) demand …

---

## [\[ANN\] DataFrameDBs.jl](https://discourse.julialang.org/t/ann-dataframedbs-jl/35718)

<div class="topic-metadata">

**Author:** [@waralex](https://discourse.julialang.org/u/waralex)\
**Replies:** 60\
**Last updated:** [May 2, 2020, 3:09pm UTC](https://discourse.julialang.org/t/ann-dataframedbs-jl/35718 "2020-05-02T15:09:59Z")

</div>

Hi all! Julia is my hobby and I had some free time for the last 4 weeks, so here is the first results of my experiments GitHub - waralex/DataFrameDBs.jl: The DateFrameDBs is the prototype of persistent, space efficient …

---

## [How to reduce the large number of files in ~/.julia?](https://discourse.julialang.org/t/how-to-reduce-the-large-number-of-files-in-julia/38087)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 21\
**Last updated:** [May 2, 2020, 3:02pm UTC](https://discourse.julialang.org/t/how-to-reduce-the-large-number-of-files-in-julia/38087 "2020-05-02T15:02:51Z")

</div>

I am working on a shared cluster. The home directory of every user is limited not only in total size but also in the number of files. I build julia from source on a different drive. To be specific: I am running julia …

---

## [Adding package tags for JuliaHub and juliapackages.com?](https://discourse.julialang.org/t/adding-package-tags-for-juliahub-and-juliapackages-com/38601)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 3\
**Last updated:** [May 2, 2020, 1:49pm UTC](https://discourse.julialang.org/t/adding-package-tags-for-juliahub-and-juliapackages-com/38601 "2020-05-02T13:49:02Z")

</div>

How do I add category tags to my package, so that juliahub.com and juliapackages.com will take them up? Sorry, I feel this must have been asked before, but I can’t find it.

---

## [Trouble with hosting. What am I doing wrong?](https://discourse.julialang.org/t/trouble-with-hosting-what-am-i-doing-wrong/30111)

<div class="topic-metadata">

**Author:** [@Tim\_Kelley](https://discourse.julialang.org/u/Tim_Kelley)\
**Replies:** 5\
**Last updated:** [May 2, 2020, 12:14pm UTC](https://discourse.julialang.org/t/trouble-with-hosting-what-am-i-doing-wrong/30111 "2020-05-02T12:14:52Z")

</div>

Hello. I am an utter novice with Documenter and am completely stuck. Thanks in advance for any help. I’m stuck on the hosting part of Documenter.jl. I got the ssh keys where they were supposed to be, which seemed to be …

---

## [Query.jl: Group dataframe along two variables](https://discourse.julialang.org/t/query-jl-group-dataframe-along-two-variables/38546)

<div class="topic-metadata">

**Author:** [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Replies:** 4\
**Last updated:** [May 2, 2020, 12:43pm UTC](https://discourse.julialang.org/t/query-jl-group-dataframe-along-two-variables/38546 "2020-05-02T12:43:15Z")

</div>

Hello everybody, I am trying to learn how to use Query.jl more efficiently, because it seems like a great tool once you get the hang of it. I have the following structure: I have many firms with daily observations. I w…

---

## [Trying to understand developing a new package](https://discourse.julialang.org/t/trying-to-understand-developing-a-new-package/36701)

<div class="topic-metadata">

**Author:** [@kw\_martin](https://discourse.julialang.org/u/kw_martin)\
**Replies:** 20\
**Last updated:** [May 2, 2020, 11:35am UTC](https://discourse.julialang.org/t/trying-to-understand-developing-a-new-package/36701 "2020-05-02T11:35:19Z")

</div>

As far as I have been able to figure out, the steps necessary to start developing a new package are: pkg\> generate PkgNm julia\> cd(“PkgNm”) julia\> activate Replace template file in PkgNm/src/PkgNm.jl by actual file jul…

---

## [Agents.jl v3](https://discourse.julialang.org/t/agents-jl-v3/38596)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [May 2, 2020, 10:08am UTC](https://discourse.julialang.org/t/agents-jl-v3/38596 "2020-05-02T10:08:07Z")

</div>

I am very please to announce Agents.jl version 3.0 was just tagged in the general registry! This is a huge release! Here is the new documentation and here is the github link: Agents.jl. Mandatory eye candy: A …

---

## [Find the location(s) of all occurrences of a specific string in .txt](https://discourse.julialang.org/t/find-the-location-s-of-all-occurrences-of-a-specific-string-in-txt/38578)

<div class="topic-metadata">

**Author:** [@Nash](https://discourse.julialang.org/u/Nash)\
**Replies:** 3\
**Last updated:** [May 2, 2020, 9:30am UTC](https://discourse.julialang.org/t/find-the-location-s-of-all-occurrences-of-a-specific-string-in-txt/38578 "2020-05-02T09:30:22Z")

</div>

I am trying to do the following: Open a .txt file placed at a specific directory Find the location(s) of all occurrences of a specific string An example of the .txt that am working with is found at this link (link to …

---

## [Issue with build MKL on Windows 10](https://discourse.julialang.org/t/issue-with-build-mkl-on-windows-10/38502)

<div class="topic-metadata">

**Author:** [@Andrei\_Bobrov](https://discourse.julialang.org/u/Andrei_Bobrov)\
**Replies:** 5\
**Last updated:** [May 2, 2020, 8:35am UTC](https://discourse.julialang.org/t/issue-with-build-mkl-on-windows-10/38502 "2020-05-02T08:35:35Z")

</div>

I am have issue with build MKL after install MKL.jl (antivirus (Kaspersky) disabled). (@v1.4) pkg\> build MKL Building MKL → \`J:\\Julia\_depot\\packages\\MKL\\1edTo\\deps\\build.log\` ┌ Error: Error building \`MKL\`: │ Generati…

---

## [Revise stops tracking changes](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 5\
**Last updated:** [May 2, 2020, 8:09am UTC](https://discourse.julialang.org/t/revise-stops-tracking-changes/36895 "2020-05-02T08:09:03Z")

</div>

After certain types of errors, Revise.jl stops tracking changes. One such error type seem to be syntax errors, but other times I feel like there are additional cases where Revise just stops monitoring files. Note that I …

---

## [Best Practices for Mostly Immutable Composite Types](https://discourse.julialang.org/t/best-practices-for-mostly-immutable-composite-types/38501)

<div class="topic-metadata">

**Author:** [@forever\_learning](https://discourse.julialang.org/u/forever_learning)\
**Replies:** 6\
**Last updated:** [May 2, 2020, 6:12am UTC](https://discourse.julialang.org/t/best-practices-for-mostly-immutable-composite-types/38501 "2020-05-02T06:12:04Z")

</div>

Hello, First off, thank you to everyone that contributes to the Julia ecosystem! The more I read the more I become impressed with the size and expertise of the community. As a heavy Matlab user I am excited to move what…

---

## [Statistics package](https://discourse.julialang.org/t/statistics-package/38530)

<div class="topic-metadata">

**Author:** [@mayar](https://discourse.julialang.org/u/mayar)\
**Replies:** 4\
**Last updated:** [May 2, 2020, 6:02am UTC](https://discourse.julialang.org/t/statistics-package/38530 "2020-05-02T06:02:48Z")

</div>

Hello, Could you recommend me a package that I can use to find some statistics and how can I install it in Julia by ATOM Thank you

---

## [Writing an API for a package w/ Python/Swift/C API](https://discourse.julialang.org/t/writing-an-api-for-a-package-w-python-swift-c-api/38454)

<div class="topic-metadata">

**Author:** [@mkschleg](https://discourse.julialang.org/u/mkschleg)\
**Replies:** 7\
**Last updated:** [May 2, 2020, 4:56am UTC](https://discourse.julialang.org/t/writing-an-api-for-a-package-w-python-swift-c-api/38454 "2020-05-02T04:56:15Z")

</div>

How would you go about building an interface for a package that already exists? Some context: It is written in C++ Has a python and swift API already built, but they are all in the same repo. Ideally, we would want to…

---

## [JuliaMedicine Domain](https://discourse.julialang.org/t/juliamedicine-domain/30758)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 5\
**Last updated:** [May 2, 2020, 3:59am UTC](https://discourse.julialang.org/t/juliamedicine-domain/30758 "2020-05-02T03:59:10Z")

</div>

Is it possible to create JuliaMedicine domain or something like this? I found BioJulia, but this domain include bioinformatics packajes that not in clinical trials or medicine sphere. MAny pckages in JuliaStats or in oth…

---

## [Avoiding memory allocations when simulating combinations of parameter sets in ParallelEnsemble](https://discourse.julialang.org/t/avoiding-memory-allocations-when-simulating-combinations-of-parameter-sets-in-parallelensemble/38583)

<div class="topic-metadata">

**Author:** [@MFairley](https://discourse.julialang.org/u/MFairley)\
**Replies:** 3\
**Last updated:** [May 2, 2020, 3:58am UTC](https://discourse.julialang.org/t/avoiding-memory-allocations-when-simulating-combinations-of-parameter-sets-in-parallelensemble/38583 "2020-05-02T03:58:28Z")

</div>

I have an array of arrays p = \[a, b\] for p in ode\_model!(du, u, p, t). I am running a ParallelEnsemble where I want to simulate all combinations of a in A and b in B where A and B are arrays of arrays. I noticed that usi…

---

## [Julia connnection to jupyterlab problem](https://discourse.julialang.org/t/julia-connnection-to-jupyterlab-problem/38345)

<div class="topic-metadata">

**Author:** [@CearthCao](https://discourse.julialang.org/u/CearthCao)\
**Replies:** 2\
**Last updated:** [May 2, 2020, 2:54am UTC](https://discourse.julialang.org/t/julia-connnection-to-jupyterlab-problem/38345 "2020-05-02T02:54:06Z")

</div>

Hi, I got a problem, when I open a \*.ipynb file, it cannot open the jupyterlab, but display like this:

---

## [Is it possible to test a Yggdrasil build before it's merged in?](https://discourse.julialang.org/t/is-it-possible-to-test-a-yggdrasil-build-before-its-merged-in/38589)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 2\
**Last updated:** [May 2, 2020, 1:02am UTC](https://discourse.julialang.org/t/is-it-possible-to-test-a-yggdrasil-build-before-its-merged-in/38589 "2020-05-02T01:02:27Z")

</div>

Basically I made a pull request to update Leptonica to the latest version. However Leptonica can be built with or without various libraries, i.e. if the GIF library is not found then GIF images will not be supported. T…

---

## [Avoiding type instability when slicing a tuple](https://discourse.julialang.org/t/avoiding-type-instability-when-slicing-a-tuple/38567)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.julialang.org/u/Mason)\
**Replies:** 10\
**Last updated:** [May 2, 2020, 12:37am UTC](https://discourse.julialang.org/t/avoiding-type-instability-when-slicing-a-tuple/38567 "2020-05-02T00:37:58Z")

</div>

This question is an adapted version of what appeared here in the JuliaLang Zulip helpdesk. Suppose I have a function that takes in a heterogeneously typed Tuple and will return a slice of that tuple where the slice ind…

---

## [Need recommended packages?](https://discourse.julialang.org/t/need-recommended-packages/38368)

<div class="topic-metadata">

**Author:** [@hafez\_ahmad](https://discourse.julialang.org/u/hafez_ahmad)\
**Replies:** 2\
**Last updated:** [May 2, 2020, 12:34am UTC](https://discourse.julialang.org/t/need-recommended-packages/38368 "2020-05-02T00:34:30Z")

</div>

I am new to Julia’s programming. I am searching for Julia packages, tutorial and books in a few fields. would you tell me please most stable and enriched packages in the following fields? statistics machine learning v…

---

## [Matrix profile calculation: STOMP method](https://discourse.julialang.org/t/matrix-profile-calculation-stomp-method/25389)

<div class="topic-metadata">

**Author:** [@taqtiqa-mark](https://discourse.julialang.org/u/taqtiqa-mark)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 4:13am UTC](https://discourse.julialang.org/t/matrix-profile-calculation-stomp-method/25389 "2020-05-01T04:13:37Z")

</div>

Hi, Is there a Julia package that implements the matrix profile calculation using the STOMP method, i.e. corresponds to Stumpy’s … scalable library that efficiently computes something called the matrix profile Alter…

---

## [Number of integration steps used in DifferentialEquations.jl with save\_everystep=false](https://discourse.julialang.org/t/number-of-integration-steps-used-in-differentialequations-jl-with-save-everystep-false/38575)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 10:27pm UTC](https://discourse.julialang.org/t/number-of-integration-steps-used-in-differentialequations-jl-with-save-everystep-false/38575 "2020-05-01T22:27:13Z")

</div>

Do solvers in DifferentialEquations.jl count the number of integration steps they used? length(sol) is close because it returns the number of recorded solutions, but if I use save\_everystep=false for speedup, length(sol…

---

## [Clipping Weights](https://discourse.julialang.org/t/clipping-weights/38581)

<div class="topic-metadata">

**Author:** [@Kinzak](https://discourse.julialang.org/u/Kinzak)\
**Replies:** 0\
**Last updated:** [May 1, 2020, 10:11pm UTC](https://discourse.julialang.org/t/clipping-weights/38581 "2020-05-01T22:11:15Z")

</div>

Hey, how can I clip my weights using tracked parameters ? I know I can use something like Zygote.gradient(Tracker.data.(params(m))) do x total\_loss(Zygote.hook(ā -\> ā./norm(a),x)) end However, I use Flux.mse…

---

## [Vector addition in Julia slower than numpy in Linux](https://discourse.julialang.org/t/vector-addition-in-julia-slower-than-numpy-in-linux/38520)

<div class="topic-metadata">

**Author:** [@aminsadeghi](https://discourse.julialang.org/u/aminsadeghi)\
**Replies:** 21\
**Last updated:** [May 1, 2020, 9:02pm UTC](https://discourse.julialang.org/t/vector-addition-in-julia-slower-than-numpy-in-linux/38520 "2020-05-01T21:02:51Z")

</div>

I tried this on Julia 1.4 on Ubuntu 19.10: import numpy as np a = np.random.rand(500\_000) b = np.random.rand(500\_000) %timeit a + b 115 µs ± 1.03 µs per loop (mean ± std. dev. of 7 runs, 10000 loops each) using Benchma…

---

## [Einstein convention for slicing or how to view diagonals in tensors](https://discourse.julialang.org/t/einstein-convention-for-slicing-or-how-to-view-diagonals-in-tensors/38553)

<div class="topic-metadata">

**Author:** [@Sebastian\_Vollmer](https://discourse.julialang.org/u/Sebastian_Vollmer)\
**Replies:** 10\
**Last updated:** [May 1, 2020, 8:46pm UTC](https://discourse.julialang.org/t/einstein-convention-for-slicing-or-how-to-view-diagonals-in-tensors/38553 "2020-05-01T20:46:47Z")

</div>

I have looked Einsum.jl and TensorOperations.jl to replicate following behavior np.einsum: https://docs.scipy.org/doc/numpy/reference/generated/numpy.einsum.html Views returned from einsum are now writeable whenever th…

---

## [Efficient way of turning iterator into a matrix](https://discourse.julialang.org/t/efficient-way-of-turning-iterator-into-a-matrix/38309)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 11\
**Last updated:** [May 1, 2020, 7:36pm UTC](https://discourse.julialang.org/t/efficient-way-of-turning-iterator-into-a-matrix/38309 "2020-05-01T19:36:34Z")

</div>

I have the following goal: Take in an iterator which does not necessarily have eltype(itr) defined. If the iterator is looping through numbers, return a vector of those numbers. If the iterator is not through numbers,…

---

## [MINLP problem](https://discourse.julialang.org/t/minlp-problem/38566)

<div class="topic-metadata">

**Author:** [@GiuliaM](https://discourse.julialang.org/u/GiuliaM)\
**Replies:** 1\
**Last updated:** [May 1, 2020, 7:32pm UTC](https://discourse.julialang.org/t/minlp-problem/38566 "2020-05-01T19:32:51Z")

</div>

Hi everyone! I’m fairly new to Julia. I’m trying to solve a MINLP problem with Juniper. I have 4 continuous variables (x\[1:4\]) and a binary variable (xbin). I have the following relationship between x\[1\] and xbin: if …

---

## [Huge difference between passing a type, or using a hardcoded-type (in benchmarks)?](https://discourse.julialang.org/t/huge-difference-between-passing-a-type-or-using-a-hardcoded-type-in-benchmarks/38561)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 6\
**Last updated:** [May 1, 2020, 6:49pm UTC](https://discourse.julialang.org/t/huge-difference-between-passing-a-type-or-using-a-hardcoded-type-in-benchmarks/38561 "2020-05-01T18:49:27Z")

</div>

I do not understand why there is a 30x difference between these two implementations. I guess I am doing some dumb (benchmarking) mistake because the produced LLVM code seems to be equal. Note that I am using a large buf…

---

## [Infeasibility on SCIP - Problem feasible in other solvers](https://discourse.julialang.org/t/infeasibility-on-scip-problem-feasible-in-other-solvers/38507)

<div class="topic-metadata">

**Author:** [@Diego](https://discourse.julialang.org/u/Diego)\
**Replies:** 7\
**Last updated:** [May 1, 2020, 6:35pm UTC](https://discourse.julialang.org/t/infeasibility-on-scip-problem-feasible-in-other-solvers/38507 "2020-05-01T18:35:48Z")

</div>

Dear Team, I have been trying SCIP but whatever I do it always returns an infeasibility. Other solvers I have tried do deliver a solution. The message I keep getting on an on for different problems is: violation: rig…

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

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