# Latest

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

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

**Page:** 1438

---

## [How to leverage conjugate priors](https://discourse.julialang.org/t/how-to-leverage-conjugate-priors/56636)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 9:51pm UTC](https://discourse.julialang.org/t/how-to-leverage-conjugate-priors/56636 "2021-04-03T21:51:46Z")

</div>

I have a Turing model that I’m using to estimate how evenly distributed some count variables of interest are. I’m using the concentration parameter of a symmetric Dirichlet distribution as a measure of evenness. A simpli…

---

## [Any optimization packages which implement diagonal Hessian updates?](https://discourse.julialang.org/t/any-optimization-packages-which-implement-diagonal-hessian-updates/58528)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 0\
**Last updated:** [April 3, 2021, 9:50pm UTC](https://discourse.julialang.org/t/any-optimization-packages-which-implement-diagonal-hessian-updates/58528 "2021-04-03T21:50:44Z")

</div>

Are there any Julia packages which do high-dimensional unconstrained optimization and support diagonal-only updates to the Hessian? Those that I know (Optim and OptimKit) have BFGS which updates the entire Hessian, but h…

---

## [Makie: Unable to produce any plot. MethodError: no method matching shadertype](https://discourse.julialang.org/t/makie-unable-to-produce-any-plot-methoderror-no-method-matching-shadertype/58519)

<div class="topic-metadata">

**Author:** [@AAlshammaa](https://discourse.julialang.org/u/AAlshammaa)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 9:04pm UTC](https://discourse.julialang.org/t/makie-unable-to-produce-any-plot-methoderror-no-method-matching-shadertype/58519 "2021-04-03T21:04:56Z")

</div>

I am using Julia 1.6.0. I did a clean install by deleting ~/.julia then re-installed Makie package. When I try to start a scene using Scene(), or plot straight away using something like lines(1:10, 1:10) i get this erro…

---

## [Package installation GUI](https://discourse.julialang.org/t/package-installation-gui/58508)

<div class="topic-metadata">

**Author:** [@Astra](https://discourse.julialang.org/u/Astra)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 8:23pm UTC](https://discourse.julialang.org/t/package-installation-gui/58508 "2021-04-03T20:23:31Z")

</div>

I want to work on the VSCode extension for GSoC. I tried to work on the Package Installation UI idea. I looked up some existing vscode extensions. After looking into many extensions, I got the idea to create the extensi…

---

## [Need help getting started with NeuralPDE.jl](https://discourse.julialang.org/t/need-help-getting-started-with-neuralpde-jl/50502)

<div class="topic-metadata">

**Author:** [@hnarayanan](https://discourse.julialang.org/u/hnarayanan)\
**Replies:** 14\
**Last updated:** [April 3, 2021, 7:26pm UTC](https://discourse.julialang.org/t/need-help-getting-started-with-neuralpde-jl/50502 "2021-04-03T19:26:14Z")

</div>

I am an absolute beginner to Julia trying to get started with the first NeuralPDE.jl tutorial at: https://neuralpde.sciml.ai/dev/examples/ode/ I am using Julia 1.5.2 and understand that I need to install some packages b…

---

## [Issue with DataFrame type dispatch](https://discourse.julialang.org/t/issue-with-dataframe-type-dispatch/58504)

<div class="topic-metadata">

**Author:** [@emmettgb](https://discourse.julialang.org/u/emmettgb)\
**Replies:** 3\
**Last updated:** [April 3, 2021, 6:44pm UTC](https://discourse.julialang.org/t/issue-with-dataframe-type-dispatch/58504 "2021-04-03T18:44:21Z")

</div>

Hi guys, hope you are all well. I am having an issue with multiple dispatch and the DataFrame type from DataFrames.jl. Below is my code… mutable struct RandomForestClassifier{P} \<: Classifier predict::P stored…

---

## [Slow.jl: keep around a slow implementation of your functions](https://discourse.julialang.org/t/slow-jl-keep-around-a-slow-implementation-of-your-functions/58468)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 7\
**Last updated:** [April 3, 2021, 6:28pm UTC](https://discourse.julialang.org/t/slow-jl-keep-around-a-slow-implementation-of-your-functions/58468 "2021-04-03T18:28:19Z")

</div>

There exists a tension between readability and speed. This is discussed briefly in Keeping track of simple vs high-performance versions - Usage / Performance - JuliaLang. Indeed, I often write two versions of a function…

---

## [Intel MKL FATAL ERROR with PyPlot](https://discourse.julialang.org/t/intel-mkl-fatal-error-with-pyplot/36737)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 10\
**Last updated:** [April 3, 2021, 6:06pm UTC](https://discourse.julialang.org/t/intel-mkl-fatal-error-with-pyplot/36737 "2021-04-03T18:06:22Z")

</div>

I recently tried installing FEniCS.jl. It gave some sort of error, and I didn’t think twice about it. However, now I find that if I try to use PyPlot, either directly or as a backend for Plots.jl, I get the following e…

---

## [Comprehensive Package Info](https://discourse.julialang.org/t/comprehensive-package-info/58025)

<div class="topic-metadata">

**Author:** [@chuckaknight](https://discourse.julialang.org/u/chuckaknight)\
**Replies:** 6\
**Last updated:** [March 27, 2021, 5:20pm UTC](https://discourse.julialang.org/t/comprehensive-package-info/58025 "2021-03-27T17:20:40Z")

</div>

Is there a command in Julia that will print information about Julia packages installed (similar to this in Python) C:\\Users\\unknown\\LocalData\\DevArea\\projects\>pip show TensorFlow Name: tensorflow Version: 2.3.1 Summa…

---

## [Selective testing](https://discourse.julialang.org/t/selective-testing/34736)

<div class="topic-metadata">

**Author:** [@lostella](https://discourse.julialang.org/u/lostella)\
**Replies:** 7\
**Last updated:** [April 3, 2021, 5:56pm UTC](https://discourse.julialang.org/t/selective-testing/34736 "2021-04-03T17:56:55Z")

</div>

I’m wondering if there is a way in Julia to run a subset of a package’s tests. The use case is pretty simple: I have a failing test, and I’m working my way to fixing the bug; however, I don’t want to have to run the whol…

---

## [Get url of package](https://discourse.julialang.org/t/get-url-of-package/4212)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 5\
**Last updated:** [April 3, 2021, 5:56pm UTC](https://discourse.julialang.org/t/get-url-of-package/4212 "2021-04-03T17:56:19Z")

</div>

I have the name of a registered package and I want to get its url. Currently I use the following hack: function url(pkg) path = joinpath(Pkg.dir(), "METADATA", pkg, "url") strip(readstring(path)) end is there a…

---

## [Beginner AMA featuring featuring Mosè Giordano & Mason Protter, Saturday April 3rd, 3 PM UTC](https://discourse.julialang.org/t/beginner-ama-featuring-featuring-mose-giordano-mason-protter-saturday-april-3rd-3-pm-utc/58367)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 5:14pm UTC](https://discourse.julialang.org/t/beginner-ama-featuring-featuring-mose-giordano-mason-protter-saturday-april-3rd-3-pm-utc/58367 "2021-04-03T17:14:52Z")

</div>

Hey folks, we are really excited to have @Mason and @giordano join us this Saturday for a Beginner AMA (Ask Me Anything) chat moderated by @nassarhuda. Please share with anyone who may have questions about getting star…

---

## [Taking gradients of large differential equations](https://discourse.julialang.org/t/taking-gradients-of-large-differential-equations/57788)

<div class="topic-metadata">

**Author:** [@Dhruva2](https://discourse.julialang.org/u/Dhruva2)\
**Replies:** 4\
**Last updated:** [April 3, 2021, 4:39pm UTC](https://discourse.julialang.org/t/taking-gradients-of-large-differential-equations/57788 "2021-04-03T16:39:49Z")

</div>

Hi all, I have a rather large reaction network I want to fit to data. I imported it from an .xml file so it is in the form of ModelingToolkit.ODESystem. It has 228 states and 470 parameters. It’s not particularly sti…

---

## [Plotting difference from mean](https://discourse.julialang.org/t/plotting-difference-from-mean/58496)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 8\
**Last updated:** [April 3, 2021, 4:27pm UTC](https://discourse.julialang.org/t/plotting-difference-from-mean/58496 "2021-04-03T16:27:06Z")

</div>

If I have a CSV file with name and value pairs such as node01, 127097.3 node02, 127263.5 node03, 127132.3 … How would I make a plot of each values difference from the mean of the whole column? These are stream tria…

---

## [Split-apply-combine error](https://discourse.julialang.org/t/split-apply-combine-error/58506)

<div class="topic-metadata">

**Author:** [@Donald\_Lee](https://discourse.julialang.org/u/Donald_Lee)\
**Replies:** 1\
**Last updated:** [April 3, 2021, 3:01pm UTC](https://discourse.julialang.org/t/split-apply-combine-error/58506 "2021-04-03T15:01:22Z")

</div>

Am I doing something wrong here with the quantile line? The 3rd line with mean runs, but I’m getting the empty data vector error with the 2nd line. This is ultimately the way I want to run it, but it’s giving the em…

---

## [JuliaCon 2021 Call for Proposals (deadline extended to March 31st)](https://discourse.julialang.org/t/juliacon-2021-call-for-proposals-deadline-extended-to-march-31st/57230)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 8\
**Last updated:** [April 3, 2021, 2:56pm UTC](https://discourse.julialang.org/t/juliacon-2021-call-for-proposals-deadline-extended-to-march-31st/57230 "2021-04-03T14:56:44Z")

</div>

Hey all, following up Huda’s post, just wanted to remind everyone that the Call for Proposals (CfP) deadline for JuliaCon 2021, the annual Julia conference, is coming up soon. You can find out more about the available t…

---

## [Estimate correlation between two time series](https://discourse.julialang.org/t/estimate-correlation-between-two-time-series/58505)

<div class="topic-metadata">

**Author:** [@stebett](https://discourse.julialang.org/u/stebett)\
**Replies:** 0\
**Last updated:** [April 3, 2021, 2:29pm UTC](https://discourse.julialang.org/t/estimate-correlation-between-two-time-series/58505 "2021-04-03T14:29:31Z")

</div>

Hello, I’m a new Turing user and I’m not very familiar with probabilistic modeling, but the package is so cool that I couldn’t help trying to implement some of it :slight\_smile: Basically I have 2 Bernoulli/Poisson proc…

---

## [How to save the name of a DataFrame to a dictionary?](https://discourse.julialang.org/t/how-to-save-the-name-of-a-dataframe-to-a-dictionary/58409)

<div class="topic-metadata">

**Author:** [@HJW019](https://discourse.julialang.org/u/HJW019)\
**Replies:** 12\
**Last updated:** [April 3, 2021, 2:12pm UTC](https://discourse.julialang.org/t/how-to-save-the-name-of-a-dataframe-to-a-dictionary/58409 "2021-04-03T14:12:51Z")

</div>

Hello! I am writing a function by which I intend to read in a DataFrame, do some analysis with the data, and save the results and the name of the DataFrame in a dictionary. I am almost done except saving the DataFrame n…

---

## [Julia cloud infrastructure](https://discourse.julialang.org/t/julia-cloud-infrastructure/58493)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [April 3, 2021, 1:42pm UTC](https://discourse.julialang.org/t/julia-cloud-infrastructure/58493 "2021-04-03T13:42:32Z")

</div>

I am wondering which cloud infrastructure is used for the development of Julia, in particular for the build server(s). Is it azure devops, or amazon web services or what else?

---

## [Can I have vectors in DataFrame cells?](https://discourse.julialang.org/t/can-i-have-vectors-in-dataframe-cells/58388)

<div class="topic-metadata">

**Author:** [@dkzwart](https://discourse.julialang.org/u/dkzwart)\
**Replies:** 4\
**Last updated:** [April 3, 2021, 10:54am UTC](https://discourse.julialang.org/t/can-i-have-vectors-in-dataframe-cells/58388 "2021-04-03T10:54:11Z")

</div>

I would to transfer information from a Matlab table to Julia. Julia does not directly import MAT tables, so I exported to CSV. The final column of my Matlab table is a column of vectors of 100000 data points each. Export…

---

## [Error propagation with remote asynchronous tasks seems broken](https://discourse.julialang.org/t/error-propagation-with-remote-asynchronous-tasks-seems-broken/58489)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 0\
**Last updated:** [April 3, 2021, 10:40am UTC](https://discourse.julialang.org/t/error-propagation-with-remote-asynchronous-tasks-seems-broken/58489 "2021-04-03T10:40:19Z")

</div>

This works: julia\> @sync @spawnat 2 error("hi") ERROR: On worker 2: hi Stacktrace: \[1\] error @ ./error.jl:33 \[2\] #51 @ /buildworker/worker/package\_linux64/build/usr/share/julia/stdlib/v1.6/Distributed/src/macros…

---

## [How to implement embeddings in Flux that aren't tragically slow?](https://discourse.julialang.org/t/how-to-implement-embeddings-in-flux-that-arent-tragically-slow/55201)

<div class="topic-metadata">

**Author:** [@jjminton](https://discourse.julialang.org/u/jjminton)\
**Replies:** 3\
**Last updated:** [April 3, 2021, 8:56am UTC](https://discourse.julialang.org/t/how-to-implement-embeddings-in-flux-that-arent-tragically-slow/55201 "2021-04-03T08:56:43Z")

</div>

I have recently started learning Julia and Flux for machine learning. I am trying to implement word2vec as a starting point, but the gradient calculations slow down dramatically with larger vocabulary sizes. With negativ…

---

## [Timeout for connect (Socket)](https://discourse.julialang.org/t/timeout-for-connect-socket/58396)

<div class="topic-metadata">

**Author:** [@tknopp](https://discourse.julialang.org/u/tknopp)\
**Replies:** 6\
**Last updated:** [April 3, 2021, 6:21am UTC](https://discourse.julialang.org/t/timeout-for-connect-socket/58396 "2021-04-03T06:21:26Z")

</div>

Hi, I have a problem with a local server that sometimes is down and in turn connect("ip-of-server", port) is blocking infinitely. I would like to have some timeout that throws an exception that I could catch, e.g. a…

---

## [Funding Community Projects](https://discourse.julialang.org/t/funding-community-projects/56288)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 2\
**Last updated:** [April 2, 2021, 7:16pm UTC](https://discourse.julialang.org/t/funding-community-projects/56288 "2021-04-02T19:16:46Z")

</div>

Hi fellow Julians! Many of you probably know that the Julia project uses the NumFOCUS, an US non-profit organisation as it’s fiscal sponsor. This means that income for the project is collected in accounts of that organi…

---

## [Could not download https://pkg.julialang.org/registries](https://discourse.julialang.org/t/could-not-download-https-pkg-julialang-org-registries/58467)

<div class="topic-metadata">

**Author:** [@hamorabi](https://discourse.julialang.org/u/hamorabi)\
**Replies:** 0\
**Last updated:** [April 2, 2021, 9:49pm UTC](https://discourse.julialang.org/t/could-not-download-https-pkg-julialang-org-registries/58467 "2021-04-02T21:49:22Z")

</div>

I am on pop os 20.10 and downloaded Julia 1.6 from here. After running Julia, I tried to download the DataFrames package, but got the following error: could not download https://pkg.julialang.org/registry/23338594-aafe-…

---

## [How to properly use Structs in Julia?](https://discourse.julialang.org/t/how-to-properly-use-structs-in-julia/58465)

<div class="topic-metadata">

**Author:** [@Renan\_Rabelo](https://discourse.julialang.org/u/Renan_Rabelo)\
**Replies:** 2\
**Last updated:** [April 2, 2021, 9:42pm UTC](https://discourse.julialang.org/t/how-to-properly-use-structs-in-julia/58465 "2021-04-02T21:42:26Z")

</div>

Hi, I’m using Julia about 6 months by now and I never understood Structs well. Before Julia I used to code in Processing, and OOP in Julia seems so different that I don’t even know how methods and objects work and how …

---

## [@select all columns in Query.jl](https://discourse.julialang.org/t/select-all-columns-in-query-jl/58448)

<div class="topic-metadata">

**Author:** [@drjoke](https://discourse.julialang.org/u/drjoke)\
**Replies:** 4\
**Last updated:** [April 2, 2021, 9:24pm UTC](https://discourse.julialang.org/t/select-all-columns-in-query-jl/58448 "2021-04-02T21:24:24Z")

</div>

In the following code, how can I @select all columns from a dataframe? Do I have to explicitly list all columns I want to @select? x = @from r in DataFramesIO begin @where !isnan(r.SHARES) @select all @colle…

---

## [Question about floating-point precision in summation](https://discourse.julialang.org/t/question-about-floating-point-precision-in-summation/58334)

<div class="topic-metadata">

**Author:** [@Frisus95](https://discourse.julialang.org/u/Frisus95)\
**Replies:** 22\
**Last updated:** [April 2, 2021, 9:00pm UTC](https://discourse.julialang.org/t/question-about-floating-point-precision-in-summation/58334 "2021-04-02T21:00:13Z")

</div>

Hello everyone, I have a “technical” (probably trivial) question. My code computes a lot of matrices (calling an external library in C) by parallelizing on multiple processes, then finally adds these matrices and we get…

---

## [Lualatex in JuliaHub](https://discourse.julialang.org/t/lualatex-in-juliahub/58306)

<div class="topic-metadata">

**Author:** [@nandre7](https://discourse.julialang.org/u/nandre7)\
**Replies:** 4\
**Last updated:** [April 2, 2021, 7:46pm UTC](https://discourse.julialang.org/t/lualatex-in-juliahub/58306 "2021-04-02T19:46:00Z")

</div>

The use of PGFplotsX.jl requires the installation of Lualatex according to the documentation. It is not really obvious for all to understand how to install it in the Juliahub or even if it is possible. An answer here may…

---

## [Flux train all parameters except those equal to 0](https://discourse.julialang.org/t/flux-train-all-parameters-except-those-equal-to-0/55665)

<div class="topic-metadata">

**Author:** [@anon74562486](https://discourse.julialang.org/u/anon74562486)\
**Replies:** 1\
**Last updated:** [April 2, 2021, 7:43pm UTC](https://discourse.julialang.org/t/flux-train-all-parameters-except-those-equal-to-0/55665 "2021-04-02T19:43:53Z")

</div>

I have a neural network model trained on the mnist dataset. If I add to the loss function a l1 regularization term I get many parameters near 0. But if I set manually those parameters to 0 the model performs worse and …

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

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