# Specific Domains

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

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

**Page:** 513

---

## [Speeding Up Query with a big dataset](https://discourse.julialang.org/t/speeding-up-query-with-a-big-dataset/19508)

<div class="topic-metadata">

**Author:** [@elshera](https://discourse.julialang.org/u/elshera)\
**Replies:** 9\
**Last updated:** [January 12, 2019, 9:01am UTC](https://discourse.julialang.org/t/speeding-up-query-with-a-big-dataset/19508 "2019-01-12T09:01:09Z")

</div>

Hi, I am currently processing a dataset of 31 columns and 100.000 rows. Loading the data, describe them etc… is ok however while running some Query to match some rows is very slow. 100K rows is big but still not very bi…

---

## [Does save is not working in Makie?](https://discourse.julialang.org/t/does-save-is-not-working-in-makie/19519)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 2:35pm UTC](https://discourse.julialang.org/t/does-save-is-not-working-in-makie/19519 "2019-01-11T14:35:30Z")

</div>

I’ve tried to do a basic example following Makie tutorials using Makie x = rand(10) y = rand(10) colors = rand(10) scene = scatter(x, y, color = colors) Makie.save("plot\_test.png", scene) I can create the scene, but …

---

## [Help wanted: CUDA error: an illegal memory access was encountered](https://discourse.julialang.org/t/help-wanted-cuda-error-an-illegal-memory-access-was-encountered/19488)

<div class="topic-metadata">

**Author:** [@1115](https://discourse.julialang.org/u/1115)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 7:00am UTC](https://discourse.julialang.org/t/help-wanted-cuda-error-an-illegal-memory-access-was-encountered/19488 "2019-01-11T07:00:43Z")

</div>

My program got an error code 700 after running for a day, with the following error message. Can I trust the error message that the program errors at exactly where it breaks? ... step = 51, energy/site = -0.28279876708…

---

## [Is it possible to index a CuArray with a CuArray?](https://discourse.julialang.org/t/is-it-possible-to-index-a-cuarray-with-a-cuarray/18812)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 1\
**Last updated:** [January 11, 2019, 5:30am UTC](https://discourse.julialang.org/t/is-it-possible-to-index-a-cuarray-with-a-cuarray/18812 "2019-01-11T05:30:09Z")

</div>

The case is that I have a data set of indexes (rather than vectors), so I need to frequently index a multi-dimensional array (which is the table), e.g A = \[rand(3, 3, 2) for i in 1:8\] data = rand(1:2, 8, 10) # last dime…

---

## [How to efficiently generate constraints](https://discourse.julialang.org/t/how-to-efficiently-generate-constraints/17948)

<div class="topic-metadata">

**Author:** [@abulak](https://discourse.julialang.org/u/abulak)\
**Replies:** 4\
**Last updated:** [January 10, 2019, 6:37am UTC](https://discourse.julialang.org/t/how-to-efficiently-generate-constraints/17948 "2019-01-10T06:37:00Z")

</div>

I have a rather large SDP problem which I deconstruct (block diagonalize) to smaller ones; A baby example (~5000×5000) in JuMP-0.18.01 took 215.068401 seconds (124.47 M allocations: 231.684 GiB, 16.09% gc time) (there …

---

## [Type safe and expressive "tensor" code](https://discourse.julialang.org/t/type-safe-and-expressive-tensor-code/19338)

<div class="topic-metadata">

**Author:** [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Replies:** 3\
**Last updated:** [January 11, 2019, 1:27am UTC](https://discourse.julialang.org/t/type-safe-and-expressive-tensor-code/19338 "2019-01-11T01:27:19Z")

</div>

There’s been some buzz lately about more expressive, and type safe array code for deep learning. One specific initiative has been the use of arrays with named dimensions: GitHub - ctongfei/nexus: Experimental tensor-ty…

---

## [Query.jl - how to select identical rows differing by one column](https://discourse.julialang.org/t/query-jl-how-to-select-identical-rows-differing-by-one-column/19367)

<div class="topic-metadata">

**Author:** [@elshera](https://discourse.julialang.org/u/elshera)\
**Replies:** 11\
**Last updated:** [January 10, 2019, 6:36am UTC](https://discourse.julialang.org/t/query-jl-how-to-select-identical-rows-differing-by-one-column/19367 "2019-01-10T06:36:33Z")

</div>

Hi, I have a dataframe of columns A,B,C, O. How can I write a query which shows me those rows which have same pattern in the columns A,B,C but different value for column O ? example: A, B, C, O 2, 3, 4, 10 2 ,3, 4,…

---

## [NSException for Pyplot](https://discourse.julialang.org/t/nsexception-for-pyplot/19391)

<div class="topic-metadata">

**Author:** [@ohsonice](https://discourse.julialang.org/u/ohsonice)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 4:36pm UTC](https://discourse.julialang.org/t/nsexception-for-pyplot/19391 "2019-01-09T16:36:04Z")

</div>

I am getting the following exception when attempting to plot using pyplot: julia\> using Plots julia\> pyplot() Plots.PyPlotBackend() julia\> plot(rand(100)) 2019-01-08 10:43:51.574 julia\[90768:45265541\] -\[NSApplication …

---

## [Write a REST interface like Flask](https://discourse.julialang.org/t/write-a-rest-interface-like-flask/18538)

<div class="topic-metadata">

**Author:** [@Seanny123](https://discourse.julialang.org/u/Seanny123)\
**Replies:** 22\
**Last updated:** [January 9, 2019, 3:17pm UTC](https://discourse.julialang.org/t/write-a-rest-interface-like-flask/18538 "2019-01-09T15:17:22Z")

</div>

There are a few posts about write a REST interface using Julia wherein a number of libraries are recommended. However, I’m unclear if any of them resemble Flask? What I appreciate about Flask is how easy it is to define…

---

## [Charts from sysstat data](https://discourse.julialang.org/t/charts-from-sysstat-data/19411)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [January 9, 2019, 4:04am UTC](https://discourse.julialang.org/t/charts-from-sysstat-data/19411 "2019-01-09T04:04:28Z")

</div>

What is a good utility to produce pie charts from CSV files? My first thoughts would be the Queryverse - or shoud I be looking at something else? Specifically I would like to produce pie charts for the sums of differen…

---

## [Help with Logit NLP problem](https://discourse.julialang.org/t/help-with-logit-nlp-problem/19296)

<div class="topic-metadata">

**Author:** [@SonLe](https://discourse.julialang.org/u/SonLe)\
**Replies:** 1\
**Last updated:** [January 8, 2019, 4:06pm UTC](https://discourse.julialang.org/t/help-with-logit-nlp-problem/19296 "2019-01-08T16:06:56Z")

</div>

Hi. I found this thesis online and wanted to reproduce the section Robust both Feature and Label for Logistic Regression. The Logit model here looks like this: My problem is that when i compute the first constraint …

---

## [Problem With Integer Stack Size](https://discourse.julialang.org/t/problem-with-integer-stack-size/19384)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 1\
**Last updated:** [January 8, 2019, 4:03pm UTC](https://discourse.julialang.org/t/problem-with-integer-stack-size/19384 "2019-01-08T16:03:41Z")

</div>

Hello, using Couenne to solve a MINLP, but i’m getting this error: Problem with integer stack size 1 1 6 Warning: Not solved to optimality, status: Error If you need any more info, let me …

---

## [Integro-differential equations with DifferentialEquations.jl](https://discourse.julialang.org/t/integro-differential-equations-with-differentialequations-jl/19265)

<div class="topic-metadata">

**Author:** [@lappet](https://discourse.julialang.org/u/lappet)\
**Replies:** 4\
**Last updated:** [January 8, 2019, 7:52am UTC](https://discourse.julialang.org/t/integro-differential-equations-with-differentialequations-jl/19265 "2019-01-08T07:52:01Z")

</div>

The integro-differential equations I need to solve are of this form: http://mathb.in/30204. While I already have written a solver for a simple test problem (s. code below), the type of equation shown in the link above ca…

---

## [Error in FFT?](https://discourse.julialang.org/t/error-in-fft/19310)

<div class="topic-metadata">

**Author:** [@LewisHein](https://discourse.julialang.org/u/LewisHein)\
**Replies:** 5\
**Last updated:** [January 7, 2019, 2:25pm UTC](https://discourse.julialang.org/t/error-in-fft/19310 "2019-01-07T14:25:04Z")

</div>

Brief problem here, I will try to add graphs later. I can create a function that returns a gaussian, discretize it, and take the FFT with fft() or rfft() from the FFTW module. This does not return a gaussian as it should…

---

## [How to calculate a weighted mean with missing observations](https://discourse.julialang.org/t/how-to-calculate-a-weighted-mean-with-missing-observations/19281)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 17\
**Last updated:** [January 5, 2019, 6:18pm UTC](https://discourse.julialang.org/t/how-to-calculate-a-weighted-mean-with-missing-observations/19281 "2019-01-05T18:18:12Z")

</div>

In my work not in Julia I often want to find weighted means when i have lots of missing data: both the vector of values contains missing values and the weights have missing values. using StatsBase, DataFrames df = DataF…

---

## [Random Error: Unsupported feature Hess](https://discourse.julialang.org/t/random-error-unsupported-feature-hess/19306)

<div class="topic-metadata">

**Author:** [@neseth](https://discourse.julialang.org/u/neseth)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 5:45pm UTC](https://discourse.julialang.org/t/random-error-unsupported-feature-hess/19306 "2019-01-05T17:45:51Z")

</div>

Hello, I’m writing a code that have a user-defined gradient function, and solving it with Ipopt. The problem is that I need to run the file multiple times before it finally works. Most of the time it just gives me the…

---

## [Flux seq2seq](https://discourse.julialang.org/t/flux-seq2seq/13783)

<div class="topic-metadata">

**Author:** [@merckxiaan](https://discourse.julialang.org/u/merckxiaan)\
**Replies:** 12\
**Last updated:** [January 5, 2019, 12:52pm UTC](https://discourse.julialang.org/t/flux-seq2seq/13783 "2019-01-05T12:52:55Z")

</div>

I don’t know whether this is the right place to ask but I’m trying to code a seq2seq model in Flux and I’ve got a couple of questions. The encoder creates the hidden state for the decoder, how can I pass this state to t…

---

## [Multithreading and pmap](https://discourse.julialang.org/t/multithreading-and-pmap/19284)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 8\
**Last updated:** [January 5, 2019, 1:50am UTC](https://discourse.julialang.org/t/multithreading-and-pmap/19284 "2019-01-05T01:50:59Z")

</div>

I have access to a new machine that has 2 x 20 core Xeon Gold CPUs which support multithreading. I was playing around with some simple pmap problems, and I was not seeing a performance jump when I tried going from 40 to…

---

## [MPI.jl: Error building: recompile with -fPIC?](https://discourse.julialang.org/t/mpi-jl-error-building-recompile-with-fpic/19267)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 11\
**Last updated:** [January 4, 2019, 5:35pm UTC](https://discourse.julialang.org/t/mpi-jl-error-building-recompile-with-fpic/19267 "2019-01-04T17:35:24Z")

</div>

Hi all, Before a complete re-installation of Julia in early December, MPI.jl worked for me. Now I cannot install the MPI.jl package anymore - it fails building: julia\> import Pkg; Pkg.add("MPI") Updating registry at …

---

## [Segmentation fault using ArrayFire and @spawn](https://discourse.julialang.org/t/segmentation-fault-using-arrayfire-and-spawn/19266)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 10:58am UTC](https://discourse.julialang.org/t/segmentation-fault-using-arrayfire-and-spawn/19266 "2019-01-04T10:58:47Z")

</div>

Hello beautiful people, I have some process that can fit at my GPU memory, so to speed up, I was wondering if I could run parallel process (using Distributed). My hope was that Julia would do its magic, but I just got a…

---

## [How to pass value to cut generation function?](https://discourse.julialang.org/t/how-to-pass-value-to-cut-generation-function/19226)

<div class="topic-metadata">

**Author:** [@WangQuanmeng](https://discourse.julialang.org/u/WangQuanmeng)\
**Replies:** 7\
**Last updated:** [January 4, 2019, 4:20am UTC](https://discourse.julialang.org/t/how-to-pass-value-to-cut-generation-function/19226 "2019-01-04T04:20:00Z")

</div>

Hi all, I am trying to write a user defined cut generation process. I meet the following problem, can you guys help me on this? Suppose I am solving an optimization problem, whose input is a matrix W. I formulate the …

---

## [Julia code for the book Reinforcement Learning An Introduction(2nd)](https://discourse.julialang.org/t/julia-code-for-the-book-reinforcement-learning-an-introduction-2nd/19190)

<div class="topic-metadata">

**Author:** [@findmyway](https://discourse.julialang.org/u/findmyway)\
**Replies:** 0\
**Last updated:** [January 2, 2019, 11:46am UTC](https://discourse.julialang.org/t/julia-code-for-the-book-reinforcement-learning-an-introduction-2nd/19190 "2019-01-02T11:46:55Z")

</div>

Recently I reproduced most figures on the book Reinforcement Learning An Introduction in Julia. I hope it is helpful to those who are interested in both Julia and RL. If you also have a background in Python, I’d sugge…

---

## [Presentation on effective use of CUDAnative/CuArrays](https://discourse.julialang.org/t/presentation-on-effective-use-of-cudanative-cuarrays/18919)

<div class="topic-metadata">

**Author:** [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Replies:** 7\
**Last updated:** [January 3, 2019, 7:28am UTC](https://discourse.julialang.org/t/presentation-on-effective-use-of-cudanative-cuarrays/18919 "2019-01-03T07:28:17Z")

</div>

Since our GPU stack is pretty ill-documented, I figured it can’t hurt to cross-post any content there is. Here’s a recent presentation of mine that explains how the relevant packages work, with demos, as well as tips/tri…

---

## [JuMP Error: "Unexpected object missing in nonlinear expression"](https://discourse.julialang.org/t/jump-error-unexpected-object-missing-in-nonlinear-expression/19151)

<div class="topic-metadata">

**Author:** [@krenova](https://discourse.julialang.org/u/krenova)\
**Replies:** 3\
**Last updated:** [January 1, 2019, 11:29am UTC](https://discourse.julialang.org/t/jump-error-unexpected-object-missing-in-nonlinear-expression/19151 "2019-01-01T11:29:19Z")

</div>

Hi, I’ve been trying to perform a MLE procedure with JuMP but constantly run into an error. A snippet of my code is as follows: using Distributions using JuMP norm\_cdf(x) = cdf(Normal(), x) #where Normal() is from Dis…

---

## [Problem with Violin and Boxplots ](https://discourse.julialang.org/t/problem-with-violin-and-boxplots/19149)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 3\
**Last updated:** [January 1, 2019, 6:00am UTC](https://discourse.julialang.org/t/problem-with-violin-and-boxplots/19149 "2019-01-01T06:00:21Z")

</div>

I am fairly new to Julia, so I have been working through the Plots tutorial at Tutorial · Plots. I run into a number of problems in the first example under " Using Series Recipes". Specifically, I enter the code provided…

---

## [Probabilistic programming repositories](https://discourse.julialang.org/t/probabilistic-programming-repositories/19125)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 8\
**Last updated:** [December 31, 2018, 6:47pm UTC](https://discourse.julialang.org/t/probabilistic-programming-repositories/19125 "2018-12-31T18:47:44Z")

</div>

There seem to be quite a few Julia repositories related to probabilistic programming. Here are the ones I’m aware of that have been updated in 2018 - anything I’m missing? Any experiences using these or comparing/contra…

---

## [DOOM fire animation](https://discourse.julialang.org/t/doom-fire-animation/19100)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 4\
**Last updated:** [December 31, 2018, 12:42pm UTC](https://discourse.julialang.org/t/doom-fire-animation/19100 "2018-12-31T12:42:19Z")

</div>

Just for fun, I recreated the fire animation from DOOM in Julia: https://gist.github.com/gdkrmr/ea4e7259f58e1504dbc46538dc4ad0e5 Code was adapted from here: http://fabiensanglard.net/doom\_fire\_psx/

---

## [Help on decision to choose Julia for my convex optimization project](https://discourse.julialang.org/t/help-on-decision-to-choose-julia-for-my-convex-optimization-project/19107)

<div class="topic-metadata">

**Author:** [@Toxmi](https://discourse.julialang.org/u/Toxmi)\
**Replies:** 2\
**Last updated:** [December 30, 2018, 4:29pm UTC](https://discourse.julialang.org/t/help-on-decision-to-choose-julia-for-my-convex-optimization-project/19107 "2018-12-30T16:29:32Z")

</div>

I have 2 weeks for my term project (basically simulation of convex optimization problem based on a paper). I’m quite comfortable with Matlab and Python and know CVX. However, I wanted to use this chance and dive into Jul…

---

## [Mu\_target not working for ipopt](https://discourse.julialang.org/t/mu-target-not-working-for-ipopt/19087)

<div class="topic-metadata">

**Author:** [@pedroborgesmelo](https://discourse.julialang.org/u/pedroborgesmelo)\
**Replies:** 1\
**Last updated:** [December 29, 2018, 2:03pm UTC](https://discourse.julialang.org/t/mu-target-not-working-for-ipopt/19087 "2018-12-29T14:03:47Z")

</div>

Hello guys! Previously, Ipopt was accepting my mu\_target option. With problems created in the standard manner you see on the internet. Now, it is not. The difference is that now for some specific reason I’m creating the…

---

## [3D Isosurface](https://discourse.julialang.org/t/3d-isosurface/19042)

<div class="topic-metadata">

**Author:** [@CrocoDuck](https://discourse.julialang.org/u/CrocoDuck)\
**Replies:** 4\
**Last updated:** [December 28, 2018, 7:02pm UTC](https://discourse.julialang.org/t/3d-isosurface/19042 "2018-12-28T19:02:30Z")

</div>

Hi guys! I would like to make nice plots of acoustic modes in a rectangular room by making use of isosurfaces. Below you can see a bunch of examples of what I am aiming for. I did those with Matlab few years ago. I …

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

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