# Latest

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

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

**Page:** 1817

---

## [Where to define type aliases within a module's hierarchy](https://discourse.julialang.org/t/where-to-define-type-aliases-within-a-modules-hierarchy/35131)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 6:46pm UTC](https://discourse.julialang.org/t/where-to-define-type-aliases-within-a-modules-hierarchy/35131 "2020-02-25T18:46:21Z")

</div>

Is there a guideline on where to put type aliases in a module with multiple source files?

---

## [Looking for a Julia Consultant to help me optimize my Julia code](https://discourse.julialang.org/t/looking-for-a-julia-consultant-to-help-me-optimize-my-julia-code/35120)

<div class="topic-metadata">

**Author:** [@Julia1](https://discourse.julialang.org/u/Julia1)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 6:42pm UTC](https://discourse.julialang.org/t/looking-for-a-julia-consultant-to-help-me-optimize-my-julia-code/35120 "2020-02-25T18:42:42Z")

</div>

Hi how’s it going? I’m an experienced Python developer who’s learning Julia. I’m looking for a paid consultant/mentor who can help me optimize my Julia code and expedite my learning process. Thank you!

---

## [Can I get the REPL in Juno (or anywhere in Windows) to show Unicode above U+010000?](https://discourse.julialang.org/t/can-i-get-the-repl-in-juno-or-anywhere-in-windows-to-show-unicode-above-u-010000/35119)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 3\
**Last updated:** [February 25, 2020, 6:32pm UTC](https://discourse.julialang.org/t/can-i-get-the-repl-in-juno-or-anywhere-in-windows-to-show-unicode-above-u-010000/35119 "2020-02-25T18:32:41Z")

</div>

If I use the bold face characters (as used in Unitful and entered with \\bfM) such as julia\> c '�': Unicode U+01d40c (category Lu: Letter, uppercase) they display correctly in the Workspace window but do not display …

---

## [Trying to run DiffEqTutorials in a notebook](https://discourse.julialang.org/t/trying-to-run-diffeqtutorials-in-a-notebook/35124)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 5:18pm UTC](https://discourse.julialang.org/t/trying-to-run-diffeqtutorials-in-a-notebook/35124 "2020-02-25T17:18:00Z")

</div>

Hi, I am trying to run the Differential Equation Tutorials from within the notebook. So I execute: (v1.3) pkg\> add GitHub - SciML/SciMLTutorials.jl: Tutorials for doing scientific machine learning (SciML) and high-per…

---

## [Fast calculations, slow LaTeX](https://discourse.julialang.org/t/fast-calculations-slow-latex/35030)

<div class="topic-metadata">

**Author:** [@aerdely](https://discourse.julialang.org/u/aerdely)\
**Replies:** 4\
**Last updated:** [February 25, 2020, 4:49pm UTC](https://discourse.julialang.org/t/fast-calculations-slow-latex/35030 "2020-02-25T16:49:36Z")

</div>

I have a long notebook (60 pages if converted to PDF) which combines a lot of calculations along with a lot of mathematical formulas in \\LaTeX. When I run it, the Julia calculations are done pretty fast ( \< 1 min), but t…

---

## [Performance issue when storing function in a struct as a field](https://discourse.julialang.org/t/performance-issue-when-storing-function-in-a-struct-as-a-field/35122)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 2\
**Last updated:** [February 25, 2020, 4:34pm UTC](https://discourse.julialang.org/t/performance-issue-when-storing-function-in-a-struct-as-a-field/35122 "2020-02-25T16:34:19Z")

</div>

I have a bit of code like this. In the function simulation, I generate a random tree and count the size of each subtree. Then I sim.func to the subtree sizes and add it up. I mostly need sim.func=log. But to have some f…

---

## [Julia Client – Internal Error: Julia stopped if running codes in script rather than REPL](https://discourse.julialang.org/t/julia-client-internal-error-julia-stopped-if-running-codes-in-script-rather-than-repl/35087)

<div class="topic-metadata">

**Author:** [@1634](https://discourse.julialang.org/u/1634)\
**Replies:** 8\
**Last updated:** [February 25, 2020, 3:41pm UTC](https://discourse.julialang.org/t/julia-client-internal-error-julia-stopped-if-running-codes-in-script-rather-than-repl/35087 "2020-02-25T15:41:36Z")

</div>

After starting Julia by Enter, any code pasted from script to REPL is running well. However, directly running the codes in script (by Ctrl+Enter) leads to stop Julia every time and report the Internal Error: Julia Clien…

---

## [\`add Test\` fails in presence of \`test\` directory on macOS](https://discourse.julialang.org/t/add-test-fails-in-presence-of-test-directory-on-macos/35118)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 3:31pm UTC](https://discourse.julialang.org/t/add-test-fails-in-presence-of-test-directory-on-macos/35118 "2020-02-25T15:31:49Z")

</div>

The macOS file system is case insenitive but case preserving, so if you have a directory named test in your project (which is standard) and you try to add the Test module (which you need to do testing), you get the follo…

---

## [isapprox(Tuple{T}) not working](https://discourse.julialang.org/t/isapprox-tuple-t-not-working/35117)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 3:16pm UTC](https://discourse.julialang.org/t/isapprox-tuple-t-not-working/35117 "2020-02-25T15:16:08Z")

</div>

Wondering while isapprox() works for scalar and arrays but not for tuples: \[-6.9999999998,-1.000000000002\] ≈ \[-7,-1\] # true (-6.9999999998,-1.000000000002) ≈ (-7,-1) # MethodError (\[-6.9908,-1.00152\],21.96624)…

---

## [Declaration of variable JuMP works well on ATOM but does not work on VSCODE](https://discourse.julialang.org/t/declaration-of-variable-jump-works-well-on-atom-but-does-not-work-on-vscode/35058)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 3\
**Last updated:** [February 25, 2020, 3:05pm UTC](https://discourse.julialang.org/t/declaration-of-variable-jump-works-well-on-atom-but-does-not-work-on-vscode/35058 "2020-02-25T15:05:16Z")

</div>

I have been working in a huge optimization problem and I have tried to execute my script on VSCode to see if I could improve the simulation time. I have installed VSCode (OS Debian) and I simply have executed the same s…

---

## [\[JuMP\] Updating NLparameter of a model in a loop](https://discourse.julialang.org/t/jump-updating-nlparameter-of-a-model-in-a-loop/35081)

<div class="topic-metadata">

**Author:** [@migarstka](https://discourse.julialang.org/u/migarstka)\
**Replies:** 3\
**Last updated:** [February 25, 2020, 2:40pm UTC](https://discourse.julialang.org/t/jump-updating-nlparameter-of-a-model-in-a-loop/35081 "2020-02-25T14:40:18Z")

</div>

copied from JuMP Gitter channel I have a question about solving a nonlinear JuMP model in a loop while updating some nonlinear parameters of the obj function: using JuMP, Ipopt function setup\_model() model = JuMP.…

---

## [Axis label skewed and wrongly positioned when setting guidefont](https://discourse.julialang.org/t/axis-label-skewed-and-wrongly-positioned-when-setting-guidefont/35116)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 2:24pm UTC](https://discourse.julialang.org/t/axis-label-skewed-and-wrongly-positioned-when-setting-guidefont/35116 "2020-02-25T14:24:58Z")

</div>

Hi all, I noticed that my x axis label is somehow weirdly positioned and rotated when setting a particular font as guidefont (plot p2). I’m using the Plots.jl package with the GR backend. In case I don’t set the guidefo…

---

## [For some reason a file that I am including is simply not getting loaded](https://discourse.julialang.org/t/for-some-reason-a-file-that-i-am-including-is-simply-not-getting-loaded/35113)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 5\
**Last updated:** [February 25, 2020, 1:33pm UTC](https://discourse.julialang.org/t/for-some-reason-a-file-that-i-am-including-is-simply-not-getting-loaded/35113 "2020-02-25T13:33:38Z")

</div>

I am trying to load a model using the ONNX package and have posted this as an issue on github here:Could not open file model.jl · Issue #36 · FluxML/ONNX.jl · GitHub In short, I am trying to include a file in my directo…

---

## [Re-use existing StatsPlots Recipes?](https://discourse.julialang.org/t/re-use-existing-statsplots-recipes/35104)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 11:50am UTC](https://discourse.julialang.org/t/re-use-existing-statsplots-recipes/35104 "2020-02-25T11:50:39Z")

</div>

I’m trying to define a stackedhist recipes which takes bins and array{array} and uses groupedbar to display a stacked histogram, the following function works: using StatsPlots, StatsBase function stack\_plot(args...) …

---

## [Win7 running Julia by bat file dispaly not works?](https://discourse.julialang.org/t/win7-running-julia-by-bat-file-dispaly-not-works/35084)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 5\
**Last updated:** [February 25, 2020, 9:31am UTC](https://discourse.julialang.org/t/win7-running-julia-by-bat-file-dispaly-not-works/35084 "2020-02-25T09:31:55Z")

</div>

No plot ! Why ? Win7 in file start.bat is: C:\\Users\\PC\\AppData\\Local\\Julia-0.7.0\\bin\\julia.exe -L start.jl in start.jl file is: println("Pracujesz w aktalogu: ",pwd()) include("display\_plot.jl") display\_plot.jl: …

---

## [Generating zero-isoclines for a coupled ODE](https://discourse.julialang.org/t/generating-zero-isoclines-for-a-coupled-ode/35070)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 4\
**Last updated:** [February 25, 2020, 9:30am UTC](https://discourse.julialang.org/t/generating-zero-isoclines-for-a-coupled-ode/35070 "2020-02-25T09:30:16Z")

</div>

Hi All, This seems like it should be a simple problem to solve, but I’ve scoured the documentation of DifferentialEquations.jl and can’t seem to identify anything specifically relating to my issue. For a simple coupled…

---

## [Hiring full-time predoctoral students for the UBC Economics Department](https://discourse.julialang.org/t/hiring-full-time-predoctoral-students-for-the-ubc-economics-department/35103)

<div class="topic-metadata">

**Author:** [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Replies:** 0\
**Last updated:** [February 25, 2020, 5:58am UTC](https://discourse.julialang.org/t/hiring-full-time-predoctoral-students-for-the-ubc-economics-department/35103 "2020-02-25T05:58:11Z")

</div>

The economics department at UBC is hiring 3 predoctoral students to work as full-time research assistants. Some of the positions will be more traditional economics work, but at least one of them will be heavy on computa…

---

## [Why zip the data argument to the \`Flux::train!\` function?](https://discourse.julialang.org/t/why-zip-the-data-argument-to-the-flux-train-function/35024)

<div class="topic-metadata">

**Author:** [@arnaudmgh](https://discourse.julialang.org/u/arnaudmgh)\
**Replies:** 6\
**Last updated:** [February 25, 2020, 5:10am UTC](https://discourse.julialang.org/t/why-zip-the-data-argument-to-the-flux-train-function/35024 "2020-02-25T05:10:44Z")

</div>

I have been playing with the model zoo autoencoder code. I have a question about this line of code: @epochs 10 Flux.train!(loss, params(m), zip(data), opt, cb = evalcb) (permalink) What is zip(data) doing to the data,…

---

## [\[ANN\] New package: Strapping.jl](https://discourse.julialang.org/t/ann-new-package-strapping-jl/35038)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 9\
**Last updated:** [February 25, 2020, 4:38am UTC](https://discourse.julialang.org/t/ann-new-package-strapping-jl/35038 "2020-02-25T04:38:04Z")

</div>

I’ve been playing around with some “ORM” ideas for a bit in different ways, trying to find a good balance of “not-too-magical”, but still useful. I feel the design has finally come together well enough that I’d like to …

---

## [JuMP 0.21. How to stop the solver in callback?](https://discourse.julialang.org/t/jump-0-21-how-to-stop-the-solver-in-callback/35028)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 4:21am UTC](https://discourse.julialang.org/t/jump-0-21-how-to-stop-the-solver-in-callback/35028 "2020-02-25T04:21:20Z")

</div>

Dear community, in older JuMP versions, one was able to stop the solving process in a callback with JuMP.StopTheSolver. However, I did not find something similar in the documentation of the current release 0.21. Do have…

---

## [Why doesn't the compiler infer the type of this function?](https://discourse.julialang.org/t/why-doesnt-the-compiler-infer-the-type-of-this-function/35005)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 6\
**Last updated:** [February 25, 2020, 3:23am UTC](https://discourse.julialang.org/t/why-doesnt-the-compiler-infer-the-type-of-this-function/35005 "2020-02-25T03:23:52Z")

</div>

On Julia v1.2.0: fib1(n::Int64) = n\<=1 ? (1,) : (n, fib1(n-1)...) run1() = fib1(5) fib2(::Type{Val{n}}) where {n} = n\<=1 ? (1,) : (n, fib2(Val{n-1})...) run2() = fib2(Val{5}) julia\> @code\_warntype run1() Variables #…

---

## [NLopt failed due to Forced Stop](https://discourse.julialang.org/t/nlopt-failed-due-to-forced-stop/34364)

<div class="topic-metadata">

**Author:** [@Fisheryu1234](https://discourse.julialang.org/u/Fisheryu1234)\
**Replies:** 3\
**Last updated:** [February 24, 2020, 11:47pm UTC](https://discourse.julialang.org/t/nlopt-failed-due-to-forced-stop/34364 "2020-02-24T23:47:06Z")

</div>

Hi, I encountered a rather complicated constrained maximum likelihood estimation The constraint is numerically solved from a large-scale nonlinear fixed-point problem given primitive parameters (12,800 equality constrai…

---

## [Southern California Julia Meetup (Feb 25th 2020)](https://discourse.julialang.org/t/southern-california-julia-meetup-feb-25th-2020/34487)

<div class="topic-metadata">

**Author:** [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Replies:** 3\
**Last updated:** [February 24, 2020, 9:52pm UTC](https://discourse.julialang.org/t/southern-california-julia-meetup-feb-25th-2020/34487 "2020-02-24T21:52:00Z")

</div>

I will attempt to set up a Zoom meeting to allow people to join remotely, and will post the details closer to the date. Please only RSVP if you plan to attend in person.

---

## [What's the best way to work with millions of rows of data?](https://discourse.julialang.org/t/whats-the-best-way-to-work-with-millions-of-rows-of-data/35075)

<div class="topic-metadata">

**Author:** [@Julia1](https://discourse.julialang.org/u/Julia1)\
**Replies:** 7\
**Last updated:** [February 24, 2020, 8:38pm UTC](https://discourse.julialang.org/t/whats-the-best-way-to-work-with-millions-of-rows-of-data/35075 "2020-02-24T20:38:44Z")

</div>

Hi how’s it going? I made a prototype of an app using the DataFrames.jl package. The data was about 100,000 rows. I need to scale this up to millions, possibly hundreds of millions of rows. I don’t know too much about h…

---

## [Lotka\_Volterra tutorial](https://discourse.julialang.org/t/lotka-volterra-tutorial/35077)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 11\
**Last updated:** [February 24, 2020, 8:23pm UTC](https://discourse.julialang.org/t/lotka-volterra-tutorial/35077 "2020-02-24T20:23:08Z")

</div>

Hi, I tried the first tutorial: "Optimizing parameters of an ODE for an Optimal Control Problem. I executed all the functions up to and including "p = \[1.5, 1.0, 3.0, 1.0\]. Then I typed: prob = ODEProblem(lotka\_volterr…

---

## [\[SOLVED\] Behavior of @generated with no arguments](https://discourse.julialang.org/t/solved-behavior-of-generated-with-no-arguments/35083)

<div class="topic-metadata">

**Author:** [@non-Jedi](https://discourse.julialang.org/u/non-Jedi)\
**Replies:** 0\
**Last updated:** [February 24, 2020, 7:03pm UTC](https://discourse.julialang.org/t/solved-behavior-of-generated-with-no-arguments/35083 "2020-02-24T19:03:45Z")

</div>

EDIT: I somehow missed the appropriate section of the manual despite skimming through several times. Please disregard. https://docs.julialang.org/en/v1/manual/metaprogramming/#Optionally-generated-functions-1 Here’s on…

---

## [Gtk assertion 'GDK\_IS\_WINDOW (window)' failed](https://discourse.julialang.org/t/gtk-assertion-gdk-is-window-window-failed/28964)

<div class="topic-metadata">

**Author:** [@Alan\_Bahm](https://discourse.julialang.org/u/Alan_Bahm)\
**Replies:** 2\
**Last updated:** [February 24, 2020, 7:36pm UTC](https://discourse.julialang.org/t/gtk-assertion-gdk-is-window-window-failed/28964 "2020-02-24T19:36:34Z")

</div>

\#= Using Julia v1.2.0 with Gtk v0.17.0, running Win10 or Mac v10.14.6 A window holding a grid, holding a notebook, holding a canvas generates 5 assertions like: (:47666): Gdk-CRITICAL \*\*: 11:53:46.732: gdk\_window\_…

---

## [Differential Equations General Questions](https://discourse.julialang.org/t/differential-equations-general-questions/34949)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 11\
**Last updated:** [February 24, 2020, 7:14pm UTC](https://discourse.julialang.org/t/differential-equations-general-questions/34949 "2020-02-24T19:14:53Z")

</div>

Hi there - I had some complete package to work with differential equations montecarlo simulations. It seems that differentialequations montecarlo is not longer supported? Is differentialequations enesmble a replacemen…

---

## [JuliaPro 1.3.1-1, Windows, PyPlot fails during build](https://discourse.julialang.org/t/juliapro-1-3-1-1-windows-pyplot-fails-during-build/35001)

<div class="topic-metadata">

**Author:** [@Pier](https://discourse.julialang.org/u/Pier)\
**Replies:** 4\
**Last updated:** [February 24, 2020, 6:28pm UTC](https://discourse.julialang.org/t/juliapro-1-3-1-1-windows-pyplot-fails-during-build/35001 "2020-02-24T18:28:29Z")

</div>

On a fresh install of JuliaPro 1.3.1-1 under Windows PyPlot fails during the build phase (does not matter if installation is for single user or all users on the machine). If I interpret the error messages correctly, the …

---

## [What would be the equivalent of this piece of Python code?](https://discourse.julialang.org/t/what-would-be-the-equivalent-of-this-piece-of-python-code/34827)

<div class="topic-metadata">

**Author:** [@Aizzaac](https://discourse.julialang.org/u/Aizzaac)\
**Replies:** 6\
**Last updated:** [February 24, 2020, 4:10pm UTC](https://discourse.julialang.org/t/what-would-be-the-equivalent-of-this-piece-of-python-code/34827 "2020-02-24T16:10:07Z")

</div>

Hi I have used this piece of code to measure the time it takes for a Python script to execute. I want to do the same with Julia. from datetime import datetime start\_time = datetime.now() end\_time = datetime.now() del…

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

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