# Latest

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

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

**Page:** 1544

---

## [Performance using Resnets, googlenet, alexnet on Julia vs Python \[ Both when training time and testing time\]?](https://discourse.julialang.org/t/performance-using-resnets-googlenet-alexnet-on-julia-vs-python-both-when-training-time-and-testing-time/51998)

<div class="topic-metadata">

**Author:** [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 1:27pm UTC](https://discourse.julialang.org/t/performance-using-resnets-googlenet-alexnet-on-julia-vs-python-both-when-training-time-and-testing-time/51998 "2020-12-18T13:27:07Z")

</div>

I am curious, about How much time did it take to train and also on testing for both Julia and Python languages. In networks such as googlenet, resnets, or Stylegan . :slight\_smile: Thank you for your answer. Excited …

---

## [Julia on Big Sur arm64](https://discourse.julialang.org/t/julia-on-big-sur-arm64/52044)

<div class="topic-metadata">

**Author:** [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Replies:** 1\
**Last updated:** [December 18, 2020, 1:15pm UTC](https://discourse.julialang.org/t/julia-on-big-sur-arm64/52044 "2020-12-18T13:15:25Z")

</div>

Did some manage to build Julia on macOS 11 arm64? I could successfully build GR develop, Qt 5.15.2, GCC 11 and Python 3.9.1, but I can’t compile/link Julia. Any ideas or recommendations?

---

## [Update string with variables](https://discourse.julialang.org/t/update-string-with-variables/52024)

<div class="topic-metadata">

**Author:** [@ZettEff](https://discourse.julialang.org/u/ZettEff)\
**Replies:** 10\
**Last updated:** [December 18, 2020, 1:04pm UTC](https://discourse.julialang.org/t/update-string-with-variables/52024 "2020-12-18T13:04:57Z")

</div>

I need help on a very simple problem updating a string. In Python I could do the following: DEFAULT\_STRING = 'https://...{}/{}' DEFAULT\_STRING.format("foo","bar") giving https://...foo/bar In Julia I am not able to d…

---

## [GeoStats.jl Meeting](https://discourse.julialang.org/t/geostats-jl-meeting/51824)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 11:44am UTC](https://discourse.julialang.org/t/geostats-jl-meeting/51824 "2020-12-18T11:44:15Z")

</div>

The GeoStats.jl community has grown a lot this year, and we would like to invite all users and contributors to join an informal conversation to get to know each other =) Tell us how you are using the project and what you…

---

## [Constraint Programming Organization - Search for a name](https://discourse.julialang.org/t/constraint-programming-organization-search-for-a-name/51923)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 18\
**Last updated:** [December 18, 2020, 11:28am UTC](https://discourse.julialang.org/t/constraint-programming-organization-search-for-a-name/51923 "2020-12-18T11:28:38Z")

</div>

Hi everyone, @Azzaare and I are planning to create a GitHub organization for constraint programming. As you know naming is one of the 2 or 3 hard problems for us developers. Therefore, we are looking for help. We’ve c…

---

## [Best way to handle user constants (e.g. API key)?](https://discourse.julialang.org/t/best-way-to-handle-user-constants-e-g-api-key/20912)

<div class="topic-metadata">

**Author:** [@dopamine](https://discourse.julialang.org/u/dopamine)\
**Replies:** 7\
**Last updated:** [December 18, 2020, 10:33am UTC](https://discourse.julialang.org/t/best-way-to-handle-user-constants-e-g-api-key/20912 "2020-12-18T10:33:36Z")

</div>

When developing a package, what is the convention/best way to handle user constants? e.g. API key, user name, etc.

---

## [BatchNorm gradient is inconsistent with PyTorch in training mode](https://discourse.julialang.org/t/batchnorm-gradient-is-inconsistent-with-pytorch-in-training-mode/40389)

<div class="topic-metadata">

**Author:** [@yiyuezhuo](https://discourse.julialang.org/u/yiyuezhuo)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 11:12am UTC](https://discourse.julialang.org/t/batchnorm-gradient-is-inconsistent-with-pytorch-in-training-mode/40389 "2020-12-18T11:12:29Z")

</div>

I found Flux’s BatchNorm output in training/test mode and gradient in test mode is consistent with PyTorch but gradient in training mode is not. It’s kind of strange since all parameters look the same. Example: using F…

---

## [\[ANN\] UnitfulSystems.jl unifies Unitful.jl + UnitSystems.jl](https://discourse.julialang.org/t/ann-unitfulsystems-jl-unifies-unitful-jl-unitsystems-jl/51997)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 9:28am UTC](https://discourse.julialang.org/t/ann-unitfulsystems-jl-unifies-unitful-jl-unitsystems-jl/51997 "2020-12-18T09:28:56Z")

</div>

Hi, I’m happy to announce a new package on behalf of Michael. While he is banned from the Julia community (long story that I am not knowledgeable enough to comment about), I applaud his continued contribution to open-so…

---

## [Using @cfunction inside a function](https://discourse.julialang.org/t/using-cfunction-inside-a-function/52030)

<div class="topic-metadata">

**Author:** [@stla](https://discourse.julialang.org/u/stla)\
**Replies:** 1\
**Last updated:** [December 18, 2020, 9:34am UTC](https://discourse.julialang.org/t/using-cfunction-inside-a-function/52030 "2020-12-18T09:34:32Z")

</div>

Hello, I have a function like this: function f(dim::Integer, pdf::Function) ...... function pdf\_j(xptr, distr) x = map(i -\> unsafe\_load(xptr, i), 1:dim) return pdf(x)::Cdouble end pdf\_c = @cfunction( …

---

## [Help subdividing Generators](https://discourse.julialang.org/t/help-subdividing-generators/51957)

<div class="topic-metadata">

**Author:** [@danilo-bc](https://discourse.julialang.org/u/danilo-bc)\
**Replies:** 9\
**Last updated:** [December 18, 2020, 6:05am UTC](https://discourse.julialang.org/t/help-subdividing-generators/51957 "2020-12-18T06:05:44Z")

</div>

I got inspired by this post on how to generate words from a pool of characters (Generate all words of a given size from a fixed alphabet - #4 by bennedich) and wanted to try it for myself for fun and to learn Generators,…

---

## [MutableNamedTuple Type conversion error](https://discourse.julialang.org/t/mutablenamedtuple-type-conversion-error/52020)

<div class="topic-metadata">

**Author:** [@Zq\_F](https://discourse.julialang.org/u/Zq_F)\
**Replies:** 0\
**Last updated:** [December 18, 2020, 2:39am UTC](https://discourse.julialang.org/t/mutablenamedtuple-type-conversion-error/52020 "2020-12-18T02:39:20Z")

</div>

Hello everyone I want to encapsulate a MutableNamedTuple in my own structure, but I always encounter type conversion errors, please help to see, thank you using MutableNamedTuples mutable struct TM{N,T} field1::Int3…

---

## [Package Pkg not found in current path:](https://discourse.julialang.org/t/package-pkg-not-found-in-current-path/51959)

<div class="topic-metadata">

**Author:** [@enjoyable](https://discourse.julialang.org/u/enjoyable)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 5:51am UTC](https://discourse.julialang.org/t/package-pkg-not-found-in-current-path/51959 "2020-12-18T05:51:49Z")

</div>

Hi all, I was trying to move from Atom to VSCode and encountered one problem. I tried to build the package GR but encountered the error below: (v1.0) pkg\> build GR Building MbedTLS → \`C:\\Users\\rmizf\\.julia\\packages\\…

---

## [Is there Way to know methods/functions of classes(modules/functions)](https://discourse.julialang.org/t/is-there-way-to-know-methods-functions-of-classes-modules-functions/51944)

<div class="topic-metadata">

**Author:** [@vedasulo](https://discourse.julialang.org/u/vedasulo)\
**Replies:** 7\
**Last updated:** [December 18, 2020, 4:00am UTC](https://discourse.julialang.org/t/is-there-way-to-know-methods-functions-of-classes-modules-functions/51944 "2020-12-18T04:00:22Z")

</div>

For example, I’ve defined a array or anything, a = \[1,2,3,4,5\] as we have methods opposite order. If I want to know what are the methods could be used in this array. looking help on a doesn’t gives any methods to se…

---

## [Watch out! 1.6 can mess up your environment](https://discourse.julialang.org/t/watch-out-1-6-can-mess-up-your-environment/52019)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 3:48am UTC](https://discourse.julialang.org/t/watch-out-1-6-can-mess-up-your-environment/52019 "2020-12-18T03:48:02Z")

</div>

If you are like me and you like to try things out, you might be tempted to test your packages with 1.6. If you then commit your environment files, you might not be able to go back to 1.5 without some work. Some of the pa…

---

## [Tensor contractions very inefficient in julia](https://discourse.julialang.org/t/tensor-contractions-very-inefficient-in-julia/52016)

<div class="topic-metadata">

**Author:** [@Nishan](https://discourse.julialang.org/u/Nishan)\
**Replies:** 13\
**Last updated:** [December 18, 2020, 2:21am UTC](https://discourse.julialang.org/t/tensor-contractions-very-inefficient-in-julia/52016 "2020-12-18T02:21:40Z")

</div>

I am new to julia (just few days) and I want to shift from python to julia by rewriting my DMRG code in julia. For Tensor contractions in python I was using np.tensordot, I searched for equivalent packages in julia and t…

---

## [ANN: Announcing DoctorDocstrings.jl](https://discourse.julialang.org/t/ann-announcing-doctordocstrings-jl/51999)

<div class="topic-metadata">

**Author:** [@miguelraz](https://discourse.julialang.org/u/miguelraz)\
**Replies:** 7\
**Last updated:** [December 18, 2020, 1:32am UTC](https://discourse.julialang.org/t/ann-announcing-doctordocstrings-jl/51999 "2020-12-18T01:32:50Z")

</div>

Hello all! DoctorDocstrings.jl is a package that will help you enhance your REPL workflow for adding docstrings to your package. It is very simple, alpha, and hardcoded (for now). Dear lord don’t judge me from the janky…

---

## [Future directions of Julia](https://discourse.julialang.org/t/future-directions-of-julia/46269)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 148\
**Last updated:** [December 18, 2020, 1:03am UTC](https://discourse.julialang.org/t/future-directions-of-julia/46269 "2020-12-18T01:03:35Z")

</div>

I guess most have heard about the recent 3b1b MIT course video and how it’s the most viewed julialang video already. Hopefully, many will be introduced to Julia through it so the community grows further. Many are excited…

---

## [Mapreduce of Softmax-ed array can't be differentiated on GPU](https://discourse.julialang.org/t/mapreduce-of-softmax-ed-array-cant-be-differentiated-on-gpu/52013)

<div class="topic-metadata">

**Author:** [@kmaile](https://discourse.julialang.org/u/kmaile)\
**Replies:** 0\
**Last updated:** [December 17, 2020, 10:40pm UTC](https://discourse.julialang.org/t/mapreduce-of-softmax-ed-array-cant-be-differentiated-on-gpu/52013 "2020-12-17T22:40:11Z")

</div>

In an MWE of my use case below, I am trying to output a softmax-weighted sum of multiple layers on the same input. The output needs to be differentiable with respect to both the weights within the layers as well as the s…

---

## [Plotting single density plot for table](https://discourse.julialang.org/t/plotting-single-density-plot-for-table/51962)

<div class="topic-metadata">

**Author:** [@horizon](https://discourse.julialang.org/u/horizon)\
**Replies:** 6\
**Last updated:** [December 17, 2020, 10:37pm UTC](https://discourse.julialang.org/t/plotting-single-density-plot-for-table/51962 "2020-12-17T22:37:59Z")

</div>

Hi, I am trying to plot a density plot of a table with dimension (100000\*30). I was able to get 30 different plots because of 30 columns in one window but I just want one graph for that table. How to do that? Thank you…

---

## [Efficient and CuArray compatible implementation of \`StatsBase.\_compute\_extrema\`](https://discourse.julialang.org/t/efficient-and-cuarray-compatible-implementation-of-statsbase-compute-extrema/51671)

<div class="topic-metadata">

**Author:** [@sdewaele](https://discourse.julialang.org/u/sdewaele)\
**Replies:** 5\
**Last updated:** [December 17, 2020, 8:25pm UTC](https://discourse.julialang.org/t/efficient-and-cuarray-compatible-implementation-of-statsbase-compute-extrema/51671 "2020-12-17T20:25:10Z")

</div>

For this PR to StatsBase.jl, I am looking for a way to compute extrema that is both efficient for regular arrays and CuArrays. This implementation is efficient for regular arrays: function \_compute\_extrema\_A(X; dims) …

---

## [MLJ and ClusterManagers](https://discourse.julialang.org/t/mlj-and-clustermanagers/51540)

<div class="topic-metadata">

**Author:** [@pfarndt](https://discourse.julialang.org/u/pfarndt)\
**Replies:** 4\
**Last updated:** [December 17, 2020, 8:16pm UTC](https://discourse.julialang.org/t/mlj-and-clustermanagers/51540 "2020-12-17T20:16:11Z")

</div>

I want do some machine learning using MLJ on a cluster of 200+ nodes. To hook up my workers to the main process I want to use an ElasticManager from the ClusterManagers package (this way I can also utilize workers which …

---

## [Vancouver Julia Meetup](https://discourse.julialang.org/t/vancouver-julia-meetup/50246)

<div class="topic-metadata">

**Author:** [@whilo](https://discourse.julialang.org/u/whilo)\
**Replies:** 6\
**Last updated:** [December 17, 2020, 7:59pm UTC](https://discourse.julialang.org/t/vancouver-julia-meetup/50246 "2020-12-17T19:59:50Z")

</div>

Hey everyone, Sorry for the short notice, we will have a meetup today, Monday 16th of November, at 3 pm PST on the probabilistic programming system Gen lead by Brian Irwin. To get the zoom link to our meetup, please mai…

---

## [Filter rows using a filter table](https://discourse.julialang.org/t/filter-rows-using-a-filter-table/51975)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 1\
**Last updated:** [December 17, 2020, 6:04pm UTC](https://discourse.julialang.org/t/filter-rows-using-a-filter-table/51975 "2020-12-17T18:04:09Z")

</div>

I have a table whose rows I want to filter (by choosing or excluding them) on the basis of a series of criteria contained in a table. The criteria table has column fields corresponding by position to those of the data ta…

---

## [Impulse response of Butterworth filter](https://discourse.julialang.org/t/impulse-response-of-butterworth-filter/51543)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 4\
**Last updated:** [December 17, 2020, 5:31pm UTC](https://discourse.julialang.org/t/impulse-response-of-butterworth-filter/51543 "2020-12-17T17:31:54Z")

</div>

In the following code example, a 6th-order Butterworth filter is defined over 4-50 Hz and the frequency response plotted. How to use DSP.jl to compute the corresponding zero-phase filter time response? Using filt(fil,ht…

---

## [A question on the DiffEqFlux module](https://discourse.julialang.org/t/a-question-on-the-diffeqflux-module/51987)

<div class="topic-metadata">

**Author:** [@anC](https://discourse.julialang.org/u/anC)\
**Replies:** 0\
**Last updated:** [December 17, 2020, 3:51pm UTC](https://discourse.julialang.org/t/a-question-on-the-diffeqflux-module/51987 "2020-12-17T15:51:56Z")

</div>

First of all, I’d like to say thanks and congratulations to Dr. Rackauckas and the team responsible for the DiffEqFlux module. This is an excellent module and I can see some really useful applications of this work. I hav…

---

## [Nuclear Reactor Physics package](https://discourse.julialang.org/t/nuclear-reactor-physics-package/51351)

<div class="topic-metadata">

**Author:** [@rvignolo](https://discourse.julialang.org/u/rvignolo)\
**Replies:** 6\
**Last updated:** [December 17, 2020, 3:37pm UTC](https://discourse.julialang.org/t/nuclear-reactor-physics-package/51351 "2020-12-17T15:37:25Z")

</div>

Hi! I have been learning Julia for a while now and I would like to start contributing (not by only raising issues as I have been doing). I have experience in nuclear reactor physics so I would like to write a package t…

---

## [A French book about Julia](https://discourse.julialang.org/t/a-french-book-about-julia/51982)

<div class="topic-metadata">

**Author:** [@stla](https://discourse.julialang.org/u/stla)\
**Replies:** 0\
**Last updated:** [December 17, 2020, 1:45pm UTC](https://discourse.julialang.org/t/a-french-book-about-julia/51982 "2020-12-17T13:45:59Z")

</div>

Preview available online: Introduction à Julia - Programmer des mathématiques. Cheers.

---

## [Matrix-vector multiplication is a bit off from "equivalent" \[Strided\]Matrix-Strided\]Matrix multiplication (and I guess MATLAB)](https://discourse.julialang.org/t/matrix-vector-multiplication-is-a-bit-off-from-equivalent-strided-matrix-strided-matrix-multiplication-and-i-guess-matlab/51976)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [December 17, 2020, 1:35pm UTC](https://discourse.julialang.org/t/matrix-vector-multiplication-is-a-bit-off-from-equivalent-strided-matrix-strided-matrix-multiplication-and-i-guess-matlab/51976 "2020-12-17T13:35:07Z")

</div>

I noticed an odd thing when porting code from MATLAB, that this line makes a difference: julia\> gamma\_gls\_hat = gamma\_gls\_hat\[:, :\] 12×1 Matrix{Float64} gamma\_gls\_hat as I calculated before this line was a 12-element …

---

## [Teach Julia to beginner programmers](https://discourse.julialang.org/t/teach-julia-to-beginner-programmers/46601)

<div class="topic-metadata">

**Author:** [@SquidSinker](https://discourse.julialang.org/u/SquidSinker)\
**Replies:** 7\
**Last updated:** [December 17, 2020, 1:16pm UTC](https://discourse.julialang.org/t/teach-julia-to-beginner-programmers/46601 "2020-12-17T13:16:59Z")

</div>

I am very happy to announce that our book, entitled ‘The Little Book of Julia Algorithms’, has been published. The book aims at teaching a beginner programmer the basics of programming via the Julia language. The book en…

---

## [ANN: GameZero.jl -- Simple game development in Julia](https://discourse.julialang.org/t/ann-gamezero-jl-simple-game-development-in-julia/46119)

<div class="topic-metadata">

**Author:** [@SquidSinker](https://discourse.julialang.org/u/SquidSinker)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 7:33pm UTC](https://discourse.julialang.org/t/ann-gamezero-jl-simple-game-development-in-julia/46119 "2020-09-05T19:33:42Z")

</div>

We are happy to announce that the first public version of GameZero.jl has been released! For those who don’t know, GameZero is a Julia package, similar to Pygame Zero, that introduces beginner programmers to the fundamen…

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

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