# Latest

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

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

**Page:** 1704

---

## [Flux's model-zoo CIFAR10 example saturates 8GB gpu](https://discourse.julialang.org/t/fluxs-model-zoo-cifar10-example-saturates-8gb-gpu/42244)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 4:35pm UTC](https://discourse.julialang.org/t/fluxs-model-zoo-cifar10-example-saturates-8gb-gpu/42244 "2020-06-29T16:35:07Z")

</div>

Running the Flux’s model-zoo CIFAR10 example seems to saturate the 8GB memory of my Quadro RTX 4000: \[ Info: CUDA is on \[ Info: Constructing Model \[ Info: Training.... \[ Info: Epoch 1 ┌ Warning: \`Target(triple::String)\`…

---

## [Plotting a timeline?](https://discourse.julialang.org/t/plotting-a-timeline/42254)

<div class="topic-metadata">

**Author:** [@Valentine\_GRAND](https://discourse.julialang.org/u/Valentine_GRAND)\
**Replies:** 3\
**Last updated:** [June 29, 2020, 4:01pm UTC](https://discourse.julialang.org/t/plotting-a-timeline/42254 "2020-06-29T16:01:04Z")

</div>

Hi everyone, Do you know how i could plot a timeline like this : \[Creating a timeline with lines, dates, and text — Matplotlib 3.1.3 documentation\] Or at least wich package do you recommend ? Thank you Valentine

---

## [Suggestion Box: From a Julia neophyte](https://discourse.julialang.org/t/suggestion-box-from-a-julia-neophyte/42078)

<div class="topic-metadata">

**Author:** [@laut](https://discourse.julialang.org/u/laut)\
**Replies:** 9\
**Last updated:** [June 29, 2020, 3:56pm UTC](https://discourse.julialang.org/t/suggestion-box-from-a-julia-neophyte/42078 "2020-06-29T15:56:49Z")

</div>

I’m not sure where to post this so feel free to move this to a different section of the site if I missed the mark. I’m learning my way around Julia and life could be a bit simpler with some minor tweaks, here’s a wish l…

---

## [It appears that juliabloggers.com needs a cert upgrade](https://discourse.julialang.org/t/it-appears-that-juliabloggers-com-needs-a-cert-upgrade/42228)

<div class="topic-metadata">

**Author:** [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 2:40pm UTC](https://discourse.julialang.org/t/it-appears-that-juliabloggers-com-needs-a-cert-upgrade/42228 "2020-06-29T14:40:58Z")

</div>

I got an angry message from firefox saying that the cert for juliabloggers is out of date. Someone should probably fix that. No idea if this is the right place to report this, but I figure someone important enough will s…

---

## [Another post on package compilation time](https://discourse.julialang.org/t/another-post-on-package-compilation-time/42015)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 14\
**Last updated:** [June 29, 2020, 2:27pm UTC](https://discourse.julialang.org/t/another-post-on-package-compilation-time/42015 "2020-06-29T14:27:40Z")

</div>

Let me start by saying I’m very new to issues regarding compilation. (I never heard of compilation when I used Matlab-R-STATA.) Suppose I load a Julia package AAA.jl with one function f(x,y) . The first time I call f(…

---

## [Are let blocks as fast as functions?](https://discourse.julialang.org/t/are-let-blocks-as-fast-as-functions/42115)

<div class="topic-metadata">

**Author:** [@jfan](https://discourse.julialang.org/u/jfan)\
**Replies:** 11\
**Last updated:** [June 29, 2020, 2:27pm UTC](https://discourse.julialang.org/t/are-let-blocks-as-fast-as-functions/42115 "2020-06-29T14:27:33Z")

</div>

Based on reading this discussion and having to write a large script (I prefer script files), I find that using functions for “for loops” is a pain in my application. Since the matrices I’m dealing with are very large (~ …

---

## [Cummulative death by day by country](https://discourse.julialang.org/t/cummulative-death-by-day-by-country/42080)

<div class="topic-metadata">

**Author:** [@Chen](https://discourse.julialang.org/u/Chen)\
**Replies:** 29\
**Last updated:** [June 29, 2020, 1:45pm UTC](https://discourse.julialang.org/t/cummulative-death-by-day-by-country/42080 "2020-06-29T13:45:25Z")

</div>

In R, one would use tidyverse to, for example, aggregate daily deaths of COVID-19 by day and by country \[0\]. How would one do it in Julia? Is there a package that is similar to R’s tidyverse? Or does one write a couple …

---

## [Contributing to packages](https://discourse.julialang.org/t/contributing-to-packages/42216)

<div class="topic-metadata">

**Author:** [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 1:43pm UTC](https://discourse.julialang.org/t/contributing-to-packages/42216 "2020-06-29T13:43:05Z")

</div>

I’m working on adding a distribution to Distributions.jl and am curious how to get a good workflow for making contributions. I first created a new environment with \]activate MyDist, added Distributions.jl and the other n…

---

## [Non-allocating views](https://discourse.julialang.org/t/non-allocating-views/42249)

<div class="topic-metadata">

**Author:** [@codebilly](https://discourse.julialang.org/u/codebilly)\
**Replies:** 2\
**Last updated:** [June 29, 2020, 1:36pm UTC](https://discourse.julialang.org/t/non-allocating-views/42249 "2020-06-29T13:36:47Z")

</div>

I recently installed Julia Version 1.5.0-beta1.0 and I was impressed with the non-allocating views. I just tried an example of LU factorisation written in vectorised style to get a feel for it, and the performance compa…

---

## [Issue with Callbacks When Solving Differential Equations Having Dual Number States](https://discourse.julialang.org/t/issue-with-callbacks-when-solving-differential-equations-having-dual-number-states/41883)

<div class="topic-metadata">

**Author:** [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)\
**Replies:** 7\
**Last updated:** [June 29, 2020, 1:25pm UTC](https://discourse.julialang.org/t/issue-with-callbacks-when-solving-differential-equations-having-dual-number-states/41883 "2020-06-29T13:25:44Z")

</div>

When I solve the same ODE with callback to stop simulation early and without callback, I get different partials at the same time not even close. I believe that adding callback introduces dual times and, at the event time…

---

## [Changes in the Plots/GraphRecipes packages?](https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246)

<div class="topic-metadata">

**Author:** [@Valentine\_GRAND](https://discourse.julialang.org/u/Valentine_GRAND)\
**Replies:** 2\
**Last updated:** [June 29, 2020, 1:21pm UTC](https://discourse.julialang.org/t/changes-in-the-plots-graphrecipes-packages/42246 "2020-06-29T13:21:38Z")

</div>

Hello everyone, In the documentation of Plot/GraphRecipes (http://docs.juliaplots.org/latest/graphrecipes/examples/#graph\_examples-1) you can find this example: using GraphRecipes, Plots g = \[0 1 1; 0 0 1; 0 1 0\] …

---

## [Notes on multithreading with Julia](https://discourse.julialang.org/t/notes-on-multithreading-with-julia/42107)

<div class="topic-metadata">

**Author:** [@eaubanel](https://discourse.julialang.org/u/eaubanel)\
**Replies:** 5\
**Last updated:** [June 29, 2020, 12:41pm UTC](https://discourse.julialang.org/t/notes-on-multithreading-with-julia/42107 "2020-06-29T12:41:07Z")

</div>

I’m planning to use Julia as the language in my intro to parallel computing course next year. Earlier this month I posted some notes on GPU programming with Julia . Now I’ve just uploaded to my website some notes on mult…

---

## [Julia: NLsolve providing different solution each run and sometimes returns NaN?](https://discourse.julialang.org/t/julia-nlsolve-providing-different-solution-each-run-and-sometimes-returns-nan/42191)

<div class="topic-metadata">

**Author:** [@RasmusDamgaard](https://discourse.julialang.org/u/RasmusDamgaard)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 10:54am UTC](https://discourse.julialang.org/t/julia-nlsolve-providing-different-solution-each-run-and-sometimes-returns-nan/42191 "2020-06-29T10:54:01Z")

</div>

Hi, Note: I have cross-posted this to stackexchange: optimization - Julia: NLsolve providing different solution each run and sometimes returns NaN? - Stack Overflow I am trying to replicate some matlab code as a part o…

---

## [\[ANN\] SEAL.jl: Fully homomorphic encryption with the BFV and CKKS schemes](https://discourse.julialang.org/t/ann-seal-jl-fully-homomorphic-encryption-with-the-bfv-and-ckks-schemes/42210)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 4\
**Last updated:** [June 29, 2020, 10:22am UTC](https://discourse.julialang.org/t/ann-seal-jl-fully-homomorphic-encryption-with-the-bfv-and-ckks-schemes/42210 "2020-06-29T10:22:23Z")

</div>

SEAL.jl is a Julia package that wraps the SEAL library for homomorphic encryption. Homomorphic encryption allows to perform numerical operations directly on encrypted data without having to decrypt the data first, proces…

---

## [Error Unsatisfiable requirements detected for package ZMQ \[c2297ded\] when adding new packages](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-zmq-c2297ded-when-adding-new-packages/42235)

<div class="topic-metadata">

**Author:** [@Ivan](https://discourse.julialang.org/u/Ivan)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 10:11am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-zmq-c2297ded-when-adding-new-packages/42235 "2020-06-29T10:11:09Z")

</div>

Hi all, First of all, I’d like to say that I am fairly new to Julia, so I apologise in advance if my query is a bit basic. I am using Julia v1.4 on Atom on WIndows 10. I am trying to add a set of new packages for an e…

---

## [Creating a graph out of a string list?](https://discourse.julialang.org/t/creating-a-graph-out-of-a-string-list/42233)

<div class="topic-metadata">

**Author:** [@Valentine\_GRAND](https://discourse.julialang.org/u/Valentine_GRAND)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 8:58am UTC](https://discourse.julialang.org/t/creating-a-graph-out-of-a-string-list/42233 "2020-06-29T08:58:25Z")

</div>

Hello everyone, This is my first post here, I hope I’m going to do it right and it’s the right place to post it :slight\_smile: Here’s my problem, I have a list of string: \[" 'DataManager' ", " 'LauncherFrame' ", " '…

---

## [Undefined /out of scope](https://discourse.julialang.org/t/undefined-out-of-scope/42188)

<div class="topic-metadata">

**Author:** [@mayar](https://discourse.julialang.org/u/mayar)\
**Replies:** 10\
**Last updated:** [June 29, 2020, 6:19am UTC](https://discourse.julialang.org/t/undefined-out-of-scope/42188 "2020-06-29T06:19:05Z")

</div>

Hello all, I have been developing a code that executes a function using an array and now the problem started to happen when I put that function in a loop…I get the message saying that the array is not defined… I wrote t…

---

## [An Idea for Optimization as if Solving ODE](https://discourse.julialang.org/t/an-idea-for-optimization-as-if-solving-ode/42195)

<div class="topic-metadata">

**Author:** [@tomaklutfu](https://discourse.julialang.org/u/tomaklutfu)\
**Replies:** 25\
**Last updated:** [June 29, 2020, 4:39am UTC](https://discourse.julialang.org/t/an-idea-for-optimization-as-if-solving-ode/42195 "2020-06-29T04:39:50Z")

</div>

There are plenty of methods to solve a minimization problem. Many of them iteratively solves for the parameters by decrementing them by a fraction (determined by a learning rate) of the partial derivatives of the objecti…

---

## ["UndefVarError: with\_optimizer not defined" using GLPK](https://discourse.julialang.org/t/undefvarerror-with-optimizer-not-defined-using-glpk/42220)

<div class="topic-metadata">

**Author:** [@Ernesto\_Diaz](https://discourse.julialang.org/u/Ernesto_Diaz)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 3:35am UTC](https://discourse.julialang.org/t/undefvarerror-with-optimizer-not-defined-using-glpk/42220 "2020-06-29T03:35:29Z")

</div>

I have JuMP v.0.18.6 . I think the message “UndefVarError: with\_optimizer not defined” is showed because I need JuMP v.0.19, but when I wrote Pkg.update(“JuMP”) JuMP wasn´t update.

---

## [Why DataFrames v.0.21.2 (julia v1.4.2) requires more memory than the previous version](https://discourse.julialang.org/t/why-dataframes-v-0-21-2-julia-v1-4-2-requires-more-memory-than-the-previous-version/41171)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 22\
**Last updated:** [June 29, 2020, 2:45am UTC](https://discourse.julialang.org/t/why-dataframes-v-0-21-2-julia-v1-4-2-requires-more-memory-than-the-previous-version/41171 "2020-06-29T02:45:50Z")

</div>

I’ve updated to DataFrame v.0.21.2 and Julia ver 1.4.2. Try to load CSV file (9GB), as result 32 GB Ram is not enough. Is it reasonable? Why DataFrames consume so much memory?

---

## [LIBSVM crashes after sucessfully running a few times](https://discourse.julialang.org/t/libsvm-crashes-after-sucessfully-running-a-few-times/42047)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 1:25am UTC](https://discourse.julialang.org/t/libsvm-crashes-after-sucessfully-running-a-few-times/42047 "2020-06-29T01:25:52Z")

</div>

Hi, I am using LIBSVM.jl to train a SVM classification model. Apparently the model in my code below trains successfully. However, after running it a few times it crashes (after about 10 repetitions). It shows a segmenta…

---

## [A question ahout PCA](https://discourse.julialang.org/t/a-question-ahout-pca/42100)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 9\
**Last updated:** [June 29, 2020, 1:04am UTC](https://discourse.julialang.org/t/a-question-ahout-pca/42100 "2020-06-29T01:04:23Z")

</div>

After applying PCA algorithm, how to display its principal component?thanks!!

---

## [Help speeding up finite horizon dynamic programming problem](https://discourse.julialang.org/t/help-speeding-up-finite-horizon-dynamic-programming-problem/22782)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 33\
**Last updated:** [June 29, 2020, 12:50am UTC](https://discourse.julialang.org/t/help-speeding-up-finite-horizon-dynamic-programming-problem/22782 "2020-06-29T00:50:01Z")

</div>

I am struggling to speed up the computation of solutions for a finite horizon dynamic programming problem. I am using interpolation to avoid computing the value function outside of points in the grid. Right now it takes …

---

## [Optional processor flags in jll packages](https://discourse.julialang.org/t/optional-processor-flags-in-jll-packages/42215)

<div class="topic-metadata">

**Author:** [@hros](https://discourse.julialang.org/u/hros)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 12:03am UTC](https://discourse.julialang.org/t/optional-processor-flags-in-jll-packages/42215 "2020-06-29T00:03:42Z")

</div>

I’m building a jll package of a c library. The library has some processor specific configuration flags, namely setting AVX512 for processors that support it. Is it possible to generate several versions (e.g. with/withou…

---

## [Help improving a function that constructs 3D matrix](https://discourse.julialang.org/t/help-improving-a-function-that-constructs-3d-matrix/42208)

<div class="topic-metadata">

**Author:** [@ycrichard](https://discourse.julialang.org/u/ycrichard)\
**Replies:** 3\
**Last updated:** [June 28, 2020, 11:24pm UTC](https://discourse.julialang.org/t/help-improving-a-function-that-constructs-3d-matrix/42208 "2020-06-28T23:24:48Z")

</div>

Hi Everyone! I am recently porting some functions from Matlab to Julia. Julia is mostly amazing except this function that I cannot get it to a similar speed as Matlab. It basically takes a few input vectors and constru…

---

## [Different results when running on CPU or GPU](https://discourse.julialang.org/t/different-results-when-running-on-cpu-or-gpu/42200)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 6\
**Last updated:** [June 28, 2020, 11:15pm UTC](https://discourse.julialang.org/t/different-results-when-running-on-cpu-or-gpu/42200 "2020-06-28T23:15:09Z")

</div>

If I do using Flux x = rand(Float32, 10000); W = rand(Float32, 10000,10000); y = W\*x; gx = x |\> gpu; gW = W |\> gpu; gy = gW\*gx; (gy\[1:10\] |\> cpu) .- y\[1:10\] I get something like 10-element Array{Float32,1}: -0.001…

---

## [Announcing Elfel.jl: finite element programming the Julian way](https://discourse.julialang.org/t/announcing-elfel-jl-finite-element-programming-the-julian-way/42179)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 1\
**Last updated:** [June 28, 2020, 9:05pm UTC](https://discourse.julialang.org/t/announcing-elfel-jl-finite-element-programming-the-julian-way/42179 "2020-06-28T21:05:01Z")

</div>

The package is intended to facilitate construction of mixed methods. The library provides low-level building blocks rather than prepackaged procedures. In addition to the usual nodal bases, edge, face, and cell basis fun…

---

## [Traceback details when using include()](https://discourse.julialang.org/t/traceback-details-when-using-include/42165)

<div class="topic-metadata">

**Author:** [@billtubbs](https://discourse.julialang.org/u/billtubbs)\
**Replies:** 7\
**Last updated:** [June 28, 2020, 7:59pm UTC](https://discourse.julialang.org/t/traceback-details-when-using-include/42165 "2020-06-28T19:59:24Z")

</div>

I’m a beginner here so might be missing something, but I’ve noticed that when I try to include a file that has a bug in it (into a Jupyter notebook), the traceback details are not that helpful because they don’t show the…

---

## [Julia (with compile time) about 5.6 times faster than SAS](https://discourse.julialang.org/t/julia-with-compile-time-about-5-6-times-faster-than-sas/42159)

<div class="topic-metadata">

**Author:** [@ajsagit](https://discourse.julialang.org/u/ajsagit)\
**Replies:** 23\
**Last updated:** [June 28, 2020, 6:57pm UTC](https://discourse.julialang.org/t/julia-with-compile-time-about-5-6-times-faster-than-sas/42159 "2020-06-28T18:57:11Z")

</div>

\[Original title: Julia benchmark against SAS only 50% We need a faster Julia please\] I have read the article :BENCHMARKING JULIA AGAINST PYTHON https://juliacomputing.com/assets/pdf/JuliaVsPython.pdf So Amazing! Then …

---

## [\[ANN\] Sherlock.jl : A visual package detective](https://discourse.julialang.org/t/ann-sherlock-jl-a-visual-package-detective/36674)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 3\
**Last updated:** [June 28, 2020, 6:20pm UTC](https://discourse.julialang.org/t/ann-sherlock-jl-a-visual-package-detective/36674 "2020-06-28T18:20:43Z")

</div>

Hey everyone, I’m happy to announce Sherlock.jl. GitHub - caseykneale/Sherlock.jl: A high functioning package detective. What is it? Well it provides convenience functions to explore modules that are loaded into scop…

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

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