# Latest

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

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

**Page:** 1996

---

## [Compute functions on a grid of parameters](https://discourse.julialang.org/t/compute-functions-on-a-grid-of-parameters/24198)

<div class="topic-metadata">

**Author:** [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Replies:** 16\
**Last updated:** [May 15, 2019, 12:26pm UTC](https://discourse.julialang.org/t/compute-functions-on-a-grid-of-parameters/24198 "2019-05-15T12:26:25Z")

</div>

Hi! The problem sounds very simple on the surface: compute something like f1(f2(f3(a3), a2), a1) on a grid of values for a1, a2, a2, and save results into array of corresponding shape. Of course, it can be done with ((a1…

---

## [Interpolate expression into macro](https://discourse.julialang.org/t/interpolate-expression-into-macro/24204)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 27\
**Last updated:** [May 15, 2019, 12:43pm UTC](https://discourse.julialang.org/t/interpolate-expression-into-macro/24204 "2019-05-15T12:43:18Z")

</div>

I create some expressions during runtime, which I would like to end up in the expression returned by a macro. I can’t seem to get this to work, and wonder if it is a fundamental limitation? Example: function makeexpr(a)…

---

## [Is there a line profiler](https://discourse.julialang.org/t/is-there-a-line-profiler/24227)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 5\
**Last updated:** [May 15, 2019, 11:43am UTC](https://discourse.julialang.org/t/is-there-a-line-profiler/24227 "2019-05-15T11:43:04Z")

</div>

I have rewritten some python code in julia. Now I see that the Julia code is 1/3 faster than the naive python code, but still a factor of two slower than the optimized one. Is there a line profiler for Julia which can c…

---

## [PyCall inconsistent across machines](https://discourse.julialang.org/t/pycall-inconsistent-across-machines/24225)

<div class="topic-metadata">

**Author:** [@Adriel](https://discourse.julialang.org/u/Adriel)\
**Replies:** 5\
**Last updated:** [May 15, 2019, 11:14am UTC](https://discourse.julialang.org/t/pycall-inconsistent-across-machines/24225 "2019-05-15T11:14:13Z")

</div>

I have the following code intended to access sympy’s logic functionality (not implemented in SymPy.jl) using PyCall pyimport\_conda("sympy.logic", "sympy") py""" from sympy.logic import POSform from s…

---

## [Sorting nested dictionary](https://discourse.julialang.org/t/sorting-nested-dictionary/24182)

<div class="topic-metadata">

**Author:** [@FinlayDaG33k](https://discourse.julialang.org/u/FinlayDaG33k)\
**Replies:** 11\
**Last updated:** [May 15, 2019, 8:08am UTC](https://discourse.julialang.org/t/sorting-nested-dictionary/24182 "2019-05-15T08:08:55Z")

</div>

Hii there, I’m new to the world of Julia (I’m mostly a web dev) so please be patient :slight\_smile: Let’s talk about my issue shall we? I have a dictionary, which in terms contain dictionaries as well: servers = Dict…

---

## [ERROR: syntax: ssavalue with no def](https://discourse.julialang.org/t/error-syntax-ssavalue-with-no-def/24220)

<div class="topic-metadata">

**Author:** [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Replies:** 7\
**Last updated:** [May 15, 2019, 7:05am UTC](https://discourse.julialang.org/t/error-syntax-ssavalue-with-no-def/24220 "2019-05-15T07:05:03Z")

</div>

I get an extremely confusing error (see title) for a short line of code: f((a -\> a,); b=1). Not sure, what is wrong here? I tried adding another set of parentheses, but the same error: f(((a -\> a),); b=1).

---

## [How to load URDF files with .dae models into MeshCat?](https://discourse.julialang.org/t/how-to-load-urdf-files-with-dae-models-into-meshcat/19509)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 11\
**Last updated:** [May 15, 2019, 6:54am UTC](https://discourse.julialang.org/t/how-to-load-urdf-files-with-dae-models-into-meshcat/19509 "2019-05-15T06:54:13Z")

</div>

I’m trying to use the JuliaRobotics ecosystem with UR robotic arms and can not find a way to open the official URDF-s. My problem is, that .dae files are not supported, and if I convert those files to .obj, then the mode…

---

## [Multiple Julia instances in a C++ software](https://discourse.julialang.org/t/multiple-julia-instances-in-a-c-software/23961)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 5\
**Last updated:** [May 15, 2019, 5:55am UTC](https://discourse.julialang.org/t/multiple-julia-instances-in-a-c-software/23961 "2019-05-15T05:55:22Z")

</div>

Hi guys! Sometime ago I asked about calling Julia in multiple threads. It was said that this is on roadmap but with low priority, IIRC. Something that would help me a lot would be the possibility to have multiple Julia…

---

## [Juno REPL start remote process exits upon start](https://discourse.julialang.org/t/juno-repl-start-remote-process-exits-upon-start/24107)

<div class="topic-metadata">

**Author:** [@mengxixi](https://discourse.julialang.org/u/mengxixi)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 5:39am UTC](https://discourse.julialang.org/t/juno-repl-start-remote-process-exits-upon-start/24107 "2019-05-15T05:39:23Z")

</div>

Hello, I’m trying to start a remote Julia process in Juno, but it keeps on dying upon start. Starting Julia... Julia has exited. Press Enter to start a new session. My ftp-remote-edit connects to my server just fine a…

---

## [Help: Julia Pi example from rosettacode](https://discourse.julialang.org/t/help-julia-pi-example-from-rosettacode/24219)

<div class="topic-metadata">

**Author:** [@MartinMSPedersen](https://discourse.julialang.org/u/MartinMSPedersen)\
**Replies:** 1\
**Last updated:** [May 14, 2019, 9:12pm UTC](https://discourse.julialang.org/t/help-julia-pi-example-from-rosettacode/24219 "2019-05-14T21:12:38Z")

</div>

Hi, I am totally new to Julia and I am trying various Julia examples from Rosettacode. Is there an error with the pi-calculation example PI with Julia ? julia pi.jl ERROR: LoadError: UndefVarError: digit not defined…

---

## [HN comment on Julia vs Swift type checking and auto diff](https://discourse.julialang.org/t/hn-comment-on-julia-vs-swift-type-checking-and-auto-diff/24178)

<div class="topic-metadata">

**Author:** [@datnamer](https://discourse.julialang.org/u/datnamer)\
**Replies:** 24\
**Last updated:** [May 14, 2019, 6:55pm UTC](https://discourse.julialang.org/t/hn-comment-on-julia-vs-swift-type-checking-and-auto-diff/24178 "2019-05-14T18:55:42Z")

</div>

Anyone know if this is accurate? https://news.ycombinator.com/item?id=19897585 “I don’t think static type checking is a matter of tooling, getting Julia to perform well amounts to either a lot of trust in the compiler …

---

## [Getting constraint matrix and bound from JuMP model (JuMP 0.19)](https://discourse.julialang.org/t/getting-constraint-matrix-and-bound-from-jump-model-jump-0-19/24197)

<div class="topic-metadata">

**Author:** [@Jonathan\_Droxler](https://discourse.julialang.org/u/Jonathan_Droxler)\
**Replies:** 7\
**Last updated:** [May 14, 2019, 6:20pm UTC](https://discourse.julialang.org/t/getting-constraint-matrix-and-bound-from-jump-model-jump-0-19/24197 "2019-05-14T18:20:28Z")

</div>

Hi everyone, I just change to JuMP 0.19 and I get some problem with my code. I construct a big JuMP model with a lot of specific variables and constraints, and I want to extract constraint matrix and vectors from the m…

---

## [Find k-cliques in a graph](https://discourse.julialang.org/t/find-k-cliques-in-a-graph/24022)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 15\
**Last updated:** [May 14, 2019, 6:07pm UTC](https://discourse.julialang.org/t/find-k-cliques-in-a-graph/24022 "2019-05-14T18:07:28Z")

</div>

I have an undirected graph, given for the sake of simplicity as a list of edges (n,m), where n and m are integers corresponding to nodes. I need to find all possible k-cliques (groups of k nodes wherein all members are c…

---

## [Advice for building sparsematrix](https://discourse.julialang.org/t/advice-for-building-sparsematrix/18178)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 10\
**Last updated:** [May 14, 2019, 5:25pm UTC](https://discourse.julialang.org/t/advice-for-building-sparsematrix/18178 "2019-05-14T17:25:03Z")

</div>

Hi, I feel that my problem must be shared by some of you. I need to build the sparse matrix associated to a 2d Finite Element method. Following the advice of Viral, I built 3 lists I,J,values containing the indices of …

---

## [State of distributed processing in Julia](https://discourse.julialang.org/t/state-of-distributed-processing-in-julia/24191)

<div class="topic-metadata">

**Author:** [@felipenoris](https://discourse.julialang.org/u/felipenoris)\
**Replies:** 3\
**Last updated:** [May 14, 2019, 4:49pm UTC](https://discourse.julialang.org/t/state-of-distributed-processing-in-julia/24191 "2019-05-14T16:49:42Z")

</div>

I’ll be working on a Hadoop cluster (hdfs+yarn). I’m checking the best options to integrate Julia in this environment to handle big data distributed processing. Any ideas on the best options? Spark.jl? Elly.jl? Mount hd…

---

## [BARON - Setting branching priority](https://discourse.julialang.org/t/baron-setting-branching-priority/24213)

<div class="topic-metadata">

**Author:** [@EgidioLeo](https://discourse.julialang.org/u/EgidioLeo)\
**Replies:** 0\
**Last updated:** [May 14, 2019, 4:10pm UTC](https://discourse.julialang.org/t/baron-setting-branching-priority/24213 "2019-05-14T16:10:48Z")

</div>

Hi all! I am trying to set branching priority in BARON for some variables but I cannot find any related documentation. Any suggestions how to do this? Thank you in advance. Egidio

---

## [Problems using Sockets](https://discourse.julialang.org/t/problems-using-sockets/24212)

<div class="topic-metadata">

**Author:** [@wolfgang](https://discourse.julialang.org/u/wolfgang)\
**Replies:** 0\
**Last updated:** [May 14, 2019, 3:27pm UTC](https://discourse.julialang.org/t/problems-using-sockets/24212 "2019-05-14T15:27:26Z")

</div>

I have a problem using the sockets implementation of Julia. I’m trying to write a test program for a networking application and decided to do this in Julia instead of Python, since I am free to ue what I want and I want …

---

## ['Beginner'-Jobs/Internships in Germany (preferably around Karlsruhe)](https://discourse.julialang.org/t/beginner-jobs-internships-in-germany-preferably-around-karlsruhe/24210)

<div class="topic-metadata">

**Author:** [@rapus95](https://discourse.julialang.org/u/rapus95)\
**Replies:** 0\
**Last updated:** [May 14, 2019, 2:55pm UTC](https://discourse.julialang.org/t/beginner-jobs-internships-in-germany-preferably-around-karlsruhe/24210 "2019-05-14T14:55:27Z")

</div>

Hey, I went to several carrer fairs in my area in the last two weeks and neither one had companies that already use Julia. Since I’ll soon finish my study with a B. Sc. (Mathematics) I’m looking for Jobs/Internships whe…

---

## [Issue with PlotsRecipes dependency](https://discourse.julialang.org/t/issue-with-plotsrecipes-dependency/15441)

<div class="topic-metadata">

**Author:** [@colddaysend](https://discourse.julialang.org/u/colddaysend)\
**Replies:** 2\
**Last updated:** [May 14, 2019, 1:44pm UTC](https://discourse.julialang.org/t/issue-with-plotsrecipes-dependency/15441 "2019-05-14T13:44:28Z")

</div>

Hi I’ve been having issues installing various packages which have PlotsRecipes as a dependency. For this topic I took the code from my error when trying to install ProfileView. At first I thought the package deprecatio…

---

## [Different colors regions for different heatmaps](https://discourse.julialang.org/t/different-colors-regions-for-different-heatmaps/24207)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 3\
**Last updated:** [May 14, 2019, 12:57pm UTC](https://discourse.julialang.org/t/different-colors-regions-for-different-heatmaps/24207 "2019-05-14T12:57:25Z")

</div>

Hello internet Basically I’m doing are simple heatmaps with different color limits as in these examples: using Plots pyplot() h1 = heatmap(1:10, 1:15, rand(15,10), clim=(0,0.5)) h2 = heatmap(1:10, 1:15, rand(15,10), cl…

---

## [Repeated solution of a parametric rootfinding problem](https://discourse.julialang.org/t/repeated-solution-of-a-parametric-rootfinding-problem/24199)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [May 14, 2019, 9:44am UTC](https://discourse.julialang.org/t/repeated-solution-of-a-parametric-rootfinding-problem/24199 "2019-05-14T09:44:10Z")

</div>

For a given set of parameters \\theta, I am solving f(x, \\theta) \\approx 0 numerically for x(\\theta), then obtain simulated moments S(x(\\theta)) (which is stochastic), minimizing \\min\_x \\| S(x(\\theta)) - D \\| where D…

---

## [I added this Julia path to the system PATH variable on my Windows 7 machine](https://discourse.julialang.org/t/i-added-this-julia-path-to-the-system-path-variable-on-my-windows-7-machine/24190)

<div class="topic-metadata">

**Author:** [@paulgureghian](https://discourse.julialang.org/u/paulgureghian)\
**Replies:** 3\
**Last updated:** [May 14, 2019, 5:58am UTC](https://discourse.julialang.org/t/i-added-this-julia-path-to-the-system-path-variable-on-my-windows-7-machine/24190 "2019-05-14T05:58:14Z")

</div>

But my terminal does not see it. C:\\Users\\Paul\\AppData\\Local\\Julia-1.1.0\\bin\\julia.exe

---

## [Access C stdout in Julia](https://discourse.julialang.org/t/access-c-stdout-in-julia/24187)

<div class="topic-metadata">

**Author:** [@abhinav\_mehndiratta](https://discourse.julialang.org/u/abhinav_mehndiratta)\
**Replies:** 4\
**Last updated:** [May 14, 2019, 5:55am UTC](https://discourse.julialang.org/t/access-c-stdout-in-julia/24187 "2019-05-14T05:55:26Z")

</div>

I am trying to write a wrapper for an external library(GraphBLAS). One of the matrix print functions expects a FILE\* pointer in its arguments so I tried this ccall(dlsym(hdl, "GxB\_Matrix\_fprint"), Cint, (GrB\_Matrix, Ptr…

---

## [How to correctly define and call templated/parametric methods using the new 'where' syntax](https://discourse.julialang.org/t/how-to-correctly-define-and-call-templated-parametric-methods-using-the-new-where-syntax/24129)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 10\
**Last updated:** [May 14, 2019, 2:44am UTC](https://discourse.julialang.org/t/how-to-correctly-define-and-call-templated-parametric-methods-using-the-new-where-syntax/24129 "2019-05-14T02:44:12Z")

</div>

I have already read the manual, the relevant issue, and have done some fair share of googling, so I am getting a little frustrated that I cannot find the missing information. I come from a C++ background, I wanted to fo…

---

## [Define f with keyword arguments: function f does not accept keyword arguments](https://discourse.julialang.org/t/define-f-with-keyword-arguments-function-f-does-not-accept-keyword-arguments/24186)

<div class="topic-metadata">

**Author:** [@taqtiqa-mark](https://discourse.julialang.org/u/taqtiqa-mark)\
**Replies:** 12\
**Last updated:** [May 13, 2019, 11:03pm UTC](https://discourse.julialang.org/t/define-f-with-keyword-arguments-function-f-does-not-accept-keyword-arguments/24186 "2019-05-13T23:03:17Z")

</div>

Hi, I thought this may have be a documentation issue, but now I think I have misunderstood. I’m following the optional and keyword arguments in the docs. I was surprised by the following: julia\> f(a=1,b=2)=1+2b f (ge…

---

## [LaTeX symbol workaround Windows](https://discourse.julialang.org/t/latex-symbol-workaround-windows/24174)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 8\
**Last updated:** [May 13, 2019, 8:01pm UTC](https://discourse.julialang.org/t/latex-symbol-workaround-windows/24174 "2019-05-13T20:01:19Z")

</div>

I’ve pestered people about this in other discussion venues, but I’ll ask here too. The well documented math symbol support problem with the Julia REPL in Windows CMD isn’t easy to fix for people unaccustomed to messing a…

---

## [How to avoid capturing variables in functions?](https://discourse.julialang.org/t/how-to-avoid-capturing-variables-in-functions/24171)

<div class="topic-metadata">

**Author:** [@HenrikM](https://discourse.julialang.org/u/HenrikM)\
**Replies:** 7\
**Last updated:** [May 13, 2019, 7:56pm UTC](https://discourse.julialang.org/t/how-to-avoid-capturing-variables-in-functions/24171 "2019-05-13T19:56:56Z")

</div>

How can I avoid creating closures? I noticed that due to the Julia syntax/REPL I inadvertently create a lot of closures. Consider my typical workflow where code evolves from a unstructured script towards a more function …

---

## [Using custom types in OrderedDict](https://discourse.julialang.org/t/using-custom-types-in-ordereddict/24183)

<div class="topic-metadata">

**Author:** [@mgalenb](https://discourse.julialang.org/u/mgalenb)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 6:43pm UTC](https://discourse.julialang.org/t/using-custom-types-in-ordereddict/24183 "2019-05-13T18:43:11Z")

</div>

I am writing a code that reads a binary file and populates an OrderedDict. I have custom types that i made such as: mutable struct WBGAIN R::Float32 B::Float32 end when i try to do something like this: using DataStr…

---

## [Manipulate types of nested data structure](https://discourse.julialang.org/t/manipulate-types-of-nested-data-structure/24181)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 2\
**Last updated:** [May 13, 2019, 5:23pm UTC](https://discourse.julialang.org/t/manipulate-types-of-nested-data-structure/24181 "2019-05-13T17:23:19Z")

</div>

I have a type, let’s call it Special \<: Real, which wraps a vector of lengthN. I have defined methods of most standard functions. Sometimes, however, one or several objects of type Special are nested deep into some outer…

---

## [Gradient Descent Optimizer in Flux.jl](https://discourse.julialang.org/t/gradient-descent-optimizer-in-flux-jl/24169)

<div class="topic-metadata">

**Author:** [@FGerace](https://discourse.julialang.org/u/FGerace)\
**Replies:** 1\
**Last updated:** [May 13, 2019, 5:12pm UTC](https://discourse.julialang.org/t/gradient-descent-optimizer-in-flux-jl/24169 "2019-05-13T17:12:11Z")

</div>

Hello, I’ve recently started using Flux.jl. I’ve seen that Flux provides different kinds of optimizers, such as Descent, ADAM, etc etc… I was just wondering: does the Descent optimizer perform full batch gradient desce…

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

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