# Latest

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

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

**Page:** 1476

---

## [Few questions on usage of (convert) and (promote) in dual.jl](https://discourse.julialang.org/t/few-questions-on-usage-of-convert-and-promote-in-dual-jl/56210)

<div class="topic-metadata">

**Author:** [@asyrov](https://discourse.julialang.org/u/asyrov)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 9:41am UTC](https://discourse.julialang.org/t/few-questions-on-usage-of-convert-and-promote-in-dual-jl/56210 "2021-03-01T09:41:40Z")

</div>

I’m looking at conversion-and-promotion documentation and also dual.jl implementation and need help the following lines. (I apologize that I’m asking several questions in the same topic). Unclear, why we need the follow…

---

## [Raspberry Pi record video to file and pipe frames](https://discourse.julialang.org/t/raspberry-pi-record-video-to-file-and-pipe-frames/50493)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 3\
**Last updated:** [March 1, 2021, 8:27am UTC](https://discourse.julialang.org/t/raspberry-pi-record-video-to-file-and-pipe-frames/50493 "2021-03-01T08:27:00Z")

</div>

I’m trying to record a video to a file while at the same time, extract frames from the video stream, on a Raspberry Pi with a Pi Cam. If anyone has a better idea on how to do this, please let me know. Here’s what I got…

---

## [Error: Unsatisfiable requirements detected for package](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package/54901)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 4\
**Last updated:** [March 1, 2021, 8:00am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package/54901 "2021-03-01T08:00:00Z")

</div>

I am getting an error while adding packages to the julia: Error DataFrame (@v1.5) pkg\> add DataFrames Updating registry at \`C:\\Users\\.julia\\registries\\JuliaComputingRegistry\` Resolving package versions... ERROR: U…

---

## [How do you store your data before and after processing with Julia?](https://discourse.julialang.org/t/how-do-you-store-your-data-before-and-after-processing-with-julia/41205)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 35\
**Last updated:** [March 1, 2021, 7:42am UTC](https://discourse.julialang.org/t/how-do-you-store-your-data-before-and-after-processing-with-julia/41205 "2021-03-01T07:42:47Z")

</div>

Overview I intend to process simulation data generated externally with Julia and would like some opinions on storage solutions for 1) the raw data, 2) the processed data, and 3) the processing inputs. Data Description …

---

## [Is there a way to lock the version of python packages](https://discourse.julialang.org/t/is-there-a-way-to-lock-the-version-of-python-packages/35784)

<div class="topic-metadata">

**Author:** [@Shih\_Shen](https://discourse.julialang.org/u/Shih_Shen)\
**Replies:** 5\
**Last updated:** [March 1, 2021, 6:42am UTC](https://discourse.julialang.org/t/is-there-a-way-to-lock-the-version-of-python-packages/35784 "2021-03-01T06:42:30Z")

</div>

Julia has provided a way to lock the version of Julia packages which is great. However, I found I still need python packages to finish my works sometimes. And in order to use Julia in production, locking the version of d…

---

## [Segfault running JuliaCall from R](https://discourse.julialang.org/t/segfault-running-juliacall-from-r/56229)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 6:14am UTC](https://discourse.julialang.org/t/segfault-running-juliacall-from-r/56229 "2021-03-01T06:14:31Z")

</div>

julia version 1.5.3 R version 4.0.3 (2020-10-10) NixOS unstable \> JuliaCall::julia\_setup() Julia version 1.5.3 at location /nix/store/lb43a78rgdbpfa198cymvxir92ns8hx4-julia-1.5.3/bin will be used. Loading setup scri…

---

## [Parallelizing interpolation? (BoundsError)](https://discourse.julialang.org/t/parallelizing-interpolation-boundserror/56221)

<div class="topic-metadata">

**Author:** [@taeukseo](https://discourse.julialang.org/u/taeukseo)\
**Replies:** 2\
**Last updated:** [March 1, 2021, 5:18am UTC](https://discourse.julialang.org/t/parallelizing-interpolation-boundserror/56221 "2021-03-01T05:18:31Z")

</div>

Hi, I am new to Julia and I have been trying to use Interpolations.jl to obtain interpolated values for grids. At some point, the number of points became quite large and I felt I should try to parallelize the code but ha…

---

## [Why findall() function is super slow?](https://discourse.julialang.org/t/why-findall-function-is-super-slow/56222)

<div class="topic-metadata">

**Author:** [@Nova](https://discourse.julialang.org/u/Nova)\
**Replies:** 5\
**Last updated:** [March 1, 2021, 3:55am UTC](https://discourse.julialang.org/t/why-findall-function-is-super-slow/56222 "2021-03-01T03:55:11Z")

</div>

Here is an example and I’m just wondering why it takes 51 mS to do this considering the input size is very small. aa = \[1,2,3,4,5,6\] bb = \[2,5\] @time findall(x-\>x==bb, aa) julia\> @time findall(x-\>in(x, bb), aa) 0.051…

---

## [Does anyone have AutoWrap configured in Sublime Text to write docstrings?](https://discourse.julialang.org/t/does-anyone-have-autowrap-configured-in-sublime-text-to-write-docstrings/56218)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 1\
**Last updated:** [March 1, 2021, 3:21am UTC](https://discourse.julialang.org/t/does-anyone-have-autowrap-configured-in-sublime-text-to-write-docstrings/56218 "2021-03-01T03:21:15Z")

</div>

I want my docstrings to have 60 lines, but I don’t want to constantly re-format them. Does anyone use the AutoWrap package in Sublime Text 3 to automatically wrap blocks of text that look like """ Dostring here. """ ? …

---

## [Radial basis function (RBF2D) from ADCME.jl returns MethodError](https://discourse.julialang.org/t/radial-basis-function-rbf2d-from-adcme-jl-returns-methoderror/55598)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 23\
**Last updated:** [March 1, 2021, 1:03am UTC](https://discourse.julialang.org/t/radial-basis-function-rbf2d-from-adcme-jl-returns-methoderror/55598 "2021-03-01T01:03:38Z")

</div>

I am trying this tutorial for raidal basis function using ADCME.jl package. When I execute the code, I get a method error: using ADCME # use centers on a uniform grid n = 5 h = 1/n xc = Float64\[\] yc = Float64\[\] for …

---

## [Convert sqlite data to dataframe without nullable type](https://discourse.julialang.org/t/convert-sqlite-data-to-dataframe-without-nullable-type/689)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 9\
**Last updated:** [March 1, 2021, 12:26am UTC](https://discourse.julialang.org/t/convert-sqlite-data-to-dataframe-without-nullable-type/689 "2021-03-01T00:26:30Z")

</div>

Hi all- I am working with an sqlite database, but don’t really want to use the nullableArrays type. Is there a way to read the database as a regular dataframe or to easily convert to a regular dataframe? Thanks.

---

## [Packages clean up, general .julia data consumption](https://discourse.julialang.org/t/packages-clean-up-general-julia-data-consumption/56198)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 10\
**Last updated:** [February 28, 2021, 11:47pm UTC](https://discourse.julialang.org/t/packages-clean-up-general-julia-data-consumption/56198 "2021-02-28T23:47:49Z")

</div>

The following complain is a bit speculative because of unsufficient information. I am happy to be corrected. I have several Julia versions installed (Windows 10) and started some cleanup, which turned out problematic or…

---

## [Projecting and interpolating data to a regular grid](https://discourse.julialang.org/t/projecting-and-interpolating-data-to-a-regular-grid/56162)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 9\
**Last updated:** [February 28, 2021, 11:11pm UTC](https://discourse.julialang.org/t/projecting-and-interpolating-data-to-a-regular-grid/56162 "2021-02-28T23:11:31Z")

</div>

I have (multiple) data on a regular latlon grid which I want to project with a Lambert conformal conic projection and interpolate to a regular grid. Is using the Proj4 and Interpolations packages an appropriate option or…

---

## [Recommended way to delete user-defined variables](https://discourse.julialang.org/t/recommended-way-to-delete-user-defined-variables/56209)

<div class="topic-metadata">

**Author:** [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Replies:** 4\
**Last updated:** [February 28, 2021, 8:34pm UTC](https://discourse.julialang.org/t/recommended-way-to-delete-user-defined-variables/56209 "2021-02-28T20:34:08Z")

</div>

I currently delete all my user-defined variables like this. varinfo() variable1, variable2, variable3 = fill(nothing, 3) Is there a way to make varinfo() output an array of only user-defined variable names instead of a…

---

## [Flux: Embeddings on GPU](https://discourse.julialang.org/t/flux-embeddings-on-gpu/55280)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 5\
**Last updated:** [February 28, 2021, 7:17pm UTC](https://discourse.julialang.org/t/flux-embeddings-on-gpu/55280 "2021-02-28T19:17:57Z")

</div>

In a regression model I would like to use embeddings for the categorical variables. My current implementation is like the simplified example below. On CPU it works seemingly fine. Any suggestions for improvement are welc…

---

## [Combine(Merge) Columns](https://discourse.julialang.org/t/combine-merge-columns/56202)

<div class="topic-metadata">

**Author:** [@dbjulia](https://discourse.julialang.org/u/dbjulia)\
**Replies:** 2\
**Last updated:** [February 28, 2021, 7:16pm UTC](https://discourse.julialang.org/t/combine-merge-columns/56202 "2021-02-28T19:16:18Z")

</div>

Programming & Julia newbie here: I have googled and searched the documentation and tried various ways to do this but I cannot come up with a solution and it seems so simple. Is there a way to combine two columns within a…

---

## [Does Julia have equivalent of Python: DF.column.map( dict )](https://discourse.julialang.org/t/does-julia-have-equivalent-of-python-df-column-map-dict/47048)

<div class="topic-metadata">

**Author:** [@Lincoln\_Hannah](https://discourse.julialang.org/u/Lincoln_Hannah)\
**Replies:** 8\
**Last updated:** [February 28, 2021, 6:55pm UTC](https://discourse.julialang.org/t/does-julia-have-equivalent-of-python-df-column-map-dict/47048 "2021-02-28T18:55:14Z")

</div>

The best I could find is map( x → dict , DF.column )

---

## [Possible to do non-allocating Setfield operations on OffsetArray(::StaticVector)?](https://discourse.julialang.org/t/possible-to-do-non-allocating-setfield-operations-on-offsetarray-staticvector/55031)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 5:23pm UTC](https://discourse.julialang.org/t/possible-to-do-non-allocating-setfield-operations-on-offsetarray-staticvector/55031 "2021-02-28T17:23:20Z")

</div>

I have some code which initializes an array with a loop in a way where each element depends on the last element. I’m trying to make this work with StaticVectors so it can be non-allocating. I’ve found that I can use Setf…

---

## [Regression and goodness-of-fit?](https://discourse.julialang.org/t/regression-and-goodness-of-fit/56114)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 8\
**Last updated:** [February 28, 2021, 3:57pm UTC](https://discourse.julialang.org/t/regression-and-goodness-of-fit/56114 "2021-02-28T15:57:57Z")

</div>

Basic, technical questions on “goodness-of-fit” for regression models… Using N data points, suppose I fit a regression model with n\_\\beta parameters \\beta to get a predictor \\hat{y}\_i = \\hat{\\beta}\\phi\_i, with predicti…

---

## [Return Noise used in SDE Solution](https://discourse.julialang.org/t/return-noise-used-in-sde-solution/56167)

<div class="topic-metadata">

**Author:** [@jshackle](https://discourse.julialang.org/u/jshackle)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 2:33pm UTC](https://discourse.julialang.org/t/return-noise-used-in-sde-solution/56167 "2021-02-28T14:33:22Z")

</div>

Is there anyway to find what noise terms are used in an SDE solver? I’d like to be able to double check the noise is behaving the way I think it is.

---

## [How to use quasar notify in Genie](https://discourse.julialang.org/t/how-to-use-quasar-notify-in-genie/56138)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 2\
**Last updated:** [February 28, 2021, 1:53pm UTC](https://discourse.julialang.org/t/how-to-use-quasar-notify-in-genie/56138 "2021-02-28T13:53:59Z")

</div>

I want to add some feedback to the user when things work or don’t work as expected. How exactly can I make use of quasar’s notify in a Genie app? For example, I have a file upload, where the file is a toml file with sp…

---

## [Display Matrix{RGB{N0f8} with Genie](https://discourse.julialang.org/t/display-matrix-rgb-n0f8-with-genie/55544)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 5\
**Last updated:** [February 22, 2021, 12:03pm UTC](https://discourse.julialang.org/t/display-matrix-rgb-n0f8-with-genie/55544 "2021-02-22T12:03:45Z")

</div>

Say I have an image in the form of a matrix of RGB values: img = rand({RGB{N0f8}, 100, 100) How can I display that in my webapp using Genie, Stipple, etc?

---

## [Passing a StaticArray to sum throws an error](https://discourse.julialang.org/t/passing-a-staticarray-to-sum-throws-an-error/56159)

<div class="topic-metadata">

**Author:** [@mroavi](https://discourse.julialang.org/u/mroavi)\
**Replies:** 2\
**Last updated:** [February 28, 2021, 12:23pm UTC](https://discourse.julialang.org/t/passing-a-staticarray-to-sum-throws-an-error/56159 "2021-02-28T12:23:38Z")

</div>

Any idea why sum throws an error when given a StaticArray ? (I’m using Julia 1.5.3) using StaticArrays input = @SArray rand(2,2,2); sum(input, dims=(1,2)) # throws error Error: ERROR: LoadError: MethodError: no method…

---

## [Extracting xticks from a plot handle](https://discourse.julialang.org/t/extracting-xticks-from-a-plot-handle/56183)

<div class="topic-metadata">

**Author:** [@matvil](https://discourse.julialang.org/u/matvil)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 11:46am UTC](https://discourse.julialang.org/t/extracting-xticks-from-a-plot-handle/56183 "2021-02-28T11:46:20Z")

</div>

I would like to extract the vector of xticks values from a plot. I am using the GR backend. For xlim I can do this: h = plot(randn(10)) xlims(h) # returns a tuple with the two limits xlims!(h, (-10,10)) # modifies xl…

---

## [Learning automatic differentiation](https://discourse.julialang.org/t/learning-automatic-differentiation/56158)

<div class="topic-metadata">

**Author:** [@anon74562486](https://discourse.julialang.org/u/anon74562486)\
**Replies:** 8\
**Last updated:** [February 28, 2021, 11:16am UTC](https://discourse.julialang.org/t/learning-automatic-differentiation/56158 "2021-02-28T11:16:51Z")

</div>

I am a beginner in programming in julia and am studying the basics of deep learning with Flux and Zygote. In my study I have only encountered a few examples of backprop but I realized (by reading the discussions here and…

---

## [Update Genie webpage in a asynchrounous loop](https://discourse.julialang.org/t/update-genie-webpage-in-a-asynchrounous-loop/55780)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 18\
**Last updated:** [February 28, 2021, 10:07am UTC](https://discourse.julialang.org/t/update-genie-webpage-in-a-asynchrounous-loop/55780 "2021-02-28T10:07:24Z")

</div>

I’m trying to update an image in an asynchronously loop in a Genie (Stipple) app. I’ve tried different approaches, none successful. I’ve therefore created the following MWE (based on your solution to my last question, @h…

---

## [UUID for forked packages? Depending on a forked package?](https://discourse.julialang.org/t/uuid-for-forked-packages-depending-on-a-forked-package/56151)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 1\
**Last updated:** [February 28, 2021, 10:14am UTC](https://discourse.julialang.org/t/uuid-for-forked-packages-depending-on-a-forked-package/56151 "2021-02-28T10:14:28Z")

</div>

I’ve forked the original Hexagons.jl to create my own version. Should the forked package have its own UUID? If I intend for the fork to diverge and become its own independent package, then “yes” would seem reasonable. …

---

## [Usage of "Slow down" mode](https://discourse.julialang.org/t/usage-of-slow-down-mode/56095)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 28\
**Last updated:** [February 28, 2021, 10:03am UTC](https://discourse.julialang.org/t/usage-of-slow-down-mode/56095 "2021-02-28T10:03:46Z")

</div>

I’m commenting this in a new thread in order to avoid noise in Julia from the perspective of a pythonista, which is the origin of my comment. (EDIT: Oh, I see that the original thread has been closed, but anyway I hope t…

---

## [Is there documentation on how to use MKL with libblastrampoline](https://discourse.julialang.org/t/is-there-documentation-on-how-to-use-mkl-with-libblastrampoline/56108)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 2\
**Last updated:** [February 28, 2021, 8:48am UTC](https://discourse.julialang.org/t/is-there-documentation-on-how-to-use-mkl-with-libblastrampoline/56108 "2021-02-28T08:48:37Z")

</div>

Now that https://github.com/JuliaLang/julia/pull/39455 has been merged, is there documentation on how to use MKL blas via libblastrampoline?

---

## [Broad ask for recommendations for online, heavily quantitative masters programs](https://discourse.julialang.org/t/broad-ask-for-recommendations-for-online-heavily-quantitative-masters-programs/52755)

<div class="topic-metadata">

**Author:** [@dcgrigsby](https://discourse.julialang.org/u/dcgrigsby)\
**Replies:** 20\
**Last updated:** [February 28, 2021, 8:02am UTC](https://discourse.julialang.org/t/broad-ask-for-recommendations-for-online-heavily-quantitative-masters-programs/52755 "2021-02-28T08:02:16Z")

</div>

I’m looking for recommendations for a masters program. Here’s some background, which may be too verbose or a little self obsessed, so I’ll “small it” and you can skip if you like: In the last ten years, through a pragm…

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

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