# Latest

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

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

**Page:** 1220

---

## [Why does my neural net not learn](https://discourse.julialang.org/t/why-does-my-neural-net-not-learn/70603)

<div class="topic-metadata">

**Author:** [@Marius\_123](https://discourse.julialang.org/u/Marius_123)\
**Replies:** 3\
**Last updated:** [November 2, 2021, 10:36am UTC](https://discourse.julialang.org/t/why-does-my-neural-net-not-learn/70603 "2021-11-02T10:36:23Z")

</div>

using Flux, Statistics using Flux.Data: DataLoader using Flux: @epochs using Flux.Losses: huber\_loss, tversky\_loss, mse using Base: @kwdef using CUDA function Data\_importer() train\_x = \[0.0 0.0 0.0 0.0; 9.178257595538…

---

## [Why does \[1:3\] .^ 3 not work?](https://discourse.julialang.org/t/why-does-1-3-3-not-work/70767)

<div class="topic-metadata">

**Author:** [@sclel016](https://discourse.julialang.org/u/sclel016)\
**Replies:** 7\
**Last updated:** [November 2, 2021, 1:50pm UTC](https://discourse.julialang.org/t/why-does-1-3-3-not-work/70767 "2021-11-02T13:50:25Z")

</div>

Hi, I’m a long time Matlab user trying to make the transition to Julia. It wasn’t obvious from reading the documentation whether the following behavior was a bug or just a characteristic of the language. The following …

---

## [@edit ERROR: IOError: could not spawn \`code -g 'C:\\Users\\](https://discourse.julialang.org/t/edit-error-ioerror-could-not-spawn-code-g-c-users/70752)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 4\
**Last updated:** [November 2, 2021, 12:43pm UTC](https://discourse.julialang.org/t/edit-error-ioerror-could-not-spawn-code-g-c-users/70752 "2021-11-02T12:43:14Z")

</div>

Hi, I get julia\> @edit complex(0, 1) ERROR: IOError: could not spawn \`code -g 'C:\\Users\\xxx\\AppData\\Local\\Programs\\Julia-1.7.0-rc1\\share\\julia\\base\\complex.jl:171'\`: no such file or directory (ENOENT) Stacktrace: \[1\] …

---

## [Add deepcopy operator := to avoid bugs](https://discourse.julialang.org/t/add-deepcopy-operator-to-avoid-bugs/70793)

<div class="topic-metadata">

**Author:** [@martin.demare](https://discourse.julialang.org/u/martin.demare)\
**Replies:** 7\
**Last updated:** [November 2, 2021, 11:41am UTC](https://discourse.julialang.org/t/add-deepcopy-operator-to-avoid-bugs/70793 "2021-11-02T11:41:20Z")

</div>

When doing everyday data analysis, avoiding bugs is often more time saving than having great code performance. One of my reoccurring bugs is that I forget that z=x doesn’t create a copy of x if x is an array. Therefo…

---

## [IJulia loadError,failed precompile](https://discourse.julialang.org/t/ijulia-loaderror-failed-precompile/70800)

<div class="topic-metadata">

**Author:** [@Akiva](https://discourse.julialang.org/u/Akiva)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 11:12am UTC](https://discourse.julialang.org/t/ijulia-loaderror-failed-precompile/70800 "2021-11-02T11:12:04Z")

</div>

Have been trying to use IJulia, but receive Error. Checked with status and package exists, tried build() and update(). Can someone help? This is the message I receive: \[ Info: Precompiling IJulia \[7073ff75-c697-5162-9…

---

## [Makie.jl: right align colorbar ticklabel](https://discourse.julialang.org/t/makie-jl-right-align-colorbar-ticklabel/70787)

<div class="topic-metadata">

**Author:** [@Kevin\_Kleinbeck](https://discourse.julialang.org/u/Kevin_Kleinbeck)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 8:35am UTC](https://discourse.julialang.org/t/makie-jl-right-align-colorbar-ticklabel/70787 "2021-11-02T08:35:58Z")

</div>

Cheers. Consider the figure: I aim to align the tick labels of the colorbar on the right. This happens with ticklabelalign = (:right, :center); however then the tick labels lie within the colorbar. To fix this, I r…

---

## [Genie multi-instance](https://discourse.julialang.org/t/genie-multi-instance/70798)

<div class="topic-metadata">

**Author:** [@HANHAOHAN](https://discourse.julialang.org/u/HANHAOHAN)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 10:55am UTC](https://discourse.julialang.org/t/genie-multi-instance/70798 "2021-11-02T10:55:51Z")

</div>

How to use Genie multiprocess or multithread to use multi-core cpu

---

## [VSCode and Jupyter notebook?](https://discourse.julialang.org/t/vscode-and-jupyter-notebook/70797)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 10:53am UTC](https://discourse.julialang.org/t/vscode-and-jupyter-notebook/70797 "2021-11-02T10:53:00Z")

</div>

I’m on Windows 11 (latest update, 64bit), Julia v1.6.3 (just updated everything), and have updated VS Code with extensions. I have imported a Jupyter notebook into VS Code, and try to run it (for some reason, this crash…

---

## [Bash completions for Julia](https://discourse.julialang.org/t/bash-completions-for-julia/70795)

<div class="topic-metadata">

**Author:** [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 10:35am UTC](https://discourse.julialang.org/t/bash-completions-for-julia/70795 "2021-11-02T10:35:43Z")

</div>

I bundled up my local Bash completions for Julia in a repository since I think it might be useful for others: fredrikekre/julia-completions. The completions are fairly “smart” and, for example, only complete \*.toml files…

---

## [Add "version" command to pkg](https://discourse.julialang.org/t/add-version-command-to-pkg/70549)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 15\
**Last updated:** [November 2, 2021, 10:26am UTC](https://discourse.julialang.org/t/add-version-command-to-pkg/70549 "2021-11-02T10:26:59Z")

</div>

The current behaviour is the following: I feel that “version” is a more natural command, and that it should be added to return the same thing as “status”. It should save a lot of people trying “version” first, and the…

---

## [How to remove the vertex in Graphs or LightGraphs?](https://discourse.julialang.org/t/how-to-remove-the-vertex-in-graphs-or-lightgraphs/70789)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 3\
**Last updated:** [November 2, 2021, 10:13am UTC](https://discourse.julialang.org/t/how-to-remove-the-vertex-in-graphs-or-lightgraphs/70789 "2021-11-02T10:13:13Z")

</div>

julia\> myedges = \[ 1 =\> 2, 1 =\> 3, 2 =\> 1, 2 =\> 3, 3 =\> 1, 3 =\> 2, 3 =\> 4, 4 =\> 3, 4 =\> 8, 4 =\> 13, 5 =\> 6, 6 =\> 5, 7 =\> 8,…

---

## [Image is upside down using Plots.plot](https://discourse.julialang.org/t/image-is-upside-down-using-plots-plot/29637)

<div class="topic-metadata">

**Author:** [@helloBrisbane](https://discourse.julialang.org/u/helloBrisbane)\
**Replies:** 6\
**Last updated:** [November 2, 2021, 9:53am UTC](https://discourse.julialang.org/t/image-is-upside-down-using-plots-plot/29637 "2021-11-02T09:53:35Z")

</div>

hi Guys, I am trying to use Plots.plot to save images in REPL on ubuntu. However it always save the picture upside down even if I have not do anything on the image yet. Please help. julia Version 1.1.1 (2019-05-16) u…

---

## [Solving semilinear ODE with changing linear operator](https://discourse.julialang.org/t/solving-semilinear-ode-with-changing-linear-operator/70747)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [November 1, 2021, 8:47pm UTC](https://discourse.julialang.org/t/solving-semilinear-ode-with-changing-linear-operator/70747 "2021-11-01T20:47:19Z")

</div>

I am trying to solve a semilinear ODE whose linear operator depends on the solution: du/dt = A(u) u + f(u,t). The “linear” operator A(u) is diagonal. I am wondering what is the best approach to solve this problem by Di…

---

## [How to enable debug level loging in code via Logging Package](https://discourse.julialang.org/t/how-to-enable-debug-level-loging-in-code-via-logging-package/70777)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 2\
**Last updated:** [November 2, 2021, 8:49am UTC](https://discourse.julialang.org/t/how-to-enable-debug-level-loging-in-code-via-logging-package/70777 "2021-11-02T08:49:01Z")

</div>

Hello, Is there a way of enable debug level logging in code via Logging api. Log level seems start from Info and other than environment variable there seems to be no way of enabling debug level in code if I am not mis…

---

## [I got the MIT MicroMaster in Statistic and Data Science :-)](https://discourse.julialang.org/t/i-got-the-mit-micromaster-in-statistic-and-data-science/70763)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [November 2, 2021, 7:50am UTC](https://discourse.julialang.org/t/i-got-the-mit-micromaster-in-statistic-and-data-science/70763 "2021-11-02T07:50:55Z")

</div>

Just happy I passed today the Capstone Exam for the MIT(x) MicroMaster in Statistics and Data Science. Very rewarding program! (conversy, the exam proctoring software was terrible)

---

## [How to design a new data type like Complex](https://discourse.julialang.org/t/how-to-design-a-new-data-type-like-complex/70718)

<div class="topic-metadata">

**Author:** [@Ruizhi\_Yang](https://discourse.julialang.org/u/Ruizhi_Yang)\
**Replies:** 8\
**Last updated:** [November 2, 2021, 7:27am UTC](https://discourse.julialang.org/t/how-to-design-a-new-data-type-like-complex/70718 "2021-11-02T07:27:34Z")

</div>

Hello, I want to design a new data type that acts like Complex. What’s amazing is that by the identifier “im”, Julia compiler could recognize for example 1+1im as a complex number. That looks like a special form of stru…

---

## [HDF5Plugins.jl: lz4, zstd, and bzip2 support for HDF5.jl](https://discourse.julialang.org/t/hdf5plugins-jl-lz4-zstd-and-bzip2-support-for-hdf5-jl/70783)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 1\
**Last updated:** [November 2, 2021, 7:14am UTC](https://discourse.julialang.org/t/hdf5plugins-jl-lz4-zstd-and-bzip2-support-for-hdf5-jl/70783 "2021-11-02T07:14:29Z")

</div>

I am happy to announce the release of HDF5Plugins.jl which adds lz4, zstd, and bzip2 filter support to HDF5.jl. These are implemented by porting the original C code of the plugin glue code to Julia. The plugins register …

---

## [\[ANN\] Mongoc.jl v0.4.0 - a MongoDB driver for Julia](https://discourse.julialang.org/t/ann-mongoc-jl-v0-4-0-a-mongodb-driver-for-julia/26913)

<div class="topic-metadata">

**Author:** [@felipenoris](https://discourse.julialang.org/u/felipenoris)\
**Replies:** 4\
**Last updated:** [November 2, 2021, 6:16am UTC](https://discourse.julialang.org/t/ann-mongoc-jl-v0-4-0-a-mongodb-driver-for-julia/26913 "2021-11-02T06:16:28Z")

</div>

Hi! Mongoc.jl v0.4.0 is out! It now supports GridFS API, which is something similar to a AWS S3 Bucket. And also BSON serialization. To install it, just type: pkg\> add Mongoc Cheers!

---

## [Hypatia -- JuMP](https://discourse.julialang.org/t/hypatia-jump/70717)

<div class="topic-metadata">

**Author:** [@geo](https://discourse.julialang.org/u/geo)\
**Replies:** 4\
**Last updated:** [November 2, 2021, 6:12am UTC](https://discourse.julialang.org/t/hypatia-jump/70717 "2021-11-02T06:12:07Z")

</div>

I know that JuMP does not support BigFloat; however Hypatia does. Is it possible to define a problem in JuMP, in Float64, but cause Hypatia to carry out the optimization in BigFloat? I am working on a problem, where the …

---

## [Periodic cost function for JuMP](https://discourse.julialang.org/t/periodic-cost-function-for-jump/70760)

<div class="topic-metadata">

**Author:** [@sefffal](https://discourse.julialang.org/u/sefffal)\
**Replies:** 6\
**Last updated:** [November 2, 2021, 1:57am UTC](https://discourse.julialang.org/t/periodic-cost-function-for-jump/70760 "2021-11-02T01:57:22Z")

</div>

Hello, I am trying to model a tricky optimization problem using JuMP. Exposition: I am trying to manufacture something a bit like a Fresnel lens. I have a continuous function of height vs x & y position, but we can on…

---

## [The Atlantic (Magazine) Marketing Manager, Quality Assurance (QA)](https://discourse.julialang.org/t/the-atlantic-magazine-marketing-manager-quality-assurance-qa/70775)

<div class="topic-metadata">

**Author:** [@AntonoK](https://discourse.julialang.org/u/AntonoK)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 1:45am UTC](https://discourse.julialang.org/t/the-atlantic-magazine-marketing-manager-quality-assurance-qa/70775 "2021-11-02T01:45:48Z")

</div>

I’m currently hiring for a new role and I’m looking for candidates with an interest in Julia. I’m the only day to day Julia user at The Atlantic but there is some interest from other teams to use it more. The full job po…

---

## [How to access S3 compatible CEPH bucket?](https://discourse.julialang.org/t/how-to-access-s3-compatible-ceph-bucket/70186)

<div class="topic-metadata">

**Author:** [@anon28281882](https://discourse.julialang.org/u/anon28281882)\
**Replies:** 4\
**Last updated:** [November 2, 2021, 1:31am UTC](https://discourse.julialang.org/t/how-to-access-s3-compatible-ceph-bucket/70186 "2021-11-02T01:31:11Z")

</div>

Hi, Is there any recommended way to access S3 compatible CEPH bucket and send and receive a file? What would be the best way to do it? AWS.jl, or are there maybe any other packages? Are there maybe any examples apart to …

---

## [How can I parallelize my Neural Network training](https://discourse.julialang.org/t/how-can-i-parallelize-my-neural-network-training/70771)

<div class="topic-metadata">

**Author:** [@oijoij](https://discourse.julialang.org/u/oijoij)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 1:05am UTC](https://discourse.julialang.org/t/how-can-i-parallelize-my-neural-network-training/70771 "2021-11-02T01:05:05Z")

</div>

Hello, new here. Sorry if I make any mistakes. I am currently trying to train a Neural Network to approximate a function. However it is not fast enough, and I think the most obvious gains can come from parallelizing. S…

---

## [I have a hard time finding a good "upfirdn"](https://discourse.julialang.org/t/i-have-a-hard-time-finding-a-good-upfirdn/66540)

<div class="topic-metadata">

**Author:** [@psteffensen](https://discourse.julialang.org/u/psteffensen)\
**Replies:** 6\
**Last updated:** [November 2, 2021, 12:52am UTC](https://discourse.julialang.org/t/i-have-a-hard-time-finding-a-good-upfirdn/66540 "2021-11-02T00:52:29Z")

</div>

Hi, I am translating some code from Matlab to Julia and can’t find an equvalent to upfirdn. The only working option I have is to use PyCall and use the Python (SciPy) version. Like this: scipy\_signal = pyimport("scipy.…

---

## [Starting to program for Cuda do I have to load the drivers](https://discourse.julialang.org/t/starting-to-program-for-cuda-do-i-have-to-load-the-drivers/70676)

<div class="topic-metadata">

**Author:** [@anon69491625](https://discourse.julialang.org/u/anon69491625)\
**Replies:** 3\
**Last updated:** [November 1, 2021, 10:59pm UTC](https://discourse.julialang.org/t/starting-to-program-for-cuda-do-i-have-to-load-the-drivers/70676 "2021-11-01T22:59:39Z")

</div>

Hi there new to julia and cuda. Have loaded Linux Mint 20.2 and using the OPENSOURCE drivers for a Nvidia k5000 board. Graphics: Device-1: NVIDIA GK104GL \[Quadro K5000\] vendor: Hewlett-Packard driver: nouveau v: kern…

---

## [Polygon area on geoid](https://discourse.julialang.org/t/polygon-area-on-geoid/9107)

<div class="topic-metadata">

**Author:** [@mafla](https://discourse.julialang.org/u/mafla)\
**Replies:** 6\
**Last updated:** [November 1, 2021, 10:42pm UTC](https://discourse.julialang.org/t/polygon-area-on-geoid/9107 "2021-11-01T22:42:03Z")

</div>

Hi all, is it possible to estimate the area of a lat-lon-box with Geodesy.jl? Many thanks!

---

## [The bin2 function](https://discourse.julialang.org/t/the-bin2-function/70488)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 7\
**Last updated:** [November 1, 2021, 9:06pm UTC](https://discourse.julialang.org/t/the-bin2-function/70488 "2021-11-01T21:06:46Z")

</div>

I am looking at a code of an early version of Julia and there is this function, bin2() that I don’t know what is it for specially I can’t see the output how can I write in Julia 1.5 ?

---

## [Inefficient compression of very large GeoTIFFs with ArchGDAL compared to gdal\_\* binaries](https://discourse.julialang.org/t/inefficient-compression-of-very-large-geotiffs-with-archgdal-compared-to-gdal-binaries/70687)

<div class="topic-metadata">

**Author:** [@NiclasMattsson](https://discourse.julialang.org/u/NiclasMattsson)\
**Replies:** 3\
**Last updated:** [November 1, 2021, 7:29pm UTC](https://discourse.julialang.org/t/inefficient-compression-of-very-large-geotiffs-with-archgdal-compared-to-gdal-binaries/70687 "2021-11-01T19:29:49Z")

</div>

I’m using ArchGDAL to save climate data as large 3D GeoTIFFs, but I’ve noticed that files created in ArchGDAL are roughly 3x larger than those created with gdal\_\* binaries. As a diagnostic I eliminated all my calculation…

---

## [Current status of nested AD](https://discourse.julialang.org/t/current-status-of-nested-ad/70753)

<div class="topic-metadata">

**Author:** [@jlmaccal](https://discourse.julialang.org/u/jlmaccal)\
**Replies:** 0\
**Last updated:** [November 1, 2021, 6:56pm UTC](https://discourse.julialang.org/t/current-status-of-nested-ad/70753 "2021-11-01T18:56:04Z")

</div>

Could anyone comment on the current status of nested AD? What works? What doesn’t? And what does the future look like? In my application, I am trying to learn a conservative vector field—that is, a vector field that is …

---

## [Get best parameters for ODE modeling in Julia](https://discourse.julialang.org/t/get-best-parameters-for-ode-modeling-in-julia/70638)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 9\
**Last updated:** [November 1, 2021, 5:20pm UTC](https://discourse.julialang.org/t/get-best-parameters-for-ode-modeling-in-julia/70638 "2021-11-01T17:20:39Z")

</div>

Hello, I have been modeling some data of bacterial growth. I have first run a regression model to obtain the growth rates of the two species of the consortium. I then need to run some ODEs using logistic growth; these a…

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

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