# Latest

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

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

**Page:** 1157

---

## [How to specify nonhomogeneous system with ModelingToolkit](https://discourse.julialang.org/t/how-to-specify-nonhomogeneous-system-with-modelingtoolkit/74341)

<div class="topic-metadata">

**Author:** [@bgctw](https://discourse.julialang.org/u/bgctw)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 3:43pm UTC](https://discourse.julialang.org/t/how-to-specify-nonhomogeneous-system-with-modelingtoolkit/74341 "2022-01-10T15:43:44Z")

</div>

DifferentialEquations.jl can deal with nonhomogeneous systems specified as an ODEProblem, where some parameter also depends on time. How do I specify the example as an ODESystem using ModelingToolkit? So far I tried: u…

---

## [Getting the Github all checks pass green mark even if CodeCov decreased](https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 3:34pm UTC](https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264 "2022-01-10T15:34:00Z")

</div>

Is there a way to not make CodeCov decreases result in this red cross that Github displays? See figure for an example. All tests pass, documentation builds fine, but CodeCov coverage decreased by a few percent and now yo…

---

## [Failed to Precompile MLDatasets or HDF5](https://discourse.julialang.org/t/failed-to-precompile-mldatasets-or-hdf5/74339)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 2:30pm UTC](https://discourse.julialang.org/t/failed-to-precompile-mldatasets-or-hdf5/74339 "2022-01-10T14:30:57Z")

</div>

Hi, I get the following error when I tried to load MLDatasets package. A similar error occurs when trying to load HDF5 package as well ! I am using a mac with an m1 chip, perhaps this may the reason. I have also tried…

---

## [GeoStats.jl workshop at FOSS4G 2021](https://discourse.julialang.org/t/geostats-jl-workshop-at-foss4g-2021/65889)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [August 5, 2021, 1:42pm UTC](https://discourse.julialang.org/t/geostats-jl-workshop-at-foss4g-2021/65889 "2021-08-05T13:42:05Z")

</div>

FOSS4G is the largest international conference on geospatial open source software. I invite everyone to participate in the GeoStats.jl workshop therein. We will cover the basics of the Julia programming language and the…

---

## [Set default tolerance for isapprox()](https://discourse.julialang.org/t/set-default-tolerance-for-isapprox/74337)

<div class="topic-metadata">

**Author:** [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Replies:** 6\
**Last updated:** [January 10, 2022, 2:37pm UTC](https://discourse.julialang.org/t/set-default-tolerance-for-isapprox/74337 "2022-01-10T14:37:16Z")

</div>

How can I define isapprox() for a type such that I can set a default tolerance but the user can override it if required? struct MyType v::Float64 end Base.isapprox(x::MyType, y::MyType) = isapprox(x.v, y.v, atol=10e-…

---

## [How to use cookies with HTTP.jl](https://discourse.julialang.org/t/how-to-use-cookies-with-http-jl/74261)

<div class="topic-metadata">

**Author:** [@donk\_fish](https://discourse.julialang.org/u/donk_fish)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 2:18pm UTC](https://discourse.julialang.org/t/how-to-use-cookies-with-http-jl/74261 "2022-01-10T14:18:29Z")

</div>

I can’t for the life of me figure out how to successfully scrape a website where I need to login in order to access. In my browser there’s 4 request cookies (by inspecting an arbitrary GET request) { “Request Cookies”…

---

## [Numbering formulas](https://discourse.julialang.org/t/numbering-formulas/73557)

<div class="topic-metadata">

**Author:** [@ga72kud](https://discourse.julialang.org/u/ga72kud)\
**Replies:** 7\
**Last updated:** [January 10, 2022, 1:52pm UTC](https://discourse.julialang.org/t/numbering-formulas/73557 "2022-01-10T13:52:07Z")

</div>

Hi I am new to Julia and want to write latex code like here md""" Here's some inline maths: $\\sqrt\[n\]{1 + x + x^2 + \\ldots}$. Here's an equation: $\\frac{n!}{k!(n - k)!} = \\binom{n}{k}$ This is the binomial coeffi…

---

## [Cleanest way to generate all combinations of n arrays](https://discourse.julialang.org/t/cleanest-way-to-generate-all-combinations-of-n-arrays/20127)

<div class="topic-metadata">

**Author:** [@srb](https://discourse.julialang.org/u/srb)\
**Replies:** 17\
**Last updated:** [January 10, 2022, 1:49pm UTC](https://discourse.julialang.org/t/cleanest-way-to-generate-all-combinations-of-n-arrays/20127 "2022-01-10T13:49:38Z")

</div>

What I am trying to get is all the possible values given an array \[0, 1, 2\] and a number n. The result for n=3 would be: \[0,0,0\] \[0,0,1\], \[0,0,2\] \[0,1,0\] ... \[2,2,2\] So basically all the numbers in base 3 given as sepa…

---

## [VSCode Notebook using with system image generated from PackageCompiler](https://discourse.julialang.org/t/vscode-notebook-using-with-system-image-generated-from-packagecompiler/74315)

<div class="topic-metadata">

**Author:** [@Timothy](https://discourse.julialang.org/u/Timothy)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 12:13am UTC](https://discourse.julialang.org/t/vscode-notebook-using-with-system-image-generated-from-packagecompiler/74315 "2022-01-10T00:13:20Z")

</div>

I love the new process for building a system image with PackageCompiler in VSCode - it has worked very well for me using the VSCode editor. Can I start a VSCode Notebook with the system image pre-loaded so that I can sp…

---

## [How to get version number from Package compiled into System Image?](https://discourse.julialang.org/t/how-to-get-version-number-from-package-compiled-into-system-image/58687)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 0\
**Last updated:** [April 6, 2021, 2:48pm UTC](https://discourse.julialang.org/t/how-to-get-version-number-from-package-compiled-into-system-image/58687 "2021-04-06T14:48:53Z")

</div>

If I use PackageCompiler.jl to add a package to my system image, how can I get the version number of the package that was compiled? I’m aware of PkgVersion.jl, but I believe this is only returning the version number fou…

---

## [Apps with PackageCompiler - errors with examples in documentation](https://discourse.julialang.org/t/apps-with-packagecompiler-errors-with-examples-in-documentation/66745)

<div class="topic-metadata">

**Author:** [@lwhitefox](https://discourse.julialang.org/u/lwhitefox)\
**Replies:** 0\
**Last updated:** [August 20, 2021, 7:48pm UTC](https://discourse.julialang.org/t/apps-with-packagecompiler-errors-with-examples-in-documentation/66745 "2021-08-20T19:48:05Z")

</div>

I’m attempting to learn to use PackageCompiler to make apps, using the instructions here (with a direct copy of the example code). The app building steps work (if slowly), but when attempting to run the demo app on MacO…

---

## [Does the NPM faker/colors story relate to/affect the Julia package system?](https://discourse.julialang.org/t/does-the-npm-faker-colors-story-relate-to-affect-the-julia-package-system/74330)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 1\
**Last updated:** [January 10, 2022, 12:36pm UTC](https://discourse.julialang.org/t/does-the-npm-faker-colors-story-relate-to-affect-the-julia-package-system/74330 "2022-01-10T12:36:51Z")

</div>

I stumbled across this article, where it was reported that the developer of popular NPM packages colors and faker decided to go rogue and deliberately destroy the usability of their packages. Since many packages depend o…

---

## [Weave: how to get different output for notebook vs html](https://discourse.julialang.org/t/weave-how-to-get-different-output-for-notebook-vs-html/74187)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 1\
**Last updated:** [January 10, 2022, 12:18pm UTC](https://discourse.julialang.org/t/weave-how-to-get-different-output-for-notebook-vs-html/74187 "2022-01-10T12:18:01Z")

</div>

I am using Weave to generate various literate outputs from julia code. Depending on the output i want slightly different code to run. Interact.jl doesn’t work in HTML output, but does work in jupyter. So for my intera…

---

## [Way to get default color order in Plots.jl?](https://discourse.julialang.org/t/way-to-get-default-color-order-in-plots-jl/12643)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 10\
**Last updated:** [January 10, 2022, 12:11pm UTC](https://discourse.julialang.org/t/way-to-get-default-color-order-in-plots-jl/12643 "2022-01-10T12:11:59Z")

</div>

If you’re using pgfplots() through Plots.jl the colors are not the obvious ones you think they would be (i.e. :blue, :red, :green)? Is there a way to get the default color order within the Plots.jl framework? By pictu…

---

## [Exception when download(url) for CSV file](https://discourse.julialang.org/t/exception-when-download-url-for-csv-file/74325)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 4\
**Last updated:** [January 10, 2022, 11:50am UTC](https://discourse.julialang.org/t/exception-when-download-url-for-csv-file/74325 "2022-01-10T11:50:20Z")

</div>

Hello I tried to download a CSV file from a certain URL. It triggers an exceptions, as show below. In Python, using Pandas, there is no problem to donwload this file. I could download the same file from my GitHup rep…

---

## [\[CoordinateTransformations.jl + Meshes.jl + Rotations.jl\] Design for mixed 3d homogeneous and cartesian meshes](https://discourse.julialang.org/t/coordinatetransformations-jl-meshes-jl-rotations-jl-design-for-mixed-3d-homogeneous-and-cartesian-meshes/74288)

<div class="topic-metadata">

**Author:** [@rvezy](https://discourse.julialang.org/u/rvezy)\
**Replies:** 6\
**Last updated:** [January 10, 2022, 11:08am UTC](https://discourse.julialang.org/t/coordinatetransformations-jl-meshes-jl-rotations-jl-design-for-mixed-3d-homogeneous-and-cartesian-meshes/74288 "2022-01-10T11:08:57Z")

</div>

TL;DR Cartesian meshes seems to be the standard in Julia (Meshes.jl, Rotations.jl…). I read files using 4x4 matrices, should I: define my own transformation in CoordinateTransformations.jl that takes a Point3 in and a …

---

## [Deciphering unicode chars](https://discourse.julialang.org/t/deciphering-unicode-chars/74321)

<div class="topic-metadata">

**Author:** [@jonoke](https://discourse.julialang.org/u/jonoke)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 10:20am UTC](https://discourse.julialang.org/t/deciphering-unicode-chars/74321 "2022-01-10T10:20:16Z")

</div>

In \[https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm#L23\] there are definitions that group various characters. In the browser, and when I copy that line to my editor, most of the characters are displ…

---

## [How to disable documentation tip on hover?](https://discourse.julialang.org/t/how-to-disable-documentation-tip-on-hover/74199)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 8:46am UTC](https://discourse.julialang.org/t/how-to-disable-documentation-tip-on-hover/74199 "2022-01-10T08:46:04Z")

</div>

Is there a way to disable or delay documentation tip on hover ? VSCode has an option Editor \> Hover: Delay but this would slow down also the hover of the output of command, while I want disable or slow down visualisati…

---

## [ML and data science: read about the dark side](https://discourse.julialang.org/t/ml-and-data-science-read-about-the-dark-side/74314)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 8:14am UTC](https://discourse.julialang.org/t/ml-and-data-science-read-about-the-dark-side/74314 "2022-01-10T08:14:33Z")

</div>

Just read Cathy O’Neil’s “Weapons of math destruction”. Highly recommended to all aficionados of ML and DS. A sobering read… Uncannily prescient (read the bits about the manipulation of elections).

---

## [How do I fit generalised linear multilevel models including offsets?](https://discourse.julialang.org/t/how-do-i-fit-generalised-linear-multilevel-models-including-offsets/74286)

<div class="topic-metadata">

**Author:** [@timbp](https://discourse.julialang.org/u/timbp)\
**Replies:** 9\
**Last updated:** [January 10, 2022, 6:00am UTC](https://discourse.julialang.org/t/how-do-i-fit-generalised-linear-multilevel-models-including-offsets/74286 "2022-01-10T06:00:16Z")

</div>

I first heard of Julia a couple of years ago. It was presented as an alternative to R, SAS, and Stata. I had a look and I really liked it.The syntax just made sense. I could see where I might need to go to other languag…

---

## [Adomian polynomials](https://discourse.julialang.org/t/adomian-polynomials/74291)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 4:51am UTC](https://discourse.julialang.org/t/adomian-polynomials/74291 "2022-01-10T04:51:48Z")

</div>

Hi Everyone, I’d like to solve some ODEs using Adomian decomposition (which opens up approaches to model distributed delays, etc.) for a repository of epidemiological models: https://github.com/epirecipes/sir-julia/issu…

---

## [Where is "Vector", "Matrix" printed in \`typeof(::AbstractArray)\`](https://discourse.julialang.org/t/where-is-vector-matrix-printed-in-typeof-abstractarray/74299)

<div class="topic-metadata">

**Author:** [@tfiers](https://discourse.julialang.org/u/tfiers)\
**Replies:** 7\
**Last updated:** [January 9, 2022, 10:37pm UTC](https://discourse.julialang.org/t/where-is-vector-matrix-printed-in-typeof-abstractarray/74299 "2022-01-09T22:37:57Z")

</div>

I am looking for the code from Base that prints Vector or Matrix for a Vector or Matrix, and Array otherwise. I tried to track it down, and this seems to happen in typeof(::AbstractArray); but I can’t inspect that functi…

---

## [Is there a file watchdog concept in julia](https://discourse.julialang.org/t/is-there-a-file-watchdog-concept-in-julia/74316)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 1:18am UTC](https://discourse.julialang.org/t/is-there-a-file-watchdog-concept-in-julia/74316 "2022-01-10T01:18:42Z")

</div>

Hi All I am experimenting with some thoughts about how I want to use julia. One of them is to keep an eye on a directory and watch for interesting events. Some examples file creation file deletion file modification fi…

---

## [Application of Julia in Operation Research and Supply Chain](https://discourse.julialang.org/t/application-of-julia-in-operation-research-and-supply-chain/74300)

<div class="topic-metadata">

**Author:** [@jaafar\_ballout](https://discourse.julialang.org/u/jaafar_ballout)\
**Replies:** 4\
**Last updated:** [January 10, 2022, 12:21am UTC](https://discourse.julialang.org/t/application-of-julia-in-operation-research-and-supply-chain/74300 "2022-01-10T00:21:29Z")

</div>

Here, I am attaching the links for some posts that I found helpful to introduce Julia to Supply chain and operation research in general. Any books that cover this topic in a more detailed way?

---

## [Implementation of composite quantile loss for Flux](https://discourse.julialang.org/t/implementation-of-composite-quantile-loss-for-flux/73978)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 7\
**Last updated:** [January 9, 2022, 10:55pm UTC](https://discourse.julialang.org/t/implementation-of-composite-quantile-loss-for-flux/73978 "2022-01-09T22:55:27Z")

</div>

The composite quantile loss for a set of quantiles can be defined as \\sum\_i \\sum\_ j (p\_j - 1\\{y\_i \< q\_{ji}\\}) (y\_i - q\_{ji}) where p\_j \\in(0,1) denote the j-th quantile level/probability, y\_i the i-th target/observa…

---

## [VSCode Debugging Question](https://discourse.julialang.org/t/vscode-debugging-question/74301)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 1\
**Last updated:** [January 9, 2022, 10:32pm UTC](https://discourse.julialang.org/t/vscode-debugging-question/74301 "2022-01-09T22:32:04Z")

</div>

I’m not sure I am doing this properly - maybe I am missing something and someone wiser than me can steer me right. I am using Julia 1.6.2 in VsCode 1.63.2 on Windows Subsystem for Linux 1 (WSL1), running Ubuntu. When I …

---

## [Julia, julia , julia](https://discourse.julialang.org/t/julia-julia-julia/61133)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 25\
**Last updated:** [January 9, 2022, 10:23pm UTC](https://discourse.julialang.org/t/julia-julia-julia/61133 "2022-01-09T22:23:06Z")

</div>

…until we will reach 1 billion of users, “Julia” is a bad name for a programming language… uuuhhaaaaaa!!! Edit: here it is the correct link to the documentation of the Hypergeometric distribution in the Distributio…

---

## [Plots.jl series\_annotations in log space?](https://discourse.julialang.org/t/plots-jl-series-annotations-in-log-space/74265)

<div class="topic-metadata">

**Author:** [@ANasc](https://discourse.julialang.org/u/ANasc)\
**Replies:** 2\
**Last updated:** [January 9, 2022, 9:43pm UTC](https://discourse.julialang.org/t/plots-jl-series-annotations-in-log-space/74265 "2022-01-09T21:43:33Z")

</div>

I’m trying to make a simple scatter plot with annotations beside each point. The annotations plot just fine until I try to log the points and then they don’t appear at all. Does anyone know what I’m doing wrong? Thanks! …

---

## [What are the "limitations" of CUDA.jl relative to CPU code and where are they rooted](https://discourse.julialang.org/t/what-are-the-limitations-of-cuda-jl-relative-to-cpu-code-and-where-are-they-rooted/74256)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 1\
**Last updated:** [January 9, 2022, 9:41pm UTC](https://discourse.julialang.org/t/what-are-the-limitations-of-cuda-jl-relative-to-cpu-code-and-where-are-they-rooted/74256 "2022-01-09T21:41:05Z")

</div>

Recently got my hands on an entry-level Nvidia GPU, so I started reading through the CUDA.jl docs and some related (and possibly outdated) articles. I definitely noticed that it can get very different from CPU code, and …

---

## [TimeArray and last don't play well together](https://discourse.julialang.org/t/timearray-and-last-dont-play-well-together/74296)

<div class="topic-metadata">

**Author:** [@JackStrauss](https://discourse.julialang.org/u/JackStrauss)\
**Replies:** 5\
**Last updated:** [January 9, 2022, 9:10pm UTC](https://discourse.julialang.org/t/timearray-and-last-dont-play-well-together/74296 "2022-01-09T21:10:01Z")

</div>

Hi all I am puzzled as to why TimeArray does not fully work with last() using Dates, TimeSeries dates = Date(2018, 1, 1):Day(1):Date(2018, 12, 31) ta = TimeArray(dates, rand(length(dates))) then last(ta) works but las…

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

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