# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=554

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

**Page:** 555

---

## [Editing fontstyle for colorbar](https://discourse.julialang.org/t/editing-fontstyle-for-colorbar/5967)

<div class="topic-metadata">

**Author:** [@AnkurD](https://discourse.julialang.org/u/AnkurD)\
**Replies:** 3\
**Last updated:** [September 20, 2017, 1:42am UTC](https://discourse.julialang.org/t/editing-fontstyle-for-colorbar/5967 "2017-09-20T01:42:05Z")

</div>

I was trying to adjust the colorbar fonts in my heatmap, but I realized that there is no option to do so through PyPlot (or any other backend for that matter). I could just go back and call matplotlib directly, but that …

---

## [JuliaDB problems](https://discourse.julialang.org/t/juliadb-problems/5970)

<div class="topic-metadata">

**Author:** [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 2:30pm UTC](https://discourse.julialang.org/t/juliadb-problems/5970 "2017-09-19T14:30:36Z")

</div>

I am unable to use JuliaDB. The following says it all: julia\> using JuliaDB julia\> path = Pkg.dir(“home”, “js”, “db\_docs”, “sql”, “projects”, “basic\_sciences”, “juliadb”) “/home/js/.julia/v0.6/home/js/db\_docs/sql/pro…

---

## [Variable number of Nonlinear Constraints by user-defined functions](https://discourse.julialang.org/t/variable-number-of-nonlinear-constraints-by-user-defined-functions/5895)

<div class="topic-metadata">

**Author:** [@Pu\_He](https://discourse.julialang.org/u/Pu_He)\
**Replies:** 1\
**Last updated:** [September 19, 2017, 12:13pm UTC](https://discourse.julialang.org/t/variable-number-of-nonlinear-constraints-by-user-defined-functions/5895 "2017-09-19T12:13:40Z")

</div>

Hi there, Sorry about the formatting on a previous version of the post. I am new to Julia and doing research in demand modelling. And I apologize if this is too basic. I am thinking to move my code from Rcpp to Julia to…

---

## [Mute solver output](https://discourse.julialang.org/t/mute-solver-output/5108)

<div class="topic-metadata">

**Author:** [@leclere](https://discourse.julialang.org/u/leclere)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 12:08pm UTC](https://discourse.julialang.org/t/mute-solver-output/5108 "2017-09-19T12:08:33Z")

</div>

Hi all, some 3 years ago people seemed to thought that having a standard mute option in JuMP would be a soon to be feature (see e.g. Redirecting to Google Groups). Has there been any progress on the subject ? At the mo…

---

## [TensorFlow : explicit close session?](https://discourse.julialang.org/t/tensorflow-explicit-close-session/5952)

<div class="topic-metadata">

**Author:** [@Colin\_Beckingham](https://discourse.julialang.org/u/Colin_Beckingham)\
**Replies:** 2\
**Last updated:** [September 19, 2017, 1:54am UTC](https://discourse.julialang.org/t/tensorflow-explicit-close-session/5952 "2017-09-19T01:54:50Z")

</div>

The Python API calls for an explicit close of the session according to example code I have seen. The docs for Julia seem to indicate there is no close() on a session. Would this be a Python/Julia difference to add to the…

---

## [Best way to get pieces of a parquet into a dataframe](https://discourse.julialang.org/t/best-way-to-get-pieces-of-a-parquet-into-a-dataframe/5949)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 0\
**Last updated:** [September 18, 2017, 3:34pm UTC](https://discourse.julialang.org/t/best-way-to-get-pieces-of-a-parquet-into-a-dataframe/5949 "2017-09-18T15:34:22Z")

</div>

I’m looking for a minimal working example for loading some part of a parquet file into a dataframe and vice versa. I’m assuming that the only way to do this currently is with Spark.jl. Right now I don’t even know if th…

---

## [TensorFlow : train.restore](https://discourse.julialang.org/t/tensorflow-train-restore/5948)

<div class="topic-metadata">

**Author:** [@Colin\_Beckingham](https://discourse.julialang.org/u/Colin_Beckingham)\
**Replies:** 2\
**Last updated:** [September 18, 2017, 3:33pm UTC](https://discourse.julialang.org/t/tensorflow-train-restore/5948 "2017-09-18T15:33:45Z")

</div>

I’m trying to familiarize with the sample code which runs correctly. There is a line in the epoch iteration train.save(…) which saves a number of binary files labelled from 95 to 99. I understand that they can be recove…

---

## [Plotting with Julia using Java Plots](https://discourse.julialang.org/t/plotting-with-julia-using-java-plots/5920)

<div class="topic-metadata">

**Author:** [@sterg](https://discourse.julialang.org/u/sterg)\
**Replies:** 4\
**Last updated:** [September 17, 2017, 3:18pm UTC](https://discourse.julialang.org/t/plotting-with-julia-using-java-plots/5920 "2017-09-17T15:18:46Z")

</div>

Hi all! I started to learn Julia, and yes, it is a superb language!! However, plotting seems difficult, thus I started a project aimed to connect Java platform independent graphics, with Julia, tis nis project can b…

---

## [Packages for signal decomposition](https://discourse.julialang.org/t/packages-for-signal-decomposition/5909)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 4\
**Last updated:** [September 15, 2017, 8:52pm UTC](https://discourse.julialang.org/t/packages-for-signal-decomposition/5909 "2017-09-15T20:52:19Z")

</div>

What are the packages out there for decomposing a signal into a basis of functions? Fourier basis, Radial basis, Cosine basis, … I need to decompose a signal into a set of basis functions and coefficients, manipulate th…

---

## [Vectorized Convex inequality constraint](https://discourse.julialang.org/t/vectorized-convex-inequality-constraint/5890)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 2\
**Last updated:** [September 15, 2017, 2:36pm UTC](https://discourse.julialang.org/t/vectorized-convex-inequality-constraint/5890 "2017-09-15T14:36:34Z")

</div>

I’m trying to vectorize an inequality constraint comparing two Convex types. On one side, I have Convex.MaxAtoms, and on the other side, I have Variables. SO link here. I want to do something like the following: using C…

---

## [Bug or wrong code?](https://discourse.julialang.org/t/bug-or-wrong-code/5908)

<div class="topic-metadata">

**Author:** [@Yaroslav\_Kavenchuk](https://discourse.julialang.org/u/Yaroslav_Kavenchuk)\
**Replies:** 0\
**Last updated:** [September 15, 2017, 1:33pm UTC](https://discourse.julialang.org/t/bug-or-wrong-code/5908 "2017-09-15T13:33:36Z")

</div>

echo-server.jl: @everywhere function parallel\_echo\_server(port::Int=8080; debug::Bool=false) (port, server) = listenany(port) debug && println(STDERR, "\[SERVER\] Server started!") n = nprocs() while true let …

---

## [Initialization Error: ODBC](https://discourse.julialang.org/t/initialization-error-odbc/5884)

<div class="topic-metadata">

**Author:** [@jasoriya](https://discourse.julialang.org/u/jasoriya)\
**Replies:** 1\
**Last updated:** [September 14, 2017, 12:25pm UTC](https://discourse.julialang.org/t/initialization-error-odbc/5884 "2017-09-14T12:25:48Z")

</div>

I am working with Julia 0.5.2 and I added ODBC package Pkg.add ("ODBC") On running Using ODBC I get the following error: LoadError: InitError: ccall: could not find function SQLAllocHandle in library during initi…

---

## [How to measure/read size of the optimization model?](https://discourse.julialang.org/t/how-to-measure-read-size-of-the-optimization-model/5855)

<div class="topic-metadata">

**Author:** [@Halil1](https://discourse.julialang.org/u/Halil1)\
**Replies:** 2\
**Last updated:** [September 12, 2017, 7:54pm UTC](https://discourse.julialang.org/t/how-to-measure-read-size-of-the-optimization-model/5855 "2017-09-12T19:54:09Z")

</div>

Hello all, I really need some help with some conceptual thinking and Julia output regarding to size of an optimization model. Trying to read the size of the optimization model from Julia output. Is there an easy way to…

---

## [How do I deal with Random Number generation when multithreading](https://discourse.julialang.org/t/how-do-i-deal-with-random-number-generation-when-multithreading/5636)

<div class="topic-metadata">

**Author:** [@vgdev](https://discourse.julialang.org/u/vgdev)\
**Replies:** 6\
**Last updated:** [August 31, 2017, 12:34pm UTC](https://discourse.julialang.org/t/how-do-i-deal-with-random-number-generation-when-multithreading/5636 "2017-08-31T12:34:43Z")

</div>

If I am using Threads.@threads to run my Monte Carlo simulation in paralell, how do I set up Mersenne Twister RNGs for each thread so that I am both able to set a seed, in order to be able to reproduce the results, but …

---

## [Error when grouping using Query.jl](https://discourse.julialang.org/t/error-when-grouping-using-query-jl/5809)

<div class="topic-metadata">

**Author:** [@innerlee](https://discourse.julialang.org/u/innerlee)\
**Replies:** 1\
**Last updated:** [September 11, 2017, 9:10pm UTC](https://discourse.julialang.org/t/error-when-grouping-using-query-jl/5809 "2017-09-11T21:10:18Z")

</div>

Let the data sourse be a list of Dicts: julia\> as = \[Dict("id" =\> "a", "v" =\> 1), Dict("id" =\> "b", "v" =\> 2)\] Then we group them by id julia\> using Query julia\> @from a in as begin @group a by a…

---

## [Announcing new Packages and Solvers for Multi-objective Mixed Integer Programming ( with JuMP extension )](https://discourse.julialang.org/t/announcing-new-packages-and-solvers-for-multi-objective-mixed-integer-programming-with-jump-extension/5814)

<div class="topic-metadata">

**Author:** [@Aritra\_Pal](https://discourse.julialang.org/u/Aritra_Pal)\
**Replies:** 4\
**Last updated:** [September 11, 2017, 3:06pm UTC](https://discourse.julialang.org/t/announcing-new-packages-and-solvers-for-multi-objective-mixed-integer-programming-with-jump-extension/5814 "2017-09-11T15:06:52Z")

</div>

Hi everyone, I am excited to announce 5 new packages for solving Multiobjective Mixed Integer Linear Programs: FPBH.jl: It is a linear programming based heuristic for computing an approximate nondominated frontier of …

---

## [Efficiently reusing/updating Julia's Convex constraints](https://discourse.julialang.org/t/efficiently-reusing-updating-julias-convex-constraints/5811)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 3\
**Last updated:** [September 11, 2017, 12:24pm UTC](https://discourse.julialang.org/t/efficiently-reusing-updating-julias-convex-constraints/5811 "2017-09-11T12:24:38Z")

</div>

Not sure if this is the appropriate place to ask my question or if StackOverflow is better. Anyway, my question is related to reusing constraints in the Convex package. I have something like the following simplified str…

---

## [Collection of JuMP variables](https://discourse.julialang.org/t/collection-of-jump-variables/5798)

<div class="topic-metadata">

**Author:** [@leclere](https://discourse.julialang.org/u/leclere)\
**Replies:** 6\
**Last updated:** [September 11, 2017, 12:06pm UTC](https://discourse.julialang.org/t/collection-of-jump-variables/5798 "2017-09-11T12:06:51Z")

</div>

Hello, I would like to define an array of jump variables, e.g something like for c:1:C @variable(model, mu\[c\]\[1:foo(c)\] \>= 0) end or maybe for c:1:C mu\[c\] = @variable(model, \[1:foo(c)\] \>= 0) end but I was no…

---

## [Is wrapping GPUQREngine anywhere on the agenda?](https://discourse.julialang.org/t/is-wrapping-gpuqrengine-anywhere-on-the-agenda/5755)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 4\
**Last updated:** [September 9, 2017, 7:47am UTC](https://discourse.julialang.org/t/is-wrapping-gpuqrengine-anywhere-on-the-agenda/5755 "2017-09-09T07:47:39Z")

</div>

Is there any simple way to do QR decomposition of a sparse matrix on the GPU in Julia? I believe GPUQREngine of SuiteSparse is an obvious choice to wrap, so I wonder if anyone has gotten around to do it, or if it is anyw…

---

## [Conditional logit models for paired data](https://discourse.julialang.org/t/conditional-logit-models-for-paired-data/5790)

<div class="topic-metadata">

**Author:** [@mwsohn](https://discourse.julialang.org/u/mwsohn)\
**Replies:** 2\
**Last updated:** [September 9, 2017, 2:40am UTC](https://discourse.julialang.org/t/conditional-logit-models-for-paired-data/5790 "2017-09-09T02:40:33Z")

</div>

Can MixedModels fit conditional logistic regression models for paired data? If so, I would appreciate a sample syntax.

---

## [Proposal: Using a "mask" for DataFrames and ModelMatrices](https://discourse.julialang.org/t/proposal-using-a-mask-for-dataframes-and-modelmatrices/5779)

<div class="topic-metadata">

**Author:** [@jeffwong](https://discourse.julialang.org/u/jeffwong)\
**Replies:** 3\
**Last updated:** [September 8, 2017, 11:46pm UTC](https://discourse.julialang.org/t/proposal-using-a-mask-for-dataframes-and-modelmatrices/5779 "2017-09-08T23:46:00Z")

</div>

In data science we always have a need to split data into a training set and a test set. Sometimes we will do this multiple times like in k fold cross validation, or leave one out cross validations. In R: the typical par…

---

## [What is the dx used in finite difference approximation in Calculus.jl?](https://discourse.julialang.org/t/what-is-the-dx-used-in-finite-difference-approximation-in-calculus-jl/5773)

<div class="topic-metadata">

**Author:** [@vgdev](https://discourse.julialang.org/u/vgdev)\
**Replies:** 3\
**Last updated:** [September 8, 2017, 4:29pm UTC](https://discourse.julialang.org/t/what-is-the-dx-used-in-finite-difference-approximation-in-calculus-jl/5773 "2017-09-08T16:29:58Z")

</div>

I tried to find what the value of \\Delta x that is used in Calculus.jl for finite difference approximation (i.e. for a forward scheme \\frac{f(x+\\Delta x)-f(x)}{\\Delta x }), without luck. Is there a way to retreive it mys…

---

## [Accuracy of BigFloat - Calculating sin with high accuracy](https://discourse.julialang.org/t/accuracy-of-bigfloat-calculating-sin-with-high-accuracy/4604)

<div class="topic-metadata">

**Author:** [@timer](https://discourse.julialang.org/u/timer)\
**Replies:** 8\
**Last updated:** [September 7, 2017, 4:57pm UTC](https://discourse.julialang.org/t/accuracy-of-bigfloat-calculating-sin-with-high-accuracy/4604 "2017-09-07T16:57:07Z")

</div>

Hello, I’am trying to calcuate values of the sin-function to high precision. I want to get at least 1 million valid digits. Using the following code I test the accuracy of BigFloat: # Set precision to 7 million bits, …

---

## [JuMP package: Cannot display the values of decision variable](https://discourse.julialang.org/t/jump-package-cannot-display-the-values-of-decision-variable/5745)

<div class="topic-metadata">

**Author:** [@Halil1](https://discourse.julialang.org/u/Halil1)\
**Replies:** 5\
**Last updated:** [September 7, 2017, 3:38pm UTC](https://discourse.julialang.org/t/jump-package-cannot-display-the-values-of-decision-variable/5745 "2017-09-07T15:38:20Z")

</div>

Hello everyone, I have coded a mixed-integer linear optimization model. I am having trouble displaying the decision variable results. I have a decision variable: @variable(m, 0 \<= Y\[i in I,j in J\] \<=1) It is optimal…

---

## [How is the max operator dealt with in DualNumbers.jl?](https://discourse.julialang.org/t/how-is-the-max-operator-dealt-with-in-dualnumbers-jl/5743)

<div class="topic-metadata">

**Author:** [@vgdev](https://discourse.julialang.org/u/vgdev)\
**Replies:** 4\
**Last updated:** [September 6, 2017, 1:40pm UTC](https://discourse.julialang.org/t/how-is-the-max-operator-dealt-with-in-dualnumbers-jl/5743 "2017-09-06T13:40:34Z")

</div>

I am minimizing an objective function using a local optimization algorithm and I am supplying it with the gradient generated by ForwardDiff. However, my objective function contains functionals including the max(x,0) oper…

---

## [Is repeated calculations of eigenvalues without overwriting input matrix or allocating new arrays possible?](https://discourse.julialang.org/t/is-repeated-calculations-of-eigenvalues-without-overwriting-input-matrix-or-allocating-new-arrays-possible/5649)

<div class="topic-metadata">

**Author:** [@Sleort](https://discourse.julialang.org/u/Sleort)\
**Replies:** 8\
**Last updated:** [September 6, 2017, 3:28am UTC](https://discourse.julialang.org/t/is-repeated-calculations-of-eigenvalues-without-overwriting-input-matrix-or-allocating-new-arrays-possible/5649 "2017-09-06T03:28:18Z")

</div>

In my simulation, I need to repeatedly update a few entries of a square matrix A and then calculate the corresponding eigenvalues \\lambda. Doing \\lambda = eigvals(A) will allocate new memory each time, while \\lambda = ei…

---

## [How do computation while transferring data between processes](https://discourse.julialang.org/t/how-do-computation-while-transferring-data-between-processes/5722)

<div class="topic-metadata">

**Author:** [@usefulhyun](https://discourse.julialang.org/u/usefulhyun)\
**Replies:** 0\
**Last updated:** [September 5, 2017, 8:50am UTC](https://discourse.julialang.org/t/how-do-computation-while-transferring-data-between-processes/5722 "2017-09-05T08:50:08Z")

</div>

Hi, there I do data tranferring via RemoteChannel. But I found it is impossible that Julia process run sending, receiving and computation at once. RemoteChannel has its own process and its ID which is determined by an…

---

## [Inappropriate memory allocation?](https://discourse.julialang.org/t/inappropriate-memory-allocation/5707)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 24\
**Last updated:** [September 4, 2017, 3:33pm UTC](https://discourse.julialang.org/t/inappropriate-memory-allocation/5707 "2017-09-04T15:33:42Z")

</div>

I don’t know why this is happening, but this is what track-allocation is giving me: - """ - EuclideanDistance - - The Euclidean distance ||x-y||₂ - """ - struct Eucli…

---

## [TopNode not defined when trying to use ParallelAccelerator](https://discourse.julialang.org/t/topnode-not-defined-when-trying-to-use-parallelaccelerator/5714)

<div class="topic-metadata">

**Author:** [@Naelson\_douglas](https://discourse.julialang.org/u/Naelson_douglas)\
**Replies:** 0\
**Last updated:** [September 4, 2017, 2:18pm UTC](https://discourse.julialang.org/t/topnode-not-defined-when-trying-to-use-parallelaccelerator/5714 "2017-09-04T14:18:48Z")

</div>

Hello! I’m trying to use ParallelAccelerator(which depends on CompilerTools.jl) on top of Julia 5.2 as in the screenshot attached. But I’m getting the “TopNode not defined error”. I see this error was fixed on versio…

---

## [ApproxFun failure](https://discourse.julialang.org/t/approxfun-failure/5704)

<div class="topic-metadata">

**Author:** [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Replies:** 3\
**Last updated:** [September 4, 2017, 7:09am UTC](https://discourse.julialang.org/t/approxfun-failure/5704 "2017-09-04T07:09:52Z")

</div>

In v6.0, using ApproxFun returns an error: INFO: Precompiling module ApproxFun. ERROR: LoadError: LoadError: Expected \`func\_signature = ...\` with func\_signature as a call Expr... got: f(g::Fun{S, T}) where {S, T \<: Rea…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=553)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=555)
