# Latest

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

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

**Page:** 1923

---

## [Jlwrap in PyJulia](https://discourse.julialang.org/t/jlwrap-in-pyjulia/28631)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 3\
**Last updated:** [September 11, 2019, 7:11pm UTC](https://discourse.julialang.org/t/jlwrap-in-pyjulia/28631 "2019-09-11T19:11:40Z")

</div>

Hi there, I have successfully installed PyJulia on Mac, and it seems to work smoothly. I wrote a data reader in Julia, and it can be correctly called from Python. The REPL in Python showed \<PyCall.jlwrap Main.VisAna.Da…

---

## [Speeding Up a Backward Induction Code](https://discourse.julialang.org/t/speeding-up-a-backward-induction-code/27762)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 30\
**Last updated:** [September 11, 2019, 5:56pm UTC](https://discourse.julialang.org/t/speeding-up-a-backward-induction-code/27762 "2019-09-11T17:56:41Z")

</div>

Hi all! I am solving a model and after Profiling the code I realized that the function myfun2 is the big bottleneck of my code. I created a MWE that preserves the computational cost of doing this function and I wanted to…

---

## [Where can I find the most widely adopted implementation of Legendre polynomials?](https://discourse.julialang.org/t/where-can-i-find-the-most-widely-adopted-implementation-of-legendre-polynomials/4183)

<div class="topic-metadata">

**Author:** [@krcools](https://discourse.julialang.org/u/krcools)\
**Replies:** 17\
**Last updated:** [September 11, 2019, 4:59pm UTC](https://discourse.julialang.org/t/where-can-i-find-the-most-widely-adopted-implementation-of-legendre-polynomials/4183 "2019-09-11T16:59:33Z")

</div>

Apart from an implementation hidden somewhere in Jacobi, I could not find where this special, but quite common, function was implemented. Am I missing the obvious location? Maybe it belongs in SpecialFunctions?

---

## [Customized printing for Struct within Expr](https://discourse.julialang.org/t/customized-printing-for-struct-within-expr/28651)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 5\
**Last updated:** [September 11, 2019, 4:17pm UTC](https://discourse.julialang.org/t/customized-printing-for-struct-within-expr/28651 "2019-09-11T16:17:24Z")

</div>

For Grassmann.jl, I would like to customize the printing similar to the Complex numbers. Consider: julia\> using Grassmann julia\> @basis tangent(ℝ^2,2,2) # 2D Grade, 2nd Order, 2 Variables (⟨++₁₂⟩, v, v₁, v₂, ∂₁, ∂₂, v₁…

---

## [A utopia for democratically funded projects](https://discourse.julialang.org/t/a-utopia-for-democratically-funded-projects/28516)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 15\
**Last updated:** [September 11, 2019, 3:59pm UTC](https://discourse.julialang.org/t/a-utopia-for-democratically-funded-projects/28516 "2019-09-11T15:59:16Z")

</div>

Hello, everyone! I am posting here a pitch for an idea on how to use existing activism to fund projects with a larger scale and a greater impact. Since julia is a real open-source utopia I believe you could give a good …

---

## [JuliaPro REPL very sluggish](https://discourse.julialang.org/t/juliapro-repl-very-sluggish/28623)

<div class="topic-metadata">

**Author:** [@jared-aava](https://discourse.julialang.org/u/jared-aava)\
**Replies:** 6\
**Last updated:** [September 11, 2019, 3:47pm UTC](https://discourse.julialang.org/t/juliapro-repl-very-sluggish/28623 "2019-09-11T15:47:53Z")

</div>

I am a newbie so may be doing something stupid, but here is what I’m experiencing. I just installed JuliaPro 1.2.0-1: After I start JuliaPro, I hit “enter key” in the REPL window and it takes 36 seconds to get a juli…

---

## [Corrplot fails](https://discourse.julialang.org/t/corrplot-fails/28639)

<div class="topic-metadata">

**Author:** [@moesphere](https://discourse.julialang.org/u/moesphere)\
**Replies:** 2\
**Last updated:** [September 11, 2019, 1:25pm UTC](https://discourse.julialang.org/t/corrplot-fails/28639 "2019-09-11T13:25:56Z")

</div>

I am trying to plot data with corrplot(). It works for certain data, but fails for other data, i.e. no error is thrown but the plotting does not finish either. See the following minimal example: using StatsPlots A = \[3.…

---

## [Warning: Terminal not fully functional](https://discourse.julialang.org/t/warning-terminal-not-fully-functional/28579)

<div class="topic-metadata">

**Author:** [@scone](https://discourse.julialang.org/u/scone)\
**Replies:** 7\
**Last updated:** [September 11, 2019, 9:37am UTC](https://discourse.julialang.org/t/warning-terminal-not-fully-functional/28579 "2019-09-11T09:37:47Z")

</div>

Hi everyone, I am new to the Discourse and hopefully posted this correctly. I have been dealing with this warning on and off for years while using Juno: ┌ Warning: Terminal not fully functional └ @ Base client.jl:353 …

---

## [How to mark specific points in a contour plot using plots.jl?](https://discourse.julialang.org/t/how-to-mark-specific-points-in-a-contour-plot-using-plots-jl/28616)

<div class="topic-metadata">

**Author:** [@tiago](https://discourse.julialang.org/u/tiago)\
**Replies:** 2\
**Last updated:** [September 11, 2019, 7:51am UTC](https://discourse.julialang.org/t/how-to-mark-specific-points-in-a-contour-plot-using-plots-jl/28616 "2019-09-11T07:51:29Z")

</div>

Hello, As the title of the post says, I want to mark specific points in a contour plot in a similar way that we do in a normal plot, like in the picture below The code that generated the plot: plot(x,xV,title="Solut…

---

## [How to set “sslVerify = false” for using Pkg?](https://discourse.julialang.org/t/how-to-set-sslverify-false-for-using-pkg/28637)

<div class="topic-metadata">

**Author:** [@sschoi](https://discourse.julialang.org/u/sschoi)\
**Replies:** 0\
**Last updated:** [September 11, 2019, 5:50am UTC](https://discourse.julialang.org/t/how-to-set-sslverify-false-for-using-pkg/28637 "2019-09-11T05:50:58Z")

</div>

In the command line, “git clone” works with “sslVerify = false” set in “.gitconfig”. How can I have the setting “sslVerify = false” in Pkg? Is there any environmental variable for this? (For proxy as an example, I set H…

---

## [Tracking memory usage in unit tests (a lot worse in Julia 0.7 than 0.6)](https://discourse.julialang.org/t/tracking-memory-usage-in-unit-tests-a-lot-worse-in-julia-0-7-than-0-6/14444)

<div class="topic-metadata">

**Author:** [@bennedich](https://discourse.julialang.org/u/bennedich)\
**Replies:** 28\
**Last updated:** [September 11, 2019, 5:31am UTC](https://discourse.julialang.org/t/tracking-memory-usage-in-unit-tests-a-lot-worse-in-julia-0-7-than-0-6/14444 "2019-09-11T05:31:03Z")

</div>

Upgrading our package from Julia 0.6 to 0.7, we’ve noticed that unit tests use a lot more memory. Trivial tests that should in theory allocate a few KB can now allocate hundreds of MB. A minimal example: function test()…

---

## [Cxx.jl is the coolest thing ever!](https://discourse.julialang.org/t/cxx-jl-is-the-coolest-thing-ever/28627)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 2\
**Last updated:** [September 11, 2019, 4:38am UTC](https://discourse.julialang.org/t/cxx-jl-is-the-coolest-thing-ever/28627 "2019-09-11T04:38:23Z")

</div>

I didn’t find a Place\_to\_Praise\_Julia category, so I’ll post here. I had a situation today in which an algorithm was supplied in the form of C snippets, and having a vague memory that one could compile C++ functions fro…

---

## [Index Image with BitArray](https://discourse.julialang.org/t/index-image-with-bitarray/28625)

<div class="topic-metadata">

**Author:** [@rand5](https://discourse.julialang.org/u/rand5)\
**Replies:** 2\
**Last updated:** [September 10, 2019, 10:04pm UTC](https://discourse.julialang.org/t/index-image-with-bitarray/28625 "2019-09-10T22:04:18Z")

</div>

Is it no longer possible to index an image with a BitArray? I see the following example on the Images.jl doc page https://github.com/JuliaImages/ImageView.jl: using ImageView, TestImages, Colors # Prepare the data mri…

---

## [\[Windows Server 2016\] GitError ECERTIFICATE using Pkg (git worked in cmd)](https://discourse.julialang.org/t/windows-server-2016-giterror-ecertificate-using-pkg-git-worked-in-cmd/28598)

<div class="topic-metadata">

**Author:** [@sschoi](https://discourse.julialang.org/u/sschoi)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 9:15pm UTC](https://discourse.julialang.org/t/windows-server-2016-giterror-ecertificate-using-pkg-git-worked-in-cmd/28598 "2019-09-10T21:15:23Z")

</div>

I would like to ask about GitError in Windows Server 2016. While “git clone” worked in cmd, I am experiencing GitError ECERTIFICATE using Pkg. (MS easyfix51044 cannot be applied to Windows Server 2016) How can I manage …

---

## [Threaded for loop over arbitrary indexable objects](https://discourse.julialang.org/t/threaded-for-loop-over-arbitrary-indexable-objects/26957)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 16\
**Last updated:** [September 10, 2019, 7:28pm UTC](https://discourse.julialang.org/t/threaded-for-loop-over-arbitrary-indexable-objects/26957 "2019-09-10T19:28:56Z")

</div>

Currently the following code fails: julia\> Threads.@threads for c in "ssf" end Error thrown in threaded loop on thread 0: MethodError(f=typeof(Base.unsafe\_getindex)(), args=("ssf", 1), world=0x000000000000643a) …

---

## [Research Fellowship in Astronomy at St Andrews](https://discourse.julialang.org/t/research-fellowship-in-astronomy-at-st-andrews/28621)

<div class="topic-metadata">

**Author:** [@giordano](https://discourse.julialang.org/u/giordano)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 6:28pm UTC](https://discourse.julialang.org/t/research-fellowship-in-astronomy-at-st-andrews/28621 "2019-09-10T18:28:00Z")

</div>

There is a short Research Fellowship in Astronomy at St Andrews: Research Fellow - AR2248HM. Note that the deadline is on 12th September.

---

## [How to implement interactive plots in IJulia](https://discourse.julialang.org/t/how-to-implement-interactive-plots-in-ijulia/9284)

<div class="topic-metadata">

**Author:** [@mbaz](https://discourse.julialang.org/u/mbaz)\
**Replies:** 11\
**Last updated:** [September 10, 2019, 6:04pm UTC](https://discourse.julialang.org/t/how-to-implement-interactive-plots-in-ijulia/9284 "2019-09-10T18:04:07Z")

</div>

I am trying to get interactive plots with Gaston in IJulia notebooks. I am almost there, but there is one final piece of the puzzle that I can’t quite figure out. I have this code in a notebook: using Gaston, Reactive, …

---

## [Funcção Input()](https://discourse.julialang.org/t/funccao-input/28617)

<div class="topic-metadata">

**Author:** [@romeritomorais](https://discourse.julialang.org/u/romeritomorais)\
**Replies:** 1\
**Last updated:** [September 10, 2019, 5:54pm UTC](https://discourse.julialang.org/t/funccao-input/28617 "2019-09-10T17:54:04Z")

</div>

no python uso “input()” para atribuir o valor a uma variavel, no Julia qual o comando similar??

---

## [Weird scoping issue/misunderstanding in JuMP.jl](https://discourse.julialang.org/t/weird-scoping-issue-misunderstanding-in-jump-jl/28604)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 11\
**Last updated:** [September 10, 2019, 5:05pm UTC](https://discourse.julialang.org/t/weird-scoping-issue-misunderstanding-in-jump-jl/28604 "2019-09-10T17:05:16Z")

</div>

I spent the last few hours hunting a bug and boiled it down to a behaviour which I do not understand at all. Here is an MWE which basically reflects the core of the issue I had with my package: using JuMP using Ipopt f…

---

## [How to get the total memory of a module](https://discourse.julialang.org/t/how-to-get-the-total-memory-of-a-module/28614)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 4:35pm UTC](https://discourse.julialang.org/t/how-to-get-the-total-memory-of-a-module/28614 "2019-09-10T16:35:49Z")

</div>

I have a module that I’ve developed (it’s a simulation for a scientific experiment). The module basically looks like this: module thvaccine using Distributions using Parameters using Random using DataFrames using Dist…

---

## [Get list of pdf files](https://discourse.julialang.org/t/get-list-of-pdf-files/28533)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 18\
**Last updated:** [September 10, 2019, 4:22pm UTC](https://discourse.julialang.org/t/get-list-of-pdf-files/28533 "2019-09-10T16:22:08Z")

</div>

Trying to get an array of the names of all the pdf files in the current directory, so I wrote the below: files = cd(readdir, pwd()) for f in files if match(r"\*.\\.pdf", f) !== nothing # Or if occursin(r"\*.\\.pdf", f) …

---

## [A nonblocking \`pmap\`](https://discourse.julialang.org/t/a-nonblocking-pmap/28613)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 4:21pm UTC](https://discourse.julialang.org/t/a-nonblocking-pmap/28613 "2019-09-10T16:21:26Z")

</div>

I am trying to run simulations in parallel but also have an updates on the simulation on the main thread. I basically have the following code: function calibration() numofsims = 10 siminfo = RemoteChannel(()-\>Ch…

---

## [Other Atom packages for Julia? Uber Juno, Julia IDE, Jude](https://discourse.julialang.org/t/other-atom-packages-for-julia-uber-juno-julia-ide-jude/18109)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 2:52pm UTC](https://discourse.julialang.org/t/other-atom-packages-for-julia-uber-juno-julia-ide-jude/18109 "2019-09-10T14:52:31Z")

</div>

I’ve been using VS Code for several weeks but today I wanted to try Atom again and found it has several packages for Julia. Uber-juno: Install de Juno IDE. Julia client: Julia Evaluation. Language-julia: Julia languag…

---

## [GLM: "no method matching fit"](https://discourse.julialang.org/t/glm-no-method-matching-fit/28603)

<div class="topic-metadata">

**Author:** [@felluksch](https://discourse.julialang.org/u/felluksch)\
**Replies:** 9\
**Last updated:** [September 10, 2019, 2:44pm UTC](https://discourse.julialang.org/t/glm-no-method-matching-fit/28603 "2019-09-10T14:44:20Z")

</div>

Hey, maybe a dumb question but I get the following error trying to run a linear model using the GLM package via StatsKit 0.3.0 MethodError: no method matching fit(::Type{LinearModel}, ::Array{Float64,2}, ::Array{Float…

---

## [Passing an array to a function for use as dims in Array{}](https://discourse.julialang.org/t/passing-an-array-to-a-function-for-use-as-dims-in-array/28601)

<div class="topic-metadata">

**Author:** [@David\_Mc](https://discourse.julialang.org/u/David_Mc)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 2:10pm UTC](https://discourse.julialang.org/t/passing-an-array-to-a-function-for-use-as-dims-in-array/28601 "2019-09-10T14:10:27Z")

</div>

Starting a new session solved the issue TIL: If it really seems like it should work, give it a try in a new session. Original post: In: https://discourse.julialang.org/t/read-binary-data-of-arbitrary-dims-and-type/2…

---

## [Testing jupyter notebooks CI](https://discourse.julialang.org/t/testing-jupyter-notebooks-ci/28599)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 1:33pm UTC](https://discourse.julialang.org/t/testing-jupyter-notebooks-ci/28599 "2019-09-10T13:33:08Z")

</div>

Are there any recommendations/tools to test jupyter notebooks on travis CI? I plan to use a Project.toml to declare all dependencies and then to use the exit code of the command: jupyter-nbconvert --to notebook --exe…

---

## [ANN: julia-repl 1.2.0](https://discourse.julialang.org/t/ann-julia-repl-1-2-0/28602)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 0\
**Last updated:** [September 10, 2019, 1:12pm UTC](https://discourse.julialang.org/t/ann-julia-repl-1-2-0/28602 "2019-09-10T13:12:51Z")

</div>

I just tagged version 1.2.0 of This version includes the following changes: C-c C-t will include buffer with Revise.includet (@wraith1995 on Github, don’t know Discourse user name) setting julia-repl-save-buffer…

---

## [How to quickly bulk insert into postgres](https://discourse.julialang.org/t/how-to-quickly-bulk-insert-into-postgres/15194)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 14\
**Last updated:** [September 10, 2019, 1:03pm UTC](https://discourse.julialang.org/t/how-to-quickly-bulk-insert-into-postgres/15194 "2019-09-10T13:03:48Z")

</div>

This is sort of a shot in the dark, I don’t have any reason to believe there’s a better solution to this but I thought I’d give it a try. I’m trying to insert data into tables on a postgres database. I’m using the exce…

---

## [Check Unicode character class](https://discourse.julialang.org/t/check-unicode-character-class/28475)

<div class="topic-metadata">

**Author:** [@Deuxis](https://discourse.julialang.org/u/Deuxis)\
**Replies:** 5\
**Last updated:** [September 10, 2019, 11:39am UTC](https://discourse.julialang.org/t/check-unicode-character-class/28475 "2019-09-10T11:39:01Z")

</div>

Hello, how can I check a Char’s Unicode character class? I need it for a lexer for a unicode-enabled language: I tracked down that Char’s show method uses Unicode.category\_abbrev, but trying to import that function gi…

---

## [Federated Learning in Julia](https://discourse.julialang.org/t/federated-learning-in-julia/28535)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 8\
**Last updated:** [September 10, 2019, 11:37am UTC](https://discourse.julialang.org/t/federated-learning-in-julia/28535 "2019-09-10T11:37:36Z")

</div>

Is anyone working with federated learning in Julia? Asking for a friend.

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

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