# Latest

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

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

**Page:** 1740

---

## [Writing complex-entried vectors to text files](https://discourse.julialang.org/t/writing-complex-entried-vectors-to-text-files/39890)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 1:31pm UTC](https://discourse.julialang.org/t/writing-complex-entried-vectors-to-text-files/39890 "2020-05-23T13:31:01Z")

</div>

How do I write a vector with Complex{Float64} type entries into a text file so that I may read it later ? writedlm() does not seem to work : t = rand(Complex{Float64}, 3); writedlm("t.txt", t, ""); t2 = readdlm("t.txt…

---

## [Pass local module to a function?](https://discourse.julialang.org/t/pass-local-module-to-a-function/40021)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 2:01pm UTC](https://discourse.julialang.org/t/pass-local-module-to-a-function/40021 "2020-05-23T14:01:47Z")

</div>

I’m trying to create a minimal working example of a Documenter error I’m experiencing. However I’m having trouble passing the “local” module to the doctest function, This is what I’m trying: using Documenter module Fo…

---

## [Could packages be partially pre-compiled, if they follow certain constraints?](https://discourse.julialang.org/t/could-packages-be-partially-pre-compiled-if-they-follow-certain-constraints/39988)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 3\
**Last updated:** [May 23, 2020, 1:45pm UTC](https://discourse.julialang.org/t/could-packages-be-partially-pre-compiled-if-they-follow-certain-constraints/39988 "2020-05-23T13:45:49Z")

</div>

I’m working on Makie.jl / MakieLayout.jl so I think a lot about compilation latency. I found the recent discussions about method invalidations quite interesting, as they point to an avenue for package developers to reduc…

---

## [Implement Hessenberg factorization](https://discourse.julialang.org/t/implement-hessenberg-factorization/40006)

<div class="topic-metadata">

**Author:** [@A.U.M](https://discourse.julialang.org/u/A.U.M)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 1:44pm UTC](https://discourse.julialang.org/t/implement-hessenberg-factorization/40006 "2020-05-23T13:44:59Z")

</div>

I am trying to Implement Hessenberg factorization in the following code. function GivensRotation(a::Float64, b::Float64) # Calculate the Given's rotation that rotates \[a;b\] to \[r;0\]: c = 0.; s = 0.; r = 0. if ( b ==…

---

## [SQLite and locking](https://discourse.julialang.org/t/sqlite-and-locking/40018)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 0\
**Last updated:** [May 23, 2020, 1:01pm UTC](https://discourse.julialang.org/t/sqlite-and-locking/40018 "2020-05-23T13:01:10Z")

</div>

I had a couple of processes working (intermittently) on the same SQLite file, and got a lock exception – and I couldn’t find any obvious way of handling that, other than using the low-level API or a loop with try/catch. …

---

## [Remote Julia Process in Juno](https://discourse.julialang.org/t/remote-julia-process-in-juno/23230)

<div class="topic-metadata">

**Author:** [@clinton](https://discourse.julialang.org/u/clinton)\
**Replies:** 11\
**Last updated:** [May 23, 2020, 9:49am UTC](https://discourse.julialang.org/t/remote-julia-process-in-juno/23230 "2020-05-23T09:49:41Z")

</div>

I am trying to set up a remote Julia process in Juno, so I can use a powerful research server instead of a cruddy laptop. First, I tried to follow the FAQ for Juno. I opened a terminal, SSHed into the server, launched J…

---

## [Trying to install CauseMap, error...HELP](https://discourse.julialang.org/t/trying-to-install-causemap-error-help/39736)

<div class="topic-metadata">

**Author:** [@rklee1](https://discourse.julialang.org/u/rklee1)\
**Replies:** 6\
**Last updated:** [May 23, 2020, 5:55am UTC](https://discourse.julialang.org/t/trying-to-install-causemap-error-help/39736 "2020-05-23T05:55:02Z")

</div>

Whenever I try to install CauseMap, I get this message: julia\> using Pkg julia\> Pkg.add(“CauseMap”) Updating registry at ~/.julia/registries/General Updating git-repo https://github.com/JuliaRegistries/General.git E…

---

## [Help with JuMP model formulation](https://discourse.julialang.org/t/help-with-jump-model-formulation/40002)

<div class="topic-metadata">

**Author:** [@Vondoe79](https://discourse.julialang.org/u/Vondoe79)\
**Replies:** 4\
**Last updated:** [May 23, 2020, 4:34am UTC](https://discourse.julialang.org/t/help-with-jump-model-formulation/40002 "2020-05-23T04:34:15Z")

</div>

Hello there, I kindly need help with my code. The following is a piece of my model. The entire model is quite lengthy, so I do not wish to bore you with that. The error (stated immediately below) : julia\> for (key, val…

---

## [Huge thanks to core devs for having such good implimentations of random Linear Algebra functions!hr](https://discourse.julialang.org/t/huge-thanks-to-core-devs-for-having-such-good-implimentations-of-random-linear-algebra-functions-hr/40007)

<div class="topic-metadata">

**Author:** [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Replies:** 0\
**Last updated:** [May 23, 2020, 2:24am UTC](https://discourse.julialang.org/t/huge-thanks-to-core-devs-for-having-such-good-implimentations-of-random-linear-algebra-functions-hr/40007 "2020-05-23T02:24:26Z")

</div>

As an undergrad student studying math and computer science, I have learned a lot of linear algebra. That said, I am quite far from being an expert, and have needed state of the art solutions for some fairly specific prob…

---

## [Large matrix with many updates](https://discourse.julialang.org/t/large-matrix-with-many-updates/39972)

<div class="topic-metadata">

**Author:** [@alperyilmaz](https://discourse.julialang.org/u/alperyilmaz)\
**Replies:** 7\
**Last updated:** [May 23, 2020, 12:11am UTC](https://discourse.julialang.org/t/large-matrix-with-many-updates/39972 "2020-05-23T00:11:20Z")

</div>

Hi, I would like to calculate a count matrix (expected to be 65,000x65,000) and then calculate PMI and then calculate SVD on it. Unfortunately many “large matrix” samples, tutorials start with rand(n,n) where the matri…

---

## [\[ANN\] The TagBot GitHub App is deprecated in favour of the TagBot GitHub Action](https://discourse.julialang.org/t/ann-the-tagbot-github-app-is-deprecated-in-favour-of-the-tagbot-github-action/34344)

<div class="topic-metadata">

**Author:** [@christopher-dG](https://discourse.julialang.org/u/christopher-dG)\
**Replies:** 53\
**Last updated:** [May 22, 2020, 10:13pm UTC](https://discourse.julialang.org/t/ann-the-tagbot-github-app-is-deprecated-in-favour-of-the-tagbot-github-action/34344 "2020-05-22T22:13:52Z")

</div>

TL;DR: Merge PRs that create a file called .github/workflows/TagBot.yml or create it yourself with these contents in all of your Julia package repositories: name: TagBot on: schedule: - cron: 0 \* \* \* \* jobs: Tag…

---

## [Can this be done with an outer constructor?](https://discourse.julialang.org/t/can-this-be-done-with-an-outer-constructor/39955)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 9:59pm UTC](https://discourse.julialang.org/t/can-this-be-done-with-an-outer-constructor/39955 "2020-05-22T21:59:12Z")

</div>

I recently had a desire for this type of convenience constructor: # Some generic wrapper struct AA{T} a::T end # Create a new wrapper of same inner type AA{T}(a...) where T = AA(T(a...)) # Dummy to wrap struct A…

---

## [Build fails with ERROR: Unsatisfiable requirements detected for package FFTW](https://discourse.julialang.org/t/build-fails-with-error-unsatisfiable-requirements-detected-for-package-fftw/39996)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 0\
**Last updated:** [May 22, 2020, 9:17pm UTC](https://discourse.julialang.org/t/build-fails-with-error-unsatisfiable-requirements-detected-for-package-fftw/39996 "2020-05-22T21:17:31Z")

</div>

I know that question has come up before. I’m not sure I fully understand the solutions, however. I just added FFTW and AbstractFFTs as dependencies to a package. I’m getting this (see Travis CI - Test and Deploy with C…

---

## [Debugger.jl: Access object \`%2\`](https://discourse.julialang.org/t/debugger-jl-access-object-2/39959)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 7\
**Last updated:** [May 22, 2020, 8:48pm UTC](https://discourse.julialang.org/t/debugger-jl-access-object-2/39959 "2020-05-22T20:48:30Z")

</div>

I am trying to debug some code using Debug.jl: In \_pullback(ctx, f, args) at /home/gkraemer/.julia/packages/Zygote/YeCEW/src/compiler/interface2.jl:7 1 1 ─ $(Expr(:meta, :inline)) 2 │ %2 = (ZygoteRules.\_p…

---

## [Issue plotting from REPL](https://discourse.julialang.org/t/issue-plotting-from-repl/39784)

<div class="topic-metadata">

**Author:** [@Gaston](https://discourse.julialang.org/u/Gaston)\
**Replies:** 7\
**Last updated:** [May 22, 2020, 8:35pm UTC](https://discourse.julialang.org/t/issue-plotting-from-repl/39784 "2020-05-22T20:35:58Z")

</div>

Hi, I’m facing a problem trying to plot from the REPL (that was working fine but for some reason has decided to stop doing so). If I run this simple code: julia\> using Plots julia\> gr() julia\> x = Vector(1:pi/10:6\*p…

---

## [Getproperty optimization in struct](https://discourse.julialang.org/t/getproperty-optimization-in-struct/39990)

<div class="topic-metadata">

**Author:** [@kirtsar](https://discourse.julialang.org/u/kirtsar)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 8:29pm UTC](https://discourse.julialang.org/t/getproperty-optimization-in-struct/39990 "2020-05-22T20:29:00Z")

</div>

I have the following code (example): struct Foo{N} t :: NTuple{N, Int} end foo = Foo((1,2,3)) Now if I try to get access to t field, I have some unnecessary allocations: using BenchmarkTools @benchmark getpropert…

---

## [How to get Documenter to recognize new release?](https://discourse.julialang.org/t/how-to-get-documenter-to-recognize-new-release/37111)

<div class="topic-metadata">

**Author:** [@traktofon](https://discourse.julialang.org/u/traktofon)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 8:13pm UTC](https://discourse.julialang.org/t/how-to-get-documenter-to-recognize-new-release/37111 "2020-05-22T20:13:28Z")

</div>

After switching the tooling in my (registered) Julia package from pre-1.0 (REQUIRE, attobot) to post-1.0 (Project.toml, Registrator, TagBot action) I’m having trouble getting Documenter to build the docs for the current …

---

## [Optional variable declarations](https://discourse.julialang.org/t/optional-variable-declarations/39951)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kagalenko](https://discourse.julialang.org/u/Mikhail_Kagalenko)\
**Replies:** 41\
**Last updated:** [May 22, 2020, 6:23pm UTC](https://discourse.julialang.org/t/optional-variable-declarations/39951 "2020-05-22T18:23:20Z")

</div>

There’s a discussion on Reddit that has some interesting ideas. It prompted me to ask, whether it might be possible to add the possibility of declaring a variable before use. This might give the following advantages: M…

---

## [Issues setting palette to matlplotlib's "tab10" colors](https://discourse.julialang.org/t/issues-setting-palette-to-matlplotlibs-tab10-colors/38661)

<div class="topic-metadata">

**Author:** [@Rouzaire](https://discourse.julialang.org/u/Rouzaire)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 5:01pm UTC](https://discourse.julialang.org/t/issues-setting-palette-to-matlplotlibs-tab10-colors/38661 "2020-05-22T17:01:08Z")

</div>

Hello, I’ve been trying to plot curves with the colors of matplotlib’s palette :tab10 but I can’t find the solution, even after removing and reinstalling Plots and ColorSchemes. Here are the desired colors : When …

---

## [How do I get Greek letters in Atom/Juno autocomplete? -- SOLVED](https://discourse.julialang.org/t/how-do-i-get-greek-letters-in-atom-juno-autocomplete-solved/39974)

<div class="topic-metadata">

**Author:** [@danielc](https://discourse.julialang.org/u/danielc)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 3:21pm UTC](https://discourse.julialang.org/t/how-do-i-get-greek-letters-in-atom-juno-autocomplete-solved/39974 "2020-05-22T15:21:28Z")

</div>

I’m not sure if this question belongs here or in an Atom forum. For the longest time I’ve been using Atom with most Juno packages and whenever I typed a Greek letter in LaTeX format, like \\beta, the autocomplete tool wou…

---

## [Use and Documentation of -\> and =\>](https://discourse.julialang.org/t/use-and-documentation-of-and/39882)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 7\
**Last updated:** [May 22, 2020, 3:21pm UTC](https://discourse.julialang.org/t/use-and-documentation-of-and/39882 "2020-05-22T15:21:17Z")

</div>

Newbie here. -\> and =\> are not in the punctuation list of the Julia documentation. Can they be added or are they not applicable for some reason? I have gathered that -\> is used to define anonymous functions and =\> is u…

---

## [Help with LU factorization](https://discourse.julialang.org/t/help-with-lu-factorization/39911)

<div class="topic-metadata">

**Author:** [@A.U.M](https://discourse.julialang.org/u/A.U.M)\
**Replies:** 21\
**Last updated:** [May 22, 2020, 2:14pm UTC](https://discourse.julialang.org/t/help-with-lu-factorization/39911 "2020-05-22T14:14:04Z")

</div>

Is that possible to Implement 𝐿𝑈 factorization without row pivoting ? can someone give me an example?

---

## [Query - missing vs. isna](https://discourse.julialang.org/t/query-missing-vs-isna/39952)

<div class="topic-metadata">

**Author:** [@stej](https://discourse.julialang.org/u/stej)\
**Replies:** 7\
**Last updated:** [May 22, 2020, 2:00pm UTC](https://discourse.julialang.org/t/query-missing-vs-isna/39952 "2020-05-22T14:00:24Z")

</div>

Hi all, I have a question about ismissing and isna. I found Query.jl - filtering on missing data so I started using that. I thought that isna is really needed whenever I use Query.jl. But that’s not the case. Example …

---

## [Hidden layers in Flux](https://discourse.julialang.org/t/hidden-layers-in-flux/39910)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 5\
**Last updated:** [May 22, 2020, 1:24pm UTC](https://discourse.julialang.org/t/hidden-layers-in-flux/39910 "2020-05-22T13:24:13Z")

</div>

I’m starting to work with Flux and I want to build a neural network with 5 entries and 6 exits. I have already built a network with no hidden layers, but now I want to add hidden layers. How should I do that? I believe I…

---

## [Julia how to create a dictionary using a loop](https://discourse.julialang.org/t/julia-how-to-create-a-dictionary-using-a-loop/39935)

<div class="topic-metadata">

**Author:** [@Vondoe79](https://discourse.julialang.org/u/Vondoe79)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 1:12pm UTC](https://discourse.julialang.org/t/julia-how-to-create-a-dictionary-using-a-loop/39935 "2020-05-22T13:12:50Z")

</div>

Hi there, I am new to Julia and I need a little help with the abovementioned task. I want to create a list of dictionary with tuples as keys and a real number as values. Below is the piece of code a wrote, but the resul…

---

## [Scientific Machine Learning](https://discourse.julialang.org/t/scientific-machine-learning/39947)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 12:43pm UTC](https://discourse.julialang.org/t/scientific-machine-learning/39947 "2020-05-22T12:43:57Z")

</div>

That sounds a good candidate for Julia

---

## [Juno debugger stops at \`@unpack\` from Parameters](https://discourse.julialang.org/t/juno-debugger-stops-at-unpack-from-parameters/39904)

<div class="topic-metadata">

**Author:** [@human\_bomb](https://discourse.julialang.org/u/human_bomb)\
**Replies:** 7\
**Last updated:** [May 22, 2020, 12:20pm UTC](https://discourse.julialang.org/t/juno-debugger-stops-at-unpack-from-parameters/39904 "2020-05-22T12:20:57Z")

</div>

I am using the Parameters package v0.12.0 by @mauro3 in my numerical simulations. While using the Juno debugger in JuliaPro, I noticed that the debugger stops when reaching a call to Parameters’ @unpack. Below is a MWE: …

---

## [Performance difference in Colab and Jupyter notebook](https://discourse.julialang.org/t/performance-difference-in-colab-and-jupyter-notebook/39931)

<div class="topic-metadata">

**Author:** [@SambitMishra98](https://discourse.julialang.org/u/SambitMishra98)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 12:09pm UTC](https://discourse.julialang.org/t/performance-difference-in-colab-and-jupyter-notebook/39931 "2020-05-22T12:09:21Z")

</div>

I set up Julia in Google Colab using Gordan MacMillan’s Github code. I executed the following few lines to compare the performance of Julia in Google Colab and Jupyter Notebook in Ubuntu 20.04 WSL. using BenchmarkTools …

---

## [ordered set syntax](https://discourse.julialang.org/t/ordered-set-syntax/15902)

<div class="topic-metadata">

**Author:** [@Ryao](https://discourse.julialang.org/u/Ryao)\
**Replies:** 1\
**Last updated:** [May 22, 2020, 11:37am UTC](https://discourse.julialang.org/t/ordered-set-syntax/15902 "2020-05-22T11:37:20Z")

</div>

In AMPL, I can use something like: set Time ordered; s.t. Inv{t in Time: ord(t) \>=2}: Inv\[t\]= Inv\[prev(t)\] + ordered\[prev(t)\] - shipped\[t\]; I know I can use numbered index and use t-1 in this case. But if the elements…

---

## [Julia in IoT and Servers projects](https://discourse.julialang.org/t/julia-in-iot-and-servers-projects/39878)

<div class="topic-metadata">

**Author:** [@sandijs](https://discourse.julialang.org/u/sandijs)\
**Replies:** 7\
**Last updated:** [May 22, 2020, 11:16am UTC](https://discourse.julialang.org/t/julia-in-iot-and-servers-projects/39878 "2020-05-22T11:16:17Z")

</div>

What needs to be done to make Julia become one of the mainstream programming languages in which to develop servers and IoT devices programs? A thought experiment about how IoT and Servers programs development happens wh…

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

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