# Latest

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

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

**Page:** 1729

---

## [PyJulia Custom Package](https://discourse.julialang.org/t/pyjulia-custom-package/40697)

<div class="topic-metadata">

**Author:** [@Lucas\_Liu](https://discourse.julialang.org/u/Lucas_Liu)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 7:39pm UTC](https://discourse.julialang.org/t/pyjulia-custom-package/40697 "2020-06-04T19:39:31Z")

</div>

Hi I am new to PyJulia. Is it possible to add custom package in a custom system image for Pyjulia?

---

## [ANN: jlrs 0.5.0](https://discourse.julialang.org/t/ann-jlrs-0-5-0/40756)

<div class="topic-metadata">

**Author:** [@Taaitaaiger](https://discourse.julialang.org/u/Taaitaaiger)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 7:08pm UTC](https://discourse.julialang.org/t/ann-jlrs-0-5-0/40756 "2020-06-04T19:08:24Z")

</div>

A few months ago I released the first version of jlrs, a crate (library) for the Rust programming language that provides bindings to he Julia C API. I’ve continued working on it and recently version 0.5 has been released…

---

## [Juno, how to go to the definition of a dependency package](https://discourse.julialang.org/t/juno-how-to-go-to-the-definition-of-a-dependency-package/40677)

<div class="topic-metadata">

**Author:** [@shukob](https://discourse.julialang.org/u/shukob)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 7:06pm UTC](https://discourse.julialang.org/t/juno-how-to-go-to-the-definition-of-a-dependency-package/40677 "2020-06-04T19:06:25Z")

</div>

Hi, I would like to dive into the source of the dependency package by \[Go to definition\] of Juno while coding and debugging, which currently seems not working on my environment. Is it possible to do this in Juno? Than…

---

## [Filtering a DataFrame column using Regex](https://discourse.julialang.org/t/filtering-a-dataframe-column-using-regex/40753)

<div class="topic-metadata">

**Author:** [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 6:43pm UTC](https://discourse.julialang.org/t/filtering-a-dataframe-column-using-regex/40753 "2020-06-04T18:43:18Z")

</div>

I have a DataFrame that has this general structure using DataFrames df = DataFrame(Sites = \["N-1", "N-1", "A", "B", "N-2"\], Other = \[randn(5)\]) How can I filter out the rows that are named “N-” on the column :Sites? I…

---

## [10x slowdown when passing function as argument](https://discourse.julialang.org/t/10x-slowdown-when-passing-function-as-argument/40382)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 15\
**Last updated:** [June 4, 2020, 6:04pm UTC](https://discourse.julialang.org/t/10x-slowdown-when-passing-function-as-argument/40382 "2020-06-04T18:04:41Z")

</div>

I’m trying to understand why passing a function as an argument is sometimes 10x slower than inheriting it via closure. Here’s a contrived MWE: function outer1(f) out = zeros(1000) for i = 1:1000 function…

---

## [ODE solver takes long time](https://discourse.julialang.org/t/ode-solver-takes-long-time/40741)

<div class="topic-metadata">

**Author:** [@AhmedAlreweny](https://discourse.julialang.org/u/AhmedAlreweny)\
**Replies:** 4\
**Last updated:** [June 4, 2020, 5:52pm UTC](https://discourse.julialang.org/t/ode-solver-takes-long-time/40741 "2020-06-04T17:52:05Z")

</div>

I have an ODE that I am trying to solve as follows: L = 39 c = 0.0 Δx = 0.2 Δt = 0.1 Tspan = 100 t\_vec = 0:Δt:Tspan x\_vec = 0:Δx:L N = length(x\_vec) p = c …

---

## [Structured display for Julia objects](https://discourse.julialang.org/t/structured-display-for-julia-objects/40700)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 5:48pm UTC](https://discourse.julialang.org/t/structured-display-for-julia-objects/40700 "2020-06-04T17:48:37Z")

</div>

I find the structured display for arbitrary objects in Juno very convenient: Is there anything similar available for VS Code plugin, Jupyter notebooks or any other Julia IDE? I know about Base.dump, but I prefer a GU…

---

## [EnsembleProblem and plotly](https://discourse.julialang.org/t/ensembleproblem-and-plotly/40742)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 5:28pm UTC](https://discourse.julialang.org/t/ensembleproblem-and-plotly/40742 "2020-06-04T17:28:23Z")

</div>

One problem solve, next problem. I am learning to use EnsembleProblem together with Jump Processes. The code: jprob, prob = setupSystem(dgr) @time sol = solve(jprob, SSAStepper(), saveat=0.25) ensemble\_prob = Ensemble…

---

## [Bespoke IDE for Julia desperately needed!](https://discourse.julialang.org/t/bespoke-ide-for-julia-desperately-needed/39251)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 126\
**Last updated:** [June 4, 2020, 5:26pm UTC](https://discourse.julialang.org/t/bespoke-ide-for-julia-desperately-needed/39251 "2020-06-04T17:26:29Z")

</div>

I continue to search for handy, stable IDEs for Julia. I could not get JupyterLab to work properly with Julia on Mac or Linux (endless issues and bugs, all known and documented but still there) and the recent attempt …

---

## [Dispatch on DataFrame columns](https://discourse.julialang.org/t/dispatch-on-dataframe-columns/40689)

<div class="topic-metadata">

**Author:** [@lungben](https://discourse.julialang.org/u/lungben)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 5:26pm UTC](https://discourse.julialang.org/t/dispatch-on-dataframe-columns/40689 "2020-06-04T17:26:23Z")

</div>

Hi, I have a function on a DataFrame which should behave differently depending on the names / eltypes of the DataFrame columns. Is this possible using a multiple-dispatch like pattern? Example: using DataFrames functi…

---

## [Conditional iterator?](https://discourse.julialang.org/t/conditional-iterator/40735)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 5\
**Last updated:** [June 4, 2020, 5:26pm UTC](https://discourse.julialang.org/t/conditional-iterator/40735 "2020-06-04T17:26:12Z")

</div>

Is it possible to write something like this: for (key, val) in dict if val != b # do something end This would do the job for (key, val) in dict if val == b continue end # do something end and this too …

---

## [Changing precedence of the piping operator](https://discourse.julialang.org/t/changing-precedence-of-the-piping-operator/40730)

<div class="topic-metadata">

**Author:** [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Replies:** 4\
**Last updated:** [June 4, 2020, 3:00pm UTC](https://discourse.julialang.org/t/changing-precedence-of-the-piping-operator/40730 "2020-06-04T15:00:44Z")

</div>

In most uses of functional-style piping I’ve seen in Julia, it seems that a lot of people don’t realize that |\> has precedence over -\>. So data |\> x -\> f(x) |\> g parses to data |\> x -\> g(f(x)) rather than …

---

## [Supercomputing Frontiers - and Alan Edelman's dog](https://discourse.julialang.org/t/supercomputing-frontiers-and-alan-edelmans-dog/40736)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 2:55pm UTC](https://discourse.julialang.org/t/supercomputing-frontiers-and-alan-edelmans-dog/40736 "2020-06-04T14:55:03Z")

</div>

Alan Edelman is presenting to Supercomputing Frontiers right now. What an excellent talk, thankyou. If I remember I will post a link to the recorded talk. We also just met Alan’s dog (in the background barking at the d…

---

## [Using ANTIGONE from Julia](https://discourse.julialang.org/t/using-antigone-from-julia/10917)

<div class="topic-metadata">

**Author:** [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 2:10pm UTC](https://discourse.julialang.org/t/using-antigone-from-julia/10917 "2020-06-04T14:10:29Z")

</div>

I’ve been investigating the various options for (globally optimal) MINLP in Julia, and ANTIGONE looks like a nice option. I’m curious if anyone has any experience using it from Julia. At first glance, it looks like this…

---

## [Unitful abstract types as arguments to function](https://discourse.julialang.org/t/unitful-abstract-types-as-arguments-to-function/40727)

<div class="topic-metadata">

**Author:** [@snowgum](https://discourse.julialang.org/u/snowgum)\
**Replies:** 3\
**Last updated:** [June 4, 2020, 2:00pm UTC](https://discourse.julialang.org/t/unitful-abstract-types-as-arguments-to-function/40727 "2020-06-04T14:00:23Z")

</div>

I would like to write a function that takes as argument an array of a Unitful.Quantity. Ideally with a type derived from a an abstract type such as AbstractFloat, dimensions to be defined, and any units. Something like t…

---

## [PATHSolver.jl error using map](https://discourse.julialang.org/t/pathsolver-jl-error-using-map/40724)

<div class="topic-metadata">

**Author:** [@juliauser](https://discourse.julialang.org/u/juliauser)\
**Replies:** 3\
**Last updated:** [June 4, 2020, 1:36pm UTC](https://discourse.julialang.org/t/pathsolver-jl-error-using-map/40724 "2020-06-04T13:36:08Z")

</div>

I am using PATHSolver to solve linear complementarity problems. I have no problem when using it “normally”, but I get this error when I use parallel computing, as below. What seems to be problematic is the presence of t…

---

## [Channel is closed error when trying to put! objects in LibCURL write callback](https://discourse.julialang.org/t/channel-is-closed-error-when-trying-to-put-objects-in-libcurl-write-callback/40705)

<div class="topic-metadata">

**Author:** [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 1:20pm UTC](https://discourse.julialang.org/t/channel-is-closed-error-when-trying-to-put-objects-in-libcurl-write-callback/40705 "2020-06-04T13:20:23Z")

</div>

Solved by wrapping curl\_easy\_perform in @async Julia version: 1.0.5 LibCURL: \[b27032c2\] LibCURL v0.5.2 julia\> unsafe\_string(LibCURL.curl\_version()) "libcurl/7.64.1 mbedTLS/2.6.1 zlib/1.2.11" When I use a write callba…

---

## [Anyone Willing To Talk About Julia To A Meetup?](https://discourse.julialang.org/t/anyone-willing-to-talk-about-julia-to-a-meetup/39705)

<div class="topic-metadata">

**Author:** [@Onor.io](https://discourse.julialang.org/u/Onor.io)\
**Replies:** 17\
**Last updated:** [June 4, 2020, 1:04pm UTC](https://discourse.julialang.org/t/anyone-willing-to-talk-about-julia-to-a-meetup/39705 "2020-06-04T13:04:03Z")

</div>

Hi all, I’m one of the co-organizers of the Detroit Tech Watch conference. We also do a monthly meetup and we’d love to have someone join us to give some an introduction to Julia. We’re looking for a May speaker (last…

---

## [Why upper bounds in Project.toml?](https://discourse.julialang.org/t/why-upper-bounds-in-project-toml/40725)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 12:55pm UTC](https://discourse.julialang.org/t/why-upper-bounds-in-project-toml/40725 "2020-06-04T12:55:03Z")

</div>

I have not clear the meaning of mandate an upper bound for dependent packages in Project.toml. I normally require the functionality of a package, I know this functionality in package X has been added at version Y.Y.Y, s…

---

## [Precompilation](https://discourse.julialang.org/t/precompilation/40723)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 12:31pm UTC](https://discourse.julialang.org/t/precompilation/40723 "2020-06-04T12:31:25Z")

</div>

I am using Atom with Julia v1.4; I keep my libraries precompiled at the beginning of the day and did some great work yesterday. This morning, after leaving Atom open overnight, I find that everything must be recompiled. …

---

## [@\_\_LINE\_\_ etc in another macro](https://discourse.julialang.org/t/line-etc-in-another-macro/40716)

<div class="topic-metadata">

**Author:** [@barfo](https://discourse.julialang.org/u/barfo)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 10:47am UTC](https://discourse.julialang.org/t/line-etc-in-another-macro/40716 "2020-06-04T10:47:28Z")

</div>

How do I do this … verbosity\_tags = \[....\] macro noise(tag, args...) return :( if $tag in verbosity\_tags; println("$(basename(@\_\_FILE\_\_)): $(@\_\_LINE\_\_): ", $(esc.(args)...)); end ) end in such a way that @FILE & @L…

---

## [Efficient merging of large dictionaries](https://discourse.julialang.org/t/efficient-merging-of-large-dictionaries/40687)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 4\
**Last updated:** [June 4, 2020, 10:39am UTC](https://discourse.julialang.org/t/efficient-merging-of-large-dictionaries/40687 "2020-06-04T10:39:03Z")

</div>

Hi, I have few (tens, max. hundreds) Dict{String, Int} dictionaries which I want to merge together using merge(+, dicts…). The dictionaries are fairly large (up to 100k keys), and have lots of common keys. It’s working…

---

## [Coverage test is extremely slow on multiple threads](https://discourse.julialang.org/t/coverage-test-is-extremely-slow-on-multiple-threads/40682)

<div class="topic-metadata">

**Author:** [@erik-f](https://discourse.julialang.org/u/erik-f)\
**Replies:** 6\
**Last updated:** [June 4, 2020, 9:36am UTC](https://discourse.julialang.org/t/coverage-test-is-extremely-slow-on-multiple-threads/40682 "2020-06-04T09:36:43Z")

</div>

Running Pkg.test("MyModule", coverage=true) on more than one thread is extremely slow. I measured the time on my machine using 1, 2, 8 and 16 threads: 1 thread: 339 seconds 2 threads: 3106 seconds 8 threads: 6401 sec…

---

## [Mute output from display](https://discourse.julialang.org/t/mute-output-from-display/40714)

<div class="topic-metadata">

**Author:** [@MrUrq](https://discourse.julialang.org/u/MrUrq)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 9:35am UTC](https://discourse.julialang.org/t/mute-output-from-display/40714 "2020-06-04T09:35:52Z")

</div>

Hi everyone! I have a slow script which plots progress over time where I want to mute the plot-related text output from Atom. As a MWE julia\> for i = 1:3 #slow code here println(i) dis…

---

## [ANN: Juno 0.12.5](https://discourse.julialang.org/t/ann-juno-0-12-5/39744)

<div class="topic-metadata">

**Author:** [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Replies:** 16\
**Last updated:** [June 4, 2020, 9:08am UTC](https://discourse.julialang.org/t/ann-juno-0-12-5/39744 "2020-06-04T09:08:32Z")

</div>

Hey everyone, Juno 0.12.5 is out! We have a bunch of improvements and a couple of bugfixes for you. Also, fuzzy autocompletions make their return! Release notes Features Fuzzy completions (#308 and #713): Juno now d…

---

## [Clearing variables in Jupyter Lab](https://discourse.julialang.org/t/clearing-variables-in-jupyter-lab/40709)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 8:08am UTC](https://discourse.julialang.org/t/clearing-variables-in-jupyter-lab/40709 "2020-06-04T08:08:42Z")

</div>

I’m running a computation in Julia (specifically via Jupyter Lab) that uses up over half of my RAM, and I find if I do not clear my workspace before running it again by shutting down and then restarting the kernel my PC …

---

## [How do you organise scientific papers?](https://discourse.julialang.org/t/how-do-you-organise-scientific-papers/28364)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 32\
**Last updated:** [June 4, 2020, 3:17am UTC](https://discourse.julialang.org/t/how-do-you-organise-scientific-papers/28364 "2020-06-04T03:17:57Z")

</div>

I am facing the issue that my lovely tool “Papers”, which I use for managing scientific resources is only available for macOS and iOS and I am gradually switching to Linux for work; I need to be able to work on both. Th…

---

## [Julia Build with MKL Help](https://discourse.julialang.org/t/julia-build-with-mkl-help/40703)

<div class="topic-metadata">

**Author:** [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 2:30am UTC](https://discourse.julialang.org/t/julia-build-with-mkl-help/40703 "2020-06-04T02:30:20Z")

</div>

I am trying to build Julia on a computer that is new to me, using MKL (which I’ve never used before so maybe this isn’t the problem here). I ran source /path/to/intel/bin/compilervars.sh intel64 and made this Make.user f…

---

## [SIR on networks with LightGraphs](https://discourse.julialang.org/t/sir-on-networks-with-lightgraphs/40497)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 7\
**Last updated:** [June 4, 2020, 12:51am UTC](https://discourse.julialang.org/t/sir-on-networks-with-lightgraphs/40497 "2020-06-04T00:51:15Z")

</div>

I am creating the simplest and lowest level SIR simulation with LightGraphs and ModelingToolkit (I am a beginner). For now, I have a simple network of 10 nodes and 7 edges. And it is a directed graph. Here is the top pa…

---

## [Bell Curve Overlay (Gadfly)](https://discourse.julialang.org/t/bell-curve-overlay-gadfly/40640)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Replies:** 4\
**Last updated:** [June 3, 2020, 11:37pm UTC](https://discourse.julialang.org/t/bell-curve-overlay-gadfly/40640 "2020-06-03T23:37:49Z")

</div>

I have data that I’ve plotted using Geom.histogram. I’m trying to determine, visually, how closely it fits a normal distribution. I realize there are other more quantitative methods to test fit to a distribution, but f…

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

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