# Latest

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

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

**Page:** 1808

---

## [Running simulations over range of parameters](https://discourse.julialang.org/t/running-simulations-over-range-of-parameters/35573)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 12\
**Last updated:** [March 6, 2020, 10:12am UTC](https://discourse.julialang.org/t/running-simulations-over-range-of-parameters/35573 "2020-03-06T10:12:31Z")

</div>

Hi, I am running a two differential equations over a range of parameters, and it works fine. I loop over two parameters (double loop). I would like to know the Julia way of doing this. Here is my code. Run all α, β pa…

---

## [Show full content of variables in workspace pane](https://discourse.julialang.org/t/show-full-content-of-variables-in-workspace-pane/35615)

<div class="topic-metadata">

**Author:** [@ndrsh](https://discourse.julialang.org/u/ndrsh)\
**Replies:** 1\
**Last updated:** [March 6, 2020, 9:08am UTC](https://discourse.julialang.org/t/show-full-content-of-variables-in-workspace-pane/35615 "2020-03-06T09:08:46Z")

</div>

In the workspace pane, I can click on variables, which gives me insight into the content. However, content is never shown fully, only partially. In the REPL, I can do show(myVariable) which prints the full content. Is th…

---

## [3 new packages related to data analysis](https://discourse.julialang.org/t/3-new-packages-related-to-data-analysis/35629)

<div class="topic-metadata">

**Author:** [@jean-pierre\_both](https://discourse.julialang.org/u/jean-pierre_both)\
**Replies:** 3\
**Last updated:** [March 6, 2020, 8:59am UTC](https://discourse.julialang.org/t/3-new-packages-related-to-data-analysis/35629 "2020-03-06T08:59:28Z")

</div>

I registered 3 packages useful in data analysis (See also jean-pierre both · GitLab) HnswAnn This package provides an interface to a Rust crate implementing the Hnsw algorithm for approximate nearest neighbours. In…

---

## [Julia doesn't start in Atom after updating julia-client to 0.12.3](https://discourse.julialang.org/t/julia-doesnt-start-in-atom-after-updating-julia-client-to-0-12-3/35627)

<div class="topic-metadata">

**Author:** [@leejm516](https://discourse.julialang.org/u/leejm516)\
**Replies:** 2\
**Last updated:** [March 6, 2020, 8:59am UTC](https://discourse.julialang.org/t/julia-doesnt-start-in-atom-after-updating-julia-client-to-0-12-3/35627 "2020-03-06T08:59:25Z")

</div>

Hi, Today I had the packages in Atom (v1.44.0) updated, and julia-client has been updated to 0.12.3. Also, I performed package update in Julia, seeing that the package Atom has been updated to 0.12.8. However, after u…

---

## [Help. Some quantum stuff going on in my code. Probably related to scoping](https://discourse.julialang.org/t/help-some-quantum-stuff-going-on-in-my-code-probably-related-to-scoping/35630)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 3\
**Last updated:** [March 6, 2020, 8:46am UTC](https://discourse.julialang.org/t/help-some-quantum-stuff-going-on-in-my-code-probably-related-to-scoping/35630 "2020-03-06T08:46:24Z")

</div>

I need help with code below. It is a value function iteration code–probably inefficient–but anyway. I have two vectors TV and v, both declared outside two loops: outer while loop and inner for loop. After the first pass …

---

## [Systems of differential equations](https://discourse.julialang.org/t/systems-of-differential-equations/35618)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 5\
**Last updated:** [March 6, 2020, 8:02am UTC](https://discourse.julialang.org/t/systems-of-differential-equations/35618 "2020-03-06T08:02:37Z")

</div>

Consider the set of equations and its solution. There are two variables: c and ce. using DifferentialEquations function diffusion!(du, u, p, t) α, β = p c, ce = u dc = -α\*c dce = -β\*ce du .= \[dc, d…

---

## [Infix for isequal](https://discourse.julialang.org/t/infix-for-isequal/240)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [March 6, 2020, 6:28am UTC](https://discourse.julialang.org/t/infix-for-isequal/240 "2020-03-06T06:28:52Z")

</div>

I find I use isequal a lot, especially for tests, so an infix form would be convenient. I checked the issues, but did not find anything related, thought I would ask here before opening an issue. I don’t have a strong pr…

---

## [@. Operator](https://discourse.julialang.org/t/operator/35622)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 2\
**Last updated:** [March 6, 2020, 3:37am UTC](https://discourse.julialang.org/t/operator/35622 "2020-03-06T03:37:40Z")

</div>

Hi, Consider the following code: a = 10 b = 1:10 Obviously, c = a .= b works just fine. But I have more complex expressions and do not wish to spend my time adding dots everywhere. So I tried: @. D = a + b Howev…

---

## [Why is Julia's generated assembly more complicated than Swift's for a simple function?](https://discourse.julialang.org/t/why-is-julias-generated-assembly-more-complicated-than-swifts-for-a-simple-function/35549)

<div class="topic-metadata">

**Author:** [@Aremk](https://discourse.julialang.org/u/Aremk)\
**Replies:** 16\
**Last updated:** [March 6, 2020, 3:10am UTC](https://discourse.julialang.org/t/why-is-julias-generated-assembly-more-complicated-than-swifts-for-a-simple-function/35549 "2020-03-06T03:10:47Z")

</div>

Consider the following example in swift, from: Redirecting to Google Groups func f() -\> \[Int\] { return \[0, 1\] } func testMe() -\> Int { var r = 0 for x in f() { r += x } return r } Accordi…

---

## [Numerical Stability](https://discourse.julialang.org/t/numerical-stability/35617)

<div class="topic-metadata">

**Author:** [@hytonwons](https://discourse.julialang.org/u/hytonwons)\
**Replies:** 1\
**Last updated:** [March 6, 2020, 2:23am UTC](https://discourse.julialang.org/t/numerical-stability/35617 "2020-03-06T02:23:53Z")

</div>

Hi, recently I’ve been testing the numerical stability of my algorithms. Let me just use QR decomposition as an example. I tried to test the orthogonality (relative backward error) of the computed Q following this formu…

---

## [Changing the Terms Of Service: User content license](https://discourse.julialang.org/t/changing-the-terms-of-service-user-content-license/34979)

<div class="topic-metadata">

**Author:** [@vchuravy](https://discourse.julialang.org/u/vchuravy)\
**Replies:** 7\
**Last updated:** [March 6, 2020, 1:48am UTC](https://discourse.julialang.org/t/changing-the-terms-of-service-user-content-license/34979 "2020-03-06T01:48:19Z")

</div>

Currently the Terms of Service state: 3. User Content License User contributions are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Without limiting any of those representa…

---

## [Circular dependency?](https://discourse.julialang.org/t/circular-dependency/35571)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 4\
**Last updated:** [March 6, 2020, 1:37am UTC](https://discourse.julialang.org/t/circular-dependency/35571 "2020-03-06T01:37:35Z")

</div>

if I have two modules A and B, where A needs using B and B needs using A. would it cause problem? if there is, how could I solve it? thanks. :pray:

---

## [Wrapping tests involving eval in @testset](https://discourse.julialang.org/t/wrapping-tests-involving-eval-in-testset/35257)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 2\
**Last updated:** [March 6, 2020, 12:12am UTC](https://discourse.julialang.org/t/wrapping-tests-involving-eval-in-testset/35257 "2020-03-06T00:12:45Z")

</div>

I often get into trouble wrapping unit tests involving macros or eval in @testset. Can someone explain why the first example works but the second fails? x = 5 eval(quote @test x == 5 end …

---

## [A more intuitive way to treat an object as a scalar in broadcasting?](https://discourse.julialang.org/t/a-more-intuitive-way-to-treat-an-object-as-a-scalar-in-broadcasting/35598)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 9\
**Last updated:** [March 5, 2020, 10:22pm UTC](https://discourse.julialang.org/t/a-more-intuitive-way-to-treat-an-object-as-a-scalar-in-broadcasting/35598 "2020-03-05T22:22:24Z")

</div>

I think it would make sense to have a more intuitive way to treat an object as a scalar for broadcasting. The canonical example, which new users ask about all the time, is when using in: julia\> \[2, 3, 4\] .∈ Ref(\[1, 3, 5…

---

## [Type changes based on declaration](https://discourse.julialang.org/t/type-changes-based-on-declaration/35604)

<div class="topic-metadata">

**Author:** [@squirrel](https://discourse.julialang.org/u/squirrel)\
**Replies:** 4\
**Last updated:** [March 5, 2020, 9:29pm UTC](https://discourse.julialang.org/t/type-changes-based-on-declaration/35604 "2020-03-05T21:29:10Z")

</div>

Why aren’t F and V below of the same type? How can I write a function that will handle both of them (but not also any generic vector)? using SparseArrays F = Vector{SparseVector}() push!(F, sparse(\[1, -1, 5, -5\])) push…

---

## [REPL window](https://discourse.julialang.org/t/repl-window/35602)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 1\
**Last updated:** [March 5, 2020, 7:36pm UTC](https://discourse.julialang.org/t/repl-window/35602 "2020-03-05T19:36:58Z")

</div>

Hi, I resized a window pane in Juno (not REPL window) to do some complex editing on a large file. Now, for some reason, I no longer have a REPL window. How do I get it back. I also have a error displayed on my screen, w…

---

## [NLsolve.jl collocation divergence](https://discourse.julialang.org/t/nlsolve-jl-collocation-divergence/35256)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 10\
**Last updated:** [March 5, 2020, 7:19pm UTC](https://discourse.julialang.org/t/nlsolve-jl-collocation-divergence/35256 "2020-03-05T19:19:56Z")

</div>

Hi everyone! I would like to ask for help/suggestions/advice with my code. I am trying to solve a simple macroeconomic model (plain vanilla deterministic optimal growth) using collocation with Chebyshev polynomials. To …

---

## [Interact + StatsPlots](https://discourse.julialang.org/t/interact-statsplots/35599)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 6:16pm UTC](https://discourse.julialang.org/t/interact-statsplots/35599 "2020-03-05T18:16:17Z")

</div>

I was having trouble getting Interact.jl to work, you know, interactively in a Jupyter notebook. I finally found that the problem is that I was using StatsPlots.jl and not Plots.jl. I was not actually using any of the fu…

---

## [In.(\[string\], Set)) not work , why?](https://discourse.julialang.org/t/in-string-set-not-work-why/35579)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 3\
**Last updated:** [March 5, 2020, 5:56pm UTC](https://discourse.julialang.org/t/in-string-set-not-work-why/35579 "2020-03-05T17:56:20Z")

</div>

I need to keep sorting the vector \[zawartosc\] and can’t use intersect () Why in.(\[string\], Set)) not works julia\> in(zawartosc\[1\],Sunikalne) true julia\> in.(zawartosc,Sunikalne) ERROR: DimensionMismatch("arrays cou…

---

## [Can we mark some discussions on Julia Discourse as outdated in v. 1.x?](https://discourse.julialang.org/t/can-we-mark-some-discussions-on-julia-discourse-as-outdated-in-v-1-x/35217)

<div class="topic-metadata">

**Author:** [@KZiemian](https://discourse.julialang.org/u/KZiemian)\
**Replies:** 19\
**Last updated:** [March 5, 2020, 3:57pm UTC](https://discourse.julialang.org/t/can-we-mark-some-discussions-on-julia-discourse-as-outdated-in-v-1-x/35217 "2020-03-05T15:57:43Z")

</div>

I quite often search on Julia Discourse for solution to my problems and from time to time I’m stuck with problem, is solution given before August 2018 is still good? Since Julia 1.0 change a lot of things, some good solu…

---

## [JuliaCon 2020 Abstract Extension: Submit by March 15th!](https://discourse.julialang.org/t/juliacon-2020-abstract-extension-submit-by-march-15th/35592)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 3:53pm UTC](https://discourse.julialang.org/t/juliacon-2020-abstract-extension-submit-by-march-15th/35592 "2020-03-05T15:53:54Z")

</div>

The Juliacon 2020 abstraction submission deadline has been extended! The new deadline is March 15th at 11:59PM. To submit your application please see:

---

## [Plot inside a function](https://discourse.julialang.org/t/plot-inside-a-function/35582)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 3:49pm UTC](https://discourse.julialang.org/t/plot-inside-a-function/35582 "2020-03-05T15:49:46Z")

</div>

Consider the function using Plots function test\_plot() a = Any\[\] t = \[1,2,3\] push!(a, \[2,3,4\]) push!(a, \[3,4,5\]) plot(t, a\[1\]) return a end data = test\_plot() When it is executed, the plot doe…

---

## [How to change box plot code to Area Plot?](https://discourse.julialang.org/t/how-to-change-box-plot-code-to-area-plot/35588)

<div class="topic-metadata">

**Author:** [@Arega\_Getaneh](https://discourse.julialang.org/u/Arega_Getaneh)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 3:36pm UTC](https://discourse.julialang.org/t/how-to-change-box-plot-code-to-area-plot/35588 "2020-03-05T15:36:41Z")

</div>

Below is my code for boxplot and it works. But I want to change it to area plot and couldn’t work. Could anyone can help me how to put the date to fit for area Plot? Thank " rc("font", family="serif",size=12) x\_ticks=\[…

---

## [MNIST dataframe build with my own images](https://discourse.julialang.org/t/mnist-dataframe-build-with-my-own-images/35567)

<div class="topic-metadata">

**Author:** [@Mihai-Constantinescu](https://discourse.julialang.org/u/Mihai-Constantinescu)\
**Replies:** 2\
**Last updated:** [March 5, 2020, 3:32pm UTC](https://discourse.julialang.org/t/mnist-dataframe-build-with-my-own-images/35567 "2020-03-05T15:32:01Z")

</div>

Hello, I’m looking to build a MNIST type database with my own images in order to train a One-Class CNN. I have the images processed in Julia (Gray, 28x28), I know the label of each one, but I don’t know how to build the…

---

## [JASP & jamovi](https://discourse.julialang.org/t/jasp-jamovi/35586)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 3:26pm UTC](https://discourse.julialang.org/t/jasp-jamovi/35586 "2020-03-05T15:26:01Z")

</div>

Any of you use JASP or jamovi? https://www.jamovi.org/ They look very interesting, though I think more interesting if Julia instead of R were used.

---

## [Removing the first line in a text file](https://discourse.julialang.org/t/removing-the-first-line-in-a-text-file/35521)

<div class="topic-metadata">

**Author:** [@Jakob](https://discourse.julialang.org/u/Jakob)\
**Replies:** 11\
**Last updated:** [March 5, 2020, 3:24pm UTC](https://discourse.julialang.org/t/removing-the-first-line-in-a-text-file/35521 "2020-03-05T15:24:12Z")

</div>

Hi everyone, how would I go about removing the first line of a (potentially very large) text file, ideally without having to load the file into a DataFrame or copying the full file? Best Jakob

---

## [Easiest quickest way to search DataFrame w/wildcards](https://discourse.julialang.org/t/easiest-quickest-way-to-search-dataframe-w-wildcards/35575)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 7\
**Last updated:** [March 5, 2020, 3:21pm UTC](https://discourse.julialang.org/t/easiest-quickest-way-to-search-dataframe-w-wildcards/35575 "2020-03-05T15:21:54Z")

</div>

Is there an easy straightforward already existing way to search a DataFrame with a String wildcard in a specific column, and then print the found entries/rows? For example, you want to search if a certain name is in the…

---

## [FLUX + Pytorch + tensorflow](https://discourse.julialang.org/t/flux-pytorch-tensorflow/35584)

<div class="topic-metadata">

**Author:** [@JP\_Nieto](https://discourse.julialang.org/u/JP_Nieto)\
**Replies:** 0\
**Last updated:** [March 5, 2020, 3:13pm UTC](https://discourse.julialang.org/t/flux-pytorch-tensorflow/35584 "2020-03-05T15:13:20Z")

</div>

Is it possible to integrate layers of pytorch and tensorflow in Flux models? any example?

---

## [Vegalite.jl: use dots for separation sign](https://discourse.julialang.org/t/vegalite-jl-use-dots-for-separation-sign/35569)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 4\
**Last updated:** [March 5, 2020, 3:07pm UTC](https://discourse.julialang.org/t/vegalite-jl-use-dots-for-separation-sign/35569 "2020-03-05T15:07:36Z")

</div>

Is there a setting to use . instead of , for digit separation in the resulting plot itself? (E.g., 1.000 instead of 1,000 for a thousand.) Alternatively, is there a setting to use a space character?

---

## [Error in importing LDL.jl](https://discourse.julialang.org/t/error-in-importing-ldl-jl/35563)

<div class="topic-metadata">

**Author:** [@Darione](https://discourse.julialang.org/u/Darione)\
**Replies:** 5\
**Last updated:** [March 5, 2020, 2:57pm UTC](https://discourse.julialang.org/t/error-in-importing-ldl-jl/35563 "2020-03-05T14:57:41Z")

</div>

I was trying to store my arry to a file, and i have found in web the JLD package to to that. But in adding/importing it, i get this errors. What i can try to solve? type or paste code herejulia\> Pkg.add("JLD") Resolvi…

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

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