# Latest

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

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

**Page:** 1123

---

## [Julia CI (github actions with codecov) setup for package development](https://discourse.julialang.org/t/julia-ci-github-actions-with-codecov-setup-for-package-development/76060)

<div class="topic-metadata">

**Author:** [@bicepjai](https://discourse.julialang.org/u/bicepjai)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 9:07pm UTC](https://discourse.julialang.org/t/julia-ci-github-actions-with-codecov-setup-for-package-development/76060 "2022-02-13T21:07:33Z")

</div>

I am working on a package and trying to setup testing, code coverage for the package. Got lot of advice from the following thread Easy workflow file for setting up GitHub Actions CI for your Julia package Trying to us…

---

## [Questions about directly executing a Pluto notebook](https://discourse.julialang.org/t/questions-about-directly-executing-a-pluto-notebook/76302)

<div class="topic-metadata">

**Author:** [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)\
**Replies:** 2\
**Last updated:** [February 13, 2022, 8:11pm UTC](https://discourse.julialang.org/t/questions-about-directly-executing-a-pluto-notebook/76302 "2022-02-13T20:11:47Z")

</div>

I have several Pluto notebooks. Sometimes I want to execute them directly in Julia rather than through the Pluto server. If the notebook uses the Pluto package manager, is there a single function I can call to run the …

---

## [Return to same place on discourse page](https://discourse.julialang.org/t/return-to-same-place-on-discourse-page/76349)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 3\
**Last updated:** [February 13, 2022, 8:08pm UTC](https://discourse.julialang.org/t/return-to-same-place-on-discourse-page/76349 "2022-02-13T20:08:31Z")

</div>

When browsing discourse (on a phone), a common pattern of mine is clicking a topinc, reading it, and pressing “back” to find other topics. Some pages return you to the same scroll-depth after pressing “back”, but discour…

---

## [Trying to understand what FFT returns to me](https://discourse.julialang.org/t/trying-to-understand-what-fft-returns-to-me/76331)

<div class="topic-metadata">

**Author:** [@Abhijit\_Chowdhary](https://discourse.julialang.org/u/Abhijit_Chowdhary)\
**Replies:** 4\
**Last updated:** [February 13, 2022, 4:12pm UTC](https://discourse.julialang.org/t/trying-to-understand-what-fft-returns-to-me/76331 "2022-02-13T16:12:18Z")

</div>

Hello all, I’ve been working with the FFTW library over the past few days and am struggling to understand what exactly I have when I take the fft of some array. In particular, taking f to be some function defined over \[…

---

## [Continuous Integration with Gurobi.jl](https://discourse.julialang.org/t/continuous-integration-with-gurobi-jl/76355)

<div class="topic-metadata">

**Author:** [@davide-f](https://discourse.julialang.org/u/davide-f)\
**Replies:** 2\
**Last updated:** [February 13, 2022, 7:03pm UTC](https://discourse.julialang.org/t/continuous-integration-with-gurobi-jl/76355 "2022-02-13T19:03:31Z")

</div>

Dear Community, For a project I am developing on github, I would like to set-up the CI.yml using Gurobi.jl as a solver. I do have a license, however, it is not clear to me how to successfully install gurobi and the lic…

---

## [\[ANN\] Announcing GraphQLGen.jl](https://discourse.julialang.org/t/ann-announcing-graphqlgen-jl/76326)

<div class="topic-metadata">

**Author:** [@domluna](https://discourse.julialang.org/u/domluna)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 3:19am UTC](https://discourse.julialang.org/t/ann-announcing-graphqlgen-jl/76326 "2022-02-13T03:19:00Z")

</div>

GraphQLGen.jl is a package for generating Julia structs/functions from a GraphQL schema. Example Quick Start # Generate julia files in the GraphQLAPI directory based off all the files found in # the schemas directory. …

---

## [OutOfMemoryError() when calculating Fibonacci numbers of the order of 10^20 using the \`fibonaccinum\` function](https://discourse.julialang.org/t/outofmemoryerror-when-calculating-fibonacci-numbers-of-the-order-of-10-20-using-the-fibonaccinum-function/76268)

<div class="topic-metadata">

**Author:** [@jriveraa](https://discourse.julialang.org/u/jriveraa)\
**Replies:** 17\
**Last updated:** [February 13, 2022, 5:45pm UTC](https://discourse.julialang.org/t/outofmemoryerror-when-calculating-fibonacci-numbers-of-the-order-of-10-20-using-the-fibonaccinum-function/76268 "2022-02-13T17:45:22Z")

</div>

Using the fibonaccinum function of the Combinatorics library - installed in its latest version - on an HPC using a Linux distribution, I get an OutOfMemoryError(). The code is: using Combinatorics fibonaccinum(BigInt(1…

---

## [Channel monitoring/statistics](https://discourse.julialang.org/t/channel-monitoring-statistics/53744)

<div class="topic-metadata">

**Author:** [@pmilovanov](https://discourse.julialang.org/u/pmilovanov)\
**Replies:** 3\
**Last updated:** [February 13, 2022, 6:53pm UTC](https://discourse.julialang.org/t/channel-monitoring-statistics/53744 "2022-02-13T18:53:05Z")

</div>

Before I reinvent the wheel, is there any conventional solution to track statistics on the state of channels during execution? E.g what’s the distribution of channel length over time (not size but items in channel) or di…

---

## [Curly brackets under x-axis portions - PyPlot](https://discourse.julialang.org/t/curly-brackets-under-x-axis-portions-pyplot/76361)

<div class="topic-metadata">

**Author:** [@juliauser](https://discourse.julialang.org/u/juliauser)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 5:31pm UTC](https://discourse.julialang.org/t/curly-brackets-under-x-axis-portions-pyplot/76361 "2022-02-13T17:31:23Z")

</div>

I am wondering how to add curly brackets under different portions of the x-axis using PyPlot. I would also like to attach a word to each of the curly brackets.

---

## [Tif operations find, crop and cluster](https://discourse.julialang.org/t/tif-operations-find-crop-and-cluster/76359)

<div class="topic-metadata">

**Author:** [@Hirnfolter1](https://discourse.julialang.org/u/Hirnfolter1)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 5:23pm UTC](https://discourse.julialang.org/t/tif-operations-find-crop-and-cluster/76359 "2022-02-13T17:23:19Z")

</div>

Hello community, i am struggling with finding the right wayto work with tifs and julia. I have a with 1 bit depth and a size of 114701\*72067 pixels. The file is found on my onedrive (Microsoft OneDrive - Access files …

---

## [Data encoding in hdf5.jl](https://discourse.julialang.org/t/data-encoding-in-hdf5-jl/76357)

<div class="topic-metadata">

**Author:** [@RodrigoBruni](https://discourse.julialang.org/u/RodrigoBruni)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 4:42pm UTC](https://discourse.julialang.org/t/data-encoding-in-hdf5-jl/76357 "2022-02-13T16:42:31Z")

</div>

Hi all, I have a tiny question involving hdf5.jl package. To be more specific, consider the following info related to a given .h5 file: DATASET "j" { DATATYPE H5T\_STD\_I64LE DATASPACE SIMPLE { ( 10 )…

---

## [Random number iterator?](https://discourse.julialang.org/t/random-number-iterator/76330)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 5\
**Last updated:** [February 13, 2022, 4:48pm UTC](https://discourse.julialang.org/t/random-number-iterator/76330 "2022-02-13T16:48:34Z")

</div>

Is it possible to get a random number iterator that doesn’t allocate? I was hoping I could do something like this: julia\> using Random julia\> sum(Iterators.take(MersenneTwister(0), 4)) ERROR: MethodError: no method mat…

---

## [Error Loading CSV Files using ~/filepath.csv](https://discourse.julialang.org/t/error-loading-csv-files-using-filepath-csv/76314)

<div class="topic-metadata">

**Author:** [@Srikrishna\_Venkat](https://discourse.julialang.org/u/Srikrishna_Venkat)\
**Replies:** 7\
**Last updated:** [February 13, 2022, 4:37pm UTC](https://discourse.julialang.org/t/error-loading-csv-files-using-filepath-csv/76314 "2022-02-13T16:37:13Z")

</div>

Hi! I’m new to Julia & don’t understand why when using ‘~’ to specify start of my filepath, FileIO.load() gives a Load Error: using FileIO, CSVFiles, DataFrames obj1 = load("~/Desktop/solar power by country.csv") ob…

---

## [CachePath.jl allows using PyCall with two libpythons and no recompilation](https://discourse.julialang.org/t/cachepath-jl-allows-using-pycall-with-two-libpythons-and-no-recompilation/76325)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [February 13, 2022, 3:21pm UTC](https://discourse.julialang.org/t/cachepath-jl-allows-using-pycall-with-two-libpythons-and-no-recompilation/76325 "2022-02-13T15:21:10Z")

</div>

This package (unregistered) CachePath.jl allows you to specify a depot for saving and loading a single (or several) precompilation cache files (.ji files). This branch of PyCall.jl allows you to save the metadata on whi…

---

## [Apply function to tuple type parameters in a stable way](https://discourse.julialang.org/t/apply-function-to-tuple-type-parameters-in-a-stable-way/76335)

<div class="topic-metadata">

**Author:** [@lostella](https://discourse.julialang.org/u/lostella)\
**Replies:** 7\
**Last updated:** [February 13, 2022, 3:32pm UTC](https://discourse.julialang.org/t/apply-function-to-tuple-type-parameters-in-a-stable-way/76335 "2022-02-13T15:32:54Z")

</div>

I’d like to apply a function to all type parameters of any given tuple type. I don’t know the size of the tuples, I would just like to accumulate the function over all type parameters. However, I cannot find a way to do …

---

## [Errors when learning a function of a Jacobian. What am I doing wrong?](https://discourse.julialang.org/t/errors-when-learning-a-function-of-a-jacobian-what-am-i-doing-wrong/76352)

<div class="topic-metadata">

**Author:** [@ynsch](https://discourse.julialang.org/u/ynsch)\
**Replies:** 0\
**Last updated:** [February 13, 2022, 2:23pm UTC](https://discourse.julialang.org/t/errors-when-learning-a-function-of-a-jacobian-what-am-i-doing-wrong/76352 "2022-02-13T14:23:20Z")

</div>

Hello, I am working on a simple example with Flux and Zygote, mainly translating this notebook to Julia. The loss function contains the divergence (trace of the Jacobian) and Zygote gives an error when updating the mod…

---

## [Module with Main.BakedPackage in its dependencies](https://discourse.julialang.org/t/module-with-main-bakedpackage-in-its-dependencies/76300)

<div class="topic-metadata">

**Author:** [@1ozturkbe](https://discourse.julialang.org/u/1ozturkbe)\
**Replies:** 8\
**Last updated:** [February 13, 2022, 2:18pm UTC](https://discourse.julialang.org/t/module-with-main-bakedpackage-in-its-dependencies/76300 "2022-02-13T14:18:57Z")

</div>

I have been working on a package for a while, that uses another package that is baked into Main by necessity (which I will called Main.BakedPackage for now). Its format is the following: module MyPackage ... usi…

---

## [M-sequences in Julia?](https://discourse.julialang.org/t/m-sequences-in-julia/76340)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 3\
**Last updated:** [February 13, 2022, 1:25pm UTC](https://discourse.julialang.org/t/m-sequences-in-julia/76340 "2022-02-13T13:25:35Z")

</div>

Is there a package for generating m-sequences (Maximum length sequence - Wikipedia) in Julia? At least with a quick search I did not find anything.

---

## [Strange Error at Installing Packages \`git\` failed to clone](https://discourse.julialang.org/t/strange-error-at-installing-packages-git-failed-to-clone/63578)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 23\
**Last updated:** [June 29, 2021, 9:29pm UTC](https://discourse.julialang.org/t/strange-error-at-installing-packages-git-failed-to-clone/63578 "2021-06-29T21:29:20Z")

</div>

Hello, I am trying to install some packages in Julia. In some cases I get an error and in others I do not. For examples, let’s take the packages Distributions. When I install it, I get the following error message: (@v1…

---

## [Failed to add package by https URL](https://discourse.julialang.org/t/failed-to-add-package-by-https-url/76436)

<div class="topic-metadata">

**Author:** [@likanzhan](https://discourse.julialang.org/u/likanzhan)\
**Replies:** 2\
**Last updated:** [February 13, 2022, 12:46pm UTC](https://discourse.julialang.org/t/failed-to-add-package-by-https-url/76436 "2022-02-13T12:46:54Z")

</div>

I got similar problems, such as (@v1.7) pkg\> add https://github.com/fonsp/Pluto.jl Cloning git-repo \`https://github.com/fonsp/Pluto.jl\` ERROR: failed to clone from https://github.com/fonsp/Pluto.jl, error: GitError…

---

## [Generating Weave documents using a Genie server](https://discourse.julialang.org/t/generating-weave-documents-using-a-genie-server/68617)

<div class="topic-metadata">

**Author:** [@thazhemadam](https://discourse.julialang.org/u/thazhemadam)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 10:30am UTC](https://discourse.julialang.org/t/generating-weave-documents-using-a-genie-server/68617 "2022-02-13T10:30:53Z")

</div>

I’m trying to run this weave example on a Genie.jl server. However, it seems to block for some reason and not progress at all after a point. To be precise, it blocks at this point. └ Web Server starting at http://127.0…

---

## [Why my NN overfitting?](https://discourse.julialang.org/t/why-my-nn-overfitting/76333)

<div class="topic-metadata">

**Author:** [@sherlock](https://discourse.julialang.org/u/sherlock)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 9:27am UTC](https://discourse.julialang.org/t/why-my-nn-overfitting/76333 "2022-02-13T09:27:58Z")

</div>

Here is the Julia code, with 2 hidden layers, (784, 40) and (40, 10). Using relu as activation function. using Flux using MLDatasets using ImageCore using Distributions p = Binomial(1, 0.5) one\_hot\_encoding(x) = uniqu…

---

## [Push!() giving Method type error](https://discourse.julialang.org/t/push-giving-method-type-error/76322)

<div class="topic-metadata">

**Author:** [@Brian\_Becsi](https://discourse.julialang.org/u/Brian_Becsi)\
**Replies:** 5\
**Last updated:** [February 13, 2022, 8:52am UTC](https://discourse.julialang.org/t/push-giving-method-type-error/76322 "2022-02-13T08:52:07Z")

</div>

I am getting a Method error, specifically a type conversion error, specifically Array{Float64,2} to type Int64. I don’t understand types very well yet, and definitely don’t understand why push!() would be trying to conv…

---

## [Learning packages (eg. Image creation) - workflow](https://discourse.julialang.org/t/learning-packages-eg-image-creation-workflow/70727)

<div class="topic-metadata">

**Author:** [@sallmard](https://discourse.julialang.org/u/sallmard)\
**Replies:** 4\
**Last updated:** [February 13, 2022, 8:38am UTC](https://discourse.julialang.org/t/learning-packages-eg-image-creation-workflow/70727 "2022-02-13T08:38:41Z")

</div>

Julia is fab, feels like the language I have waited 20 years for. I dislike learning via video, extensive web search, preferring to absorb core language and then explore via IDE, eg library documentation and code. Eg I f…

---

## [Converting bitstring to number](https://discourse.julialang.org/t/converting-bitstring-to-number/12199)

<div class="topic-metadata">

**Author:** [@jebej](https://discourse.julialang.org/u/jebej)\
**Replies:** 14\
**Last updated:** [February 13, 2022, 8:35am UTC](https://discourse.julialang.org/t/converting-bitstring-to-number/12199 "2022-02-13T08:35:14Z")

</div>

I know that if I have a litteral bitstring, I can convert it to an integer with Int(0b110101) Now, however, I would like to convert a bit string, either given as a tuple of 0 and 1, or as an actual string, to the corre…

---

## [Plots not working on julia](https://discourse.julialang.org/t/plots-not-working-on-julia/68197)

<div class="topic-metadata">

**Author:** [@TOMAS\_RIQUELME\_GAJAR](https://discourse.julialang.org/u/TOMAS_RIQUELME_GAJAR)\
**Replies:** 10\
**Last updated:** [February 13, 2022, 6:23am UTC](https://discourse.julialang.org/t/plots-not-working-on-julia/68197 "2022-02-13T06:23:30Z")

</div>

Hi! I’m trying to plot with the package “Plots”. I did: using Plots x = 1:10; y=rand(10) plot(x,y) but I get the next error: I’m not sure why is not getting the GKSFONT.DAT. (I’ve already done Pkg.add(“Plots”),…

---

## [Whitespace sensitivity](https://discourse.julialang.org/t/whitespace-sensitivity/76211)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 46\
**Last updated:** [February 13, 2022, 5:42am UTC](https://discourse.julialang.org/t/whitespace-sensitivity/76211 "2022-02-13T05:42:07Z")

</div>

When is Julia whitespace sensitvie? There are line endings to finish an expression, can be replaced with ;. I recently came across julia\> \[randn(2, 3) randn(2, 3)\] 4×3 Matrix{Float64}: -0.0609315 0.3…

---

## [Suggestions for wrapping an Objective C or C++ class hierarchy?](https://discourse.julialang.org/t/suggestions-for-wrapping-an-objective-c-or-c-class-hierarchy/73050)

<div class="topic-metadata">

**Author:** [@RobertN](https://discourse.julialang.org/u/RobertN)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 3:22am UTC](https://discourse.julialang.org/t/suggestions-for-wrapping-an-objective-c-or-c-class-hierarchy/73050 "2022-02-13T03:22:10Z")

</div>

I’m looking to wrap Apple’s Objective-C class hierarchy in AppKit. I’m reading the docs on calling C code, but it’s not obvious yet how to best wrap a class hierarchy. Any suggestions? Example type relations, from the O…

---

## [Can't differentiate foreigncall expression](https://discourse.julialang.org/t/cant-differentiate-foreigncall-expression/56336)

<div class="topic-metadata">

**Author:** [@tzr7mm](https://discourse.julialang.org/u/tzr7mm)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 1:57am UTC](https://discourse.julialang.org/t/cant-differentiate-foreigncall-expression/56336 "2022-02-13T01:57:47Z")

</div>

Trying to use Flux’s automatic differentiation to solve a toy PINN problem below but keep getting the following error and its traceback. When using manually differentiated field term it works fine but not with auto-diff. …

---

## ["Can't differentiate foreigncall expression" error while using Flux.train!](https://discourse.julialang.org/t/cant-differentiate-foreigncall-expression-error-while-using-flux-train/51828)

<div class="topic-metadata">

**Author:** [@amanjalan](https://discourse.julialang.org/u/amanjalan)\
**Replies:** 1\
**Last updated:** [February 13, 2022, 1:09am UTC](https://discourse.julialang.org/t/cant-differentiate-foreigncall-expression-error-while-using-flux-train/51828 "2022-02-13T01:09:49Z")

</div>

Hi, I am trying to implement a deep-learning based differential equation solver in Julia. I have implemented the model using custom layers and @functor. My loss function however uses Flux.pullback to compute first and s…

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

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