# Latest

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

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

**Page:** 1156

---

## [I need to do a license compliance check on my dependencies](https://discourse.julialang.org/t/i-need-to-do-a-license-compliance-check-on-my-dependencies/50460)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 5\
**Last updated:** [January 11, 2022, 3:30am UTC](https://discourse.julialang.org/t/i-need-to-do-a-license-compliance-check-on-my-dependencies/50460 "2022-01-11T03:30:44Z")

</div>

I’m struggling with the Pkg API. I want to generate a list of all julia packages and I guess artifact software that may have been installed and obtain the name, version, git URL, and license name. Is there an easy way …

---

## [LSTM - Scaling training data MinMaxScaler Flux alternative](https://discourse.julialang.org/t/lstm-scaling-training-data-minmaxscaler-flux-alternative/74323)

<div class="topic-metadata">

**Author:** [@Jan\_Svanda](https://discourse.julialang.org/u/Jan_Svanda)\
**Replies:** 2\
**Last updated:** [January 11, 2022, 3:28am UTC](https://discourse.julialang.org/t/lstm-scaling-training-data-minmaxscaler-flux-alternative/74323 "2022-01-11T03:28:37Z")

</div>

I try to build a model of a dynamic system very similar to Using PyTorch based LSTM to model nonlinear dynamic systems using Flux in Julia. I need to scale the train/test date to (-1,1) but I didn’t find a scaling functi…

---

## [Help needed with Zygote Flux and custom adjoints on GPU](https://discourse.julialang.org/t/help-needed-with-zygote-flux-and-custom-adjoints-on-gpu/74326)

<div class="topic-metadata">

**Author:** [@TsurHerman](https://discourse.julialang.org/u/TsurHerman)\
**Replies:** 1\
**Last updated:** [January 11, 2022, 3:27am UTC](https://discourse.julialang.org/t/help-needed-with-zygote-flux-and-custom-adjoints-on-gpu/74326 "2022-01-11T03:27:30Z")

</div>

I am incorporating some simple non-standard elements in a larger DNN. To achieve this I had to manually define some reverse rules through ChainRulesCore syntax ChainRulesCore.rrule(::typeof(f),args...) Which works gre…

---

## [Plotting from a server](https://discourse.julialang.org/t/plotting-from-a-server/74345)

<div class="topic-metadata">

**Author:** [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Replies:** 4\
**Last updated:** [January 11, 2022, 2:02am UTC](https://discourse.julialang.org/t/plotting-from-a-server/74345 "2022-01-11T02:02:39Z")

</div>

I just opened an issue asking how to use GR without graphical server (https://github.com/jheinen/GR.jl/issues/442) and would like to give a bit of context here. I have a Debian server on which I want to produce automatic…

---

## [How to filter data conditional on two columns](https://discourse.julialang.org/t/how-to-filter-data-conditional-on-two-columns/74173)

<div class="topic-metadata">

**Author:** [@xinchin](https://discourse.julialang.org/u/xinchin)\
**Replies:** 17\
**Last updated:** [January 11, 2022, 1:01am UTC](https://discourse.julialang.org/t/how-to-filter-data-conditional-on-two-columns/74173 "2022-01-11T01:01:53Z")

</div>

I’ve a dataframe which has the information about money transactions between customers in each region. I like to filter customers in each region which both receive and send money to each other. suppose from and to are c…

---

## [Plot marker colors to match the data values](https://discourse.julialang.org/t/plot-marker-colors-to-match-the-data-values/74367)

<div class="topic-metadata">

**Author:** [@kubouch](https://discourse.julialang.org/u/kubouch)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 11:11pm UTC](https://discourse.julialang.org/t/plot-marker-colors-to-match-the-data-values/74367 "2022-01-10T23:11:09Z")

</div>

Hi, I’m still new to Julia and I have a seemingly simple task that I haven’t been able to figure out: Display a group of RGB pixels as a 3D plot with r, g, b components as values on x, y, z axes (I’ve done that). Selec…

---

## [How do I find if an object is a Struct, a Dictionary or a NamedTuple?](https://discourse.julialang.org/t/how-do-i-find-if-an-object-is-a-struct-a-dictionary-or-a-namedtuple/74364)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 3\
**Last updated:** [January 10, 2022, 10:27pm UTC](https://discourse.julialang.org/t/how-do-i-find-if-an-object-is-a-struct-a-dictionary-or-a-namedtuple/74364 "2022-01-10T22:27:39Z")

</div>

I wrote simple functions that print structs, dictionaries and named tuples nicely. I would like to write a function that takes a vector and prints each element, calling one of these three functions if the element is a st…

---

## [Model weights dense](https://discourse.julialang.org/t/model-weights-dense/74349)

<div class="topic-metadata">

**Author:** [@Sumanth](https://discourse.julialang.org/u/Sumanth)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 10:21pm UTC](https://discourse.julialang.org/t/model-weights-dense/74349 "2022-01-10T22:21:48Z")

</div>

Error : type Dense has no field weight, What is going wrong?

---

## [German article about Julia (Golem)](https://discourse.julialang.org/t/german-article-about-julia-golem/69676)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 1\
**Last updated:** [January 10, 2022, 9:48pm UTC](https://discourse.julialang.org/t/german-article-about-julia-golem/69676 "2022-01-10T21:48:24Z")

</div>

I just saw that golem.de has a new four page article about Julia. It is currently also the top/first article on their website :wink: and covers a general description as well as an overview of IDE and notebook systems. A…

---

## [Readdlm command issue](https://discourse.julialang.org/t/readdlm-command-issue/45303)

<div class="topic-metadata">

**Author:** [@AnirudhBhaskar21](https://discourse.julialang.org/u/AnirudhBhaskar21)\
**Replies:** 8\
**Last updated:** [January 10, 2022, 9:24pm UTC](https://discourse.julialang.org/t/readdlm-command-issue/45303 "2022-01-10T21:24:21Z")

</div>

Im new to julia and im having this issue. Im using julia version 1.4.2 running on Jupyter. Code using LinearAlgebra,Plots using DelimitedFiles,SparseArrays Retriving data in text file to an array y = readdlm(“data…

---

## [Want to say 'Hello' as a new member](https://discourse.julialang.org/t/want-to-say-hello-as-a-new-member/74210)

<div class="topic-metadata">

**Author:** [@Minumsand](https://discourse.julialang.org/u/Minumsand)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 9:16pm UTC](https://discourse.julialang.org/t/want-to-say-hello-as-a-new-member/74210 "2022-01-10T21:16:24Z")

</div>

Hello to everyone Today I signed up for Discourse at Julialang. Just wanted to say Hello :slightly\_smiling\_face: to the other community members. I’m happy that I have heard about and read about the Julia language and …

---

## [VS code plot pane won't stay splitted](https://discourse.julialang.org/t/vs-code-plot-pane-wont-stay-splitted/72051)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 16\
**Last updated:** [January 10, 2022, 8:40pm UTC](https://discourse.julialang.org/t/vs-code-plot-pane-wont-stay-splitted/72051 "2022-01-10T20:40:30Z")

</div>

Recently (past week or so), I noticed a change of behavior in how VS Code Julia plot pane displayed figures. Before it looked like that every time I plotted a new figure But now when I Shift+Enter inline plot, it pr…

---

## [Improved installation for diffeqpy and similar packages](https://discourse.julialang.org/t/improved-installation-for-diffeqpy-and-similar-packages/74350)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 7:44pm UTC](https://discourse.julialang.org/t/improved-installation-for-diffeqpy-and-similar-packages/74350 "2022-01-10T19:44:24Z")

</div>

Here is an alternative, more user friendly, packaging of diffeqpy. (diffeqpy allows calling DifferentialEquations.jl from Python): https://github.com/jlapeyre/diffeq\_julia If you use diffeqpy, please give this a try. I…

---

## [Nexus Repository Package Manager Support](https://discourse.julialang.org/t/nexus-repository-package-manager-support/74358)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 0\
**Last updated:** [January 10, 2022, 8:10pm UTC](https://discourse.julialang.org/t/nexus-repository-package-manager-support/74358 "2022-01-10T20:10:47Z")

</div>

Our enterprise FOSS managers I believe use Nexus repository manager to support Python and other FOSS tool package managers. Any idea if it is easy to get Julia on that list of supported languages? It would really help …

---

## [Change xticks in Makie.jl recipe](https://discourse.julialang.org/t/change-xticks-in-makie-jl-recipe/68810)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 7:54pm UTC](https://discourse.julialang.org/t/change-xticks-in-makie-jl-recipe/68810 "2022-01-10T19:54:09Z")

</div>

How can I set the xticks in this recipe? import Dates import TimeSeries using CairoMakie using PlotUtils: optimize\_datetime\_ticks dates = Dates.DateTime(2018, 1, 1):Dates.Day(1):Dates.DateTime(2018, 12, 31) data = Time…

---

## [Oscillating loss curves using sciml\_train](https://discourse.julialang.org/t/oscillating-loss-curves-using-sciml-train/74225)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 2\
**Last updated:** [January 10, 2022, 7:10pm UTC](https://discourse.julialang.org/t/oscillating-loss-curves-using-sciml-train/74225 "2022-01-10T19:10:01Z")

</div>

I’ve been trying to adapt one of the examples from Chris Rackauckas’s UDE paper, with the code here to a slightly more complicated form of equations and am running into difficulties with oscillatory loss curves. In his e…

---

## ["Plot not defined" when attempting to add slider bars](https://discourse.julialang.org/t/plot-not-defined-when-attempting-to-add-slider-bars/74251)

<div class="topic-metadata">

**Author:** [@CentraCep](https://discourse.julialang.org/u/CentraCep)\
**Replies:** 8\
**Last updated:** [January 10, 2022, 6:53pm UTC](https://discourse.julialang.org/t/plot-not-defined-when-attempting-to-add-slider-bars/74251 "2022-01-10T18:53:22Z")

</div>

I am learning how to create plots with slider bars. Here is my code based off the first example of this tutorial function plotLaneEmden(log\_delta\_xi=-4, n=3) fig = Figure() ax = Axis(fig\[1, 1\]) sl\_x = Slider…

---

## [Notification of breaking changes in Makie?](https://discourse.julialang.org/t/notification-of-breaking-changes-in-makie/74281)

<div class="topic-metadata">

**Author:** [@tt1234567](https://discourse.julialang.org/u/tt1234567)\
**Replies:** 5\
**Last updated:** [January 10, 2022, 6:37pm UTC](https://discourse.julialang.org/t/notification-of-breaking-changes-in-makie/74281 "2022-01-10T18:37:09Z")

</div>

Is there an easy way of getting notice of breaking changes in Makie? I do a regular \]update and today GLMakie was updated to 0.5.0 and my code no longer worked. It turned out to be straightforward to fix (replace Node wi…

---

## [How to connect MS Access to Julia using JDBC.jl](https://discourse.julialang.org/t/how-to-connect-ms-access-to-julia-using-jdbc-jl/74151)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 11\
**Last updated:** [January 10, 2022, 6:28pm UTC](https://discourse.julialang.org/t/how-to-connect-ms-access-to-julia-using-jdbc-jl/74151 "2022-01-10T18:28:58Z")

</div>

Hey guys! I’m trying to pull data from Access to Julia using an example I found, but it’s not working. using JDBC using Access #In the example the Access is being called as if it were a pkg #To start it, add the datab…

---

## [Wrong answer with NonLinear Optimization in JuMP](https://discourse.julialang.org/t/wrong-answer-with-nonlinear-optimization-in-jump/74304)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 13\
**Last updated:** [January 10, 2022, 6:19pm UTC](https://discourse.julialang.org/t/wrong-answer-with-nonlinear-optimization-in-jump/74304 "2022-01-10T18:19:05Z")

</div>

Hi, I am trying to maximize a very simple function in JuMP which I can solve analytically. I am getting an optimal solution which is different from what I should get. I was hoping someone could point me to my error. Her…

---

## [Julia: How to set and use CUDA/Host Global memory](https://discourse.julialang.org/t/julia-how-to-set-and-use-cuda-host-global-memory/74247)

<div class="topic-metadata">

**Author:** [@johntrinder](https://discourse.julialang.org/u/johntrinder)\
**Replies:** 3\
**Last updated:** [January 10, 2022, 5:42pm UTC](https://discourse.julialang.org/t/julia-how-to-set-and-use-cuda-host-global-memory/74247 "2022-01-10T17:42:35Z")

</div>

I want to poll a global flag inside of a kernel in CUDA so as to shut down the kernel gracefully via the Host. How do I set up a Global flag in the host (I have tried abort=CuArray(\[false\]) ) Do I pass ‘abort’ as an ar…

---

## [Have a function field in a structure, using another field in the structure](https://discourse.julialang.org/t/have-a-function-field-in-a-structure-using-another-field-in-the-structure/74329)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 4\
**Last updated:** [January 10, 2022, 4:30pm UTC](https://discourse.julialang.org/t/have-a-function-field-in-a-structure-using-another-field-in-the-structure/74329 "2022-01-10T16:30:28Z")

</div>

I remember I could do this in Java, and wondered if there was a way to do it in Julia. E.g. I have a structure mutable struct my\_struct val::Float64 func::Function end where the function will do something with…

---

## [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…

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

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