# Latest

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

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

**Page:** 1664

---

## [Run a julia application at large scale (on thousands of nodes)](https://discourse.julialang.org/t/run-a-julia-application-at-large-scale-on-thousands-of-nodes/23873)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 8\
**Last updated:** [August 10, 2020, 2:52pm UTC](https://discourse.julialang.org/t/run-a-julia-application-at-large-scale-on-thousands-of-nodes/23873 "2020-08-10T14:52:52Z")

</div>

Overall context I am preparing a weak scaling test of a distributed Julia application. The test will use up to a couple of thousands of compute nodes and will need to run multiple times for each configuration (to obtain…

---

## [Why does Julia promote full array to sparse array?](https://discourse.julialang.org/t/why-does-julia-promote-full-array-to-sparse-array/44205)

<div class="topic-metadata">

**Author:** [@Paul\_McVay](https://discourse.julialang.org/u/Paul_McVay)\
**Replies:** 8\
**Last updated:** [August 10, 2020, 2:34pm UTC](https://discourse.julialang.org/t/why-does-julia-promote-full-array-to-sparse-array/44205 "2020-08-10T14:34:56Z")

</div>

Why does Julia promote full arrays to sparse arrays? If I try to subtract a sparse array from a full array, why does the full array become a sparse array? This doesn’t make any sense to me. It makes much more sense in my…

---

## [Struggling to implement Tables.jl interface (again)](https://discourse.julialang.org/t/struggling-to-implement-tables-jl-interface-again/44587)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 1:52pm UTC](https://discourse.julialang.org/t/struggling-to-implement-tables-jl-interface-again/44587 "2020-08-10T13:52:01Z")

</div>

Sorry for the post, it is very similar to previous ones but I just cannot get it to work. I am trying to implement a Tables.jl interface for a Vector{JSON3.Object}. Here is my effort so far: struct JSONLines obje…

---

## [Need for new Julia tool for threading debugging](https://discourse.julialang.org/t/need-for-new-julia-tool-for-threading-debugging/44673)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 1:39pm UTC](https://discourse.julialang.org/t/need-for-new-julia-tool-for-threading-debugging/44673 "2020-08-10T13:39:25Z")

</div>

Hi, as the multithreading is no more experimental I dare to bring a subject to the Julia community attention. For decades, parallel computing have been a specialist niche. Nowadays parallel computers are everywhere and…

---

## [Saving outputs in CSV file](https://discourse.julialang.org/t/saving-outputs-in-csv-file/44493)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 20\
**Last updated:** [August 10, 2020, 1:16pm UTC](https://discourse.julialang.org/t/saving-outputs-in-csv-file/44493 "2020-08-10T13:16:29Z")

</div>

This is my first time to use CSV to save outputs and i’m working on a small example to get used to it but it look like i’m still having troubles in it, here is the working example: using CSV using DataFrames function m…

---

## [What does this error mean: "WARN Infinite extent for field "rate": \[Infinity, -Infinity\] Fontconfig warning: "/etc/fonts/fonts.conf", line 86: unknown element "blank""?](https://discourse.julialang.org/t/what-does-this-error-mean-warn-infinite-extent-for-field-rate-infinity-infinity-fontconfig-warning-etc-fonts-fonts-conf-line-86-unknown-element-blank/34587)

<div class="topic-metadata">

**Author:** [@Aizzaac](https://discourse.julialang.org/u/Aizzaac)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 12:29pm UTC](https://discourse.julialang.org/t/what-does-this-error-mean-warn-infinite-extent-for-field-rate-infinity-infinity-fontconfig-warning-etc-fonts-fonts-conf-line-86-unknown-element-blank/34587 "2020-08-10T12:29:20Z")

</div>

Hi This questions is related to this other one: https://discourse.julialang.org/t/how-to-make-vegalite-read-my-topojson-file/34546/12 The goal is to make a choropleth map. I was succesful in reading a topojson file. N…

---

## [\[ANN\] VersatileHDPMixtureModels.jl: Distributed inference for the Versatile HDPMM, and for inference in HDPMM Like setting](https://discourse.julialang.org/t/ann-versatilehdpmixturemodels-jl-distributed-inference-for-the-versatile-hdpmm-and-for-inference-in-hdpmm-like-setting/44672)

<div class="topic-metadata">

**Author:** [@Dinari](https://discourse.julialang.org/u/Dinari)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 11:21am UTC](https://discourse.julialang.org/t/ann-versatilehdpmixturemodels-jl-distributed-inference-for-the-versatile-hdpmm-and-for-inference-in-hdpmm-like-setting/44672 "2020-08-10T11:21:24Z")

</div>

VersatileHDPMixtureModels.jl Git This package is the code for our UAI '20 paper titled “Scalable and Flexible Clustering of Grouped Data via Parallel and Distributed Sampling in Versatile Hierarchical Dirichlet Processe…

---

## [JUMP - store solution](https://discourse.julialang.org/t/jump-store-solution/44663)

<div class="topic-metadata">

**Author:** [@Tmart](https://discourse.julialang.org/u/Tmart)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 10:06am UTC](https://discourse.julialang.org/t/jump-store-solution/44663 "2020-08-10T10:06:23Z")

</div>

Hello, I was wondering if there was a way to store the solution of an optimization problem solved using JUMP. Thank you in advance, KR

---

## [Question about my Pkg](https://discourse.julialang.org/t/question-about-my-pkg/44668)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 10:06am UTC](https://discourse.julialang.org/t/question-about-my-pkg/44668 "2020-08-10T10:06:01Z")

</div>

This is the modified program After downloading Pkg again, there is no change using LPVSpectral, Plots a=convert(Vector{Float64},rand(20)) λ = 0.02 # Regularization parameter λs = 1 # Regularization par…

---

## [PhD in SciML/differential equations at the University of Bristol](https://discourse.julialang.org/t/phd-in-sciml-differential-equations-at-the-university-of-bristol/44518)

<div class="topic-metadata">

**Author:** [@dawbarton](https://discourse.julialang.org/u/dawbarton)\
**Replies:** 1\
**Last updated:** [August 10, 2020, 10:02am UTC](https://discourse.julialang.org/t/phd-in-sciml-differential-equations-at-the-university-of-bristol/44518 "2020-08-10T10:02:50Z")

</div>

On the off chance, if there are any UK nationals interested in doing a PhD in SciML/differential equations in Julia please get in touch as I might have some last minute funding available to start sometime between Oct 202…

---

## [Question about LPVSpectral](https://discourse.julialang.org/t/question-about-lpvspectral/44615)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 15\
**Last updated:** [August 10, 2020, 9:24am UTC](https://discourse.julialang.org/t/question-about-lpvspectral/44615 "2020-08-10T09:24:11Z")

</div>

this is my code using LPVSpectral, Plots a=convert(Vector{Float64},rand(20)) λ = 0.02 # Regularization parameter λs = 1 # Regularization parameter group-lasso normal = true # Use normalized basis functions N…

---

## [Zygote hessian](https://discourse.julialang.org/t/zygote-hessian/34998)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 3\
**Last updated:** [August 10, 2020, 9:08am UTC](https://discourse.julialang.org/t/zygote-hessian/34998 "2020-08-10T09:08:11Z")

</div>

I’m trying to use Zygote to compute a simple Hessian. What am I doing wrong? using Zygote p = 0 function ϕ(x, p) return sum( x.^2 ) end gϕ = x -\> Zygote.gradient(xx-\>ϕ(xx,p), x) Hϕ = x -\> Zygote.hessian(xx-\>ϕ(xx,p),…

---

## [How to debug a mem leak in a CxxWrap'ed package?](https://discourse.julialang.org/t/how-to-debug-a-mem-leak-in-a-cxxwraped-package/44660)

<div class="topic-metadata">

**Author:** [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 4:30am UTC](https://discourse.julialang.org/t/how-to-debug-a-mem-leak-in-a-cxxwraped-package/44660 "2020-08-10T04:30:29Z")

</div>

I’m running into an issue with a mem leak in a package that I wrapped using CxxWrap. I’ve run the offending program with --track-allocation=all, and that pointed to a for loop that retrieves objects from a file, but it …

---

## [Does it make any sense to define a new type name as const?](https://discourse.julialang.org/t/does-it-make-any-sense-to-define-a-new-type-name-as-const/44657)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 2:47am UTC](https://discourse.julialang.org/t/does-it-make-any-sense-to-define-a-new-type-name-as-const/44657 "2020-08-10T02:47:00Z")

</div>

I want to use a shorthand for a type name. Which of these two options should I go with? Vec2f = SVector{2, Float32} const Vec2f = SVector{2, Float32}

---

## [AssertionError: md isa Markdown.MD](https://discourse.julialang.org/t/assertionerror-md-isa-markdown-md/44607)

<div class="topic-metadata">

**Author:** [@zwwi](https://discourse.julialang.org/u/zwwi)\
**Replies:** 3\
**Last updated:** [August 10, 2020, 2:44am UTC](https://discourse.julialang.org/t/assertionerror-md-isa-markdown-md/44607 "2020-08-10T02:44:52Z")

</div>

I wanted to generate documentation for a project. I have a make.jl under the docs directory generated by PkgTemplate like the following: using Documenter using MyModule makedocs(; modules=\[MyModule\], authors="a…

---

## [Is there a package that introduces shell-like syntax using macros and the builtin pipeline?](https://discourse.julialang.org/t/is-there-a-package-that-introduces-shell-like-syntax-using-macros-and-the-builtin-pipeline/44639)

<div class="topic-metadata">

**Author:** [@NightMachinary](https://discourse.julialang.org/u/NightMachinary)\
**Replies:** 9\
**Last updated:** [August 10, 2020, 2:38am UTC](https://discourse.julialang.org/t/is-there-a-package-that-introduces-shell-like-syntax-using-macros-and-the-builtin-pipeline/44639 "2020-08-10T02:38:06Z")

</div>

I am thinking of changing my primary script language to Julia. The pipeline and backtick command construction are awesome, but their syntax is not as simple and concise as traditional shells. Is there a package dedicated…

---

## [\[ANN\] CMDimData.jl: Parametric Analysis for Model/Sim/Measurement Data](https://discourse.julialang.org/t/ann-cmdimdata-jl-parametric-analysis-for-model-sim-measurement-data/44656)

<div class="topic-metadata">

**Author:** [@MA\_Laforge](https://discourse.julialang.org/u/MA_Laforge)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 1:58am UTC](https://discourse.julialang.org/t/ann-cmdimdata-jl-parametric-analysis-for-model-sim-measurement-data/44656 "2020-08-10T01:58:21Z")

</div>

CMDimData.jl: Parametric Analysis +Continuous f(x) +Plotting Link: GitHub - ma-laforge/CMDimData.jl: Parametric analysis/visualization +continuous-f(x) interpolation — “Focus on the analysis itself, not on data manipula…

---

## [Best practice for channels that use HDF5 (seems like race is still an issue with lock)](https://discourse.julialang.org/t/best-practice-for-channels-that-use-hdf5-seems-like-race-is-still-an-issue-with-lock/44652)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [August 10, 2020, 1:07am UTC](https://discourse.julialang.org/t/best-practice-for-channels-that-use-hdf5-seems-like-race-is-still-an-issue-with-lock/44652 "2020-08-10T01:07:19Z")

</div>

I’m about to submit some jobs that use following “emergency backup” scheme (see MWE testBackup.jl below). I learned the hard way after loosing some data on a job that was submitted to our cluster, due to a failing check…

---

## [Bug in LinearAlgebra + Plots-PyPlot combo on intel i9-9900?](https://discourse.julialang.org/t/bug-in-linearalgebra-plots-pyplot-combo-on-intel-i9-9900/44097)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 25\
**Last updated:** [August 9, 2020, 9:49pm UTC](https://discourse.julialang.org/t/bug-in-linearalgebra-plots-pyplot-combo-on-intel-i9-9900/44097 "2020-08-09T21:49:16Z")

</div>

I have two computers with intel i9-9900 (new HP dekstop at work + Lenovo home computer), giving the same error on a simple problem – while my laptop (i7) and old work desktop (Dell, Xeon processor?) works fine. Here is t…

---

## [System error when using precompiled packages](https://discourse.julialang.org/t/system-error-when-using-precompiled-packages/44641)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 0\
**Last updated:** [August 9, 2020, 9:13pm UTC](https://discourse.julialang.org/t/system-error-when-using-precompiled-packages/44641 "2020-08-09T21:13:22Z")

</div>

I’ve been using the precompiled packages feature in VSCode without trouble for 2 months. Without it programming is impossibly slow, since startup time is many minutes. Starting this last week at random intervals the err…

---

## [Going beyond MNIST with Flux/Zygote and CUDA and Graph Neural Networks](https://discourse.julialang.org/t/going-beyond-mnist-with-flux-zygote-and-cuda-and-graph-neural-networks/44593)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 4\
**Last updated:** [August 9, 2020, 8:18pm UTC](https://discourse.julialang.org/t/going-beyond-mnist-with-flux-zygote-and-cuda-and-graph-neural-networks/44593 "2020-08-09T20:18:44Z")

</div>

Hi, I normally try to be very specific in titles, but as good practice in some ML communities I am catchy this time. I want to learn more about how ML works in Julia and I worked through some of the examples in Flux’s …

---

## [Any one know lua language](https://discourse.julialang.org/t/any-one-know-lua-language/44634)

<div class="topic-metadata">

**Author:** [@Fuad\_Sami](https://discourse.julialang.org/u/Fuad_Sami)\
**Replies:** 1\
**Last updated:** [August 9, 2020, 7:26pm UTC](https://discourse.julialang.org/t/any-one-know-lua-language/44634 "2020-08-09T19:26:16Z")

</div>

i need to convert some code from julia to lua using hash map any one ?

---

## [UDP socket sending response, lacking sendto](https://discourse.julialang.org/t/udp-socket-sending-response-lacking-sendto/44591)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 2\
**Last updated:** [August 9, 2020, 8:19am UTC](https://discourse.julialang.org/t/udp-socket-sending-response-lacking-sendto/44591 "2020-08-09T08:19:58Z")

</div>

Hi, I’m trying to establish UDP communication in Julia. For python I see there is a sendto method that lets me respond to the UDP socket UdpCommunication - Python Wiki it’s also in the linux sendto(2): send message on s…

---

## [Seems useful to write a macro that prepends the method signature to the docstring?](https://discourse.julialang.org/t/seems-useful-to-write-a-macro-that-prepends-the-method-signature-to-the-docstring/44598)

<div class="topic-metadata">

**Author:** [@bzinberg](https://discourse.julialang.org/u/bzinberg)\
**Replies:** 3\
**Last updated:** [August 9, 2020, 5:58pm UTC](https://discourse.julialang.org/t/seems-useful-to-write-a-macro-that-prepends-the-method-signature-to-the-docstring/44598 "2020-08-09T17:58:20Z")

</div>

I’m imagining writing something like @doc\_with\_sig """ Return a car with the given list of wheels and the given engine. Throws an error if \`engine\` doesn't have enough horsepower. """ function make\_car(wheels::Vector{W…

---

## [Loading a png file inside a package](https://discourse.julialang.org/t/loading-a-png-file-inside-a-package/44632)

<div class="topic-metadata">

**Author:** [@simonschoelly](https://discourse.julialang.org/u/simonschoelly)\
**Replies:** 1\
**Last updated:** [August 9, 2020, 5:53pm UTC](https://discourse.julialang.org/t/loading-a-png-file-inside-a-package/44632 "2020-08-09T17:53:45Z")

</div>

In one of my packages I want to load a png file using FileIO. When I try to do that, I get an error message: t.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 498, resource id: 0, major code: 20 (GetProperty)…

---

## [Local vs global scope again](https://discourse.julialang.org/t/local-vs-global-scope-again/44227)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 30\
**Last updated:** [August 9, 2020, 5:33pm UTC](https://discourse.julialang.org/t/local-vs-global-scope-again/44227 "2020-08-09T17:33:01Z")

</div>

I still think the solution I proposed would work in this case (which is discussed in the 1.5 blog): I quote: Despite the “on paper” simplicity of the 1.0 scope rule, many people found it unintuitive and annoying. Consi…

---

## [ModelingToolkit.jl and differential equations with step/pulse inputs](https://discourse.julialang.org/t/modelingtoolkit-jl-and-differential-equations-with-step-pulse-inputs/40272)

<div class="topic-metadata">

**Author:** [@DR59](https://discourse.julialang.org/u/DR59)\
**Replies:** 17\
**Last updated:** [August 9, 2020, 4:42pm UTC](https://discourse.julialang.org/t/modelingtoolkit-jl-and-differential-equations-with-step-pulse-inputs/40272 "2020-08-09T16:42:52Z")

</div>

In lots of differential equations applications, we want to solve a ‘forced’ DE whose evolution depends upon some input u(t). For instance we can consider a harmonic oscillator with a forcing term. The equation below make…

---

## [Pkg downtime incident](https://discourse.julialang.org/t/pkg-downtime-incident/44288)

<div class="topic-metadata">

**Author:** [@Keno](https://discourse.julialang.org/u/Keno)\
**Replies:** 25\
**Last updated:** [August 9, 2020, 4:33pm UTC](https://discourse.julialang.org/t/pkg-downtime-incident/44288 "2020-08-09T16:33:47Z")

</div>

Earlier today, several users started seeing issues installing packages. This post seeks to collect all the information related to this incident. Impact The issue caused installation of incorrect versions (latest master …

---

## [Parallel programming capabilities in Julia](https://discourse.julialang.org/t/parallel-programming-capabilities-in-julia/44394)

<div class="topic-metadata">

**Author:** [@YoungAlpha](https://discourse.julialang.org/u/YoungAlpha)\
**Replies:** 6\
**Last updated:** [August 9, 2020, 4:31pm UTC](https://discourse.julialang.org/t/parallel-programming-capabilities-in-julia/44394 "2020-08-09T16:31:06Z")

</div>

I know that according to ( Parallel Computing · The Julia Language ) there are three categories for parallel programming in Julia: Coroutines (Green Threading), Multi-Threading and also Multi-Core/ Distributed Processing…

---

## [Pointer to CuArray as a parameter for DifferentialEquations right-hand-side function](https://discourse.julialang.org/t/pointer-to-cuarray-as-a-parameter-for-differentialequations-right-hand-side-function/44125)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 9\
**Last updated:** [August 9, 2020, 9:58am UTC](https://discourse.julialang.org/t/pointer-to-cuarray-as-a-parameter-for-differentialequations-right-hand-side-function/44125 "2020-08-09T09:58:31Z")

</div>

I would like to pass a pointer to CuArray (or one of its sections) as a parameter for DifferentialEquations right-hand-side function which is defined as a GPU kernel function. Why do I need it? I have a differential equ…

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

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