# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=494

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

**Page:** 495

---

## [Clipping gradients with Zygote/Flux](https://discourse.julialang.org/t/clipping-gradients-with-zygote-flux/25052)

<div class="topic-metadata">

**Author:** [@mlpeschl](https://discourse.julialang.org/u/mlpeschl)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 8:16pm UTC](https://discourse.julialang.org/t/clipping-gradients-with-zygote-flux/25052 "2019-06-10T20:16:32Z")

</div>

I am currently working with Flux and due to a high amount of stochasticity in my data, I often receive “Loss is NaN” and “Loss is infinite” errors during training. Reducing the stepsize of my gradient updates of course …

---

## [Rotating cube in Makie not working](https://discourse.julialang.org/t/rotating-cube-in-makie-not-working/25116)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 1:54pm UTC](https://discourse.julialang.org/t/rotating-cube-in-makie-not-working/25116 "2019-06-10T13:54:21Z")

</div>

Hello, I just found this example of a cube that should be rotating link: using Makie N = 40 interval = 0.10 scene = mesh(FRect3D(Vec3f0(-0.5), Vec3f0(1)), color = :skyblue2) rect = scene\[end\] for rad in 0.5:1/N:…

---

## [LSTM on a GPU](https://discourse.julialang.org/t/lstm-on-a-gpu/25113)

<div class="topic-metadata">

**Author:** [@tanhevg](https://discourse.julialang.org/u/tanhevg)\
**Replies:** 0\
**Last updated:** [June 10, 2019, 11:06am UTC](https://discourse.julialang.org/t/lstm-on-a-gpu/25113 "2019-06-10T11:06:17Z")

</div>

Hello, I am trying to run the Flux model zoo LSTM example on a GPU. Turns out there is no performance improvement; on the contrary, it gets worse. The example uses ~500mb of training data, and each epoch runs for ~25se…

---

## [Using stream per cpu thread pattern](https://discourse.julialang.org/t/using-stream-per-cpu-thread-pattern/25053)

<div class="topic-metadata">

**Author:** [@Alex\_Ellison](https://discourse.julialang.org/u/Alex_Ellison)\
**Replies:** 1\
**Last updated:** [June 8, 2019, 9:08pm UTC](https://discourse.julialang.org/t/using-stream-per-cpu-thread-pattern/25053 "2019-06-08T21:08:33Z")

</div>

This CUDA tutorial demonstrates how multiple cpu threads can be spawned and each will have its own stream, which achieves great concurrency on the GPU (see section " A Multi-threading Example") GPU Pro Tip: CUDA 7 Stream…

---

## [How to pass a null value to a prepared statement with LibPQ.jl](https://discourse.julialang.org/t/how-to-pass-a-null-value-to-a-prepared-statement-with-libpq-jl/25068)

<div class="topic-metadata">

**Author:** [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Replies:** 1\
**Last updated:** [June 8, 2019, 6:28am UTC](https://discourse.julialang.org/t/how-to-pass-a-null-value-to-a-prepared-statement-with-libpq-jl/25068 "2019-06-08T06:28:07Z")

</div>

Passing ‘nothing’ to a prepared statement throws an error

---

## [Julia package to find all local extrema of a function in a interval?](https://discourse.julialang.org/t/julia-package-to-find-all-local-extrema-of-a-function-in-a-interval/25067)

<div class="topic-metadata">

**Author:** [@longemen3000](https://discourse.julialang.org/u/longemen3000)\
**Replies:** 3\
**Last updated:** [June 8, 2019, 5:55am UTC](https://discourse.julialang.org/t/julia-package-to-find-all-local-extrema-of-a-function-in-a-interval/25067 "2019-06-08T05:55:35Z")

</div>

i’m looking for a package to find a list of local minima of an univariate function, in a given interval, someone knows if something like this exists?

---

## [Automatic differentiation - Julia implementation advantages](https://discourse.julialang.org/t/automatic-differentiation-julia-implementation-advantages/24975)

<div class="topic-metadata">

**Author:** [@lwhitefox](https://discourse.julialang.org/u/lwhitefox)\
**Replies:** 8\
**Last updated:** [June 7, 2019, 3:35pm UTC](https://discourse.julialang.org/t/automatic-differentiation-julia-implementation-advantages/24975 "2019-06-07T15:35:41Z")

</div>

I’m interested in utilizing Julia for some ML tasks; in perusing some discussions from this discourse and the Julia slack in the past, I have a vague memory of having read some claims regarding advantages of Juila implem…

---

## [Calling a function inside of a Kernel](https://discourse.julialang.org/t/calling-a-function-inside-of-a-kernel/25023)

<div class="topic-metadata">

**Author:** [@James\_Stickney](https://discourse.julialang.org/u/James_Stickney)\
**Replies:** 4\
**Last updated:** [June 7, 2019, 2:23pm UTC](https://discourse.julialang.org/t/calling-a-function-inside-of-a-kernel/25023 "2019-06-07T14:23:22Z")

</div>

This one has my head hurting. I’m not even sure how to explain the problem, but I’ll do my best. I am working on a project using CUDAnative and one of my kernels takes a function as an argument. I would like to pass a…

---

## [Starting Cuda programming with Julia](https://discourse.julialang.org/t/starting-cuda-programming-with-julia/25009)

<div class="topic-metadata">

**Author:** [@wiktorkujawa](https://discourse.julialang.org/u/wiktorkujawa)\
**Replies:** 3\
**Last updated:** [June 7, 2019, 1:05am UTC](https://discourse.julialang.org/t/starting-cuda-programming-with-julia/25009 "2019-06-07T01:05:32Z")

</div>

Hi, I want to start programming with CUDA language. I just bought new notebook with NVIDIA GeForce GTX 1050 graphic card and windows 10 system. I personally use Linux mint, so I want to install it on my new notebook. I r…

---

## [Plots Ticks Axis Override](https://discourse.julialang.org/t/plots-ticks-axis-override/25026)

<div class="topic-metadata">

**Author:** [@fer](https://discourse.julialang.org/u/fer)\
**Replies:** 0\
**Last updated:** [June 6, 2019, 9:23pm UTC](https://discourse.julialang.org/t/plots-ticks-axis-override/25026 "2019-06-06T21:23:01Z")

</div>

I am using the Plots library and I create plots as attached to this post. The y-ticks label for instance of the plot of “x4” are not nice and I would like to find an automatic way to arrange them (I created this plots i…

---

## [How can I shade an area under a curve between two lines?](https://discourse.julialang.org/t/how-can-i-shade-an-area-under-a-curve-between-two-lines/24897)

<div class="topic-metadata">

**Author:** [@Alessandro\_Vivas](https://discourse.julialang.org/u/Alessandro_Vivas)\
**Replies:** 5\
**Last updated:** [June 6, 2019, 8:26pm UTC](https://discourse.julialang.org/t/how-can-i-shade-an-area-under-a-curve-between-two-lines/24897 "2019-06-06T20:26:27Z")

</div>

I am plotting a normal curve and I want shaded some areas in this curve. I want to shaded to values minor than -1.96 e greater than 1.96. I tried some options: fill and fill area but I didn’t get sucess. x = rand( Norma…

---

## [Semi-continuous variables: JuMP and Cplex solver](https://discourse.julialang.org/t/semi-continuous-variables-jump-and-cplex-solver/24966)

<div class="topic-metadata">

**Author:** [@bienpierre](https://discourse.julialang.org/u/bienpierre)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 4:08pm UTC](https://discourse.julialang.org/t/semi-continuous-variables-jump-and-cplex-solver/24966 "2019-06-06T16:08:17Z")

</div>

Hello, I have a semi-continuous variable, the domain is {0} U \[l,u\]. Example is: using JuMP using CPLEX MyModel = Model(with\_optimizer(CPLEX.Optimizer)) @variable(MyModel, zz) @constraint(MyModel, zz in MOI.Semicontin…

---

## [Normalization of histograms](https://discourse.julialang.org/t/normalization-of-histograms/25007)

<div class="topic-metadata">

**Author:** [@woutersj](https://discourse.julialang.org/u/woutersj)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 1:22pm UTC](https://discourse.julialang.org/t/normalization-of-histograms/25007 "2019-06-06T13:22:40Z")

</div>

This used to work in v0.6.3: using StatsBase normalize(fit(Histogram,rand(100),closed=:left)) In v1.1.0 I get UndefVarError: normalize not defined. Is this a bug or has the syntax changed?

---

## [Configuring MPI.jl to run on XC-40 / KNL with craype and cray-mpich](https://discourse.julialang.org/t/configuring-mpi-jl-to-run-on-xc-40-knl-with-craype-and-cray-mpich/20197)

<div class="topic-metadata">

**Author:** [@frankwillmore](https://discourse.julialang.org/u/frankwillmore)\
**Replies:** 10\
**Last updated:** [June 6, 2019, 2:56am UTC](https://discourse.julialang.org/t/configuring-mpi-jl-to-run-on-xc-40-knl-with-craype-and-cray-mpich/20197 "2019-06-06T02:56:12Z")

</div>

I am attempting to configure the MPI.jl package to run in Julia 1.0.3 on theta, a Cray XC-40/KNL. Cross-compilation has not been an issue, but interfacing to the CrayPE and Cray-MPICH are currently stumping me. I have be…

---

## [Spiking Neural Network](https://discourse.julialang.org/t/spiking-neural-network/24908)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 5\
**Last updated:** [June 4, 2019, 11:36pm UTC](https://discourse.julialang.org/t/spiking-neural-network/24908 "2019-06-04T23:36:42Z")

</div>

Hi, I am trying to implement the spiking neural network model in this paper https://www.frontiersin.org/articles/10.3389/fninf.2018.00079/full and I wanted to use DifferentialEquations.jl Basically, the model consists o…

---

## [JULIA\_WORKER\_TIMEOUT error](https://discourse.julialang.org/t/julia-worker-timeout-error/24866)

<div class="topic-metadata">

**Author:** [@abx](https://discourse.julialang.org/u/abx)\
**Replies:** 7\
**Last updated:** [June 4, 2019, 6:22pm UTC](https://discourse.julialang.org/t/julia-worker-timeout-error/24866 "2019-06-04T18:22:48Z")

</div>

I am working on a fairly big code base written in Julia 1.1 and I am experiencing erratic issues with parallel processing. It is very annoying as most of the time everything works perfectly. The application is mainly co…

---

## [Automatic differentiation of an objective, which already uses AD tools](https://discourse.julialang.org/t/automatic-differentiation-of-an-objective-which-already-uses-ad-tools/24864)

<div class="topic-metadata">

**Author:** [@ArnoStrouwen](https://discourse.julialang.org/u/ArnoStrouwen)\
**Replies:** 3\
**Last updated:** [June 4, 2019, 9:08am UTC](https://discourse.julialang.org/t/automatic-differentiation-of-an-objective-which-already-uses-ad-tools/24864 "2019-06-04T09:08:40Z")

</div>

I’m searching for parameters u to maximize a function obj(u). This objective function, however, depends on the derivatives of another function y(u,p), with regards to the parameters p. An example: abstract type S1 end …

---

## [Any Julia library for managing data series with automatic transformation](https://discourse.julialang.org/t/any-julia-library-for-managing-data-series-with-automatic-transformation/24818)

<div class="topic-metadata">

**Author:** [@nxtruong](https://discourse.julialang.org/u/nxtruong)\
**Replies:** 7\
**Last updated:** [June 3, 2019, 6:03pm UTC](https://discourse.julialang.org/t/any-julia-library-for-managing-data-series-with-automatic-transformation/24818 "2019-06-03T18:03:36Z")

</div>

I need to manage multiple data series (each is like a sequence of values, or a column in a data frame). Associated with each is an automatic transformation of the data in and out of the storage. For example, these can be…

---

## [How to parallelize computation and plotting?](https://discourse.julialang.org/t/how-to-parallelize-computation-and-plotting/24746)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 7\
**Last updated:** [June 3, 2019, 1:11pm UTC](https://discourse.julialang.org/t/how-to-parallelize-computation-and-plotting/24746 "2019-06-03T13:11:58Z")

</div>

The title is a bit misleading, because I would like to get a sensor’s data and plot it immadiately (so not a result of simulation or something). I get the values via TCP connection (which I can setup and print the values…

---

## [Pmap structure master process computes too](https://discourse.julialang.org/t/pmap-structure-master-process-computes-too/24886)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 11:18am UTC](https://discourse.julialang.org/t/pmap-structure-master-process-computes-too/24886 "2019-06-03T11:18:09Z")

</div>

What does happen if the master process handles the part part after remotecall\_fetch but computes itself as well? Does everything work or are there some catches? I have two pmap like functions nested and the first calls …

---

## [Plots.jl atrribute for full border](https://discourse.julialang.org/t/plots-jl-atrribute-for-full-border/15934)

<div class="topic-metadata">

**Author:** [@ecx2093](https://discourse.julialang.org/u/ecx2093)\
**Replies:** 5\
**Last updated:** [June 3, 2019, 2:03am UTC](https://discourse.julialang.org/t/plots-jl-atrribute-for-full-border/15934 "2019-06-03T02:03:30Z")

</div>

Hello Does anybody know the plot attribute for creating a border around the entire plot (here I need borders on the top and right without ticks, just the lines)

---

## [A faster pow(x,1/12) function available in Fast12thRoot.jl](https://discourse.julialang.org/t/a-faster-pow-x-1-12-function-available-in-fast12throot-jl/10893)

<div class="topic-metadata">

**Author:** [@MrBelette](https://discourse.julialang.org/u/MrBelette)\
**Replies:** 12\
**Last updated:** [June 3, 2019, 1:47am UTC](https://discourse.julialang.org/t/a-faster-pow-x-1-12-function-available-in-fast12throot-jl/10893 "2019-06-03T01:47:13Z")

</div>

New to Julia, so hopefully I’ve chosen the correct category for posting this. Actuaries use x^(1/12) very often in order to convert annualized numbers to their monthly compounded equivalent. I had an itch that had to be…

---

## [Command line parameters in parallel](https://discourse.julialang.org/t/command-line-parameters-in-parallel/24863)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [June 2, 2019, 8:26pm UTC](https://discourse.julialang.org/t/command-line-parameters-in-parallel/24863 "2019-06-02T20:26:38Z")

</div>

If I’ve got a julia script that’s using Distributed for shared memory parallel computing, and I want to read in a command line parameter (i.e., number of iterations per worker), what’s the right way to do this?

---

## [Is this a fair GPU benchmark?](https://discourse.julialang.org/t/is-this-a-fair-gpu-benchmark/24814)

<div class="topic-metadata">

**Author:** [@marius311](https://discourse.julialang.org/u/marius311)\
**Replies:** 1\
**Last updated:** [June 1, 2019, 2:31pm UTC](https://discourse.julialang.org/t/is-this-a-fair-gpu-benchmark/24814 "2019-06-01T14:31:20Z")

</div>

Hi, I’m totally new to GPU computing, really enjoying the ease of using Julia GPU libraries, but had a question about whether my benchmark code is correct, or whether I’m leaving something on the table. The computation …

---

## [Idea: Rewriting Love2d for Julia allows to code more interactive diagram applications and games](https://discourse.julialang.org/t/idea-rewriting-love2d-for-julia-allows-to-code-more-interactive-diagram-applications-and-games/24819)

<div class="topic-metadata">

**Author:** [@freemint](https://discourse.julialang.org/u/freemint)\
**Replies:** 0\
**Last updated:** [May 31, 2019, 11:31pm UTC](https://discourse.julialang.org/t/idea-rewriting-love2d-for-julia-allows-to-code-more-interactive-diagram-applications-and-games/24819 "2019-05-31T23:31:33Z")

</div>

Hello, i think Julia could really gain from having something similar to Love2d but with Julia instead of LUA. It is a game engine which loads a LUA file and calls LUA functions defined in their to update the applicatio…

---

## [OpenCV support](https://discourse.julialang.org/t/opencv-support/24828)

<div class="topic-metadata">

**Author:** [@javadba](https://discourse.julialang.org/u/javadba)\
**Replies:** 1\
**Last updated:** [June 1, 2019, 5:58am UTC](https://discourse.julialang.org/t/opencv-support/24828 "2019-06-01T05:58:57Z")

</div>

The OpenCV repo seems moribund: GitHub - maxruby/OpenCV.jl: The OpenCV (C++) interface for Julia . Is there any more recent activity in another repo or framework? Will I instead likely need to stick to python (or c++)…

---

## [Should memory in worker be freed after fetching result?](https://discourse.julialang.org/t/should-memory-in-worker-be-freed-after-fetching-result/24780)

<div class="topic-metadata">

**Author:** [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)\
**Replies:** 1\
**Last updated:** [May 31, 2019, 10:22pm UTC](https://discourse.julialang.org/t/should-memory-in-worker-be-freed-after-fetching-result/24780 "2019-05-31T22:22:11Z")

</div>

Hi there! I was doing some processing using Julia 1.1.0 and ClusterManagers v0.3.2 I have two nodes and I tried launching a function in the second node using the worker 3 with fetch(@spawnat 3 function()) This is bec…

---

## [GLMakie fails test on FreeBSD 12, Julia 1.1.0](https://discourse.julialang.org/t/glmakie-fails-test-on-freebsd-12-julia-1-1-0/24783)

<div class="topic-metadata">

**Author:** [@ko56](https://discourse.julialang.org/u/ko56)\
**Replies:** 9\
**Last updated:** [May 31, 2019, 9:59pm UTC](https://discourse.julialang.org/t/glmakie-fails-test-on-freebsd-12-julia-1-1-0/24783 "2019-05-31T21:59:11Z")

</div>

(v1.1) pkg\> test GLMakie Testing GLMakie Resolving package versions... Status \`/tmp/tmp8KVQL5/Manifest.toml\` \[621f4979\] AbstractFFTs v0.4.1 \[537997a7\] AbstractPlotting v0.9.7 ... \[cf7118a7\] UUIDs \[\`@stdl…

---

## [@distributed fails for many workers?](https://discourse.julialang.org/t/distributed-fails-for-many-workers/24145)

<div class="topic-metadata">

**Author:** [@dkiese](https://discourse.julialang.org/u/dkiese)\
**Replies:** 21\
**Last updated:** [May 14, 2019, 10:10am UTC](https://discourse.julialang.org/t/distributed-fails-for-many-workers/24145 "2019-05-14T10:10:19Z")

</div>

Hello folks, I am currently running some data analysis on a cluster with 68 cores per node. To this end I set up a SharedArray for 68 workers and let them operate on it via @sync @distributed. For small datasets this wo…

---

## [Beginner - NumericalMath -- Use trapz routine and Number type](https://discourse.julialang.org/t/beginner-numericalmath-use-trapz-routine-and-number-type/24777)

<div class="topic-metadata">

**Author:** [@fer](https://discourse.julialang.org/u/fer)\
**Replies:** 1\
**Last updated:** [May 30, 2019, 5:50pm UTC](https://discourse.julialang.org/t/beginner-numericalmath-use-trapz-routine-and-number-type/24777 "2019-05-30T17:50:17Z")

</div>

It seems that NumericalMath.jl have some installation problems with julia 1.1.1 : here is my error message: \[ Info: Precompiling NumericalMath \[2d69212a-5df0-5a1f-8e4a-e8e814bdb11a\] ERROR: LoadError: LoadError: syntax: …

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=493)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=495)
