# Latest

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

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

**Page:** 1591

---

## [Entering code to Reduce.jl](https://discourse.julialang.org/t/entering-code-to-reduce-jl/48965)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 3\
**Last updated:** [October 27, 2020, 7:00pm UTC](https://discourse.julialang.org/t/entering-code-to-reduce-jl/48965 "2020-10-27T19:00:54Z")

</div>

In the Reduce tetorial it gives examples of how to do things, like expand a function u=(x+y+z)^3 using u:=(x+y+z)^3 using Reduce u:=(x+y+z) this gives a syntax error u = literalpower(^(x+y+z),cor apply type (val 3) …

---

## [Loading Reduce.jl into Weave is going really slow](https://discourse.julialang.org/t/loading-reduce-jl-into-weave-is-going-really-slow/49080)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 5\
**Last updated:** [October 27, 2020, 7:00pm UTC](https://discourse.julialang.org/t/loading-reduce-jl-into-weave-is-going-really-slow/49080 "2020-10-27T19:00:21Z")

</div>

when I have a using Reduce and I try to weave it, it weaves really slow. I want to use reduce, for things like expanding, but it won’t load. what all affects the speed and ability of packages to load into Julia Markdow…

---

## [Multi-thread issue on Windows 10 home or libuv?](https://discourse.julialang.org/t/multi-thread-issue-on-windows-10-home-or-libuv/49089)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 6\
**Last updated:** [October 27, 2020, 6:15pm UTC](https://discourse.julialang.org/t/multi-thread-issue-on-windows-10-home-or-libuv/49089 "2020-10-27T18:15:04Z")

</div>

Hello, has anyone experienced multi-thread issue on Windows? Just installed Julia on brand new laptop, Windows 10 Home, and running a test script where JULIA\_NUM\_THREADS=1 works fine, but the same after setting JULIA\_NU…

---

## [Is LsqFit mantained?](https://discourse.julialang.org/t/is-lsqfit-mantained/49127)

<div class="topic-metadata">

**Author:** [@shiroghost](https://discourse.julialang.org/u/shiroghost)\
**Replies:** 4\
**Last updated:** [October 27, 2020, 6:08pm UTC](https://discourse.julialang.org/t/is-lsqfit-mantained/49127 "2020-10-27T18:08:22Z")

</div>

Dear all, I have seen that LsqFit has several pull requests that are not being merged. Does anyone know if the package is still matained? If not, what are good alternatives? Many thanks,

---

## [Iterating through all possibilities](https://discourse.julialang.org/t/iterating-through-all-possibilities/49060)

<div class="topic-metadata">

**Author:** [@JoeS](https://discourse.julialang.org/u/JoeS)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 3:45pm UTC](https://discourse.julialang.org/t/iterating-through-all-possibilities/49060 "2020-10-27T15:45:00Z")

</div>

I have 2 Dataframes, dfV and dvS That are dataframes that look like the following: 2 rows × 9 columns (omitted printing of 2 columns) ||column|pt1|pt2|…|pt8| | — | — | — | — | ||String|Float64|Float64|…|Float64| |1…

---

## [Assert that 2D-Array never reduce to vector?](https://discourse.julialang.org/t/assert-that-2d-array-never-reduce-to-vector/49117)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 11\
**Last updated:** [October 27, 2020, 3:05pm UTC](https://discourse.julialang.org/t/assert-that-2d-array-never-reduce-to-vector/49117 "2020-10-27T15:05:13Z")

</div>

If I have a 2-D array A and idx is an index vector or value, and I want to assert that A\[idx,:\] be a 2D array (even if idx is a number), is there an easy way to do this without always having to divide into cases where …

---

## [Suggestions for Encouraging Julia Adoption](https://discourse.julialang.org/t/suggestions-for-encouraging-julia-adoption/49092)

<div class="topic-metadata">

**Author:** [@Derek\_Vetsch](https://discourse.julialang.org/u/Derek_Vetsch)\
**Replies:** 10\
**Last updated:** [October 27, 2020, 12:59pm UTC](https://discourse.julialang.org/t/suggestions-for-encouraging-julia-adoption/49092 "2020-10-27T12:59:46Z")

</div>

I am trying to get my company to adopt Julia in addition to our already existing Python and R code. Any suggestions?

---

## [Unsatisfiable requirements detected for Pkg SatelliteDynamics](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-for-pkg-satellitedynamics/49119)

<div class="topic-metadata">

**Author:** [@ardsatcg](https://discourse.julialang.org/u/ardsatcg)\
**Replies:** 0\
**Last updated:** [October 27, 2020, 12:27pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-detected-for-pkg-satellitedynamics/49119 "2020-10-27T12:27:07Z")

</div>

Sorry for old questions

---

## [JuliaAudio-LibsndFile Help needed](https://discourse.julialang.org/t/juliaaudio-libsndfile-help-needed/48613)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 12:12pm UTC](https://discourse.julialang.org/t/juliaaudio-libsndfile-help-needed/48613 "2020-10-27T12:12:28Z")

</div>

Hey guys,I am exploring the audio library LibSndFile.jl and WAV.jl and when writing a julia script,I wanted the info printed after load(filename) as a string(can be done by redirect stdout i think)…or better if I can …

---

## [Limit the usage of packages from outside the Manifest.toml](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110)

<div class="topic-metadata">

**Author:** [@Adam\_Glos](https://discourse.julialang.org/u/Adam_Glos)\
**Replies:** 3\
**Last updated:** [October 27, 2020, 12:11pm UTC](https://discourse.julialang.org/t/limit-the-usage-of-packages-from-outside-the-manifest-toml/49110 "2020-10-27T12:11:21Z")

</div>

I prepared a Manifest.toml by activating the directory activate . I added some packages and having activated environment, I go back to Julia environment. However I’m still able to access packages which has not been inclu…

---

## [RefValue errors with LibSerialPort](https://discourse.julialang.org/t/refvalue-errors-with-libserialport/49049)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 7\
**Last updated:** [October 27, 2020, 11:39am UTC](https://discourse.julialang.org/t/refvalue-errors-with-libserialport/49049 "2020-10-27T11:39:50Z")

</div>

I’m honestly not sure if this has something to do with LibSerialPort or if it’s just me, hence the Discourse post as opposed to an issue… I’m repeatedly reading off of a serial port inside an async loop, and while tryin…

---

## [Supported (Latex like) fontfamilies Plots.jl GR.jl](https://discourse.julialang.org/t/supported-latex-like-fontfamilies-plots-jl-gr-jl/22938)

<div class="topic-metadata">

**Author:** [@YoungFaithful](https://discourse.julialang.org/u/YoungFaithful)\
**Replies:** 8\
**Last updated:** [October 27, 2020, 11:35am UTC](https://discourse.julialang.org/t/supported-latex-like-fontfamilies-plots-jl-gr-jl/22938 "2020-10-27T11:35:17Z")

</div>

Hi all, I’m trying to figure out which fontfamilies can be used with Plots.jl using GR.jl. Is it system dependent? I am looking specifically for a “Computer Modern” like family. I couldn’t find a list or explanation wha…

---

## [BSON Loading Flux NN model - error - reference to NNlib](https://discourse.julialang.org/t/bson-loading-flux-nn-model-error-reference-to-nnlib/49112)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 0\
**Last updated:** [October 27, 2020, 11:29am UTC](https://discourse.julialang.org/t/bson-loading-flux-nn-model-error-reference-to-nnlib/49112 "2020-10-27T11:29:21Z")

</div>

Hi. I am trying to use BSON.@load within DaemonMode.jl DaemonMode.jl has acknowledged reference issues arising from: “…DaemonMode uses a module to encapsulate the code…” but for example in the case of ‘include’ this i…

---

## [Why my heatmap contour plot in polar coordinates is small/tiny?](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955)

<div class="topic-metadata">

**Author:** [@RBraghiere](https://discourse.julialang.org/u/RBraghiere)\
**Replies:** 4\
**Last updated:** [October 27, 2020, 10:14am UTC](https://discourse.julialang.org/t/why-my-heatmap-contour-plot-in-polar-coordinates-is-small-tiny/47955 "2020-10-27T10:14:58Z")

</div>

Hi, I am trying to plot a heatmap in a polar plot like so: contourf(deg2rad.(collect((0:360))),deg2rad.(collect(0:1:85)), B, aspect\_ratio=:equal, proj=:polar, color=:viridis, alpha=0.5) But I get a tiny little figu…

---

## [Unnecessary type parameters](https://discourse.julialang.org/t/unnecessary-type-parameters/49100)

<div class="topic-metadata">

**Author:** [@lijas](https://discourse.julialang.org/u/lijas)\
**Replies:** 5\
**Last updated:** [October 27, 2020, 9:42am UTC](https://discourse.julialang.org/t/unnecessary-type-parameters/49100 "2020-10-27T09:42:58Z")

</div>

Quite often I have to use the type parameters to make the struct concrete/type stable, but I never need to use that parameter for dispatch. So the type parameter becomes unnecessary in some sense (and ugly). For example …

---

## [Replacement for Dict, is anyone using isslotfilled?](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 22\
**Last updated:** [October 27, 2020, 9:26am UTC](https://discourse.julialang.org/t/replacement-for-dict-is-anyone-using-isslotfilled/48810 "2020-10-27T09:26:05Z")

</div>

Hi, I’m looking into replacing Dict in Julia with an ordered implementation. I hear people would like that, any objections? Actually I already did that, and it works for me, but not for all methods older Dict provided. …

---

## [AmplNLWriter.jl with Ipopt from Ipopt.jl](https://discourse.julialang.org/t/amplnlwriter-jl-with-ipopt-from-ipopt-jl/49038)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 8:42am UTC](https://discourse.julialang.org/t/amplnlwriter-jl-with-ipopt-from-ipopt-jl/49038 "2020-10-27T08:42:40Z")

</div>

I am trying to use Ipopt, as “shipped” with Ipopt.jl, using AmplNLWriter.jl. The way indicated in the AmplNLWriter.jl readme, myModel = Model(() -\> AmplNLWriter.Optimizer(Ipopt.amplexe)), returns me a MethodError. How…

---

## [How to assign tuples to struct?](https://discourse.julialang.org/t/how-to-assign-tuples-to-struct/49094)

<div class="topic-metadata">

**Author:** [@SonLe](https://discourse.julialang.org/u/SonLe)\
**Replies:** 3\
**Last updated:** [October 27, 2020, 6:27am UTC](https://discourse.julialang.org/t/how-to-assign-tuples-to-struct/49094 "2020-10-27T06:27:04Z")

</div>

Hi everyone, I struggle with this issue. Let say I have a tuple of 5 elements, a = (100, 50, 0.05, 0.05, false, true) and a struct is defined as, struct PortfolioInfo num\_stock::Int64 num\_rndreturn::Int64 …

---

## [https://SlackInvite.JuliaLang.org deprecated and replaced with https://julialang.org/slack/](https://discourse.julialang.org/t/https-slackinvite-julialang-org-deprecated-and-replaced-with-https-julialang-org-slack/49088)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 1\
**Last updated:** [October 27, 2020, 2:24am UTC](https://discourse.julialang.org/t/https-slackinvite-julialang-org-deprecated-and-replaced-with-https-julialang-org-slack/49088 "2020-10-27T02:24:33Z")

</div>

Hey all, quick heads up: We have deprecated https://slackinvite.julialang.org and replaced it with: The Julia Language Slack I went ahead and tried to update as many packages as I could to reflect the new link but if …

---

## [Image IO and processing efficiency: sequential versus bulk](https://discourse.julialang.org/t/image-io-and-processing-efficiency-sequential-versus-bulk/48975)

<div class="topic-metadata">

**Author:** [@jakewilliami](https://discourse.julialang.org/u/jakewilliami)\
**Replies:** 9\
**Last updated:** [October 27, 2020, 1:25am UTC](https://discourse.julialang.org/t/image-io-and-processing-efficiency-sequential-versus-bulk/48975 "2020-10-27T01:25:31Z")

</div>

I have an algorithm that loads and processes images. There are two ways of doing this: Load all images together, and process them all together (bulk); or One-by-one, load and process the images (sequential). I have c…

---

## [Enforcing Schema on Data Frame Passed as Function Argument](https://discourse.julialang.org/t/enforcing-schema-on-data-frame-passed-as-function-argument/49020)

<div class="topic-metadata">

**Author:** [@gyrfalcon](https://discourse.julialang.org/u/gyrfalcon)\
**Replies:** 7\
**Last updated:** [October 27, 2020, 12:24am UTC](https://discourse.julialang.org/t/enforcing-schema-on-data-frame-passed-as-function-argument/49020 "2020-10-27T00:24:54Z")

</div>

I have been working on some code where DataFrame structures seem to apply quite well. However, I was wondering if it is possible to enforce at a minimum a certain pattern of data types, if not both data types and column …

---

## [LaTeX table reader in Julia](https://discourse.julialang.org/t/latex-table-reader-in-julia/49067)

<div class="topic-metadata">

**Author:** [@sswatson](https://discourse.julialang.org/u/sswatson)\
**Replies:** 5\
**Last updated:** [October 27, 2020, 12:23am UTC](https://discourse.julialang.org/t/latex-table-reader-in-julia/49067 "2020-10-27T00:23:24Z")

</div>

Is there a LaTeX table reader in Julia? I know there are several writers, but I haven’t been able to find something that takes the LaTeX source as input. The reason I’m interested is that MathPix is really good at OCRin…

---

## [Introducing SequencerJ for finding trends in 1-D datasets](https://discourse.julialang.org/t/introducing-sequencerj-for-finding-trends-in-1-d-datasets/49082)

<div class="topic-metadata">

**Author:** [@a5vzener](https://discourse.julialang.org/u/a5vzener)\
**Replies:** 0\
**Last updated:** [October 26, 2020, 10:23pm UTC](https://discourse.julialang.org/t/introducing-sequencerj-for-finding-trends-in-1-d-datasets/49082 "2020-10-26T22:23:42Z")

</div>

I am very pleased to announce the public availability of my first Julia package, \[SequencerJ\](https://github.com/turingtest37/SequencerJ.jl). This is a 100% Julia implementation of the “Sequencer algorithm”, which uses s…

---

## [Display of rational numbers in Jupyter notebook](https://discourse.julialang.org/t/display-of-rational-numbers-in-jupyter-notebook/49077)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 0\
**Last updated:** [October 26, 2020, 9:49pm UTC](https://discourse.julialang.org/t/display-of-rational-numbers-in-jupyter-notebook/49077 "2020-10-26T21:49:31Z")

</div>

When I run 1//2 in Jupyter notebook, the output is the raw LaTeX expression \\frac 1 2 which has not been rendered as a formula. Does anyone know how to force Jupyter to render the formula with MathJax or LaTeX? Other…

---

## [Very slow Plots performance and... no plot](https://discourse.julialang.org/t/very-slow-plots-performance-and-no-plot/49064)

<div class="topic-metadata">

**Author:** [@rnturn](https://discourse.julialang.org/u/rnturn)\
**Replies:** 8\
**Last updated:** [October 26, 2020, 9:44pm UTC](https://discourse.julialang.org/t/very-slow-plots-performance-and-no-plot/49064 "2020-10-26T21:44:53Z")

</div>

Environment: openSUSE 15.1, downloaded Julia 1.5.2 (tar.gz). I’m finding that using Plots (pun sort of intended) is really slow and when I use plot() in a script I get no output: #plottest using Dates t0 = now() using …

---

## [Why and when to pass variables to sub-functions?](https://discourse.julialang.org/t/why-and-when-to-pass-variables-to-sub-functions/49073)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 6\
**Last updated:** [October 26, 2020, 9:35pm UTC](https://discourse.julialang.org/t/why-and-when-to-pass-variables-to-sub-functions/49073 "2020-10-26T21:35:42Z")

</div>

I am working on spitting my functions up into many smaller sub-functions. The issue I came across is that I need to pass more and more variables to successive sub-functions. How is this typically handled? I see three po…

---

## [Animated plot and CUDA computations with Makie](https://discourse.julialang.org/t/animated-plot-and-cuda-computations-with-makie/48974)

<div class="topic-metadata">

**Author:** [@R366Y](https://discourse.julialang.org/u/R366Y)\
**Replies:** 2\
**Last updated:** [October 26, 2020, 8:20pm UTC](https://discourse.julialang.org/t/animated-plot-and-cuda-computations-with-makie/48974 "2020-10-26T20:20:39Z")

</div>

Hello everyone , I’m learning GPU programming with Julia and I want to generate a procedurally animated picture inside a window with CUDA , for instance I’m porting the GPU Ripple example from Chapter 5 “Cuda by example…

---

## [Global variables and threads](https://discourse.julialang.org/t/global-variables-and-threads/49068)

<div class="topic-metadata">

**Author:** [@GlenHenshaw](https://discourse.julialang.org/u/GlenHenshaw)\
**Replies:** 2\
**Last updated:** [October 26, 2020, 8:12pm UTC](https://discourse.julialang.org/t/global-variables-and-threads/49068 "2020-10-26T20:12:40Z")

</div>

I have a function inside a module that I need to be thread-safe. The function looks like: function foo() for i=1:n sigma = (calculate stuff) end return sigma end Of course, the above code doesn’t wo…

---

## [Announcing a Julia Slack](https://discourse.julialang.org/t/announcing-a-julia-slack/4866)

<div class="topic-metadata">

**Author:** [@malmaud](https://discourse.julialang.org/u/malmaud)\
**Replies:** 15\
**Last updated:** [October 26, 2020, 7:57pm UTC](https://discourse.julialang.org/t/announcing-a-julia-slack/4866 "2020-10-26T19:57:34Z")

</div>

Hi all, We now have a Slack group for talking about Julia at http://julialang.slack.com. Anyone in good standing with the Julia community is welcome to join by filling out the form at The Julia Language Slack. Topics in…

---

## [Is this type piracy?](https://discourse.julialang.org/t/is-this-type-piracy/48894)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 3\
**Last updated:** [October 26, 2020, 7:09pm UTC](https://discourse.julialang.org/t/is-this-type-piracy/48894 "2020-10-26T19:09:26Z")

</div>

(::Type{T})(x::MyType) where T = dosomething(x) |\> T or perhaps just bad practice for some other reason? This is basically hijacking all single argument constructors to first dosomething with MyType. This seemed like a…

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

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